Never roll your own date time library kids
@LifesAHaskell Counterpoint: Do it. It'll be funny.
@ckape @LifesAHaskell I actually did! And now used by millions of developers using PHP, and Facebook, and MongoDB.

@derickr @ckape @LifesAHaskell

I’ll just say time makes fools of us all, and prod support has a distinct increase around DST changes.

@LifesAHaskell Yes, even for devs using PHP. Our old bug system had a specific "quick fix" called "You've Discovered DST" 😄
@derickr @LifesAHaskell its really time to eradicate DST
#DST

@AstaMcCarthy @derickr @LifesAHaskell just abolish timezones in general

make everywhere UTC

I don't mind if I wake at 6pm and go to sleep at 10am, it doesn't really matter what the numbers are so why make it different per country

@LifesAHaskell I dunno, I think maybe they are just trying to say this is immortal milk that will never go bad
@LifesAHaskell @tastytronic That date is so clear and readable — on such an uneven surface — I could almost forgive the date being entirely fictional.

@penryu @LifesAHaskell @tastytronic The hardware is, indeed, quite impressive.

Remember the first inkjet printers you could buy? How they waited two or three minutes between pages for the ink to dry - and still smudged? We decided there was no future in inkjet printers and bought daisywheels and lasers instead.

@TimWardCam @penryu @LifesAHaskell @tastytronic
Back in the day, I went to a surplus equipment sale from Price Waterhouse.

I bought an early Xerox laser printer, which weighed about 80 lbs and used toner that came in bottles.

It emulated a Diablo 630 daisy wheel printer.

So, yes.

@RealGene @penryu @LifesAHaskell @tastytronic Daisy wheels ... ah yes ...

Italics were a pain, as you had to change the daisy wheel. If you wrote really clever software your punters would only have to change the wheel once per line of type, not once each time there was a switch between roman and italics.

Bold was OK if the punter was using a cloth ribbon, but not of they were using a carbon ribbon. You did bold by striking twice, one stepper motor step apart. With a cloth ribbon the two strikes blended into each other, with a carbon ribbon you got two clearly separate overlapping impressions.

@TimWardCam @penryu @LifesAHaskell @tastytronic
I wrote a driver for a small monochrome LCD that did bold by shifting the 5x7 character one pixel to the right and OR-ing them together…
@TimWardCam @RealGene @penryu @LifesAHaskell I used a radio shack daisy wheel with a trs-80 back in the day, it sounded like a machine gun

@tastytronic @RealGene @penryu @LifesAHaskell Oh yes, being able to tell what a computer was up to by the noise it was making. So that you could, for example, start paying attention when you heard that the thing you were waiting for was nearing completion.

Printer noise, floppy disk nose, hard disk noise ... even (and I never did this myself but I'm told it's been done) a loudspeaker wired across the A20 (or whatever) address bus line.

These days all you've got to go on is the fan. When the fan subsides to idle that's a good indication that the build has finished and it's time to get back to work.

@TimWardCam @RealGene @penryu @LifesAHaskell speaking of being able to hear what the computer was up to... https://youtu.be/qJcmpux296U?si=tSlDqDw1mG6yFh3D
Founders Alt Hook C 16x9 braemo45128emo1

YouTube
@TimWardCam @tastytronic @RealGene @LifesAHaskell It's sad, the only things that let me do that nowadays are dishwashers and washing machines.
@tastytronic @TimWardCam @RealGene @penryu @LifesAHaskell @TundraWolf The PCW 9512 in the UK had a daisywheel for better print than it's siblings 9 pin dot matrix. It was still a machine built down to a price.. including sound deadening. There wasn't any. It quickly became nicknamed the gatling gun printer among users.
@chloeraccoon @tastytronic @RealGene @penryu @LifesAHaskell @TundraWolf Ah, yes. I know/knew the people who built the PCW.
@chloeraccoon @tastytronic @RealGene @penryu @LifesAHaskell @TundraWolf The only word processor available at the time that had the full character set needed for Welsh.
@penryu @LifesAHaskell @tastytronic it looked so good in such an odd spot I didn’t even notice the month 😆
@LifesAHaskell And at 2:06 it instantly turns to cheese.
@LifesAHaskell But it is
If you can find that date. There are many paths to it but all are perilous

@LifesAHaskell it's schrödinger's milk: it shouldn't go bad before feb 30, but you can't prove it without opening it…

…still, some potential for legal suit there, lol!

@LifesAHaskell
Programmers have been working on this since 1582. I would have thought this was a solved problem by now.

(Yes, I had to look up the year our present calendar was introduced.)

@LifesAHaskell I don't get this?!?...
@graphite @LifesAHaskell February 30th 's not a real date. February only has 28 days (or 29, in leap years). The post plays on this likely happening duea them using a faulty datetime handling software.
@graphite @LifesAHaskell You probably just need some time to think it over. Wait until February 30th, and if you still don't get it by then, we'll explain the joke :)
@LifesAHaskell
Does 'FEB 30' refer to the year? Does the milk glow in the dark? Must be radiation treated...
@LifesAHaskell Yes, but Feb 30 of WHICH YEAR???
@angusm @LifesAHaskell the year that has a feb 30.
@LifesAHaskell seems goot til 2030 to me, good stuff.
@LifesAHaskell If you can never get to the date, the milk can't go bad, right? Sort of Zeno's paradox mixed with something about Schrodinger's cat.
@AskPippa @LifesAHaskell it’s a myth that cats like milk. It is actually not very good for them.
@Archnemysis @AskPippa @LifesAHaskell it's not a myth that they like it: it's a myth that you should give it to them.
@Archnemysis @LifesAHaskell It depends on the cat. Some of my cats I've had like milk, others don't. It disagrees with some, but not others. For the ones that like it, I'll give them a small amount once in a while as a treat (like a tbsp), but not daily.
@LifesAHaskell
30 days hath September
April June and November
All the rest have 31 …
Ah fuck this let’s get a coffee.
@LifesAHaskell That, but also maybe apply one or two brain cells to testing what you write?
That's not the only strange thing there. Is that text meant to be “BEST BEFORE” or “USE BY”?
@LifesAHaskell What's wrong with (end of) February 2030?

@LifesAHaskell @siracusa well, there’s no February 30, so it’s 2030.

Someone who doesn’t have the scars of Y2K.

@LifesAHaskell
Oh God! Reminds me of TSCAMGR in a problem/change manager written in 370 assembler for IBM's Info/Man application. not only did they define the base registers 4095 bytes apart so most offsets were odd numbers, but they had a truly appalling date calculator that I ripped out and rewrote from scratch so it returned sensible values, and not the -3rd February because leap days were beyond their Ken and a long way into Barbie territory. 3:O((>

@LifesAHaskell I remember working with a database where the devs had thought that the correct datatype for storing dates was DECIMAL(8,0) and for timestamps DECIMAL(14,0).
I also remember seeing an entry in that database that had been changed on January 53rd around 26:68 hours.

That system also featured three different subprograms for determining whether a given year is a leap year or not. You know, redundancy in important system components is paramount.

@LifesAHaskell It's from a spherical cow
@[email protected] would be march ?????????
<this bot relies on standard datetime libraries and couldn't parse the input>