rolisz's blog
  • Home
  • Consulting
  • About Me
Sign in
diving

Fejes din apa in apa

Roland Szabo

Roland Szabo

14 Jun 2010

Simply WOW

Read more

TIL: pytz can return ancient timezone

Also TIL: Romania was on timezone UTC +1:44:24 until 1930. So if you ever get weird offsets, not full hour (and not even 30 minute) offsets in code, it's probably because of pytz for some reason returns the first recorded offset for a certain timezone. Fix:

09 Jan 2026
A wild rolisz reappears

A wild rolisz reappears

I haven't written a blog post in a long time. It's been a tough year. Mostly from a health perspective. One of the highlights was when I cracked four ribs from coughing (yes, the doctors were just as shocked as you are). Before that, I used

15 Nov 2025
TIA: Cod liver with boiled egg

TIA: Cod liver with boiled egg

This evening I came home late after a long day, starving. So I asked my friend ChatGPT what I should eat. It gave me a 5 suggestions, taking into account my food preferences and health issues. I didn't fancy anything from those 5 things, but it did remind

12 Mar 2025
TIL: Caddy

TIL: Caddy

I used to use Nginx to proxy requests and set up SSL. It's not super hard, but the config is a screenfull. Enter Caddy. Install it. Put the following in /etc/caddy/Caddyfile: DOMAIN.NAME { reverse_proxy localhost:8000 } Restart the systemd service. And voila, you have an

04 Nov 2024
rolisz's blog
Powered by Ghost

rolisz's blog

Thoughts of an LLM consultant