TIL about the cookiecutter PyPi package
It’s a quick way to scaffold new python packages, plugins, django projects and many more from pre-built templates.
Using jinja2 template syntax, one can create an entire cookiecutter project template for use and reuse.
A comprehensive documentation can be found on the internet .
~ updated at: 2024-10-26T13:30:03.046Z
AI is (unsurprisingly) good at converting technical notes into Anki Flashcards.
For the uninitiated, it would’ve taken several minutes to construct questions and answers after taking hours worth of notes but with a relatively small LLM like GPT-4o-mini, one could churn out Q&A list in seconds.
I believe certain unnecessary hurdles of the theoretical learning process is eliminated.
And yes, all one needs now is to be able to actually import said compilation onto Anki in bulk. And most importantly, eat the damn frog!
It seems like AnkiWeb doesn’t support export or imports.
I’ve installed Anki Desktop app so I could bulk import new flashcards.
I’ve generated a simple python script to process a text file using GPT-4 (customize prompts) and output a anki importable .txt file.
The process of taking a note file and generating flashcards is now streamlined.
I could setup a local cron job to run everyday, that processes the notes from my local notes directory for the day and generate anki flashcards with the learnings.
I could configure a LaunchAgent or Daemon perhaps using .plist configuration.
~ updated at: 2024-10-26T13:14:16.350Z
If you don’t know how something impacts the world around you, you don’t fully understand. https://twitter.com/twitter/status/1849773180136599989/
~ updated at: 2024-10-26T06:30:03.189Z