HNHacker News
TopNewBestAskShowJobs

runeks

6,620 karma · joined March 5, 2012

https://cryptomarketdepth.com/

Twitter: @runeksvendsen

GitHub: https://github.com/runeksvendsen

submissionscomments
runeks··on The ‘white-collar bloodbath’ is all part of the AI hype machine
> Sure, the AI might require handholding and prompting too, but the AI is either cheaper or actually "smarter" than the young person.

The AI will definitely require handholding. And that hand-holder will be an intern or a recent college-grad.

runeks··on Root shell on a credit card terminal
> The "CC Terminal" is a device that given the inputs (timestamp+value_of_transaction+password), asks the "CC HSM" to generate the signature of said values.

Which makes a hacked terminal problematic since it can display $1.00 as the amount and actually request the CC HSM to sign a $500 transaction.

runeks··on Global high-performance proof-of-stake blockchain with erasure coding
> [...] than to compromise a bunch of people's private keys.

No reason to target many people's private keys. Just find a few insecure exchanges — maybe a single exchange is enough, even — that together hold a majority of stake.

runeks··on Global high-performance proof-of-stake blockchain with erasure coding
> Instead, it can be attacked simply by purchasing a lot of compute.

Firstly, no one is offering for sale enough compute to attack e.g. Bitcoin.

Secondly, and more importantly, this would be a temporary attack, during which the blockchain in question is rendered unusable. Once an honest majority of hashing power is reestablished, everything is back to normal. But a compromise of a majority stake is a permanent compromise of a chain. No honest actor can conjure up more stake to gain an advantage over the attacker who now sits on a majority.

runeks··on Global high-performance proof-of-stake blockchain with erasure coding
With proof-of-stake, an attacker compromising a majority of private keys results in the attacker taking control of the blockchain. The attacker could publish only empty blocks using this stake majority, and there'd be no way to distinguish these malicious valid blocks from actually useful blocks.

This makes proof-of-stake inherently less secure than proof-of-work because for PoW blockchains, consensus is not affected by compromising private keys.

runeks··on Time saved by AI offset by new work created, study suggests
> With all due respect to folks working on web and phone apps, I keep getting the feeling that AI is great for high level, routine sorts of problems and still mostly useless for systems programming.

I agree. AI is great for stuff that's hard to figure out but easy to verify.

For example, I wanted to know how to lay out something a certain way in SwiftUI and asked Gemini. I copied what it suggested, ran it and the layout was correct. I would have spent a lot more time searching and reading stuff compared to this.

runeks··on America underestimates the difficulty of bringing manufacturing back
> There should be less incentives and tax breaks for "holding an asset" and more incentives for making things that improve human lives.

I think you're overlooking that, say, giving out a 10-year loan for a small business is exactly "holding an asset" (holding a bond issued by said small business for 10 years). For the benefit of everyone involved.

runeks··on America underestimates the difficulty of bringing manufacturing back
No one country can. ASML imports parts from all over the world.
runeks··on America underestimates the difficulty of bringing manufacturing back
> E.g. the CHIPS act is a strategic thing in case TSMC is disrupted for some reason. How valuable is insurance?

What do you think the odds are that the CHIPS act will make the US capable of building TSMC-level chips?

Calculating the value of an insurance isn't complex. First, you calculate (1) the cost of the insurance, then (2) a rough idea of the probability that you'll need it, and (3) the cost of the insured-against-event occurring.

The problem here is that no one in their right mind believes the CHIPS act will make the US capable of producing chips on par with those of TSMC, so it's not actually an insurance. More like a political show — see, we doing something!

runeks··on Pipelining might be my favorite programming language feature
> The author keeps calling it "pipelining", but I think the right term is "method chaining".

Allow me, too, to disagree. I think the right term is "function composition".

Instead of writing

  h(g(f(x)))
as a way to say "first apply f to x, after which g is applied to the result of this, after which h is applied to the result of this", we can use function composition to compose f, g and h, and then "stuff" the value x into this "pipeline of composed functions".

We can use whatever syntax we want for that, but I like Elm syntax which would look like:

  x |> f >> g >> h
runeks··on Show HN: I built an AI that turns GitHub codebases into easy tutorials
Useful documentation explains why the code does what it does. Ie. why is this code there?

An LLM can't magically figure out your motivation behind doing something a certain way.

runeks··on Development on Apple Silicon with UTM
> How can I verify that?

Good question. I was speaking from memory, and all I can find when googling is this: https://docs.getutm.app/settings-apple/virtualization/#ballo...

EDIT: I recall vaguely something about it being a problem with Linux guest VMs because it aggressively uses RAM as a file system cache. So it'll just fill up RAM to the max when reading from disk, and overwrite this if it's later needed by applications.

