[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
▼ Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: HSLoYVjWoAEyHOe.jpg (498 KB, 1610x2280)
498 KB JPG
Do you think I should add live-posting? And if I do, should I stick with SSE or go with websockets even if it is a little bit more work?
>>
>>109908913
Whatever you do just please add an AI slop containment board please.

>"AHH LE AI IS GOING TO CUT OFF YOUR BALLS IN 2 MORE WEEKS!"
>t. literal who? twitter user from India
>>
>>109908944
There will be an AI board eventually.
>>
>>109908913
And let me fucking guess, JavaScript is needed, posting from Tor forbidden...
>>
>>109909081
Show me one social site worth using that requires no JS. You can post from Tor I'm not smart enough to know how to block that.
>>
>>109909107
Not a social site but has both clear and tor listed on the front. No javascript. https://altchan.org/
>>
>>109908913
>Do you think I should add live-posting?
Do you mean chat?
>>
>>109909720
Auto but posts appear as soon as they are posted
>>
>>109908913
Add JXL support
>>
>>109908913
If you're going to add live-posting / web sockets, at least make it an optional feature you can toggle off. I don't want my browser to waste bandwidth on nonsense.
>>
File: 4232.png (39 KB, 1080x658)
39 KB PNG
>>109909778
That should wait a little longer IMHO.
>>
File: 1787507536464724.jpg (312 KB, 1200x865)
312 KB JPG
>>109909767
>posts appear as soon as they are posted
Isn't that how every chan works today?
>>
>>109909851
without having to refresh the page or click update
>>
>>109909863
Isn't that what happens on a chat server? Or is like some cyclical buffer? How do you delete the illegal stuff?
>>
>>109908913
Always websockets. SSE is basically some bullshit on top of long polling and web browsers limit how many active requests you can have, unless they're websockets for some stupid reason.
>>
File: 1790060862453971.png (594 KB, 1068x718)
594 KB PNG
>>109908913
No point in making something exposed on the internet these days unless you're ready to shell out thousands of dollars for ddos protection, rate-limiting and keeping a staff of jannies on standby to clean up gore or cp or usual spam.
>>
>>109909882
>No point in making something exposed on the internet these days unless you're ready to shell out thousands of dollars for ddos protection, rate-limiting and keeping a staff of jannies on standby to clean up gore or cp or usual spam.
I used to think that too but the NGOs have moved enough people to Cloudflare for now.
>>
>>109909882
Yep. Or just don't let users upload shit.
>>
>>109909848
AVIF is unironically good enough. JXL is cool and all, but it's also a memey Uber container format while avif literally just works.
>>
>>109909789
Incremental messages is less wasteful than full reloads.
>>
>>109909882
all courtesy of the nsa btw (sign up for our MITM service)
>>
>>109909927
you can also implement moderator queues. people can still upload to my chan if I am taking a giant steaming dump and then I can check the queue at my leisure. That rustles some jimmies but surely former USAID have found new jobs by now.
>>
>>109909053
they will just move the generals over there then keep fearmongering here
>>
>>109909870
sending a delete command to all users over your websocket protocol
>>
>>109909939
can browsers already render them or you have to manually parse it in a canvas or convert it on the fly to png?
>>
>>109909879
with http/2 u get 100 concurrent connections per browser
>>
>>109908913
be prepared for leto to spam it with cp
>>
>>109908913
It better be pro-free speech and anti-censorship and anti-curated.
>>
File: 1774108308785451.png (2.67 MB, 1418x1500)
2.67 MB PNG
KEEP
YOUR
FINGER
ON
THE
NCMEC
REPORT
BUTTON
OR
YOUR
SITE
WILL
DIE
>>
>>109910120
op here, free speech is a joke. i will throw someone out if they are being an obnoxious spazz even if they dont break any rules
>>
>>109910131
I do not believe CSAM even exists any more. IWF and CF got rid of it.
>>
>>109910141
>op here, free speech is a joke
Based. It's 2026 and retards still come here with the belief that it's sooo fucking great. It sucks. Giving everyone a voice fucking sucks.
>>
>>109908913
You really ought to get into the habit of programming things "correctly" with your own projects. You have all the time in the world, there's no reason you can't take the steps to make sure something is done "right".

tl;dr probably websockets
>>
>>109910141
Retard. I don't like nazis either but you can't just ban people for speaking their mind. How the fuck would you get quality discussions from high IQ spergs otherwise? or do you want your forum to be a curated tea party?
>>
>>109910141
Truth.
>>
>>109910175
i was thinking about just banning slurs and getting rid of obnoxious bigots. 4chan bigots aren't really obnoxious. i'm talking about twitter/instagram type bigots who are purposely trying to upset people so they act as edgy as possible
>>
>>109910201
instead of banning words, have fun and replace words. I turn "Jews" into "Mommies"
>>
File: 1774237955031664.png (381 KB, 1014x900)
381 KB PNG
>>109910228
>I turn "Jews" into "Mommies"
Thanks.
>>
>>109910234
Shalom!
>>
>>109909053
lol
>>
>>109910286
people will be able to make their own boards, that is why i am saying there will be an ai board eventually.
>>
>>109910295
oh thats what you meant. i thought you meant a board where just bots post
>>
>>109909081
>And let me fucking guess, JavaScript is needed, posting from Tor forbidden...
There are plenty of sites where you can go to post CP if you want to.
>>
>>109910352
that would be load bearing.
>>
>>109909851
4chan works by writing out the thread json every time a post is made, then calling the thread updater (which fetches the json) every few seconds. If the thread has a lot of posts, it calls a json that only has the last X posts, to cut down on the needed bandwidth.

It does this because every json file is static and served by HTTP without any scripting (caching is controlled by the modified header), and because it can be served by cloudflare. This reduces site load to nearly nothing.
Websockets would require direct connection between server and users because it has the server sending updates directly to the user, so it would require far higher load than sending a new json to cloudflare once per post.

altchans get away with websockets because they have a dozen active users at best.
>>
>>109910148
>I do not believe CSAM even exists any more.

altchan admin here. The list time we got CP spam was 2026-09-25 09:04:17, or in other words, yesterday.
>>
>>109910412
why do they do it and how did you get your users?
>>
>>109910412
>altchan admin here
nice try
>>
>>109910435
>why do they do it
it's coming from russia, which answers the why.

>and how did you get your users?
niche boards.
>>
>>109910464
why do the Ruskies leave my sites alone?
>>
>>109910474
The spam every and all altchans. There's plenty of discussion about it, for ex. see https://trashchan.xyz/meta/thread/374.html
>>
>>109910497
They have left mine alone. Not complaining of course. Probably cuz its not linked on allchans.
>>
>>109909107
this guy's fucked
>>
>>109910497
That's a long thread. Not gonna try to help them.
>>
>>109910497
I was about to post this.

TLDR; CSAM is spammed in alt-chans by Russians in an attempt to get you to buy their content.
>>
we eliminated almost all CSAM spam by banning all VPNs, proxies and Tor

VPNs / Datacenters:
https://github.com/X4BNet/lists_vpn
DNS Blocklists:
rbl.efnetrbl.org
torexit.dan.me.uk
>>
>>109910242
wa alaykom shalom my brother in hashem!
>>
>>109910598
thanks
>>
>>109910598
Also useful: https://github.com/firehol/blocklist-ipsets/
>>
File: dead-chans.jpg (100 KB, 814x756)
100 KB JPG
I'm sure it will be a true competitor to 4chan.
>>
>>109910742
I had AI do calculations for me. If one believes their traffic numbers, my tiny VM can handle about 1.1% of their load. I can bring that up to 5-7% if I put up some caching proxies here and there. That's more than enough to handle my one board that this place would never have.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.