HNHacker News
TopNewBestAskShowJobs

CamJN

308 karma · joined March 24, 2012

submissionscomments
CamJN··on Cheaper MacBook powered by iPhone chip coming in 2026, per new report
I think that ship has sailed. They already make iPads (the pro line) with M-class processors just like the laptops that run full-featured macOS. This change is to add laptops that run A-class processors like run the iPhone. If all Apple cared about with regards to what capabilities they expose in an OS was what processor was in a device then the iPad Pros would be able to run macOS, but they don’t view their products that way.
CamJN··on Intent to Deprecate and Remove XSLT
Maybe the blink or marquee tags? I’m pretty sure those don’t work anymore...
CamJN··on No I don't want to turn on Windows Backup with One Drive
I’ve never enabled iCloud backups and it has never pestered me about it after the initial iPhone setup process (the modern version of which doesn't even pester me then since it copies the setting from my last iPhone). I backup locally to my mac, which admittedly they made require a password each time now, which is a bit annoying, but it’s not asking me to enable icloud backups regardless.
CamJN··on The rules behing Rust functions
You can on Apple’s OSs, and some googling suggests you can do it on windows too if you save the image and open in the image viewer. Therefore I’d be surprised if you couldn’t get it working on various linux distros too...
CamJN··on Ditching GitHub (2024)
In my experience, no they won’t help with gdpr takedowns. The only way to make things unavailable is actually to file a dmca notice against any url that you want hidden. This was actually the recommended approach from GitHub when I asked them about this. Absurd.
CamJN··on Show HN: Mochi Invaders – Like Space Invaders but for Practicing Japanese Kana
If it isn’t too much trouble it would be nice to be able to disable the sounds, or have it respect the system mute state.
CamJN··on Google makes Android development private, will continue open source releases
I think you mean second most populous country? The second largest country is Canada and we definitely have Google Play Services, for what it’s worth.
CamJN··on Malware found on NPM infecting local package with reverse shell
It’s not just web dev: go, rust, swift, ruby, python none of them do any checking.

In fact the only repo I know of doing any checking is Java’s Maven/Sonotype and it’s automated not manual.

CamJN··on What the heck is MCP? And why is everybody talking about it?
It’s even worse than that, beyond power delivery and data speed which are at least mentioned in the product listing most of the time (even if they’re lying), USB-C also covers things like usb audio, which is never ever mentioned in the product listing and usually doesn’t work on cables that cost as much as $100. The only cables I’ve found that actually work for everything are Apple cables.
CamJN··on Tj-actions/changed-files GitHub Action Compromised – used by over 23K repos
You also need to block write access, so they can’t encrypt all your files with an embedded public key. And read access so they can’t use a timing side channel to read a sensitive file and pass that info to another process with internet privileges to report the secret info back to the bad guy. You get the picture, I’m sure.
CamJN··on Most people don't care about quality
Perhaps like me you are somewhat blue/black colour blind. It’s apparently a deficiency in rods in your eyes.
CamJN··on Most people don't care about quality
AAPL 3.785T > MSFT 3.134T. In the only measure that matters for American companies, Apple won.
CamJN··on AirPods Pro 2 hearing aid and hearing test features approved to launch in Canada
That’s an interesting idea, but I wonder, how would it know who you want to hear? Like if I’m sitting at a long table for a big family meal, I’d want to hear everyone, but if I’m sitting on a bus I’d like to only hear the person I know, sitting next to me. I can’t imagine there’s a good way to differentiate those situations.
CamJN··on AirPods Pro 2 hearing aid and hearing test features approved to launch in Canada
Not likely. It needs to build a profile of what sounds you can’t hear in order to know what to specifically make louder, if there’s nothing to specifically make louder, then the feature cannot work. Just turn up the volume, or increase the noise cancelling, or turn on voice isolation, or whatever you actually want it to do.
CamJN··on Fuckthis.app – Software products for exasperated people
https://apps.apple.com/app/id463565130

No bullshit solitaire.

CamJN··on Revolution: Google Password Manager Syncs Passkeys to Apple and Windows Devices
?? I use Firefox on my Mac, and I use Safari on my iPhone. My point was just that Firefox does integrate with Apple's passkeys.
CamJN··on Why bother with argv[0]?
On a related note, env vars do not have to be of the form key=value, they are arbitrary NUL-terminated byte strings just like the args.
CamJN··on Why bother with argv[0]?
This is near and dear to my heart. I wanted to make a utility to get the arguments of other processes, and found after looking that every single use of the KERN_PROCARGS2 sysctl (used on macOS) on the internet is wrong (they assume argv[0] is not an empty string), including Apple's and Google's. So after making my utility I also made a library out of it, both are bsd-3, but non-gratis: https://getargv.narzt.cam/
CamJN··on Revolution: Google Password Manager Syncs Passkeys to Apple and Windows Devices
I use my iCloud passkeys from Firefox Developer Edition without relying on an extension, so it’s implemented there at least. Dunno about “stable” Firefox.
CamJN··on Ask HN: Which movies did you watch multiple times?
Alien, Jurassic Park, The Harry Potter films
CamJN··on The secret weapon of Bash power users
It’s control+r on macOS too, one of the nicest things about macOS is that command and control are separate so they don’t interfere. So for example control+c in Terminal.app sends SIGINT, and command+c copies and there’s no ambiguity.
CamJN··on Organizing multiple Git identities
Here's pretty much what I do:

ssh config:

    Host github.com gist.github.com
      Hostname %h
      User git
      RequestTTY no
      RemoteCommand none
      IdentitiesOnly yes
      ControlMaster no

    Match host github.com,gist.github.com exec "~/Developer/C/getargv/bin/getargv -0 -s 1 $PPID | env POSIXLY_CORRECT=1 xargs -0 getopt '46AaCfGgKkMNnqsTtVvXxYyB:b:c:D:E:e:F:I:i:J:L:l:m:O:o:p:Q:R:S:W:w:' | perl -pe 's|.*? -- ||' | fgrep -e username1"
      IdentityFile ~/.ssh/keys/github_rsa

    Match host github.com,gist.github.com exec "~/Developer/C/getargv/bin/getargv -0 -s 1 $PPID | env POSIXLY_CORRECT=1 xargs -0 getopt '46AaCfGgKkMNnqsTtVvXxYyB:b:c:D:E:e:F:I:i:J:L:l:m:O:o:p:Q:R:S:W:w:' | perl -pe 's|.*? -- ||' | fgrep -e company2"
      IdentityFile ~/.ssh/keys/github_rsa2
I set the common github configs in the top Host block, then each Match block looks at the arguments passed to ssh, parses them, and checks for the github username and if it matches, sets the correct key.

The ~/Developer/C/getargv/bin/getargv program is just an implementation of `cat /proc/$PPID/cmdline` for macOS, on linux you don't need a separate tool.

This works for cloning, pushing, pulling, etc.

CamJN··on Ask HN: Anyone Using MacBook Air M2 24GB for Developement?
You can use usbc to charge, as well as MagSafe.
CamJN··on Toyota blames factory shutdown in Japan on ‘insufficient disk space’
Since apfs, “large” empty files can also take only the 4K or so for the fs entry on disk, gotta make sure it’s not a sparse file, and doing so is a bit tricky, better to fill it with junk that doesn’t compress well.
CamJN··on “Web Environment Integrity”: Locking Down the Web
Brave is a man-child’s tantrum that he had to face the consequences of being a bigot.
CamJN··on “Web Environment Integrity”: Locking Down the Web
I mean, chrome is the slowest js engine at the moment: https://treeherder.mozilla.org/perfherder/graphs?timerange=3...
CamJN··on Dear websites, stop asking for ransom sign-ups
MacOS can convert between pretty much any reasonable combination of formats using its automation/shortcuts framework. RTF→HTML→word or HEIC→jpg→png, whatever.
CamJN··on Dear websites, stop asking for ransom sign-ups
Every carrier in canada and the USA sells this info for insultingly low prices.
CamJN··on The Case for Bash (2021)
Just span up a clean alpine linux container and installed python3, it added 51MB according to apk.
CamJN··on Re-Victimization from Police-Auctioned Cell Phones
You can change the associated apple id password using only the phone pin, then use that to disable activation lock & find my phone, then the phone is fully yours. Most people use easily guessable pins.
← PreviousPage 2 of 5Next →