Better HN
topnewbestaskshowjobs
Log inSign up

henrydark

448 karma · joined Oct 8, 2021 (5y ago) · 191 submissions

Submissions

1.

What's My Number?(drorspei.com ↗)

1 points · by henrydark · 2mo ago · 1 comment

comment 3mo ago · link · parent

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

Not this one:

https://drorspei.com/whatsmynumber

comment 5mo ago · link · parent

It's 100*10*4.5 inside, you're summing 100*9+100*8+...+100*1.

So 4.6min, i.e. 4:36

comment 5mo ago · link · parent

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

Is the code available somewhere?

comment 6mo ago · link · parent

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

For sure, I put the details here: https://drorspei.com/syncgit

comment 6mo ago · link · parent

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

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

11.

My Fargate Startup Is Slow: An Investigation into Docker Layer Optimization(drorspei.com ↗)

1 points · by henrydark · 10mo ago · discuss

12.

Supaplex – first time I cheated in a computer game(drorspei.com ↗)

1 points · by henrydark · 1y ago · discuss

comment 1y ago · link · parent

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

words_on_lines = [ret for line in text.splitlines() for ret in [line.split()]]

comment 1y ago · link · parent

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?

16.

Tool to make an LLM make an LLM think about Pink Elephants(drorspei.com ↗)

2 points · by henrydark · 1y ago · discuss

17.

Algebraic Locality-Sensitive Hashing(drorspei.com ↗)

3 points · by henrydark · 2y ago · discuss

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Still waiting to see the first new irrationality proof with these ideas, wishing you lots of good luck!

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

1234567