6,826 karma · joined Apr 19, 2017 (9y ago) · 1,859 submissions
comment 6mo ago · link · parent
A macro like (logged-fn) that defines a function which logs the arguments passed, is wonderful.
But if you see a macro like (validate-report), something very wrong happened.
comment 6mo ago · link · parent
comment 6mo ago · link · parent
I echo the parent commenter - the STL has a massive negative impact on compile times. And for what? The STL is not even fast. The way the standards are written, std::unordered_map has to be implemented as a tree rather than a flat open-addressing hashtable, which would've been far superior due to cache locality.
For my own project I rolled my own string, string_view, map, set, optional, variant, and vector. Only took maybe a day. And that day has paid dividends, as my clean debug builds literally take 3 seconds now.
comment 6mo ago · link · parent
Heh. This could have been written 25 years ago.
Though at least back then, Microsoft was winning. Since then, the market share of IE/Edge has become so irrelevant that most people have stopped caring so much about these tactics.
At this point, it mostly just comes across as adorable when Windows tries to push you to use Edge. Like "wow, they're still trying."
comment 6mo ago · link · parent
This isn't a project to eliminate all mosquitos. There are over 3600 species of mosquito - this project is only targeting one: Aedes aegypti, which spreads many diseases, and is in fact an invasive species. Anywhere you see an Aedes aegypti outside of North Africa, it was humans who brought it there in the first place. This project is just trying to undo that.
comment 6mo ago · link · parent
comment 6mo ago · link · parent
Some people (most people?) are perfectly happy with just working a stable job within a giant corporation. Either because they are capable of still finding fulfillment from work despite not having so much control (the kind of control that people who start businesses tend to crave), and/or because they find their fulfillment outside of work entirely.
comment 6mo ago · link · parent
And fuel burn is the least of the concerns when it comes to weight - a far bigger issue is how it affects balance and engine lift. But on a plane the size of a jet airliner, this too is almost never a real concern when it comes to passenger weight - a standard weight is just assumed for each passenger and their carryon. (It's a concern for cargo weight, but that's why cargo is always weighed and balanced properly.)
Maybe if the airline notices that all the passengers are sitting on the left (for some strange reason) or something like that, they would reseat people.
comment 6mo ago · link · parent
And that's also entirely orthogonal to hardware - the hardware battle between ARM Mac and ARM PC is really a battle between Apple and Qualcomm (Apple won).
In hindsight, rather than relying on Snapdragon, Microsoft should have started designing their own high-efficiency ARM SoCs 15 years ago like Apple did. But I mean, everything is clear in hindsight isn't it.
comment 6mo ago · link · parent
Eh, it sounds unintuitive, but in practice it's extremely common. Almost every first-person shooter (well, you could really expand that to "almost every competitive multiplayer game") made by major studios is either a one-time purchase or entirely free. The ongoing revenue comes from cosmetics and other in-game goodies.
This sort of economy makes sense when you consider consoles (especially back in the day), where it's easy to get people to buy a disc but hard to get people to sign up for a subscription.
comment 6mo ago · link · parent
comment 6mo ago · link · parent
comment 6mo ago · link · parent
Also, you've cut out the part where he says he did use AI, but just to "resort" the article (by which I assume he means "reorganize"). Whether one believes that is gonna be a judgment call I suppose.
comment 6mo ago · link · parent
This is the entire premise of the concept of "vibe coding", and the concept of non-programmers using coding agents. The idea that there aren't large amounts of people and companies doing these things and/or who consider it "the future" is hard to argue.
comment 6mo ago · link · parent
That is to say - it's entirely possible to have a design that a layperson looks at and goes "wow that's beautiful", and then A/B test it in the real world and your revenue goes down X% because (for example) certain important sections now require more clicks to access.
Or to use a real-world example - you could redesign a train station and make it more beautiful while also increasing the amount of people who get lost because it's now more difficult for some people with poor eyesight to find the right track.
comment 6mo ago · link · parent
That's why treating colloquial concepts like "pinning" as though they are rules in and of themselves is not really precise or productive.