Brain Spill
Brain spill is a dumping ground for my incoherent thoughts and incomplete ideas. It’ll be training ground to practice my writing skills.
Brain spill is a dumping ground for my incoherent thoughts and incomplete ideas. It’ll be training ground to practice my writing skills.
A typical Saturday evening conversation between me and my inner voice. Setting: Salt Lake Roasting Co., after an intense Aikido training. Me: I’m bored. Inner Voice: Go take a nap. Me: Meh! I think I’m gonna do some Python coding. Inner Voice: What are you going to code? Me: Remember the Cows and Bulls word game that I used to play when I was little. Inner Voice: What? That sounds kinda lame....
All I wanted was to extract only the 4 letters words from /usr/share/dict/words. It tooks me a full 10-minutes to figure out the regex for it to work with egrep. $ egrep '^[A-Za-z]{4}$' /usr/share/dict/words Note to self: Must practice regex syntax more often. Update (a slightly cleaner way, from @gabegundy): $ egrep '^[a-Z]{4}$' /usr/share/dict/word
My buddy just told me that his wife is 11 weeks pregnant. An exchange we had over the phone: Anand: If we have a boy, we’ll start receiving applications from potential brides. Would you guys be interested in pre-applying? Me: Well if we have a girl, I’m sure she can kidnap your boy without any trouble, saving us the trouble of application fees. I’m freakin' excited for Anand and Abirami.