Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stouset
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
421.
▲
by
stouset
11mo ago
Or “can you prototype doing A via approaches X, Y, and Z, and show me what each looks like?” I love to prototype various approaches. Sometimes I just want to see which one feels like the most natural fit. The LLM can do this in a tenth of t
422.
▲
by
stouset
11mo ago
EVs are just going to further escalate the race to the bottom with traffic that we’re already seeing with services like DoorDash. Driving down the marginal cost per hour to operate a vehicle on the road and removing humans who are averse to
423.
▲
by
stouset
11mo ago
$ curl ${flags} https://site.io/install.sh | sh $ curl ${flags} https://site.io/tool > ./tool $ chmod u+x ./tool $ ./tool Both of these are effectively the same damn thi
424.
▲
by
stouset
11mo ago
I’m always a bit shocked how seriously people take concerns over the install script for a binary executable they’re already intending to trust.
425.
▲
by
stouset
11mo ago
Right, I did note that this decomposition isn’t always applicable. But it often is, and you should default to that when possible.
426.
▲
by
stouset
11mo ago
This really isn’t true. All of my git knowledge—except for the CLI flags—is directly useful for jj. The jj CLI is very easy to grok, even for a seasoned git user. Maybe even especially so for a seasoned git user.
427.
▲
by
stouset
11mo ago
If jj took many weeks of relearning, I might be right there with you. But the overwhelming majority of people I’ve personally seen who try the switch convert within a day, are barely slowed down by day two, and are effectively fluent within
428.
▲
by
stouset
11mo ago
> jj is harder to adopt for people with a thorough mental model of git No, it really isn’t. I have used git since shortly after it was first released and I’ve written a git implementation. I switched to jj in one day. And the amount of g
429.
▲
by
stouset
11mo ago
I do agree that implementing PartialEq on orders in this way is a bad fit. But it is a synthetic example to make a point, so I tried to keep it in the spirit of the original article (while ironically picking nits in the same vein myself).
430.
▲
by
stouset
11mo ago
Good article, but one (very minor) nit I have is with the PizzaOrder example. struct PizzaOrder { size: PizzaSize, toppings: Vec<Topping>, crust_type: CrustType, ordered_at: SystemTime, } T
431.
▲
by
stouset
11mo ago
Is three random people saying unsafe Rust is hard supposed to make us forget about C’s legendary problems with UB, nil pointers, memory management bugs, and staggering number of CVEs? You have zero sense of perspective. Even if we accept
432.
▲
by
stouset
11mo ago
I am quite certain that someone who has been on HN as long as you have is capable of understanding the difference between 0% compiler-enforced memory safety in a language with very weak type safety guarantees and 95%+ of code regions even
433.
▲
by
stouset
11mo ago
Hedge funds’ goals are often not to maximize profit, but to provide returns uncorrelated with the rest of some benchmark market. This is useful for the wealthy as it means you can better survive market crashes.
434.
▲
by
stouset
11mo ago
I am frankly astonished at the number of otherwise-intelligent people who actually seem to believe in this stuff. One of the worst possible things to do in a competitive market is to trade by some publicly-available formulaic strategy. It’s
435.
▲
by
stouset
11mo ago
Are you with a straight face saying that occasionally having a safety bug in limited unsafe areas of Rust is functionally the same as having written the entire program in an unsafe language like C? One, the dollar cost is not the same. Th
436.
▲
by
stouset
11mo ago
The default approach is to use a container that enforces synchronization. If you need manual control, you are able to do that, you just need to explicitly opt into the responsibility that comes with it. If you use unsafe to opt out of guara
437.
▲
by
stouset
11mo ago
Probably not, because a lot of the power of optimizing compilers comes from composing optimizations. Also a lot comes from being able to rule out undefined behavior.
438.
▲
by
stouset
11mo ago
I’m still upset they didn’t let us start fires in the meeting rooms to practice using real extinguishers. Miss working with you!
439.
▲
by
stouset
11mo ago
I would love for you to show me a high-quality code base where even 5% of functions exceed 70 lines. I for sure haven’t seen one. Most of the best, easiest to work on, and stablest projects I’ve worked in my 25-year career have had the over
440.
▲
by
stouset
11mo ago
Until we have an absolute metric to use for measuring comprehensibility, composability, and number of high-level concepts addressed by some unit of code, highly-correlated secondary metrics will have to suffice.
441.
▲
by
stouset
11mo ago
You mean like the stubborn devs who argue we shouldn’t have guidelines because one in a thousand times it doesn’t apply?
442.
▲
by
stouset
11mo ago
Which ones, specifically?
443.
▲
by
stouset
11mo ago
“Ideally under 70 lines” is not “always under 70 lines under pain of death”. It’s a guideline. There are exceptions. Most randomly-selected 100-line functions in the wild would probably benefit from being four 25-line functions. But many wo
444.
▲
by
stouset
11mo ago
It’s a lot easier to understand entire systems when they’re composed of small, pure, straightforward parts.
445.
▲
by
stouset
11mo ago
This seems pretty knee-jerk. I do most of this and have delivered a hell of a lot of software in my life. Many projects are still running, unmodified, in production, at companies I’ve long since left. You can get a surprising amount done wh
446.
▲
by
stouset
11mo ago
Mark Gurman’s track record with Apple is spotty at best. He may have been the original source of the rumor, but Reddit’s enormously anti-Apple user base is more than happy to grab onto any notion that Apple might do something even slightly
447.
▲
by
stouset
11mo ago
This was a common trope on Reddit but makes literally zero sense. There are a ton of wired accessories that this would make completely useless overnight, including things like CarPlay. And for what?
448.
▲
by
stouset
11mo ago
TIL thanks!
449.
▲
by
stouset
11mo ago
I thought Sept, Oct, Nov, and Dec were shifted by the addition of July (Julius) and August (Augustus)?
450.
▲
by
stouset
11mo ago
This is probably lint buildup. You can scrape it out with any thin and stiff object like a safety pin. A small amount of lint gets into the hole. You pack it in when you plug in the cable. Repeat a thousand times and now you have a stiff “p
More ›