Jacob Pratt

@jhpratt
1.5K Followers
73 Following
94 Posts

Contributor to Rust's compiler and standard library. Maintainer of Rust crates including time, deranged, powerfmt, num_threads, and num-conv. Third degree black belt in American Kenpo 🥋

jhpratt on most platforms

Sponsor me!https://github.com/sponsors/jhpratt
Websitehttps://jhpratt.dev
GitHubhttps://github.com/jhpratt
Discordhttps://discordapp.com/users/jhpratt

GitHub Sponsors is telling me to confirm my identity, or more specifically my address. Only one problem: they assume that there is only a single city/town name for a ZIP code…

No one working on this at GitHub has ever lived in a rural area? My town hasn't had a post office in decades; we use the neighboring town's post office and ZIP code, but that doesn't mean my town doesn't exist!

Good news/bad news. I found a bug in the time crate, but it's apparently obscure enough that no one has reported it in the 3+ years it has existed. And it's has *never* worked since being introduced, so I am not constrained by semver in my fixing it.

Oh, and I was careful enough to explicitly mark that path as a bug, so the error is unambiguous that it's unintentional!

People got extremely angry over a single blog post having a first draft written by an LLM, despite it being rewritten entirely before publishing. There is at least one accepted RFC that started the same way. As best as I know, that was not public knowledge until now.

I'm deliberately not disclosing which RFC was initially drafted by an LLM, as it's not relevant. Just know that it's far more pervasive than you realize. It's no reason to attack someone, personally or professionally.

Things I never expected to say: the `time` crate now contains an optimizing compiler. Like…full lexer, AST, IR, versioning, codgen, and now I'm working on an optimization pass.
@matt Any suggestions on best way to accessibly represent syntax diagrams? I would imagine either SVG or Unicode diagrams are both horrendous, but I'm unsure what I *could* do.

We don’t want cost to be a blocker to attend TokioConf.

If you build with Tokio, we want you there.

For every full-price ticket purchased before the end of March, we’ll add another Community Access ticket so someone else in the community can attend.

Perhaps a silly question, but why don't portable power banks (when wired) use the 3.7V that both the battery and device it's charging already have? Why the need to convert to 5V (or higher), necessarily adding nontrivial losses?

Surely it's not only because that's what the USB standard says?

#electronics #technology

@a Enjoy the permanent daylight saving time!

Yes, I am now aware that there is the ability to disable the random coloring of digits, but it requires the phone to be rooted. Which, if you don't know, means tons of financial apps will refuse to work.

These may seem like minor annoyances, but I'm considering returning the phone over it. Little things make a big difference.

I got a OnePlus 15 in the mail today…whose idea was it to force the "one" digit in the clock on the AOD to be red? There's not even an option to change it. That combined with the same in the quick settings menu and a "your system is now in optimal condition" message after closing all apps is horrendous UX.

In terms of hardware, the phone is great. But software? Come on, stop adding crap that isn't necessary, is bad for accessibility, and is outright distracting.

#OnePlus #software