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.

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.

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.

Stupid hackers

I periodically check on statistics on my server and noticed that for the last 1.5 hours, my bandwidth was constant even though I wasn’t doing anything. I started checking the traffic on my network and saw that some Chinese hacker (or script kiddy) was trying to get into my machine via SSH. I’ve seen a number of hack attempts into my server and normally write them off, but this was chewing up bandwidth, so I blocked the IP address of the attacker. I realize it is kind of pointless as hackers will use different IP addresses and there will be more later.

Why do people waste their time? My server is not very interesting. I wish people had better things to do than try to hack my server. I read yesterday that someone got convicted of a denial of service attack (DOS) last year. Maybe that will teach someone a lesson; probably not.

Poor timing of Macworld

I’ve come to the conclusion that having Macworld Expo in January is a poor decision. Here I am at the end of the year looking to see what else I can buy for my small business to get the tax deduction. I was thinking about getting a Mac Mini to run as another server and learn about Mac OS X server, but rumors say an Intel based Mac Mini is coming at MacWorld which is in a few weeks. I don’t know if I believe the rumors, but I don’t want to take the chance. So, I lose out on getting it as a deduction for this year. If the expo was say in October/November, companies could get in purchases before the end of the year and consumers could get their gifts for the holiday season. I understand that products may not be ready that early, but shifting the development to have them ready would make a lot more sense to me.

Japenglish and Korenglish

The Japanese and Koreans make some pretty good products these days. However, it appears that they don’t bother to have native English speeakers review text of alerts and such on their products. For instance, on my new Samsung A900 cell phone, an alert popped up that said “Connection is failed”. On the products I work on, we have native speakers of the languages we localize in localize the text so that it makes sense in those languages. You’d expect that a company like Samsung could do this, but I guess not. I’ve seen Sony does the same thing with their CLIEs and TVs.

Samsung A900

I’ve been using my Samsung A900 cell phone for a few weeks now and am pretty pleased with it with one notable exception. The size is great, screens are great (internal/external), sound quality is acceptable, having a flip phone is great, being able to send contacts from my desktop is great and the phone has a good feel to it. The one huge problem with it is that Bluetooth headsets start beeping at random times. I’ve tried 3 headsets and Samsung has admitted a problem. I’m sure that this will get fixed as I’m not the only one reporting it. I did my part to report it by calling Sprint, going into a Sprint store, and calling Samsung just to make sure that I was complaining to the right people. (I see a lot of people complain about technology things, but tell the wrong people and are real mad when their problems aren’t fixed.)

In a few weeks (I hope), when the Bluetooth issue gets fixed, I’ll be pleased as punch.

Video over Cat5

While working on my audio, I was reading in forums about video over Cat5. This sounded like a great idea to me as my experiments with video over 2.4 GHz wireless were pretty poor. However, there were mixed reviews on some of the forums. So, I decided to wire in Cat5 from our TV/TiVo to our bedroom on the other side of the house because it was easy to do while I was doing the other wiring. I was reluctant to buy the components online as I’d have trouble returning them if I didn’t like the results. I saw that my least favorite store, Fry’s, seemed to have similar components, but was always out of what I wanted. On one trip to Fry’s (I was looking for a punch down block which you can’t really find elsewhere), I found the parts I needed made by Unicom Electric. I hooked everything up when I got home and was amazed that the quality was pretty good given the distance and conversions (I got the S-video modules; my TiVo outputs S-video, but my upstairs TV only has an RCA connection, so I needed another adapter). That was great for audio/video, but what about controlling the TiVo? I had already hooked up the TiVo to the audio system and the audio system will repeat IR signals from all the volume controls. Perfect! The next question was, did I have to point the remote at the wall which was behind me? Well, the Harmony 520 remote I bought has an IR signal so powerful, that I aim it at the TV and it seems to bounce around the room and hit the volume control.I’m extremely pleased with this. At first, my wife always thinks I’m crazy with my gadgets and technology stuff, but when she actually gets to use them, she changes her mind pretty quickly. We can now watch TiVo in our bedroom which is great for when my wife falls asleep before me.