Andrew Ducker (andrewducker) wrote,
Andrew Ducker

I never thought I'd actually encounter an integer overflow in my own code

However, thanks to attempting to work in time units that are both "seconds from now" and "milliseconds since Jan 1st 1970", I managed to do so, causing my attempts to add 28 days to now to actually produce a figure 21 days in the past.

Other fun this weekend:
My mum was up, and we got a tour around the Scottish Parliament building (well worth it), followed by Mexican food (yay!), the City Art Centre (currently hosting a best-of, and it was fascinating to see what visitors had voted for), and the Scottish National Gallery (always worth a wander around). This pretty much killed both my feet and Saturday.

Today I spent coding up long-running sessions in Java Servlets. Which was interesting (HMACs, cookies, and security stuff to read) and ended up working fine, once I solved my maths problems. And then off for dinner with the family in town, before coming home, where Julie and I have mostly prepped the flat for two workmen to come round and fix the dishwasher tomorrow.

It's been broken for about three weeks now, and when the repairman came round before he discovered that (a)it's wedged in really tightly and (b) the kitchen isn't actually wide enough to pull it out without it going through where the opposite cupboards are. I'm really hoping that they can fix it tomorrow, without having to dismantly half the kitchen. *sigh*

Original post on Dreamwidth - there are comment count unavailable comments there.

  • instagram cross-post

    Beautiful glow to the sky at 22:30 today. And still over a month to the longest day! Original is here on instagram. Original post on…

  • instagram cross-post

    When I arrived back from the toilet at 4am I discovered someone had stolen my pillow. Original is here on instagram. Original post on…

  • Interesting Links for 17-05-2021

    Herdwicks: The sheep that shaped the Lake District (tags: sheep uk history ) Britain destroyed records of colonial crimes (tags: UK empire…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened