HNHacker News
TopNewBestAskShowJobs

Aaron2222

509 karma · joined January 4, 2022

submissionscomments
Aaron2222··on Never buy a .online domain
Radix is the registry for .online, not the registrar they bought the domain from.
Aaron2222··on Don't create .gitkeep files, use .gitignore instead (2023)
> The \n won't be interpreted specially by echo unless it gets the -e option.

Author's probably using Zsh, which interprets them by default.

Aaron2222··on ASCII characters are not pixels: a deep dive into ASCII rendering
This loop is similarly suspect:

  let maxValue = value;
  for (const externalIndex of AFFECTING_EXTERNAL_INDICES[i]) {
    maxValue = Math.max(value, externalSamplingVector[externalIndex]);
  }
Aaron2222··on It's hard to justify Tahoe icons
All 14" and 16" MacBook Pros (which is all Apple Silicon MacBook Pros except the 13" ones with base M1 or M2) have an SD card reader.
Aaron2222··on Report: Microsoft kills official way to activate Windows 11/10 without internet
As per the article:

  Now when trying to activate the OS by attempting to call the phone number for Microsoft Product Activation, an automated voice response says the following: "Support for product activation has moved online. For the fastest and most convenient way to activate your product, please visit our online product activation portal at aka.ms/aoh"
It does require logging in (to the website) with a Microsoft account, but Microsoft claims:

  By logging in with your account, it will not associate the account to the licenses.
From there, it's just a web version of phone activation (you enter your Installation ID and presumably they give you the Confirmation ID). No idea what happens when moving a licence between machines (with phone activation, the automated process would fail due to the existing activation and you'd be handed off to someone in a call center who would generate the Confirmation ID for you).
Aaron2222··on JetBrains cancels Fleet
A lot of core functionality is implemented as bundled plugins (they ship with the IDE, but can receive updates separately). They can also be independently disabled (and older versions used to come with only some enabled and ask you which others you want enabled at first launch).
Aaron2222··on Addressing the adding situation
This trick is something we teach our students when we do 6809 assembly (mainly as a trick to do addition on the index registers). I had no idea it was used as an optimisation in x86.
Aaron2222··on Markdown is holding you back
Tinymist in VS Code does this out of the box (and looks like it can be set up in other editors). That or you can configure it to save out a new PDF automatically on save or as you edit the document and just open it in a PDF viewer that'll reload when the file changes.
Aaron2222··on Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software
The loss of the --no-gatekeeper option isn't that big of a deal. It just removed the com.apple.quarantine xattr from the installed cask (which you can easily do yourself, or just allow the app from System Settings after Gatekeeper blocks it).

The more impactful change is the move to require all casks[0] (not just new ones) to pass Gatekeeper checks (so signed and notarized through the Apple Developer Program)[1][2]. There are a multitude of open-source applications which aren't signed and notarized through the Apple Developer Program (some due to the $99 per year cost, some due to needing to provide a legal identity and having that in the certificate, some who object to needing to do it at all). What this means is that you'll have to install these manually or use a 3rd-party tap (package repository) to install them.

Of course, Apple could solve this by providing a way for open-source projects to sign and notarize their apps without having to pay $99 per year and associate a legal identity. They've already got Xcode Cloud, they could allow use of that to build, sign, and notarize only from the publicly available source.

[0]: These are GUI applications (i.e. .app), where Homebrew downloads the official build of the app. CLI tools are done differently (the Homebrew project builds these from source), and nothing's changing there.

[1]: https://github.com/orgs/Homebrew/discussions/6334

[2]: https://github.com/orgs/Homebrew/discussions/6482

Aaron2222··on Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software
> Apple Silicon won’t run unsigned apps anyway.

Technically true, but misleading. The macOS kernel won't execute an Apple Silicon binary that doesn't have a signature, but as Apple documents, an ad-hoc signature is enough to meet that requirement. That won't get you past Gatekeeper, but that's no different to how it is with unsigned Intel binaries.

Aaron2222··on Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software
1. Yes. (Either that or they know something we don't about Apple's future plans.) 2. No, as Gatekeeper checks both for a valid signature from an Apple Developer Program certificate as well as notarization.
Aaron2222··on Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software
To clarify, the macOS kernel requires a signature on all Apple Silicon binaries, but this can just be an ad-hoc signature. Ad-hoc signed Apple Silicon applications are treated much the same as unsigned Intel ones.
Aaron2222··on Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software
> i can't even just install and run the docker CLI--docker on Mac requires Desktop and commercial use of Desktop requires a license.

