Better HN
topnewbestaskshowjobs
Log inSign up

hikarudo

501 karma · joined Jan 12, 2011 (15y ago) · 194 submissions

Submissions

comment 5d ago · link · parent

Brazil does tax dividends since 2026, by 10% if your income in any month exceeds R$50k (~ US$8.4k currently).

comment 1w ago · link · parent

https://github.com/AminBlg/SimpleEnglish

comment 1w ago · link · parent

I just use Opus with the simple-english skill. No more Claudese.

comment 1w ago · link · parent

Me too, little endian makes more sense.

comment 2w ago · link · parent

The fact that someone made a mistake before doesn't mean that they will always make wrong calls.

comment 2mo ago · link · parent

Very cool!

How does the direct TCP mode work?

comment 3mo ago · link · parent

Why? The inference server isn't a harness, it's tokens in, tokens out. That's different from a harness.

comment 4mo ago · link · parent

Sounds super interesting!

What's your approach?

comment 5mo ago · link · parent

Fun fact: one of Yann LeCun's first 'deep learning' projects was on OCR for postal codes (MNIST).

comment 6mo ago · link · parent

In Japan, I learned to drink water upside down to stop hiccups. Works for me, whereas drinking normally doesn't.

comment 6mo ago · link · parent

Thanks for the correction. You're absolutely right.

comment 6mo ago · link · parent

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 7mo ago · link · parent

WhatsApp is end-to-end encrypted. No one at Meta can read your messages.

comment 7mo ago · link · parent

> 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 7mo ago · link · parent

Also checkout Deepmind's "The Gemma 4 Good Hackathon" on kaggle:

https://www.kaggle.com/competitions/gemma-4-good-hackathon

comment 8mo ago · link · parent

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 8mo ago · link · parent

Why 25%, shouldn't it be 12.5%? 8 ECC bits for every 64 bits.

comment 1y ago · link · parent

A gentleman's gentleman!

comment 1y ago · link · parent

Here's a great talk by John Hughes, one of the authors of QuickCheck, with real-life examples:

https://www.youtube.com/watch?v=zi0rHwfiX1Q

comment 1y ago · link · parent

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).

comment 1y ago · link · parent

Also see "I Pencil" by Leonard Read (1958).

comment 1y ago · link · parent

> we've had that idea since at least Hofstadter and his sentient ant nests.

A similar idea is present in Herbert Simon's 'The sciences of the artificial', where he describes a sentient city.

comment 1y ago · link · parent

Sincere question: what's wrong with Python f-strings?

comment 1y ago · link · parent

Computer vision. C++ and Python.

comment 3y ago · link · parent

That was Blaise Pascal.

comment 3y ago · link · parent

"Sparks of Artificial General Intelligence: Early experiments with GPT-4"

https://arxiv.org/abs/2303.12712

comment 3y ago · link · parent

What an awesome story! Thanks for sharing.

comment 4y ago · link · parent

You can split it up into several files, then concatenate the arrays at runtime.

comment 4y ago · link · parent

Spot on. You've described Peter Naur's "Programming as Theory Building" paper exactly.

comment 4y ago · link · parent

import -window root `date -Is`.png
1234567