testing equality
You know, they say Ruby is a great language for testers, and I am finding this to be true. Earlier today I was able to test the state of reality itself using Ruby, and now I have devised a test for equality.
First, let’s examine equality:
def equality(x=0, y=0)
tellxy = ” ( x = ” +x.to_s [...]
Reality check
Here is a bit of Ruby that everyone needs in their library.
def check_reality( x=0, y=0 )
if x == y && x != y
puts “The world has ended. You no longer exist.”
else
puts “Everything appears to be in order.”
end
end
If you ever feel mystified or sense that things [...]
Artificial Intelligence
I thought about artificial intelligence today while the pathfinding algorithm in my brain directed the car. This was on my drive home from the office, naturally.
Here is a short list of interesting AI and AI-like applications I have worked on, or just come across:
1. A Behavioral application:
Take a look at these behaviors first modeled [...]
open source income
I found a nice little guide to making an income from your open source project, by the mind behind Damn Small Linux. See it here:
http://damnsmalllinux.org/income-guide/
Nice work on the distro, John, I'm using it now.
interesting database problem
I discovered an interesting and perhaps disturbing database problem today in a database owned by a large company with very sensitive information in its archives. Apparently, there can be two identical usernames in this database, differentiated only by their separate passwords. Only the username and password are needed to authenticate, and there is no [...]
Solutions
Do you ever get too entrenched in sales and leads and prospects, and have to empty your brain and have fun with technology? Well I would love to tell you that I have been enjoying a new computer game, but computer games kept me entertained for all of 2 hours. Then the frustration set [...]
Hobby Programming
As some readers may know, I have taken up Python programming as a hobby. I was once a world champion underwater Logo programmer, but I thought it would be nice to move on to a slightly more modern language. Before I go on, I should mention that I was once heralded as the Muten-Roshi of [...]