Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jmull
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
391.
▲
by
jmull
1y ago
Only when you have an object that implements [Symbol.dispose]. If you don't, then you need to create one (like the wrapper in the example from the article) or bang out some boilerplate to explicitly make and use a DisposableStack(). So
392.
▲
by
jmull
1y ago
I really don't think there is any general rule of thumb here. You've really got to have certain contexts before thinking you ought to be pushing ifs up. I mean generally, you should consider pushing an if up. But you should also c
393.
▲
by
jmull
1y ago
I would have preferred "defer", but "using" is a lot better than nothing.
394.
▲
by
jmull
1y ago
This seems much worse than the typical pre-AI mechanism of navigating to and clicking on a "Change Delivery Address" button. I don't know why you wouldn't develop whatever forms you wanted to support upfront and make the
395.
▲
by
jmull
1y ago
I'm not sure there are many cases where I would choose rust. I'm open to it. I just think in any given situation there would most likely be a better option. Perhaps it will become prevalent enough that it will make sense in the fu
396.
▲
by
jmull
1y ago
The author is excited that they can do all the things in Odin that they can do in C. So it strikes me that a new language may be the wrong approach to addressing C's issues. Can they truly not be addressed with C itself? E.g., here
397.
▲
by
jmull
1y ago
That's not fair. The ask was this: "Please try to minimise the steps required to reproduce it rather than producing large scripts with options that definitely won't work for me." The guy doesn't have to do that, but
398.
▲
by
jmull
1y ago
I’ve been doing this since the ‘90s. At first I just had a text document with urls. From there it didn’t take a lot of imagination to wrap them in a little basic html, and there you have it. The author has features I don’t have. But that’s
399.
▲
by
jmull
1y ago
The author hand waves away ReleaseSafe, but does not really seem to understand its usage. I don't think zig best-practices are written in stone yet, but I would expect ReleaseSafe to be the default in production. Since zig allows turni
400.
▲
by
jmull
1y ago
It sure feels like Swift governance is broken. They're just shoveling stuff in to the language. Individually, most items aren't so bad, but collectively they've got a mess and it's getting bigger fast. None of the decisi
401.
▲
by
jmull
1y ago
Good code is just one of many ingredients to great software, and programming language is a small factor in good code. Swift was never going to make Apple software great (nor Go or Rust or anything else for anyone else). Though, honestly, if
402.
▲
by
jmull
1y ago
It's not a question of HTML's syntax. 1. HTML is a widely implemented standard. What you learn and know about HTML, and what you create with HTML is widely applicable. Not so much for your HTML alternatives, like Aberdeen. 2. HTML
403.
▲
by
jmull
1y ago
> Express UIs naturally in JavaScript/TypeScript I would disagree there. Conceptually, you're writing reactive HTML and CSS. I think it would be a lot more natural to express HTML and CSS using HTML and CSS (with extensions to
404.
▲
by
jmull
1y ago
I would say no. There aren't any particular rules about contractions and intermediate capitalization so we are free to choose. WAsm is more awkward than Wasm so the latter seems better.
405.
▲
by
jmull
1y ago
So... what even is the purpose of computer language abstractions? To provide building blocks useful for the construction of programs. There's a number of properties that are good for such building blocks... composability, flexibility,
406.
▲
by
jmull
1y ago
I don't know much about the way unity apps are distributed, but I'd be a little surprised if they are only intended to be distributed in a way that satisfies LGPL. I would have thought, e.g., that apps distributed only through sto
407.
▲
by
jmull
1y ago
The context here was DX. Maybe start a new thread to change to a new topic?
408.
▲
by
jmull
1y ago
> Stockholm syndrome I don't think that's apt. What you find to be "abuse" others might find to be the kind of obstacles/issues that every platform/ecosystem has. It probably helps if you never put Apple on
409.
▲
by
jmull
1y ago
More specifically, the idea is "serverless" posgres. But as I mentioned, I mean from a tech standpoint... If you're interested, they've posted various things about how the tech works. > It seems like execution >>
410.
▲
by
jmull
1y ago
I don't feel the "moral weight" the author mentions. For one, there are many, many directions you could take at any given moment, but you have to choose only one. You have no choice but to triage. That's not a moral fa
411.
▲
by
jmull
1y ago
Wow, $1B. I've been bullish on neon for a while -- the idea hits exactly the right spot, IMO, and their execution looks good in my limited experience. But I mean that from a technical perspective. I never have any real idea about the b
412.
▲
by
jmull
1y ago
This is probably better thought of as AI-assisted code review rather than unit testing. Although you can automate running this test... 1. You may not want to blow up your token budget. 2. You probably want to manually review/use the re
413.
▲
by
jmull
1y ago
> Not all corruption is detectable. Well, I don't know rsync that well. If you're saying it doesn't detect changes to files while it's being copied, then I'll believe you. And, as far as I know, it's impossi
414.
▲
by
jmull
1y ago
You're demanding a standard of radical transparency for government officials that isn't supported by the law and has never been applied before or since. It seems to be based on a presumption of guilt, which is a pretty severe depa
415.
▲
by
jmull
1y ago
If the corruption is detectable and infrequent enough for your purposes, then it does work, with a simple “retry until success” loop. (That’s how TCP works, for example.)
416.
▲
by
jmull
1y ago
The $150K probably needs to cover other costs, like payroll taxes. Perhaps other benefits as well? (Health insurance would be the big one -- in the rough ballpark of $20K).
417.
▲
by
jmull
1y ago
> No she can’t? Why in the world would she be generally obligated to provide her personal/private emails to the government or public? It seems bizarre to suggest otherwise.
418.
▲
by
jmull
1y ago
That’s a common idiom which isn’t literal. (Obviously?)
419.
▲
by
jmull
1y ago
You're right. It's Gross Domestic Product after all. I was jumping ahead too quickly to overall economic activity (which is going to drop).
420.
▲
by
jmull
1y ago
It's going to get worse. This is actually buoyed by buying ahead of the tariffs, and the tariffs themselves haven't had a chance to take effect yet. The economic nosedive is just beginning.
More ›