
Recent Posts
Recent Comments
 ubershmekel on 5 Tips for more effective logging
 __del__ magic method dangers in Python 2 and infinite loops on Python Gotchas 1: __del__ is not the opposite of __init__
 python – What is the __del__ method, How to call it?ThrowExceptions – ThrowExceptions on Python Gotchas 1: __del__ is not the opposite of __init__
 destructor  ¿Cómo puedo limpiar correctamente un objeto de Python? on Python Gotchas 1: __del__ is not the opposite of __init__
 destructor  Come faccio a pulire correttamente un oggetto Python? on Python Gotchas 1: __del__ is not the opposite of __init__
Archives
 August 2020
 July 2020
 March 2020
 August 2012
 July 2012
 June 2012
 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
 webdesign
Category Archives: Math
10 Awesome Theorems & Results
When I look back at various mathematical courses I took, most have at least one theorem that I really liked. Usually I like it because the proof has a surprising trick, sometimes it’s because of the unexpected conclusion, or maybe … Continue reading
Visualizing Data Using the Hilbert Curve
Some time ago, a coworker asked me to help him visualize some data. He had a very long series (many millions) of data points, and he thought that plotting a pixel for each one would visualize it well, so he … Continue reading
Posted in Fractals, Graphics, Math, Programming, Python
Tagged Fractals, hilbert curve, PIL, Python
2 Comments
Fast Peak Autocorrelation
So, I was at geekcon. It was a blast. There were many interesting projects, and I didn’t get to play with them all. I did get to work a bit on the Lunar Lander from last year, and this year … Continue reading
Posted in Algorithms, Math, Programming, Projects, Python, Utility Functions
Tagged autocorellation, automatic guitar improviser, geekcon, Math, pyimprov, signal processing
Leave a comment
Checking the ulam spiral
In the following post, the Ulam spiral is described. It’s a very simple object – write down consecutive natural numbers starting from 41 in a square spiral. Curiously, the numbers on the diagonal are primes: Reading this post, I immediately … Continue reading
Posted in Math, Programming, Python
Tagged Math, prime numbers, Programming, Python, Ulam spiral
4 Comments
Fractals in 10 minutes No. 6: Turtle Snowflake
I didn’t write this one, but I found it’s simplicity and availability so compelling, I couldn’t just not write about it. In a reddit post from a while ago, some commenter named jfedor left the following comment: A little known … Continue reading
Computing Large Determinants in Python
Story: For my seminar work, I had to calculate the determinant of a large integer matrix. In this case, large meant n>=500. You might say that this isn’t very large and I would agree. However, it is large enough to … Continue reading
Posted in Algorithms, computer science, Math, Programming, Python, Research
Tagged Float, Fractions, Matrix Determinants, Numerical Analysis, Programming, Python
2 Comments
Fractals in 10 minutes No. 5: Sierpinski Chaos Game
A few years back, I was in some course where they also taught me some Matlab. One of the exercises was to draw the Sierpinski triangle using a method of progressing a point randomly. I was quite surprised at the … Continue reading
Fractals in 10 minutes No. 4: Mandelbrot and Julia in Ascii Art
I felt like it’s about time I tackled the Mandelbrot and Julia sets, in AsciiArt. Heck, the Mandelbrot fractal is on the logo of this Blog! However, being the most wellknown fractal, this issue was tackled already, with satisfactory results. … Continue reading
Posted in Fractals, Programming, Python
Tagged asciiart, fractal, julia, mandelbrot, Python
Leave a comment
Fractal Memory Usage and a Big Number
In a previous post I said I’d talk about 4**(4**(4**4)). First, about the number. I first saw it mentioned in a math lesson back in highschool, when the teacher wanted to demonstrate estimation abilities. He wrote it on the board, … Continue reading
Posted in Algorithms, computer science, Fractals, Math, Programming, Python
Tagged exponentiation, memory usage, Programming, Python
1 Comment
PyKoan – The Logic Game
As you can probably tell, I’m back from my undeclared hiatus. I’ve got lots of stuff to talk about, and I’ll be starting with PyKoan, one small project I’ve been working on lately in my spare time. A few weeks … Continue reading
Posted in Game Development, Math, Programming, Projects, Python
Tagged Assembla, Expression Trees, Game, Logic, Programming, PyKoan, Python, Zendo
Leave a comment