home   Archives  About  Etc  Authors

Dead Letter Office

Philosophy | Artificial Intelligence | etcetera



Lambda ENGRAMS

Selecting user commands in style (Python)

If you write an interactive program that takes user commands as an input, you can select the appropriate action for a given command by going through a sequence of if... else if statements. But if you write in Python, there’s always a cooler way to do things. A method I like personally in this situation is defining a dictionary where the keys are the command strings, and the corresponding values are lambda expressions.

Read more


See archives for more ...

Tag roulette

literature philosophy coetzee south-africa hermeneutics philosophy friendship death writing michel de montaigne derrida epub annotations workflow python latex bibtex bibliography indieweb brid.gy webmention.io indieauth microformats2 big data spark programming hackaton recommender docker programming ai ethics automation philosophy blog philosophy indieweb essay logic implication paradox autonomous vehicle ai ethics machine morality hack ransomware war terrorism cyber security philosophy portrait digital art big data google pagerank philosophy holism emergence ontology morton phenomenology security privacy identity website theme etc staticman raspberry pi github netlify comments programming python lambda dictionary cli neomutt email rice security encryption privacy pgp gpg neomutt vim workflow text editing efficiency vim workflow text editing efficiency web scraping python beautifulsoup philosophy intimacy reve theology markdown pandoc latex linux workflow writing object orientation design pattern observer programming object orientation design pattern strategy programming probability ai monte carlo philosophy ai courses tmux ssh partner programming linux complexity p np ssh tmux arch linux website diy example

Latest micros

GNU Mailman

📖 https://www.gnu.org/software/mailman/download.html

↬ For later reference, if I ever consider self-hosting a mailing service.


An IndieWeb Webring 🕸💍