Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smallnamespace
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
smallnamespace
3y ago
Ah, so your friend is training a neural network as a general function approximator?
92.
▲
by
smallnamespace
3y ago
The rule as stated is way too strong, for example option prices are money amounts but floats are unavoidable in calculating them. For a less exotic example, consider that Excel, widely used by actual accountants, uses floats throughout to r
93.
▲
by
smallnamespace
3y ago
Yes and anyone who doesn't meet your expectations is 'bottom of the barrel' in your book, you've made it clear. Sorry mate but not everyone gets to always work with the best of the best. I went through this exact exercis
94.
▲
by
smallnamespace
3y ago
Everyone, even experienced engineers can make mistakes. Calling that 'bottom of the barrel' isn't helpful. Especially in a larger team you can't expect everyone to know fine details of every other part of the system. If
95.
▲
by
smallnamespace
3y ago
Of course serial IDs are unsafe, but it's (presumably) obvious to most implementers. Look up the v1 spec. Essentially the entire ID space is timestamp + UUID, both of which are easily guessable. The amount of entropy matters, and v1 ha
96.
▲
by
smallnamespace
3y ago
If people don't understand the title then presumably they're not going to upvote it. That's why I think this sort of language policing to be not very useful—if you don't understand, then ignore it, and the system will so
97.
▲
by
smallnamespace
3y ago
The query running in O(queue size) is very likely avoidable if you add an index on the tenant_id. Ideally the query planner figures this out (see the sibling comment), but if not, the query can likely be written to "encourage" th
98.
▲
by
smallnamespace
3y ago
> Is there a simple way to get a very rough kind of fairness between tenants in this case? Yes, since the SKIP LOCKED query is just a special sort of SELECT that skips over locked rows, you can use all the normal SQL tools such as ORDER
99.
▲
by
smallnamespace
3y ago
> would there be even shorter programs that don't look like they make sense but produce the same output Yes, mostly likely > How would you search for these programs? Brute force search is very inefficient so the real answer gener
100.
▲
by
smallnamespace
3y ago
I'm objecting to the use of the term 'liability' because in accounting/finance in particular, a liability is strongly implied to be a net negative once you weigh all the benefits and costs together. Here you're sa
101.
▲
by
smallnamespace
3y ago
'All code is a liability' is also not a particularly accurate application of finance jargon. A car or a house also have ongoing maintenance costs, but they would normally be classified as assets (because they generally produce val
102.
▲
by
smallnamespace
3y ago
From the article, the claim is that this strain of S mutans variant produces mutacin-1140 which allows it to outcompete other strains of S mutans and other Gram-positive bacteria. I have no particular opinion about whether this claim is pla
103.
▲
by
smallnamespace
3y ago
I think your explanation only seems clear because you’re eliding some quite relevant detail > Look around you. Is the building you're in falling down? You can say it’s stable, or that the building is in the act of slowly falling dow
104.
▲
by
smallnamespace
3y ago
The Spanish also had many accounts of Mayan child sacrifice. These accounts were often dismissed by historians on suspicion of prejudice. We've more recently found archaeological evidence of the Mayan practice on a massive scale. Somet
105.
▲
by
smallnamespace
3y ago
Surely it's great for you as the developer to get paid extra to learn transferable skills. That's not necessarily true of the business.
106.
▲
by
smallnamespace
3y ago
If you think they are good at picking winners at scale then many small bets makes sense, like a VC fund. Of course it's harder to tell if they're doing any work since they're not private investments, but many VC funds also ri
107.
▲
by
smallnamespace
3y ago
The reason libraries call polyfills directly is because it's impolite for a library to change global scope underneath you. Usually it's the top-level application's author who chooses and configures polyfills. Now one may reas
108.
▲
by
smallnamespace
3y ago
A romanization that’s good for writing an entire language accurately is usually not going to come up with spellings that lead an English speaker to a good initial approximation for exactly this reason. I would argue that since food names ar
109.
▲
by
smallnamespace
3y ago
They were repealed several years ago
110.
▲
by
smallnamespace
3y ago
One lab is definitely not adequate. Replication attempts don't give you an unambiguous signal, many things can go wrong. If one lab hasn't succeeded in replicating the paper, does that mean the paper is wrong, or just that a neces
111.
▲
by
smallnamespace
3y ago
> acting isn't really the field you wanna pursue if you want to make money That depends on the person. By the same token, software engineering isn’t the right field for the average person (because most people don’t have the knack fo
112.
▲
by
smallnamespace
3y ago
Papers are mostly read by other researchers, where the added background is actively bad because it obscures the real meat of the paper to the main audience. If you just wanted a digestible intro then you would usually buy a textbook. I thin
113.
▲
by
smallnamespace
3y ago
Most Indo-European languages are inflected and have singular, dual, and plural forms (if not in the modern language, then in a more archaic form). Even Latin retains some dual forms for certain words even though it had otherwise lost it.
114.
▲
by
smallnamespace
3y ago
Because under this model nobody would make student loans.
115.
▲
by
smallnamespace
3y ago
I agree that's one way to look at it. I prefer the framing that the signal just isn't that interesting to listen to. Compare to the cosmic microwave background - we have no problem converting microwaves to visible light (implicitl
116.
▲
by
smallnamespace
3y ago
Yes but for those motivated to hear the low-frequency waves, adding a frequency shift to the end of the signal processing pipeline would've been trivial. Since the incremental effort is so low, it really doesn't matter much what t
117.
▲
by
smallnamespace
3y ago
It's trivial to shift frequencies up or down
118.
▲
by
smallnamespace
3y ago
More energy in the system increases the unpredictability. You can see this on the tiny scale, where heat (energy) first turns a solid (atoms are bound to a rigid structure) to a liquid (atoms slide past each other) to a gas (atoms bounce ar
119.
▲
by
smallnamespace
3y ago
It's doubtful people have access to population-level base rates either, in which case they would also arrive at the wrong answer, no narrative needed. But why do you point the finger at narrative instead of a simple lack of data? In
120.
▲
by
smallnamespace
3y ago
> Ask people to predict whether the Jones' have a dog and they'll start asking questions about the specifics of the Jones', like do they have children, do they live in the suburbs, have they always wanted a dog, etc. Then
More ›