As a programmer, I'll likely be making off-by-one mistakes until the day after I die
Addendum: As a test engineer, I'm hoping to die on a leap day, during a daylight savings change, or at least after the unix epoch expires. Ideally some combination of the three, perhaps with a Lazarus syndrome or two thrown in before finally circle-strafing towards the light.
@dotjayne now with AI you can make a program that will create errors for you for years after you die
@dotjayne it can also be neat to have a mid-year birthday so people are perpetually unsure whether they're calculating your age at death correctly
@ireneista @dotjayne I put my dob into any field where it's not genuinely important as 1970-01-01 so if something goes wrong I can tell them my data was corrupt and it wasn't me.
@dotjayne Off by one fixes are also a thing (adding a +1 or a -1 to an expression just to see what happens). I've done some of those. ​
@dotjayne I hope to live into the new epoch.
@dotjayne You will die together with the rest of humanity the moment AI generated code will get deep enough into software defined networking. And yes it might as well be a day within your specified parameters \o/
@dotjayne It does make me wonder if anyone has died while their code was in review, and then it got merged.
@heygarrett @dotjayne not enough people are asking, What Happens To Your Unapplied Git Stashes After You Die?

@pikesley @heygarrett @dotjayne The ship Naglfar is built from the git stashes of the dead and will sail against the gods at Ragnarök.

Put things you're working on in WIP PRs instead of stashing them forever lest you hasten the coming of the end of days!

@pikesley @heygarrett @dotjayne they are lost, like tears in rain
@pikesley @heygarrett @dotjayne when the trumpets call, all commits are merged, the commit some call, the Octopus Merge at the End of the Universe.
@pikesley @heygarrett @dotjayne the road to hell is paved with them.

@heygarrett @dotjayne I have had pull requests reviewed and pulled in while I had written them before I broke my ankle and was in the hospital, and merged in before I got back to being able to work.

So...somebody probably got the Bus Factor version of that too.

Hopefully it wasn't Windows Recall that was subject to that.

@heygarrett @dotjayne This was before Git, but I had to pick up a set of patches from a colleague who died if cancer at my previous $DAYJOB. It was tough, but fortunately he was in the habit of documenting all he did, so I did manage to finish it.

I picked up the same habit of keeping a work log shortly after.

@heygarrett @dotjayne Correction: Git was around (this was in 2008), but the company used an older VCS.

@heygarrett @dotjayne In a different-but-related channel, something like this was explored in the movie Brainstorm.

https://en.wikipedia.org/wiki/Brainstorm_(1983_film)

Brainstorm (1983 film) - Wikipedia

@dotjayne I don't want to be the dark prophet, but you're likely going to die in January 2038
@PaniczGodek @dotjayne That is an interesting point...
Just yesterday, I was reading that TSA uses a two digit code for the year. A 101 year old women has to travel as an unaccompanied toddler.
@dotjayne
@salsagal
My problem was always misplaced semicolons I could never seem to find.
@JeremyMallin @dotjayne @salsagal mine’s inverse logic errors, forgot a NOT somewhere or put one too much or swapped greater/less-than sides…
@JeremyMallin @dotjayne @salsagal I wasted a WEEK on one of those ~40Y ago and it still scars me!
@JeremyMallin @dotjayne @salsagal Since most of my code had been developed for internal usage, I switched to Python in 2019 because the AI/ML/Datascience tools were easier.
Now, I am missing a space or a colon...but the same thing.
@dotjayne @nazgul For your sake, I hope you die a day late….
@xvf17 @dotjayne @nazgul I plan to be late at (sic) my own funeral.

@dotjayne So arrays start at zero and strings should be null terminated, so that they always ed up being one character longer than they would be?

This off-by-one thing is partly resulting from a design that became too mainstream to change it. And we know the Bell Labs are to blame, right?

@dotjayne
Truth! Haven't coded in decades, but still SHR DX,1 more often than I can count.

POP

@dotjayne Just hope it'll actually trigger an OOBE instead of random code execution. Zombie processes are no joke.
@dotjayne Or maybe until the day before you die, or the day after. Hard to say.
@dotjayne If Netflix is still charging your credit card, are you really dead?

@dotjayne missing or extra commas for me,

That or "i#" at the beginning of lines. (Name my editor and programming language.)

@dotjayne

The two main problems in computer science:
Cache invalidation, naming conventions, and off-by-one errors.

@dotjayne I had to reread your toot 0 times because I didn't quite get it on the 2nd try.
@dotjayne @leyrer If you're gonna access the day after you die though, or reference the day after that day, you'll cause undefined behavior. This is how zombie apocalypse begins.
@dotjayne my thought as a programmer is: who knows if my bug will be the one brought down Skynet and saved humanity one day
@dotjayne @ralesk it doesn’t have to be this way. Pythonic iteration / list comprehensions ❤️
@dotjayne
if you're lucky you'll miss the reaper toi because of a off-by-one in his calendar app. ;)
@dotjayne every time I do I think it'll be the last, but nope there's always one more

@dotjayne @Sdowney this is why I hate live technical tests or tests that require you to write code without testing/running it.

show me the one programmer who's gotten it right the first time every time

@charlesrandall That's an off by one error ... There are zero programmers who have done it correctly every time.

I've done it many, many times, but not every time.

CC: @dotjayne @Sdowney

@dotjayne and possibly the days before and after, too
@dotjayne Whenever I have an excuse code I am CONSTANTLY vigilant against them. I'm nearly offended that Python's random integer function includes the last value in the possibilities!
@dotjayne @chrisisgr8
As a programmer, I'll likely be making cache invalidation mistakes until the day after I die
@dotjayne @chrisisgr8
As a programmer, I'll likely be making timezone mistakes until the day after I die
@dotjayne @chrisisgr8
As a programmer, I'll likely be making delay slot mistakes until the day after I die
@dotjayne @chrisisgr8
As a programmer, I'll likely be making branch prediction mistakes until some time after I die, raising the spectre of a side channel from beyond the grave
@sabik @dotjayne @chrisisgr8 As a programmer I’ll likely be making buffer overflow mistakes until 1974.
@dotjayne And you'll be late for your own funeral doing so.
@dotjayne
pretty sure programmers were responsible for the tradition of little bells on coffins, connected to the deceased(?)'s finger, so it could be rang in case of an off-by-one error involving mortality.
@dotjayne I just wasted a full hour troubleshooting every possible wrong way to implement the Siamese method to generate Magic Squares for this dumb Java assignment, and I feel this in my bones.
@dotjayne LOL! Correction, the day before or after you die, right?
@dotjayne Nah, that last one will be a fence post error.