Ephes Blog

Miscellaneous things. Mostly Weeknotes and links I stumbled upon.

Date -

Weeknotes 2022-06-27

, Jochen

Tried to use this new 9€ Ticket for a trip we would normally use a car for and it was possible, but not comfortable :).

Not much work this week due to covid. But I started to work on my own projects again and got a lot of deployment stuff done:

  • Automated the deployment of a JupyterHub server to be able to give attendees of a python training just a username/password-combination and an url. This caused more work than expected, but at least I'm pretty sure now covid didn't rob me of my admin-mojo. Thanks jupyterhub. Things that turned out kind of unexpected:
    • The jupyterhub package did not require pycurl, jupyter_server and jupyterlab, but wouldn't work correctly without them being installed (for example getting a 404 on starting a users jupyterlab server)
    • Adding system users via jupyterhub admin UI adds system users, but removing them via admin UI removes them only from the jupyterhub sqlite, not the system, whoa. It also adds a valid login-shell to added users, which is not needed for jupyterhub, but makes forgetting to remove deleted users especially dangerous (ok, skipped jupyerhub useradding, just using ansible)
    • Had to set c.Spawner.cmd = ['/path/to/venv/bin/jupyterhub-singleuser'] in the config, dunno why (probably because of the venv, but it's the one jupyterhub itself is running from, well)
    • There are two attempts to provide a simplified installation for jupyterhub: The Littlest JupyterHub and Zero to JupyterHub with Kubernetes - for me, they caused more confusion than help. Just installing jupyterhub via pip and playing around til it showed a notebook worked for me, finally.
  • Automated the deployment of WordPress
    • Automated the deployment of MariaDB. The trickiest part was how to set the initial root password.
    • After being able to deploy MariaDB, it was only a small step to be able to deploy WordPress on my own infrastructure. Never thought I would do something like this. The trickiest part was to get wordpress to run behind a ssl terminating reverse proxy (had to set some additional request headers at the loadbalancer + some variables in wp-config.php). Why is there this weird installation script greeting you after you installed wordpress? This whole wordpress environment feels really strange and quirky. Didn't managed to get podlove publisher to work, maybe next week :).

Articles

Twitter

Websites

Books

Podcasts


Weeknotes 2022-06-20

, Jochen

Finally got covid, felt like shit for three days, getting better now. Not much besides covid and some work this week.

Articles

Twitter

Software

YouTube

Podcasts


Weeknotes 2022-06-13

, Jochen

Spent lots of time on the road. But also went outsides and enjoyed the great weather. Met a lot of people and attended a circus performance. Covid hit very very close.. still unsure whether it missed. Finished the post-production of a podcast episode about databases.

Articles

Twitter

YouTube

Books

Podcasts


Weeknotes 2022-06-06

, Jochen

The conveniently located bakery across the street closed their doors forever: no bread for you! Leveled up my outdoor game: spent time outside despite it was raining. Recorded a podcast episode about databases. Apple notes keeps autocorrecting weeklog to "Wehklag" - it isn't that bad, is it?

Articles

Twitter

YouTube

Software

Podcasts