Another older blog post saying the same: https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction
AirBreather
Public Key Fingerprint: 0x7FFAE9D0 7D64C571 8DB0297E AD51C258 0E479CD4
- 0 Posts
- 9 Comments
Combining the suggestions from 1 and 3 is where things fall apart for me. If the statute does not specify what objective standards must be met in order for someone to be eligible to vote, then the ruling party gets to decide on their own.
Maybe the next updates to the standardized test just “accidentally” favor the ruling party.
Some questions to challenge your proposal:
- What test, specifically, do we implement to tell whether or not someone “know[s] the most basic of facts”?
- How do we make sure that this test is kept up-to-date as information changes?
- Who administers this test?
- When is the test administered?
No matter how I try to answer these questions in a way that’s consistent with reality, all my ideas dead-end at outcomes that suck and only get worse over time.
AirBreather@lemmy.worldto Programmer Humor@lemmy.ml•My debugging experience today: Quantum Debugging17·8 months agoThe term is Heisenbug
AirBreather@lemmy.worldto Mildly Infuriating@lemmy.world•The LLM (Mistral) randomly started speaking spanishEnglish5·9 months agoTheir main site – not generated by the LLM – has buttons for “Try le Chat” and “Build on la Platforme” even though I’ve got the British flag selected for language.
That’s because “le Chat” and “la Plateforme” are their language-neutral marketing names for their products.
Sort of like how “GM” is still the name of the car company in like France even though it stands for “General Motors” which is an English term.
AirBreather@lemmy.worldto Programming@programming.dev•[History] An editor letter by Edsger Dijkstra, titled: "go to statements considered harmful" (march 1968).4·1 year agoTo be fair,
await
is a bit more likecomefrom
, and it’s been around for a few releases now.
AirBreather@lemmy.worldto Programmer Humor@programming.dev•Your scrunglebop is disponscabulated23·1 year agoRockwell Retro Encabulator: https://youtu.be/RXJKdh1KZ0w
you cant say it doesnt do exactly what you want.
As someone (a different guy than whom you’re replying to) who has primarily used Linux-based systems in personal settings for about 15 years or so, I can and will say that.
For the most part, Linux-based systems tend to do exactly what you tell them to do. Whether or not this is exactly what you want, however, is a slightly different point.
These are fun rabbit holes to go down. Everything here is true, of course: Big-O complexity isn’t everything, context always matters, and measurements trump guesses.
But also, how many times have you encountered a performance problem with a slow O(n) solution that you solved by turning it into a fast O(n²) solution, compared to the other way around? The difference between 721ns and 72.1ns is almost always irrelevant (and is irrelevant if it’s not on a hot path), and in all likelihood, the same can be said at n=500 (even 500x these numbers still doesn’t even reach 0.5ms).
So unless context tells me that I have a good reason to think otherwise, I’m writing the one that uses a hash-based collection. As the codebase evolves in the future and the same bits of code are used in novel situations, I am much less likely to regret leaving microseconds on the table at small input sizes than to regret leaving milliseconds or seconds on the table at large input sizes.
As a trained practicioner of “the deeper magics” myself, I feel the need to point out that there’s a reason why we call these types of things “the deeper magics”, and that’s because heuristics like “better Big-O means better performance” generally point you in the right direction when it matters, and the wrong direction when it doesn’t matter.