HNHacker News
TopNewBestAskShowJobs

lmm

47,766 karma · joined October 14, 2011

I'm known as m50d some places, including github; my blog (such as it is) is at https://m50d.github.io/
submissionscomments
lmm··on Nvidia RTX Spark
What trouble? If you want a GPU that works on Linux, let alone FreeBSD, you buy nVidia, install their drivers and get on with your life (and sure, maybe you can't use Wayland, but why would you want to?). I'm all for open-source in theory, but in practice the AMD drivers cause far more trouble than the nVidia ones ever do.
lmm··on Can the stockmarket swallow Anthropic, SpaceX and OpenAI?
> After a certain point , 100% market penetration is achieved and these products become mainstream and profitability follows. See Uber and Tesla for examples.

Groupon got to pretty much 100% penetration, still crashed and burned right after IPO. I think Zynga followed a similar trajectory.

lmm··on United Airlines 767 returns to Newark after Bluetooth name sparks alert
> Should he react to all messages as if they are threats, because no matter how small the risk is, more than zero is too much?

No. But he should treat messages that are blatantly intended to provoke others as such. If someone on the flight is going out of their way to cause trouble, kicking them off is the smart move.

lmm··on United Airlines 767 returns to Newark after Bluetooth name sparks alert
> One that is actively hostile to millions of Americans

No it isn't. You can read that implication into it, but it's not "actively hostile" in the way that an "F... X" statement is, for any X, and it's a sign of how slanted the discourse is that you would consider them equivalent.

lmm··on 'Backrooms' Stuns with $81M Debut
> Apple has been running the iTunes Store without "pulling the rug" for about as many years as Steam has existed.

Maybe. It's not been a very prominent line of business for them, and even then I can recall a couple of significant dramas over that time - didn't they merge two different kinds of libraries and cause confusion? The unremovable U2 album is also a cause for concern, not because an extra album is bad but because it implies they see the contents of your library as up to them rather than you. Most of all, they went out of their way to break music being sold by Real for iPods, which hardly suggests a company committed to interoperability and open platforms.

> Hell, they ditched DRM on music in that time period too and will sell you lossless ALAC as well as MP4 audio. (They obviously weren't able to talk Hollywood into that.) Steam is DRM that ensures the capability to pull rugs.

Not "obvious" at all, and precisely the point at issue. I'm happy to buy music from Apple, but movies require another level of trust that they haven't reached yet. I will grudgingly, cautiously buy games from Steam when they're not available on itch/GoG, and maybe that's unfair, but Apple have never sent me the message that they want or care about me (a non-Apple hardware user) as a customer of their movies.

lmm··on 'Backrooms' Stuns with $81M Debut
But you can run Steam on Linux. You don't have to worry about whether they're going to discontinue the cheap Steam Box you were relying on. And they have built up credibility from decades of not pulling the rug, in a way that Apple hasn't and probably can't.
lmm··on The Website Specification
Table-based layouts that loaded faster and rendered better than anything you see today, and even read better on actually existing screenreaders (who never got the memo that tables are supposed to be less accessible than CSS and changing <b> into <strong> should make your site more disability-friendly).
lmm··on What color is your function? (2015)
> Ideally you call a method like `getDetailFoo()`

I know that's the theory, but have you ever seen it work that way in practice? Because I haven't.

> Regardless of how you write the catch-logic, the chained cause remains important for logging and diagnosis.

Sure. But if it's not being caught and handled but only logged or investigated then you're not gaining anything from the wrapper.

> Do you want layer #1 exceptions to travel all the way to #4 as-is, so that you get an HTTP 500 and you won't actually know which remote service is at fault? (Without grepping the stacktrace, which is ick.)

Yes? If it's a fail-and-alert-the-developer case then I'm going to look at the stacktrace first anyway.

I might have retries at any layer, but I don't see any case where #4 uses information from a wrapper exception from #3 to make a decision. The only thing #4 is going to do with a failure from #3 is retry or fail, and it's not going to make a different decision based on which service it was. (Maybe you want metrics or circuit breakers on the individual fortune cookie services, but in practice what I've seen is that you'd always find a way to plumb them in at layer #1 or #2, by reflection if need be, rather than have them work of the exceptions coming out of #3. I know the theory you're talking about, I've just never seen it actually work that way)

lmm··on Google employee charged with $1M Polymarket insider trading bet on search term
> against the companies' T&Cs

Not a crime, or certainly shouldn't be.

lmm··on Incident Report: May 19, 2026 – GCP Account Suspension
> They have 125b they can literally write a check against and allocate any way they want as long as it delivers an adequate return and doesn't piss off the shareholders.

No they don't. The pension regulator sets very restrictive controls on what they can do with that 125b, because it's neither the company's nor the shareholders' money.

lmm··on Can we have the day off?
> If everyone had said this 100 years ago we wouldn't have the Polio vaccine, air conditioning etc.

If we got a 4-hour work week that might be a worthwhile trade.

lmm··on Can we have the day off?
> Resources like housing, which are supply constrained, will seem to go up dramatically in price relative to your income, and you'll be living in a slum.

That sounds like a problem with that system. If we're 10x more productive why can't we make 10x as much nice housing?

lmm··on Private equity bought America's essential services
> What sort of institutions would try to take on operating such a business?

Essentially anyone - other PE funds, competitors merging, the general stock market if you take it public. And they're not wrong want to buy it - there's a valuable business there - they're just bad at assessing the right price.

> And when does word get around, and the pool of suckers dry up?

One born every minute. And it's hard to even notice you're being taken for a ride as opposed to mismanaging the business you bought or just being unlucky.

lmm··on Can we have the day off?
> The consumer still consumed the same amount, but they switched to the better product.

Either the product was 10x better, which I don't think I need, or it wasn't really a 10x increase in productivity.

lmm··on I think Anthropic and OpenAI have found product-market fit
Ireland isn't that much cheaper than, say, Oklahoma. And the cultural differences with Ireland are not a lot smaller than those with India or the Philippines or what have you, once you try to actually start working together.

(Yes, all the good developers from Oklahoma move out, but the same is true of Ireland)

lmm··on Canada to order military plane fleet from Sweden in shift from US suppliers
> If they can't, then the EU should not exist - literally. It's decisive evidence that the bureaucracy can't even face an existential threat on it's own existence because it can't organize it's own legal concerns.

> "We remained lawfully committed to juducial integrity and processes ... as we were exterminated!"

If you're happy being governed without process or accountability, why not just surrender to Russia? If the EU can't maintain its principles when things get tough then what's the point in having it at all?

lmm··on Can we have the day off?
> That would be true if you and only you are 10x more productive than anyone else. Since everyone is now 10x more productive it just means you have to work just as much as before since you're competition can outwork you.

Why? I don't need 10x more stuff. I'd far rather spend 10x less time working. If we're talking about an actual productivity increase, let's just produce the same amount of stuff in 10x less time.

lmm··on I think Anthropic and OpenAI have found product-market fit
> it turned out that people claimed they were going to watch films 10-12 hours a day, every day of the week. Impossible.

And what happened? How many hours per day/week are people spending watching now?

lmm··on I think Anthropic and OpenAI have found product-market fit
Growing companies don't brag about their margins, they brag about their growth and revenue. Margin talk is for when you're a mature company squeezing out every bit of profitability you can - if anything it would be a negative sign to be worrying about your margins when you're supposed to still be growing and innovating.
lmm··on What color is your function? (2015)
> It's a matter of abstraction and preventing weird coupling.

Does that actually work though? Who ever handles CustomerAccessException specifically, except by calling getCause() and looking at the underlying DatabaseException?

> There are many errors because all errors are contextual! Bad-input in the HTML form-submit is not the same as bad-input in the SQL query. A failed invariant of a tree that somehow made a loop is not the same as a failed invariant of something reporting negative length. An SSH handshake error is not a TLS handshake error.

But the way you handle them is the same. All you can ever really do is a) retry it or b) fail it and alert the developer. And the wrapper doesn't make either of those any easier.

lmm··on What color is your function? (2015)
> You've never seen a try that has more than 1 catch block for different exception types?

I've seen it for APIs that throw exceptions for bad input or whatever. But what I've never seen is more than one catch block for wrapper exceptions (except perhaps to unwrap the cause), where the calling code handles FrameworkNetworkError differently from FrameworkDatabaseError or what have you.

> Do you think bad user input should be a result type?

Yes

> Because exceptions are essentially the same thing.

Well, except for all the ways they're not that you mentioned in the following paragraphs.

lmm··on The just-say-no engineer was a ZIRP phenomenon
Ah indeed. As monetary debt becomes more expensive it makes tech debt relatively cheaper - fixing your code in the future is cheaper than fixing it now.
lmm··on The just-say-no engineer was a ZIRP phenomenon
There's no reason for engineers to be under more pressure to accept technical debt (which is what we're really talking about with the yes-or-no framing) after the end of ZIRP. Quite the opposite: right now debt is expensive and programmers are cheap, it's a good time to have high quality standards and build robust infrastructure that will position you to catch the next growth wave. It really is AI (or rather AI hype) making the difference.
lmm··on What color is your function? (2015)
The biggest problem is that you can't abstract over them. Try to write Array#map in Java, you can't - you have to write copy-paste variants for 0, 1, 2... different types of exception until you get bored.
lmm··on What color is your function? (2015)
Async functions are an ad hoc, informally-specified, bug-ridden, slow implementation of half of monad support.
lmm··on What color is your function? (2015)
> I have to think if I want the `f` function to execute concurrently across all entries of the list, or one at a time: `for (const elem of list) { await f2(elem) }`.

