anki-push-u, Creating a Tiny Pushover Addon for Anki
Notifications! Notifications! Notifications! Notifications!
Notifications! Notifications! Notifications! Notifications!
I wrote a tiny script that creates an RSS feed for all the audio files it finds in a folder. I call it derb. My mother gets devotional songs and sermons on cds, which I rip to MP3 files and then dump on her phone for her.1 She listens to them all the time, and now three of her friends want to do the same too. I thought of just sticking them in my self hosted Jellyfin instance,2 but then I realised, all of them have erratic, slow internet. So the idea of self hosting a podcast feed really appealed to me. ...
I keep writing these tiny utilities for myself in Python and while I love writing in Python, I definitely don’t enjoy the little war dance I have to do everytime I want to run it on a new machine. Keeping track of virtual environments, and then installing packages in them, quickly gets tiresome. I want to just run the program once I’m done with it. Like a C program. Or Rust. Or Go. ...
Don’t know if it’s the gym or the regular work beat, but I seem to be waking up later and later everyday. I don’t know what to do about this. I feel a little anxious about not having enough hours in the day. Python Why use comprehensions? Because it reads better. Like I advice the young ones in DPGLUG on writing. Write short, choppy sentences. They read better. With my problem sets … I should stop trying to generalise in advance and solve the specific problem first. Read stuff carefully. Don’t do more than is necessary Solutions take time to understand too. Budget the time Linux Mint Nemo, the file browser in Linux Mint always opens the home directory, when I click on it and there’s no apparent way to change it to a preferred directory. I want it to always open Downloads A little bit of web spelunking led to an acceptable work-around. Right click the main menu button Click Menu => Open the menu editor => Accessories Then click Files in the items from the right and click Properties further right Change the command form nemo %U to nemo Downloads And that does it! Update 2023-02-09: Does not work. Will look for some other approach. Right now, with the workaround it opens a Downloads window alongside any other folder I click on 😂 Hugo Added a plain, hamburger menu to this blog, using Aditya’s helpful instructions over on the PaperMod Discord. With all the extra nav items, I’ve added to the header the menu would overflow on my iPhone (and probably on other folks’ phones too). So if this page scooches narrow enough, it will change the links on top to a plain menu. ...
Yesterday, took a lot out of me. Took it easy today. Python Got today’s assignment done well in time; and then went out looking for better ways to write it over again. Writing code is getting exciting now. Just like how I learnt to write in my teens. Write. And then go figure out, how I’d do it better. ...
Everything went to hell in a handbasket today. Time was short. I got up late. I forgot, I had physio. So most things got slightly abbreviated or dropped. Python Did not complete my assignment. Flunked it again. But on the plus side, those 45 minutes were some of the hardest thinking and iterating, I have done in weeks. So there’s that. And on the plusser1 side, I am proud of having stopped and then looked for help. That was my biggest learning for the day. ...