Live data from Hacker News

Software Disenchantment (2018)

tonsky.me

381–390 of 504 posts

Re: Software Disenchantment (2018)

#381
post #354

The linked Medium article (when talking about npm) was what I expected, but gives wonderful examples of just how bad it's gotten. For those who don't want to dig, one example was Ember.js, which has a dependency called "glimmer" which makes up ~95% of the code size. The author looked into glimmer and found that it had the entirety of the Encyclopedia of Britannica's "G" section to include a definition of "glimmer" in…

Not to burst your bubble but the linked Medium article you’re referring to is satire. Glimmer doesn’t actually pull in Britannica - it never has.

The sad state of affairs is that satire is dead and this guy fell for the bait. It doesn't even sound that ridiculous anymore.

Re: Software Disenchantment (2018)

#382
we all want simple, fast, small programs with clear objectives.

but:

- economic incentives do not align with common sense

- landscape is fragmented, continually evolving and unstable

- we are all posers. we all have opinions and morals, look at others and criticise, but when it comes to our own work we are just like anyone else. we need money to live, so we just go with the flow

Re: Software Disenchantment (2018)

#383

Excerpt: "An Android system with no apps takes up almost 6 GB. Just think for a second about how obscenely HUGE that number is. What’s in there, HD movies? I guess it’s basically code: kernel, drivers. Some string and resources too, sure, but those can’t be big. So, how many drivers do you need for a phone? Windows 95 was 30MB. Today we have web pages heavier than that! Windows 10 is 4GB, which is 133 times as big. B…

Mac OS Catalina ships with 2.1 GBs of desktop pictures https://mobile.twitter.com/dmitriid/status/11981966747301109...

Re: Software Disenchantment (2018)

#385
post #20

> Would you buy a car if it eats 100 liters per 100 kilometers? How about 1000 liters? I think the analogy here is backwards. The better question is "how much would you prioritize a car that used only 0.05 liters per 100km over one that used 0.5? What about one that used only 0.005L?". I'd say that at that point, other factors like comfort, performance, base price, etc. become (relatively) much more important. If bas…

> "how much would you prioritize a car that used only 0.05 liters per 100km over one that used 0.5? What about one that used only 0.005L?". I'd say that at that point, other factors like comfort, performance, base price, etc. become (relatively) much more important. I'll prioritize the 0.005L per 100km car for sure. That means the car can be driven for all its expected lifetime (500k km) in a single tank of gas, fill…

You are thinking too small, with a car generating power that cheaply you could use it to power a turbine and provide cheap electricity to the entire world. It would fix our energy needs for a very long time and it would usher a new age!

Re: Software Disenchantment (2018)

#386

Excerpt: "An Android system with no apps takes up almost 6 GB. Just think for a second about how obscenely HUGE that number is. What’s in there, HD movies? I guess it’s basically code: kernel, drivers. Some string and resources too, sure, but those can’t be big. So, how many drivers do you need for a phone? Windows 95 was 30MB. Today we have web pages heavier than that! Windows 10 is 4GB, which is 133 times as big. B…

Windows 10 is way richer than Win95 - there were countless big features added since 1995 (all enterprise and security features, backups, full disk encryption, ...), plus existing features got way more complex - multimonitor support, support of complex USB stack, GPU support etc. IIRC, out of the box Win95 didn't even have DirectX! Still, of course the total sum of changes does not justify the 133x size increase.

Re: Software Disenchantment (2018)

#387
post #349
post #8

I agree it's all slower and sucks. But I don't think it's solely a technical problem. 1/ What didn't seem to get mentioned was the speed to market. It's far worse to build the right thing no one wants, than to build the crappy thing that some people want a lot. As a result, it makes sense for people to leverage electron--but it has consequences for users down the line. 2/ Because we deal with orders of magnitude with…

The stuff I write I don't think is that bloated, but like most things these days the stuff I write pulls in a bunch of dependencies which in turn pulls in their own dependencies. The result, pretty bloated software. Writing performant, clean, pure software is super appealing as a developer, so why don't I do something about the bloated software I write? I think a big part of it is it's hard to see the direct benefit…

A good compromise would be to replace bloated modules with alternatives that are leaner and have fewer nested dependencies.

Re: Software Disenchantment (2018)

#388
post #308

Earlier quoted context omitted.

Yes both appear to be a disaster. Vuejs is a bit better imo but i'm generally holding out for the next thing.

... which is https://svelte.dev

More likely to be web components. Then you can use your web components in Svelte, React, Angular, Vue, etc projects.

Re: Software Disenchantment (2018)

#389
post #88
post #68

He has a nice follow up which gets to the reasons why https://tonsky.me/blog/good-times-weak-men/ Another take: rewrites and rehashes tend to be bad because they are not exciting for programmers. Everything you re about to write is predictable, nothing looks Clearly better and it just feels forced. First versions of anything are exciting, the possibilities are endless, and even if the choices along the path are subop…

He hints at Electron in the end, but I think the real blame lies on React which has become standard in the past five years. Nobody has any fucking idea what’s going on in their react projects . I work with incredibly bright people and not a single one can explain accurately what happens when you press a button. On the way to solving UI consistency it actually made it impossible for anyone to reason about what’s happe…

This doesn't seem unique to React projects. Can anyone explain what is happening under the hood in their Angular projects? How about Vue? It seems to be a failing of all major UI frameworks, lots of complexity is abstracted away.
Post reply on HN