Live data from Hacker News

Bttf is a command line datetime Swiss army knife

github.com

1–10 of 104 posts

Re: Bttf is a command line datetime Swiss army knife

#8
The thing Biff gets right that gnu `date` and most stdlib datetime APIs get wrong: it treats "civil time" and "absolute instants" as different types. You cannot answer "what's 30 days from 2024-03-08 in America/New_York" without picking a side — DST means that's either 29d23h or 30d0h of elapsed time, and most APIs silently pick one without telling you.

Jiff (the underlying Rust crate) gets this from Temporal in TC39, which is the first time JS standards have led anything datetime-shaped. Hopefully the rest of the ecosystem catches up — Python's `zoneinfo` only landed in 3.9 and `datetime.timezone` still has sharp edges.

Re: Bttf is a command line datetime Swiss army knife

#10
post #2

No, Biff informs the system whether you want to be notified when mail arrives during the current terminal session.

Yes I'm sure root is anxious to read all the mail in their local mailbox

Sending mail to root@ really did use to be a pretty reliable way of getting somebody useful's attention - the early-to-mid 90s equivalent of making a "Can someone from Google please unlock my account?" post on HN.
Post reply on HN