Recent Posts

Howto base64 encode with C/C++ and OpenSSL

less than 1 minute read

I’ve been doing a little C programming lately and I have found that if you have a up to date distribution of linux there are a lot of libraries out there tha...

Ruby Oracle DBI ActiveRecord in 7 steps

3 minute read

Setting up ruby to work with Oracle seems to be a pain for a lot of people. Here are the steps I follow to set it up on a linux box from nothing to Active Re...

Credit card type and luhn check in ruby

1 minute read

I was looking at implementing a luhn and credit card type check the other day in java and I noticed that there seems to be a lack of code for doing this in r...

GIS Geocoding experiments

2 minute read

I’ve been evaluating a couple different mapping software packages recently and the other day I noticed that the same addresses geocoded (for those who don’t ...

Smooth scrolling image list

2 minute read

I had someone ask me about fitting more images in a small area and the way flickr does their image scrolling came to mind. I wanted to see how hard it was to...

No javascript detection

less than 1 minute read

Have you ever wondered what you can do if someone doesn’t have javascript turned on and it is needed on the page they are sitting at? Well here is the answer:

Fun with Oracle Strings

less than 1 minute read

Today I needed to find a way to count the number of unique email domains in a table. I figured there was a way of getting the index of a string in another st...

JDBC + Batch updates + Non-Standard == Oracle

less than 1 minute read

I recently ran into an issue where doing a large number of inserts and updates in an Oracle 8i database was taking forever. I was already using a prepared st...