My name is Ram Rachum, and I'm a software developer based in Israel, specializing in the Python programming language.

This is my personal blog. I write about technology, programming, Python, and any other thoughts that come to my mind.

I'm sometimes available for freelance work in Python and Django. My expertise is in developing a product from scratch.

GitHub profile

Personal Website

28th September 2014

Text

Another silly Python riddle

Do you think of yourself as an experienced Python developer? Do you think you know Python’s quirks inside and out? Here’s a silly riddle to test your skills.

Observe the following Python code:


    def f(x):
        return x == not x
    
    f(None)

The question is: What will the call f(None) return?

Think carefully and try to come up with an answer without running the code. Then check yourself :)

Tagged: planetpythonpython

Comments

23rd August 2014

Text

Observational comedy and tickling

I had a nice thought today.

I was thinking about comedy; about what makes people laugh. It’s something I think about a lot, especially that what makes people laugh the most is when you’re being your genuine self, and not apologizing about it.

I was thinking about what is called observational comedy. It’s the kind of comedy Seinfeld became famous for; it’s candid observations about everyday life that we all experience but never talk about. If you’ve ever seen one of Jerry Seinfeld’s standups on his shows, you know what I’m talking about. Here are a few random observations of his:

Read More

Comments

10th July 2014

Text

Fun with etymology

In Hebrew, we have an expression ”radiophonic voice”. If someone has a radiophonic voice, it means they have a pleasant voice and good diction, much like a radio announcer would. 

image This expression makes sense to me, and I was kinda surprised when I learned that it didn’t exist in English.

Read More

Comments

10th June 2014

Text

Ridiculous

I needed to buy coconut milk.

I went into the nature store that’s on the ground floor of the apartment building that I live in. Since it’s in the same building I live in, and I like buying natural foods, I tend to buy a lot in this store; I always say hi to the cashiers who work there, and they usually give me a discount.

As I was picking the can of coconut milk and getting ready to pay, I took a look at the impressive variety of roasted nuts that’s on display between me and the cashier. Among them were pistachios.

Read More

Comments
All content in this website is copyright © 1986-2015 Ram Rachum.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License, with attribution to "Ram Rachum at ram.rachum.com" including link to ram.rachum.com.
To view a copy of this license, visit: http://creativecommons.org/licenses/by-sa/3.0/