Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maxbond
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
511.
▲
by
maxbond
1y ago
I use transactional file operations when for instance when I write tools that change their own human-readable configuration files. If something is important enough to write to disk, then it's probably important enough that you can'
512.
▲
by
maxbond
1y ago
My bad, thanks for the correction.
513.
▲
by
maxbond
1y ago
ETA: See correction below. To be clear `File::drop()` does sync, it just ignores errors (because `drop()` doesn't have a way of returning an error). It's not really Rust specific I guess, I just don't know off the top of my h
514.
▲
by
maxbond
1y ago
A Rust-specific danger is that, if you don't explicitly sync a file before dropping it, any errors from syncing are ignored. So if you care about atomicity, call eg `File::sync_all()`.
515.
▲
by
maxbond
1y ago
It's a serious language, it's just not a stable language yet.
516.
▲
by
maxbond
1y ago
> I like math but showing someone a giant graph isn’t always the best approach. :) Agreed. 3Blue1Brown has, by making their videos, publishing Manim, and critically by fostering a broader community of math YouTubers instead of trying to
517.
▲
by
maxbond
1y ago
For sure, in my mind a deflagration is a type of explosion, but I certainly don't mean to quibble about terms or to litigate this video more than is interesting to you. I guess for me, I don't know whether it was hydrogen leaking
518.
▲
by
maxbond
1y ago
If you can run inference in real time (while doing a video call), and you can extract text through your operating system's accessibility APIs (eg the application isn't doing it's own bespoke text rendering), then probably. Yo
519.
▲
by
maxbond
1y ago
We might expect it to look differently, but it would appear that that's exactly what a hydrogen explosion looks like. By what means do you believe the camera, at least a hundred meters away, shakes?
520.
▲
by
maxbond
1y ago
Answering your phone is one thing, but not adding a critical date to your calendar!?
521.
▲
by
maxbond
1y ago
Reminds me of the Siemens contractor David Tinley, who programmed an Excel spreadsheet to deliberately break periodically so that they had to hire him to "fix" it. But then it happened while he was on vacation, and he was forced t
522.
▲
by
maxbond
1y ago
Hydrogen is not picky about fuel air mixture; it will explode at any concentration between 4% and 74% (in air). I rewatched the footage and it sure looks like an explosion to me. https://www.youtube.com/watch?v=OetzoO3Csj4
523.
▲
by
maxbond
1y ago
That is not how Amtrak cars are laid out. That's just categorically not a thing on Amtrak. Not in coach, not in the roomette, and not in the private rooms.
524.
▲
by
maxbond
1y ago
There is however the flip side, where people distrust something because they believe an adversary said it. Sort of like how link spammers switched from SEO to "negative SEO" where, after Google started identifying and penalizing S
525.
▲
by
maxbond
1y ago
I think we agree more than we disagree on how to go about designing a schema, but that my narrow disagreement is that I think a.) timestamps and enums are better choices than booleans most of the time (without judging anyone who uses boolea
526.
▲
by
maxbond
1y ago
The same as if you didn't have an audit table and the balance was wrong. You declare some kind of incident and investigate until you find this critical bug. Hopefully you can use the audit trail to determine what the right answer is an
527.
▲
by
maxbond
1y ago
Setting a boolean is, quite often, an important event you want to keep track of. (Specifically, when it is a flag indicating an event took place, eg, once it's been set it is rarely if ever unset.) Of course it isn't universally a
528.
▲
by
maxbond
1y ago
It's unlikely the boolean will result in better utilization, the savings will probably be consumed by padding. Most people don't know how to use structure packing to create a row which is actually smaller after it's been pa
529.
▲
by
maxbond
1y ago
Audit tables are a big ask both in terms of programming effort to design and support them, and in terms of performance hit due to write amplification (all inserts and updates cause an additional write to an audit table). Whereas making a bo
530.
▲
by
maxbond
1y ago
That had never occurred to me but is a great question. I suppose between the poor conductivity of the fabric and the paint inside the dryer, the system is very well insulated. Maybe a dryer with bare walls could be antistatic without the us
531.
▲
by
maxbond
1y ago
Chronic exposure can lead to memory loss, yes. You're describing the symptoms of acute exposure.
532.
▲
by
maxbond
1y ago
Yeah, that's fair, and I did forget about `=`/padding when I discussed base64. This instance is a solved problem with a simple solution, blessed by the standards body. The advantage of the base64 technique is that it provides fewe
533.
▲
by
maxbond
1y ago
Protocols are normally built on top of other protocols. RSS could be the transport for "let me know." (Though my recommendation would be ActivityPub, XMPP, or email.) Whether that is a protocol or an application running over a pro
534.
▲
by
maxbond
1y ago
I would say avoid trying to understand arcane nuances better than the adversary. Assume they've simultaneously got more time on their hands and sat on the relevant standards committees. Adopt a strategy that's robust to having mis
535.
▲
by
maxbond
1y ago
The thing that's different with this proposal is that it's specified to be a one-shot notification. If RSS is a channel/topic than "let me know" is a rendezvous. You could build it on top of RSS (or ActivityPub, XMP
536.
▲
by
maxbond
1y ago
As a point of information (I don't disagree with anything you've said), just because public clouds advertise a gigantic instance type doesn't necessarily mean you can provision it. I saw a situation at work once where the ML
537.
▲
by
maxbond
1y ago
Thanks for making that! Boy is that more annoying than I remembered.
538.
▲
by
maxbond
1y ago
It seems like you think I'm operating under a misunderstanding as a result of not having looked at the docs. I looked at them before commenting, and described them accurately if tersely in my original comment. We just disagree. I didn&
539.
▲
by
maxbond
1y ago
I get that it's a compatibility workaround (I did look at the docs before posting) but it's a.) super dangerous and b.) apparently was surprising to the authors of this post. I'm gunnuh keep describing "communicate with
540.
▲
by
maxbond
1y ago
> Fetch requests in Cloudflare Workers use http by default, even if you explicitly specify https, which can often cause redirect loops. This is whack as hell but doesn't seem to be the default? This issue was caused by the "Fle
More ›