Travis B. wrote: ↑Sat Jul 20, 2024 9:39 pm
Fixed a major bug in zeptoforth and made a new release incorporating the fix, zeptoforth 1.6.4.2. Thing is, it was a really stupid bug that I should never had made, because it was neglecting to take leap months into account for months (but taking them into account for years) when converting dates from seconds since midnight 1 January 1970 to a time and date. I only caught this when playing around with using NTP to set times and dates for files, because this year happens to be a leap year.
Where you should have found a standard test suite for this? I feel there ought to be one, and I too would have a use for it.
I should write automated test suites more than I do. Last time I tested this was before the end of February this year, so in the piece of code this bug affected the bug did not manifest itself.
Richard W wrote: ↑Sun Jul 21, 2024 9:19 am
I take it you're using the standard convention of every day being 86,400 seconds long, even when its longer? (I assume you're treating daylight-saving times as something on top, along with the ambiguity of 1:30 a.m. I like watching my radio-controlled analogue-display clock when the clocks change on a Sunday morning. It takes a couple of rests when the clock goes back, which it implements as going forwards 23 hours.) Do you support UTC?
All times I am using are UTC except that I am not factoring in leap seconds.
Richard W wrote: ↑Sun Jul 21, 2024 9:19 am
Am I the only one who is unsure what the date is one minute after 'midnight 1 January 1970'? I don't think I am, as my car insurance regularly expires at 23:59, though I suspect it's still in force at 23:59:52.
Yeah, stuff like this can be troublesome in reality.
Travis B. wrote: ↑Sun Jul 21, 2024 2:34 pm
All times I am using are UTC except that I am not factoring in leap seconds.
So no, you don't support UTC! When first converting a time since as seconds since some epoch, I got very worried about obtaining and maintaining a list of leap seconds. It feels like no-one factors them in - or do some European navies acknowledge them?
Travis B. wrote: ↑Sun Jul 21, 2024 2:34 pm
All times I am using are UTC except that I am not factoring in leap seconds.
So no, you don't support UTC! When first converting a time since as seconds since some epoch, I got very worried about obtaining and maintaining a list of leap seconds. It feels like no-one factors them in - or do some European navies acknowledge them?
The reason for this is that the RTC on the microcontroller I am using does not support leap seconds, and I would have to either use the RTC interrupt to implement it, which would deny the use of the RTC interrupt to applications or at least require chaining interrupt handlers, or I would have to implement a task that would adjust the RTC, which would be undesirable for its own reasons.
doctor shark wrote: ↑Mon Jul 22, 2024 2:44 am
Contradictory: I'm moving in two weeks, at long last! ...but... I'M MOVING IN TWO WEEKS SO MUCH TO DO SO MUCH TO FINISH SO MUCH TO CANCEL AAAAAAAH
doctor shark wrote: ↑Mon Jul 22, 2024 2:44 am
Contradictory: I'm moving in two weeks, at long last! ...but... I'M MOVING IN TWO WEEKS SO MUCH TO DO SO MUCH TO FINISH SO MUCH TO CANCEL AAAAAAAH
the only thing I know about Luxembourg is the long lines of cars at gas stations... __________________________________________________________________________ vÊ»Ï‷½Ë]ÎÐÀÁP¿»Äzx¿cÐÀÁoîÐÄzÄ »¾B½ÐÀÁ
doctor shark wrote: ↑Wed Aug 07, 2024 4:25 am
I'm, indeed, in Luxembourg! Of course, lots of settling and discombobulating to be done... but the important thing (the move) is taken care of.
Do you perhaps want to un-discombobulate yourself, rather? Either way, best wishes!
For myself, I flew back to Australia last week. Coming back home has felt very weird… I considered posting here, but was too discombobulated on my own part to actually get around to doing it.
doctor shark wrote: ↑Wed Aug 07, 2024 4:25 am
I'm, indeed, in Luxembourg! Of course, lots of settling and discombobulating to be done... but the important thing (the move) is taken care of.
Do you perhaps want to un-discombobulate yourself, rather? Either way, best wishes!
For myself, I flew back to Australia last week. Coming back home has felt very weird… I considered posting here, but was too discombobulated on my own part to actually get around to doing it.
Given the state of my unpacking after Monday's events, it's probably both a degree of discombobulation and un-discombobulation. (Yay!)
But it feels great, yet surreal, to be back in the Grand Duchy. And understandable that you feel strange with returning to Australia: I had it each time I returned to the US after various travels for varying length of time and with varying degrees of severity. (Perhaps why I ended up back in Europe...)
aka vampireshark
The other kind of doctor.
Perpetually in search of banknote subjects. Inquire within.
More moving stuff: Stuff is going very well! I have internet in my lair (at last), I have an IKEA order to pick up tomorrow for some furniture to better equip my place (some bookshelves and cabinets, among other things), things are progressing for the post-arrival formalities, and I officially start my new position on Thursday. (Or, rather, Friday.)
However, it's hot. Really hot. (Upwards of 30ºC.) It's been quite hot since the day I left the Netherlands, actually! This means just going outside is draining... it's supposed to cool off Thursday, but I'll believe it when it happens.
Also, there are some future/former coworkers I'm really not looking forward to dealing with. One of them ostensibly speaks five or six languages, but is barely comprehensible regardless of whichever language she uses. (I speak to her in French, but even that's a struggle.) The other has... quite deficient social skills, to put it mildly. Alas, though, I chose to return to the group...
aka vampireshark
The other kind of doctor.
Perpetually in search of banknote subjects. Inquire within.
As annoying as I find the prospect of lingering health problems due to my repeated bouts with COVID, I have to remind myself that in previous pandemics we didn't have this problem because people who got sick mostly just died.
Recently I had an important deadline coming up. Something that took a substantial amount of effort to deliver in a way that would not make me look like a fool. So in typical Raholeun fashion, I start procrastinating; the kind where you’re not just avoiding the task at hand, but actively becoming hyper-fascinated by things absolutely irrelevant to it. Somewhat sad is the fact that I can always see it coming; the procrastination thing isn’t a surprise anymore, it’s practically scheduled, like some Pavlovian reaction to the idea of responsibility, even though I’ve long ago identified the cycle of diving into an impossibly intricate linguistic project as a way of avoiding the actual thing I should be doing on the plane of physical matter and real people. The optimistic part of me tried to convince me that this time it would be different. "This time I’m going to keep the project manageable".
Sanskrit is one of my old flames. I get mushy like a used diaper when I see Sanskrit. Not that that fact makes me an expert in any way. Back when ramen noodles were still an acceptable dinner option, I took a just one semester of Classical Sanskrit, that's about it for exposure. But it made an impression. Naturally, this is where my brain wants to go when it should be focussing on the thing I actually have to do (spoiler: it is done).