~ephes

Building things with Django and coding agents. Breaking things in my home lab. Writing about both.

Weeknotes 2022-05-30

Short work week, but didn't get much done besides work. Spent a lot of time outsides which is good.

Read more →

Weeknotes 2022-05-23

Haven't done much besides work and spending leasure time outside due to the good weather. Managed to record a podcast episode about European XFEL X-ray laser. Went to Japantag, wow, where have all those people been? In the evening Charan-Po-Rantan with Kankan Balkan played on the main stage. This was the first live concert I attended after more than two years and it was great.

Articles

Read more →

Weeknotes 2022-05-16

Trying to export a HDR video from my phone led to unexpected results. The colors were really washed out and the video was slightly overexposured. Using HandBrake I finally got a good looking mp4, but then someone uploaded this file to dropbox, and it looked bad for people downloading it from there. Strange.

Docker Desktop on Mac just broke during update and I couldn't restart it. Had to re-download it. Wow, this is some next level brokenness.

My PR to fix a bug in jupyterlab was merged. I couldn't find a solution to the "you cant mock a function which you call from another function in the same module" problem. Instead Frédéric Collonval circumvented the issue by using a test helper that dismisses the openen dialog instead of trying to mock it, thanks a lot.

Read more →

Weeknotes 2022-05-09

Attended Beyond Tellerrand 2022 which was a lot of fun. The wather was really nice this week, so I spent a fair amount of time outside. The new macro-capabilities of my phone camera are really nice (or scary, depending on the motive):



I finally started fixing the jupyterlab rename bug I stumbled upon the week before. The main problem implementing the fix is how to mock the shouldOverwrite function in the dialog.ts module. It's easy to mock functions with jest if you just want to mock the function you are calling in a test. But if you call a function that calls a function from the same module which you then want to mock, things get complicated. I commented on this issue two years ago, let's see how often I have to revisit it, until finding a fix 😌.

And then I released  kptncook 0.0.7 increasing mealie login timeout.

Design

Read more →

Weeknotes 2022-05-02

Worked on lots of small things:

  • Released kptncook 0.0.6 fixing a confusingly named command.
  • Answered some emails sent to hallo@python-podcast.de. Usually we don't get that much email, but last week we had multiple mails to be answered at the same time for the first time running the podcast. Dunno if this is good or bad :).
  • Found a bug in jupyterlab where rename file is ignored if the target name already exists.
  • Worked a little bit on making the podlove plugin / wordpress deployable on my infrastructure which is more difficult than expected.
Read more →