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.

  • Interesting Links for 23-10-2021

    Unite policy conference backs new voting system for UK general elections (tags: voting reform unions uk ) If Clouds Are Made of Water, How Do…

  • Interesting Links for 22-10-2021

    The NFT-based book-writing group aimed at teens that lasted nearly 12 hours before being questioned to death (tags: writing cryptography wtf…

  • Interesting Links for 21-10-2021

    "i need a white guy" (tags: racism satire apps ) The government let Covid rip through our care homes (tags: OldAge murder Pandemic lies…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened