Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lmm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
151.
▲
by
lmm
5mo ago
> 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 imp
152.
▲
by
lmm
5mo ago
> against the companies' T&Cs Not a crime, or certainly shouldn't be.
153.
▲
by
lmm
5mo ago
> 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 restrictiv
154.
▲
by
lmm
5mo ago
> 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.
155.
▲
by
lmm
5mo ago
> 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
156.
▲
by
lmm
5mo ago
> 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'
157.
▲
by
lmm
5mo ago
> 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.
158.
▲
by
lmm
5mo ago
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, al
159.
▲
by
lmm
5mo ago
> 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 con
160.
▲
by
lmm
5mo ago
> 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&
161.
▲
by
lmm
5mo ago
> 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?
162.
▲
by
lmm
5mo ago
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
163.
▲
by
lmm
5mo ago
> 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? >
164.
▲
by
lmm
5mo ago
> 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 wr
165.
▲
by
lmm
5mo ago
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.
166.
▲
by
lmm
5mo ago
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 pr
167.
▲
by
lmm
5mo ago
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.
168.
▲
by
lmm
5mo ago
Async functions are an ad hoc, informally-specified, bug-ridden, slow implementation of half of monad support.
169.
▲
by
lmm
5mo ago
> 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
170.
▲
by
lmm
5mo ago
> 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 co
171.
▲
by
lmm
5mo ago
> 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
172.
▲
by
lmm
5mo ago
No? Maybe the industry can now talk maturely about tradeoffs like that rather than pretending they don't exist.
173.
▲
by
lmm
5mo ago
"I have no idea if it works or not because I haven’t yet tried running it. But it's 5x shorter!"
174.
▲
by
lmm
5mo ago
> How much is Waymo burning a year? 3B on 300M ARR? Anthropic is what 5B on 20B ARR? Waymo is 3x older. Why don't we hear such confident statements about how subsidized their rides are? We do. We hear it less often because no-one is
175.
▲
by
lmm
5mo ago
> the option to litter side effects throughout the file and having those side effects execute automatically on import. You can actually do that in Java too with static initialisation blocks. > 3.0 was a big missed opportunity to kill
176.
▲
by
lmm
5mo ago
Wow, that's a much better reason to not take them seriously.
177.
▲
by
lmm
5mo ago
> Why go through the ceremony of `public static void main(String[] args)` when Python just executes the script line by line at the top level? Oh wait, now you have things like `import` actually executing code instead of simply being a co
178.
▲
by
lmm
5mo ago
> It's the most common sports related head injury by a wide margin Interesting, but we're not talking about sport cycling, we're talking about ordinary commuting. > helmets are quite effective at injury reduction.[1] Yo
179.
▲
by
lmm
5mo ago
I'm sorry for your loss, but your school is very much an outlier; public policy should look at the overall rates, and statistically it is rare. Particularly if we're talking about an everyday school commute along surface roads (
180.
▲
by
lmm
5mo ago
Rather than "boring", this seems to be reaching for something like the concept of a "pit of success", or https://haskellforall.com/2016/04/worst-practices-should-be-... . I don't think the
More ›