Macworld – Day 1, part 2

Apple announced some really cool stuff and I’m torn on if I should buy a new MacBook. Speed seems great, but I normally get new hardware every 2 years and it’s only 18 months since my last machine. Also, it is 1.0 version of hardware and with AppleCare and enough RAM, it is over $3100 which isn’t a drop in the bucket. iWork and iLife have some neat new features, but I don’t exactly have time to look at it all.

Talking to customers at Mark/Space booth was kind of cool. I did get to talk to Walt Mossberg of the Wall Street Journal and it must be cool to know that you can make or break any tech product by writing about it; it really can make you have a swelled head.

I’m completely exhausted and will have round 2 of talking to people tomorrow. I’ve been up since 4:50 am and it’s almost 9 pm.

Macworld – Day 1

I’m headed up to Macworld today for what will probably be another decent show. The rumors are going rampant about what Steve Jobs will announce. Whatever it is, it should be decent. He also puts on a good keynote and that really excites the entire Mac community. This will also be a good chance for me to talk to users/customers as I’ll be working at the Mark/Space booth. It’s great talking to users to hear how they use our products and to show them what they can do. However, it always wears me out and I tend to lose my voice the first day. I’ll post more later when I hear what gets announced.

Rude people

I was in the security line at the airport when someone behind me switched to another line and then switched back to my line in front of me. She didn’t say anything, just cut in front of me. Uggh. I saw that she had a New York license; these kind of people give New Yorkers a bad name.

Practical schooling

Lately my wife and I have been talking about what skills kids need these days to “survive” in the real world. Reading, writing and arithmetic are great starts, but there are just some practical things that don’t seem to be taught in school. For instance, knowing how to use credit (money isn’t free and paying the minimum is going to take a long time to pay it off; however, the minimum has now doubled under recent banking changes), how interest rates affect borrowing power (each additional 1% increase in interest causes a big increase in monthly payments), how to balance a bank account, etc. While these items are all money related, there are other ideas, but I can’t think of them right now.

Voicemail notification

Whenever we get voicemail at home, MCI sends an email to whatever address I specify. This is great, but I don’t recognize most phone numbers. So, today I got the great idea to write a script that takes the inbound number, looks it up in an SQL database, and then sends the name to my cell phone. This is extremely cool; then I was able to import the names from my address book into the database. I learned out php, sed, and SQL in this particular exercise.I’m glad that I have the knowledge to learn whatever I need to in order to make technology work for me.

I used 2 scripts, the first is called from /etc/mail/aliases as in:

vm_notify:              "|/usr/local/bin/vmnotify_stage1",

Where vmnotify_stage1 is:

#!/bin/sh
sed '
{
        /You have received/!d
        h
        s/You have received a Voicemail message from //
        h
        s/.//

}' | /usr/local/bin/vmnotify_stage2

and

vmnotify_stage2 is:

#!/usr/bin/php -q 
<?php
$server = "localhost";  // server to connect to.
$database = "contacts";       // the name of the database.
$db_user = "username";        // mysql username to access the database with.
$db_pass = "password";   // mysql password to access the database with.
$table = "callerid";       // database table

$phone_number = trim(fgets(STDIN)); // reads one line from STDIN
$link = mysql_connect($server, $db_user, $db_pass)
or die ("Could not connect to mysql because ".mysql_error());

// select the database
mysql_select_db($database)
or die ("Could not select database because ".mysql_error());

$result = mysql_query("SELECT * FROM $table WHERE `phone_number` like "%$phone_number%" ORDER BY `phone_number`", $link)
or die ("Could not read data because ".mysql_error());

$text = "";
$num_rows = mysql_num_rows($result);
if ($num_rows > 0)
{
        while ($qry = mysql_fetch_array($result))
        {
                $text = $text . "$qry[name] ($qry[phone_number])n";
        }
}
else
{
        $text = $phone_number;
}

mail("example@example.com","Voicemail from:", $text);

mysql_close();

?>

This may not be the most efficient way, but it appears to work.

Televangelists

Who bothers listening to televangelsts? Do they really think that there message is better than someone else’s if they are on TV? Every time Pat Robertson opens his mouth, something arrogant and plain stupid comes out. Today he said that Ariel Sharon’s health problems are punishment from the almighty for trying to break up Israel. OK, here is a guy that is trying to make peace and Roberston has to say something like this. Somehow Robertson has 865,000 people a day watch his 700 Club show. Those people that watch must not be able to think for themselves.

Why is it news that Roberston opens his big trap? He should just be ignored. Even the Whitehouse is trying to distance itself from Robertson now even though they’ve been bed buddies in the past.

I saw a bumper sticker the other day: “Annoy a conservative; think for yourself.”

Bluetooth Dongle on Windows

I bought a Parrot CK3100 handsfree kit in the hopes that I can get it installed and working with my Samsung A900 (there are a few issues so far, one being that Parrot is trying to figure out how to get it to work with the A900 and I’m waiting on another connector as I have a wacky factory installed stereo). I wanted to see how hard it was to upgrade the firmware over Bluetooth. The utility, of course, is Windows only. No problem, I’ll plug my Bluetooth dongle into my Windows box and do the update. Not so fast. I had purchased a D-Link DBT-120 dongle awhile ago to use with my Mac before I got one with built in Bluetooth. Apple’s firmware update manages to do something to the adapter such that it can’t be used on Windows. After much searching and futzing, I was able to install an old firmware on it and convert it from HID to HCI mode and then got Windows to recognize it. Hooking up the car kit using a 12 volt adapter was pretty simple once I checked a few wiring diagrams. The firmware update went fine.Now all I have to do is wait for a firmware update (crossing my fingers that they can get it to work) and one more connector I ordered on eBay (I don’t want to cut wires to install this, so I bought a bunch of connectors to try to hook it all together.)

Installing Windows XP

My sister wanted to wipe down her husband’s old Windows XP machine so that he could just run WordPerfect on it (he’s switched to a Mac for everything else), so I offered to do it for her as she’d probably call me for help anyway. I started the install with a hard drive re-format around 7:30 am. I didn’t finish the install and applying all the patches until somewhere around 2 pm. Holy cow there were a lot of updates and each time I applied one, I had to apply another one. Luckily I only had to click a few times to get it working. I’m so glad I don’t deal with Windows on a daily basis.

Useless comment

I was quite excited to see a comment on my blog today. I read the blog and the person tried to contact me via my contact form and couldn’t (I messed up the Apache permissions). He wanted to contact me about a product I wrote years ago for a client. Why contact me? It’s not my product and I don’t have it. It’s like if I contacted the original author of HyperCard and asked how I could get a copy. How would he know?

Please keep comments relevant.