Better HN
topnewbestaskshowjobs
Log inSign up

funcDropShadow

1,291 karma · joined Mar 27, 2019 (7y ago) · 867 submissions

Submissions

comment 5d ago · link · parent

Are there any tools that scan directories or http servers for such file names? Is there anyone publishing current list of relevant file names?

comment 1w ago · link · parent

You can use the same ZFS snapshot cloning with PostgreSQL. I've been using for a few years to test tricky db migrations with production data or to debug difficult production issues we couldn't reproduce otherwise. You take a zfs snapshot, create a zfs clone, copy the postgres config file and postgres in single user mode on the clone. It is practically instantaneous to get a clone of a prod db.

comment 2w ago · link · parent

True, but shortsighted. If we continue to pile proofs and new theorems on top of each other without taking care of making those new abstractions understandable, then we will limit our reach. Even though AI might be able to progress further.

comment 2w ago · link · parent

It depends on the time. Twenty or thirty years most software was not security-oriented. Nowadays, everything is online and therefore everything needs to be vigilant about security.

comment 2w ago · link · parent

> One bit stands out to me: to better understand, Scholz will work the problem backwards. Sometimes that strategy is just so spot on.

In David Deutsch's book The Beginning of Infinity, he argues, that the purpose of science is not to merely predict or to model the world, but to explain it. And he gives in my opinion convincing arguments, why a better explanation is needed to advance science. Therefore, he deduces that pure empiricism has failed. Because no matter how much data you have gathered, an explanation does not follow from it. The explanation is always an insight the scientist has to contribute. Then it is open to scrutiny by criticism or experiments.

I guess he would argue the same is true for mathematicians. Merely constructing proofs to arrive at theorem, is of no intrinsic value, if it doesn't spark an idea of a more elegant formalism that corresponds to a simpler and even more far reaching explanation.

I cannot recommend this book highly enough to anyone who is intellectually curious, not only about epistemology.

comment 3w ago · link · parent

The web page "Why, oh WHY, do those #?@! nutheads use vi?" [1] convinced me almost 20 years ago to give it a try. Already then, it looked like an outdated mode of editing text, but I was wrong.

[1]: https://web.archive.org/web/20180318023156/https://www.viemu...

comment 3w ago · link · parent

This is a indeed an important reminder that there is still progress to be made in the realm of software development. By raising the bar of abstractions, perhaps by guiding agents toward them, we might be able to follow along better. It is too tempting to take allow the growing capabilities of ai to lower the standards on software developmenbt.

comment 1mo ago · link · parent

They have to under GDPR.

comment 1mo ago · link · parent

Yes, Elon's time tables are very aggressive. But that is by design. And FSD is here, although it took much longer than anticipated, no competitor caught up.

comment 1mo ago · link · parent

Similar, to the time Tesla was fucked, because they wanted to sell EVs when there was neither demand nor charging infra. Or when SpaceX wanted to build a rocket that could land on legs, whereas every wannabe rocket scientists knew that to be impossible.

comment 1mo ago · link · parent

herdr has good, not perfect, support to restart a session after a server reboot. It can automatically restart an agent cli while resuming the session they were running before the reboot.

comment 1mo ago · link · parent

The point I tried to make wasn't that we still need to be able to do everything by hand. My point is more that we need to develop our brains. And for that we need training excercises. Similar to excercises in the gym. I doubt anybody encountered a barbell in real life outside the gym. Yet it is good tool to develop muscles. Math is an excellent tool to develop certain aspects of the brain.

comment 1mo ago · link · parent

Skipping to learn long division by hand because you'll always have a calculator (or better a smartphone at hand) is like going to a gym with a forklift. It is faster to lift the weights, but it kinda defeats the purpose.

Learning to do long division by hand trains the mind. It prepares you to understand polynomial division. It teaches you the deep connection of division and subtraction. So, mastering it should be part of the curriculum. As soon as it is truly mastered, it should be allowed to use a calculator.

comment 1mo ago · link · parent

I am wondering why people are so hyped about Ghostty? I gave it recently a try coming from kitty. And I had to configure stuff that worked out of the box with kitty, like Ctrl-Enter support and other key combos for agent harnesses. I like the development model of ghostt. And the developer really cares about creating great building blocks, e.g libghostty. But I am a bit underwhelmed.

comment 1mo ago · link · parent

Unless it is the led showing the status of a camera.

comment 1mo ago · link · parent

Does anybody know why it wasn't implemented in a backwards compatible manner?

One could wrap a whole merkle-tree with an additional extension tree, that just adds the new hashes. That way both kinds hashes could be used to traverse all data. The new hashes could be used to check the consistency, the old hashes would still be there to use in UIs or old release documentation. The downside being that you introduce more nodes in the overall data-structure which will have to be supported basically forever. And if SHA-256 is to week a third layer would need to be introduced. But the point is, it could be done. Albeit it would loose some of the elegance of the data structures involved.

comment 1mo ago · link · parent

No, that argument misses the point. Cryptographic hashes enable you to trust, that I only have to review the changes since the last trusted commit. That is more important for the developers and maintainers of the software and less for the users.

comment 3mo ago · link · parent

Interesting, but I've read for a long time, that our humanoid predecessors at some point figured out how to get to bone marrow with tools. That provided the energy dense food as well an evolutionary impetus to develop larger brains to build better tools and handle them better. Fire and the capability to cook were developed much later.

comment 3mo ago · link · parent

How do we know that? Any sources?

comment 3mo ago · link · parent

But the Inca lived to late for this discussion. They already had advanced agriculture. For evolutionary terms, the time before agriculture and the time of the predecessors of homo sapiens are more relevant, because that time span was larger by orders of magnitude.

comment 3mo ago · link · parent

source?

comment 5mo ago · link · parent

You could manage those VMs with https://microvm-nix.github.io/microvm.nix/ that helps with mounting the nix store read only from the host into the vm. That should save more space than trying to reduce the dependencies of the system closure of the vm.

comment 5mo ago · link · parent

STM is seldom used in modern Clojure projects, it is certainly not the dominant model. Most projects I am aware of use a few or even exactly one atoms with immutable data structures.

comment 6mo ago · link · parent

No other mammal eats cooked or baked food. Raw meat or raw plant contain more water than our food.

comment 7mo ago · link · parent

When you are administrating so many Java applications, you should investigate an hour or ask your favorite AI how to configure the logging library used in your application of interest. They allow you to remove stack traces and lots more.

comment 7mo ago · link · parent

They wouldn't have to, if the file format accepted floats in proper exponential format.

comment 8mo ago · link · parent

If companies are allowed to change the meaning of terms in legislation we are in even more trouble.

comment 8mo ago · link · parent

> Garbage collection, by definition, trashes locality.

No, it doesn't necessarily. It is correct if you are thinking about mark and sweep GC. But that is 50 years old. Generational GC has much better locality. And GC can even improve locality sometimes by moving objects together that are connected by references. I am not claiming that GC is always a big win for locality. That would be very far from the truth. On the other hand it is not by definition so, that locality is trashed by GC.

comment 8mo ago · link · parent

OMG no. Politician have no business making technological decisions. They make it harder to innovate, i.e. to invent the next generation of ECC with a different name.

comment 9mo ago · link · parent

The same panel produces much more electricity in space than at the bottom of the atmosphere, because the atmosphere already reflects most of the light. Additionally, the panel needs less glass or no glass in space, which makes it lighter and cheaper.

Launch costs have shrunk significantly thanks to SpaceX, and they are projected to shrink further with the Super Heavy Booster and Starship.

12345
29