~Revo Fora~

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

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 [...]