Political Bullshit

I'm so sick of all the political bullshit I hear in the news.

I don't own a TV because there simply isn't anything on it worth my time or money. The TV has become a mind-control device for those with money. Do you know why there are so many 'reality TV shows' on now? Because the people in power want to distract you from the real reality of whats happening in the world. So many people have become so entrenched in the reality TV shows that they're the furthest from what's really real: reality.

I read foreign news websites because all the domestic ones are so full of bullshit (both are full of bullshit, but foreign ones seem more realistic). Hell, I even enjoy reading foreign tech news websites! The media with all their advertisements, and opinions, and suggestions -- all bullshit. I trust talking face-to-face with a stranger on the street more than I do listening to a news anchor -- how sad is that?

The amount of bullshit that comes at me on a day-to-day basis, from every direction, is mind-numbing. Others who may write similar statements would probably say, at some point in their text, "Wake up!". But I'm not going to say that. Do you know why? Because so many of us are already awake to whats happening -- the problem is we just don't give a fuck. Hell, why am I writing this? Why aren't I out there doing something about it? Well, its my nature to observe and act when the time is right. The time doesn't feel right and I don't feel that I've observed enough. I just know there is something seriously wrong with this country and with the world.

Bush's mortgage plan doesn't help MY situation!

Forbes has an article today about the "Bush Administration's plan to rescue the housing market" -- well I'm a landlord who owns three multi-family houses, all of which have adjustable rate mortgages and all of which have seen interest rate hikes of double what I was originally paying. If my profit margin was $300 per-month when I originally bought the properties, all of that has been washed away with mortgage payments increasing by $700 per month, per property!

FTA:

It also won't help the 16% of subprime borrowers who are already delinquent or in default, and it won't help millions of other homeowners who either will be deemed able to pay the higher rates when they adjust, starting in January, or who have the unhappy circumstance of having a house worth less than their mortgage or a loan that has already reset to the higher rates.

Well let's see... I'm already delinquent and in default on all of my properties, check. I'm one of those in the "unhappy circumstance of having a house worth less than their mortgage", check. My mortgages have already reset to higher interest rates, check. Great, I don't qualify.

The big problem with the sub-prime situation doesn't only apply to the single-family owners who bought a bigger house than they could afford -- it also applies to all the landlords who purchased or refinanced multi-family properties and who provide housing for the more than 34 million renters in the USA. Speaking of the rental market, it is projected that the number of renter households will increase by more than 1.8 million between 2005-2015 [1]. I'm sure that number doesn't even take into account all the people who lost their homes (and their good credit) and now need a place to live.

I've given up trying to afford my properties. I'm ready to walk away. There is no help in sight and stressing about trying to pay for them isn't worth my health. I already know its financially impossible for me to afford them (rental income is $7,000 per month, new mortgage payments are $10,000 per month), so why fight the inevitable? I have all three of my properties listed for sale with a broker, at prices totaling $195,000 less than what I owe the banks. The real estate market is bad because everyone is waiting for the prices to keep falling. Even if my properties do sell, I'm going to end up owing the banks over $200k -- which I also cannot afford.

Logitech VX Nano Wireless Mouse


Price:
$70 @ MicroCenter

Pros: Small portable mouse with a tiny receiver that doesn't get in the way. The receiver has a storage spot underneath the battery cover of the mouse which is also really nice. It's a laser mouse, not optical, so it can be used on practically any surface. The mouse wheel can switch from smooth (faster scrolling speed) to the more common click type. To switch between the two types, you press down on the wheel (what would normally be a middle click). It has a very comfortable shape that helps fool your hand into believing you're using a bigger mouse (even if only temporarily). The two little buttons near the left mouse button didn't get in the way at all.

Cons: Due to its size, the mouse started cramping my hand after gaming with it for a few hours. Since I bought this mouse specifically for gaming with my laptop, that was a deal breaker and I had to return it. Also, the wheel doesn't have a middle click. The little button above the wheel is your middle click button, which is just annoying.

Bottom Line: Great little mouse, but too small for gaming. Lack of a middle click using the wheel, and the hefty price tag, make other mice seem more attractive.


