Image

Random Thoughts Blog

Solved: Hibernate MySql “too many connections” problem
5 years ago

Solved: Hibernate MySql “too many connections” problem

recently had a problem while using MySql with Hibernate in a Java app. Everyone and his dog had elaborate answers on this issue, including changing your connection pool settings, rewriting …
Read More

Comic Guide to Higgs Boson
5 years ago

Comic Guide to Higgs Boson

The Higgs Boson Explained from PHD Comics on Vimeo.

Outlook 2007 Add-in Using Microsoft Visual C#
5 years ago

Outlook 2007 Add-in Using Microsoft Visual C#

Here’s a good article on how to customize the Outlook 2007 Command Bar:

http://www.codeproject.com/Articles/58238/Outlook-2007-Add-in-Using-Microsoft-Visual-C-NET

Just one problem: It doesn’t work. Or doesn’t seem to. The author forgot to mention a …
Read More

ASUS RT-N12 Router
5 years ago

ASUS RT-N12 Router

I bought an ASUS RT-N12 router yesterday and set up a network for my wife’s office. The routher works great, but the instructions that came with it for quick set …
Read More

Calibre Install on Windows 7 64 bit
5 years ago

Calibre Install on Windows 7 64 bit

I’ve had the hardest time installing Calibre book reader and ebook converter on my Windows 7 64 bit machine with no idea why. It kept erroring out with the message …
Read More

VBA Code to Convert Military Julian Date to Excel Date
6 years ago

VBA Code to Convert Military Julian Date to Excel Date

Here’s an Excel function that takes a military style julian date YYDDD (where the DDD is a three digit day from 0 to 365) and converts it to an excel …
Read More

A Geek’s Christmas
6 years ago

A Geek’s Christmas

The best X-mas ever. Mucho robotico. Here is my new robot arm:

My new Arduino Electronics board:

We’re always having problems with electric motors going out in the …
Read More

Canon MX-700 Print Cartridge Reset
6 years ago

Canon MX-700 Print Cartridge Reset

A handy checklist for reseting a canon MX-700 ink cartridge after you refill it:

1. Disconnect the power cable

2. Connect it while holding down the power button

3. With …
Read More

Java HTTPS SSL socket client connection
6 years ago

Java HTTPS SSL socket client connection

had a hard time finding this so if you need to get html from an HTTPS connection in java, here is an example: import java.io.BufferedReader;

import java.io.IOException; import java.io.InputStreamReader; import …
Read More

MySql Military Julian date to MySql date
6 years ago

MySql Military Julian date to MySql date

So I have military date formats in my MySql database and I need to change them to regular mysql dates. Some of these dates are like this:

8001

For January …
Read More

Top