Better HN
topnewbestaskshowjobs
Log inSign up

Matumio

1,064 karma · joined Aug 31, 2014 (12y ago) · 500 submissions

Submissions

comment 5d ago · link · parent

About punctual railroads, this article has a color-coded punctuality map if you scroll down a bit: https://chuuchuu.com/2025wrapped

You can tell where the border is between Switzerland and Germany just from the colors.

comment 1w ago · link · parent

Try Spain, for example. Wikipedia: "Over 30% of the area is already severely impacted by desertification". Agriculture will depend more on irrigation, and there will be less water available.

There will be enough food for people to live there, yes. But agricultural yield is expected to go down by ~20% or so if emissions continue. And people sitting in worse spots are not just going to sit there and wait for the flood and die. There will be wars about who gets the resources from the new best places.

comment 1w ago · link · parent

Uh, fractional-reserve banking, anyone? You loan out the money you just created and ask to be paid back more than that.

comment 2w ago · link · parent

If only the game I am surely going to develop some day would not waste 7% of the rendering budget on drawing the menu sliders! Must research all options now before I start. Must make an objective choice, so I need number that can be compared neutrally between frameworks. So, rendering performance it is.

comment 2w ago · link · parent

If you mean the "Quick" assistant, I only use it for light queries but I think it's pretty accurate usually, especially if the search results have the answer somewhere. It sometimes takes your query too literally, like when using quotes it will search with quotes, find nothing, and search again with quotes. Which is silly because if I wanted literal search, I wouldn't turn on the assistant!

But since I'm on the Ultimate plan, for stuff that matters I usually use Fable with a custom assistant (prompt), and sometimes the stock "Research" assistant. Both work really great for me. I use the "Research" assistant for more technical questions, it tends to dig up information from forums and cross-reference it with the source-code file it digs up from github and quote the RFC that it has directly fetched too.

Though I usually prefer my custom assistant prompt, which Kagi seems to combine with their general prompt in the background. This works really, freaking great most of the time. My custom prompt is an elaborate version of "answer the question, but then try to second-guess what the user is doing and also provide a different perspective that could be more useful than a direct answer". This has derailed my narrow train of thoughts a few times and turned me around into the right direction.

That said, I haven't played around with my own local agents for search yet to compare (in part because Kagi does a very good job at this), and this is something I want to try, in a "own your tools" sense. But the first thing I'll make sure that it uses the Kagi API for its search.

comment 2w ago · link · parent

The proper term is: "On the shoulders of a very large pyramid of hobbits." The concept is the very core of human intelligence, also known as cultural evolution. I can't resist to recommend Joseph Henrich's book "The Secret of Our Success" every few years here, to anyone interested in human intelligence, and how it is different from other primates.

There was a critical review article with a title that summarizes the book well: "On the shoulders of a very large pyramid of hobbits, or why we are not just very smart chimps. The Secret of Our Success: How Culture is Driving Human Evolution, Domesticating Our Species, and Making Us Smarter." Obviously I got triggered by your comment, which was eerily close to that title.

comment 2w ago · link · parent

Tangential, but: "We're sorry but the CVE Website doesn't work properly without JavaScript enabled."

Usually I just enable JS. But is this a security site, asking for remote code execution on my device? Before they can show me some text? They just disqualified themselves.

comment 3w ago · link · parent

I think it needs re-reading more than re-writing.

The problem is that it's basically a book and deep-dive. You don't get much out of it by skimming. I doubt that CPU architectures have changed enough to matter. I admit I'm not up-to-date, but CPUs are not the web ecosystem. What has changed is that nobody has the attention span to read something like this any more.

And the title was wrong when it came out - not every programmer needs to know those details. Many programmers work on some CRUD app with frontend and REST API and should learn about CREATE INDEX or start to measure performance in the first place. And some performance work has moved to GPUs instead of CPUs (not always for a good reason IMO).

comment 4w ago · link · parent

You seem to be describing Grokipedia. In case you never heard of it, well... you'd look it up on Wikipedia wouldn't you.

comment 1mo ago · link · parent

I guess the fossil fuel infrastructure is actually more expensive? (Drilling, refining, shipping of the fuel: all not needed for wind and solar.) But this infrastructure has already been built and paid for, and now someone with a lot of money wants a return on their investment over the next 25 years. Which is not going to happen in a world where we prevent the worst climate change.

(Also, investment to decarbonize things like cement are not going to happen if fossils stay cheap.)

comment 1mo ago · link · parent

Quote Wikipedia:

> "Citogenesis" redirects here; not to be confused with cytogenesis.

I had to read that three times. I thought it was a self-referential joke at first. Turns out the name was a joke from an xkcd. Can't argue with that source in terms of authority.

comment 1mo ago · link · parent

There is also this story of training magpies to recycle bottle caps, which doesn't look fake: https://www.hackster.io/hfor62/training-wild-birds-to-trade-...

comment 1mo ago · link · parent

This is like saying with chemistry, amino acids and human DNA you now have the basis to understand human culture.

The problem is one of complexity, the whole being greater than the sum of its parts. Electrical engineering creates a thinking that is opposite to what you need for understanding biology or human culture.

