Tips to Help Avoid Road Rage

April 17th, 2007

I spent a lot of time on the road this weekend and had the opportunity to share it with some rather good and mediocre drivers.  I’m not the type of person who would try and cause any sort of harm to any of my fellow drivers, but I do get kind of upset when people do things on the road that don’t make sense to me.

I’m offering some tips on things people can do to make themselves better drivers (at least in my eyes).  These tips may not be legal, may not be safe, yada yada yada.  Follow them at your own risk.  If you disagree, please feel free to post a comment.  I’d love to know what others think is better.

  • Don’t drive in the left most lane on the freeway.  Even if it is only a two lane freeway, you really ought to stay to the right unless you are passing someone.  Of course, if it is bumper to bumper traffic, this rule doesn’t apply.
  •  If you are going faster than the car in front of you, do not wait until the last second to move over and pass the car.  Look far enough down the road so that you have room to speed up or slow down in order to merge with the traffic next to you. If you have to slow down to the speed of the car in front of you, wait until you will not cause more “aware” drivers to suffer for your inability to look a safe distance ahead.
  • When you are changing lanes, MERGE with the traffic next to you.  You are not merging with traffic if you are going significantly slower than everyone you pull in front of.  You are stopping traffic.
  • If you are only going a few miles an hour faster than the car in front of you, don’t make other people slow down significantly so that you can take a decade to pass that car.  It causes people to slam on their brakes and may cause an accident.  It also causes people to label you with terms that are not nearly as polite as “inconsiderate” or “thoughtless.”
  • When driving on a down hill stretch, do not brake in every turn.  It is hard on your brakes.  You are also far more likely to lose traction if you brake while turning.  Instead, use cruise control when possible and set the speed such that you don’t need to brake at all.  If there is an especially sharp turn, then brake before the turn. It is safer and will instill more confidence in those around you.
  • Don’t get all over someone’s bumper just because you like to see another car in front of you.  I can’t tell you how many times I had someone get all over me and then not move an inch forward or backwards after I get out of their way.  Worse is when they move forward just enough so that I can’t get back over to pass someone in my new lane.
  • When making a right hand turn, turn into the right most lane when possible.  If you’re not driving a semi-truck and you can’t turn into the right most lane, you are driving a car that is too big for your driving skills.  If there is a gap in another lane that is safer to turn into given the conditions, feel free to do so.
  • Do not make everyone behind you wait for you to turn right into the left hand most lane. I don’t care if you want to make the next possible left.  It is inconsiderate, selfish, and bad for the environment. Just think of all the pollution created by those people who are stuck behind you unable to move because you want to make a quick left into a grocery store.  Not only that, but if the traffic is so bad that you have to wait 10 minutes to make that turn, you could have gotten to your destination faster by making a U-turn.  Your car produces almost as much pollution sitting there idling as it does moving.  At least you are getting somewhere when you are moving.

If I have any more tidbits, I’ll add them on after this point.  If you’re guilty of any of these offenses, don’t worry, I don’t hate you.  Just go and sin no more.  With your help, we can help curb road rage and make the roads a better place.

Mac OS X unintelligent when dragging files from removable media

April 13th, 2007

Last night I wanted to copy some files off of several CDs and burn them onto a single CD. I popped them into my Mac, highlighted the folders I wanted, and dragged them onto a folder in my desktop. Mac OS decided to make shortcuts of those files in the folder. Now, I know that there is some key combination I can use to tell it to move or copy the files instead of create shortcuts, but I can’t remember what it is.

Anyway you slice it though, that seems like the behavior is incorrect. In general, why would I want to make a shortcut to some file on removable media? I know that people sometimes run applications off of a network share but I think that in most cases people are going to want to copy a file in that instance instead of create a shortcut.

Of course, I come from a Windows world where dragging a file like that would result in it being moved, or just copied if it were on removable media. But at the same time, a shortcut to removable media is only useful if that media is attached/inserted.

Unable to empty the trash in Mac OS X

April 11th, 2007

Ok, so we use Surrond for source control at work (I know I know, it sucks but I didn’t pick it). Well, I checked out some files and then ended up deleting them all. Well, sort of. I moved them to the trash. Tonight I decided it was time to empty the trash (it was up to over 2GB). Lo and behold the Mac wouldn’t let me empty the trash. Why? Because some files were locked. So, I opened the trash, selected all of the items and opened the info (command-I). I then tried to unlock everything. It failed.

The next thing I tried was to go into my trash and do it from the terminal. Your trash is located in “/Users/username/.Trash/” . There, I tried to recursively set the permissions again (“chmod -R 700 *”). That failed because I lacked permissions. So, I tried using “sudo chmod -R 700 *” and was rejected again.

