Better HN
topnewbestaskshowjobs
Log inSign up

wwalexander

1,209 karma · joined Feb 10, 2016 (10y ago) · 470 submissions

Submissions

comment 1w ago · link · parent

I had to use this horrible website to retrieve my Identity Protection PIN from the IRS website in order to file my taxes. Their automated system didn't work and I had to wait days to get on a video call to get verified. I never saw any option for login.gov; my only option was to use this private service with a domain name based in Montenegro. Truly bonkers

comment 2mo ago · link · parent

I've largely moved over to lobste.rs for actual technical news. They even have a "vibecoding" tag to let you filter out anything related to coding with LLMs.

comment 2mo ago · link · parent

Using cross-platform web technology is absolutely a nuanced engineering decision that is the right one for many businesses. What is categorically bad is bundling a standalone browser runtime for every single service, wasting user’s storage and memory when you could just have a website in a browser.

Is there any major browser now that doesn’t support saving websites as apps? Electron is simply a suboptimal and incorrect way of producing web apps.

comment 2mo ago · link · parent

> it added a killer feature: generated columns

It would be super cool if somehow SwiftData could translate computed properties of @Model objects into these generated columns via the #Expression macro!

comment 3mo ago · link · parent

E = mc^2 + AI

comment 3mo ago · link · parent

What does rent control have to do with corporate rollout strategy?

comment 3mo ago · link · parent

Self driving cars and AI aren’t science. Not sure what being pro or anti nuclear or AI has to do with corporate rollout strategy.

comment 3mo ago · link · parent

What “anti-science slopulism” are you referring to? And what does corporate rollout strategy have to do with science?

comment 3mo ago · link · parent

https://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs

> Unofficial development for the system also continues on the 9front fork, where active contributors provide monthly builds and new functionality. So far, the 9front fork has provided the system Wi-Fi drivers, audio drivers, USB support and built-in game emulator, along with other features.

comment 3mo ago · link · parent

Swift generics tend to idiomatically use longer names, like Element or View or Content.

comment 3mo ago · link · parent

Are you generating these responses with an LLM?

comment 4mo ago · link · parent

Another fun New Reddit quirk: on iOS, the un-dismissable “better in the app” popover makes scroll stop working, meaning you can’t scroll up to get the iOS-native “Open in App” toolbar that actually opens the app, so your only option is to click their hand-rolled button that just opens the App Store listing, or reload the page and tap the native “Open in App” button before the popover reappears.

comment 4mo ago · link · parent

I much prefer the interface of Pixelmator and Pages to Photoshop and InDesign, and paying once (for the non-AI-augmented version of Pixelmator, which Apple indicate will continue to receive some manner of updates going forward) is a nice plus.

It’s unfortunate there’s not a real Illustrator equivalent; Pixelmator has okay enough vector editing and export support for my needs, but notably will render the canvas rasterized at whatever the nominal resolution is even when zoomed in editing an SVG. Vector exports work as expected, just the editing is rasterized. Still, a small price to pay for not paying monthly for Adobe’s mountain of crufty malware.

comment 4mo ago · link · parent

What scene?

comment 4mo ago · link · parent

The author of this comment is an engineer at Bluesky.

comment 4mo ago · link · parent

If only Philips would support USB-C for their OneBlade electric razors, instead of a USB-A to proprietary figure 8 barrel plug cable.

comment 4mo ago · link · parent

The pricier ones have a case with just a USB-C port.

comment 4mo ago · link · parent

ccTLD hacks are both semantically incorrect and geopolitically unstable.

The .io TLD will likely be phased out in the future due to geopolitics, and all the companies who decided it was more important to signal how hacker jargon aware their startup was will have to go through the very difficult process of changing domains.

In order to log into IRS.gov to get a code to pay my USA taxes, I had to verify my USA ID via a private company called ID.me, whose domain name AND company name are now forever tied to the whims of the government of Montenegro.

comment 4mo ago · link · parent

Cloudflare

comment 4mo ago · link · parent

Not really fixable, unfortunately. The API requires an network call for each comment:

> The v0 API is essentially a dump of our in-memory data structures. We know, what works great locally in memory isn't so hot over the network.

When I played around with making a client, I found the best approach was to only load the first level of comments, and asynchronously fetch children inside DisclosureGroups on appear.

Then I realized the only reason I was making an HN app was so it didn’t blind me at night, and then I realized Lobsters has all the same stories as this place but lets me filter out vibe coding articles, and I just gave up.

comment 4mo ago · link · parent

> It's the same thing. In the latter case, something has validated that your NonEmpty has a first and a last element.

No, it has parsed it into a structure that structurally has at least one element, not just the promise that there ought to be one. From the original “Parse, don’t validate” article:

    data NonEmpty a = a :| [a]
> your type still permits {name: "\0\0\0\0\0\0", host: "!"}

I actually originally wrote it with an array of EmailNameCharacters, etc but didn’t want to overcomplicate the example.

comment 4mo ago · link · parent

This is just validation that is using the type system to indicate the validation has already occurred. I think the real point of “parse, don’t validate” is to make the type system give you structural guarantees that couldn’t exist otherwise (e.g. always having a first/last element in the NonEmpty example from the original article). If you’re just branding the types as “parsed” (in reality, simply validated) you still have to know that the invariants you care about hold when using the “parsed” type (e.g. splitting the email type using “@“ will always yield 2 elements), instead of the structure of the type holding that info inherently (e.g. struct Email { name: String, host: String }).

comment 5mo ago · link · parent

> Japanese electronic tariffs in the 80s

Also motorcycles. https://en.wikipedia.org/wiki/1983_motorcycle_tariff

comment 5mo ago · link · parent

guard has two advantages: the compiler ensures that you exit the current scope if the condition does not hold (via return, break, continue, etc), and bindings established in the guard clause (e.g. let foo = optionalBar) remaining in scope after the guard block, rather than inside it like an if block.

comment 5mo ago · link · parent

You can configure macOS to switch between languages by pressing the globe key, but it’s a far cry from letting you type in any of your languages without it autocorrecting/red-underlining.
12345
16