Recently in How-To Category
So, you want to add some new features to your site using Ruby on Rails? That's not a bad idea. I've found Rails to be one of the quickest ways to develop small feature-rich sites quickly. The problem is getting those new components integrated with the existing PHP, Perl, JSP, .NET or whatever other language codebase. I've found that it's really not that hard so long as you know the right tricks.
Continue reading Integrating Ruby on Rails with existing PHP or Perl Based Sites.
Continue reading How to Charge and Balance 2 3s1p Packs as a Single 6s1p.
Despite all of the dogging of Vista from XP and 2000 users, I've found that I'm faster in my day-to-day activities than I was in Windows XP. Here's my list of Vista must-knows:
Continue reading 5 Ways To Get The Most Out Of Vista.
A single instance application is one that only allows for 1 of the application to run no matter how many times the user tries to launch. Windows and linux native applications have an API to detect the instance of an application but when in Java, it is not quite as easy or reliable. To complicate matters, often times the requirement will be for the original application instance to react in some way to the launch, as in bringing the window to the front, opening a file or displaying a message.
Fortunately it's not all that difficult to code this if you know the trick. In this article I'll give you all the code you need to copy and paste into your application to make it single instance.
Fortunately it's not all that difficult to code this if you know the trick. In this article I'll give you all the code you need to copy and paste into your application to make it single instance.
Continue reading Java Single Application Instance.
Continue reading How to upgrade the ram in a T60, T60p, T61 or T61p.
If you have a need to use the command pattern and want to have a standard interface but with type safe parameters, I have come up with a solution. This is one of the most interesting uses (or hacks) of generics I've ever seen or come up with and being that it took a little bit of deep thought to get worked out, I'd like to share it with you all.
Continue reading Advanced Typesafe Command Pattern using Java Generics.
One of the prerequisites of being able to stick 180s is the ability to ride "switch" proficiently. Switch-stance just means riding facing the opposite direction of your normal stance. If you ride regular-foot, your normal stance faces to the right and your switch faces to the left. If you ride goofy-foot, your normal is to the left and switch is to the right. It can feel very awkward to begin riding switch, but without acquiring the skill, you will struggle to balance or ride away from a 180 or (don't get ahead of yourself yet!) a 540.
Continue reading Snowboarding: How To Reliably Stick a 180.
Continue reading How to use your cell phone as a wireless Bluetooth modem.
Hibernate is an excellent tool which saves many projects from substantial amounts of code. Gone are the days of writing massive datasource layers full of obnoxious JDBC code. As gravy you also get simple query objects, caching, connection pooling and countless other great features. GWT on the other hand provides a robust API using a revolutionary new paradigm for writing javascript and complex dhtml interfaces. The latest version of Hibernate supports annotations, meaning you can ditch all of the XML that was previously required. This feature of course requires Java 5 to support annotations. Unfortunately, as of GWT 1.4, only Java 1.4 is supported on the client-side. I have created a solution to bridge the Java 1.4 to Java 5.0 gap.
Continue reading Using Hibernate with Google Web Toolkit (GWT).
Everyone knows (or at least they SHOULD know) that they need to back up their data but so few people actually back up what they have properly or regularly. It's always once you've lost your entire digital photo collection or that book you've been writing that you realize you've been totally neglecting your back up discipline. I can't tell you how many hard drives I've seen or had crash over the years. I've probably had 20 crash under my own accord. I didn't let them overheat, bang them around or do anything out of the ordinary. The fact of the matter is that much like how your car engine will eventually wear out, so will your hard drive. Your hard drive contains moving parts that WILL wear out over time. Making sure your data is in at least one other spot is absolutely essential if you care at all about your digital property.
Continue reading How-To: Cheap or free data backup solutions.