Independent Thoughts
Trend of using pda is increasing day by day, especially if we talk about pdas come with navigation system. Now days it is very convenient to get pda accessories like pda battery, as these accessories are available online as well. A large variety of pda keyboard is also available online. If you want to protect your new pda from scratches and shocks, go ahead and look for cool pda cases.


Upgraded MacBook Pro to 4GB RAM

4GB MacBook Pro

I couldn't pass up the awesome deal at NewEgg for 4GB of RAM for only $110 after $40 mail-in rebate! Apple charges $700 for the same upgrade!! The GeIL 4GB Dual Channel Kit received great customer reviews on NewEgg so I felt confident purchasing it. Installing it myself was a breeze. Apple provides directions for upgrading your memory on their website and if you need something more visual, there are videos on YouTube showing how its done.

My MacBook Pro runs a lot better now with the extra memory. I usually have Windows XP running inside VMWare so the memory was really being eaten up quick. Also, having the newer Santa Rosa MacBook Pro is great because the full 4GB is utilized, instead of only 3GB.

Moving to Arlington

The 1 year lease for my apartment here in Cambridge is up on December 31st. When I moved upstairs from the basement, I convinced the landlord to leave my $950 a month rent alone. He said "OK, for now". So now that it's time to renew my lease, the landlord wants to increase it to $1100 a month. No thanks. Not for a 450 sq ft studio apartment!

I spent a few weeks searching for a new apartment but there was nothing in Cambridge with a sensible price to size ratio. The rental agent who found my current apartment for me, Jim from Inman Realty, told me about a place in Arlington that was about to go on the market. I do all kinds of computer work for Inman Realty and Jim and I have become friends over the past year.

The place in Arlington is about 4 miles from where I work. It's huge! Over 1200 sq ft! It's a two bedroom apartment on the first floor with two off-street parking spots, a back yard, use of the basement, and a porch. But I've been spoiled living so close to work (1/2 a mile) so I told Jim for the price I would be paying in Arlington, I wanted something closer to Central Square.

That same evening, I went to look at an apartment for rent by owner. It was in Davis Square, about 2 miles from where I work. But for $1100 a month, the place was a DUMP! I spent the next 6 hours thinking about the place Jim showed me a few hours earlier. Jim told me the landlord wanted to rent it for $1400 a month and that the second floor of the same house was already rented for $1500 a month.

Long story short, Jim was able to get the landlord to rent it to me for $1200 a month. I move in on January 1st. The lease was signed yesterday and I already gave them my deposit. How do I justify going from $950 a month rent to $1200 a month? Well, I don't entirely have a choice. If I stay where I am, my rent will increase to $1100 regardless. So for an extra $100 a month I can get a place that's 3 - 4 times the size with off-street parking and a back yard. I would be stupid not to take the place in Arlington!

Cold MacBook Pro

I'm always afraid to use my laptop when it's cold. I always fear that condensation will develop inside the laptop and short circuit something. It hasn't happened yet.

According to Apple, the MacBook Pro has the following specs:

Operating temperature: 50° to 95° F (10° to 35° C)
Storage temperature: -13° to 113° F (-24° to 45° C)
Relative humidity: 0% to 90% noncondensing

I wonder what the storage temperature range is for a hibernating MacBook Pro, since I always leave it sleeping.

Don't fix what isn't broken: XP, Tiger

I have long been an advocate of not immediately upgrading software. Most people upgrade simply because they're expected to or because they assume that newer stuff must be mean better stuff -- it doesn't. This "newer is better" mentality is the driving force behind our economy and advertisers are juicing every bit of attention from the younger generations, molding them into the perfect consumer. Many times consumers are presented with no other choice than to accept what is being sold. For example, if they purchase a new computer it's going to come pre-installed with the "latest and greatest" -- that is, latest and greatest piece of junk.

Software is a tool, designed to help you get something done. If the software already does the its job as expected, why change it? There are clearly differences between changes that effect usability and those which are meant to increase stability (the stone wheel, when first invented, worked as a wheel, however improvements increased its practicality and usefulness). The problem is that software companies need to make money -- if they created perfect software that gets the job done and never needed to be upgraded, where would their profits come from? The driving force known as greed creates competition between software companies, who then rush to get their latest and greatest software out before their competitors. The end result? Buggy, rushed software which adds as little "help-you-get-stuff-done" functionality as possible.

