News for hackers. Stuff that matters.

captaincrowbar

Re:Algebraic Effects for the Rest of Us on Saturday May 30, 2026 @05:21AM (#48334297)
‘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.

Re:Modern C++ Programming: Busato on Saturday May 02, 2026 @06:20PM (#47991174)
"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.

Re:Deploytarot.com – tarot card reading for deployments on Thursday March 26, 2026 @08:31PM (#47537662)
Has anyone got the hang of Thursdays yet?
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.
Re:NTSB Preliminary Report – UPS Boeing MD-11F Crash [pdf] on Friday November 21, 2025 @11:14AM (#46005828)
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.
Re: on Monday September 15, 2025 @07:14PM (#45256122)
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.
Re: on Monday September 15, 2025 @02:51PM (#45253524)
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.
Re:The Color of Noise (2014) on Sunday December 01, 2024 @09:55PM (#42292668)
Non-paywalled version on one of the authors' site:

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

Re:Borgo Programming Language on Friday November 29, 2024 @07:40AM (#42273445)
That doesn't make it open source, just "source available".
Re:Playground Wisdom: Threads Beat Async/Await on Saturday November 23, 2024 @04:15AM (#42219963)
"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.

Re:Battleships Logic Puzzle on Saturday October 26, 2024 @03:06AM (#41953105)
Broken in Safari on Sequoia, unfortunately.
Re:macOS Sequoia is available today on Monday September 16, 2024 @06:02PM (#41561526)
Does the command line to remove the quarantine flag (xattr -d com.apple.quarantine filename) still work?
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?
This looks useful but I'm worried about portability. Are there any plans for native Windows support?
I'm disappointed that they passed up the opportunity to call the project Stargazy Pi (https://en.wikipedia.org/wiki/Stargazy_pie)
Just waiting now for someone to find a spectre exploit in quantum mechanics.
Some people, when they have a problem, think, “I know, I’ll use floating point.” Now they have 1.9999998 problems.
Re:Princess: Coding Like Royalty on Thursday February 08, 2024 @02:12PM (#39306179)
It can't be any harder to search for than C.
Re:The Itanic Saga: The History of VLIW and Itanium on Wednesday January 24, 2024 @04:49AM (#39115522)
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.
“Daft? Of course it’s daft - it’s traditional!” - Terry Pratchett
Re:The bash book to rule them all on Sunday November 26, 2023 @12:51AM (#38419472)
Thanks. Strangely I'd never heard of this site before.
Re:The bash book to rule them all on Saturday November 25, 2023 @08:09PM (#38418347)
Is there a (legal) way to get this book in pdf?
Re:Is math real? on Monday September 25, 2023 @10:06PM (#37653416)
Math is integer, unless declared real.
Re:The world in which IPv6 was a good design on Monday August 14, 2023 @01:22AM (#37117738)
"The awesome unstoppable terribleness that is Postel's Law."

Eloquence for the ages.

Re:Threads, an Instagram App on Monday July 03, 2023 @11:35PM (#36581890)
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.

I believe I hear the sound of a True Scotsman knocking at the door.
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?
Re:The pool of talented C++ developers is running dry on Saturday February 04, 2023 @03:44AM (#34652854)
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++.
Re:Airport Runway Names Shift with Magnetic Field on Friday December 30, 2022 @01:40AM (#34182535)
"The first non-stop flights to Hawaii from mainland US"

(looks at map of Pacific)

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

Older »