Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chowells
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
331.
▲
by
chowells
3y ago
You should generate UUIDs on create requests not for some ideological purity, but for the API to be idempotent. When the network gets unreliable, idempotence + retries gives you effective exactly-once delivery.
332.
▲
by
chowells
3y ago
Hertz are really only appropriate for describing cyclical events. But by convention the units are just 1/s, so have fun abusing it.
333.
▲
by
chowells
3y ago
Dimensional analysis crimes are the best crimes. Express velocity in meter-hertz. It's wrong, but the units are right!
334.
▲
by
chowells
3y ago
Ok, but my credit unions all offer all those "other services" that I use without fees. Where is there room to compete with them on cost?
335.
▲
by
chowells
3y ago
Ah. You found Haskell hard because you were trying to learn it out of order. Demanding to understand what a monad is before learning how higher-order functions and higher-kinded polymorphism work in Haskell is like demanding to know what an
336.
▲
by
chowells
3y ago
Yeah, this is also wrong. If all you do is this, then if you have human empathy you'll be utterly miserable. You'll care about all the shit happening to other people, and the fact that you have managed to minimize the damage to yo
337.
▲
by
chowells
3y ago
You're sort of asking the wrong question. The choice wasn't whether Maybe should implement length. Instead, there were two independent choices: should Maybe implement Foldable, and should length be implemented in terms of Foldable
338.
▲
by
chowells
3y ago
But you see, this behavior is the result of uniformly doing the same thing. You're asking for it to have special cases. The signature "length :: Foldable f => f a -> Int" is pretty specific. The polymorphism is parame
339.
▲
by
chowells
3y ago
When I was a kid, lots of us learned to do a backflip off the swing without even bothering to stand up. It isn't that hard to just lean back at the apex, roll out of the seat, and land on your feet. I mean... It's not that hard wh
340.
▲
by
chowells
3y ago
This is one of those data structures with a misleading name. Throw out the hashing part. It's not part of the data structure, it's just one use case. When you do that, you discover that this structure is something between a trie a
341.
▲
by
chowells
3y ago
In this case, "the government" actually means "rich politicians who own businesses that like paying low wages."
342.
▲
by
chowells
3y ago
The ruling elite don't let their children eat school food in the first place.
343.
▲
by
chowells
3y ago
That sentence doesn't say what you think it says. It says "interventions to promote mask wearing". That's not mask wearing, it's telling people to wear masks. It is both true that wearing masks helps and that it
344.
▲
by
chowells
3y ago
Why is that a surprise? Every single text on the subject explains the joke eventually. It's the exact sort of high correlation GPT is good at finding.
345.
▲
by
chowells
3y ago
For what it's worth, I think a lot of the blurriness people are referring to with early LCDs is motion ghosting. It was terrible for several years, and it made anything in motion a blurry mess. I definitely remember early LCDs as blurr
346.
▲
by
chowells
3y ago
There are discrete phosphors that light up separately. They are not addressable discretely. They do not have the same count or density in every display. They provide an upper bound to how fast your display hardware can react to changes in t
347.
▲
by
chowells
3y ago
Eh. It's sort of true. While the screen has individual phosphors, they're not individually addressable. What is sent is an analog signal that indicates intensity (of a specific channel) at the current time. As an analog signal, it
348.
▲
by
chowells
3y ago
Why would it need to? Rust's borrow checker makes it a compile-time error to share a mutable array between threads. No need for run time synchronization.
349.
▲
by
chowells
3y ago
I definitely do not remember 800x600 as spacious and comfy. The best I could call it is "slightly better than 640x480". I had to get to 1024x768 before I actually felt like the screen was no longer cramped. And I had to get to 256
350.
▲
by
chowells
3y ago
No, it's not. It never claims advertising doesn't work. It claims that data-driven targeting is a scam on multiple levels. That isn't to say advertising doesn't work, just that "data-driven" doesn't improv
351.
▲
by
chowells
3y ago
Did you get a refund for your defective university education? Mine was incredibly educational, in the topics I studied. It's almost like you can learn immense amounts in higher education if that's your goal.
352.
▲
by
chowells
3y ago
What does it matter what I realize? I was explaining what anarchists believe, and why "you have rules!!!" is not some sort of clever gotcha. As an adult human, I'm fully capable of understanding beliefs without sharing them.
353.
▲
by
chowells
3y ago
Sounds like someone has no clue what anarchism is! Hint: it's not about rules, it's about hierarchy.
354.
▲
by
chowells
3y ago
This is very true. When I first heard The Darkness's I Believe In a Thing Called Love, I figured it was some track from the 80s I'd missed the first time around. There were a lot of those, after all. When I discovered how relative
355.
▲
by
chowells
3y ago
In a dynamic language, everything is only defined at runtime. Given that, a sketch of a statically-typed system would be something like... At the time a definition is added to the environment, you type check against known definitions. Fut
356.
▲
by
chowells
3y ago
I'm certainly disagreeing with the part that claims there is an explicit list of correct uses. English isn't that simple. They were cited as a big list of examples, not as having all the rules.
357.
▲
by
chowells
3y ago
Of course it's not incorrect to use Kyoto as an attributive noun. "Kyoto accent" is perfectly correct. The "rules" laid out in that link are more like common patterns, not prescriptions. Hard lines rarely happen in
358.
▲
by
chowells
3y ago
I was trying very hard to educate you without insulting you, but you're clearly resistant to that. Sorry.
359.
▲
by
chowells
3y ago
You would need another feature in addition: the ability to change the runtime type tag of a value. Then monkey-patching would be changing the type of a value to a subclass that has overridden methods as you request. The subclasses could b
360.
▲
by
chowells
3y ago
That analysis is incongruent with modern linguistic descriptions. > We can say: "A noun functions as a modifier. An adjective functions as a modifier." But not: "A noun used as an adjective." https://www.g
More ›