bvaldivielso

Joined 14 years ago

Karma
1,229
Submissions
126
Member since
Jun 23
View on Hacker News

Recent submissions

Comment · 26 days ago
They don't care whether the bets are stupid or informed. They don't make more money out of losers than they do out of winners, unlike traditional gambling platforms. (Though this in no way means that you have to like kalshi)
Comment · 2 years ago
> but isn't this undermined by the lack of memory safety?

Yes, in my opinion, but from Zig's success you can see some people are willing to trade safety for a simpler language. Different people have different values

Though to be fair you can also use zig in old C projects, moving things incrementally. I don't know how many projects do that Vs greenfield projects though

Comment · 2 years ago
All models are wrong, some are useful. I found his explanation useful while knowing it was not correct
Comment · 2 years ago
> Despite e-fuel makers promising a major scale-up this decade, it will make an “unnoticeable dent” in transportation emissions, says Oates at BNEF. “This is down to a combination of nascent technology and high cost of e-fuel production,” she adds.
Comment · 2 years ago
This is a misunderstanding of what stock buybacks are. Companies do not buy their stock from themselves. They buy the stock from participants in the market.

Following your example, it'd be like the author of a book buying the book they wrote from someone else. If the author chooses to pay someone else 1000$ for their book, they can, but they will be wasting money.

A company doing a stock buyback is trading off their own capital (they have to spend it, it's not an infinite money glitch where they buy it from themselves) to get back shares of the company itself at the then-market-price. The market chooses whether that's a good trade. It may not

Comment · 2 years ago
> I prefer to take advantage of the fact that without a proper shebang the file will be first executed by the shell

I know that bash does this, and possibly other shells, but it doesn't work in general when you `execv` the file (or when using the subprocess API on python f.i). But cool trick anyway

Comment · 2 years ago
> When using jsx in the server you're extremely limited. You cannot just use any html tag unless the framework has a specific solution for it.

Doesn't look like that's the case in OP's solution, where HTML tags are transformed into Lua tables. I guess then there's some code that turns the lua tables into the html text to be sent to the client

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton