Jacob Pratt

@jhpratt
1.5K Followers
73 Following
93 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
Firefox has split view now?? I fucking love it

Reminder for those who may not be aware that those "fancy/custom text" things using special unicode characters that bypass ASCII fonts to make your name look cool or fancy or whatever ruin accessibility, like hard.

They break screen readers hard, since most, if not all, don't know how to handle them properly and end up pronouncing something like "Special character S" or whatever. They're also significantly harder to read than a user's chosen font, or the default fonts on any reasonable operating system or website, especially for neurodivergent and in particular dyslexic people.

Please stop using them, and maybe nudge your friends to stop using them.

Boosts appreciated for awareness

#Accessibility #FancyFonts #Neurodivergent #Boostswelcome

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!