HNHacker News
TopNewBestAskShowJobs

andrewmcwatters

6,033 karma · joined September 28, 2019

submissionscomments
andrewmcwatters··on Jensen: 'We've done our country a great disservice' by offshoring
What’s your point? Say everything you just said again, but with software engineering and Indians, instead of manufacturing and the Chinese, or textiles and Vietnam and Pakistan.

There’s no reason American cars need to exist either, they basically all perform worse dollar-for-dollar, feature-for-feature, than foreign cars.

In fact, let’s offshore everything. There’s no reason not to use Filipinos for McDonald’s and In-n-Out drive-thru speakers.

Let’s all adopt Chinese tang ping. Lay down and die. Treat every effort of labor as replaceable and void of respect.

If China and India wanted to wage effortless war with the US all it would have to do is stop exporting goods and labor to us.

andrewmcwatters··on HPV vaccination reduces oncogenic HPV16/18 prevalence from 16% to <1% in Denmark
The only thing I've never understood about the HPV vaccination is that for some reason after a certain age as an adult in the United States, no primary care provider appears to recommend you get it in addition to your regular vaccination schedule.

Is the idea that you're married and have a single partner and the risk factor has dropped below a certain percentage of the population where there's little reason to recommend getting it if the likelihood is that you've already acquired HPV in your lifetime thus far?

Every other vaccination appears to be straightforward, besides HPV, and I don't know why. I've also never heard a clear answer from a physician.

Is it just that our vaccination schedules are out of date in the United States? This seems to be the most likely culprit to me.

andrewmcwatters··on Lua 5.5
Module exports with side effects, and setting environments doesn’t guarantee global access.
andrewmcwatters··on Lua 5.5
Interesting, it looks like you can use ´global myvar’ now, as compared to ´myvar’ implicit globals, say from back in 5.1, or ´local myvar’.

It’s worth noting that global is a reserved keyword now, so environments that had a ´global()´ function for escaping environments will now need to rename their helper function.

andrewmcwatters··on Rue: Higher level than Rust, lower level than Go
There's a lot of ecosystem behind it that makes sense for moving off of Node.js for specific workloads, but isn't as easily done in Rust.

So it works for those types of employers and employees who need more performance than Node.js, but can't use C for practical reasons, or can't use Rust because specific libraries don't exist as readily supported by comparison.

andrewmcwatters··on Yep, Passkeys Still Have Problems
I don't care what you other people in auth do, I work in auth too, please stop making signing into anything 5 steps.

1. First I get redirected to a special sign-in page.

2. Then I sign-in with my email only.

3. Then it finally asks me for a password, even for services that would never reasonably use SSO or have another post-email receive process.

4. Then I get redirected again to enter 2fa.

5. Then these websites ask if I want to create a passkey. No, I never want to create a passkey, and you keep asking me anyway.

6. Then, and only then, do I get to finally go back to using the service I wanted, and by then, you've lost whatever my `?originalUrl=` was, and I have to find it again.

No, don't send me a magic link. Because then I have to go do 4 more steps with Gmail or another mailbox provider and now signing in has become 10 or more steps.

No, don't tell me getting rid of passwords will help most of the population, and then force all of us to do the above, and blatantly lie to us that it's better.

Stop it. Get some help.

andrewmcwatters··on Midjourney is alemwjsl
I do this qll the time ! C’est parce que AZERTY, oui.
andrewmcwatters··on Stop crawling my HTML – use the API
I am aware that I am banned. I appreciate you taking the time to check with me, though. And thank you for vouching my comment, too.
andrewmcwatters··on Stop crawling my HTML – use the API
More often than not, I’ve seen web pages that are more easily scraped than one could connect to an official API. It’s so weird. It’s like in many cases companies don’t really care, so of course people are going to scrape your pages instead.
andrewmcwatters··on Jony Ive's OpenAI Device Barred From Using 'io' Name
It’s such an uncreative name, anyway. It’s like something you’d read from a hardware engineering GitHub repository where the author was oblivious to how searchable the intellectual property would be.
andrewmcwatters··on Slashdot effect
One of the most popular API frameworks is called “FastAPI” but in any meaningful benchmark it’s one of the slowest commercially used pieces of web software the industry has adopted.

There is no hope for large segments of the industry. We actively choose to make bad decisions all the time, and then people rationalize them.

andrewmcwatters··on Is C++26 getting destructive move semantics?
That commenter’s syntax notation looked pretty neat and intuitive.
andrewmcwatters··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
Why would you tree-shake your backend?
andrewmcwatters··on AMD continues to chip away at Intel's x86 market share
You’re not missing out on a lot. Coming from someone who has used their products for many years now. Their products have more compromises and trade-offs now than they did during Apple’s Intel era.

What you will tangibly miss is low noise, low power draw hardware and very, very specific workloads being faster than the cutting edge AMD/Nvidia stack people are using today.

andrewmcwatters··on Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software
Casks won’t be able to bypass Gatekeeper, so now you can’t launch .apps from brew that aren’t notarized.

So, you might as well just use the App Store.

andrewmcwatters··on Python Steering Council unanimously accepts "PEP 810, Explicit lazy imports"
Yeah, I'm aware the same behavior is available, but this proposal creates a call trigger on the dependency which requires far less analysis on larger projects to understand where the import needs to be moved to.

