-
Recent Posts
Recent Comments
Archives
- June 2011
- February 2011
- January 2011
- December 2010
- April 2010
- March 2010
- February 2010
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- February 2007
Categories
- Algorithms
- Assembly
- C
- Challenges
- Compilation
- computer science
- Cryptography
- CSS
- Databases
- decompilation
- Design
- Fractals
- Game Development
- Geometry
- gotchas
- Graphics
- Group Theory
- Humour
- Javascript
- Linux
- Math
- Miscellaneous
- Optimization
- Optimization
- Optimization
- Optimization
- Origami
- Personal
- Programming
- Programming Philosophy
- Projects
- Protocols
- Python
- rants
- Research
- Security
- Sound
- startup
- Statistics
- Teaching Programming
- Testing
- Uncategorized
- Utility Functions
- web-design
Tag Archives: Algorithm
Rhyme and Reason with Python
After reading xkcd’s blog, I went to LimerickDB.com. It looks and works just like bash.org, but for limericks. Quite amused with some of the limericks available, I wanted to try and compose my own. The first one came out fine, … Continue reading
Posted in Algorithms, Humour, Programming, Python
Tagged Algorithm, Natural Language Processing, NLTK, Python, rhymes, xkcd
Leave a comment
Elegant Line Clipping Algorithm
I actually wrote about that a long time ago, in the wiki that once was algorithm.co.il. Since the wiki is long gone, and I figured this is a very elegant algorithm, I decided I should write about it. First, some … Continue reading
Posted in Algorithms, Geometry, Graphics, Math, Programming, Python
Tagged Algorithm, Graphics, Line-Clipping, Python
Leave a comment
Simple word lookup for crosswords and such…
I am swamped with university homework. I did manage to come up with some small somewhat useful utility. Do you know when you need a word that ends with a double letter and then an ‘n’? you would want to … Continue reading
Posted in Programming, Python, Utility Functions
Tagged Algorithm, Natural Language Processing, NLTK, Python
Leave a comment
Pagerank recommends movies
So how was your Yom Kippur? After Yom Kippur ended, I sat down to write something that was nagging me for quite some time. I wanted to see what pagerank had to say about movies. I’ve always liked to picture … Continue reading
Posted in Algorithms, computer science, Math, Programming, Python
Tagged Algorithm, Graph, IMDBPy, Pagerank
1 Comment
How PyTuner works
PyTuner is really quite simple. Here is the outline of the algorithm behind it: Record audio data with pymedia. Compute the FFT of the audio data – now we have the strength of each frequency in the sample. Find peaks … Continue reading
Posted in Algorithms, Programming, Python, Sound
Tagged Algorithm, Audio, Find Peaks, PyTuner, Sound
Leave a comment
Proofreading and what's wrong with the heapq module
Consider the following problem: you have a large book you would like to proofread, with many chapters (100+) and a few men (4) at your disposal. How would you distribute the chapters among the men, considering that each proofreader must … Continue reading
Posted in Algorithms, Programming Philosophy, Python
Tagged Algorithm, heap, heapq, Python
2 Comments