Posts

Showing posts from July, 2026

Reverse Polish Abbreviations Generator

Image
[ The below provides a good example of pseudo code thinking about how to re-structure and progressively evolve / improve your program ] So in my previous post about "Something (Not) Happening" ( here ), I hinted at my reversal of strategy. I'm now switching to the use of  "post-fix" operators  instead of using "pre-fix" ones. This was for a project that I called my abbreviations -expanding Python program (an OOP project) but now I'm generalizing it to be an "Xpander" class for more than just abbreviations. ( The latter explained below and also in my next post .) So I was initially thinking like a programmer and assuming that the abbreviation expansion trigger (e.g., the prime char [`]  on the keyboard) should be hit first (in so-called "pre-fix" style) in order to invoke an abbreviation expansion operation. However,  I should have been thinking like a user of the software not like a programmer focusing on delimiters. Please se...

Something Happened (Not)

Image
There are times when it seems like nothing happened. [ Link to Memes Gen here ] [Link to Heller's book here ] Where was I these last few weeks (months?)  Can't fully remember. That DOES happen when you're 70+ years old. I had committed to journaling my travels through the Learning about Python (LaP) lands. Learning coding . However, unlike Odysseus of Homer fame, I fell for the Siren Calls of easy-to-do scroll ing habits. In particular, those of collecting binaural sound tracks. I've been "busy" as a non-productive bee in mindlessly hoarding those sound tracks   plus more  in hopes that listening to them will make me smarter. Of course, they do the exact opposite. The hoarding embeds itself as a non-productive, time-wasting bad habit. In short, I've succumbed to the allure of the Siren songs in place of finishing my second Python OOP project. ( See the sirens of Odysseus here ) That brings us to the topic of acquiring non-productive / subconscious ...