So, I went to Mac’s website and they recommended that I use the command “chflags -R nouchg ” and then list all of the file names I wanted to modify the permissions on. As it turns out, you can open the finder and drag files into your terminal window and it will automagically add them to the command line (very nifty). Anyway, I go rejected by that as well.

So I went back to Mac’s help page. As it turns out, you can hold down “command-option” while emptying the trash and it ended up deleting everything for me.

So why is ths so absurd to me? Because, how can the OS let me delete those files by holding down two characters while emptying the trash if I cannot modify the properties on those files using sudo? How can you have any file on your filesystem that you cannot modify with sudo? Seems like an OS bug to me.

P0171 Check Engine Code on 2000 Toyota Corolla

April 9th, 2007

So the P0171 check engine code seems to be a rather popular code. I’ve searched the web quite a bit and most people who see the “Check Engine” light come on their Corolla have this code. It seems that this code usually comes up after the car has been driven 70,000-80,000 miles.

Common advice on the internet suggests that you clean the mass airflow sensor and see if that fixes the problem. The problem could also be caused by a faulty oxygen sensor or a vacuum leak. The corolla has two oxygen sensors. I haven’t looked to see where they are located but one is probably in the exhaust manifold and the other is after the catalytic converter.

So what is the cause of my P0171 error code? I don’t know. The ODB-II reader I used was one that is only capable of checking engine codes. I’m thinking about buying this reader because it should allow me to run the engine and actually look at the output of each of the sensors. I’ve tried listening for a vacuum leak but I don’t hear one. Of course, that doesn’t mean that one doesn’t exist. I just hope I don’t have to replace too many sensors, they are about $100 each.

Switching ISPs again + 1500 visitors a month!

April 4th, 2007

Well, it’s that time of year again. My special rate with my current ISP expired a while ago but I haven’t had the time to switch over. I now have a second high speed internet connection and I just need to switch the cables going into my router to finish off the job. I don’t anticipate switching ISPs again. My new ISP has promised me a very good price for a very high speed. It isn’t supposed to increase, even after my contract expires. They are also giving me months 4-6 for free!

This site is now also averaging 1500 visitors a month. Thank you to all you spammers out there who are artificially inflating my visitor count! I appreciate having to deal with all of the stupid comment spam you put up. You guys should really get a clue though and teach your scripts not to bother. You haven’t gotten a single comment up. Learn your lesson, get on with your life, and leave me alone. No one wants to buy your fake cialis. At least, I hope not because they’ll probably get sick and die. Not only that, but because they DO look at your ads, you are encouraged to continue sending me junk! So my hat goes off to all those people who are foolish enough to click on spam links.

Shadowrun Beta for Xbox360

April 4th, 2007

Well, I found out last Saturday that I was accepted into the beta program for the game Shadowrun.  I was away from home, and away from my xbox so it was a few days before I was able to try it out.  After waiting for a few hours as I downloaded the 800MB game followed by the 1GB patch, I was able to run all the training missions and play a few matches over Xbox Live.

I don’t know exactly how much I’m allowed to talk about at this point but from the game website you can see that there are some very unique and rather cool abilities in this game.  One of the worst things about playing a game like Rainbow Six over Live was the fact that in a survival game there would always be someone camping.  I think camping is the most boring thing in the world and people who do it either have an unhealthy compulsion to win, like to be bored, or feel like they need the upperhand.  Anyway, if you’ve looked at the site you’ll know that it won’t be easy to camp.

As your game progresses you can acquire technology and magic that will help you not only find campers but also completely bypass their ambush.  If their not using similar technology to look out for you, you could get the drop on them and completely annihilate them.

I’m not going to say anything more about this because I’m sure I’m not supposed to go into gameplay and what not.  Especially since they are still working on bug fixes and the like.  But I do  believe that this looks to be one of the best first person shooters ever and is definitely a blast to play.  I’m sure it will look amazing once they finish polishing the graphics, too.

USB Serial Port for Mac OS X

March 20th, 2007

Alright, I went out and bought a USB to RS232 (serial) cable at lunch and got it up and going in Mac OS 10.4.  The hardware’s part number is PL2303.  It cost my employer about $30 from the electronics store around the corner but you can get it cheaper than that online.  The drivers that came with it suck, don’t use them.  They don’t work so there is no point in even trying to install them.  Apple happens to have a driver though.  It will require a restart but once you come back up, your device should be installed.

Using it is simple just do an ‘ls /dev/tty.*’ and you should see the device.   Mine happens to be called:

/dev/tty.PL2303-0000103D

