As per python3statement.org, stomp.py is officially ending support for Python2 as of Jan. Surprisingly more effort than anticipated, but the PR for version 4.2.0 is finally prepped and ready to go: stomp.py/pull/266. The changelog has more detail on what's being updated in addition to Py2 backwards-compability removal.
Python coverage reporting has been doing my head in for days. Methods with full coverage still showed the method signature line itself as uncovered. Lines which I know are covered (and can see the unittest working) still showed as red. Turns out I'd left an import of the module-under-test in place before starting coverage itself. Fix that and suddenly my code coverage goes from <50% to a more respectable 80%. Sometimes the solution to a problem is as simple as moving a line of code...
Been trying to get ipv6 working with docker for days with no luck. Everything I read (for example: ungleich.ch/u/blog/how-to-enable-ipv6-in-docker) seems to suggest it's simple, yet my containers still end up with ipv4 only. Finally found the problem between my keyboard and my chair - editing /etc/docker/daemon.json doesn't help if your docker daemon is running with --config-file=/var/snap/docker/423/config/daemon.json... 👴
Beware Counterfeit No Starch Books from Amazon!. Kind of annoying given this is Amazon itself, not a third party. So their supply chain controls are simply beyond inadequate, or they just have too much money and power to care.
Eleven supreme court justices with decades of experience in UK Law find that prorogation was unlawful. Rees-Mogg, with a History degree (!) believes they're wrong. They obviously don't teach critical thinking at Oxford, if you're reading History...?
Disco Dingo one day in... so far, so good. Dash to dock seemed to go pear-shaped to start with - even after upgrading it - but a reboot fixed that luckily. New icons are great, UI looks a bit cleaner/fresher. Really liking the notification icons (e.g. number of new mails) in the dock (users of other operating systems, who have had this for ages, can start laughing now).
RT @MarkRuffalo Boris Johnson forgets that the Hulk only fights for the good of the whole. Mad and strong can also be dense and destructive. The Hulk works best when he is in unison with a team, and is a disaster when he is alone. Plus...he’s always got Dr. Banner with science and reason. twitter.com/MarkRuffalo/status/1173273612075376641 👍
(i.e. The Johnson's, Rees-Mogg's, etc of this world are complete morons)
Watching Gove on @MarrShow, and have never felt such an urge to punch the TV screen. Just shut up with the lies and stretched-truths.
Linux on Dex is pretty cool. Being able to run a full desktop environment in a device that fits in your pocket is something I dreamed about, 25 or so years ago when I was a backpacker. This is the best I could do at the time. Actually, I have fond memories of the Psion Series 3, but it was hardly the sort of device you could actually do development work on...
I'm living in the future!
Test post: testing if adding u-url fixes federation issue with fed.brid.gy.
"So here's a list of companies supporting Trump's re-election:
So if you see me starting to get thinner and toned don't ask me why." twitter.com/BillyBobSanderz/status/1159469980435374080 👍
First up, a url followed by a thumbs up emoji (e.g. colon thumbs_up colon) gets auto-converted into an link (a href) with a microformat class of 'u-like-of'. So, assuming I've hooked up my site properly to fed.brid.gy, those should wind up being magically forwarded on to the fediverse (todo: I think I still need to send fed.brid.gy a webmention to kick that process off...) (2/2)
"I’m a modest Stylite, but I must tell you I have solved Brexit." twitter.com/Sime0nStylites/status/1092343448483651589 👍 Awesome.