Hacker Newsnew | past | comments | ask | show | jobs | submit | pyrolistical's commentslogin

I don’t get it

Why write:

EqPoint.eql(a, c)

When you can write:

Point.eql(a, c)


I believe EqPoint allows you to pass around a bag of functions (aka an interface, which Zig does not have as a concept) to functions which can be written in terms of "I need these functions" rather than in terms of a concrete type.

For the same reason things like "a, c as equal points" or even "some and other as equal points". That could just as easily be automatically parsed. Just a matter of sticking conventions, as if scriptural terseness was of any utility in the kind of case, apart maybe for esoteric representation that will filter non initiated people.

A sovereign wealth fund makes sense if fund with profits from exploiting our natural resources.

That is how Norway did it


And Norway has north of 2 trillion in that fund for about 5M people...

Like, well done. Impressive financial planning at that scale


Yep. Long term greedy nation taught by the best at Goldman Sachs. Thank you guys!

Yeah, why doesn't Norway spend the oil money on soccer teams and golden airplanes like a respectable and proper oil nation, instead of squandering it on reprobate socialist pension funds? Those lefse-eaters will just waste it on EV's and sensible woolen sweaters.

Don't worry you're not missing out. The country is infatuated with the idea of destroying the entrepreneurial and business running class which creates tax income and jobs. And also the middle class is being eviscerated by inflation and insane levels of government costs and taxes.[0]

0, https://www.youtube.com/watch?v=PKn1FrthKwU


It's so bad, they're ranked 7th happiest country in the world...

Yeah and it isnt true

Sounds terrible. I bet the poor businessmen are moving in droves to more pro-market places like Argentina and Paraguay, right?

Nope. To Switzerland, Sweden and wherever else with saner taxation policies.

Norway extracts 1/2 oil as Canada but has 1/8 the population. Canada too big to be petro state. Canada has lots of other resource endowments, but not enough to sustain norway tier of per capita sovereign fund returns even if it massively increased extraction game. Only hope for Canada is US being really friendly, or even more friendly and force Canada to retool internal trade / reduce braindrain and build and capture more value in commodities and other sectors.

Norway's oil is also sweet and light, whereas Canadian oil is sour and heavy. The former is more valuable than the latter, from what I gather.

~30% price difference, but the main point is Canada cannot pump enough to make up per capita difference even if equivalent. Canada has too much people and too few petro endowments to be a petro state, wood/minerals/agri simply doesn't pay as well as energy

Protip. Claude can generate state machine diagrams via mermaidjs blocks in markdown.

These render in GitHub flavoured markdown


I attempt to solve most agent problems by treating them as a dumb human.

In this case I would ask for smaller changes and justify every change. Have it look back upon these changes and have it ask itself are they truly justified or can it be simplified.


Seem like a solvable problem. Per origin cache control. But actually just load the data locally

You don’t need to. Llm will do it for you and include the security bug


Debian is slower so npm is more attractive


There was never the business value. But now remember this axios case and use it as ammo for the next issue. Just don’t abuse it


Agreed. I wonder if this silicon is designed for this benchmark and if not how useful is it with real code.

I would be surprised if this silicon area could not be better utilized for something else


No, branch predictors are really important and even small improvements in them are extremely valuable on real loads. Improving branch prediction is both a power and a performance optimization.


Why would the center two cols be used for such low probability symbols.

The braces being so far and tucked away make it really bad for c like languages


This seems like an insane waste to me. Especially the ones on the lower row. For me it is the strongest position.


Most people who use a keyboard aren’t using it for c like languages.


? JavaScript is c like and thr most popular in the world


Most people who use a keyboard aren't using any programming language


I dislike the middle columns so I think this is quite a cool idea.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: