This is view source on the Threads homepage. Modern front end development is beyond satire at this point. In desktop Firefox with out-of-the-box uBlock Origin, it renders a completely black page.

At some point, people will rediscover the unfashionable idea that plain old HTML is pretty good if your goal is publishing bits of text on the internet. Maybe after that, if they want to make it look nice, they could look into these exciting new Cascading Style Sheets we hear so much about.

@tommorris I love how the whole thing just sits there consuming CPU constantly
@steveworkman @tommorris ... why...why are the '/' chars in those urls escaped???
@tommorris politely going to pushback against the arguably eye-catching FUD: this is not “modern”; this is industrial. Modern frameworks like Astro see this problem and are doubling down on no-JS / low-JS by default. Facebook, Instagram, and Threads are obvious targets but I know vanishingly few leaders in the space would consider them paragons of web development.
@jpmartin @tommorris I would love to see any front-end focused job listings that don’t mention React and Vue
@trey @jpmartin @tommorris Just using React and Vue doesn't produce HTML output like this. Clearly Threads is using some wacky in-house framework that's generating all of this code in a compile step. Not saying it isn't bananas, but it's a stretch to say it's indicative of typical frontend programming.
@jaredwhite I mean, jus’ sayin’, React was a wacky in-house framework at one time. From the same house.
@jpmartin @tommorris I keep thinking about this post and how React feels so much like the large corporate legacy code you can't wait to get away from after work when you can finally work on the "fun" stuff.
@hbuchel @tommorris My coding life exactly. The thing is, I get it. React allows you to be crazy productive when everyone on the team is jamming on the same twisted wavelength. But when I turn to the side projects, the React-tinted glasses come off and I get to play with bespoke little jewels of HTML, CSS, and — as a treat — some sprinkles of JS.
@hbuchel @jpmartin @tommorris I used to love react (and even redux) for development when it was fairly immature, and you didn't have as much of an overbearing crush of supporting infrastructure (though TBF bundle size has always been a struggle in that ecosystem). It was certainly a damn sight better than Angular (which I never really liked) and jQuery.

I moved on to Next (react-based) and loved how simple it made a lot of things and some of the performance gains you got super easily. I moved on to Remix (also react-based) and loved how easy it made true progressive apps that could (mostly) work with no JS at all.

Now I am on to Svelte, and am loving how it gives me all of those benefits and is super tiny and fast at the same time. Until I heard about Svelte I kept saying that I hadn't seen anything better than React, if React was done right, which it often wasn't.

Every time it has seemed like the JS ecosystem was settling down something better has just had to come along and show us how bad that approach actually was. Maybe web 1.0 was closer to having it right. At least those pages still work and don't suck near as much as "modern"/"corporate" stuff. I see a lot of the ideals of it making their way back in to the newer things that actually get me excited enough to bother learning about them.
@terribleplan @jpmartin @tommorris This was nearly my exact progression as well! It's kind of a breathe of fresh air stepping back from it. I've also really enjoyed Svelte on a little side project of mine.
@tommorris What about performance ? Because code can be ugly, but if it loads and runs fasts, then it's better for the end user.
@spokeek plain html generally kicks the ass of SPAs in my experience
@tommorris for sure. But we love you be in a world of Javascript, modules, analytics. So outside of experts or blogs, I don't think we are going back to plain html files.
@tommorris @brianleroux lol i noticed this too but looking at it in phonehomechrome just shows a cheeky graphic and a prompt to download the app

@[email protected] and I felt bad when I made wafrn in angular my god


@tommorris It also blows my mind that any internet service deems it acceptable to not be usable through a web browser. It's like... they don't want to exist to anything but mobile toys.
@tommorris Jesus H. Farging Christ. Why on earth would a webpge require that many fricking scripts??? Is everything rendered through DOM manipulation or something????
@dragonarchitect @tommorris
Modern web development in a nutshell.
@dragonarchitect @tommorris Rendering everything through DOM manipulation has been the default for all SPAs for many years. Only recently people started using server-side rendering again using "meta-frameworks".
@peterwhaaat @dragonarchitect @tommorris
Sadly makes it easy to hide stuff behind paywalls.
@tommorris Imagine all the Apple CPU engineers thinking, “I worked nights and weekends so you could …”
@tommorris An absolutely insane amount script tags 
@tommorris So that's why I see a blank page. I just thought they haven't lanuched a website yet. 😆
@katiechan should work in other browsers. can't say I've bothered though.
@tommorris Yeah, I can see it when I've just opened it on standard Chrome. Was just looking to see if it's app only or is it desktop browser accessible.
@tommorris (ノಠ益ಠ)ノ彡┻━┻
@Two9A Your thread has been unrolled! You can view the full conversation at: https://threadtree.xyz/110672565276012625
Thread by [email protected] - Thread Tree

