[ / / / / / / / / / / / / / ] [ dir / b2 / choroy / dempart / fast / games / hikki / ita / orthodox ]

/8code/ - Infinite Code

Discussion about 8chan's codebase.


Winner of the 80rd Attention-Hungry Games
/otter/ - Otter For Your Soul

May 2019 - 8chan Transparency Report
Comment *
File *
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 16 MB.
Max image dimensions are 15000 x 15000.
You may upload 4 per post.

Rules and Info: https://8chan.co/8code/rules.html | Main Repository: https://github.com/ctrlcctrlv/8chan/ | Archive: http://8archive.moe/8code/

File: 1457628671548.jpeg (75.36 KB, 300x300, 1:1, a_004.jpeg)

e9b390  No.31[Reply]


File: 1451522867205.jpg (138.65 KB, 678x450, 113:75, donte_lol.jpg)

202823  No.29[Reply]

ded board

File: 1449106890939.png (210.69 KB, 301x287, 43:41, 1441138363352.png)

f0e07b  No.27[Reply]

worst code ever seen lol

File: 1445344652774.gif (163.04 KB, 191x188, 191:188, 1445281581643.gif)

994baf  No.25[Reply]

I have searching for like a month to have the best imageboard script but I didn't find one untill I found infinite code. But I don't want that users can create their own board is there an possibilty to dissable that?

b165fa  No.50

Yes. Ask the guys behind smugloli

File: 1444985347486.jpg (28.45 KB, 872x960, 109:120, FOLLOW YOUR DREAMS.jpg)

0a1af6  No.24[Reply]

When you have too much text in a box, it will truncate it and add a line saying "Post too long. Click here to view the full text."

However, sometimes it does this on the last line. Considering that the "post too long" msg actually takes up 2 lines, it should perhaps take how much text is left in the post into consideration, rather than cutting it off at a hard #.

File: 1442670822652.jpg (18.75 KB, 300x354, 50:59, golly.jpg)

565520  No.22[Reply]

So as per the configuration menu I set up my custom codes for all of the formatting options. Spoiler is like dis, bold is [b]like dis[/b] etc. Unfortunately it seems that no matter what, the site will not accept my magic words and continues to expect default syntax.

Is there a fix for this in the works?

565520  No.23

Well, spoiler worked, but otherwise…

File: 1418720925102.png (27.61 KB, 713x229, 713:229, tar.png)

96a4bf  No.5[Reply]

Could we get like some sort of list of important files/functions that 8chan uses and what they do? Documentation in the codebase is non-existent, not even developer notes scattered around.

96a4bf  No.6


This would really help contributors with grokking the codebase.

File: 1418553276656.png (377.75 KB, 454x603, 454:603, AnsiC_StopTreatingThemLike….png)

444d58  No.2[Reply]

Something I dislike about code tags both on Halfchan and Fullchan is their lack of flexibility. Fullchan's code tags eat tabs (whereas Halfchan's converts them to four spaces), and neither of them is syntax aware. Both of them will highlight keywords arbitrarily as long as they're used in some sort of programming language, and will treat certain symbols as comments or quotes regardless of what language they're in. This makes them very bad for Lisp based languages, which often use single quotes and # characters to represent symbols and characters. I think we can do better than that.

Rather than our current approach to code tags, perhaps we could do something like <code lang="C"></code> (but as BBcode obviously), and have it perform syntax highlighting based on that language. If no language is provided, it would do the default action it currently uses (except maybe not eating tab characters and looking like total shit on mobile).

What would it take to get something like this implemented?

444d58  No.3

I think it could be possible by making use of the ACE editor highlighting syntax.
8chan currently uses prettify.css for highlighting the DOM, but I'm not sure what is used to filter the BBCode into markup content yet.
It's probably more involved than any of the contributors/devs want to deal with atm though, so it might be a while before it gets tackled.

Delete Post [ ]
[1] [2] Next | Catalog | Nerve Center | Cancer
[ / / / / / / / / / / / / / ] [ dir / b2 / choroy / dempart / fast / games / hikki / ita / orthodox ]