Programming thread

  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account
My gripe is the header checking being so damn slow.
To be fair, that's because behind the scenes, many of the tests involve autotools generating a minimal C translation unit, and literally testing if stuff compiles/works
 
At this point just have a single <canvas> tag for a website and then just write your own layout renderer (in WASM of course)

STOP GIVING THEM IDEAS

(If it's not obvious why this is a bad idea akshully, not letting text just be text on a web page means it's "invisible" to accessibility tools like screen readers and braille displays, any sort of SEO is out the window because search engine bots just see an empty web page, and the user wouldn't be able to do things like copy-paste text (already other ways that shitty web sites try to block this, but anyway), use browser-based translation or dictionary tools, and so on, plus you'd probably have to do things like reimplement scrolling (which, again, is something shitty web sites already try to do) and other stuff that OSes and browsers have been doing for us for free for decades. All the same problems existed when we were making web sites that were just huge Flash apps on a single page, but we seemingly never fucking learn a single goddamn thing in this industry about improving UX now do we.)
 
STOP GIVING THEM IDEAS

(If it's not obvious why this is a bad idea akshully, not letting text just be text on a web page means it's "invisible" to accessibility tools like screen readers and braille displays, any sort of SEO is out the window because search engine bots just see an empty web page, and the user wouldn't be able to do things like copy-paste text (already other ways that shitty web sites try to block this, but anyway), use browser-based translation or dictionary tools, and so on, plus you'd probably have to do things like reimplement scrolling (which, again, is something shitty web sites already try to do) and other stuff that OSes and browsers have been doing for us for free for decades. All the same problems existed when we were making web sites that were just huge Flash apps on a single page, but we seemingly never fucking learn a single goddamn thing in this industry about improving UX now do we.)
Nobody cares about accessibility in the first place, SEO is niggercattle shit and is a good reason why the internet is trash today, implementing copy paste is not hard, implementing scrolling is not hard, browsers do not give you anything "for free" because everything they do is abysmal trash and lastly nothing in browsers I've seen I would consider "good UX" because everything in browsers is janky as hell and so wildly out of your control.

Besides, do you think just because we have something now that means we can never do anything new again? Do you know how features get added to anything to better support what people are doing? It's by people actually implementing things in ways that require it, but I guess instead we should just kill all innovation, accept we can't write a GUI (retarded) and submit to our jeet overlords at Google and help them maintain a market share by locking ourselves to web browsers to the end of time, if only you could develop software in such a way where you're able to build it to run in and out of web browsers (you can and I'm not even talking about electron I mean actual native executables). Programming is full of people with opinions that amount to "don't do anything you don't know how to do right now" and "just make everything in web browsers for eternity" and it's so fucking gay and retarded.
 
SEO is niggercattle shit and is a good reason why the internet is trash today

Your post is pretty retarded to the point it's not really worth replying to but I'll address this part because it's the part a non-retard is most likely to agree with. When I mentioned SEO I didn't mean it in the "top ten hacks to get your link to the first page of a Google SERP, saar" sense, but in the more broad "make your shit findable" sense. If you're publishing your web page to influence and/or educate people then you want people to be able to find it when they're searching for terms related to the topic you're discussing. If you really were to hide the content of your page inside a canvas, the search engine bots won't have much to go by when they try to index that page. Sure, there's still the title and maybe some keyword metatags, but those are nowhere near as valuable as just a page full of text, and thus full of content and context.
 
Tab completion + enter on names posts. Amazing. Speaking of web junk.
--

everything in browsers is janky as hell and so wildly out of your control.
You are talking past the point how realistically you really really shouldn't do that for anything beyond a shitpost because it won't work out in practice, but I hear angry noises directed at the webstack and I have to nod.
 
Last edited:
not letting text just be text on a web page means it's "invisible" to accessibility tools like screen readers
That's not a problem, we can just run every website through OCR like they do for PDFs.

plus you'd probably have to do things like reimplement scrolling
Can you not specify the canvas size? Surely the browser will handle the scrolling if the canvas is taller than the viewport, right?

If you're publishing your web page to influence and/or educate people then you want people to be able to find it when they're searching for terms related to the topic you're discussing. If you really were to hide the content of your page inside a canvas, the search engine bots won't have much to go by when they try to index that page.
But then those AI scrapers won't be able to steal the content either, and if I only advertise my site on bluesky then that will also keep out the internet meanies!

All the same problems existed when we were making web sites that were just huge Flash apps on a single page, but we seemingly never fucking learn a single goddamn thing in this industry about improving UX now do we.
Alas, hiring competent developers is more expensive, and most people can't tell (or don't care for) the difference between quality and slop.

