Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
masklinn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
241.
▲
by
masklinn
7mo ago
“Sure your software crashes and your machines get owned, but at least they’re not-working very fast!”
242.
▲
by
masklinn
7mo ago
You also need to own the buffer otherwise you’re corrupting someone else’s data, or straight up segfaulting.
243.
▲
by
masklinn
7mo ago
> Isn't length + pointer... Basically a Pascal string? Unless I am mistaken. Length + pointer is a record string, a pascal string has the length at the head of the buffer, behind the pointer.
244.
▲
by
masklinn
7mo ago
If GitHub, gitlab, or circleci, trusted publishing is available. No access token whatsoever.
245.
▲
by
masklinn
7mo ago
> Do you restrict yourself to 1 non-broken commit per PR? No. To the extent that I can however I do restrict myself to only non-broken commits. > If there were even 2 non-broken commits in the PR, then bisecting with the original hi
246.
▲
by
masklinn
7mo ago
Because they’re broken and their only purpose is to fix up the original change, so it’s functionally the same change. > The absolute worst case when you keep the original history is the same as the default case when you squash. No, now y
247.
▲
by
masklinn
7mo ago
It’s important to note that not all history is worth keeping, and keeping a dozen commits titled “fix” fixing build / CI errors from the original changes are a lot worse for bisecting than squashing it all into just one. I very much pr
248.
▲
by
masklinn
7mo ago
> So, leaving aside your nitpicking about households vs homes (which are synonymous here) The mistranslation gives the incorrect impression that owners have migrated their personal residences to resistive heating and that this is the nor
249.
▲
by
masklinn
7mo ago
Strictly speaking it does as miscompilations are a thing. Furthermore the go version covers the stdlib so any bug there is resolved thus, and for obvious reasons those generally do not affect compilation. I do not think this is a very compe
250.
▲
by
masklinn
7mo ago
> Almost 40% of homes have electric heating and that's the top heating type It's 40% of households not homes, and per your link it's 55% of rentals. That's the urban flats I mentioned, they use inefficient resistive h
251.
▲
by
masklinn
7mo ago
> hot water, heating Not really. Urban flats frequently got resistive heating (rather than heat pumps) but when France finally phased out furnace oil it phased in gas heating (again instead of heat pumps). And EU grid integration was mo
252.
▲
by
masklinn
7mo ago
> I'm saying inconvenience from an outside force (not the low level employee) gets actions done, not words from the employee. When you harass an employee it’s still word from an employee. And it’s very optimistic to think said words
253.
▲
by
masklinn
7mo ago
> But this has been my reality. Employees can evangelize for months for better security, but then a (very avoidable) hack happens and suddenly the budget for it appears out of thin air. So your lived experience indicates that harassing f
254.
▲
by
masklinn
7mo ago
> I'm sorry Karen here needs to bear the brunt, but if this kept up, at some point Karen's boss will take notice, And then it moves up the chain to someone who can affect that policy. That’s a hilarious fantasy you have here.
255.
▲
by
masklinn
7mo ago
Not really, even at “low” charging speeds you have more than enough braking. Braking is the reverse of accelerating so the rate is about the same for the same acceleration (positive or negative). It’s really only if the battery is extremely
256.
▲
by
masklinn
7mo ago
> The only part of the battery tech that could affect range is the weight. Weight is a pretty low factor for cars, sub-percent (aging wheels did a comparison using a pickup empty versus loaded with a pallet of shingles, though with a mor
257.
▲
by
masklinn
7mo ago
> Author must not have worked in enterprise software before. Or with open source projects. Fucking stalebot.
258.
▲
by
masklinn
7mo ago
The fun part is it is pretty easy to “rewrite” ripgrep in rust, because burntsushi wrote it as a ton of crates which you can reuse. So you can reuse this to build your own with blackjack and hookers.
259.
▲
by
masklinn
7mo ago
Note that this is the author of ripgrep replying to a third party commenter asking whether rg isn’t already lightweight, and comparing the two under various possible definitions of “lightweight”.
260.
▲
by
masklinn
7mo ago
Next time that happens try looking at the paths, adding a pair of -u, or running with --debug: by default rg will ignore files which are hidden (dotfiles) or excluded by ignore files (.gitignore, .ignore, …). See https://github.c
261.
▲
by
masklinn
7mo ago
*900 not 9000
262.
▲
by
masklinn
7mo ago
A CRJ 9000 is 70000 lbs empty, 84500 lbs MTOW. An Oshkosh 1500 4x4 is 62000 lbs GVWR (wiki says kerb weight but it’s incorrect). The plane was landing and the truck was heading to an intervention, so they were likely close to empty and to G
263.
▲
by
masklinn
7mo ago
The fire truck was flipped and moved to the side of the runway, this was not 24mph. 24mph is the final groundspeed recorded after the aircraft skidded off of the runway. Per the ADSBx track the plane was at 101kts (115 mph / 185kph) ju
264.
▲
by
masklinn
7mo ago
Both jj and pijul save (~commit) conflicts to be resolved later, rather than require immediate resolution. And jj was built around rebase being a routine operation, often transparent (cherrypicking being a form of rebasing).
265.
▲
by
masklinn
7mo ago
As I wrote, this was a rental, there was no charger where I was and no mains adapter provided with the car, so my options were fast charger or pushing the thing. And even during long legs I don’t need to piss for 30mn every two hours.
266.
▲
by
masklinn
7mo ago
And being in your car doing nothing waiting for the charge for 25mn is frustrating. Even more so when it’s the height of summer (and that was in a car where the AC didn’t block charging). If you can time it with some errands it’s less of a
267.
▲
by
masklinn
7mo ago
A football field is 1.32 acres, so it's 146470 football-field-feet.
268.
▲
by
masklinn
7mo ago
Python 1.4 would be mid-late 90s long before numpy and vector algorithms would have been available. I suspect it’s more likely to be something like passing std::string by value not realising that would copy the string every time, especially
269.
▲
by
masklinn
7mo ago
For a real world comparison, the Perth desalination plant claims ~4kWh/m3.
270.
▲
by
masklinn
7mo ago
> could save up to 63 billion gallons of water annually To put it into perspective, 63 billion gallons is 193340 acre-feet, which is 0.5% of california's water use (a bit under 40 millions acre-feet). That's a tenth the water c
More ›