Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phiresky
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
phiresky
22d ago
I think you're underestimating the "more expensive". It's not a 30% discount or similar. API is at least 10 times more expensive (own experience), ~40x as expensive if [1] is accurate. At that price difference, lots of t
2.
▲
Show HN: An interactive OOM handler for Linux (List hogs and ask what to do)
(github.com)
1 points
by
phiresky
28d ago
|
0 comments
3.
▲
by
phiresky
29d ago
Which OS are you using? systemd-oomd (or similar) afaik is enabled in many modern releases and fixes it. The default settings (on Arch) make it kill stuff when your CPU is spending 60% of time on reclaiming memory over some time period. So
4.
▲
by
phiresky
1mo ago
Well I was assuming your comment was saying it's _impossible_ to do this without affecting output, so I was just describing an option on how it IS possible. I saw that token list biasing post and yes that looks pretty bad. I didn'
5.
▲
by
phiresky
1mo ago
An encrypted hard drive is EXACTLY uniformly distributed random bytes if you do not know the encryption key. No one would be able to tell the difference between a drive that is just purely random numbers or is actually filled with content.
6.
▲
by
phiresky
2mo ago
The EU told them they can not by default prefer their own maps product when linking from their search product, they have to allow the user to choose. They could have simply added a selector when a user first clicks on the maps preview in th
7.
▲
by
phiresky
5mo ago
I actually first thought this wasn't possible at all because I'm used to zstd which by default uses a 128MB window and I usually set it to the max (2GB window). 32kB is _really_ tiny in comparison. On the other hand though, zstd a
8.
▲
by
phiresky
5mo ago
I think you're looking at a different perspective than me. At _build time_ you need to process O(n), yes, and generate O(n) additional data. But I said "The amount of data you need to decompress is a constant". At _read time_
9.
▲
by
phiresky
5mo ago
I'm a bit disappointed that this only solves the "find index of file in tar" problem, but not at all the "partially read a tar.gz" file problem. So really you're still reading the whole file into memory, so why
10.
▲
by
phiresky
6mo ago
There's a bit of an issue with the linked deployment (in my opinion). In the most zoomed out view you should see the first layer of blocks - very big blocks titled "English language", "French language", "German
11.
▲
by
phiresky
6mo ago
Here's my article on how I built it - and also an instance hosted on GitHub pages if the AA domain is blocked for you: https://phiresky.github.io/blog/2025/visualizing-all-books-i... Happy to answer question
12.
▲
by
phiresky
6mo ago
Netdata used to be really impressively minimal, performant, and packed with functions. Fully GPL open source. You ran one install command and it started a web-ui at localhost:19999 in a few seconds. The UI loaded instantly and had hundreds
13.
▲
by
phiresky
7mo ago
A $120M spend on AWS is equivalent to around a $12M spend on Hetzner Dedicated (likely even less, the factor is 10-20x in my experience), so that would be 3% of their revenue from a single customer.
14.
▲
by
phiresky
9mo ago
Even then you can just err.downcast_ref::<std::Io::Error>() though to get the underlying IOError, no?
15.
▲
by
phiresky
9mo ago
I'm happy to answer any questions! Nice to see this here again :)
16.
▲
by
phiresky
10mo ago
This is great! Especially the DB sync part, because that happens before a user interaction, so you actually have to wait for it (the update itself can run in the background). It always felt like such a waste to me how the DB always download
17.
▲
by
phiresky
10mo ago
There's an extension to ISO8601 that fixes this and is starting to become supported in libraries: 2019-12-23T12:00:00-02:00[America/Sao_Paulo] https://developer.mozilla.org/en-US/docs/Web/Ja
18.
▲
by
phiresky
11mo ago
That seems a bit excessive to sandbox a command that really just downloads arbitrary code you are going to execute immediately afterwards anyways? Also I can recommend pnpm, it has stopped executing lifecycle scripts by default so you can w
19.
▲
by
phiresky
11mo ago
I disagree, you can always spend one or two sentences at the top to immediately bring everyone to a good starting point, regardless of how much technical depth the rest of the article has. For example in this case: "eBPF is a method fo
20.
▲
by
phiresky
1y ago
If your cache fits in Redis then it fits in RAM, if your cache fits in RAM then Postgres will serve it from RAM just as well. Writes will go to RAM as well if you have synchronous=off.
21.
▲
by
phiresky
1y ago
I think relational databases are great, but this is my biggest problem with SQL, even before the ridiculous syntax. A query like select users.*, orders.* from users left join orders on orders.user_id = users.id Should always have r
22.
▲
by
phiresky
1y ago
TypeScript does supports all of these - `C implements I` is not necessary but gives compile errors if not fulfilled. You can use `o satisfies T` wherever you want to ensure that any object/instance o implements T structurally. To verif
23.
▲
by
phiresky
2y ago
If you replace `sh:link` with `sh:clone` instead, it will. > clone: reflink-capable filesystems only. Try to clone both files with the FIDEDUPERANGE ioctl(3p) (or BTRFS_IOC_FILE_EXTENT_SAME on older kernels). This will free up duplicate
24.
▲
by
phiresky
2y ago
Wow, amazing how you managed to convert that into a compact shader, including a representation of the visualization!
25.
▲
by
phiresky
2y ago
It is admittedly pretty noisy, which is somewhat intentional because the focus was on high data density. Here's an a bit more minimalistic view (less color, only one text level simultaneously): https://phiresky.github.io
26.
▲
by
phiresky
2y ago
Huh, that text (and barcodes) are very offset from where they should be. Would you mind sharing what OS and browser you are using and if this text weirdness was temporary or all the time?
27.
▲
by
phiresky
2y ago
Did you search by title or ISBN? If you search by title, the search goes through Google Books, which is very incomplete (since I didn't build a search database myself). If you put in an ISBN13 directly, you'll find a lot more book
28.
▲
by
phiresky
2y ago
Yes! You can go here to have group texts be horizontal, it was just a stylistic choice to better show the layout: https://phiresky.github.io/isbn-visualization/?groupTextVert...
29.
▲
by
phiresky
2y ago
The names of the groups are taken directly from the official allocation XML from the International ISBN Organization. This is what they call it, I assume to distinguish it from "Germany". Maybe "German language publishers&quo
30.
▲
by
phiresky
2y ago
Books visible should be fairly complete as far as I know. But the search is pretty limited (and dependent on your location) because that uses the Google Books API. If you put in an ISBN13 directly, that should work more reliably.
More ›