Is it better to be intelligent or diligent? Put differently, should you wish that you had a higher IQ, or should you make sure you spend your time in a productive way? I’ve spent some time thinking through this and found a simple metaphor to financial investments. IQ is your principal investment and your ability to [...]
Category Archives: Uncategorized
Tornado
I’m starting to use tornado as my go-to framework for python web projects. After being a django user for 5+ years this is a pretty big change for me. I like that it’s simple and gets in your way as little as possible. There’s something nice to be able to run a whole web application in [...]
Susan Cain: The power of introverts
Great TED talk by Susan Cain on the power of introverts. For more, have a look at her recent book, Quiet: The Power of Introverts in a World That Can’t Stop Talking.
Thin Python Cache Decorator
def cache(func): """ A thin middleware that caches based on function name and arguments. """ def _inner(*args, **kwargs): a_str = "&".join([str(a) or None for a in args]) kw_str = "&".join(["%s=%s" for key, val in kwargs.iteritems()]) key_name = slugify("%s:%s:%s" % (func.__name__, a_str, kw_str)) cached = cache.get(key_name) if not cached: cached = func(*args, **kwargs) cache.set(key_name, cached) return [...]
On Meditation
Third, meditation can help a man “be his own man” and feel comfortable in his own skin. That constant stream of input we face each day often carries messages of what we’re supposed to think or feel. Talking-heads spout off opinions as if they were facts. Advertisers try to convince us that buying such-and-such product [...]
Focus Time Hack (OSX)
Block facebook and reddit on your Mac; focus longer and get work done instead. Open up a terminal, copy and paste this: sudo echo “127.0.0.1\tfacebook.com\n127.0.0.1\treddit.com” >> /etc/hosts
Google Circles
I started using Google Plus three weeks ago. I like it a lot; I think I’ll keep using the service. The UI works, a lot of my friends are already on it, but most importantly it solves a problem that has not yet been solved online: easy, logical information sharing. Logical information sharing. Information sharing [...]
Land
LAND his approach to love he said was that of a farmer most love like hunters and like hunters most kill what they desire he tills soil through toes nose in the wet earth he waits prays to the gods and slowly harvests ever thankful. via Ayo