To use it with the hardware I have at work, I need to make sure that flow control is turned off.  To start communicating with the device I use:

screen /dev/tty.PL2303-0000103D 115200 -f off

The 115200 is the baud rate at which the device is configured to communicate at.  This varies per your device.

To detach from the screen (without terminating the connection to the device) you use ‘ctrl-a’ + ‘ctrl-d’.  To close the connection and terminate the screen, you’d use ‘ctrl-a’ + ‘ctrl-\’.

The switch from XP to Mac OS X

March 19th, 2007

So I said in a previous post that I would talk abut why I switched to Mac OS X.  To be sure, it wasn’t an easy decision.  I’ve never been a big fan of Mac and a large reason for that was the price.  I also don’t like the fact that the OS hides a lot of control from the end user.  Not to mention the fact that everyone talks about how Microsoft stole their UI From Mac but they neglect to mention that Mac stole it from Xerox first.  Add that to the fact that it is becoming trendy to own a Mac and that about sums up the majority of the complains I have against Mac.

So how did I end up with this beast? My manager got a Mac a few months ago (the same laptop that I have).  I  went into his office and told him that I wanted a laptop instead of a desktop and he told me that I should get a Mac.  I wasn’t at all convinced but in all fairness, I decided I would take some time to ponder what would be the most appropriate solution for my circumstance.  I also talked to Scott about it he’s got a Mac as well).  Obviously, I decided that the Mac was the right way to go and for a variety of reasons.

First of all, I did a price comparision with a comparably equiped Lenovo laptop and found that the Macbook Pro was actually a few hundred dollars cheaper.  Since Macs and Windows machines all run on x86 based Intel processors, I could always turn it into a windows box.  Secondly, I found a website that tells you how to chroot a Gentoo environment into your Mac OS X.  I don’t use Gentoo, but I do need to compile all of my work on Linux (and sometimes in Windows too).  This means that without rebooting my machine, I can compile projects under WIN32 and Linux and not have to run a virtual machine to do all of that.  I was also hoping for a bit more stability than I had on my desktop.  It had been running for 2 years without a reinstall of Windows (bad I know), and it was giving me a BSOD 3-4 times a week.  Best of all, the Mac is light, thin, and rather sleek looking.

It has taken a bit of getting used to but there are definitely some aspects of the Mac UI that I prefer.  I also like the look and feel over that of Windows.  I really dislike that I have been unable to alt-tab between web browser windows but perhaps I am missing something? Camino doesn’t map Command-1 or anything like that to any of the windows.  IT seems I have to just use Expose (which is awesome) to find the window I want if they are all buried.

TunnelBlick 2.0 not for Intel Based Mac OS X

March 16th, 2007

There is nothing on the website indicating that it won’t work, but the tun/tap devices included with the 2.0 package don’t work on Intel based machines. I’ve emailed them to let them know. The 3.0 beta version works just fine (other than crashing on me several times).

Mac OS X + NXClient + Konsole + Asterisk == Good Times

March 14th, 2007

Alright, I got a new laptop at work this week.  It’s a Macbook Pro.  Traditionally, I’ve avoided Macs but there were some compelling advantages to getting one in the current situation I am in.  I’ll talk about that in a future post.

Anyway, when I switched to Mac I also decided to switch from VNCServer on my Linux box to an NXServer.  Setting up NXServer actually proved a bit easier than when I first tried to setup VNC on that box about 2 years ago.  The config file is much easier to understand.  It’s also easier to switch desktops with NXServer.  So, there are many advantages to the switch.  NXServer is also faster than VNC, even when running over the local network.

Anyway, I discovered an interesting problem that Nomachines claimed they had fixed.  What would happen is if I went into Konsole and tried to use the asterisk, it would think that I was using the shortcut to switch between konsole windows (defaults to shift-left/right arrow).  I thought perhaps there was something wrong with my key mapping (I checked using ‘xmodmap -pk’).  Everything checked out fine there.  I tried updating X11, modifying the NXServer settings and anything else I could think of.  I couldn’t figure it out.

At that point, I decided that I would try and just avoid using the asterisk in the first place.  That didn’t last long at all.  The first time I tried to “grep -r ‘i’m a loser’ *” I realized that life as I know it would cease to exist without an asterisk.

As a desparate measure, I went into the Konsole config and just disabled those shortcuts and now I am happy as can be.  If I go into Konsole and try and customize those using ‘shift-left’ it thinks I input ‘shift-+’.  When I use ‘shift-right’ it thinks I typed in ‘shift-*’.  Using ‘shift-<’ and ‘shift->’ seem to work just fine.