@tommorris only a few of those lines are actual scripts containing any code tho, and most of them are just plain JSONs that are probably read at runtime and auto-generated. It's not pretty, but production HTML is not really meant to be readable.
@tommorris @Meyerweb Do you remember when we could push online a whole one-page website by using less than 5 KB of HTML and 10 KB of CSS? Without any complicated JS frameworks, dependencies, countless bloated scripts and other cr*p? What's more, a human could instantly and easily read the HTML and CSS, learn from it, or modify it. I miss those times! :(
@tommorris
I'll wait until someone makes a web frontend like nitter
@tommorris 🤮 I love plain old HTML. This hurts 🤣😂
@tommorris hah! and I thought it was just over-subscribed.
@tommorris remember they have dedicated teams to obfuscate the code to make sure ads are indistinguishable from fascism.
@hub @tommorris
That is about the tastiest toot i've read for long.
Print on dibond and nail over main station entrance.
@tommorris now do me - find the JavaScript or web framework, I dare you 🤣 https://www.gadgetoid.com
Gadgetoid

Having the characteristics or form of a gadget, resembling a mechanical contivance or device.

Gadgetoid
@tommorris what surprises me most is that this is supposed to be clean stuff: we're talking about a brand new product, produced by one of the most powerful tech companies in the world, and all they can come up with is this pile of nonsense.
@tommorris
Whatever you do... Don't open the console  
@tommorris these javascript frameworks are fantastic for web applications, the problem is that the designer types have always had a terrible habit of making "beautiful" but also extremely slow and heavy sites. Some of whom found out you can earn more if you can "code", and given that javascript is easy to hack together even for the most code adverse......

@tommorris it's really insane what's happening with the web; Consent nonsense, IP blocks and bloatware.

Been on YouTube recently? It loads the page and all videos, then pops a consent form in your face, and whether you accept, or deny, the whole page loads again - with different videos 🤢

@tommorris

JFC, wot could go wrong with the mime type "application/Json".

Let me count the ways. 😅

One: https://infosec.exchange/@infosec_jcp/110650869915039242

@infosec_jcp 🆓🐦🐈🃏 done differently (@[email protected])

Attached: 1 image @[email protected] Obligatory Forensic ENV for analysis linky on the above ☣️. Enjoy and hope this helps 😉 https://www.virustotal.com/graph/embed/ga17f2f65343a475bb20d269b5d577619c1f5cf29c42642b9803b90b2e24bf765 @jerry Are you going to be one way InfosecExchange to ➡️ #P92 but not InfosecExchange 🚫⬅️ #P92? 🤔

Infosec Exchange
@tommorris I am 100% in agreement.
@tommorris Imagine a world where #Mastodon4 doesn't require JavaScript and 6 MB of resources to display 500 characters... https://github.com/mastodon/mastodon/issues/20336
Mastodon v4.0.0 web UI loads several MB in resources · Issue #20336 · mastodon/mastodon

Steps to reproduce the problem Open any user profile like https://mastodon.online/@pkrugman while logged out ... Expected behaviour The page should finish loading within a reasonable time Actual be...

GitHub

@tommorris
Jenseits von Satire, sagt er. Recht hat er.

[OT] Wann mobile View Source, #Mozilla?

@tommorris I've never even touched web development before, and even I can see this is horrid.
@tommorris 😂 As someone who teaches an HTML/CSS basics course in first year university, this makes me laugh cry. 😂
@tommorris It's stuff like this that make me feel like a centenarian dreaming about the "good ol' days".
@tommorris what homepage? No matter what all I get is this.
@i_lost_my_bagel @tommorris that’s what OP is talking about. Look closely. It is rendering every sphere in the background galaxy animation separately. You can even drag the camera around. The mobile version of their homepage doesn’t do that, it simply rotates a static image.
@tommorris the alt text for this needs to be more descriptive. What is the image showing that is worth including the image?
@itsthejoker yep, will have a look shortly at improving it.
@tommorris I mean, these *are* the masterminds behind React. Unsurprising.
@tommorris is this real? I wish I could try it already
@tommorris Images like these make me glad I'm still using LAMP