Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crdrost
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
crdrost
1y ago
So for example the capital O on license plates in California is only distinguished from the zero by being slightly more squarish, the capital G is mostly distinguished from six by six being slightly more smooth and diagonal in its top arc.
62.
▲
by
crdrost
1y ago
The enum idea is often wise; also: for just an example that has probably occurred a hundred thousand times across the world in various businesses... Original design: store a row that needs to be reported to someone, with an is_reported colu
63.
▲
by
crdrost
1y ago
I believe _Algernon_ was making a joke about how you could take this problem and make the code even worse, not proposing a solution to the problem. It's also not even a problem with slow computers or insufficient memory, __init__ does
64.
▲
by
crdrost
1y ago
I don't think it's totally crazy to, say, open a DB connection in __init__() even though that's not an instantaneous operation. That's not a hill I would die on, you can just say “open a connection and hand it to me as a
65.
▲
by
crdrost
1y ago
So in this case that would be, a FooBarWidget is not a subclass of FooWidget but maybe still a subclass of AbstractWidget above that. It contains a thread and config as its state variables. That thread instantiates a FooWidget with the save
66.
▲
by
crdrost
1y ago
So when you've got an interval you usually mean two sounds that are separated in time. So like the iconic Jaws Melody dun-dan-dun-dan-dun-dan, those notes are separated by an interval that could be called one semitone, 100 cents, or a
67.
▲
by
crdrost
1y ago
If you just used lead the billet would be 31lb, it'd be procurable and shippable for under $100. Osmium is about twice as dense so yeah that would still be shippable at around 60 lb... I don't think that's even tens of thousa
68.
▲
by
crdrost
1y ago
So you are right that the random number becomes "password-like", but of course if you really care about that you don't need to store the exact random number, just as you don't have to store a raw password. However, if yo
69.
▲
by
crdrost
1y ago
Yeah it's especially a bit humbling when you realize that the vast majority of critters are some form or another of carnivore/omnivore and there's only a trace few herbivores and they're all the "pests" like ap
70.
▲
by
crdrost
1y ago
This is the list they compiled, with a little hash if it was in the DSM-V before this study: • Persecutory/paranoid # • Reference # • Family/relatives • Grandiose # • Passivity • Schneiderian • Neighbours/friends/associa
71.
▲
by
crdrost
1y ago
Yes! But it's not a true quine because it returns “something functionally equivalent to myself,” not “my own source code.” so then I debated what else to call it before deciding that I was already taking too long writing an HN comment
72.
▲
by
crdrost
1y ago
No, although you do see that in set theory, but this is a specific idea about the type signatures and encodings. List type: type Stack<x> = null | {first: x, rest: Stack<x>} The church encoding of a data structure, is t
73.
▲
by
crdrost
1y ago
But surely you have seen that places which practice design reviews and code reviews and double down on building tests, tend to be slower shippers and deadline missers? Not saying that you in your ideal company suffer this problem, just the
74.
▲
by
crdrost
1y ago
Yes. Lambda calculus is about template substitution. It is the abstract mathematics of substituting templates into other templates. Alonzo Church got interested in this when he realized that it had numbers, type NumF = <X>(f: (x
75.
▲
by
crdrost
2y ago
Satvik gave you a fine link in a sibling comment, but I like to add something that I call "shell services" so let me give maybe the smallest example I've got of what it looks like, this is a little Python lambda. First you ha
76.
▲
by
crdrost
2y ago
Yes! I call this sort of top-down programming "wishful thinking." It is these days much easier to explain to people, because machine learning tools. “if you can just trust that chat GPT will later fill in whatever stub functions y
77.
▲
by
crdrost
2y ago
So that was a quote from a piece from the same author as the original article. I'm trained in physics, not medicine, so I am somewhat reluctant to give my own take. I have not been on SSRIs myself but I have been the responsible one fo
78.
▲
by
crdrost
2y ago
> Finally, Jauhar et al. argue that serotonin must be involved in depression because drugs which target the serotonin system are effective and other authors also argue that antidepressants ‘work’. However, whether antidepressants produce
79.
▲
by
crdrost
2y ago
This is the sort of long-form comment that I'd write and love to read, signed in just to upvote it, well-put! Nit: chromosomes mostly don't look like little X-shapes except during cell division, which was historically a useful tim
80.
▲
by
crdrost
2y ago
Just to add to this, the reason that the things are different is, stochastics as a subject is trying to do calculus in the presence of noise, and what noise does is, it makes your function nondifferentiable. You would think that you cannot
81.
▲
by
crdrost
2y ago
That is a legitimate need, but it should not be the default. Another example of when you need it, is games. I want to store in the game state, that on Day 32 of being in this cave, there is randomly a cache of diamonds if you mine the east
82.
▲
by
crdrost
2y ago
So hens don't usually have to be force-fed. Some of that color can come from having a diverse source of proteins--like the bugs and insects that pasture-raised hens get access to--but farmers "in the know" will also add papri
83.
▲
by
crdrost
2y ago
At the most extreme end of the other side, Buddhist monks, in addition to not eating meat (or, often, aliums like onions and garlic), also don't generally believe in dinner—they have to eat all their solid food for the day before noon,
84.
▲
by
crdrost
2y ago
I just want to semi-hijack this thread to note that you can actually peek into the future on this issue, by just looking at the present chess community. For readers who are not among the cognoscenti on the topic: in 1997 supercomputers st
85.
▲
by
crdrost
2y ago
This sort of problem also occurs when you're trying to do CRDTs, which can roughly be described also as "design something that does Git better." So e.g. to frame this, one approach to a CRDT is to just treat the document as a
86.
▲
by
crdrost
2y ago
It's interesting that even this gives me an uncanny valley feeling, something about the fact that the motion of the stalk is "bottom-up" rather than "top-down" and that all of the stalks are trying to move in unison
87.
▲
by
crdrost
2y ago
This is an impressively high sick-burns-to-words ratio, well done! “I don't need to make an LLC” also pings way too hard here.
88.
▲
by
crdrost
2y ago
You two are in a battle over aesthetics, it is a battle that neither of you can win. There is something attractive about a new set of work gloves. They are fresh, clean, almost begging you to use them in a project. There is something attrac
89.
▲
by
crdrost
2y ago
Honestly this sounds like a knock-on effect of the US's constant erosion of the glue of community. Church attendance down, sport attendance down, theater attendance with friends down, it's all the same. Social norms can change thi
90.
▲
by
crdrost
2y ago
It's philosophically gauche but I often like to criticize arguments based on “what if they were right?”... So for example the ontological argument putatively argues for the existence of a Perfect Being but it would seem to work even if
More ›