I hate working with timeseries…
Reminds me of when I installed Linux on a bunch of old iMacs (the original PPC ones that were funky colours) for a uni project and discovered that if you didn’t immediately set the time on first boot, any subsequent boot would fail because they thought it was 01/01/1900.
I’m also a big fan of the different epoch dates various systems use. Particularly where Lotus fucked it up and then Excel kept the fuck-up.
That Lotus/Excel oddity caused me no small amount of headaches during my PhD…
Dates and times are a nightmare, yes!
That one is a relatively reasonable error.
I protest their definition of “programmer” at this point. After all, I can throw some paint at a canvas, but that doesn’t make me a painter.
I was expecting, after “a leap year happens every four years”, to see “except for years ending with 00”. (Yes, I did Y2K work.)
Every now and then I hear someone suggesting that, because nothing terrible happened, Y2K was just a lot of fuss over nothing. As if people hadn’t spent considerable effort to achieve that outcome.
Today I learned that some climate models assume that every month has 30 days (no I don’t know why). This is upsetting our Devs and amusing me enormously.
Perhaps. But I do remember my friend in college freaking out about Y2K just before New Year’s, thinking everything was going to come crashing down, seeming to completely ignore the fact that companies had been working to prevent anything bad from happening for quite some time. My friend, who was going through the IT program with me.
I’ll give you two guesses as to who was right about the issue. 
Top search result:
There were a bunch of real failures a few years (okay, often 20) later, when the people who decieded that a window was the right thing ran out of window.
Too bad Bowie never did a song about that.
I am in a state of whoosh.
laziness. (if we’re honest)
I used to work on a product that did resource scheduling. When I started, the test suite was littered with tests that made thèse kinds of assumptions. They worked 98% of the time, and would fail because the test started at 2:59:55, and rolled into 3:00. Or whatever the boundary was, hours and minutes, mostly. the day rollover bugs we didn’t see too much, because of when we ran tests. I spent a month cleaning up 500 or so of them . Some got fixed, some had to be run with fixed starting times.
-
I am writing Integrationtests this time. I keep forgetting that to test the “fixed” code, I need to redeploy. Duh.
-
when you don’t specify stuff before, you get a stack of “omg we should have thought of that” realizations that keep you reworking the same few statements over and over and over. So glad I suggested we use unit-tests as a kind of spec.
-
really grateful for modern IDEs having a “local history” after I messed up with git once again. Local history ftw! (obviously only needed by idiots who keep uncommitted changes somewhere on their harddrive or people who aren’t using version control properly. both → me)
So glad I suggested we use unit-tests as a kind of spec.
Is that the beautiful sound of test-driven development I hear? 
By necessity, because documentation is not structured enough in this project and due to the “agile” nature of the project, requirement tracking is a bit “fleeting”. It all works fine most of the time. But we had a major refactoring recently that changed a few substantial things that ripple through the supposedly “unchangeable” external interfaces (1) and now the easiest way to lock down the way things are supposed to be is to write a test. Or rather a bunch of tests.
(1) these are versioned interfaces I want to add and these are the legacy versions that really aren’t supposed to change. That’s why there is interface versioning in the first place so older versions can remain stable.
Which is exactly what tests are for. I am currently dealing with a data thing that changed, did not get noticed in test, and broke a consumer of the data thing (or rather, a consumer of the archiver of the data thing). Annoying, and I’ll write a bunch of tests to keep it from happening again. (which it won’t, because it’s likely data thing will go away soon. Unless it doesn’t.) I also need to write some other tests, but the mocking there is so fucking awful I don’t want to.
Something hideous involving databases?