Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
J_Shelby_J
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
by
J_Shelby_J
11mo ago
I use rust. The compiler is my agent. Or to quote Rick and Morty, “that’s just rust with extra steps!”
62.
▲
by
J_Shelby_J
11mo ago
If let is probably the closest to a regular bool. For ints you can implement the deref trait on structs. So you can treat YourType(u64) as a u64 without destructing. I couldn’t figure out a way to do that with YouType(bool).
63.
▲
by
J_Shelby_J
11mo ago
Wow that’s amazing. The partial equality implementation is really surprising. One question about avoiding boolean parameters, I’ve just been using structs wrapping bools. But you can’t treat them like bools… you have to index into them like
64.
▲
by
J_Shelby_J
11mo ago
I wonder what the extremely rich do to get a car that isn’t a security risk? I’ve heard you can throw money at high end car dealerships to disable spying, but I wonder what the internal process is.
65.
▲
by
J_Shelby_J
11mo ago
exactly. you specify types for function parameters and structs and let the language do it's thing. it's a bit of a niche to specify a type within a function... There is a reason the multiple methods detailed above exist. Mostly fo
66.
▲
by
J_Shelby_J
11mo ago
Larger capacity is usually slower though. The fastest ram is typically 16 or 32 capacity. The OP is talking about a specific niche of boosting single thread performance. It’s common with gaming pcs since most games are single thread bottlen
67.
▲
by
J_Shelby_J
11mo ago
What is the best single thread performance possible right now? With over locked fast ram.
68.
▲
by
J_Shelby_J
11mo ago
And Dyson has legal liability if they catch fire and a name brand to uphold if they don’t meet advertised runtimes. Amazon does not. If you want a new battery for your Dyson, buy a tool battery adapter from Amazon and buy the tool battery f
69.
▲
by
J_Shelby_J
11mo ago
Yeah, my first thought was, “well if it’s on Amazon you should probably just assume it’s fake and not waste time testing it.” Just buy it on mouser or other providers that have direct relationships the manufacturers.
70.
▲
by
J_Shelby_J
11mo ago
Ok buddy cinephile has gone cross platform!
71.
▲
by
J_Shelby_J
11mo ago
How those AMD crashes though. All my friends in AMD CPUs have had a hell of the last two years with constant crashes in unreal engine games. Meanwhile, I made fun of myself for buying an ancient 11 series which is a decade old arch at this
72.
▲
by
J_Shelby_J
11mo ago
Hubspot has a tool for validating fields in data using regex. They have a little ai prompt that will write the regex for you. Now that is a good use for ai.
73.
▲
by
J_Shelby_J
1y ago
And if AI makes workers more efficient, then businesses not actively hiring more employees are admitting that even with extra resources they have no strategy to grow their business. Like, if one person is effective as ten people, then a bus
74.
▲
by
J_Shelby_J
1y ago
If software engineering is not special and can be done by anyone, so can any other role in a business. So it follows that all American roles will be offshored eventually, including ownership of the company itself - or American businesses wi
75.
▲
by
J_Shelby_J
1y ago
Real life lore did a great video about it recently. It’s inevitable at current water usage.
76.
▲
by
J_Shelby_J
1y ago
Idk, I see it them all the time on the rust subreddit. Like, cool, but my friend, I have like ten brain cells and all of them are in overdrive. I’m not going to remember I have your TUI app installed AND remember the commands to make it wo
77.
▲
by
J_Shelby_J
1y ago
Half milligram pills are available online. Wish Costco sold them.
78.
▲
by
J_Shelby_J
1y ago
Rust isn’t more complex. It just codifies the things you need to know.
79.
▲
by
J_Shelby_J
1y ago
“Larry, I do ducktails” What an icon
80.
▲
by
J_Shelby_J
1y ago
Nothing in this world is perfect, but this behavior is less of an abomination than whatever a junior dev on a timeline might write to handle this condition.
81.
▲
by
J_Shelby_J
1y ago
Equinix Dallas was hours from running out of fuel during the last snowpocalypse.
82.
▲
by
J_Shelby_J
1y ago
I’m working on a project that has now outgrown the context window of even gpt-5 pro. I use code2prompt and ChatGPT with pro will reject the prompt as too large. I’ve been trying to use shorter variable names. Maybe I should move unit tests
83.
▲
by
J_Shelby_J
1y ago
I touch rust every day, but you should also mention the priority of those three things are also in that order.
84.
▲
by
J_Shelby_J
1y ago
I use an ikea air filter that just so happens to fit perfectly in the window + a smart outlet and co2 sensors. I’d like to do a custom build like you so the fan speeds are variable.
85.
▲
by
J_Shelby_J
1y ago
Buy a 3/4u case for $100 and put whatever board you want in it with standard PC fans and a decent cpu cooler. Dead silent.
86.
▲
by
J_Shelby_J
1y ago
Please don’t. All of Apple products and especially the AirPods have horrid microphones that cause me physical discomfort to listen to.
87.
▲
by
J_Shelby_J
1y ago
Isn’t UV essentially cargo for python?
88.
▲
by
J_Shelby_J
1y ago
Without the ability for people to have private conversations and organize politically in private, democracy is impossible. It wasn’t as much of a problem in the times when everything happened IRL, but now online is the default. So the endga
89.
▲
by
J_Shelby_J
1y ago
You figured out in 2022 that AMD would finally catch up to intel single core performance in 2025?
90.
▲
by
J_Shelby_J
1y ago
It’s impossible to find balanced information on the topic because so many people are heavily invested in AMD stock.
More ›