Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chowells
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
151.
▲
by
chowells
1y ago
Forbidding \r\n line endings in the encoding just sort of sinks the whole idea. The first couple ideas are nice, but then you suddenly get normative with what characters are allowed to be encoded? That creates a very large initial hurdle
152.
▲
by
chowells
1y ago
It's how a lot of science was written, and knowing that makes strong Sapir-Whorf a really funny joke. We didn't derive our ideas about science from our language. Developing our ideas of science shaped our language so it could comm
153.
▲
by
chowells
1y ago
That might be a strong argument in many languages, but in Haskell you really don't need to memorize operator precedence. In nearly every case, the types tell you the precedence. They don't literally, but most expressions only type
154.
▲
by
chowells
1y ago
I strongly recommend using the lens operators. They are uniformly named such that you can trivially identify their behavior based on their lexical construction, and using them reduces mental parsing overhead significantly. For the former as
155.
▲
by
chowells
1y ago
> They don't try to be helpful, they only do exactly what they are told. This is how software should work. Attempting to be "helpful" usually makes things worse. Doing exactly what it's told makes it predictable and u
156.
▲
by
chowells
1y ago
They're just for different jobs. JPEG is lossy, in ways that were initially optimized for photographs. The details it loses are often not details photographs are good at providing in the first place. As the upside for losing some data,
157.
▲
by
chowells
1y ago
Note that modern web browsers do not define a session end as "when you close your browser" unless you hunt for and enable settings to make them do that. Session cookies will happily survive a browser restart by default, because br
158.
▲
by
chowells
1y ago
If you really want to dig into it, the problem is that there are a huge number of students who don't know anything at all about how or why to learn. If they actually wanted to learn and understood how exercises help them, the fact that
159.
▲
by
chowells
1y ago
Do you believe that the way the REPL prints a number is the way it's stored internally? If so, explaining this will be a fun exercise: $ python3 Python 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0] on linux Type "
160.
▲
by
chowells
1y ago
Ah, you're right. They do have observably different behavior. But I can't even close an open file handle after a break. That's still pretty miserable.
161.
▲
by
chowells
1y ago
No, return exiting the enclosing function scope from a block is the special case that's there to resolve an edge case. Blocks should be nothing special. They're anonymous functions that capture the environment mutably. The only ne
162.
▲
by
chowells
1y ago
Given that you completely ignored what I said I wanted to do and gave an answer for some other question, I'm pretty sure it's more complicated than you think. I want to write a method that takes a block and distinguishes between
163.
▲
by
chowells
1y ago
Oh, that's not a problem. Just cache the retrieval lookups too.
164.
▲
by
chowells
1y ago
Flexible in a way, sure. But non-locality is generally a bad property, not good. Adding it is a workaround for all the enumeration methods using blocks in a way that makes people think they're weird looping syntax instead of a fundamen
165.
▲
by
chowells
1y ago
That's the wrong distinction, and bringing it up causes pointless arguments like are in the replies. The right distinction is that assemblers and compilers have semantics and an idea of correctness. If your input doesn't lead to a
166.
▲
by
chowells
1y ago
Yes, people noticed it's good. But that's not how I heard about the game. That's not how anyone in the three separate groups of friends I heard about the game from heard about it. In fact, the only person I knew who really fo
167.
▲
by
chowells
1y ago
I don't really disagree with the idea that there's value in curation. And I even think there's some value in gatekeeping. Sometimes, at least. But the timing is really funny here, given the massive success Clair Obscur: Exped
168.
▲
by
chowells
1y ago
That's not exactly true. It's a non-trivial but not exactly difficult task to design a fair shuffling cryptographic protocol that every participant can validate after the fact. On the other hand, that still doesn't prevent ch
169.
▲
by
chowells
1y ago
> IIRC it has something to do with how they both descend from Object... It's far less interesting than that. The truth is that the symbol + means a wide variety of different things in the language, and it uses compile-time type info
170.
▲
by
chowells
1y ago
With concurrency, they still might get it wrong the rest of the summer. It's a hard topic. But at least they might learn they need to ask for feedback when they're doing that looks similar to stuff that's previously caused pr
171.
▲
by
chowells
1y ago
But the whole point is that such a superposition is never observable. Any way of detecting it would cause it to collapse into one specified state. The only way to distinguish it from a non-quantum system is that it can be linked statistical
172.
▲
by
chowells
1y ago
You know, if Haskellers already have that functionality, maybe it's less that they're smug and more that they have already solved the problem. Do you call someone smug when you complain about being freezing and they invite you in
173.
▲
by
chowells
1y ago
Traversable and lenses are very closely linked. If you go to the original paper leading to Traversable [1] and read through it, it feels basically identical to reading through the parts of the lens library that lay down the core abstraction
174.
▲
by
chowells
1y ago
Ok, why are you acting like you're contradicting OP when the two viewpoints necessarily go together? If the rest of the universe cares about us, we need to live our lives for the rest of the universe. If we're cosmically insigni
175.
▲
by
chowells
1y ago
What? "Dominion"? What are you on about? What is the moral and rational basis of this supposed authority?
176.
▲
by
chowells
1y ago
Does the memory model guarantee that double-check locking will be correct? I don't actually know for ruby.
177.
▲
by
chowells
1y ago
No, Ruby is more strict than that. Only nil and false are falsely.
178.
▲
by
chowells
1y ago
Everything except a very minimal core is kept on an encrypted partition. Until the password is provided, most things can't launch.
179.
▲
by
chowells
1y ago
So what you're saying is that you actually understand the identity portion is critical to how the web is used and you're just cranky. It's ok. Take a walk, get a bite to eat. You'll feel better.
180.
▲
by
chowells
1y ago
Who said a word about looking at a certificate? I said exactly the words I meant. > I don't look at the browser bar or symbols on it. I care what my bookmarks do, what URLs I grab from history do, what my open tabs do, and what happ
More ›