~Revo Fora~

Life, School, Programming, and Whatever Random Thoughts Cross My Mind…

Category: Uncategorized

Fixing Frequent Crashes in Railroads (and other poorly memory managed games)

Sid Meier’s Railroads crashes on Windows Vista/7 fairly frequently. This turns out to be due to the fact that Railroads and many other games targeted to XP share a 2GB RAM portion with the OS (simplified description but good enough). In other words Railroads gets 2 minus the amount Windows is using as RAM. This [...]

Dell E153FPT Vista/7 Drivers

Just in case anyone still uses this old Dell touchscreen monitor and can’t seem to find the drivers..because Dell doesn’t support the screen anymore and the company responsible for the touch pad has changed it’s company name from MicroTouch to 3M Touch Systems. Anyway, the new drivers from 3M Touch Systems works fine with the [...]

Barchart.com iGoogle Gadget

Just made up a quick helper gadget for newer people to stocks. It just gives the barchart.com overall opinion of each stock you enter and serves as a nice quick overview of which stocks to sell, or a check of whether you should buy it. Obviously it isn’t something to go on by itself, but [...]

Rogers APN Configuration for Android Phones

Getting the T-Mobile G1 or any Android phone to work on the Rogers network isn’t too difficult. When you first start the phone and you’re at the Touch the Android screen just press the menu button and go into the APN settings. Remove any existing APN configurations that aren’t related to your carrier. Then add [...]

Scribbles – Playing with SVG & Greasemonkey

Keith Wood has an excellent jQuery plugin for interacting with an SVG canvas which can be found here. I’m using it in a research project I’m working on currently and will talk about in a later post. For now though the fact that my project involves Greasemonkey, tracking the mouse cursor, and dynamically displaying visual [...]

Bypassing UOIT Restrictions

Printing from your own Laptop (or reconfiguring your broken Thinkpad) I have one of the school laptops but it’s been configured wrong for printing since I got it in September. Not wanting to go to IT (and have them try to reformat it). I’ve been using the Library computers anytime I need to print something [...]

Java Optimizing Switch Statements

The Java compiler has two different ways it can compile your switch statements. Fast – tableswitch switch(num) { case 1: func2(); case 2: funct2(); case 3: funct3(); } If it sees that your case values are all close to each other then it optimizes it such that either: The value does not lie within the [...]