Going through the unit tests of a library I found to see if it‘s compatible with my use case and it looks like it is ^^
Whew, preventing path traversal attacks when part of the scope of your application is to allow users to upload files to (scoped) arbitrary paths is not easy.
Especially if you're developing something that will possibly run on multiple different file systems.
I am against self baking this kind of stuff because it is just too easy to miss something that tried and tested solutions will not but I have yet to find anything that fits my usecase.
The issue with learning stuff that has existed for quite a while but grown with time is that sometimes you will have outdated knowledge even if you've just learned something.
It took me until two days ago to find out python supports type hinting (and has for quite a while) :/
However, now putting type hints everywhere in my current project is fun :D
food adjacent
I now know for a fact that the delivery hasn't even left the restaurant because something I had ordered wasn't available and they just called to ask what we want instead..
food adjacent
Lieferando order "tracking": $restaurant has confirmed that your order is being prepared and will be there in $minutes
[shortly before the timer runs out]
$restaurant has confirmed that your delivery will arrive soon
dev tools network tab: only 1 request, fetching a different gif
I kind of doubt that anyone confirmed anything here
apple hardware
No component is at 100% utilization during use.
It's kind of funny that even in 2017 people were complaining about the hardware in this thing when I have no issues working with it today.
These M1 Macs look neat and I would love the battery life but I don't really see any reasons to upgrade from my trusty little notebook.
apple hardware
Last year I was looking to replace my 2017 MacBook air because it refused to sleep and got kind of slow.
The former issue was fixed with a macOS reinstall and the latter by putting in a larger and faster SSD (and installing Arch for software that runs on it)
Now that my containers no longer run in a VM, I don't see a single component in this computer that is a bottleneck.
(Except for the cooler when playing factorio, but that's more fun on the desktop I built in 2014 either way)
I wrote a small blog post, talking about my journey trying to get and use a emoji domain: https://dysphoric.dev/post/show/9/Emoji_domains__A_cautionary_tale
Lets see what my next small side project will be.
20-something full stack dev who actually enjoys building frontends and cares about accessibility. Less political, more tech and work focused account. My username is also my blog‘s domain. Feel free to send a follow request even if we've never interacted.