I mean really, how necessary are the added features of Windows Vista and Apple OS X Leopard? When Windows 2000 was upgraded to Windows XP, I recognized lots of extra unnecessary junk in XP. Windows 2000 ran smoother and faster than XP (and still does!) on all the machines I installed them on. However, there were certain features of Windows XP that became a requirement for business use, namely Remote Desktop. So I've accepted that Windows XP is probably the best option for those business users who need a Windows machine. But Windows Vista? I have yet to find one thing about Vista that makes it a better option than Windows XP.

People have come to accept that their computers will become obsolete within a few years -- but why? The only reason a system becomes obsolete is if the software you wish to run on it needs better hardware. If properly taken care of, the hardware will last a very long time. But perfectly working hardware is useless if the software you need runs slow, if it even runs at all. The solution? Write better software that requires less processing power. But wait, that's not advantageous to software and hardware vendors. The more they can sell you, the better. And after all, "newer is better", right?

I use Apple OS X Tiger on my MacBook Pro and even though Leopard has been released, I don't plan to upgrade. The only thing that would force me to upgrade is if there was some piece of software that required the newer Operating System. But thats a whole other issue altogether -- software vendors updating their software to work with newer operating systems and dropping support for the older systems. I'm discovering that a great portion of the Mac user-base tends to jump on the newest OS X, which causes developers to drop support for the previous version, ugh!

When I use vi, cat, grep, ssh, or any other Unix command, I don't wonder if they're going to be compatible with my system. I don't fear that running one of those commands will crash my entire operating system. Why? Because they're small, proven pieces of software that do their job and do it exceptionally well. That's the way software should be -- it should just work.

The comments in a recent Slashdot article prompted me to write this post. Read the comments and you'll see how many people are sick of software vendors releasing crappy software.

My First (Real) Electronics Project / Invention

When I was 13 or 14 years old I discovered the need for something to easily change the connections made between VCR's, tape decks, and speakers. I needed to change inputs and move cables around to different ports. Constantly moving around equipment to access the ports on the back was becoming very cumbersome. I needed an AV Selector. Although one probably existed at the time, I didn't know of its existence and so I marched on with inventing one.

I had never soldered before, and this was the first time I found a real purpose to solder. My solution was simple: Connect each of the cables coming from the equipment into a box that was easily accessible. For each port on the equipment, the box would have two ports: one that connects from the equipment to the box and then another on the box that connects to another one of these boxes, which is connected to yet more equipment. This would allow me to be able to unplug and change the connections easily by simply manging the connections on the boxes.

To help you understand how this actually worked, I whipped up a quick diagram:

So I bought some parts from the local RadioShack, including a little plastic project box which needed to have openings cut out for the ports (very difficult without the right tools -- I think I used a razor and broke a few blades). A few hours later, and my invention was complete. It certainly wasn't pretty, but it worked exactly as I planned!

Of course there are much more professional AV Switchers out there now, such as this one made by Sony:

Plain Text E-Mail Signatures

The only thing I hate more than HTML emails are HTML email signatures. I can forgive the use of simple HTML formatting inside emails, but adding images or doing fancy things with your email signature is just ridiculous (that includes plain text fancy things!).

One of my biggest arguments for not using HTML in emails is that I believe email is designed to convey information and that formatting should not be necessary to make it happen. Where else can you practically guarantee a block of pure information other than in an email signature?

Here is the signature I use when responding to emails for my web hosting company:

--
Raam Dev
Owner & Systems Administrator
Akmai.net Web Hosting
http://akmai.net
----------------------------------------------------

I have a couple of rules I try to follow when creating my signatures. First of all, signatures should only be 3 - 4 lines long and span a maximum of 72 characters wide. The signature should not contain your email address, since that's already found in the From field. You may include a phone number but a physical address should be reserved for your website.

The signature start indicator is a combination of three characters placed on a single line by itself. The three characters are two dashes and a space (-- ) and should be placed on a line by themselves. When an email client finds these three characters it changes the look of the signature so it appears separate from the content of the email. This makes your "information" more easily readable.

