By shriphani on February 18, 2013
I was recently chasing a KDD deadline (I still am - so why am I writing this post? I don't know) and was using Boost.MPI's Python bindings for some computation. At CMU, there's a cluster on which I use EPD-Free1 as my Python distribution which is located in: ~/opt/Python27/bin/python I have a custom gcc/g++ (version [...]
By shriphani on October 24, 2012
Recently I had to deal with dateutil's parser. Apparently it is very powerful and lots of people masturbate to it and I managed to bring it to its heels with this: >>> dparser.parse("P 16:08 May 14, 2003 UTC", fuzzy=True) Traceback (most recent call last): File "", line 1, in File "/usr/lib/pymodules/python2.6/dateutil/parser.py", line 697, in parse [...]
By shriphani on July 31, 2012
Chris helped me flesh out a couple of bugs with my VAD implementation (the Spectral Flatness Measure was computer incorrectly). Thanks a bunch. You can get the latest build here
By shriphani on January 25, 2011
UPDATE: I now use K9 on windows (a parental controls app that does the job for me : http://www1.k9webprotection.com/ ) (Posted since I saw some traffic to this page recently). I recently made the switch from Mac OS X to Windows (I now own a 17'' XPS which is an absolute beast of a machine). I have [...]
By shriphani on November 14, 2010
One of the rather irritating problems I was facing with Listener was that I had to set the intensity threshold for an alert manually (which is rather stupid). So I added a couple of lines that set the intensity threshold to what the average intensity of the surroundings currently is. So I no longer have [...]
By shriphani on September 22, 2010
Today on engadget I found a project for the iOS devices (http://www.engadget.com/2010/09/22/iphone-awareness-app-selectively-filters-outside-noises-into-yo/) that closely mirrored my project (http://shriphani.com/blog/listener). The app seems to do a bit more than mine does. First, I do not send the sounds back to the user through the headphones while this does. They probably use a better voice activity detection algorithm [...]
By shriphani on August 9, 2010
A list of additions to Listener. The additions include a new Voice Activity Detection algorithm.
By shriphani on July 2, 2010
Using the Bellman-Ford Single Source Shortest Path algorithm to detect triangular arbitrage.
By shriphani on May 20, 2010
Two implementations of a disjoint set data structure and an implementation of kruskal's algorithm.
Posted in Computer Science, python | Tagged "disjoint sets", "kruskal", "path compression", "weighted union", algorithms, analysis of algorithms, Computer Science, cs, purdue, python | Leave a response
By shriphani on January 21, 2010
So, the beginning of the 4th semester in the midst of losers and overachievers and this sem promises to set my a$$ on fire. As usual, I plan to continue working under Dr. Kihara this sem so that should be interesting. Anyway, I decided to improve upon what listener offered and decided to add a [...]