Thought of the day:
#Django 's "Fat Models" seem to also be a consequence of dependency injection not being "a pythonic thing".
So when writing extensible apps, it's easier to just put all logic in models and then let the user subclass and override then, than putting logic in separate modules that are more backend-agnostic.
I was building a #python dependency diagram in DOT/graphviz. Naturally, I accidentally made a crown 👑 ✨
I want this to come out so badly: https://goose.game/
In the land of #100DaysOfGerman, today I'm finally done with the first course in Memrise, ending with the days of the week, so I now know how to say stuff like "Sonntags gehe ich gerne in meine Lieblingskneipe", to highlight how much I've overstayed in the UK.
Second course is supposed to be about "expressing feelings", I wish this was taught using memes...
Done with converting the JS interview app from work.
I had started a python application to help me build flash cards through the fantastic leo.org platform, but it's not teaching me that much, so I'll try to convert it to TS.
Starting off as cli-only and will then try to evolve it into something with a GUI (maybe Electron?).
I'm not sure what to use for local storage, maybe a non-rel DB will suite this case?
Imo these are significant obstacles that hinder adoption and attempts to create stubs for popular libraries, especially when they involve a lot of metaprogramming (ex. #Django)...
Day 4 #100DaysOfCode
A break from TS to look into some #python typing.
The more I try to use types, especially when building "tools", the more I stumble upon missing features.
Protocols seem a good step towards filling some of the holes, and a duck-typing approach suits the language well. However without type intersection they seem quite limited for now.
Simple dependent types are also missing...
Kind of crazy, definitely awesome CSS showoff:
Spent some time to find a minimal setup for TS with VSCode. Installing and running typescript locally with a specific nvm version was a bit tricky (and not much documented?!).
It's really nice to have client-side type checking again (thinking of you, Elm!).
As for #100DaysOfGerman - worked through directions vocabulary: links, rechts etc
Currently one of the very few IDEs that offer Docker interpreter support, truly robust code inspection and refactoring tools amongst the many, many features.
It almost makes it difficult to switch to other languages that do not have development tools of this calibre yet. I can kind of understand the "enterprise" devs being sceptical of the hip web languages some years back...
Util alias I use for quickly getting any #python TODO comments introduced in the current branch (vs master)
git diff master HEAD -G"TODO" | egrep -oh "(a\/.*\s)|(\+\s*#*\s*TODO.*$)"
Laziness-driven developer. I like turtles, cats and gifs. Aka @geekfish_@twitter
Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!