Skip to content

{ Monthly Archives } March 2007

PDF Maze Generator in 150 lines of Python

David Bau is really smart. I’m just a code monkey compared to him. He wrote this sweet little python script that generates pdf mazes that my youngest daughter really enjoys. If I get permission, I’ll gen this up here.

How the music industry will change

From today’s WSJ:

In a dramatic acceleration of the seven-year sales decline that has battered the music industry, compact-disc sales for the first three months of this year plunged 20% from a year earlier, the latest sign of the seismic shift in the way consumers acquire music.
The sharp slide in sales of CDs, which still account [...]

GSV – Giant-Ass Image Viewer

Michal Migurski has a neat little app for tiling “giant-ass” images for efficient zooming. The python code for tiling the images is here and reproduced to demonstrate it’s pythonic sweetness:

3D Spatial Interpolation

I would have thought that 3D spatial interpolation algorithms would be readily available in almost any programming language. I am, once again, wrong.
Several times a year, a project comes along that requires fast and accurate three-dimensional spatial interpolation. I’ve found two excellent algorithms that perform the lion’s share of the work; The Modified Shepard’s Method [...]

ERP, GRC and Open Source

Enterprise Resource Planning (ERP), or Enterprise Management, or, …
Everytime I see Enterprise prepended to something I want to grab my wallet to make sure it’s still there. Yet the concept of an application that encompasses all of the disparate activities and data of an enter.. umm, organization is quite compelling for small businesses and [...]

Savitzky-Golay-Smoothing with Python

Procoders.net has a post on Savitzky-Golay smoothing that caught my eye. In the finite element analysis system we use, there is a built-in Savitzky-Golay smoothing algorithm used in the smoothing of hyperelastic test data and possibly (must check) also used in the post-processing of the output data.
The transient data from explicit dynamics simulations is typically [...]

Visualization

David Bau has a good post on visualizing population data and conclusions that may be drawn. But the most arresting item in the post is is Hans Rosling’s 2006 TED presentation:
[googlevideo]4237353244338529080[/googlevideo]
BTW, I highly recommend David Bau’s writings on Python. A far smarter man than I.

MayaVi 2

The MayaVi 2 visualization tool proved to be a high performance interface around the VTK toolkit. Enthought.com has further wrapped the VTK python wrapper with traits, described on their site as:
A trait is a type definition that can be used for normal Python object attributes, giving the attributes some additional characteristics:
[...]

Peak Pitch, Elevator Pitch, Whatever …

Don Dodge has this oh so exciting idea:

Peakpitch Peak Pitch is a fun way for start-ups to deliver their “elevator pitch” to VCs and investors on the chair lift ride to the peak of the ski slope.
Peak Pitch brings entrepreneurs and investors together for a unique version of the classic “elevator pitch.” In [...]

VTK

While developing an application that required a robust visualization module, I didn’t want to go down the same path I have previously trod many times: OpenGL + pyOpenGL. Not that the combination isn’t robust, it’s just a lot of work to build up the application every time. Instead I used the VTK toolkit. I had [...]