That's not on Apple. Docker needs the Linux kernel (for Linux containers), so it's no different to needing something like Docker Desktop to use Docker on Windows. Yeah, Docker changed the license on Docker Desktop, but there's plenty of alternatives (Podman Desktop, Rancher Desktop, Colima, Apple's own container tool, or just running a Linux VM in Lima).

Aaron2222··on Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software
While it is true that macOS requires binaries to have a digital signature, that can just be an ad-hoc signature. Other than that, not much has changed. Gatekeeper (and the ability to bypass it for specific apps/binaries) works much the same for unsigned Intel binaries as for ad-hoc signed Apple Silicon binaries.
Aaron2222··on iPhone Pocket
So iPod Socks[0], but with a strap?

[0]: https://en.wikipedia.org/wiki/IPod_Socks

Aaron2222··on I hate screenshots of text
Apple's had Universal Clipboard since 2016 (so 9 years) with macOS Sierra and iOS 10.
Aaron2222··on AOL to be sold to Bending Spoons for $1.5B
ChatGPT is another.
Aaron2222··on Researchers demonstrate centimetre-level positioning using smartwatches
Reading the paper[0], they're getting position data at 1s intervals, and ran it for 4h to show repeatable centimetre-level precision over that time period.

[0]: https://link.springer.com/content/pdf/10.1007/s10291-025-019... (note that the results using only the internal GNSS antennas are further into the paper)

Aaron2222··on An overengineered solution to `sort | uniq -c` with 25x throughput (hist)

  sort | uniq -c | sort -n
The second sort is sorting by frequency (the count output by `uniq -c`).
Aaron2222··on Typst 0.14
So do most package managers...
Aaron2222··on Typst 0.14
If you're not going to use the web app, you may as well sponsor them through GitHub instead. Also, you get stickers that way.
Aaron2222··on TextEdit and the relief of simple software
You can fix this with:

  defaults write -g NSDocumentSaveNewDocumentsToCloud -bool false
You can also have apps default to a blank document instead of the open dialog:

  defaults write -g NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
Aaron2222··on RFC 9839 and Bad Unicode
The DEC VT241 from 1984 had colour.

https://terminals-wiki.org/wiki/index.php/DEC_VT240

https://www.1000bit.it/ad/bro/digital/DECVT240.pdf

Aaron2222··on MacBook Pro Insomnia
> There is an open source app, Amphetamine

BTW, Amphetamine isn't open source, just freeware.

Aaron2222··on Tiny macOS utility that mirrors an external monitor in a resizable window
As in creating a virtual display and mirroring that into a window (instead of mirroring an existing display)? There was an HN post[0] about a piece of software called DeskPad about 8 months ago that does exactly that.

BetterDisplay can also do both, as well as a truckload of other things (some free, some paid).

[0]: https://news.ycombinator.com/item?id=41800602

Aaron2222··on Using Microsoft's New CLI Text Editor on Ubuntu
Terminal.app has a setting "Use Option as Meta Key" that needs to be enabled. It's under the Edit menu as well as in Settings > Profiles > Keyboard (if you want, you can click use Command-A to select all the profiles to apply the change to all of them at once). Ghostty will have a similar option.

Also surprised you haven't encountered this earlier, given it affects all usage of Alt in the terminal.

Aaron2222··on How the BIC Cristal ballpoint pen became ubiquitous
They're still very common in NZ.
Aaron2222··on How the BIC Cristal ballpoint pen became ubiquitous
Came here to say the same thing. BIC Cristals are quite uncommon in my (also NZ) experience, but the BIC Clics are everywhere.

EDIT: Apparently also referred to as the BIC M10. Not to be confused with the BIC Clic Stic they apparently sell in the US.

Images for reference:

- https://i.redd.it/j0yd36jxfr5e1.jpeg

- https://imgur.com/lLPyqqF

- https://www.youtube.com/watch?v=-A6xZLNzBYE&t=531s

Aaron2222··on Show HN: DIY virtual HDMI monitor using "AR" glasses
> What other solutions do exist out there?

Xreal One and One Pro have this built into the glasses themselves. The Xreal Eye camera is meant to add on-glassed 6DOF tracking as well.

Aaron2222··on Apple's Craig Federighi on the long road to the iPad's Mac-like multitasking
But that would mean *shudder* Apple using their control of the App Store for consumer good instead of corporate greed.
Page 1 of 10Next →