Papers, Papers, Papers
These might be of interest to some folks reading this blog…
Another great and free Haskell resource can be found here.
A great little Haskell tutorial for those of you who liked why’s (poignant) guide to Ruby is Learn You A Haskell. Perhaps not as zany, but also easily digestible (especially if you have previous functional programming experience).
When playing around with Artificial Immune Systems for classifiers, I stumbled across a more interesting measure of distance than the typical Euclidean measure called the Mahalanobis Distance, which incorporates the correlation of data set.
I always bounce through a fairly regular pattern when it comes to programming. It goes a little something like: prototype an idea with Ruby code. Find out it is slow. Get frustrated. Start writing code in C++. Take a lot longer, but be impressed by how the strict type system tends to force me to write better programs. Get frustrated with code verbosity. Start looking for something else to program in that mixes the expressiveness of Ruby with the speed of C++ (one day I will realize that these two are probably mutually exclusive). Decide that a more functional language will suit my needs. OCaml? Erlang? Maybe something on the JVM! Scala? Clojure? Get frustrated with build system (I don’t care what you say, Maven is just stupid) or lack of libraries. Go back with my tail between my legs to Ruby. Start looking at all the Ruby options: MRI, MacRuby, JRuby …
But wait! How is it that I have somehow always overlooked Rubinius? JIT compilation on LLVM? Future multi-VM implementation (hello sandbox!)? Holy cow! That is AWESOME. Rubinius is definitely my VM of choice from now on.
P.S. Totally unrelated, but check out Ruby Processing — it is pretty damn cool.
I started actively publishing some random code on github. If you want to check out my repos, click here.
If you want to inherit from a class that does not have a virtual destructor, you will be in trouble if you inherit from it publicly, because deleting through a base-class pointer will lead to nasty behavior. But having a private or protected inheritance means that you won’t be able to delete through a base class — because you won’t be ABLE to obtain a pointer to the base class.
So, no virtual destructor doesn’t mean you can’t inherit — it just means that it should be private or protected inheritance.
Of course, composition is probably a better choice, but whatever.
Optimized Firefox is fast like woah. Still got a PPC? No worries. Intel/PPC builds available nightly here.
Back testing is fairly common when analyzing the profitability of a strategy, but there are many other things to be considered besides returns. Much of this list came from perusing Nuclear Phynance (particularly, FDAXHunter’s input).
All of these things should be considered along-side a simple profitability analysis, or else you will end up with a ’successful back-test of three years, blow up in three days’ scenario.
Inspired by Roger Alsing, a poster at Gamedev.net has created two very cool projects. The first is a near copy of Roger’s work, and can be found here. The second is more recent, and uses the idea of Boids to paint pictures. Check it out here. Very cool stuff.