Recent submissions

Comment · 2 years ago
What problems is WASI 0.2 and the Component Model solving? I've read the project goals but I still don't quite understand.

I mean, I guess having some defined interface between languages might be useful for some specific usecases, I just don't see what that has to do with WASM and I also don't understand how this complexity would be a net benefit to the broader ecosystem.

Comment · 2 years ago
Very cool!

It seems to dead-end unexpectedly on some topics. For example, I delved "path tracing" -> "importance sampling" and it output a section on probability distribution functions (PDFs) but didn't offer any links to explore those further.

Highlight-to-delve would probably fix that.

Comment · 2 years ago
> 1999, or any other year is arbitrary, and you probably can pick dates to make any investment strategy look good

I agree, that was partly my point!

Comment · 2 years ago
If you bought gold in 1999 and kept it until today you would have 8x'd your money.
Comment · 2 years ago
> in regard to the NATO-Ukraine question Putin had by that time already achieved a successful, non-violent containment strategy. But ultimately he opted for the full-scale invasion in 2022 anyway.

Beginning in 2019, Ukraine went full-press on seeking NATO membership. In fact, they "voted 334 to 17 to amend the constitution to state Ukraine's strategic objectives as joining the European Union and NATO" [0]. Again, Ukraine went as far as amending their constitution to codify the goal of joining the EU and NATO.

Now, was that Putin's "real" motive for the 2022 invasion? Who knows, I'm sure there are a number of reasons. Putin frankly denied Ukraine's right to exist. But regardless, it is very clear that his rhetoric over the past 17 years, and subsequent actions, are at least consistent with the NATO issue.

> First, it wasn't an "ouster" - he fled to escape likely imminent charges of corruption and complicity in murder.

There was a revolution in Ukraine in 2014 and he was overthrown. On February 22, 2014 the "Ukrainian parliament voted to remove Yanukovych from office by 328 to 0" [1]. He fled that evening. I have no doubt corruption and any number of other things led to the revolution. Regardless, he was very anti-EU and pro-Russia and his removal from office directly led to the 2014 Crimea invasion and the start of the Russo-Ukrainian war. In fact, Russia began organizing troops outside of Ukraine the very same day Yanukovych was voted out and the invasion began 5 days after his removal [2].

> Second - if you really believe that whatever happens in the internal politics of one country is a "reason for", or can "provoke" another country into launching a full-scale invasion -- then I don't know what to tell you.

If one country has been saying for nearly 2 decades that if another country joins NATO it means war, and then that country ratifies their constitution to seek NATO membership, and then a war happens, is it really that surprising? When the two countries are already at war over allegiances in the first place?

[0] https://en.wikipedia.org/wiki/Constitution_of_Ukraine#2004_a...

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

[2] https://en.wikipedia.org/wiki/Russo-Ukrainian_War

Comment · 2 years ago
Comment · 2 years ago
"Through the Treasury, the US Government actually booked $15.3 billion in profit, as it earned $441.7 billion on the $426.4 billion invested."

So over the 5 years of holding those assets, that's a rate of return of 0.7%?

Comment · 2 years ago
> Where people live, the infrastructure exists.

Have you tried using non-Tesla charging stations? It's a disaster! Those charging terminals are hastily thrown together pieces of junk, frankly. The hardware, software, billing, everything.

Comment · 3 years ago
One thing the article didn't mention is that a gaussian blur can be approximated with multiple passes of a box blur. Not sure how that would relate performance-wise to the discussed stack blur algorithm. The code would probably be a bit simpler, anyway.
Comment · 3 years ago
Rich families already do this by sending their kids to private schools. Have you seen how expensive and competitive these schools are, even starting as early as Kindergarten?
Comment · 3 years ago
> But if your assertion checks don't run in release mode, and due to some bug, those invariants don't hold, well, your program is already going to exhibit undefined behaviour. Why not let the compiler know about the undefined behaviour so it can optimize better?

Usually in release mode you want to log the core dump and then fix the bug.

Comment · 3 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton