Ephes Blog

Miscellaneous things. Not sure what to put here, yet.


Weeknotes 2022-05-09

, Jochen

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.

Articles

Design

Twitter

Software

Podcasts


Beyond Tellerrand 2022

, Jochen
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 😉.
 

Weeknotes 2022-05-02

, Jochen

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.

Articles

Youtube

Twitter

Software

Podcasts


Weeknotes 2022-04-25

, Jochen

Released version 0.0.5 of the command line kptncook scraping tool based on the work to reverse the kptncook api from Daniel. It's now possible to fetch recipe metadata just by providing the sharing url of a recipe from the kptncook app. It's also possible to download all stored favorites and backup them locally or import them to mealie.

After listeing to LOV021 Podlove-API mit Dirk Schumann I realised it might be possible to use the podlovers podcast frontend also for django-cast because it doesn't depend directly on wordpress anymore. This is very exciting, because having to use php/wordpress was the main reason keeping me from looking more closely into the whole podlove ecosystem. The only thing I have to do is to write an adapter for the api (and there are some parts missing as well like transcripts and contributors). But at first I have to be able to test and understand the existing api locally. Therefore my aversion for wordpress led me to having to use it finally. In the end it wasn't that difficult at all and I took some notes on how to reproduce that. File handling is not working yet, but I'm sure to figure it out next week.

Articles

YouTube

Software

Twitter

Podcasts


Weeknotes 2022-04-18

, Jochen

Met a lot of people last week. Spent the first half of the week going to this years PyCon DE despite I thought I wouldn't. This was really cool (day 1, day 2, day 3). After that I spent the last half of the week attending family appointments. Avoided to catch fire / covid, ffp2 ftw. Somebody was more successful than me reversing the kptncook app and opened an github issue to notify me about that. How awesome is that? As soon as I'll be able to spent more time on computer stuff I'm going to enhance my kptncook-scraper accordingly.

Things I Learned

  • auto_error in fastAPI allows you to test for different authentication methods (cookie, bearer token, etc), but using an authentication middleware as in django is probably a cleaner solution
  • It's not possible to return values from dependencies declared at router level in fastapi, but you could attach stuff to the request and use it as a container for additional state

Articles

YouTube

Software

Twitter

Podcasts