~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 →

Beyond Tellerrand 2022

Went to my second conference this year 🥳. The first one was PyCon DE & PyData Berlin 2022 a few weeks ago and it was great. But beyond tellerrand has a very different vibe to it which I would describe as being more comfy and stylish at the same time. It's also a lot smaller. The talk videos will arrive bit by bit in this channel, I think.



This was the first beyond tellerrand I attended which had a live stream running for the complete event. Which turned out to be really great, because I was watching over our kids every second talk. It only occurred to me on day two that I just could use my phone to listen to the live stream of the talks while parenting (at least partially) and then being able to participate in the discussions after the talk. Really cool.

One of the main topics this time was accessibility. I was surprised by how bad the user experience of screen reeders still is. Coming from a machine learning background I expected screen readers to be able to just generate descriptions for images. But the state of the art seems to be still "don't forget to put alt tags on your images". I understand that building self driving cars is more rewarding than trying to fix screen readers, but there's a lot of potential for improvement.

Maybe there's also a business opportunity: Amazon makes a ton of money for improving the accessibility of buying stuff online. They already have all the required data so they can reduce the effort to just clicking the "buy" button. For most other shops, you have to jump to a lot of hoops to finally buy something. Reducing that to clicking a button or saying "buy x via shop y" is a very similar task from a technical perspective. Hmm, I guess I have to revisit this whole shopco idea at some point in the future 😉.
 
Read more →