/wdg/ - Web Development General
Do you follow the 14kB rule?
>Free beginner resources to get started with HTML, CSS and JS
https://developer.mozilla.org/en-US/docs/Learn - MDN is your friend for web dev fundamentals
https://web.dev/learn/ - Guides by Google, you can also learn concepts like Accessibility, Responsive Design etc
https://eloquentjavascript.net/Eloquent_JavaScript.pdf - A modern introduction to JavaScript
https://javascript.info/ - Quite a good JS tutorial
https://flukeout.github.io/ - Learn CSS selectors in no time
https://flexboxfroggy.com/ and
https://cssgridgarden.com/ - Learn flex and grid in CSS
>Resources for backend languages
https://nodejs.org/en/learn/getting-started/introduction-to-nodejs - An intro to Node.js
https://www.phptutorial.net - A PHP tutorial
https://dev.java/learn/ - A Java tutorial
https://rentry.org/htbby - Links for Python and Go
https://quii.gitbook.io/learn-go-with-tests - Learn Go with Tests
>Resources for miscellaneous areas
https://github.com/bradtraversy/design-resources-for-developers - List of design resources
https://www.digitalocean.com/community/tutorials - Usually the best guides for everything server related
>Need help? Create an example and post the link
https://jsfiddle.net - if you need help with HTML/CSS/JS
https://3v4l.org - if you need help with PHP/HackLang
https://codesandbox.io - if you need help with React/Angular/Vue
/wdg/ may or may not welcome app development discussion. You can post and see what the response is.
Some app technologies of course have overlap with web dev, like React Native, Electron, and Flutter.
We have our own website:
https://wdg-one.github.io
Submit your project progress updates using this format in your posts, the scraper will pick it up:
:: my-project-title ::
dev:: anon
tools:: PHP, MySQL, etc.
link::
https://my.website.com
repo::
https://github.com/user/repo
progress:: Lorem ipsum dolor sit amet
Previous:
>>106528949
website optimization
9/10/2025, 10:45:49 AM
No.106544351
[Report]
i don't get how to use FF profiler, it seems complex interface, and i don't know what i really need to look for on the data it shows me.
last day i opened lighthouse, since it provides direct diagnostics
Anonymous
9/10/2025, 10:47:08 AM
No.106544364
[Report]
>>106544562
>>106544071 (OP)
This thread has a better OP than the previous thread. Good work.
>Do you follow the 14kB rule?
No of course I don't. Pic related.
Anonymous
9/10/2025, 11:18:21 AM
No.106544562
[Report]
>>106544742
>>106544364
second AAAAAND second
56kb modems are not to be considered
Anonymous
9/10/2025, 11:46:33 AM
No.106544742
[Report]
>>106544562
>56kb modems are not to be considered
Indeed. A lot of web pages that people visit these days will download a few megabytes of stuff - JS, fonts, images, whatever. As long as it loads fairly quickly then it's fine.
you faggots are so useless that i'm considering installing discord and learning from them instead
>>106545388
The purpose of /wdg/ is to shitpost about web development. The purpose isn't to teach you for free.
Anonymous
9/10/2025, 2:10:57 PM
No.106545760
[Report]
>>106545928
>>106545509
> NoT YoUr PeRsOnAl aRmY
Cynical take. Are you 12? You don't have to engage with posts you don't want to engage with; people come to this board with very different intentions.
Anonymous
9/10/2025, 2:19:34 PM
No.106545829
[Report]
Shit, anons, I'm really fucking lost for the past week now.
How does one implement resizable grouped columns with Tanstack table? In a group, they all resize proportionally and size values are ignored.
Any advice on how to dynamically generate said groups and append them depending on data coming in from API? Shit really gets slow with 100 rows and virtualization seems to not be enough.
Fuck, I hate fucking tables. My whole job for the past 7 months has been implementing basically every feature of this library and adding lots of business logic related custom features as well. Fuck me.
>>106545760
>You don't have to engage with posts you don't want to engage with
Yeah I usually don't. I just think it's dumb that some people have an expectation that they'll have everything spoon fed to them for free just because they asked about it.
>>106545928
>for free
What do you mean? Sharing information is the point of the internet. At least it used to be.
While you do have a fair point of criticism, I personally always expect someone to just tell me I'm a faggot. If I get lucky, I get useful info. I think there's many more people, who also hope for (but don't expect) this.
My point is that your attention to such faggots is pointless waste of energy.
Anonymous
9/10/2025, 2:56:06 PM
No.106546139
[Report]
>>106546027
>Sharing information is the point of the internet
If someone seems like they're making a proper effort to teach themselves, but they just have a quick question, then maybe I might answer it, but some people seem to think they're entitled to be spoon fed everything for free.
Anonymous
9/10/2025, 3:01:38 PM
No.106546186
[Report]
>>106545388
dilation fees, pay up
>>106545509
it is to share knowledge, aka learn, u need to lrn2 what old 4chins really meant, one word, /b/ros
Anonymous
9/10/2025, 3:02:50 PM
No.106546195
[Report]
>>106545928
this has happened to me and it is probably why I help others here, lurk moar
I'm going to ask again.
Is it possible to varnish something with CSS? I mean an element having a glow that moves in relation to something else like the position of the mouse eon the screen.
I assume javascript would have to be involved but that's the least of my issues.
did something happenen to /wdg/ why is it just one mentally ill samefag now
Anonymous
9/10/2025, 4:08:15 PM
No.106546743
[Report]
>>106547496
>>106546414
If I understand you correctly, this will definitely need JS. However, I'm not too sure what you mean by this mouse moving "varnishing" shit.
You mean smth like this?
https://valiant-cron-0pnw.pagedrop.io/
>>106546027
>Sharing information is the point of the internet
Bro never heard of RTFM?
And today you can ask chatgpt and perplexity free and its even better. You dont need to bother internet strangers anymore.
>>106546624
4chins is diededing
>>106546785
AI is a meme that breaks down whenever you're doing non trivial and performance critical job.
Sometimes you read the manual and the manual is not enough or plainly wrong. Not all docs are like Arch wiki, negro
Anonymous
9/10/2025, 4:20:10 PM
No.106546894
[Report]
>>106546974
>>106544071 (OP)
why 14kB specifically?
Anonymous
9/10/2025, 4:25:40 PM
No.106546943
[Report]
>>106546414
>css?
yeah probably, try and tweak to death with some js or just hover, if ur lucky there's a premade example
BUT, there's canvas and things like webgl
Anonymous
9/10/2025, 4:27:06 PM
No.106546957
[Report]
>>106546624
idk, troons are extremely degen, but it fixes itself, 41%
>>106546785
>le gatekeeping newfag
ironic
Anonymous
9/10/2025, 4:28:25 PM
No.106546974
[Report]
>>106546822
correct
>>106546894
faggot
>>106546822
to.be fair, the ascended take is reading source code, not about that life though, and if it is obscure then you can forget about it
Anonymous
9/10/2025, 4:29:34 PM
No.106546993
[Report]
>>106546903
>retard fell for retard clickbait
that's the main reason
Anonymous
9/10/2025, 5:04:50 PM
No.106547341
[Report]
>>106554363
It's your time to shine /wdg/, we need a logo:
https://github.com/trueadm/ripple/issues/49
Anonymous
9/10/2025, 5:16:54 PM
No.106547496
[Report]
>>106554420
>>106546743
>You mean smth like this? https://valiant-cron-0pnw.pagedrop.io/
Oh yeah, this is exactly what I wanted.
Mind sharing the code?
Anonymous
9/10/2025, 5:49:31 PM
No.106547878
[Report]
>>106546624
You should see /wdg/ on the weekends, it's much more dead
Anonymous
9/10/2025, 5:59:41 PM
No.106548014
[Report]
nodebros... that package... I'm sorry
>>106545250
Anonymous
9/10/2025, 7:31:03 PM
No.106549136
[Report]
>>106549248
>>106548741
enterprise adoption status?
>a single retard that fell for yt clickbait sets a new global trend: REAL | FAKE
Anonymous
9/10/2025, 7:38:38 PM
No.106549248
[Report]
>>106549136
It's what you have to do if you want peak performance. The great thinker and ex-FAANG engineer ThePrimeagen has also talked about it.
https://www.youtube.com/watch?v=ciNXbR5wvhU
>npm did it again
https://www.youtube.com/watch?v=QVqIx-Y8s-s
I told you naive kids about snorting packages
Anonymous
9/10/2025, 8:18:05 PM
No.106549763
[Report]
>>106549493
Gochads win again. The standard library is enough for almost everything.
Anonymous
9/10/2025, 9:26:01 PM
No.106550398
[Report]
>>106553857
I'm back end developer thinking about launching a couple of my own web apps, but can someone tell me where to get nice tailwind templates. I'm not talking about your gay, everything is rounded and soft color templates, but some actual creative designs than I can pluck into my website block by block and then fill the data in and change some things if I need to.
Tailwind 4 plus and
https://lexingtonthemes.com/ are kinda ok, but I'm trying to find as much other retro shit as I can also.
Anonymous
9/10/2025, 9:27:43 PM
No.106550417
[Report]
>>106551509
Python CGI is the easiest language for programmers that have learnt Python before to learn web development.
Anonymous
9/10/2025, 10:06:22 PM
No.106550708
[Report]
>>106549493
bro wtf, look, YESTERDAY!
>>106521141 (Me)
Anonymous
9/11/2025, 12:07:58 AM
No.106551509
[Report]
>>106554682
>>106550417
Don't like Python. Simple as.
Anonymous
9/11/2025, 3:32:37 AM
No.106552635
[Report]
Anonymous
9/11/2025, 3:44:30 AM
No.106552714
[Report]
>>106544071 (OP)
>dude I just saved 18ms
>*website takes 7 seconds to even render*
Anonymous
9/11/2025, 7:55:00 AM
No.106553857
[Report]
>>106550398
I used Daisyui back when I used Tailwind. They have a bunch of different templates and you can customize them and set different themes (dark/light etc.). You can also change the base colors, primary, accent, info color, warning color etc. It's pretty nice.
They also have a "random theme generator" you can play around with:
https://daisyui.com/theme-generator
Anonymous
9/11/2025, 10:08:04 AM
No.106554363
[Report]
>>106547341
why name your package after a crypto currency?
Anonymous
9/11/2025, 10:25:09 AM
No.106554420
[Report]
>>106555137
>>106547496
Open devtools, copy everything, done. Written in one HTML file inline.
Anonymous
9/11/2025, 11:40:00 AM
No.106554682
[Report]
>>106555091
>>106551509
second, taking away muh {}? no way
no but why use python when node exists, no reason that I can see
Anonymous
9/11/2025, 1:26:14 PM
No.106555091
[Report]
>>106555112
>>106554682
I also despise Python for the lack of curly braces.
Python is probably better outside of web apps, but almost any white man's lang will be better than Python in that case.
Anonymous
9/11/2025, 1:29:11 PM
No.106555112
[Report]
>>106555091
>I also despise Python for the lack of curly braces.
pic related
>
the saying goes that python is top notch for ez AI lib frankestaining, so I used it for that, still, ugly, and the sayings are often wrong, but it gave me an easy time I must say
Anonymous
9/11/2025, 1:34:55 PM
No.106555137
[Report]
Anonymous
9/11/2025, 3:13:15 PM
No.106555711
[Report]
>>106555767
Just saw a job advert for a "vibe coder". Never seen such a big red flag from a company
>>106555711
>be me
>6 yoe """"programmer""""
>use AI anyways
>correct it
you know VS Code autocomplete? now imagine it completes all the code and you can just tweak this and that and your work is done
Anonymous
9/11/2025, 3:21:31 PM
No.106555783
[Report]
>>106555767
if only it wasn't retarded
Anonymous
9/11/2025, 3:21:57 PM
No.106555790
[Report]
>>106555798
>>106555767
Yeah I think AI will play an increasing role in software development, but "vibe coder" just strikes me as some TikTok meme rather than a serious job title
Anonymous
9/11/2025, 3:22:42 PM
No.106555798
[Report]
>>106555790
yes, they are indeed "taking a risk" and if they're not careful, they'll pay for it
C# or Java, which should I learn?
Anonymous
9/11/2025, 8:57:01 PM
No.106558209
[Report]
>>106562438
>>106557407
They all do the same shit in the end
Anonymous
9/11/2025, 9:20:18 PM
No.106558349
[Report]
>>106558665
>>106546414
if you mean for a complex texture (the bumps) like your picrel. You could probably do it in a svg filter together with some js to change the "light" source direction via attributes
Anonymous
9/11/2025, 9:59:36 PM
No.106558665
[Report]
>>106558704
>>106546414>>106558349
why fake it (poorly), 3d plane, with texture/material and bump/displacement map. use webgl or similar
Anonymous
9/11/2025, 10:03:09 PM
No.106558704
[Report]
>>106558725
>>106558665
>why use rendering tricks when you can do raytracing
the absolute state of modern devs
Anonymous
9/11/2025, 10:06:08 PM
No.106558725
[Report]
>>106558817
>>106558704
webgl performs just alright specially with the settings I specified, kys, brainlet
Anonymous
9/11/2025, 10:18:21 PM
No.106558817
[Report]
>>106558880
>>106558725
That'll be +30 MB thanks
because there's no way he's doing it from scratch
Anonymous
9/11/2025, 10:25:19 PM
No.106558880
[Report]
>>106558817
take your 14 kb retardware and stick it up your ass, I'll take the low resources consumming webgl varnish, kys
Anonymous
9/11/2025, 10:43:30 PM
No.106559008
[Report]
>>106559767
>>106558971
now u explain why
Anonymous
9/12/2025, 12:15:42 AM
No.106559767
[Report]
>>106563003
>>106559008
Go is easier to learn, more performant, easier to deploy, has a great standard library, and it's built for web dev (great concurrency model etc.). That's why tooling like docker and kubernetes are written in Go.
How do you approach form validation in Go with htmx? Here is what I do:
1 - client side validation using native HTML attributes for inputs like required, maxlength
2 - validate those attributes server side, and usually I return errors using http.Error because only bots fail it
3 - pass inputs to my service layer
4 - if i get a db violation error like a foreign key or a unique constraint fail I render the form and show the user a message
Basically the part I'm hung up on is the step 3 and 4, because the err from the repo is a code but doesn't tell me what field is wrong. Should I instead design my DB in a way that the only way for an INSERT or UPSERT to fail is if it's an internal server error or a single column being violated? For example, if currently account requires a unique email and username and when I get a UNIQUE violation I don't know which. Is it better to instead only require a unique email?
My question is vague because I'm learning Go and only still in the prototyping stage, but I am making a forum.
Anonymous
9/12/2025, 4:13:11 AM
No.106561294
[Report]
I got a few natural users, it's nice to see people using the service
Anonymous
9/12/2025, 4:45:00 AM
No.106561426
[Report]
>>106563021
>>106544071 (OP)
modern websites are struggling to follow the 1400kb rule
Anonymous
9/12/2025, 8:17:22 AM
No.106562438
[Report]
>>106563030
>>106558209
Probably
>>106558971
I've tried Go and I like it but I keep seeing job adverts that want Java or C# experience
Anonymous
9/12/2025, 10:12:31 AM
No.106562965
[Report]
>>106563039
>>106560480
Got some annoying error when I tried to post but look at the image for the answer.
Anonymous
9/12/2025, 10:19:52 AM
No.106563003
[Report]
>>106563084
>>106559767
sounds good enough, what about error handling, it's often critizised in /g/ in general
Anonymous
9/12/2025, 10:22:15 AM
No.106563021
[Report]
>>106561426
>the 1400kb rule
you mean that yt clickbait thing?
Anonymous
9/12/2025, 10:24:07 AM
No.106563030
[Report]
>>106562438
whatever pays the most, and second filter is whatever is less legacy, and third filter is .NET is comfier than Spring
I won't talk about GO cause I've never touched it
Anonymous
9/12/2025, 10:25:34 AM
No.106563039
[Report]
>>106565860
>>106562965
>>106560480
just make sure you do proper input sanitizion on insert or u get rekt one way or another
Anonymous
9/12/2025, 10:35:00 AM
No.106563084
[Report]
>>106563701
>>106563003
>what about error handling
Go forces you to be explicit about error handling. That's good. Some people find it to be annoying but you have to handle errors if you want to write good quality software.
Do you guys test your websites in Safari? I think I should, given that many people use Safari (iPhone users as well as Mac users)
Therefore I might do one of the following:
1. Buy a cheap second-hand iPhone so I can test my websites on that
2. Buy a new laptop (which I should do anyway) which can run MacOS in a VM, so I can run Safari within that (and I could even run the iPhone simulator)
Thoughts?
Anonymous
9/12/2025, 12:35:22 PM
No.106563701
[Report]
>>106563927
>>106563084
java/c# and even node seem to have more elegant and convenient error handling
and don't forget it comes from google, the ones that effectively killed the web
>>106563557
browserstack
Anonymous
9/12/2025, 1:12:11 PM
No.106563927
[Report]
>>106564113
>>106563701
>browserstack
Hm... minimum price seems to be $30 a month. And I dunno how well it's going to let me test all the particular quirks (and features) of an iPhone compared to other browsers and devices.
Anonymous
9/12/2025, 1:45:46 PM
No.106564113
[Report]
>>106563927
it's supposed to be "native", optimistically, you pay one month and you're done
Anonymous
9/12/2025, 2:12:43 PM
No.106564293
[Report]
>>106563557
only if i've used a relatively new browser feature, otherwise no
Anonymous
9/12/2025, 2:31:02 PM
No.106564443
[Report]
>>106563557
If workplace doesn't provide testing devices, that's their issue. I wouldn't buy into the Apple ecosystem meme, as that's exactly why they have these restrictions.
I either ask someone to allow me do a few tests on their Apple devices or the company should provide Browserstack access.
Anonymous
9/12/2025, 5:02:56 PM
No.106565627
[Report]
>>106565660
Anonymous
9/12/2025, 5:06:45 PM
No.106565660
[Report]
>>106565627
yes, be sure to send it straight to the CEO
>>106563039
Thanks anon, my only question is how do you check constraints like UNIQUE in the business logic. Do you use a SELECT? Everywhere I read I'm told to minimize the amount of trips to the DB so I thought relying on error codes from an INSERT/UPSERT would be more efficient.
Thanks for all the other advice, I'm currently refactoring the UX of forms and I'm relying on client side validation. But if the server side fails I simply have htmx append a generic error message at the bottom of the form. My experience with Go has been fun so far and I enjoy using it a lot, my stack right now is sqlite, go+templ, and htmx
Anonymous
9/12/2025, 5:42:51 PM
No.106565889
[Report]
>>106565860
I remember that I did this, I don't remember how lels, I guess yeah, the DB/BE returned an error, and that was it, but I assume you can merely just try the insert, and the DB will shit an error and you just handle it with grace, as in you identify the error (unique constraint violation on name column) and you tell the user error here, username taken
Anonymous
9/12/2025, 6:12:20 PM
No.106566088
[Report]
>>106565860
>my only question is how do you check constraints like UNIQUE in the business logic
You would have to go to the db to check for constraints like UNIQUE.
>relying on error codes from an INSERT/UPSERT would be more efficient.
That sounds like a good idea when it comes to checking for UNIQUE constraints. That's also how I do it. But you shouldn't return db errors directly to the client for security reasons.
For example:
Someone might want to check if a certain email address exists in the users table. And so they try to sign up with that email address. So you shouldn't return the db error that says that that email address exists directly to the client. Just return some generic error.
>my stack right now is sqlite, go+templ, and htmx
You don't have to worry as much about trips to the db if you use SQLite since it's a embedded/serverless db. So the trips take less time than if you used Postgres or MySQL. But it's still good to handle it in the business logic if you can. For example checking if the email address has the correct format.
Anonymous
9/12/2025, 6:16:13 PM
No.106566113
[Report]
>>106567375
>>106565860
>sqlite
Make sure that you use WAL mode if you use SQLite in production.
https://sqlite.org/wal.html
Anonymous
9/12/2025, 6:29:31 PM
No.106566211
[Report]
jQuery nigga
>been working with boomers for 6 years
>jquery and raw php at first
>move towards vanilla js, improve php a bit
>eventually build a web components library
>start using sass and tailwind
>then some react
>they want to build the whole app from scratch
>hire a consultant
>see code involving nextjs
>absolutely disgusted about the amount of boilerplate and complex shit
Why is websites getting to heavy and complex fought with more complexity?
Anonymous
9/12/2025, 7:17:01 PM
No.106566615
[Report]
>>106566589
I haven't used Next but isn't it basically rendering React components on the server? Maybe it's getting popular because there are lots of web devs who already know React, so why not let them use it for server-side rendering too
Anonymous
9/12/2025, 8:33:54 PM
No.106567331
[Report]
>>106567355
Yesterday I saw YouTube's alternative theater mode where the video takes the whole screen and you can place the comments on the side, but today I'm not getting that theater mode but the older one where the video simply expands horizontally.
How do I get the newer theater mode again?
Captcha: AY8GAY
Anonymous
9/12/2025, 8:36:48 PM
No.106567355
[Report]
Anonymous
9/12/2025, 8:39:11 PM
No.106567375
[Report]
>>106566113
Thanks
>if you use SQLite in production
I don't know yet, I'm using SQLite because it lets me run integration tests on the same environment as in the real world. I never expect my shitty XenForo clone to go anywhere so SQLite should be good enough lel
Anonymous
9/12/2025, 9:15:24 PM
No.106567673
[Report]
>>106567683
>>106544071 (OP)
Hello everyone, I'm happy to know that with the calc-size CSS function being added (soon in firefox too hopefully), you can now have floats that expand in the inline direction instead of block wise, assuming you know the width of the floating thing.
In this case it is just hardcoded values since I'm trying it out: max-width: calc-size(calc-size(max-content, size), size + 13px + 93px + 20px - 40px);
The pixel values being: size + left thumb margin + thumb width + right thumb margin - left post blockquote margin (since the left margin moves the non-floats over a bit)
Btw, shape-outside also allows you to customize the float shape, but that's unrelated
Anonymous
9/12/2025, 9:16:48 PM
No.106567683
[Report]
>>106567673
Maybe it should've been a fit-content? Whatever :P
Anonymous
9/13/2025, 1:11:07 AM
No.106569741
[Report]
page 10 Sirs
Anonymous
9/13/2025, 3:33:00 AM
No.106570532
[Report]
jQuery is the father of modern js, deal with it
>>106544071 (OP)
serious question why is it 14? why can't they just make it variable or something?
Anonymous
9/13/2025, 4:09:31 AM
No.106570769
[Report]
Why is webdev so hard without Vyvanse bros?
Updating fetchThreadPosts to match my actual backend is just too grim
I'd rather Watch Yu-Gi-Oh season 5
Anonymous
9/13/2025, 9:12:34 AM
No.106572265
[Report]
>>106570675
Because of TCP. But I guess the deeper reason is because you don't want to send too much data over the internet before checking if some TCP packets are lost? That would be wasteful.
Anonymous
9/13/2025, 9:15:49 AM
No.106572275
[Report]
>>106573819
Why the FUCK ist there still a Web dev general. None of you will be employed by the end of next year.
Anonymous
9/13/2025, 9:36:03 AM
No.106572348
[Report]
How are you supposed to keep the 14kb rule if HTMX alone is already 14kb?
>"Spring/.NET are enterprise dogshit bro, just tons of boilerplate bro, fuck Java/C# dogshit, slow as molasses garbage bro"
I hear some variant of this everywhere I go and yet they're the comfiest and most solid frameworks I've used, just great all around. I'm not saying other stuff is bad, everything has its use case, I just don't know where this mentality came from.
Anonymous
9/13/2025, 2:31:32 PM
No.106573731
[Report]
>>106573752
>>106573101
early nerds were all gay hippie retards so you can't separate that out from the scene people hate C# because it's microsoft which they were told to hate by 80s nerds calling it micro$haft etc
Anonymous
9/13/2025, 2:35:08 PM
No.106573752
[Report]
>>106573101
>>106573731
I've tried Java and C# and they seem alright, I wouldn't mind using them more. They can have a fair bit of boilerplate though and they can both take a while to start up on slower machines. With something like Node there's arguably a lower barrier to entry. Just write a few lines of code and you've got a server running.
>people hate C# because it's microsoft which they were told to hate by 80s nerds calling it micro$haft etc
I think Microsoft can make some good stuff. I think TypeScript is good. I still try to have a healthy scepticism about massive companies though.
>>106572275
I'm starting Tuesday morning actually, gonna be working with Nuxt and C#
Anonymous
9/13/2025, 3:14:10 PM
No.106573966
[Report]
Anonymous
9/13/2025, 3:17:25 PM
No.106573978
[Report]
>>106573819
king shit, count your blessings
Anonymous
9/13/2025, 5:02:08 PM
No.106574613
[Report]
>>106573819
>Nuxt and C#
dream setup
Anonymous
9/13/2025, 7:05:57 PM
No.106575402
[Report]
>>106576613
This was far too much work before realizing, yet again, that I don't need to manually decode the pixels because DirectDraw Surface BC7 is part of the webgl2 standard extensions through gl.getExtension("EXT_texture_compression_bptc")
Anonymous
9/13/2025, 7:29:51 PM
No.106575559
[Report]
Anonymous
9/13/2025, 9:43:19 PM
No.106576613
[Report]
>>106576769
>>106575402
What are you making with WebGL?
Anonymous
9/13/2025, 10:01:42 PM
No.106576769
[Report]
>>106576954
>>106576613
Making a 0-dependencies tool for Space Engineers to generate interactive 3D & 2D planet maps from cubemap textures and terrain rules xml game data, so others can do what I did manually.
https://files.catbox.moe/us3e4n.png
Anonymous
9/13/2025, 10:12:57 PM
No.106576891
[Report]
There's also another project where I'm cloning the visual scripting (and with time, including lua) environment from Stormworks: Search & Rescue
so that you can view and debug vehicle controllers outside of the slow-loading game and its strict restrictions
Anonymous
9/13/2025, 10:17:01 PM
No.106576928
[Report]
MCP servers are actually very useful. This is going to be the next big thing in web dev. I used this repo to build one because I like Go:
https://github.com/mark3labs/mcp-go
General question: Have you tried out building MCP servers?
Anonymous
9/13/2025, 10:20:34 PM
No.106576954
[Report]
>>106576970
>>106576769
Sounds cool. Does that mean the end result would be a 3D planet map in the browser, and you can turn the planet around, stuff like that?
>>106570675
When the HTTP server receive a TCP request, it doesn't know the connection speed of the client, of itself and any hop in between.
So it starts with a brust of 10 packets and then it waits for the ACK response by the client.
The maximum size of a TCP/IP packet is usually 1500 bytes, remove the header and its flags which is 40 bytes and you have 1460 bytes of data.
1460 × 10 packets is 14600 bytes.
14 KiB is 14336 bytes, a very similar value for those 10 packets.
If the server received the acknowledgement for every single packet then the connection is closed.
On HTTP/1.1 and on HTTP/2, if even one of those is not acknowledged, then the server restart sending them but one at a time.
HTTP/3 is different because it uses UDP instead of TCP, but first connection to a server is never HTTP/3 anyway.
>>106577004
>HTTP/3 is different because it uses UDP instead of TCP, but first connection to a server is never HTTP/3 anyway.
I think HTTP/3 uses TCP for the first connection so the 14kB rule still holds for HTTP/3.
Anonymous
9/13/2025, 10:41:53 PM
No.106577157
[Report]
>>106576970
Nice, I like it
test
!Ep8pui8Vw2
9/13/2025, 11:34:04 PM
No.106577577
[Report]
>>106576970
this is really cool
>>106577084
No. First connection is either HTTP/1.1 or HTTP/2.
The server nudge the browser into using HTTP/3 with the Alt-Svc header.
Anonymous
9/14/2025, 4:26:44 AM
No.106579779
[Report]
>>106581567
>another deadline hell week for new featurues
>everyone just vib-coded it to reach the deadline in time (they wouldn't like the other features)
>the remaining features still ain't fixed yet
Does Web Dev get better?
Anonymous
9/14/2025, 8:57:34 AM
No.106581227
[Report]
>>106581240
holy fugg I'm finding myself more and more relying on gpt slop to reach deadlines and calling it a day
we're cooked
Anonymous
9/14/2025, 9:00:04 AM
No.106581240
[Report]
>>106581227
It gonna get worse from here.
>>106579779
the junior i have keeps relying 100% on AI and just accepts what it gives without even thinking about it, driving me fucking insane.
he's spent two weeks scaffolding out the frontend of a new feature and it's a completely nonsensical shitshow that i have to clean up this week.
guy even thought the feature would be done this week, lol
Anonymous
9/14/2025, 9:58:05 AM
No.106581614
[Report]
>>106581846
>>106581567
Bet the product manager love him.
I have to deal with that crap too, but I am a junior as well. The worst part is that my company don't have a senior, so the guy just 'random bullshit go' on everything with no restriction.
I am quitting this job before I have to deal with the technical debt later on.
Anonymous
9/14/2025, 10:24:04 AM
No.106581806
[Report]
>>106581846
>>106581567
Not a problem if you write tests. AI + TDD is GOAT tier fr, no cap on the productivity gains.
Anonymous
9/14/2025, 10:30:29 AM
No.106581846
[Report]
>>106583046
>>106581614
small startup so i basically am the PM, devops, senior dev etc lol.. attempting to hire another junior/intermediate has been a nightmare too since no one has been able to complete my bottom of the barrel exercise without completely butchering it with AI
>>106581806
i agree but when the task is full stack 0-100, TDD doesn't really apply here. implementing designs from figma, designing backend control flow, designing client state control flow and so on. guy takes the established conventions i already have in place + documented and doesn't even point his AI tool to it all
>>106544071 (OP)
I was skeptic about PWAs at first. I tried adding one to my homescreen from firefox and it was basically the same minus the firefox ui. Acceptable but not exactly game changing. Looking for a way to remove the firefox badge from the PWA icon corner I read that PWAs can be installed as bookmarks or as actual apps on the system and apparently you can do the latter only through Chrome on Android. Once I did that I experienced an instant increase in responsiveness. Why is that? Is the chrome engine that better? Or is the fact that firefox is only capable of installing PWAs as pseudo bookmarks the reason behind the lack of speed? Regardless I experienced a renewed interest in PWAs and was wondering what you think of them
>>106582104
>PWA schizobabble
You just know...
Anonymous
9/14/2025, 11:27:43 AM
No.106582196
[Report]
>>106582431
>>106582104
I think PWAs are pretty cool, and yes I've also noticed that you get the best experience on Android if you install them through Chrome rather than through Firefox, at least on my phone.
Anonymous
9/14/2025, 11:46:52 AM
No.106582298
[Report]
>>106576970
this is really cool, but you have to polish it, perfect it, the displacement map is a bit out of control
Anonymous
9/14/2025, 11:58:30 AM
No.106582366
[Report]
>>106582180
this cannot be real
Anonymous
9/14/2025, 12:07:19 PM
No.106582401
[Report]
>>106582180
All the millinos mpozzila gets from google go to stuff like this and making new AI features in firefox.
>>106582196
I like them because you can bypass app stores but apparently corpos always find an excuse to shit on new cool stuff they have no direct control on
https://techcrunch.com/2024/02/15/apple-confirms-its-breaking-iphone-web-apps-in-the-eu-on-purpose/
Anonymous
9/14/2025, 12:50:28 PM
No.106582594
[Report]
>>106582431
It's a wonder Apple lets their users choose which websites they visit
Anonymous
9/14/2025, 12:55:41 PM
No.106582617
[Report]
>>106582431
Yeah Apple did break PWAs for a short while but then I think they fixed them again. I suppose there's the risk that Apple might break them again at some point in the future. But to be fair to them they have added more PWA features to iOS. I think iOS 16.4 added some new PWA features such as push notifications.
Anonymous
9/14/2025, 1:03:17 PM
No.106582657
[Report]
>>106582701
Anonymous
9/14/2025, 1:13:56 PM
No.106582701
[Report]
>>106582657
works on my machine
Anonymous
9/14/2025, 2:25:40 PM
No.106583046
[Report]
>>106583091
>>106581846
>small startup so i basically am the PM, devops, senior dev etc lol..
kek same except I only have like 1 month of experience in the company stack + tech support on top of that shit.
How do you manage with deadline stress and shit pay?
I have been working over time on Saturday and sunday to match the deadline because le AI makes you build faster, but it felt like this shit has been killing any motivation I have left in coding.
>>106583046
founder is somewhat non-technical so in terms of timelines and stack, what i say generally goes.
i'm not in the US so my pay is terrible compared, but it's pretty good for the flexibility i have and for my country, got a 55% payrise leaving my last company so i'm happy. they pay for my claude max sub too so i get to use that in my free time on personal stuff.
Anonymous
9/14/2025, 2:37:08 PM
No.106583110
[Report]
>>106583494
>>106583091
>payed for my own github copilot
>minimum wage
>constant deadline
Fuck, if I am gonna suffer, I should have driven a hard bargain like you did
Anonymous
9/14/2025, 3:33:51 PM
No.106583494
[Report]
>>106584600
>>106583110
>>106583091
>pay for nothing
>lmao @ deadlines
>company pays for copilot which includes chatgpt 5 and all the other exotic AI solutions
get a better job
All this fucking whitespace on my widescreen display,
browsing one of the foremost sources of web development
Anonymous
9/14/2025, 5:00:23 PM
No.106584185
[Report]
>>106584251
>>106583808
not optimal, but I think I see what the issue is, they didn't want to break the lines of long text, send them a better design q;^)
Anonymous
9/14/2025, 5:06:55 PM
No.106584251
[Report]
>>106584393
>>106584185
Just let me close the fucking sidebars without having to make the window smaller
Anonymous
9/14/2025, 5:13:11 PM
No.106584313
[Report]
>>106595097
>>106583808
I would rather have a web page like the one you're showing, than pic related. Pages like pic related spread across the entire width of the screen. If you have a wide screen then you find yourself turning your head all the way to the left to see some parts of the page, and all the way to the right for other parts. Also the distances you have to move your cursor are greater. When I'm making websites I set a maximum width for the content and then I centre that, so the whole page stays within the middle of the screen, and doesn't stretch across the whole screen width.
How do I detect if for example the "4" key is pressed on the keyboard together with shift?
Some browsers report the key 4 regardless of shift is held or not, others report they key typed. Meaning it depends on keyboard layout (US layout has Shift+4 turn into $, nordic layout has Shift+4 turn into ¤, German layout has... well I don't know, I don't want to type out special cases for all language keyboard layouts in the world.
Is there any solution for this "key typed is reported" problem?
Anonymous
9/14/2025, 5:18:41 PM
No.106584375
[Report]
>>106584594
>>106584251
agreed, send them your design, go further, "toggle full table view"
>>106584341
there's probably "key down" event, if that is so you want to track that event
yah
https://developer.mozilla.org/en-US/docs/Web/API/Element/keydown_event
Anonymous
9/14/2025, 5:23:33 PM
No.106584435
[Report]
>>106584559
>>106584393
MS gets it right
Anonymous
9/14/2025, 5:37:58 PM
No.106584559
[Report]
>>106584375
>>106584393
thanks for trying to help but if it was that simple i would have solved it already
pic related is how it looks when I press 12345 without shift and then with shift (using a privacy preserving fork of Firefox)
Anonymous
9/14/2025, 5:42:18 PM
No.106584600
[Report]
>>106584613
>>106583494
>>lmao @ deadlines
what sector do you work at?
Anonymous
9/14/2025, 5:43:30 PM
No.106584613
[Report]
>>106584600
multinational company, as much as I'm going to say
>>106584594
https://developer.mozilla.org/en-US/play?uuid=c8d66b7c-0800-428a-b1af-25f781ac19c6&state=TVCxUoQwEP2VnR0LbmQ4CyuFK7y5wtHONsUxyXpEwgZJUJHh393AFVZ5eXnv7b7M2MTO4QOWlvsxQu9qTY13hoZK4dFZ3UJDA%2BUQG2LoBwoBjP9mqKGlqVAIwf6SaO%2FvBO8PisserBHC%2BYvCQ7nvhcMcdQgyRsBHOrXnEGGbWUmgHjviWHyONExv5EhHP2QKV4HC3aPizSGh%2F%2FUXiidHCT5Nzya7Dk1yxau3qI05fcn7qw2RmFKo7J0aKMxT3AtNm%2F59ZB2t5yuZ0Q5mxZCuRaSfePQsCRFuKzjDzUyF9oaWs3iXtaB8UEdSzdRDi8sf&srcPrefix=%2Fen-US%2Fdocs%2FWeb%2FAPI%2FElement%2Fkeydown_event%2F
and you also get called a retard and a faggot for making me work for (You)
Anonymous
9/14/2025, 5:46:27 PM
No.106584636
[Report]
>>106584662
>>106584624
>>106584594
https://developer.mozilla.org/en-US/play?uuid=c8d66b7c-0800-428a-b1af-25f781ac19c6&state=TVCxUoQwEP2VnR0LbmQ4CyuFK7y5wtHONsUxyXpEwgZJUJHh393AFVZ5eXnv7b7M2MTO4QOWlvsxQu9qTY13hoZK4dFZ3UJDA%2BUQG2LoBwoBjP9mqKGlqVAIwf6SaO%2FvBO8PisserBHC%2BYvCQ7nvhcMcdQgyRsBHOrXnEGGbWUmgHjviWHyONExv5EhHP2QKV4HC3aPizSGh%2F%2FUXiidHCT5Nzya7Dk1yxau3qI05fcn7qw2RmFKo7J0aKMxT3AtNm%2F59ZB2t5yuZ0Q5mxZCuRaSfePQsCRFuKzjDzUyF9oaWs3iXtaB8UEdSzdRDi8sf&srcPrefix=%2Fen-US%2Fdocs%2FWeb%2FAPI%2FElement%2Fkeydown_event%2F
Anonymous
9/14/2025, 5:48:50 PM
No.106584654
[Report]
>>106584674
Anonymous
9/14/2025, 5:49:23 PM
No.106584662
[Report]
>>106584680
>>106584624
>>106584636
Why so hostile? And you didn't solve the problem as is demonstrated in pic related. Notice that Digit2 becomes Quote and Digit3 becomes a blank string.
Anonymous
9/14/2025, 5:50:47 PM
No.106584674
[Report]
>>106584654
same thing here
Anonymous
9/14/2025, 5:51:47 PM
No.106584680
[Report]
>>106584702
>>106584662
pfft, just map it to keys, come the fuck on
>Why so hostile?
>if it was that simple i would have solved it already
I just solved it for you, just you're too dense to realize
sorry for "hostility" but we helped and you tried to downplay and discard our solution, even when we fucking solved it for you
>>106584680
You think you solved it but you really didn't. I'm 45 years old btw, you're probably a lot younger with this attitude. Like, you thought I didn't try e.code before seeking help with my issue? Come on.
Anonymous
9/14/2025, 5:56:16 PM
No.106584721
[Report]
>>106584750
>>106584702
excellent, brilliant, good job
Anonymous
9/14/2025, 5:57:17 PM
No.106584731
[Report]
>>106584750
>>106584702
you want me to write the full solution, or are you going to take the solution I gave you, do you want me to push it to your git repo?
Anonymous
9/14/2025, 5:59:03 PM
No.106584750
[Report]
>>106584791
>>106584721
It was indeed a mistake coming here with a rare problem. For future reference you should have said "huh that's odd, must be something with your browser fork that doesn't follow the javascript standard" instead of calling me a retarded faggot.
>>106584731
it doesn't work you dumb scriptkiddie.
Anonymous
9/14/2025, 5:59:45 PM
No.106584754
[Report]
>>106584702
Regardless of whether you're young or old, you should RTFM
Anonymous
9/14/2025, 6:02:05 PM
No.106584791
[Report]
>>106584750
last chance, tell my why "it doesn't work"
Anonymous
9/14/2025, 6:05:00 PM
No.106584820
[Report]
>>106584594
Works on my sv-se machine
quit using a fag browser
Anonymous
9/14/2025, 7:27:37 PM
No.106585704
[Report]
>>106585794
Webdev is impossible without vyvanse
>>106585704
Personally I hate Big Pharma and I don't want to take their mind-altering substances
Anonymous
9/14/2025, 7:43:20 PM
No.106585861
[Report]
>>106548741
>That 14kB includes compression — so it could actually be more like ~50kB of uncompressed data
there is literally no reason a regular website should be over 50 KB
Anonymous
9/14/2025, 8:09:23 PM
No.106586089
[Report]
>>106586320
Anonymous
9/14/2025, 8:25:12 PM
No.106586235
[Report]
>>106587411
>WebGPU has been available in Google Chrome since 2023, and is expected to be available in Safari 26 this fall.
>
>Although Firefox 141 enables WebGPU only on Windows, we plan to ship WebGPU on Mac and Linux in the coming months, and finally on Android.
Welp, time to forget everything and start over again so your browser can mine crypto faster
Anonymous
9/14/2025, 8:34:47 PM
No.106586320
[Report]
>>106586680
>>106586089
Surely I would be a "good goy" if I did take Big Pharma substances. I'm saying I don't want to take those substances.
Anonymous
9/14/2025, 8:42:42 PM
No.106586394
[Report]
>>106593567
>>106585794
>Personally I hate Big Pharma
as you should, only retards get hooked on that poison
Anonymous
9/14/2025, 9:18:51 PM
No.106586680
[Report]
>>106586693
>>106586320
I wouldn't have been able to come this far without THREMBO COMBO
I'm lucky I got to the fun part as everything prior has been a fucking grind.
Anonymous
9/14/2025, 9:20:33 PM
No.106586693
[Report]
>>106586680
Cause they're cutting me off I think. I only have like 20 pills left to get me started on gamedev so I'm saving them for after the webdev project is finished and I can move onto the next.
Anonymous
9/14/2025, 10:51:55 PM
No.106587411
[Report]
>>106587468
>>106586235
What's the difference between this and WebGL
Anonymous
9/14/2025, 10:58:21 PM
No.106587468
[Report]
>>106592258
>>106587411
Support for DX12 , Vulkan, Metal, and future expansion
Anonymous
9/14/2025, 11:59:43 PM
No.106588006
[Report]
Great talk about Go:
https://www.youtube.com/watch?v=4hxKEbWO5u0
Go is the best language for web dev.
i need to take an ios development course for my job but i only have and old 2012 macbook pro. i tried using the openwhatever legacy patcher but it just doesnt want to work so im stuck with catalina and xcode12/swift 5. am i losing a lot of features? it's just for a course for now, probably some basic ui prototyping and whatnot, considering the last course i had to take was about flutter and it was pretty much just making a small app. they want me to come to the office to lend me a newer macbook but im too lazy to go so id rather use the one i have now
Anonymous
9/15/2025, 4:17:54 AM
No.106589857
[Report]
>>106588437
>too lazy to go so id rather use the one i have now
This is a (You) problem, I'd take the extra time to get the company laptop so I don't have to deal with constant bullshit.
Anonymous
9/15/2025, 5:20:18 AM
No.106590157
[Report]
>>106544071 (OP)
shit need to learn spring in speedrun mode but every course I see is like 30 hours long.. is this shit really that complicated?
Anonymous
9/15/2025, 6:46:16 AM
No.106590632
[Report]
Anonymous
9/15/2025, 8:03:13 AM
No.106591024
[Report]
>>106590981
The way things used to be, before "everyone" became blind
Anonymous
9/15/2025, 10:11:02 AM
No.106591619
[Report]
>>106590981
webgl based uis
Anonymous
9/15/2025, 10:13:12 AM
No.106591630
[Report]
>>106590981
the elefant in the room is SEO, otherwise it'd be "the way"
Anonymous
9/15/2025, 12:27:41 PM
No.106592258
[Report]
>>106592420
>>106587468
I see. Personally I have no experience with either. I tried Three.js briefly and I'd be interested to try it again but I don't think I can justify spending time on it
Anonymous
9/15/2025, 12:51:44 PM
No.106592420
[Report]
>>106592258
It really just means that more CPU code can be moved to the GPU.
...and that programmers will have to learn the new api and shader language
>>106578091
>No. First connection is either HTTP/1.1 or HTTP/2.
That means that the 14kB rule still holds for HTTP/3 though.
Anonymous
9/15/2025, 3:01:41 PM
No.106593378
[Report]
>>106594441
>>106592686
I'll bite, what kind of thing would you liad in that weight, can it even have images or semi complex css gradients?
Anonymous
9/15/2025, 3:03:52 PM
No.106593406
[Report]
What have you done to get a substantial raise? I replaced everyone’s need for mailing services like mailchimp and whatever else that costs 100x more than its worth but looking for more ideas.
Anonymous
9/15/2025, 3:07:41 PM
No.106593437
[Report]
>>106576970
Made me laugh harder than I should have
Anonymous
9/15/2025, 3:19:26 PM
No.106593519
[Report]
>>106594441
>>106577004
>first connection to a server is never HTTP/3 anyway.
>>106578091
Orange reddit had a thread up where it said you can configure DNS to say youre server supports HTTP3 so the client can start with HTTP3
https://news.ycombinator.com/item?id=45236444
>>106585794
>>106586394
That sounds very noble and all, but some of us weren't lucky enough to have a suitable education when growing up and cannot reliably activate the reward circuit needed to keep doing this type of work, despite being intellectually engaged in it. Without Big Pharma, I'd either be compensating for this particular inefficiency with illicit substances, or have to abandon my career altogether.
Anonymous
9/15/2025, 3:28:13 PM
No.106593596
[Report]
>>106593567
Fair enough, if you find them helpful that's fine. I would rather avoid mind altering drugs if I can, but yes sometimes they might be genuinely helpful.
Anonymous
9/15/2025, 3:57:54 PM
No.106593846
[Report]
>>106594534
I will NOT use webp.
Anonymous
9/15/2025, 4:17:41 PM
No.106594011
[Report]
>>106594173
>>106593567
sounds like a shitty excuse, if I can do it so can you, these people are beyond evil
>>106594011
>sounds like a shitty excuse
I know, it's what I've been told all my life.
>if I can do it so can you
Just like if I can stay under 10% body fat by consuming 4000kcal a day for 6 months, so can you, right? Our brains and bodies are all the same anyway, we just need to do the exact same things as everyone else, right?
>these people are beyond evil
I buy Indian brand pills off darkweb. They benefit my life. That's the extent of my caring about some "evil".
>>106578091
Really? I thought one of the goals of HTTP/3 was to get rid of TCP altogether. It must be a stop-gap measure while HTTP/3/QUIC support isn't near-universal.
Anonymous
9/15/2025, 4:48:52 PM
No.106594308
[Report]
>>106594383
Can I code with one arm?
I'm about to have surgery for the staged accident where gangstalkers blew a stop sign and totaled my car
Anonymous
9/15/2025, 4:52:12 PM
No.106594337
[Report]
>>106594173
idk man, as the old meme saying goes, bite more than you can chew then chew it, if I told you something else I'd be lying, I had to grind too, like crazy
Anonymous
9/15/2025, 4:58:38 PM
No.106594383
[Report]
>>106594308
Answer your own question
>>106577084
>>106592686
>>106593519
>>106594173
I'm a tard. Just checked with Google and some Cloudflare protected sites.
HTTP/3 works for first connection.
It's my Caddy2 servers who answer in HTTP/2 and then upgrade to HTTP/3.
>>106593378
Google homepage is 52 KiB after compression, those 14 KiB should be for FCP, then you load the rest dynamically.
Anonymous
9/15/2025, 5:11:42 PM
No.106594476
[Report]
>>106594441
I was gonna say. Making HTTP/3 default to an older version for the initial connection would go directly against one of its main selling points.
Anonymous
9/15/2025, 5:19:02 PM
No.106594534
[Report]
>>106594608
>>106593846
Whta will you use instead?
Anonymous
9/15/2025, 5:23:58 PM
No.106594580
[Report]
>>106594441
google page and results are extremely minimalist, unlike pretty much any other website
Anonymous
9/15/2025, 5:26:20 PM
No.106594608
[Report]
>>106594715
>>106594534
Macromedia Flash Player
Anonymous
9/15/2025, 5:29:23 PM
No.106594628
[Report]
>>106595355
>>106594441
>HTTP/3 works for first connection.
Yes. It seems to be the case for Google at least.
>It's my Caddy2 servers who answer in HTTP/2 and then upgrade to HTTP/3.
Do you know how you get it to answer in HTTP/3 for the first connection?
But it seems like QUIC, which is used in HTTP/3, still recommends the 14kB rule.
https://datatracker.ietf.org/doc/id/draft-ietf-quic-recovery-26.html#section-b.1-2.2
Anonymous
9/15/2025, 5:39:31 PM
No.106594715
[Report]
>>106590981
draggable elements too
>>106594765
You gotta fix the dampening brah
Anonymous
9/15/2025, 5:53:10 PM
No.106594841
[Report]
>>106594887
>>106594765
impressive, how did u get there? that's a path most webdevs will never touch
Anonymous
9/15/2025, 5:56:01 PM
No.106594871
[Report]
>>106594880
>>106544071 (OP)
what are callbacks used for in the real world, just starting to learn about them and struggling
Anonymous
9/15/2025, 5:57:42 PM
No.106594880
[Report]
>>106594885
>>106594871
It's treating functions as variables.
Anonymous
9/15/2025, 5:58:36 PM
No.106594885
[Report]
>>106594894
>>106594880
when is that useful/used?
Anonymous
9/15/2025, 5:58:40 PM
No.106594887
[Report]
>>106596099
>>106594837
yeah, I switched from a geometric solution to pure 'physics' which has made it worse, but quicker resolve for overlap. I'll see about some kind of sort of zone re-centering or force amortization.
>>106594841
I started with canvas games. One interesting thing about this bubble thing is that the check for click is pixel color based which means it's something more like O(1) for any number of buttons and resolves Z-fighting visually with the user.
Here's my games:
https://pricklypeargames.itch.io/
Anonymous
9/15/2025, 5:59:27 PM
No.106594894
[Report]
>>106594919
>>106594885
Whenever you want to customize what happens without editing some else's code
>>106594894
that makes sense
Anonymous
9/15/2025, 6:04:48 PM
No.106594941
[Report]
>>106595046
>>106594919
The most common being Buttons.
The browser will call the function you supplied as a callback when one is clicked. Imagine if websites couldn't decide what happens when a button is clicked
Anonymous
9/15/2025, 6:16:28 PM
No.106595046
[Report]
>>106595080
>>106594919 >>106594941
someButtonElement.addEventListener( // I "call" the inbuilt addEventListener function
"click", // I supply two arguments to its parameters
jumpscare // I supply a function that addEventListener can call when something happens.
);
// Nothing happens until the browser calls me back.
function jumpscare() {
window.alert("Boo!"); // I scare the user with a popup
}
Anonymous
9/15/2025, 6:20:01 PM
No.106595080
[Report]
>>106595313
>>106595046
I've used this a million times, funny how that goes
chatgpt was giving me an example for "events" which click is, I'll try to dig more into this, sounds interesting
Anonymous
9/15/2025, 6:21:31 PM
No.106595097
[Report]
>>106595119
>>106584313
its because if they did what youre asking. thats harder on the cache and network.
they need to generate basically 2x as many images and thumbs as you see right now.
from your point of view it is a bad experience.
from their point of view its saving fractions of compute.
Anonymous
9/15/2025, 6:23:41 PM
No.106595119
[Report]
>>106597174
>>106595097
>they need to generate basically 2x as many images and thumbs as you see right now.
also that'd be dumb because consider that you just click the first result that you see
Anonymous
9/15/2025, 6:45:30 PM
No.106595313
[Report]
>>106595080
There's a lot of needlessly complex jargon for simple concepts. Fuckin' design patterns
Anonymous
9/15/2025, 6:49:45 PM
No.106595355
[Report]
>>106594628
>Do you know how you get it to answer in HTTP/3 for the first connection?
No, but I'll investigate once I'll have the time. I bet that it's because I haven't upgraded those Caddy binaries in 3 years.
>But it seems like QUIC, which is used in HTTP/3, still recommends the 14kB rule.
>https://datatracker.ietf.org/doc/id/draft-ietf-quic-recovery-26.html#section-b.1-2.2
I still don't understand why they use the 10 packets rule for QUIC.
It was used in TCP since HTTP/1.1 for a reasonable middleground between initial speed and reliability.
Since QUIC uses UDP, it could be sending all the packets in one go and then requesting the missing ones.
>>106594887
THIS NIGGA USING A NON MONO-SPACE FONT IN HIS IDE
>>106594837
I think I came up with an even better solution, I put a toggle in a pointermove event and it sets up main to run based on how much you move the mouse. Now you can cleanly move in bursts which makes the processing way less too because main just waits for the boolean and toggles it back.
>>106596099
Oh yes
Anonymous
9/15/2025, 9:04:39 PM
No.106596630
[Report]
>>106596695
>>106596572
>an even better solution
This is /agdg/ levels of delusion
Anonymous
9/15/2025, 9:11:08 PM
No.106596695
[Report]
>>106596630
it is interesting you would say that, but it doesn't address any kind of problem with the design and since you can't put any reasoning for any kind of argument forward I know that I'm right.
To a more direct refutation; I can still do a damping fix, but this also provides an enormous performance boost when idle.
Anonymous
9/15/2025, 9:14:33 PM
No.106596721
[Report]
>>106596749
Anonymous
9/15/2025, 9:17:48 PM
No.106596749
[Report]
>>106596721
decreased informational density and harder to read, but thank you for the suggestion.
Anonymous
9/15/2025, 9:26:25 PM
No.106596818
[Report]
>comic sans
>tacit confirmation
>>106596099
that's no nigga, it's a lost boy
Anonymous
9/15/2025, 9:39:19 PM
No.106596944
[Report]
>>106566589
same but as an older fart
PHP, AJAX, Vanilla JS, jQuery, then the horrors of Angular 1 then 2 and now diving into React I'm just numb to boilerplate hell, 1000 modules, and the fact that JS eats away all your foundations of good design
Anonymous
9/15/2025, 10:02:51 PM
No.106597174
[Report]
>>106595119
>also that'd be dumb because consider that you just click the first result that you see
also also, its loading up in the background, the video preview (with audio) of each of these videos. so that when u mouse over them all one by one they can quickly show the vid
Anonymous
9/15/2025, 10:05:42 PM
No.106597207
[Report]
>be first dev hire
>get friend hired year later
>he got hired at more than me for some reason
>find out everyone is paid more
>after a few years of percent based raises they all make like 8k more than me yearly.
I have an interview for a second job on wednesday.