I’m on a zoom call with zoom. Amusingy, no one from Zoom has a camera turned on.
And sometimes it does make life easier.
I am having some issues that need data from my accounting from 2021 in order to be cleared up.
I am using professional accounting software for my freelancing and thanks to this I was easily able to extract the document that I was asked to provide.
I am so relieved that the software knows more than I do about this stuff and I only need to put in my numbers once a month.
the problem with magic is that no one knows what to do when it doesn’t work. We have a logging system. you define a class to describe what you’re logging (set the fields, their types, what kind of data that represents, and the privacy constraints, etc), get it landed, and some magic is supposed to happen to generate the bindings you need to work with it from other languages, and sync it across to various repos. I discovered a logger didn’t really do what it was supposed to do, added a few fields, and landed the change. I got distracted by other things, and didn’t get around to trying to update the code that generates the logs until todya. Whereupon, I discovered that magic syncing hadn’t happened, but everything said the magic had been run. I dug at it, and ran the old fashioned non-magic commands to generate the diff required for the syncing, which failed, because it claimed it was synced. but doing that did something, because the magic diff fell out. we’ll see if it actually works. Tomorrow…
More proof climate change is real! Has a much easier solution than anyone realized, though…
Turning it on and off didn’t work. When I got it home, I went to connect my scan tool to the car, but the battery was dead. By the time it charged enough to be usable, the module was talking, and there wasn’t even a history code for it. (The car did have a code stored for a low battery in my wife’s key, which I changed.). I fully expect it to break again, probably in the coldest part of winter.
I was getting worried about the colder weather and my aging car battery so a week ago I got a brand new battery fitted.
Guess who had to call his breakdown service yesterday because his car wouldn’t start after driving to the neighbouring town?
Didn’t start again today when I tried so I’m waiting for a jump start so I can take it down to the garage that fitted the battery. Fun times.
So I have this big fancy IDE (Programmer’s Word equivalent ) and it has an integrated chatGPT thingy and I needed to know when the sun sets to I can manage to get home before.
But it refused to answer non-programming related questions.
So my next question was: “Can you give me code that calculates sunset?”
Yes it could–I had to add my coordinates and timezone… and in the meantime verify everything on the internet… so that kinda defied the purpose but it’s still good fun and I learned something about another python library I will probably never need again.
Nice of Microsoft to break things today. I didn’t want to know what meetings I’m not going to, anyway.
If you have Emacs installed (or fancy installing it):
M-x sunrise-sunset
tells me:
Sunrise 5:46am (NZDT), sunset 8:30pm (NZDT) at 41.3S, 174.9E (14:44 hrs daylight)
You need to have customized the calendar-latitude
and calendar-longitude
options to at least vaguely nearby values. Or GitHub - emacsmirror/geo: Generic geolocation backend for GNU Emacs can automate that (I’ve not tried it).
The brand new casual-calendar package is also a lovely way to drive the Emacs calendar and related features (I had a play with it this morning).
And with %%(diary-sunrise-sunset)
included in my diary file, the same info also appears automatically in my daily diary/org-agenda :).
Tuesday 26 November 2024
Diary: 5:46 Sunrise (NZDT), sunset 8:30pm (NZDT) at 41.3S, 174.9E (14:44 hrs daylight)
…
And M-x lunar-phases
/ %%(diary-lunar-phases)
does similarly for days with significant moon phase changes.
All related to that book I mentioned a few days ago (the book was a by-product of the authors having adding these kinds of features to Emacs, 30 years ago!).
Are we sure that emacs is not sentient by now?
If it is, it’s smart enough to stay clear of the current “AI” hype.
Anybody else remember like 30 years ago when the United States Postal Service said it wanted to charge postage for emails?
Hahahaha…
Actually, I might enjoy that. Maybe I wouldn’t have gotten 200 black Friday emails in the last 24 hours.
Happy Unsubscribe Day!
By way of a UI bug, I noticed that I missed celebrating 20000 days since the unix epoch. Here I am ~2 months late. Happy birthday arbitrary-fixed-point-in-time!
I tried to run a shell script at work. After a short delay, it ran just fine. Cause of the short delay? The need to rebuild the 432,412 dependencies of the script.
Today’s adventure in complex environments. I’m writing some documentation about writing unit tests for tasks in our distributed workflow system. because it’s distributed, complex, and generally insane (it runs something like 1x10^9 jobs a day), it’s hard to make sure that you are mocking the right things, that the mocks you’ve created are actually being used, etc. I described how to do it for a couple of the services that many of our tasks use, that have magic to make it work, or a whole mock client your can wrap the test in, that intercepts the calls. Then I started on the complicated stuff. This resulted in a paragraph that starts off “One reasonably straightforward approach is to use [test framework redacted] @patch decorator” and then has 400 words explaining it. I reached the sad conclusion that ‘reasonably straightforward’ is still an accurate description…
The easiest solution is to have already done it in an alternate universe from which you can copy line-for-line.
Failing that, god speed.
In high school, I took the American history AP test. There was an essay question, which if I remember right (it’s been decades), was “pick one of these three “. The first was something I knew nothing about, the second was a bit better, but the third was a subset of a paper I had spent the first semester writing. I no longer remember what the question was (something about Jefferson and the alien and sedition acts, I think).