You have to create wrappers in languages like JavaScript, Lua, Python, etc. to create the same behavior.

andrewmcwatters··on Python Steering Council unanimously accepts "PEP 810, Explicit lazy imports"
I've noticed that instead of defining requires at the top of Lua files, if you can know your own program well enough, defining them right before the dependency is actually used makes large Lua programs much, much quicker. Generally speaking, startup times can be a sped up by a meaningful factor.

I suspect this change in Python will dramatically improve the performance of such large programs as well.

andrewmcwatters··on Zig's New Async I/O
I haven’t actually seen it in the wild yet, just talked about in technical talks from engineers at different studios, but I’m interested in designs in which there isn’t a traditional main thread anymore.

Instead, everything is a job, and even what is considered the main thread is no longer an orchestration thread, but just another worker after some nominal set up between scaffolding enough threads, usually minus one, to all serve as lockless, work-stealing worker threads.

Conventional async programming relies too heavily on a critical main thread.

I think it’s been so successful though, that unfortunately we’ll be stuck with it for much longer than some of us will want.

It reminds me of how many years of inefficient programming we have been stuck with because cache-unfriendly traditional object-oriented programming was so successful.

andrewmcwatters··on The scariest "user support" email I've received
It’s common in phishing schemes to either have a non-functional site hosting only the payload or one that hosts a full front appearing like a normal website, usually a blog with news.
andrewmcwatters··on Ask HN: How to stop an AWS bot sending 2B requests/month?
I've also gotten good results just dropping the connection if it hits the application layer, and you can't get CloudFlare to return the desired behavior first.

Not ideal, but it seems to work against primitive bots.

andrewmcwatters··on Zed is now available on Windows
Just so others here know, it’s possible to have a graphics context and a Win32 menu bar in the same window.
andrewmcwatters··on Why is everything so scalable?
Stack Overflow also famously ran on very little hardware.
andrewmcwatters··on People Are People, or Why I Don't Want to Be a Landlord
> Every relationship that lasts long enough or goes deep enough eventually hits a point where expectations meet reality.

I think about this all the time and it’s nice to see someone explicitly say it.

It is, of course, a part of life, but it is a phenomenon to look out for that governs all pf your most valuable relationships.

andrewmcwatters··on Tech megacaps lose $770B in value as Nasdaq suffers steepest drop since April
> It's fine if you yourself prefer to hold cash for whatever personal reasons you have, but please stop talking nonsense. A comparison of any currency in the world vs a roughly diversified index would invalidate all your points.

No, it wouldn't.

andrewmcwatters··on Tech megacaps lose $770B in value as Nasdaq suffers steepest drop since April
No, they haven't. You're thinking specifically about how the US market has been lucky enough for that to occur.

There is absolutely nothing intrinsic about that happening as a guarantee. Look at other countries' stock exchanges.

There have also been periods of time in US history where your equities would have lost catastrophic value as you were ready to retire and all of a sudden you wouldn't have been able to draw down on your retirement without a blend of income from somewhere else.

andrewmcwatters··on Tech megacaps lose $770B in value as Nasdaq suffers steepest drop since April
Equities also lose and gain value. There's a reason to hold cash when it's preferrable to lose real, time and inflation-adjusted, value versus losing to speculative equities or other securities.

But go ahead, downvote me since you and the rest seem to think any asset is better than cash.

Which, of course, once again, isn't true.

You can buy bonds with real coupon rates worse than inflation; you can buy speculative equities whose YoY return nets negative.

But yeah, cash is bad, cash is bad. Buy assets no matter the value!

Go buy Pokémon cards! Right? I mean you guys are so smart, why hold cash? That's basic personal finance!

I bet you also like to tell people "don't time the market, it's time in the market," right?

There's no such thing as the "Lost Decades," that's a spooky Halloween story.

In fact, you're right, go invest in Keurig Dr. Pepper, or no no, how about Kraft Heinz. Those did so well compared to just holding cash.

What about real estate, huh? How about AirBnB? That better enough than cash for you? Not a fan of real estate?

How about Warner Bros Discovery? Yeah? That better than cash?

You could have lost money constantly on GameStop, but wait, there's more, you can go still lose money on it today! Why hold cash?

andrewmcwatters··on Tech megacaps lose $770B in value as Nasdaq suffers steepest drop since April
This also isn't true.
andrewmcwatters··on Tech megacaps lose $770B in value as Nasdaq suffers steepest drop since April
This isn't true.

You're all implicitly claiming that all assets return nominal value above inflation, which isn't even remotely true when we teach it to pimple-faced undergraduate students.

andrewmcwatters··on Tech megacaps lose $770B in value as Nasdaq suffers steepest drop since April
At some point, inevitably, bonds have to appear more attractive. Until those, too, get bid up until their coupon rates become effectively worthless compared to bank deposits or worse, inflation.
andrewmcwatters··on Liquid Glass Is Cracked, and Usability Suffers in iOS 26
As someone who pretty strictly adheres to Apple Human Interface Guidelines, it's really off-putting to see them slip so badly backwards on their own published work.

There are now portions of iOS that use either iOS 18's UIKit, or iOS 26's Liquid Glass UI in apps.

It feels like Apple is having a Windows moment with their operating systems for the jarring combination of old and new UI designs sitting next to each other and it's gross. I hate it.

← PreviousPage 2 of 34Next →