Recent submissions

Comment · 7 years ago
Interesting how when it was top-voted comment it read more as the light-hearted poking of fun which I intended (I really have no problem with Wolfram, I think he's funny). But now it has been demoted to the bottom of the thread it has started getting lots of downvotes and somehow reads (even to me) as being mean and bitter.

Curious example of how the thread position/reaction of others really primes how we receive a comment.

Comment · 7 years ago
Wolfram talking about Wolfram for 14,000 words. The most Wolfram thing imaginable. Wolfram!
Comment · 7 years ago
How can I bring a child into the world when it appears likely that the child will suffer greatly?

The West hasn't really grappled with this question yet, but give it 15 years - when climate breakdown starts seriously affecting quality of life - and I expect the birthrate to crash.

Comment · 7 years ago
I did specifically mention "normal code". `unsafe` is not normal code. Obviously if there is a segfault, I'd fire up a debugger - GDB is just fine for such purposes.

The comparison with Java is interesting. With Java, I have often found that errors occur in a rather non-local fashion, due to dynamic code loading, confusing inheritance trees, and ubiquitous mutations and what have you. Maybe I'm not actually calling the function I thought I was, maybe because I have actually received a subclass of my expected class. Print-debugging is often too narrow to highlight the cause. In such a situation, I would fire up the debugger and inspect the general state of the application (which Java makes relatively easy to do).

In contrast, in Rust things tend to happen in a very constrained fashion. You can't randomly mutate things, you can't (without considerable effort) make complicated graph structures where everything can touch everything else. With the occasional exception of highly generic code, your call sites and function arguments are exactly what you expect. So I can rely on print-debugging to quickly find the cause of my problem.

Incidentally the same is true with Haskell, moreso even, except due to laziness the evaluation order can be harder to ascertain - debug statements can appear in a strange order (or not at all).

Comment · 7 years ago
> I myself am a print debugger

In Rust, everyone is a print debugger. The only thing that really goes wrong in normal code (once it compiles) is "why is this value not what I expect?". Dropping down into GDB is way overkill.

Comment · 7 years ago
The left regularly address each other as "comrade", albeit sometimes a little tongue-in-cheek. Solidarity is an important and necessary part of the culture, given the odds are heavily stacked against them.
Comment · 7 years ago
I had to do a double-take here, I was thinking "I don't think Bernie is all that radical, but I wouldn't describe him as center-right". But of course the US gets the colors backwards.
Comment · 8 years ago
I’m sold, let’s get rid of the part of the government that costs the most and delivers the least. I’m talking about the military, of course.
Comment · 8 years ago
Comment · 8 years ago
We use this is production. It is fast, looks good, decent API. The kind of thing that makes the web go round. Thanks, whoever made it!
Comment · 8 years ago
You can be almost certain that LinkedIn knew it was illegal when they did it, and accurately calculated that the fine they would receive (if any) would be much lower than the value derived from increased membership. In fact they would be stupid not to in winner-takes-all markets like social media.

Silicon Valley has a phrase for such flagrantly unethical practice, it is called "growth hacking".

Comment · 8 years ago
Would you give up more to ensure your children don’t grow up in a dystopian nightmare? What if the necessary amount is 60% of your income? 90%? What if our only hope is to go back to a 18C standard of living? Unfortunately the planet doesn’t care if you have enough cash to pay rent once you account for your environmental externalities.
Comment · 8 years ago
The implication that “actually, it’s all the lib’s fault” is absurd.
Comment · 8 years ago
Don’t let the language of capitalism mystify you. These companies have shareholders and management. The profits they make go directly to these people. They are the ones getting rich at the expense of everyone else, not some abstract legal entity.
Comment · 8 years ago
I agree this article isn't as terrible as average. Going vegetarian and cycling to work once a week might make you feel good but it ain't gonna make a difference. It's a political problem. It needs a political solution.

Agitate and vote for the most left-wing party you can (that has a realistic chance of winning/influencing an election). Campaign for them to institute a ban on fossil fuels. Protest. Climb smokestacks. Make headlines. Break the law. If you work in the media, subvert their agenda as much as possible. Capitalism is crisis.

Of course, the BBC would never state these things. But given how little has been achieved in the last 40 years by playing by the rules, at this point they are obviously necessary, if not sufficient.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton