Recent submissions

Comment · 1 month ago
Very cool!

How does the direct TCP mode work?

Comment · 2 months ago
Why? The inference server isn't a harness, it's tokens in, tokens out. That's different from a harness.
Comment · 3 months ago
Sounds super interesting!

What's your approach?

Comment · 4 months ago
Fun fact: one of Yann LeCun's first 'deep learning' projects was on OCR for postal codes (MNIST).
Comment · 5 months ago
In Japan, I learned to drink water upside down to stop hiccups. Works for me, whereas drinking normally doesn't.
Comment · 5 months ago
Thanks for the correction. You're absolutely right.
Comment · 5 months ago
It's not a market failure, it's just supply and demand. There are many computer components competing for the same resources (fabs, wafers). Demand for GPUs, RAM etc. has increased a lot due to AI, but supply is still the same due to new fabs being huge investments that take years to build. Of course the price goes up.
Comment · 6 months ago
WhatsApp is end-to-end encrypted. No one at Meta can read your messages.
Comment · 7 months ago
> Once you reach this stage, the only escape is to first cover everything with tests and then meticulously fix bugs

The exact same approach is recommended in the book "Working effectively with legacy code" by Michael Feathers, with several techniques on how to do it. He describes legacy code as 'code with no tests'.

Comment · 7 months ago
Comment · 7 months ago
One trick I use all the time:

You're typing a long command, then before running it you remember you have to do some stuff first. Instead of Ctrl-C to cancel it, you push it to history in a disabled form.

Prepend the line with # to comment it, run the commented line so it gets added to history, do whatever it is you remembered, then up arrow to retrieve the first command.

$ long_command

<Home, #>

$ #long_command

<Enter>

$ stuff_1 $ stuff_2

<Up arrow a few times>

$ #long_command

<home, del>

$ long_command

Comment · 8 months ago
Why 25%, shouldn't it be 12.5%? 8 ECC bits for every 64 bits.
Comment · 1 year ago
A gentleman's gentleman!
Comment · 1 year ago
Comment · 1 year ago
I used a similar setup for a while: Obsidian for taking notes in markdown, and vscode for coding.

Eventually I moved to using vscode for both. My gigantic notes.md file is always open in tab 1, so I can go to it immediately with Ctrl + 1.

Finding notes in a single file is easier for me than finding them in a bazillion tiny files. And there's less friction whenever I need to make a note (no need to create and name a new file).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton