Ephes Blog

Miscellaneous things. Mostly Weeknotes and links I stumbled upon.

Date -

Weeknotes 2023-12-18

, Jochen
The amateur believes he must first overcome his fear; then he can do his work. The professional knows that fear can never be overcome. He knows there is no such thing as a fearless warrior or a dread-free artist. —Steven Pressfield

Wrapping things up at work for the holiday season. Recorded and produced a podcast episode about PyTest, my favorite testing framework for Python, which was a lot of fun 🎙️.

Then I went a little deeper down this web component rabbit hole. I built a component from scratch for the image gallery stuff on this site. At first I put the Javascript for the component in the head of the html, because why not, but then I couldn't see the html in the custom element that was rendered on the server. After finding out that this was because the Javascript was executed before the content of my custom element was added to the DOM, I used a MutationObserver to detect when the html of my element was added to the DOM and then added the event listeners etc.. A little later I found out that this was complete overkill and I just need to move the Javascript for the component a little further down in the html to fix this. It's a little embarrassing to share my stupid mistakes here, but maybe this will be helpful for someone else googling for it (or asking a LLM - we still have to come up with a proper verb here, right?).

Next week I try to maybe have some tests for my component and a way to integrate Javascript and Django with maybe django-vite? We'll see 😁.

Articles

Software

Mastodon / Twitter

Podcasts


Weeknotes 2023-10-16

, Jochen
The challenge I'm doing this month is called October and it's where I just try to get through every day of October --Erin McGuire Olson

There's some kind of home improvement going on in our apartment, so I'm a little stressed at the moment. Released the podcast episode on Kubernetes. The increased podcast activity has led to some really nice feedback emails, which has been helpful. For example, there is this fluentcomments incompatibility with bootstrap 4 and 5 that I discovered. For django-cast, I added this CSS workaround.

Articles

Weeknotes

Mastodon / Twitter

Software

Videos

Podcasts