HNHacker News
TopNewBestAskShowJobs

captaincrowbar

1,162 karma · joined May 24, 2010

submissionscomments
captaincrowbar··on Algebraic Effects for the Rest of Us
‘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.

captaincrowbar··on Modern C++ Programming: Busato
"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.

captaincrowbar··on DeployTarot.com – Tarot card reading for deployments
Has anyone got the hang of Thursdays yet?
captaincrowbar··on Typechecking is undecideable when 'type' is a type (1989) [pdf]
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.
captaincrowbar··on NTSB Preliminary Report – UPS Boeing MD-11F Crash [pdf]
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.
captaincrowbar··on Show HN: I reverse engineered macOS to allow custom Lock Screen wallpapers
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.
captaincrowbar··on Show HN: I reverse engineered macOS to allow custom Lock Screen wallpapers
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.
captaincrowbar··on The Color of Noise (2014)
Non-paywalled version on one of the authors' site:

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

captaincrowbar··on Borgo Programming Language
That doesn't make it open source, just "source available".
captaincrowbar··on Playground Wisdom: Threads Beat Async/Await
"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.

captaincrowbar··on Battleships Logic Puzzle
Broken in Safari on Sequoia, unfortunately.
captaincrowbar··on macOS Sequoia is available today
Does the command line to remove the quarantine flag (xattr -d com.apple.quarantine filename) still work?
captaincrowbar··on Gpu.cpp: A lightweight library for portable low-level GPU computation
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?
captaincrowbar··on Gpu.cpp: A lightweight library for portable low-level GPU computation
This looks useful but I'm worried about portability. Are there any plans for native Windows support?
captaincrowbar··on Pi Gazing is a project to build meteor cameras using Raspberry Pi
I'm disappointed that they passed up the opportunity to call the project Stargazy Pi (https://en.wikipedia.org/wiki/Stargazy_pie)
captaincrowbar··on Unix forking the universe by running IBM's free online quantum computer
Just waiting now for someone to find a spectre exploit in quantum mechanics.
captaincrowbar··on How Mandelbrot set images are affected by floating point precision
Some people, when they have a problem, think, “I know, I’ll use floating point.” Now they have 1.9999998 problems.
captaincrowbar··on Princess: Coding Like Royalty
It can't be any harder to search for than C.
captaincrowbar··on The Itanic Saga: The History of VLIW and Itanium
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.
captaincrowbar··on The persistence of tradition: the curious case of Henry Symeonis
“Daft? Of course it’s daft - it’s traditional!” - Terry Pratchett
captaincrowbar··on The bash book to rule them all
Thanks. Strangely I'd never heard of this site before.
captaincrowbar··on The bash book to rule them all
Is there a (legal) way to get this book in pdf?
captaincrowbar··on Is Math Real?
Math is integer, unless declared real.
captaincrowbar··on The world in which IPv6 was a good design (2017)
"The awesome unstoppable terribleness that is Postel's Law."

Eloquence for the ages.

captaincrowbar··on Threads, an Instagram app
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.

captaincrowbar··on Ask HN: What is new in algorithms and data structures these days?
I believe I hear the sound of a True Scotsman knocking at the door.
captaincrowbar··on Could you train a ChatGPT-beating model for $85k and run it in a browser?
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?
captaincrowbar··on The pool of talented C++ developers is running dry
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++.
captaincrowbar··on Airport runway names shift with magnetic field
"The first non-stop flights to Hawaii from mainland US"

(looks at map of Pacific)

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

captaincrowbar··on The strange case of Britain’s demise
When New Zealand went shopping for a new electoral system in the 1990s, we ended up with one based closely on the German model, including the 5% threshold. The Israeli parliament was frequently pointed to as an Awful Warning of what would happen if we din't have the threshold.
Page 1 of 7Next →