captaincrowbar

Joined 16 years ago

Karma
1,162
Submissions
210
Member since
May 24
View on Hacker News

Recent submissions

Comment · 5 months ago
‘Non-IO functions can't call IO functions.’

How do you handle logging then? If f() calls g(), how can I add logging to g() without having to change or recompile f() (and everything in the call stack above it)? ‘You can’t’ is not an acceptable answer.

Comment · 6 months ago
"This open-access course is directed at those who are already familiar with C and object-oriented programming" ... but not C++

That's a very, very small target you're aiming at there.

Comment · 7 months ago
Has anyone got the hang of Thursdays yet?
Comment · 11 months ago
This feels like a restatement of the trivially obvious observation that, if your type system is Turing complete, you're going to run into the halting problem.
Comment · 11 months ago
Because making every jet engine in two different models would make them a lot more expensive. It would also cause maintenance issues because of non-interchangeable parts.
Comment · 1 year ago
I'm in Australia, you're Swedish (but I don't know if your business is based there), and most web sites show US prices by default. So I wouldn't like to guess whether it was meant to be AUD, USD, or SEK.
Comment · 1 year ago
I like this and would seriously consider buying it - except that the purchase page only has prices in something called "AA$". I have no idea what currency that refers to (AA is Aruba, but they don't use dollars), or how much that might come to in my local currency.
Comment · 1 year ago
Comment · 1 year ago
That doesn't make it open source, just "source available".
Comment · 1 year ago
"The `await` keyword means "turn the rest of this function into a callback for the when the Task I'm waiting on finishes, and return the resulting Task"."

Oh my god thank you. I've been trying to wrap my head around the whole async/await paradigm for years, basically writing code based on a few black magic rules that I only half understand, and you finally made it all clear in once sentence. Why all those other attempts to explain async/await don't just say this I can't imagine.

Comment · 2 years ago
Broken in Safari on Sequoia, unfortunately.
Comment · 2 years ago
Does the command line to remove the quarantine flag (xattr -d com.apple.quarantine filename) still work?
Comment · 2 years ago
Put it this way: Can I build an executable using this, that I could confidently give to a Windows user who has never heard of WSL?
Comment · 2 years ago
This looks useful but I'm worried about portability. Are there any plans for native Windows support?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton