Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sltkr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
451.
▲
by
sltkr
5y ago
I think the solution would be to allow customers to set hard limits, so they at least have an upper bound on their monthly spend, while still being charged on their actual usage (in a nonrealtime fashion). This also solves the problem of &q
452.
▲
by
sltkr
5y ago
Joss: can be either male or female, as a nickname for Joseph or Jocelyn (think: Joss Whedon, Joss Stone) Perl: doesn't strike me as a name at all, and the language name definitely wasn't referencing it (more likely a reference to
453.
▲
by
sltkr
5y ago
> This is just not true, you throw out some of the most useful monads :) Namely? > Also ST and State have no side effects. I didn't say they do. I said they are useful only because Haskell doesn't allow side-effects. In ML o
454.
▲
by
sltkr
5y ago
All essential applications of monads in Haskell are there to work around the limitations of purity. The I/O monad, ST monad, State monad, etc. Yes, I know List and Maybe are also technically monads in Haskell. But you don't need t
455.
▲
by
sltkr
5y ago
I think recursion is just one of the hurdles. Another one is the use of higher-level functions and function composition. Another one is the use of monads (at least in pure functional languages like Haskell).
456.
▲
by
sltkr
5y ago
... he wrote, unironically, in the Hacker News comment section.
457.
▲
by
sltkr
5y ago
Yes, all of that was in the article that you apparently didn't read: > In 2010, after a long anatomical study, they performed DNA barcoding on a slice of the snack and found it to match that of agave’s by 89 percent. There are sever
458.
▲
by
sltkr
5y ago
How did you determine that Quillette is an untrustworthy source? If you want to convince people, you have to give arguments, not just make statements of facts without anything to back them up. Personally I don't consider Quillette a so
459.
▲
by
sltkr
5y ago
Interestingly, Quillette published an article last week, suggesting that the concerns about the insect crisis are overblown: https://quillette.com/2021/07/25/the-insect-apocalypse-that-... They cite many dece
460.
▲
by
sltkr
5y ago
Let me first concede a few points: 1. You should have been better informed about the expectations of the interview, so you would have had a chance to prepare yourself. 2. Coding in a Google Doc is a terrible experience. It's a s
461.
▲
by
sltkr
5y ago
It should be trivial to split it up into 1GB chunks or whatever. In fact, if you only request single pages, you could split the database up into pagesize-sized files. This is a lot of files, but at least it avoids the need to do range reque
462.
▲
by
sltkr
5y ago
What fraction of the YouTube userbase do you imagine manually edits URLs?
463.
▲
by
sltkr
5y ago
The breakage described can only occur if there are dependency cycles, so topological sorting can't fix it. If there are no cycles, then the order of imports doesn't matter. edit : Actually I'm not even sure what kind of erro
464.
▲
by
sltkr
5y ago
I was curious so I looked up the differences here: https://mariadb.com/kb/en/mariadb-vs-mysql-compatibility/ It doesn't sound too bad. The incompabilities seem to be mostly stuff like not being able to g
465.
▲
by
sltkr
5y ago
Google published some info about their repository in 2016: https://cacm.acm.org/magazines/2016/7/204032-why-google-stor... Some choice quotes: > The Google codebase includes approximately one billion files
466.
▲
by
sltkr
5y ago
You answered your own question. After 2^14 = 16,384 commits, there is a 50% chance of a collision. So most large repos will have collisions. This isn't a problem for Git. It accepts arbitrary prefixes so you'll just have to type a
467.
▲
by
sltkr
5y ago
In the EU, using this data to track customers would be illegal. That doesn't mean it can't happen, of course, but it should deter particularly large franchises from abusing this data. In the US, bars often ask for photo ID to veri
468.
▲
by
sltkr
5y ago
I think there are two difficulties here. 1. How to even represent 1,000,000,000 sorted integers in only 2 megabytes, which means you can use (slightly more than) 2 bytes per integer. The central observation is that the sum of the deltas is
469.
▲
by
sltkr
5y ago
Both of these approaches lose to a CPU. The state of the art algorithm is Hashlife [1], which compresses both time and space, and can evaluate billions of generations on a grid of trillions cells in milliseconds. The GPA approach is really
470.
▲
by
sltkr
5y ago
Thanks, I suppose that is an avenue of attack then.
471.
▲
by
sltkr
5y ago
The Play Store cannot update an app to a version that is not signed by the original developer. At best it can uninstall and reinstall the app with a different signing key, in which case all app data gets wiped. edit : Actually I don't
472.
▲
by
sltkr
5y ago
Apps have control over which data they allow to be backed up, and this is controlled by the OS, not the Google Play Store.
473.
▲
by
sltkr
5y ago
> There are thousands of paid fiction authors on Patreon but only 25 earn more than $1,000/month, only six earn more than $2,000/month, and only one earns more than the $5,000/month (and she’s already a bestselling author)
474.
▲
by
sltkr
5y ago
It's kind of ironic because I only learned the "correct" pronunciation when I got a boring office job at an American tech company. When I used the n00b pronunciation I was in college, and way more of a 1337 h4x0r. So as a shi
475.
▲
by
sltkr
5y ago
The patch in the posted mail thread is mostly harmless nonsense too. It's a no-op change that doesn't introduce a bug; at worst it makes the code slightly less readable.
476.
▲
by
sltkr
5y ago
With UBI, if you take an additional job, you would lose a large share of your income to taxes used to pay for the UBI. Yes, you can restructure income tax levels so that people get to keep most of their additional income, and then you'
477.
▲
by
sltkr
6y ago
Does German have (significantly) more irregular verbs than English?
478.
▲
by
sltkr
6y ago
There is nothing incorrect about multiple declarations, but the syntax can become confusing when declaring pointers or arrays: char *s = "foo", *t = "bar"; A beginner might forget to add the asterisk in `*t` (es
479.
▲
by
sltkr
6y ago
Is this really so much worse: { test -f a && test -f b; } || { test -f c && test -f d; } ? Yes, it's more verbose, but the original expression isn't particularly readable either, and if you'd want to e
480.
▲
by
sltkr
6y ago
Isn't this exactly what the author says? From the posted article: > Another common inefficiency is computing the lines and hashes of content in the common prefix and suffix. Use of memcmp() (or even better: hand-rolled assembly to g
More ›