Archive for February 23rd, 2008

Power efficiency enhancements in Vista SP1 0

Most if not all the attention surrounding Windows Vista Service Pack 1 has been around performance, reliability and compatibility, but you probably didn’t know SP1 also makes short strides in terms of Vista’s power efficiency. And by short, I really do mean short because we’re talking about improvements in the magnitude of only a couple percents. That in the context of 5 hours battery life is a mere additional 6 minutes. Having said that, some is better than none.

The first of two improvements is in the display subsystem. As you are probably aware of, the Desktop Window Manager (DWM) in Vista utilities the 3D rendering capabilities of your graphics card to draw the desktop and windows.

Full story here: istartedsomething.com

The official death of Netscape Navigator 0

http://www.williamsport.org/images/netscape.logo.jpgAOL will officially pull the plug on the Netscape Web browser next week, which raises the question: Netscape is still alive? The rise and fall of Netscape is a reminder of just how quickly technology changes – and a warning to approach battles against Microsoft cautiously. Netscape was founded in 1994, and quickly won customers by providing software that made it easy for people to navigate the Internet. Netscape went public a year later and saw its stock price nearly triple on its first day of trading. At one point, the company had an $8 billion market cap and 90% of the Web browser market. But soon it all went south. Microsoft introduced its Internet Explorer browser and began eating into Netscape’s market share. Microsoft later paid AOL, which bought Netscape in 2000, $750 million to settle antitrust charges.
 

View: Netscape 9 Users
Link: Netscape

By the late 1990s, the handwriting was on the wall, and for the last several years the company has been little more than a footnote. Today, Netscape has less than 1% of the browser market. At the end of December, AOL announced it would stop supporting Netscape on February 1, but ended up giving the browser a one-month stay of execution. This week, the diehards who still use Netscape’s browser received a notice telling them it was time to start using either the Firefox or Flock browsers — for some reason Netscape didn’t suggest switching to Explorer – officially marking the end of an era. I remember using Netscape back in the old days when noone cared about IE, but the times of glory are definitely over.

Vista Update Fingers Activation Cracks 0

Microsoft has announced an update available to consumers next week which will detect two cracks commonly used to activate pirated copies of the operating system. One of the cracks refered to as Grace Timer, extended Vista’s activation grace period, upto 2099. The other called as OEM BIOS, modified system files and the PC’s BIOS to mimic the product activation done by computer-makers at the factory. If the sniffer detects an activation hack, it will pop up a warning that includes a link to the removal tool. Although SP1 will block these two cracks, “it’s important to note that this update does not disable the exploits it finds,” says Alex Kochis. “It simply alerts customers that exploits exist.” However, MS will release a separate crack-removal tool at the same time that it rolls out the detection update.

View: Full Story at Computerworld

TUAW Responds: iPhone LoJack 0

imageWay back, one of our readers begged for an iPhone LoJack solution. He wanted his iPhone to “call home” regularly in case of loss or, let’s be more realistic, theft. Over the past week, I finally had a chance to give this request some time, and I put together findme. It’s a command-line program that returns the location of the cell phone tower nearest to your iPhone. When run, it tells you the tower id, plus its latitude and longitude courtesy of Google Maps.

Still, how to get the location report to a place you can get it… but nobody else can… and without receiving a zillion SMSes? For this part of the puzzle, enter Twitter. Twitter dev Britt Selvitelle helped walk me through the setup for a private account that allows your iPhone to phone home but keeps the location data relatively secure.

To do this, create a new Twitter account just for your iPhone (it will need its own unique email address, separate from your main account, so have one handy). Open the Settings panel, and look for the “Protect My Updates” checkbox. It’s towards the bottom of the page, just above the Save button. Check this and click Save. With protected updates, only the Twitter users you approve will see the updates for this iPhone-only account (just you? you + spouse? spouse, kids, and “special friends?” Up to you).

After creating your phone’s Twitter account, you’re ready to set up your iPhone to tweet in on a regular basis. Here’s how.

1. Install findme Add findme to your local binaries folder. Under 1.1.3, I’ve been using /var/root/bin for my utilities. If you use another location, substitute that path for mine. Make sure to chmod 755 findme so that it can be executed.

2. Make sure you have curl It’s a standard part of the BSD distribution, if memory serves. You’ll need it to contact Twitter. Your iPhone will only be able to call in via curl and Twitter if it has Internet access, through EDGE or WiFi.

3. Create a tweet shell script Copy the following text into a new text file, and add it to your binaries folder.

#! /bin/sh curl –basic –user username:password  \  –data status=”`/var/root/bin/findme`” \   http://twitter.com/statuses/update.xml

Use the proper path to findme and substitute your actual username and password. Make the file executable, i.e.

chmod 755 tweet

4. Create a launch daemon In /System/Library/LaunchDaemons, you’ll find a simple daemon that runs once a day, called com.apple.daily.plist. Copy this to com.sadun.tweet.plist, and edit it as follows:

  • Update the Label to com.sadun.tweet.
  • Kill the two lines that relate to “nice”. You don’t want your lojack to be usurped by other processes.
  • Change the program arguments to /var/root/bin/tweet.
  • Change the start interval from 86400, according to your needs. 86400 is once a day (60 seconds * 60 minute * 24 hours). Right now, I have mine running every ten minutes (600) because I needed to check that the LaunchDaemon was functioning properly.

<?xml version=“1.0″ encoding=“UTF-8″?> 

<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” 

“http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=“1.0″>
<dict>
<key>Label</key>
<string>com.sadun.tweet</string>
<key>ProgramArguments</key>
<array>
<string>/var/root/bin/tweet</string>
</array>
<key>StartInterval</key>
<integer>600</integer>
</dict>
</plist>

 

5. Reboot. This allows our iPhone to restart, loading your new launch daemon.

The findme software was written around material orginated by the iPhone dev team and by Hisper of the Google Maps online developer forum, and was helped by Saurik — because the iPhone’s built in host name resolution is horrible. Thanks also to aCujo for his help. The Twitter curl calls are courtesy of Britt’s brilliant assistance. You can drop him a note to say thank you. Thanks also go to Mike Rose, whose idea it was to use Twitter instead of SMS.

Tip: If you find that your tweets are full of “Location Not Found” messages, edit the tweet shell script and duplicate the curl call. This runs the call twice. Usually the “Location Not Found” message goes away the second time.

Another Tip: If you’re traveling across the country, change your start interval to 15 minutes or a half hour and use a public Twitter account. (Remember to reboot after making changes to the Launch Daemon). Your friends will be able to track your progress using the Google Maps URL that’s tinyURL’ed into each tweet.
Enjoy your newfound location awareness!

In place of GPS, a new iPhone app tries Twitter 2

The Unofficial Apple Blog has posted a program for the iPhone which enlists the help of Twitter to alert the user — or someone else — of the global coordinates of a properly-enabled device.

The command-line program obtains the location of the cell tower nearest to the iPhone, in latitude and longitude through Google Maps.

To make this information accessible, the user must give the iPhone its own personal Twitter account. For those unfamiliar, “Twittering” is a moment-by-moment status update similar to the “What are you doing now?” status bar in Facebook.

By automatically connecting to the internet via EDGE or Wi-Fi, and running a Twitter shell script which the user can set to run at varying intervals, the phone’s latitude and longitude are automatically posted on Twitter.

While the program is listed as a “LoJack” solution for the iPhone, which would alert the user of their lost or stolen device, the clandestine nature of the script is conducive to more devious uses. Certainly it is nice to track one’s own property, but there are plenty out there who’d prefer to track others instead.