HNHacker News
TopNewBestAskShowJobs

joha4270

265 karma · joined December 6, 2023

submissionscomments
joha4270··on Show HN: SimCity, but with Permits
No, Workers & Resources: Soviet Republic is very much a strong state (aka player) game with basically zero agency from workers as long as they get fed.

Not to say it isn't a great game, it has managed to steal a great deal of my time. With the caveat that its very unpolished and clearly straining under a load bearing amount of duct tape

joha4270··on Submarine cable resilience
If you figure out how to make cheap vacuum cables you will probably become very rich.

But otherwise chains of microwave links does get much closer to c in applications where you want absolute lowest latency (or much more commonly, when digging a fiber line is too expensive)

joha4270··on Submarine cable resilience
I don't actually think latency would be that much worse.

Of course, it depends on the altitude of the satellite but speed of light in a fiber optic is only ~2/3rds of speed of light in a vacuum so you can afford some detour

joha4270··on Submarine cable resilience
A submarine cable is a bundle of hundreds of strands, so you need quite a few satellites to replace one cable.
joha4270··on Denmark set to allow return of 'physical force' in school
Alas, those classes was wound down a decade ago to save money, that is I mean be more inclusive.
joha4270··on 3rd Yandex Cloud Data Center Was Hit
What does a bunker cost?

Surely it isn't cheap, but given the price of the hardware, does it add substantially to the total cost of a datacenter?

joha4270··on I guess I'm using WebP now?
A gas pump is somewhere on the order of ~30MW. Even if you account for the greater efficiency of EVs we're still an order of magnitude away from equivalent charging speed.
joha4270··on The gap in shared understanding of LLM capability is widening
If you know how to accomplish it using the interface, yes

My grandmother keeps a little notebook with detailed instruction on how to do things such as sending a message on facebook or pay a bill using netbank.

For a lot of things, the choice isn't going to be doing it herself or giving orders to the computer. Its going to be not doing it or giving orders to the computer.

Even if it will look very inefficient to people such as you or me

joha4270··on NASA asked several former SR-71A staffers to help secret restart
Most jet planes do carry a starter with them (in the tail usually) so the fact the SR-71 doesn't suggests the tradeoffs wasn't worth it
joha4270··on ReBarUEFI: Resizable BAR for almost any UEFI system
There would also be a block of memory mapped hardware registers also needing address space that you have to poke to make the GPU actually do GPU things, instead of just being an expensive way to add extra memory to a system, no?

And if my experience from embedded development is in any way transferable, they're probably fairly spread out and probably takes a fairly big chunk of address space too.

joha4270··on EU chief opens door for Canada to become 'associate member'
And if Trump had just faded into obscurity after 2021 we probably wouldn't see this kind of realignment, but the fact he got reelected makes it look much less like a fluke and more like an USA that's increasingly unreliable on the international stage
joha4270··on AI Can Make You Suck Faster Too
While I do believe its a bubble, that seems like a silly viewpoint that presumes infinite risk tolerance.
joha4270··on Smaller reactors bring nuclear power closer to fulfilling its promise
The one in my oven.

It's not about lights, it's about electricity always being available. And well, always having power available (for domestic, but also for expensive production facilities that looses money while idle) using renewables is a lot more expensive than generating most of your power with renewables

joha4270··on RISC-V: They Should Have Known Better
A lot of CPUs does not execute instructions directly, but instead translate them into a second set of "uOps"

This allows it to split complex instructions into multiple operations instead of having dedicated hardware for it.

High performance cores can also do the opposite trick of "fusing" two instructions into a single uOp: The usual example is compare-and-branch

joha4270··on Credibility is the barrier to entry in silicon
To be competitive with ARM and x86 they need a talented design team creating fast and wide cores on a modern node. (which I expect to take a decade at least)

For the vast majority of non-number-crunching code any theoretical difference between instruction sets vanishes in the noise of core design.

joha4270··on Deutsche Bank becomes first foreign yuan clearing bank in Europe
The world /is/ peaceful right now... relatively that is.

Not to say there isn't war, but they're small wars with a million deaths being a big one.

More people died in Second World War[1] than in all wars since then combined. If not for the Russian Civil War and WW2, the same would probably true for the Great War.

War is terrible, but the fraction of people who died in wars the last 75 years is substantially smaller than the 75 years before that and I do think that is worth celebrating. I am not confident this will hold for the next 75 years

[1]: https://en.wikipedia.org/wiki/List_of_wars_by_death_toll

joha4270··on Executable Emoji
I cannot actually get the program working (which could easily be user error), but I could replicate the md5 by removing a newline vim inserted for me. If your file is 142 bytes, that's possibly what you're seeing
joha4270··on Executable Emoji
Emoji are text. Which text editor/browser/settings should I be using to ensure I copy your reply accurately?

