writing some code to read data into a dataclass object from a database, which sounds easy, but past me wrote the code that writes this data into the database in the first place

and past me was an ARSEHOLE.

listen sometimes I love that my background is in physics/astrophysics/research because I am an Extremely Good Problem Solver because of it, I'm used to not knowing how to do something and I am good at finding out how

but wow, I really could have done with some formal education in software development before I started developing software!

oh god I think I need regex for this, I'm going to cry
@astronomerritt chat GPT is quite good at writing regex and other horrible fiddly bits of code for tasks that are conceptually simple but require reading obscure MAN pages from the 80’s.
@astronomerritt I had to write most of my regex pre chatbots, so can also recommend regex101 but why not offload the misery.
@DrChris I personally avoid ChatGPT for ethical reasons! I actually had a lot of fun with regex101 in the end, I prefer to understand exactly what I'm doing and it made it very easy to do that 😅