Profile cover photo
Profile photo
ashish makani
489 followers
489 followers
About
ashish's posts

Post has attachment

Post has attachment
Ashish Makani was out running. He tracked 10.37 km in 1h:15m:29s.

http://app.endomondo.com/workouts/491754029/17254533

Post has attachment
ashish was out running. He tracked 8.38 mi in 2h:19m:45s.

http://app.endomondo.com/workouts/485227857/17254533

Post has attachment
#cartodb #maps #odyssey.js

CartoDB’s Odyssey.js Is An Open-Source Tool For Telling Stories With Interactive Maps | TechCrunch

Post has attachment

Beautiful song lyrics 

Post has shared content
#tech   #python  #code #programming  
Some nifty tips from Python's creator to keep your python code fast.
Some patterns for fast Python. Know any others?

- Avoid overengineering datastructures. Tuples are better than objects (try namedtuple too though). Prefer simple fields over getter/setter functions.

- Built-in datatypes are your friends. Use more numbers, strings, tuples, lists, sets, dicts. Also check out the collections library, esp. deque.

- Be suspicious of function/method calls; creating a stack frame is expensive.

- Don't write Java (or C++, or Javascript, ...) in Python.

- Are you sure it's too slow? Profile before optimizing!

- The universal speed-up is rewriting small bits of code in C. Do this only when all else fails.

Post has attachment

Post has attachment

Post has attachment
Wait while more posts are being loaded