Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lmm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
451.
▲
by
lmm
7mo ago
> You depend on crates A and B. A impls Foo for Bar. You pass an instance of Bar to a function that accepts `impl Foo`. You are happy. Later crate B adds an impl of Foo for Bar. Clearly _at least_ one of these must be an orphan impl, but
452.
▲
by
lmm
7mo ago
> What we’re doing is fine. You should get your serialization and I should get mine. But if either of us declares, process-wide, that one of us has determined the One True Serialization of PairOfInts, I think we are wrong. Well, fine, bu
453.
▲
by
lmm
7mo ago
You could do all that. Or you could just merge every time. I know which I find easier.
454.
▲
by
lmm
7mo ago
> I am under the impression that Palantir is typically deployed on-premise, or in a private cloud, where the customer can ensure that the data remains sovereign. I'll believe that when I see a thorough audit report. But anyone compe
455.
▲
by
lmm
7mo ago
I avoid this problem by not rebasing.
456.
▲
by
lmm
7mo ago
I would argue that library dependencies in Rust are significantly less abstracted away than in previous languages. The libraries themselves tend to be much more specific (rather than a huge utility library you'll have a crate that does
457.
▲
by
lmm
7mo ago
> Not even China and North Korea whine about or send fake “fines” to offshore entities. They just block their sites and move on with life. On the contrary, both of those are very active in going after people who operate websites they don
458.
▲
by
lmm
7mo ago
> - 1970s: abstracted away the algorithm -> OOP, standard libraries, UML Which was mostly a failure, to the point that there is a major movement towards languages that "abstract away" (in this sense) less , e.g. Rust. Certa
459.
▲
by
lmm
7mo ago
> LLMs _can_ reliably generate (relatively small amounts of) working code from relatively terse descriptions. Code is the detail being filled in. They can generate boilerplate, sure. Or they can expand out a known/named algorithm im
460.
▲
by
lmm
7mo ago
> Would a musician refrain from writing a love song because there are already better love songs? Yes; at least, I would hope a musician who was writing a love song was doing so because they want it to do something different from or bette
461.
▲
by
lmm
7mo ago
> Obviously that code is not the spec; the spec is the spec. But also you couldn't even use the code as a spec because it was wrong. Or the spec was wrong and the code was right; that happens more often than you might think. If we v
462.
▲
by
lmm
7mo ago
On the contrary, code is a spec. In a decent language it should look like one.
463.
▲
by
lmm
7mo ago
> When one prompts an AI to "write me a to-do list app", what they really mean is that "write me a to-do list app that is better that I have imagined so far", which does not really require detailed spec. If someone wa
464.
▲
by
lmm
7mo ago
> already-near-zero margin on real estate development Why is the margin so low when the prices are so high? Is it because the value of housing is already priced into the value of land? > The problem is: why would you build more housin
465.
▲
by
lmm
7mo ago
XML files are bad. Invisible magic is worse. The sensible way to wire up a bunch of RPC endpoints is, like the sensible way to do most things, plain old code.
466.
▲
by
lmm
7mo ago
> code properly generated by LLM is also explicitly public domain Where? I hadn't heard of any such ruling.
467.
▲
by
lmm
7mo ago
I'm pretty sure I've literally never seen planning deliver value. But interestingly even the environments where planning was most obviously useless rarely diminished people's willingness to defend it.
468.
▲
by
lmm
7mo ago
The point is that they want the simple UX of "ssh vm1.box1.tld" takes you to the same machine that browsing to vm1.box1.tld takes you to, without requiring their users to set any additional configuration.
469.
▲
by
lmm
7mo ago
> As far as I'm concerned, public domain counts as "an appropriate open source license". For material whose author is known and has explicitly placed it in the public domain, sure. For code that fell off the back of a truc
470.
▲
by
lmm
7mo ago
> the code is taken from the LLM with no preexisting license That's not good enough to comply with (b). The code must be specifically covered by an open-source license, it's not enough for it to just not have a license.
471.
▲
by
lmm
7mo ago
> Not allowing AI assistance on PRs will likely decimate the project in the future, as it will not allow fast iteration speeds compared to other alternatives. If and when there is evidence that AI is actually increasing the speed of impr
472.
▲
by
lmm
7mo ago
> Why do you care how much effort it took the engineer to make it? Because they're implicitly asking me to put in effort as a reviewer. Pretending that they put more effort in than they have is extremely rude, and intentionally or n
473.
▲
by
lmm
7mo ago
Yes and no. Previously when someone submitted a 14k line PR you could be assured that they'd at least put a significant amount of time and effort into it, and the result was usually a certain floor on the quality level. Now that's
474.
▲
by
lmm
7mo ago
> If the PR does what it says it does, why does it actually matter if it took 2 weeks or 2 minutes to put together, given that it's the equivalent level of quality on review? You're right that the issue isn't how many minu
475.
▲
by
lmm
7mo ago
If it's particulates from tires then heavier EVs are probably making that worse not better (partially offset by regenerative braking, but only partially).
476.
▲
by
lmm
7mo ago
If it's silly and it works, it's not silly. Criticising our entire economic system tends to have very little effect. Criticising specific poor business practices and/or technologies that enable them has a much better chance o
477.
▲
by
lmm
7mo ago
Sometimes, yes. E.g. if the value types stuff ever gets implemented, that will be very useful for other JVM languages. OTOH some changes are purely syntax sugar in Java itself (e.g. allowing multiline string literals) and those of course do
478.
▲
by
lmm
7mo ago
Some people did but that's actually worse. Your configuration comes magically out of nowhere and when it breaks you can't fix it.
479.
▲
by
lmm
7mo ago
Funny, I was thinking what a relief it was to see people making their arguments frankly like on the HN of 10+ years ago.
480.
▲
by
lmm
7mo ago
> As they say: an hour of planning saves ten hours of doing. In software it's the opposite, in my experience. > You don't need so much code or maintenance work if you get better requirements upfront. Sure, and if you could w
More ›