News for hackers. Stuff that matters.

henrydark

Re:A Kantian Critique of "Sorry" by Justin Bieber on Saturday August 22, 2026 @10:31AM (#49400142)
Song also proves Bieber is a dualist

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

What else does she have that he misses?

Re:AI Is Solving CTF Challenges in Minutes on Tuesday August 11, 2026 @05:23PM (#49264694)
Re:Alice is impatient on Sunday June 21, 2026 @05:29AM (#48617184)
It's 100*10*4.5 inside, you're summing 100*9+100*8+...+100*1.

So 4.6min, i.e. 4:36

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.

Is the code available somewhere?
Re:Why I'm leaving GitHub for Forgejo on Wednesday May 13, 2026 @07:18PM (#48128950)
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.

Re:Why I'm leaving GitHub for Forgejo on Wednesday May 13, 2026 @07:14PM (#48128908)
For sure, I put the details here: https://drorspei.com/syncgit
Re:Why I'm leaving GitHub for Forgejo on Wednesday May 13, 2026 @09:35AM (#48121723)
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.

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

Re:Hashed sorting is typically faster than hash tables on Thursday September 11, 2025 @01:57PM (#45214316)
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...)

Re:Left to Right Programming on Tuesday August 19, 2025 @02:51AM (#44948935)
words_on_lines = [ret for line in text.splitlines() for ret in [line.split()]]
Dask for python satisfies exactly these requirements, just in the python ecosystem. A pattern I have been using at multiple workplaces for the last decade was to start a dask cluster (maybe 10 years ago I would start an ipyparallel cluster) on any node that does computation, then as I needed I would spin new nodes and connect them. This gives dynamic infinite scalability, with almost no overhead or even code debt - the dask interfaces are great even without using distributed computing. When I wasn't allowed to use containers, I would sneakily add code to other machines to join my dask clusters. I would connect any and all computing devices. One company pushed us to use databricks and spark, and I never got it - why would we commit to a cluster size before we started a computation?
The innovation is to find traces of a global cosmic-ray event with which to connect the dating of objects in one local area, Greece, where the dendrochronological data is not continuous, with those in far away local areas, for example England/Ireland, where we have continuous dendrochronological data
Re:PRQL as a DuckDB Extension on Thursday January 25, 2024 @02:31PM (#39133981)
I get the sentiment, but personally I can easily imagine myself writing an autocompleter that would work fine with select before from. (I don't write much sql so I don't)

Just to clarify, my point is that when we do write sql most of us start by writing the from part, and even if we didn't I can just offer all columns from all tables I know about with some heuristic for their order when autocompleting in the select part.

I must go on compiling / You can't break that which isn't yours / I must go on packaging / I'm not my own, it's not my choice
Re:That's a Lot of YAML on Thursday September 28, 2023 @07:24AM (#37688051)
This is lovely, I didn't know. I guess this is what Kuhn was talking about, we write history in retrospective, sorting it out preferring narrative over fact.
Re:Fossil versus Git on Saturday September 23, 2023 @08:31AM (#37622697)
Lots of people are saying that having large files in a repo is wrong, bad, bad design, incorrect usage.

Forget that you know git, github, git-lfs, even software engineering for a moment. All you know is that you're developing a general project on a computer, you are using files, and you want version history on everything. What's wrong with that?

The major issue with big files is resources: storage, and network bandwidth. But for both of these it is the sum of all object sizes in a repo that matters, not any particular file, so it's weird to be harking on big files being bad design or evil.

Re:Modular forms, the ‘fifth fundamental operation’ of math on Saturday September 23, 2023 @06:27AM (#37622004)
This definitely fits with Grothendieck's philosophy: he basically ignored all work in this area, implicitly claiming it was trivial, while some of his closest friends and most famous student made huge strides with actual hard work - not quite things falling into place. In fact, the paper most famously proving the Weil conjectures has as an explicit target the coefficients of a modular form, uses an inspiration from automorphic forms theory, and is infamously Grothendieck's greatest disappointment.

There is rich structure in this area of maths that goes well beyond just sections of some sheaf, or at least this is what Serre, Deligne, Langlands, Mazur, Katz, Hida, Taylor, Wiles and many others seem to think.

Re:Modular forms, the ‘fifth fundamental operation’ of math on Friday September 22, 2023 @08:30AM (#37611132)
Well, they're not _just_ that, right?

First, they can be differential forms, not only functions. Second, there's an important note that we don't look only at things over C. For example, specifically in the context of Fermat's Last Theorem, we need Hida's theory of p-adic families of modular forms. Much of the arithmetic of modular forms comes from the modular curves being algebraic and (almost) defined over the integers.

Still waiting to see the first new irrationality proof with these ideas, wishing you lots of good luck!
Re:The Raft Consensus Algorithm on Monday September 04, 2023 @02:14PM (#37383265)
Actually, AFAIU the TLA+ proof is only for a few small cluster sizes - not for all sizes. And the number of nodes in the painting is definitely above that checked by TLA+...
I didn't know about task spooler. Is it better than using xargs with a parallel pool?

    xargs -L1 -P20 git clone --bare < repositories.txt
I have a hot take on this, which I hope will resonate with at least a few people: duplication, even of blocks of up to a few long statements, rarely bothers me, because I remember all the duplications as a single instance. I have extra ordinary memory, and this makes a huge difference in how I think of and write code. Or anything really. I save everything I've ever written, like bash history, but everything, and refer beck to it and copy paste somewhere else. I wonder if anyone else has this. This doesn't affect how I think of production code, but it hugely affects my work flow.
Re:Cargo Cult Science by Richard P. Feynman (1974) [pdf] on Sunday August 13, 2023 @08:14AM (#37109212)
I hope this isn't received too badly on HN, but Feynman was way too smug sometimes. This speech is essentially a philosophy of science piece, at the intellectual stage of at least one hundred years prior, and probably more like three hundred.

It's too bad that he so diminished philosophy of science, and at the same time put so much undeveloped thought and prose into it.

> Before if you started with thread and then realised you were GIL-limited then switching from the threading module to the multiprocessing module was a complete change

Is this true?

I've been switching back and forth between multiprocessing.Pool and multiprocessing.dummy.Pool for a very long time. Super easy, barely an inconvenience.

Older »