Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
n2d4
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
361.
▲
by
n2d4
3y ago
MIT for the client libraries, AGPL for the serverside
362.
▲
Show HN: Stack, an open-source Clerk/Firebase Auth alternative
(stack-auth.com)
144 points
by
n2d4
3y ago
|
70 comments
363.
▲
by
n2d4
3y ago
My bad, gotta fix that one!
364.
▲
by
n2d4
3y ago
We're a startup, open-sourcing was as easy as getting the rest of the team's approval.
365.
▲
by
n2d4
3y ago
That's more or less what happens inside the emulator (the emulated disk is an in-memory 9P file system). It's in WebAssembly because that makes it more portable (same behaviour across platforms, architectures, and even in the brow
366.
▲
by
n2d4
3y ago
"Typical mind fallacy" = the (subsconscious) assumption that everyone thinks the same way. All I'm saying is that different people have different thresholds for when they buy stuff, even among developers; the best evidence is
367.
▲
by
n2d4
3y ago
Yeah, that should be possible! Though, for audio processing, the performance will probably be terrible (because it's all emulated).
368.
▲
by
n2d4
3y ago
Hey HN! For a few months, I've been building an in-memory version of Postgres at work. It has full feature parity with production databases. The cool thing about it is that you don't need any external processes or proxies. If your
369.
▲
Show HN: I open-sourced the in-memory PostgreSQL I built at work for E2E tests
(github.com)
379 points
by
n2d4
3y ago
|
79 comments
370.
▲
by
n2d4
3y ago
Typical mind fallacy. I personally love paying for things that save me time, and I'm also a developer. Also, this is kind of their thesis, isn't it? That developers want open-source software to do their billing, which they can mod
371.
▲
by
n2d4
3y ago
That's because "aggravated identity theft" can never be the only crime you are convicted for. It is always dependent on another felony. The identity theft just adds two years on-top of whatever the other crime would've g
372.
▲
by
n2d4
3y ago
That's because "aggravated identity theft" can never be the only crime you are convicted for. It is always dependent on another felony. The identity theft just adds two years on-top of whatever the other crime would've g
373.
▲
by
n2d4
3y ago
This is only true for high throughput spam e-mails, such as those sent to literally every e-mail address in a large data breach. Corporate phishing attacks are much, much more advanced.
374.
▲
by
n2d4
3y ago
Hey HN! I decided to polish and open-source something I've been building for our E2E test suite at work. pgmock is a feature-complete, in-memory PostgreSQL database for JS/TS. It emulates an embeddable Linux VM in WebAssembly and
375.
▲
Pgmock: In-memory Postgres for unit/E2E tests
(github.com)
2 points
by
n2d4
3y ago
|
2 comments
376.
▲
by
n2d4
3y ago
Chromium does support WebP and AVIF, yet parent's tools don't.
377.
▲
by
n2d4
3y ago
The first color is #015. Regarding computing it for all targets, I optimized it by precomputing the value of guessResults in the first iteration, since it's always the same (no matter the target color), which saves most of the computat
378.
▲
by
n2d4
3y ago
I can't blame you, my comment originally didn't have the word "linked", I edited that in after I realized the potential misunderstanding. Maybe you saw it before the edit. My bad.
379.
▲
by
n2d4
3y ago
You can find them in the mucped23.zip file linked here (encoded as PNG): https://github.com/google-research/google-research/tree/mast...
380.
▲
by
n2d4
3y ago
There's a way to do it in 4 guesses, I described it here: https://news.ycombinator.com/item?id=39888130
381.
▲
by
n2d4
3y ago
Here's a solution with ~3.27 average tries total (including the last guess). It works by spreading the possibilities across each of the 100 "score" buckets as evenly as possible (aka minimizing the variance). It can identify
382.
▲
by
n2d4
3y ago
Because the space is bounded and discrete, you can further optimize by triangulating smartly. If you always pick a triangulation point on the boundary, you will always end up with a single candidate as the other candidate will be out of bou
383.
▲
by
n2d4
3y ago
A lot of IDE configurations, such as VSCode on the default config, highlight Unicode characters that are invisible/look like others (eg. cyrillic characters or non-breaking space) or even all non-ASCII characters, regardless of whether
384.
▲
by
n2d4
3y ago
Unicode lookalikes would be detected by IDEs and other tools. There would be plausible deniability in a different situation, but this is the same author who implemented the backdoor and several similar changes that disable security features
385.
▲
by
n2d4
3y ago
Gambling, like finance, has rules. If I start a casino, and tell everyone that the roulette is fair, and then go ahead and rig it so no one ever wins, then yea, I should be sent straight to prison. If SBF told everyone loud and clear "
386.
▲
by
n2d4
3y ago
FTX was just an exchange. If you invest money into Bitcoin, you will have to do it on some (centralized or decentralized) exchange. You'd expect that FTX would keep your Bitcoins safe in a digital vault somewhere, but SBF did not and i
387.
▲
by
n2d4
3y ago
You should use a geometric mean for this sort of stuff. The difference between a one- and two-year sentence is much bigger than 25 and 26. So that would be 16 years, though obviously, it's foolish to use "right down the middle&quo
388.
▲
by
n2d4
3y ago
> By similar logic, should we imprison all tobacco executives? If they committed crimes to sell tobacco (which, to my knowledge, is true for at least some of them), absolutely, yes.
389.
▲
by
n2d4
3y ago
Maybe he didn't kill anyone directly, but I can assure you that plenty of people committed suicide solely as a consequence of his actions
390.
▲
by
n2d4
3y ago
There's at least an argument to be made that this is because all the models are heavily trained on GPT-4 outputs (or whatever the SOTA happens to be during training). All those models are, in a way, a product of inbreeding.
More ›