News for hackers. Stuff that matters.
Re:Hard disk LEDs and noisy machines by Dalewyn on Friday January 05, 2024 @03:57PM (#38884843)
Programmers don't (can't?) dog food[1] their code because their development machines are Intel Xeon or AMD Threadripper monstrosities with abominable GPUs to match.

Most apparent are the web programmers, most of them assume everyone has 10gbit fiber connections with 16 core CPUs and 128GB of RAM to feed to Chrome. And then they wonder why their shit runs like shit in the real world.

[1]: https://en.wikipedia.org/wiki/Eating_your_own_dog_food

Re:Hard disk LEDs and noisy machines by JohnFen on Friday January 05, 2024 @04:18PM (#38885079)
> their development machines are Intel Xeon or AMD Threadripper monstrosities with abominable GPUs to match.

Not all developers. In my entire career, I've never had a development system that was better than the average consumer machine. And, honestly, I wouldn't want one that was, for the exact reasons you state.

Re:Hard disk LEDs and noisy machines by nneonneo on Friday January 05, 2024 @04:23PM (#38885151)
Are you certain about that? I’d wager that the average (median?) consumer machine these days is a a smartphone, and not an especially high-end one at that.
Re:Hard disk LEDs and noisy machines by JohnFen on Friday January 05, 2024 @04:30PM (#38885234)
Yes, I'm sure. I'm not counting smartphones in this at all, though, because I don't develop apps for smartphones anymore (it's not a market that interests me). By "average machine", I meant a budget laptop or tower.
Re:Hard disk LEDs and noisy machines by I_am_uncreative on Friday January 05, 2024 @11:44PM (#38888501)
Yes, but if you need to compile something, isn't it nice to have those threads?
Re:Hard disk LEDs and noisy machines by swiftcoder on Saturday January 06, 2024 @03:22AM (#38889609)
If your software takes that much resources to compile, you may already be on the wrong end of this equation
Re:Hard disk LEDs and noisy machines by Dylan16807 on Sunday January 07, 2024 @04:54AM (#38899910)
That's a very weak "may". Different languages and compilers vary in speed by orders of magnitude, when fed similar code with similar running speed.
Re:Hard disk LEDs and noisy machines by JohnFen on Saturday January 06, 2024 @09:39AM (#38891760)
I've never been terribly bothered by compile times in general. 90% of my work is with compiled languages, and (in most languages) incremental compilation does a great job of keeping compile times low. Even for large projects on slow machines, I rarely see compile times exceed even a minute. More usually, compiling just takes a few seconds.

Sure, you do occasionally need to do a full recompile, and if the project is very large then this can take a nontrivial amount of time, but that doesn't really happen often enough for me to be bothered about.

If the project is of really significant size, or if the compiler/language/code structure is such that incremental compilation can't give you significant gains (or isn't even possible), you may need more grunt of course.

Re:Hard disk LEDs and noisy machines by twisteriffic on Friday January 05, 2024 @05:53PM (#38886161)
> Most apparent are the web programmers, most of them assume everyone has 10gbit fiber connections with 16 core CPUs and 128GB of RAM to feed to Chrome

Facebook marketplace. I don't know how you can make a grid of images max out a 5800x, but they've managed it. A markedly inferior product to every one of the classified ad competitors they've squashed out of existence.

Re:Hard disk LEDs and noisy machines by matthewfcarlson on Friday January 05, 2024 @09:55PM (#38887915)
That is one advantage of being a firmware engineer. In my case, this code runs on exactly one machine (usually) so whatever performance I get is very indicative of what the customer experience is like. My dev machines are usually just unfused versions of whatever hardware I'm working on.
Re:Hard disk LEDs and noisy machines by oefrha on Saturday January 06, 2024 @02:12AM (#38889226)
Programmers developing webshits should really be forced to add 200ms to all their roundtrips. It’s worrying how many people assume everyone is 20ms from their “edge”, and openly advocate on HN for “new” technology that requires a roundtrip on every single state change, unwinding twenty years of client side advancements.
Re:Hard disk LEDs and noisy machines by ehnto on Saturday January 06, 2024 @03:34AM (#38889670)
As someome who doesn't live in the US I appreciate the nod. Unless the company has edges in the southern hemisphere, every single widget has a round trip of 2-300ms. Something like Jira with it's cascading react components was a jumbling absurd mess until all the roundtrips completed, which could take 10+ seconds. A liftime from a UX perspective.
Re:Hard disk LEDs and noisy machines by xp84 on Saturday January 06, 2024 @10:04AM (#38891976)
Funny to have issues with Jira in the southern hemisphere since they're Australian, you'd think they would have figured that issue out.