News for hackers. Stuff that matters.

ddalcino

Re:Patrick Stewart has died on Thursday October 29, 2026 @08:04PM (#50298035)
I'm pretty sure I remember a few episodes that explained that by this point, humanity had evolved past character flaws like avarice. Star Trek's Earth was a utopia because of qualities in the people that lived in it, not lack of scarcity. The subject came up because the crew was interacting with alien species that was not as evolved, and therefore was not living in a utopia.
Re:How to speed up the Rust compiler in September 2026 on Thursday October 01, 2026 @10:48AM (#49922396)
Gonna have to name my next project Penelope Hammertime, or at least Pineapple Häagen-Dazs.
Re:Thunderbird Littering My Home on Monday June 08, 2026 @04:25PM (#48451389)
Reminds me of this other post (https://news.ycombinator.com/item?id=48447935), which suggests the following solution:

If you create your own `~/thunderbird` directory, then Thunderbird will stop littering your home directory.

Re:I just want working RCS messaging on Wednesday November 19, 2025 @11:30AM (#45981555)
That’s what I thought too. The author appears to have tried every obvious debugging step, except for switching away from US Mobile.

I’ve been using US Mobile myself for a little over a year, and I remember a period of about 2-3 months where most carriers had implemented RCS for iOS on their services, but US Mobile had not, so I couldn’t use RCS for a while. I don’t know what they had to implement to get RCS working on iOS, but it’s possible that their implementation does not work with iOS 26.

Re:Powers of 2 with all even digits on Thursday March 20, 2025 @11:37AM (#43424761)
I think you forgot one.
Re:A Perplexing JavaScript Parsing Puzzle on Wednesday March 12, 2025 @04:26PM (#43347327)
You can also use “shift + enter” to add a newline to your input, without telling the browser to take your input yet.
Re:1991 WWW-NeXT Implementation on Friday August 02, 2024 @07:29PM (#41143536)
Maybe someone here can do it, but I can't. The Makefile tries to include something at `/usr/lib/nib/app.make`, and I don't have anything there.

There are some clues at https://unix.stackexchange.com/questions/444717/how-to-compi... but I'm not sure I'm willing to dive down that rabbit-hole.

Re:00Key a 75% Keyboard on Friday May 03, 2024 @11:02AM (#40248470)
Nicely done! I thought I was cool when I soldered my kit keyboard from KBDFans; now I gotta step up my game!

Do you have a .GIF for that rotating rainbow effect, or a sound test?

Re:GitHub Renamed Me (2014) on Wednesday November 22, 2023 @12:09PM (#38381911)
Sounds like a believable explanation.

> I created my account two years ago in anticipation of being able to open-source more code and I wanted to reserve my name; I had a couple of forked repos but that's it.

Re:GitHub Renamed Me (2014) on Wednesday November 22, 2023 @12:04PM (#38381839)
This is from 2014. Was there ever any resolution to this? I don’t see any previous discussions about this on HN.
Re:Taos Operating System (1995) on Monday August 21, 2023 @07:09PM (#37216563)
Thanks for that; this was a bit before my time. Here’s the link, if anyone wants to be entertained: https://opensource.com/life/12/5/whats-beefy-miracle-anyway-...
That will just make her mad. Then she’ll steal your kayak.
Archive.org link: https://web.archive.org/web/20230608135300/https://leanerclo...

I think it got the HN hug of death

Re:Why Do Game Developer Prefer Windows? on Friday June 02, 2023 @10:52AM (#36165909)
Oops, looks like I am the 18th person to post this in 12 years: https://hn.algolia.com/?q=why+do+game+eevelopers+prefer+wind...
Re:Why Do Game Developer Prefer Windows? on Friday June 02, 2023 @10:22AM (#36165468)
I spotted this while reading a wonderful account of the history of 3d graphics in games at https://www.filfre.net/2023/05/the-next-generation-in-graphi... ; I thought it was worth sharing!
Would you care to elaborate on what went wrong? The other comments here make ‘automatic emergency braking’ sound like a really good idea, and it’s hard for me to imagine that this particular feature would be so problematic.

If you’re talking about other automatic steering features, that’s very different, and your comment makes more sense to me.

Re:The shortest pull request ever on Wednesday October 05, 2022 @05:44PM (#33101586)
> Byte Order Marks have stolen hours and days of my life.

Me too, to some degree. I have discovered them in a Ruby code base at work, in the middle of a line of code (copy pasted), where the Ruby interpreter thinks they are undeclared identifiers. When the code runs, it throws an exception every time that complains of “Undeclared identifier `‘”.

The dad-joke of it is that “You gotta sweep for BOMs before they blow up your code.”

As a US citizen, I read it as 45 miles, which is as terrible as I would expect from Facebook.
Re:Windows 96 on Tuesday July 27, 2021 @10:19PM (#27979704)
In middle school I was taught that 5.25" diskettes were "floppies", and 3.5" diskettes were "hard disks", because of the hard plastic case. It was awesome.
I’ve been involved with two different open source projects where, within the last couple of months, users have opened issues complaining about the shell prompts in the documentation, or PRs removing them, because it makes it too hard to copy-paste commands. The PRs were accepted over my objections.

I was taught that you NEVER copy paste anything from the internet into a terminal. You learn what the commands do, and you type them yourself.

Am I just old?

Re:A case against security nihilism on Tuesday July 20, 2021 @05:48PM (#27899832)
What’s with the backlash against Rust? It literally is “just another language”. It’s not the best tool for every job, but it happens to be exceptionally good at this kind of problem. Don’t you think it’s a good thing to use the right tool for the job?
Re:Named Parameters in C++20 on Monday September 07, 2020 @02:31PM (#24401445)
You don’t need to lower the optimization level to see what happens at the call site: you can turn the function ‘blub’ into a function prototype. The optimizer cannot in-line your code if it isn’t available.

https://www.godbolt.org/z/sj11rc

Re:Grim C++ Tales from the Crypt: The Visitor Pattern (2017) on Wednesday March 06, 2019 @11:57AM (#19320432)
If you build your visitor out of lambdas, instead of a struct, you can propagate local state to the visitor easily by using lambda captures. There are good examples of this approach at https://en.cppreference.com/w/cpp/utility/variant/visit
Re:Grim C++ Tales from the Crypt: The Visitor Pattern (2017) on Wednesday March 06, 2019 @11:32AM (#19320141)
Until C++2z rolls out with match support, you can roll your own. Nikolai Wuttke gave a lecture at MeetingCpp 2018 (https://www.youtube.com/watch?v=CELWr9roNno) that presents code that lets you do this:

    // Client visitor code
    match(
      thingy,
      [](const PurpleThingy& ) {std::cout << "purple thingy\n";},
      [](const LittleThingy& ) {std::cout << "little thingy\n";},
      [](const auto& ) {std::cout << "any other type\n";}
    );

Working example: https://coliru.stacked-crooked.com/a/dfed39bc7fcdfb01