This is relevant because LLMs have basically swallowed all written human culture. Engineering is about creating parts that interact in a clean, well-defined way, like a MOSFET transistor or a REST API. The goal is that that when you combine the parts, and they all operate within specs, you can still predict what the whole system will do.

So saying LLMs are just a step away from the Pereceptron (or an equivalent filter) is mathematically true, but almost useless. It's like saying that a modern 3D game is basically just transistors, logic, CPUs and memory, nevermind the pattern in that memory or how it came to be. You really can't ignore all the cultural inputs and feedback loops if you want any kind of useful understanding what this thing is.

comment 1mo ago · link · parent

Permutation City is one of my top favourites I've ever read. It's a bit nerdy (less so than other Greg Egan books), and it also spooked me in a weird way. For a summary what it is about, it's basically this comic: https://xkcd.com/505/

comment 1mo ago · link · parent

If you're concerned about that, you can concat your JPEG with a few bytes from /dev/random and you'll get the security of whichever is stronger. In practice none of this will be your weakest link.

comment 2mo ago · link · parent

Yes, but it is a useful insight that both methods try to solve the same mathematical problem. It's better than thinking of LLMs as magic.

When you say "cross-entropy loss" people without stats background go to Wikipedia, take a glance, and adjust their mental model to "inscrutable magic".

Thinking of the main difference as the trade-off in how much CPU, memory and storage is allowed is not really wrong.

The part that is wrong is to think of gzip as a method that might reach similar complexity or generalization. And more importantly, to ignore the advanced way how training data gets curated or generated for (instructed, chain-of-thought) LLMs. But even then. The mental model that the LLM's goal is text compression is not wrong. The question to ask next is what kind of text it is expecting to compress.

comment 2mo ago · link · parent

You buy your groceries while that piece of your brain has no excuse to make loud demands ;-)

comment 2mo ago · link · parent

Like if CERN published the discovery of the Higgs boson with 99.9997% certainty, but refusing to tell you how they calculated that number, or what equipment they used and how they calibrated it, in order to prevent other labs from copying their methods.

Or like a machine learning lab claiming SOTA on a benchmark, beating a well-known method that they re-implemented, possibly with bugs, on their private dataset, for millions of compute. But you don't get the source to check, and they don't release any intermediate results or ablation experiments. Aka, from the outside you can't distinguish it from corporate marketing.

19.

Faster NumPy in the Browser(notebook.link ↗)

50 points · by Matumio · 2mo ago · 9 comments

comment 2mo ago · link · parent

Like in this comic about art: https://www.peppercarrot.com/en/miniFantasyTheater/064.html

comment 2mo ago · link · parent

Yes but it's annoying to collaborate with a Claude proxy person who thinks to have it all sorted out and who will question everything you say but not really listen, just itching to get back to Claude to confirm or deny what you said.

Compare that to being asked for advice, to explain directly something you know or have done, with the expectation of the person asking to learn something. Like asking why some decision was made in the past, based on what information and context, instead of confidently saying that it was done wrong. Both will eventually get you the same information.

comment 2mo ago · link · parent

My favourite is a logout button with a logout API that fails. (Not a huge pratical concern, I admit, because it's a local attack.) Nobody ever notices because it still shows the logout screen, which hides the API error toast (if errors were even displayed). The still valid refresh token stays in sessionStorage (or even localStorage) while the app displays "logged out". (Bonus points if you cleared the access token in the error handler but not the refresh token, and on page reload you ask the user to log in again despite having a valid token.)

Or a login form that gets hidden after login, but clears the username and password only when you click "login back in". (Bonus points if the backend also enforces a 5min session timeout "for security".)

comment 2mo ago · link · parent

If your clients are compromised then what's even the point of backend security. Users will login and do legitimate actions while their compromised client does whatever behind their back, while still looking normal. And the backend can't tell the difference.

comment 2mo ago · link · parent

I think it's the other way around. Without the cultural norms around impersonal markets, you have to rely on your extended family network or clan for everything, because there is no trust otherwise. This is what keeps you from traveling. If you were trying to trade with a far-away stranger, why should they not just rob you instead? Nobody is around to punish. And for all they know, you were just as likely trying to poison them rather than make a fair trade.

comment 2mo ago · link · parent

You can also publish your own f-droid repository, like Threema did. (And ask users to buy a license.)

comment 3mo ago · link · parent

There is also https://apertus-ai.org/ but yeah, "not useful yet" if you were looking to replace your coding agent. Very useful if you are doing LLM research.

comment 3mo ago · link · parent

Yes. I paused reading at some point just to marvel at the clarity of writing. It seems absurd to complain about length, it isn't long. Maybe we have different ideas what good writing is, but I'd say this is in the top percent.

AI can mirror this style of writing, but it can't mirror the clarity of thought behind it.

comment 3mo ago · link · parent

Also the pixels were probably downscaled in sRGB gamma by JPEG instead of linear light, so the overall brightness will be wrong anyway, if there was lots of high-frequency content in the original.

comment 3mo ago · link · parent

Some people earn a million per day just from passive income. They could make you turn leaves all day long just for a quick laugh, and you would be unable to decide if this was useful. (They probably won't do that, I agree, but they won't think about wasting your time by accident, given how cheap it is.)
12345
17