With the exception of (sigh) newlines, I surely hope your text editor accurately records the characters you paste into it. This job isn't different just because the characters are strange, multi colored ligatures.

Edit: As long as you work in UTF-8 that is, but you have to go out of your way to use any other encoding as an interchange format these days, even if alternative internal encodings aren't uncommon-

joha4270··on Executable Emoji
Oh this is delightful!

x86 assembly isn't something I'm familiar with (and I should really get back to $dayjob), but I will mention the existence of emoji-test.txt [1] in case somebody wants to try and mine more executable sequences. It might be worth paying attention to the minimally-qualified, unqualified and component lines, which can be added and removed semi freely. No idea if they actually correspond to useful byte sequences.

[1]: https://www.unicode.org/Public/emoji/latest/emoji-test.txt

joha4270··on Executable Emoji
I don't see why that would matter. Sure, it was noticed on a browser but ultimately this article is about overlap between x86 assembly and a subset of the unicode standard. The browser isn't really involved.
joha4270··on Pushing the limits of RISC-V emulation
You can work around this in various ways yes (I'll add dynamic recompilation to your list of workarounds), but you're always going to have the problem of "Somebody downloaded a program and want to run it now"
joha4270··on Pushing the limits of RISC-V emulation
This does exist, we call it Java (or C# or probably a dozen other implementations)

The big tradeoff you're making is that you have significantly less time to run your optimizer, since not everybody has a beefy machine or the patience to wait a day for their browser to start first time.

You could try doing optimization ahead of time, but I think (I could be wrong here) you would inevitably end up adding in some CPU assumptions if you went much further. This also somewhat conflicts with an advantage of VM based execution, that new optimizations apply to old binaries.

I'll also note that hand rolled assembly/SIMD code still beats compilers at the extreme end and you would either have to throw that away, or get all the disadvantages mentioned above without all the advantages

joha4270··on Arch Linux disables AUR package adoption
What alternative do you then propose for "I'd like to install this random application which isn't popular/high quality enough to be included in the main repository"? Everyone figures it out from scratch by copy pasting bash commands from stackoverflow or maybe chatGPT these days?
joha4270··on Our position on open-weights models
However terrible it is, it is still a mistake unless you're accusing them of doing it deliberately.

And however much you can say about the current US Administration, I don't think they're prioritizing bombing civilians over military targets.

joha4270··on Meta reuses old RAM in new servers with custom bridge chip
You're not the first person to say so (and I don't mean to dispute it), but I have never been able to find a clear answer for /why/ those processes are incompatible.

Is it built in different silicon, is it physical steps that's incompatible (ie its actually incompatible), is it different physical preparations that needs to be made (making it economically infeasible to combine)

I cannot help but wonder, even if the answer doesn't change anything in my life.

joha4270··on A 'cold blob' in the Atlantic could be a sign of AMOC shutdown
That's a negative framing and while I'm not going to call it /wrong/, but world population is increasing so of course our energy usage is going to increase too.

If you scroll a little further down on your linked page, you will encounter another[1] graph, with renewable fraction of primary energy production and its steadily falling everywhere but the gulf states.

We're probably doing too little, too late, but my read is actually that we're moving in the right direction even if there is significant inertia to overcome before emissions actually start decreasing.

[1]: https://ourworldindata.org/grapher/fossil-fuels-share-energy

joha4270··on Are you expected to run five Python type-checkers now?
Could you point me towards the kind of code people programming in dynamically-typed languages produce?

I have lived in statically typed languages almost all of my life, and even when I don't, I pretend I do, just without having a typechecker. So I'm very curious about what I'm missing.

joha4270··on Private equity bought America's essential services
Not going probably never even crossed his mind. Social status in Roman society was very strongly influenced by military success. He was a previously successful general.

Historically (with all the accuracy you get when you summarize all of history) raising an army and not leading it was effectively telling everyone that you should be replaced by whoever did lead it.

joha4270··on Memory has grown to nearly two-thirds of AI chip component costs
Yes and so we use HBM for AI (among other things), but that's an exception. For things like games or displaying webpages, its not very important and we generally don't put HBM into things for that.
joha4270··on The seed oil panic is hurting my cardiac patients
I think you have misplaced a unit somewhere, because that would be a truly absurd amount of corn.

A quick trip past wikipedia [1] suggest the figure was 383.6 million tonnes in 2021, which is still approximately a thousand kilograms of corn per person, which is still a lot (more than my annual consumption, that's for sure)

[1]: https://en.wikipedia.org/wiki/Corn_production_in_the_United_...

Page 1 of 4Next →