I'd consider that a positive rather than a negative. That's an important question to think about (usually) and I want the type system to help remind me.

lmm··on What color is your function? (2015)
> Try catch is not a heavy lift of a seam between red and blue

> To be fair, #3 seems to have shades of grey. In some pls, you can call an async function from a sync one by wrapping it in a whole damn event loop system. Should that count?

I think you have to count any extra overhead where you can't just write f(), including try/catch. It's always possible to call whatever kind of function from whatever other kind of function if you put enough effort and hackery in, so if we can't use functions of kind x in functions of kind y as normal "f()" function calls then that has to be what we mean by colouring.

lmm··on What color is your function? (2015)
> you'll probably return your own VisionResult (extends Object) unless it throws your TooCloudedException (extends Exception).

> When someone else writes a wrapper or higher-level layer that uses your code, then it'll be up to them to convert or wrap those results and exceptions into something suitable for their level of abstraction.

Why though? What do you gain other than longer stacktraces with all those wrappers? People always trot out some theoretical notion that a caller is going to catch that framework's different exceptions and handle them differently, but have you ever seen calling code that actually did that?

> In other words, suppose all Java methods always returned Object [0]. That would also ensure that a new return type is "always a local change" to the compiler, but I think most developers would be rightly horrified if they came across code that worked that way.

There are many different kinds of values. There really aren't that many different kinds of error - there's "transient error that you might want to retry", "programmer called the API wrong", and that's about it, most other cases (like bad user input) probably shouldn't be exceptions.

lmm··on From Rust to Ruby
No? Maybe the industry can now talk maturely about tradeoffs like that rather than pretending they don't exist.
lmm··on From Rust to Ruby
"I have no idea if it works or not because I haven’t yet tried running it. But it's 5x shorter!"
← PreviousPage 6 of 34Next →