perfect software engineering. no notes.

tweet cite

EA Help (@EAHelp) on X

Guidance for PlayStation players: 1⃣ On your console, go to Settings > System > Date and Time > Set Date and Time > Set Manually. 2⃣ Change the date to March 1, 2024. 3⃣ Once this change has been done, the game should function normally.

X (formerly Twitter)
@0xabad1dea I like how they don't directly acknowledge it's a leap year issue
@outadoc @0xabad1dea in a way I think they did the sensible thing: provide the workaround. The majority of users don't care about the reason, they just want to run their game.
@saua @outadoc @0xabad1dea But something will break and somebody will start to cry when some code will want to check digital certificates with the wrong date.
😉
@0xabad1dea time is a flat leap-circle.
@0xabad1dea Date math. It's not just for breakfast anymore.
@0xabad1dea similar vibe to seeing a number and going, "I haven't been keeping track really but now that I think about it, yeah, that IS the number of days that have passed since 12/31/1969"
@thompsonize, you do realise that that “12/31” implies that 1969 was extended by at least 19 months…

@lp0_on_fire You do realize that part is in quotes, ie something I'm thinking to myself with my american-made brain...

I'm kidding but also, perfect example of why soft skills matter.

@0xabad1dea to quote that awful manager I used to have: "programming is just a bunch of IFs."

They just missed a few here.

@malcircuit

@hotkey Imagine if it *was* a bunch of IFs. It would be so gd difficult 😳

@krnlg @hotkey

The fun part with that manager is that they apparently didn't understand what they were saying.

So you have 10 ifs... that means 1024 paths through that piece of code... all which have to be considered and tested.

With 20 ifs it's 1048576 paths.

"Yes, I hold a system of several billion states in my head while coding. What do you, manager person, do all day?"

@wakame @krnlg @hotkey "Dr. Strange's job of 'Looking ahead in Infinity War to find the specific set of battle decisions they had to take to get to the one universe where they beat Thanos' is basically what I do all day, every day, without a Time Stone.

Can I get paid at *least* a Dr. Strange's level of salary if you're correct that this is what you're saying about programming being a series of if statements?"

@wakame @krnlg @hotkey "Pay me more than Dr. Strange, and I will leave comments in my code where 'Tony Stark has to survive so that he solves our universe's version of time travel and then proceeds to steal the Infinity Stones from Thanos after Thanos stole them from an Infinity Gauntlet, that he made to bring people back, so that Iron Man can snap Thanos out of existence.'.

For an yearly bonus, I'll add that Thor should 'Aim for the head.'"

@krnlg @hotkey And GOTOs. Or your code would be billions of lines long to handle repetitions.
@dan613 That's what we have reset buttons for - to start again 🙂
@0xabad1dea @marsh931
*changes date*
*hackervoice*
“I’m in”
@0xabad1dea
Don't roll your own leap year but at least roll something.... 🤪
@0xabad1dea Let's roll our own Date library. What could possibly go rwong?
@0xabad1dea @mcc Dates on computers are hard, m’kay?
@0xabad1dea
If only there were libraries for date calculations that programmers could use!
@0xabad1dea
* Releases games with a leap year in the title
* Does not check if they work on leap day
@0xabad1dea if the first rule of secure development is "never roll your own crypto," can we make the second one "never roll your own date handler?"
@0xabad1dea Hahahaha, hat da jemand vergessen dass 2024 ein Schaltjahr is?
@0xabad1dea In this year, 19100, of the year of our lord
@0xabad1dea I feel like this was a less noticeable problem in the previous leap year. Has code quality taken such a dive in that time?
@tomw @0xabad1dea I noticed that as well. Personally I blame generative AI.

@DefectiveWings @0xabad1dea if it were that old, they would have encountered that problem multiple times already

no, they did rewrite that function every friggin time - and every version is slightly broken, but in a different way than the next one.

@0xabad1dea Citrix and Sophos also have trouble with leap day…
Citrix HDX HTML5 Video Redirection Service - stopped on all VDA's today

Hi after nightly reboot the Citrix HDX HTML5 Video Redirection Service won't start. "The Citrix HDX HTML5 Video Redirection Service service terminated unexpectedly" environment PVS 1909.1 Windows Server 2016 CVAD 1909.1 anyone else experiencing the same issue? my first thought was that this could...

Discussions
@0xabad1dea Yet EA had no technical issue with announcing they were laying off 5% of their staff even though it's February 29.
@0xabad1dea oh my god it's manjaro all over again @graphite
EA Help (@EAHelp) on X

Hello #EASPORTSWRC players, We are aware of an issue on console in which the game may crash on startup. This is currently being investigated and will be fixed as soon as possible.

X (formerly Twitter)

@0xabad1dea we had an application on our mainframe abend because of the leap year.

Programmer's solution? Wait until tomorrow.

I've deduced I'm going to have to bite the bullet and learn COBOL on my own to convince my manager to let me fix things myself.

@0xabad1dea Sweet lord, computers were a mistake.

@0xabad1dea forgot what day it was and thought it was gonna be "turn back your clock to before the SSL cert expired".

This is SO much better.

@0xabad1dea
✋🏿Eliminating leap seconds
👉🏿Eliminating leap days
@0xabad1dea AHAAHAHAH oh I love those "We didn't have time to use a real date-time-calendar library" bugs

@0xabad1dea

I might be suffering the same bug. Guess I've gotta go home, nap, and reset tomorrow morning.

@0xabad1dea Well, somebody forgot a unit test 😅
@0xabad1dea EA said "do not let your console observe the illegal day"
@0xabad1dea wow, what were the odds of that happening maybe 1 in 1460?

@0xabad1dea

Don't fly today.

If you think you may be living in a simulation, adjust your calendar before leaving the house.If there is no universe outside your house, remain indoors.

@0xabad1dea people who are born on the 29th of Feb are gonna love it! /s
Edit/More stuff: I just wanted to add that the first thing we were taught when we learned java in uni was date validation especially for leap years, iirc it was year%5 == 0 I think
But I like to think that the code was all if statements or perhaps a huge switch with tens of cases, and that's why you always use libraries and never do things yourself, but I'll fricking do it anyways kekw 
@0xabad1dea I long for the days when the worst February 29th bug was Lotus 1-2-3 thinking 1900 was a leap year.
@0xabad1dea nice 😂
Someone please send @kevlin a screenshot!
@0xabad1dea wait... this is a leap year thing, is it?
@0xabad1dea Didn't make a test case in LeetCode.
@0xabad1dea It is a leap year, no one could have foreseen that. It will probably fix itself in a day anyway.