News for hackers. Stuff that matters.

Crestwave

Re:Apple: Switch to Safari (From Chrome) on Wednesday October 14, 2026 @06:50AM (#50085546)
The first iteration has a 100% chance of being marked as a winner. It only balances out to the same odds as a random selection because of the chances of it getting overwritten by the succeeding files.
Re:Decapitating a MacBook on Monday September 07, 2026 @10:06PM (#49604915)
There is a setting for it, it's just not exposed in the GUI.

sudo pmset -a disablesleep 1

As mentioned by the other commenter, `caffeinate -s` also works, but with the caveat that a) the command has to be running and b) the laptop has to be plugged in to power. Configuring disablesleep=1 completely prevents sleep and lasts until you manually configure it back to 0.

Re:GrapheneOS Overhauled Default Apps and Secure Clipboard on Sunday September 06, 2026 @09:39PM (#49592820)
Their post history has several posts related to PostmarketOS on the Fairphone, so kind of, possibly? pmOS does have Waydroid to run Android apps, though, which also relies on AOSP.
Haven't they? Tahoe was released which had quite a negative reception, widely considered a regression in terms of performance and UI/UX, while Linux has been gaining significant traction (especially in the gaming space).
Re:A shell exclamation mark is not for yelling. Be lazy. on Thursday August 13, 2026 @04:23AM (#49283113)
Ctrl-P-A then typing sudo is just as easy, it's simply up to preference
HN has an official API that returns JSON objects.

Meanwhile Google actively blocks and attempts to pursue legal action against scrapers. Not to mention prohibiting it through TOS (getting your Google account revoked can be life-ruining for many people).

Re:Leaking YouTube creators' private videos on Saturday July 04, 2026 @10:00PM (#48790682)
The scenario described in the OP does not involve commenting on a private video. It involves commenting on any public video, then the uploader clicks on a suggested prompt in YouTube Studio which supposedly processes the comment and creates a URL with the title of a different video.
Re:I Hate (Most) Keyboard 'Fn' Keys on Wednesday June 10, 2026 @10:29AM (#48476849)
Check out Scroll Reverser; it's a tiny, open source app that solves exactly this.

There are some other alternatives like BetterTouchTool if you want some other changes like gestures, but as far as this specific problem goes you can just `brew install scroll-reverser`, set up the settings you want and forget about it. Life is too short to deal with this nonsense which is clearly designed to sell the Magic Mouse.

https://pilotmoon.com/scrollreverser/

Re:Rubish: A Unix shell written in pure Ruby on Saturday May 23, 2026 @07:38AM (#48246819)
> little do they know Ruby is a slower language than Go

Isn't it generally expected for a feature-packed interpreted language to be slower than a minimal compiled language?

`caffeinate` is primarily designed to prevent sleeping due to inactivity. It doesn't prevent sleeping due to lid closure while on battery.

`sudo pmset -b disablesleep 1` (0 to revert) works, although it doesn't exactly roll off the tongue.

Re:Tangled – We need a federation of forges on Thursday April 30, 2026 @05:27AM (#47960097)
Not really. From my understanding, in AP, your account belongs to an instance and your data is then synced to other servers. If the instance goes down, your account is gone.

In ATP, your data is stored in the "Atmosphere", hosted on decentralized "Personal Data Servers" (PDS). The app then simply parses and filters that data. They can apply moderation actions by choosing not to display or read certain posts, but your data still exists and another app could choose to display it. Similarly, if the app goes down, your data is still perfectly intact in the Atmosphere.

It might then seem like the PDS is equivalent to an AP instance, but as mentioned, they are decentralized. Identity is verified through signatures, so if your PDS goes down, you can migrate to a new one as long as you have your signing keys. Therefore, the account belongs to you and not any specific server.

Re:Your hex editor should color-code bytes on Thursday April 23, 2026 @07:23PM (#47883546)
Ah, right. It would have to be `strings -n 1`, then.
Re:Your hex editor should color-code bytes on Thursday April 23, 2026 @07:21PM (#47883524)
The implication is that the random-looking data did not contain ASCII characters other than the parts of the flag
Re:Your hex editor should color-code bytes on Thursday April 23, 2026 @10:47AM (#47876388)
Wouldn't strings(1) have worked for this?
Re:Your hex editor should color-code bytes on Thursday April 23, 2026 @10:43AM (#47876338)
That would be expected for encodings or container file formats. Straight-up encryption like AES produces results that are visually indistinguishable from random data.
It works often enough for the company to be wildly successful. They can simply cut their losses and withdraw from industries where it hasn't, such as EVs.
Yeah, user edits/deletes are locked after 2 hours. You can email [email protected] to request an edit past the initial window.
Re:Hide macOS Tahoe's Menu Icons on Saturday March 21, 2026 @08:09PM (#47472939)
Here's an in-depth analysis (also linked in the OP): https://tonsky.me/blog/tahoe-icons/
Static linking packs the dependencies into the executable. This is basically dynamic vendoring.
Re:Apple Introduces MacBook Neo on Wednesday March 04, 2026 @09:49PM (#47256886)
Good to hear. What hypervisor are you using (UTM, VMWare, Parallels)?
Re:Show HN: 3D Mahjong, Built in CSS on Sunday February 22, 2026 @07:50PM (#47116619)
A "free side" means being exposed on the left or right, matching your Wikipedia quote. On the other hand, OP's implementation checks if it can be moved up or down.
I quite like Shelter [1]. Shelter apps are installed in a separate work profile, which essentially sandboxes it from the rest of your data. It also has a neat feature to automatically disable (freeze) specific apps and seamlessly re-enable them when you launch them through Shelter.

[1] https://github.com/achalmgucker/Shelter

What edition are you using? The home edition straight-up has pop-up ads[1] for random Xbox games, even on a clean install with all notification settings turned off.

[1] https://www.reddit.com/r/WindowsHelp/comments/1j77ro8/window...

Re:uLauncher on Sunday February 08, 2026 @11:03PM (#46941444)
Thanks for the clarification (and your work on Olauncher)! I knew I should have checked the source code before posting my comment. I don't think they need to be removed, but I would appreciate an option to disable them.
Re:uLauncher on Sunday February 08, 2026 @08:25AM (#46933995)
The launcher itself is also very clean and minimal, with a text-only UI. You can pin up to 8 apps to the home screen and the rest are accessible through search. You trigger search with a swipe, and when only a single matching app remains for your query, it automatically opens it, making it pretty efficient.

E.g., if you don't have Firefox pinned, you can swipe and type "fir" (or any other unique substring) and it will open just like that. It's great for muscle memory.

My only complaint with it is that the developer sometimes sends messages (e.g., happy new year) and there doesn't seem to be any way to disable it. I don't see why a minimal launcher should have internet access at all.

Re:We tasked Opus 4.6 using agent teams to build a C Compiler on Thursday February 05, 2026 @08:04PM (#46907703)
Yes, but Anthropic is specifically claiming their implementation is clean-room, while GNU never made that claim AFAIK.
Re:We tasked Opus 4.6 using agent teams to build a C Compiler on Thursday February 05, 2026 @07:59PM (#46907660)
Clean-room design is extremely specific. Anyone who has so much as glanced at Windows source code[1] (or even ReactOS code![2]) is permanently banned from contributing to WINE.

This is 100% unambiguously not clean-room unless they can somehow prove it was never trained on any C compiler code (which they can't, because it most certainly was).

[1] https://gitlab.winehq.org/wine/wine/-/wikis/Developer-FAQ#wh...

[2] https://gitlab.winehq.org/wine/wine/-/wikis/Clean-Room-Guide...

Re:Termux on Monday February 02, 2026 @07:43PM (#46864645)
Nope, it comes with apt. You might be referring to iSH on iOS, which does use Alpine in a VM.
The script you posted is only portable in theory and not in practice. Executing it while using a non-POSIX shell like Elvish (even without having it as a default shell) makes it immediately fail.

Meanwhile, `#!/usr/bin/env` is completely portable in the practical sense. Even systems with non-standard paths like NixOS, Termux and GoboLinux patch in support for it specifically.

Older »