Adventures with a 2yo

Conversation between Yoshi and I. Yoshi: I’m worried Sempi (our 2yo) might be a little dyslexic. Me: Why? Yoshi: He occasionally reverses the words in his rhymes. Me: Like what? Yoshi: "Frosty the snow man was a happy jolly soul" . It’s supposed to be “Jolly happy soul”. Me: Oh yeah. He could be dyslexic or he could have a troll dad who subtly changes his rhymes to see if he’ll catch it....

October 8, 2015 · 1 min

Conversations with a 2yo

Sempi is playing in his room with some construction cones and trucks. He usually narrates his gameplay. I walk into the room and right at the moment he says: “Caution! Caution! Oversize load” I wonder if it’s coincidence or subliminal messaging. 

August 21, 2015 · 1 min

Conversations with a 2yo

Yoshi: Let me cut that chocolate bar in half. Sempi: Why? Yoshi: Because it is too much. Sempi: I want too much. 

August 12, 2015 · 1 min

Conversations with a 2yo

Fine summer evening, I’m taking Sempi on a walk. He’s carrying a flash light and shining it on every piece of object on the side walk and asking me questions. Sempi: Appa, what is this? Me: It’s a rock. Sempi: Oh. What is this? Me: That’s a piece of paper. Sempi: Oh. What is this? Me: It’s a cigarette. Actually it’s a cigarette butt. Sempi: Huh? Do you keep it in the butt?...

July 2, 2015 · 1 min

FuzzyFinder - in 10 lines of Python

Introduction: FuzzyFinder is a popular feature available in decent editors to open files. The idea is to start typing partial strings from the full path and the list of suggestions will be narrowed down to match the desired file. Examples: Vim (Ctrl-P) Sublime Text (Cmd-P) This is an extremely useful feature and it’s quite easy to implement. Problem Statement: We have a collection of strings (filenames). We’re trying to filter down that collection based on user input....

June 22, 2015 · 8 min