Perhaps we need a "quality web development" thread?
 
At this point just have a single <canvas> tag for a website and then just write your own layout renderer (in WASM of course)

So it's not quite the same but I saw some videos about "HTML in canvas" making the rounds on the usual places. I'll spare you those low-info demos and link you to the spec because this is a real thing: https://github.com/WICG/html-in-canvas

Basically, you add an attribute to a <canvas> tag, then dump some HTML/standard browser DOM tags under that <canvas> and the browser renders them as normal, including interactive form elements and CSS styling, but you can also use standard canvas 2D and 3D contexts to draw on top of them or give them effects and stuff. Currently only supported by Chromium and buried under a flag.

Not a terrible idea I guess, but unless and until it catches on there's still going to be all the same accessibility and SEO concerns because a lot if not most of these tools are still just going to see a <canvas> tag and skip over it.

Personally, if you wanted a DOM you can draw on, well, we already have SVG, so I think an extension to SVG that let you put standard browser elements into its DOM (including <canvas> if you wanted to) might have made more sense and maybe let you get further in the drawing and effects you could do before you had to start dealing with bitmaps. But what do I know.
 
Last edited:
Are you still one of those old farts who writes C or C++ and feel like you've been missing out on all the supply chain vulnerabilities of modern programming languages?

Don't worry, randerson112 has created a cargo-like package manager for C/C++, so now you craft add --git soypackage or craft update and get immediately pwned like the cool kids do.
it just generates CMakeLists.txt lmao
 
For anyone working at FANNG or whatever the gay acronym is now how bad are h1bs are they as wide spread as the memes say they are and do you have any horror stories
I don't work at FAANG, but still at pretty massive international company. It's EU, but I will take an opportunity to vent regardless.

JEETS are almost everywhere, and they indeed form their own inner casts, and protect each other.
I used to work under jeet manager that protected indian vibecoders and tried to hire as many of them as possible, where as we eastern euros were used to make sure it works somehow. With jeets being our "seniors", lol.

They love AI a lot. We had some functions that something like 10 levels of nested if and fors with single letter variables like k/v.
Given recent claude leaks I guess it was just vibecoded. I hope so tbh, as level of brain damage you would need to create it by hand and not thinking maybe, just maybe, there's a better way is scary.

Moreover you can't get them to admit anything, like really, they will keep saying "yes", laughing, agreeing, and then doing nothing you agreed upon.
Other than that I had a post earlier describing them using eval in python to convert string fetched from database to integer.

Working with jeets is experience for sure.
 
I don't work at FAANG, but still at pretty massive international company. It's EU, but I will take an opportunity to vent regardless.

JEETS are almost everywhere, and they indeed form their own inner casts, and protect each other.
I used to work under jeet manager that protected indian vibecoders and tried to hire as many of them as possible, where as we eastern euros were used to make sure it works somehow. With jeets being our "seniors", lol.

They love AI a lot. We had some functions that something like 10 levels of nested if and fors with single letter variables like k/v.
Given recent claude leaks I guess it was just vibecoded. I hope so tbh, as level of brain damage you would need to create it by hand and not thinking maybe, just maybe, there's a better way is scary.

Moreover you can't get them to admit anything, like really, they will keep saying "yes", laughing, agreeing, and then doing nothing you agreed upon.
Other than that I had a post earlier describing them using eval in python to convert string fetched from database to integer.

Working with jeets is experience for sure.
Genuine question how come people at the top allow this shit. Don’t they know these h1b retards write shit code and also sell company technology to the highest bidder (I think Elon had groks code leaked by some h1b) I just think paying fewer better programmers would save them more money in the long run
 
For anyone working at FANNG or whatever the gay acronym is now how bad are h1bs are they as wide spread as the memes say they are and do you have any horror stories
I ALSO do not work at FAANG, but I'm currently a risk analyst for a bank. This is my 2nd job after college. I've had this job since October but I'm about to get fired. This is because my manager is an Indian woman who refused to train, help, or onboard me with anything and then shame me for my lack of knowledge. I'm all for learning things on my own but the effectiveness of this is greatly diminished with zero support. On top of that, she would use that as a justification to not assign me anything and then shame me for not doing anything. By December, we had weekly progress meetings where she'd re-confirm all of these to my face. I know I'm asking for a lot given that I work in data analytics, but I vow to never work for an Indian ever again. The caste system and izzat have irreparably fucked up the way they interact with others, especially ones who report to them.
 
Back
Top Bottom