October 11, 2009 • 4:34 am
I have been looking at various options for learning a new secondary programming language (Primary still being “C”) in the past few weeks. The main intent is having a lot fun, exploring new concepts and maybe switch to it in the very distant future. Python was a LOT of fun, powerful, partly gives me a day job and so on, but I haven’t been able to do anything profoundly new with it in the last few months. I have looked at Erlang, Haskell and Scala so far (Functional Programming and Concurrency were big motivators).
Read the rest of this entry »
Filed under: Computer Science, Programming
January 2, 2009 • 3:00 am
For someone not used to literate programming, CWEB is a pain in the ass. But the dataset that comes with GraphBase makes up for it. Please make CWEB half as much fun as your datasets Don Knuth.
For the illiterate:
Of course the author does not pretend that the location of “highlights” in da Vinci’s painting, one per row and one per column, has any application to art appreciation. However, this program does seem to have pedagogic value, because the relation between pixel values and shades of gray allows us to visualize the data underlying this special case of the assignment problem; ordinary matrices of numeric data are much harder to perceive. The non-random nature of pixels in a work of art may also have similarities to the “organic” properties of data in real-world applications.
(From graphbase/assign_mona.w)
Filed under: DEK, Programming, Rants
December 30, 2007 • 8:22 pm
For the past month or so, I’ve been trying to understand what appears to be a black art mostly because of lacking documentation – Python bytecode generation and peephole optimization. Some notes from the study for the benefit of IRC-mate ‘jstatm’ and anyone else living on similar planes of insanity.
Read the rest of this entry »
Filed under: Open Source, Programming, Python
November 23, 2007 • 3:31 am
Netbeans users on Solaris and Linux, who hate, detest and despise the horrible looking default Java UI, ought to add this line to ~/.bash_profile
alias netbeans=’/opt/netbeans/bin/netbeans -laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel’
Update: Netbeans 6.0 users should type “–laf” instead “-laf” (Two hyphens before ‘laf’ instead of one)

Read the rest of this entry »
Filed under: Programming, Solaris
Recent Comments