runeks··on Development on Apple Silicon with UTM
I hate most things about Parallels. I spun up a Windows VM using Parallels for work purposes, and it decided to change from using native Chrome to open html files to using Edge in the Windows VM. So double-clicking a html file would first start the Windows VM, if it wasn't already started, and then open it in Edge inside the VM. WTF is wrong with you Parallels?
runeks··on Development on Apple Silicon with UTM
An x86 Linux VM on an ARM Mac is roughly native speed because it can utilize Rosetta 2: https://docs.getutm.app/advanced/rosetta/
runeks··on Development on Apple Silicon with UTM
> The issue is that of course Apple computers that are large enough to run VMs are… expensive.

Expensive compared to what? UTM uses Apple Virtualization Framework, which lets the guest VM only occupy as much memory as it's actually using (instead of reserving all of its available memory). This means it's viable to run a Linux VM on e.g. an 8GB RAM MacBook Air.

runeks··on Concurrency in Haskell: Fast, Simple, Correct
I fear that in another life I will be a JavaScript programmer
runeks··on The path to open-sourcing the DeepSeek inference engine
> Why did Google published the Transformer architecture instead of keeping it to themselves?

Because they make their money from advertisements. Not their AI models. Same for Meta.

Compare that to e.g. OpenAI who's trying to make money from their AI models, and are thus underbid by Google and Meta.

runeks··on You might not need WebSockets
> Perhaps I'm wrong, but I believe HTTP streaming is for chunking large blobs.

You are wrong in the case of Chrome and Firefox. I have tried it and streaming e.g. unordered list elements are displayed instantly.

But for Safari, "text/html" streaming happens in 512 byte chunks[1].

[1] https://bugs.webkit.org/show_bug.cgi?id=265386

runeks··on Why Marine Le Pen should be allowed to run for president
https://archive.ph/ZrTah
runeks··on How much do you think it costs to make a pair of Nike shoes in Asia?
> Inventory cost doubles, perhaps now they have to take out higher interest debt to finance that.

I'm pretty sure Footlocker doesn't borrow money to pay Nike up front for inventory. Nike is smart enough to know that there's zero chance their shoes will be sold if they sit in a warehouse, so Nike might as well ship them to retailers and get paid gradually as the shoes are sold to consumers.

runeks··on Brazil's government-run payments system has become dominant
Yes, I believe that is the goal: https://www.ecb.europa.eu/paym/integration/retail/instant_pa...

But I think adoption is slow because everyone in the EU already has credit cards and fees are not paid by consumers.

runeks··on EU to impose counter tariffs on $28 billion of US goods
> These tariffs are highly focussed on hurting red states.

If I, as a consumer, were interested in "hurting red states" I could just not buy anything from them. No need for the EU (or my country's government) to impose this choice on me.

runeks··on EU to impose counter tariffs on $28 billion of US goods
> [...] why should we be impacted by lower exports due to American tariffs while still letting their products access our market without repercussions?

You'll be impacted by lower exports regardless. Reciprocal tariffs do not change that fact.

My question to you is: why would I, as a consumer, want to make certain US exports more expensive for me to buy? Because the US does the same to their own consumers? How does that make any sense?

runeks··on EU to impose counter tariffs on $28 billion of US goods
I welcome companies in my area having to compete with US companies. The more competition the better for me and my fellow consumers.
runeks··on EU to impose counter tariffs on $28 billion of US goods
As a EU citizen I really wish we weren't stupid enough to impose counter tariffs.

Just because the Trump administration is punishing (ultimately) its citizens for buying non-US goods doesn't mean I want the EU to punish me as well.

runeks··on Inheriting is becoming nearly as important as working
> People in advanced economies stand to inherit around $6trn this year—about 10% of gdp, up from around 5% on average in a selection of rich countries during the middle of the 20th century. As a share of output, annual inheritance flows have doubled in France since the 1960s, and nearly trebled in Germany since the 1970s. Whether a young person can afford to buy a house and live in relative comfort is determined by inherited wealth nearly as much as it is by their own success at work.

I wonder how much of this inherited wealth is from rising house prices. My parents' generation (I'm 38) have earned around €500k from rising house prices during their lifetime. The price of their house has more than quadrupled since when they bought it 35 years ago. That's a lot of money in inheritance right there. Something that children of parents who rent don't get.

runeks··on Inheriting is becoming nearly as important as working
The income of a business comes, ultimately, from a consumer. So this essentially amounts to a tax on consumption (which I think is fine, to be clear).
runeks··on Apple M3 Ultra
Is the new Mac Studio the only product this chip will go into?
runeks··on Sixos: A nix OS without systemd [video]
> Can anybody explain to me again why systemd is so bad ?

See the slides of the linked talk, starting at page 7: https://cfp.cccv.de/media/38c3-community-stages/submissions/...

runeks··on Is the world becoming uninsurable?
I'm no insurance expert, but I know that insurance usually doesn't cover what's called force majeure — ie. "great forces" such as natural disasters. That's because insurance doesn't work if all insurees (or a large proportion) need to be compensated at the same time.

So my question is: is it even possible to insure against these events — e.g. hurricanes, forest fires, earthquakes — given that all insurance takers may need to collect compensation at once (in which case the price of a house insurance would need to be at least the same as the price of a new house).

← PreviousPage 4 of 34Next →