Remember, email clients have signature options built-in to help you avoid retyping a signature every time you send an email. When you design your signature, ask yourself if you would consider retyping the signature each time you send an email. If it would take you 3 minutes to retype it, then it's probably too big.

Burton RMA Service

I bought a Burton snowboarding jacket last year for around $150. It was a great jacket. A few weeks ago when I started wearing it I noticed some white flakes coming out of the jacket (no, it wasn't snow). Upon closer inspection I discovered it was a manufacturing defect. The waterproof lining inside the jacket (behind the mesh) was flaking off and little bits of it were coming through the mesh.

I really didn't have any money to buy a new jacket and I couldn't wear this one without being covered with white flakes. I didn't have the receipt for the jacket but I decided to see if I could have it RMA'ed anyway. I called Burton RMA service and explained to the rep what happened to the jacket. He asked if I had the receipt or if I remembered where I bought the jacket -- I didn't. He said there is only a 1 year limited warranty and without the receipt there was no way to confirm if the jacket was still under warranty. He told me I could mail the jacket in to the RMA department and someone would call me when they decide what to do with it.

I shipped the jacket on Monday via FedEx ground -- it cost me $5.86. On Tuesday, someone from Burton called me (wow that was fast). He confirmed it was definitely a manufacturing defect. Again, I was asked for a receipt and again, I explained I didn't have one. The guy said even though he didn't have to, he would send me a new jacket anyway. He told me he couldn't guarantee they would have the same one but I said anything black and in the same size was fine with me.

On Friday, I received a brand new 2007 Burton 2/1 System Jacket. It has an inside removable liner -- something my previous jacket didn't have. The retail price on the tag? $279.99! Burton RMA is fast and awesome.

Plain Text E-Mail

I have always disliked HTML email because I have always felt that the point to an email is to convey information. Adding styles to the message (borders, backgrounds, embedded images, etc) does not help convey the information. They distract the readers attention away from the message and may even inhibit the information from being conveyed altogether (if the recipients' email client doesn't support HTML, they would see garbled HTML code mixed in with the message). Sure, sending multipart emails (both HTML and plain text) may partially solve this problem, but then you nearly double the size of your email message and end up relying on the recipents' client to support multipart messages.

The bottom line is if you're trying to convey some information, how necessary is it to have the information formatted with HTML? Any information that needs to be formatted with HTML should not be placed in an email. The formatting should be done outside of the email client in a word processor and added to the email as an attachment, preferably as a PDF document (to insure the document looks the same to the recipient as is does to you).

You could attach a Word Document or a PowerPoint presentation, but then you'd need to worry about your attachment being stripped due to restrictive mail server configurations. The recipient needs to worry about viruses embedded in the attachment (MS Word macro viruses, for example) and you'll also need to worry about the recipient being unable to read your attachment because of an incompatible version of the software (your doc file was created in Word 2007 but the recipient only has Word 97 and cannot read it!). The BBC wrote an article back in 2003 about how HTML emails are becoming more and more dangerous.

Please, send your emails in plain text.

I am including directions for sending plain text email from several common email clients. If the one you use isn't listed here, or if you're having trouble configuring your client to send plain text email messages, please leave a comment and I will update this list. Here is another large list of email clients with directions for turning off HTML composition, as well as specific notes for each client.

Outlook Express

Tools -> Options
Click the 'Send' tab
Make sure 'Plain Text' is selected under 'Mail Sending Format'

Outlook 2000

Tools -> Options
Click the 'Mail Format' tab
In the 'Message Format' section, change 'Send in this message format' to 'Plain Text'

Note: If you're using MS Word to compose your emails, then shame on you! These plain text options won't be available to you.

Windows Live Hotmail

When composing a message, click the 'Show plain text' link to change your email from HTML to plain text:

Hotmail Plain Text

I haven't been able to find a way to make plain text the default for composing messages.

Thunderbird

There are two places you can set composition options in Thunderbird. If you don't use multiple identities, you'll probably only need to worry about the first one.

Tools -> Account Settings
Underneath your account on the left, choose 'Composition & Addressing'
Make sure 'Compose messages in HTML format' is not selected

The second place is inside your identity settings:

Tools -> Account Settings
Select your account on the left
Choose 'Manage Identities'
Select your identity and click Edit
Choose the 'Composition & Addressing' tab
Make sure 'Compose messages in HTML format' is not selected

GMail

By default, GMail composes messages in plain text. If you see the formatting bar above the composition area, you should see a link to switch to plain text:
GMail Plain Text

Employee – Someone who is taken advantage of

ploy
–noun
1. a maneuver or stratagem, as in conversation, to gain the advantage.

Isn't it interesting that to employ would mean to gain the advantage over someone and an employee would be someone who is taken advantage of...

The dictionary doesn't quite define an employee that way, but after breaking up the word, I don't think I'll ever think of the word employee the same.

Problems with Speakeasy's Billing Procedures

A couple of weeks ago, I canceled my Comcast broadband service and transferred my Speakeasy DSL service from my house in Lowell to my apartment in Cambridge. On October 4th, the DSL and VoIP service was installed and working at my apartment. When I checked my bill the other day, I was surprised to see new charges for the Lowell address:

Why am I being charged for 11/18 - 12/18? The service should have been canceled on 10/04! Apparently, Speakeasy doesn't cancel your old service when you transfer service from one location to another -- you have to specifically call to request the old account be canceled after you confirm the service has been successfully transferred to the new address. This is not what I was told on the phone when I placed the order for the transfer. I simply stated that I wanted to transfer my service and cancel service at the Lowell location. The sales rep said OK and started the transfer order. After hassling a Speakeasy sales rep and asking to speak to his manager, I managed to get a refund for the 11/18 - 12/18 charges as well as 10/04 - 11/18.

When I transferred my service back in October, I kept my existing line-speed - 1.5/384. A few hours before I discovered the discrepancy in my bill, I called Speakeasy and requested that my line-speed be increased to 6.0/768. (It's almost double the price, but I've been doing a lot of transfers lately and I need the faster speed.) When I looked at my bill a few hours after placing the request, I was surprised to see charges for 10/04 - 12/18, for the 6.0/768 service I ordered only a few hours earlier!

When I spoke to the Speakeasy sales rep, he explained the actual charges. I wasn't being charged for the 6.0/768 line-speed ($26.77 for 10/04 - 10/18, $59.28 for 10/18 - 11/18, and $59.28 for 11/18 - 12/18). Speakeasy always charges for the first two months on a new install, so these charges made sense once the sales rep explained them to me. What was throwing me off was the line-speed: 6.0/768. The sales rep admitted there was a bug in the billing software which caused the package name on the bill to change when you upgrade your line-speed. That goes to show how such a bug can lead to so much misunderstanding.

But in the end, I'm happy with the outcome. The Speakeasy sales rep was very helpful. He even called me back to give me the final refund total and send me an email with that information as well. As usual, I'm very happy with Speakeasy's service. My new line-speed is nice:

Download Speed: 5179 kbps (647.4 KB/sec transfer rate)
Upload Speed: 646 kbps (80.8 KB/sec transfer rate)

Subversion on Mac OS X

My workplace is switching from CVS to Subversion for source-code version control so I need to pick up Subversion rather quickly. It took me awhile to get comfortable developing with CVS and now I need to learn stuff all over again. I even have scripts setup to help with the deployment of my project using CVS -- now they need to be modified to work with Subversion. Oh well, I'm sure its for the best.

I've been reading the awesome, and free, Subversion book a lot lately and it has really helped with my understanding of how Subversion works. Since Subversion is not installed on OS X by default, we need to install it before using it from the command line. I downloaded the easy-to-install Subversion .dmg distributed by Martin Ott.

After running the .pkg-installer I was able to run svn help from the command line to confirm it was installed properly. If that command doesn't work after installing, you may need to add this line to the .profile file (in your home directory):

export PATH=$PATH:/usr/local/bin

Now you should be able to run all the SVN commands from your Mac OS X command line. If you prefer a GUI interface to SVN, check out svnX. I do all my development from within Eclipse, so I'm using an SVN plugin for Eclipse called Subversive. I prefer it over the more commonly known Subeclipse plugin because Subversive has a friendlier, and seemingly more configurable, interface.

Checking out a project from the command line over SSH is really simple, however while searching Google I was unable to find this "simple" answer. If I had found the free Subversion book before searching for this answer, I probably wouldn't be writing this:


svn checkout svn+ssh://svn.dev82.org/projects/myproject

That's it! The syntax for checking out a project is very similar to CVS, however SVN has the concept of "URLs" to specify the location and type of connection to your repository. If you have SSH Client Keys setup, you can run SVN commands over SSH without the password prompt (which is necessary for the deployment scripts I use).

Using Procmail to Mark As Read

I've seen a couple of blog posts explaining how to mark Maildir messages as read with procmail. All of them point to a thread on the procmail mailing list as the source of this solution. However, all of them fail to make any kind of attempt at explaining whats going on. After some trial and error, I was able to learn what was happening. First the snippet of procmail code:

[sourcecode language="bash"]
:0
* conditions
{
foldername=whatever

:0c
.$foldername/ # stores in .$foldername/new/

:0
* LASTFOLDER ?? //[^/]+$
{ tail=$MATCH }

TRAP="mv $LASTFOLDER .$foldername/cur/$tail:2,S"

HOST
}
[/sourcecode]

OK, I'm some-what familiar with procmail, however this code was not very intuitive. Why does a copy of the message (:0c) get moved into $foldername? What is HOST and what does it do? I will attempt to explain:

* conditions
This can be whatever you want. In my case, my Blackberry forwards a copy of all sent email to my inbox so that I can store it in the sent folder for future reference. However, I don't want to see "new" messages in my sent folder. I want them to be moved there and marked as read. All messages coming from my Blackberry have a From address of test@example.com, so my condition is ^From.*test@example.com. I make the assumption that I won't be emailing myself (I have a separate email account for that).

foldername=whatever
This is just storing the path to the folder we're going to work with. In my case, I'm using my sent folder: foldername=/home/raam/mail/sent

:0c
.$foldername/

This places a copy of the message in the /new directory. This confused me, since the point of this code was to mark messages as read. But I discovered this step was necessary for the next few lines to work.

:0
* LASTFOLDER ?? //[^/]+$
{ tail=$MATCH }

First, let's read what LASTFOLDER is according to the procmail documentation:

This variable is assigned to by procmail whenever it is delivering to a folder or program. It always contains the name of the last file (or program) procmail delivered to. If the last delivery was to several directory folders together then $LASTFOLDER will contain the hardlinked filenames as a space separated list.

OK, so in this case, LASTFOLDER would contain the full path to the email that was copied to $foldername in the previous step. I'm not entirely sure what the rest of the commands do, but they're necessary.

TRAP="mv $LASTFOLDER .$foldername/cur/$tail:2,S"
Deciphering the mv command is pretty simple. It moves the email that we copied to $foldername to the /cur/ directory and renames it to end with :2,S. Cool, that makes the email client see the message as read. But what is TRAP? Again, let's RTFM and find out what TRAP is used for:

When procmail terminates of its own accord and not because it received a signal, it will execute the contents of this variable. A copy of the mail can be read from stdin. Any output produced by this command will be appended to $LOGFILE. Possible uses for TRAP are: removal of temporary files, logging customised abstracts, etc.

Interesting. But the next line is even more interesting!

HOST
What on Earth could this do? Well to my surprise it is directly linked to TRAP. Since the contents of TRAP will be executed when procmail terminates, we need a way of terminating procmail (for this block anyway). We do this with HOST. Here is a good explanation from another mailing list thread:

Lacking an explicit "exit" command in procmailrc, "HOST" in procmail is
what "exit $EXITCODE" would be in a shell.

So there you have it. I had no idea there would be so much happening behind these few lines of procmail code, but I'm glad I took the time to learn!

Bird of Prey Outside my Window

I looked out my window this morning and saw this hawk tearing apart another bird. Knowing how paranoid hawks are, I tried to open my window very slowly to get a better shot, but he flew away just as I lifted the camera. 🙁

Here is another blurry picture of him looking at me.