Better HN
topnewbestaskshowjobs
Log inSign up

captaincrowbar

1,162 karma · joined May 24, 2010 (16y ago) · 210 submissions

Submissions

1.

Physicists link the Riemann Hypothesis to phase transitions in quantum systems(phys.org ↗)

4 points · by captaincrowbar · 3mo ago · discuss

comment 5mo ago · link · parent

‘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 6mo ago · link · parent

"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 8mo ago · link · parent

Has anyone got the hang of Thursdays yet?

comment 1y ago · link · parent

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 1y ago · link · parent

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 1y ago · link · parent

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 1y ago · link · parent

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 1y ago · link · parent

Non-paywalled version on one of the authors' site:

https://www.liyiwei.org/papers/noise-sig12/

comment 1y ago · link · parent

That doesn't make it open source, just "source available".

comment 2y ago · link · parent

"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 2y ago · link · parent

Broken in Safari on Sequoia, unfortunately.

comment 2y ago · link · parent

Does the command line to remove the quarantine flag (xattr -d com.apple.quarantine filename) still work?

comment 2y ago · link · parent

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 2y ago · link · parent

This looks useful but I'm worried about portability. Are there any plans for native Windows support?

comment 2y ago · link · parent

I'm disappointed that they passed up the opportunity to call the project Stargazy Pi (https://en.wikipedia.org/wiki/Stargazy_pie)

comment 2y ago · link · parent

Just waiting now for someone to find a spectre exploit in quantum mechanics.

comment 2y ago · link · parent

Some people, when they have a problem, think, “I know, I’ll use floating point.” Now they have 1.9999998 problems.

comment 2y ago · link · parent

It can't be any harder to search for than C.

comment 2y ago · link · parent

Well, what actually killed it historically was AMD64. AMD64 could easily not have happened, AMD has a very inconsistent track record; other contemporary CPUs like Alpha were never serious competitors for mainstream computing, and ARM was nowhere near being a contender yet. In that scenario, obviously mainstream PC users would have stuck with x86-32 for much longer than they actually did, but I think in the end they wouldn't have had any real choice but to be dragged kicking and screaming to Itanium.

comment 2y ago · link · parent

“Daft? Of course it’s daft - it’s traditional!” - Terry Pratchett

comment 2y ago · link · parent

Thanks. Strangely I'd never heard of this site before.

comment 3y ago · link · parent

Is there a (legal) way to get this book in pdf?

comment 3y ago · link · parent

Math is integer, unless declared real.

comment 3y ago · link · parent

"The awesome unstoppable terribleness that is Postel's Law."

Eloquence for the ages.

comment 3y ago · link · parent

1. Facebook has more than 10 times as many users as Twitter. They don't need to add new users, they just need to make it easy for FB users to also use Threads.

2. But the whole point here is that others aren't doing this any more. Threads isn't supposed to be an innovation, just a Twitter replacement. Twitter is dying, Mastodon is too complicated for non-geeks, BlueSky could have been a contender but they didn't get their act together quickly enough.

3. You're in a geek information bubble here. On the scale of social media, almost nobody cares about that sort of thing. I'd bet money that the overwhelming majority of FB users have never even heard of Zuckerberg.

comment 3y ago · link · parent

I believe I hear the sound of a True Scotsman knocking at the door.

comment 3y ago · link · parent

The big problem with AI R&D is that nobody can keep up with the big bux companies. It makes this kind of project a bit pointless. Even if you can run a GPT3-equivalent on a web browser, how many people are going to bother (except as a stunt) when GPT4 is available?

comment 3y ago · link · parent

Yeah, this. One of C++’s biggest problems has always been the number of people who have spent years writing C and think that qualifies them to write C++.

comment 3y ago · link · parent

"The first non-stop flights to Hawaii from mainland US"

(looks at map of Pacific)

Hang on ... where did the earlier ones stop?

1234567