HNHacker News
TopNewBestAskShowJobs

wwalexander

1,206 karma · joined February 10, 2016

submissionscomments
wwalexander··on Sweet Jeebus, macOS 27 Golden Gate Removes the Dumb Icons from Menu Items
Icons in menu bars serve the same purpose as icons elsewhere: quickly identifying buttons. I don't know why this is such a big deal.
wwalexander··on Siri AI
Poste Italiane is not.
wwalexander··on It's hard to justify buying a Framework 12
> This is about setting keyboard shortcuts for custom actions for applications, not window traversal on the desktop.

The "All Applications" section lets you define global shortcuts. As long as there is a menu bar item for it (in this case, one from the Window menu) you can define a shortcut for it.

wwalexander··on It's hard to justify buying a Framework 12
> cannot be traversed with keyboard shortcuts

Yes, it can: https://support.apple.com/guide/mac-help/mac-window-tiling-i...

You can define additional shortcuts in Keyboard settings: https://support.apple.com/guide/mac-help/create-keyboard-sho...

wwalexander··on Where does next-token prediction leave us?
Who do you think is going to throw food at you?
wwalexander··on Jira Is Turing-Complete
AIs can barely handle PKCE OAuth flow. It’s not very hard to confuse them.
wwalexander··on BBEdit 16
Thank you very much for this recommendation! Most of my work is in Xcode, and in an ideal world Xcode would just support third-party syntax highlighting (or LSP), and I've been looking for a Mac-assed simple editor for those scenarios where I just want basic syntax support for a random text file. CotEditor is perfect!
wwalexander··on No way to parse integers in C (2022)
Arbitrary precision arithmetic (GMP, BigInteger, etc). Numbers can take arbitrary amounts of memory, instead of just a single machine word.
wwalexander··on Native all the way, until you need text
Just use AttributedString
wwalexander··on GameStop makes $55.5B takeover offer for eBay
“Implicitly implied” is redundant. Either of these phrasings would suffice:

> It is implicit in many comments.

> It is implied in many comments.

wwalexander··on The Rise of the Em-Dash in Hacker News Comments
Apple’s text inputs usually autocorrect double hyphens to em dashes.
wwalexander··on Cherri – programming language that compiles to an Apple Shortuct
I take it this only supports Apple’s built-in actions, and doesn’t plug into the broader AppIntents system? AppIntents includes a packaging concept, would be cool to see if this could use third-party AppIntents in a similar way to how scientific Python uses C modules for performance critical sections.
wwalexander··on Swift 6.3
Re: module name selectors, wasn't this already possible, e.g. ModuleA.getValue()? Though I suppose this disambiguates if you also have a type called ModuleA.
wwalexander··on 'The tyranny of apps': those without smartphones are unfairly penalised
While doing Instacart deliveries here in Maine, I dropped off a leave-at-the-door order which requires uploading a picture of the shopping bags at the entrance. However, there wasn’t any service in the rural area I was delivering to, and the app required a connection to even open the camera interface. So I had to drive away down the road until I had service, open the camera, drive back to the delivery point, take the picture, then drive away again to upload the picture and complete the order.
wwalexander··on "Homotopical macrocosms for higher category theory" identified as woke DEI grant
Why has this post been flagged? Category theory is extremely relevant to programming and this post has plenty of points and comments. Any thoughts dang?
wwalexander··on Vanishing Culture: Punch Card Knitting
I don’t know what I thought CNC stood for (something with Cutting in the name presumably) but I definitely didn’t think it stood for Computer Numerical Control.
wwalexander··on The letter ℘: name and origin? (2017)
I would say that Go is extremely explicit, but I wouldn’t say it’s verbose.

Or, I suppose you could say that Go is semantically verbose (explicit error handling, no/low use of generics, no operator overloading), but syntactically concise (short variable names). Swift is the opposite, being semantically concise (extremely heavy use of generics, default arguments) but syntactically verbose (labeled arguments, English-like clauses, result builders).

wwalexander··on The letter ℘: name and origin? (2017)
I also find it frustrating, but I’ve come to appreciate that it’s a way to at least partially sidestep the hard problem of naming things. There are still idioms and choices to make, but using abstract symbols makes it easier to play with the abstract concepts being presented.

My most-used programming language is Go, but I’ve been writing mainly Swift for the past year or so. While there’s a lot I like about Swift, its verbosity leads me to waste an inordinate amount of time pondering what the correct verbiage ought to be, and I often miss Go’s more terse, often single-character naming convention.

wwalexander··on The history of Unix's ioctl and signal about window sizes
I believe this stems from C originally only having 8 significant characters for identifiers.
wwalexander··on An Update on Apple M1/M2 GPU Drivers
Alyssa Rosenzweig deserves a Turing Award!
wwalexander··on Apple Introduces M4 Pro and M4 Max
I’ll admit the builder DSL stuff is a bit of a Turing tarpit for me. I may have wasted the day yesterday trying to implement a BNF grammar DSL.
wwalexander··on Apple Introduces M4 Pro and M4 Max
Seriously, I keep waiting for the FOMO to kick in but the M1 is still so great that I don’t have any.

The only hiccups I ever have are resolving Swift result builder types…perhaps SwiftUI is just a big ploy to burn up all the extra CPU cycles.

wwalexander··on New iMac with M4
> They also did move the Magic Keyboard and Magic Mouse to USB-C.

Only for the bundled peripherals, it seems. The Apple Store now only lists the full-size Lightning keyboard without Touch ID in white, which is even worse than before when you could get various permutations of tenkeyless, Touch ID, and black.

wwalexander··on Canvas Fingerprinting
> Browser plugs fingerprint privacy randomizer
wwalexander··on Pretty.c
I don’t know why “repeat” isn’t very common in place of while/loop/etc; it works out nicely grammatically.

    repeat {}
    repeat while <condition> {}
    repeat {} while <condition>
    repeat <count> {}
wwalexander··on Show HN: I built a task manager that separates "do" and "due" dates
Very important distinction! Apple recently added an “Early Reminder” feature that allows similar functionality which I am very grateful for.
wwalexander··on The useful use of cat
Something worth noting that I just noticed: on macOS (zsh), <somefile on its own seems to automatically page the output, whereas cat will simply print the entire file.

So I think I’d definitely tend to prefer <somefile when building up a pipeline. But certainly nobody should be shamed for doing things in the way that feels familiar and ergonomic to them!

wwalexander··on QUIC is not quick enough over fast internet
Check out mcmaster.com for an example of a highly optimized website using JS strictly to improve performance.
wwalexander··on The useful use of cat
You can still just begin with <somefile instead of cat somefile |. Does it really matter? No, but I don’t think pointing out useful and concise built-ins is necessarily asinine.
wwalexander··on Apple Passwords’ generated strong password format
I hear a lot of complaints about Apple’s generated passwords, but I like them a lot and find them quite easy to memorize for the reasons listed in the article.

Safari also (sometimes) can recognize when “special” characters aren’t allowed, but doesn’t always work and doesn’t seem to detect password length limits, forcing me to manually adjust the password. Usually this just means deleting the hyphens and/or removing the last cluster to bring the length down to 16 or 12 characters.

Parsing out the password requirements from webpages seems like a good use for Apple Intelligence…

← PreviousPage 2 of 8Next →