Recent submissions

Comment · 2 months ago
Song also proves Bieber is a dualist

"cause I'm missing more than just your body"

What else does she have that he misses?

Comment · 2 months ago
Comment · 4 months ago
It's 100*10*4.5 inside, you're summing 100*9+100*8+...+100*1.

So 4.6min, i.e. 4:36

Comment · 4 months ago
First, they give a novel generation algorithm based on combining trees with diffusion, which trees alone just don't give you.

Second, yes, they think some tabular data will be fit better by their combination of trees with diffusion than just with trees.

Comment · 5 months ago
Is the code available somewhere?
Comment · 5 months ago
I don't put ssh keys on all devices. With syncthing, in contrast to git, I don't have too.

Also syncing is automatic and immediate, I don't have to initiate push and pull.

Comment · 5 months ago
Comment · 5 months ago
I now use syncthing for the .git directory, excluding HEAD file and a few others, between my few devices and a vps on hetzner.

Most of git is append only immutable blobs - just sharing these between devices just works for me. "users" and authentication is handled by syncthing.

I have pre and post hooks to make sure no device tries to change HEAD of branch owned by another device, just to be safe, be it hasn't been activated once yet.

Comment · 6 months ago
I read the piece, looks cool, but it merges Dockerfile with docker image?

If instead of using Dockerfile they would have a direct build of the image tar file with something like nix then it would have been easier, though admittedly mildly esoteric

Comment · 1 year ago
I've given the following exercise to developers in a few workplaces:

What's the complexity of computing the nth fibonacci number? Make a graph of computation time with n=1..300 that visualizes your answer.

There are those that very quickly reply linear but admit they can't get a graph to corroborate, and there are those that very quickly say linear and even produce the graph! (though not correct fibonacci numbers...)

Comment · 1 year ago
words_on_lines = [ret for line in text.splitlines() for ret in [line.split()]]

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton