Around the Interwebs
Archives
- January 2011 (1)
- December 2010 (1)
- October 2010 (2)
- April 2010 (2)
- March 2010 (2)
- February 2010 (1)
- August 2009 (1)
- July 2009 (1)
- May 2009 (14)
- April 2009 (2)
Subscribe to my blog
Tag Cloud
- acm
- Algorithm
- algorithms
- app engine
- Astronomy
- code
- database
- debug
- donald knuth
- effecient
- error handling
- Evolution
- frames
- gdb
- Geek
- GIL
- github
- global interpreter lock
- Google AJAX API
- google app engine
- google news
- hack
- Hacks
- humour
- inspect
- Interesting
- Internet
- interpreter
- interview
- java
- kindle
- Knowledge Computation
- knuth
- Konsole
- kth
- Language Translation
- Linked Data
- linux
- Map-Reduce
- minimum
- movie
- multithreading
- Music
- named pipe
- pdb
- permutation
- photography
- pixar
- postgresql
- Pycon
- python
- quicksort
- recommendation
- richard feynman
- science
- Search
- Semantic Web
- Setup
- shell script
- sql
- stack
- TechTalk
- tech talk
- TED talk
- Thoughts
- tips
- tricks
- troubleshooting
- Ubuntu
- Video
- virtualenv
- VLC
- Wolfram Alpha
- Wrapper
- Yakuake
Top Posts
Tag Archives: python
PDB style function backtrace in python using Inspect module.
A while back I had a conversation with a friend of mine, which went something like this(with some paraphrasing). Friend : Hey, is there a way in python to display the function calls which end up calling a certain function, … Continue reading
notify.sh: Get notified when shell scripts go wrong.
TLDR: Project Summary: Can be used to automatically suspend execution of a shell script if runtime error occurs, followed by notifying the user who started the script. The suspended script can be easily resumed later by the user. This is … Continue reading
Posted in code, hack
Tagged code, error handling, github, linux, named pipe, python, shell script
Leave a comment
Python Global Interpreter Lock (GIL) explained – Pycon Tech Talk
Today I saw a amazing tech talk on the much debated topic of python Global Interpreter Lock a.k.a GIL. Python’s Global Interpreter Lock or GIL is probably one of the least properly understood parts of python, but is extremely important … Continue reading
Posted in Tech talks, Video
Tagged GIL, global interpreter lock, interpreter, multithreading, Pycon, python, tech talk
Leave a comment
Workaround for google app engine’s – File not accessible error using virtualenv
Google App Engine comes really handy for devs who want to host their application idea/hack on google’s infrastructure without having to spend any $$ for it (and the resource limits are pretty descent for free account). No wonder it is … Continue reading
Posted in code, troubleshooting
Tagged app engine, code, google app engine, hack, python, troubleshooting, virtualenv
Leave a comment
Find Kth minimum element in a unsorted array
Some days ago while interviewing a candidate, I asked the candidate a very easy by the book interview question. Design an efficient algorithm to find the 2nd smallest integer in a unsorted integer array of length N, which should run … Continue reading
Generating all possible permutations of a sequence.
P.S. – This Post is intended for people who want to know a simple,efficient approach to generate all possible permutations for a sequence.For real world software I would recommend using standard library functions. All of us at some moment while … Continue reading
Posted in Algorihtms
Tagged algorithms, donald knuth, effecient, java, knuth, permutation, python
2 Comments