I just love gadgets. That’s why it’s nice to find that I bought a Garmin eTrex a long time ago. Haven’t used it in years, but then when Apple released the latest version of iLife 09 with the map function in iPhoto I realized that it is very cool to have all the images geo tagged. So I found a program called GPSPhotoLinker, a program that downloads GPS data and pictures and by the date/time on the pictures manages to add longitude and latitude information in the picture info. When you import pictures with this information iPhoto can use that to show it on maps and make it searchable. And when you upload pictures to Flickr, it also uses the location information place your picture on a map. Very cool.
I’ve installed MAMP on my Mac to do some changes to my blog. I tried to set the WordPress wp-config.php file to connect to localhost:8889, but got an error that It could not connect to the database. After replacing localhost:8889 to 127.0.0.1:8889 it works. My quick guess is that permissions for the root user is set to allow connections 127.0.0.1, but not localhost. Anyway, it works now.
My wp-config.php file looks like this:
define('DB_NAME', 'wordpress'); /** MySQL database username */ define('DB_USER', 'root'); /** MySQL database password */ define('DB_PASSWORD', 'root'); /** MySQL hostname */ define('DB_HOST', '127.0.0.1:8889');
After using Spotify for a couple of days, I must say that they almost nailed it. And I have never seen as much entusiasm about a new service among people of so different age groups. The Mac client is really nice (and fast!) This is something the music business should have come up with a long time ago. I think I bought about five songs on iTunes total. I like the idea of “owning” my music, or at least own the piece of plastic it comes on. But the chear joy of being able to just search and ad a shitload of music and start listening is exhilarating. But I have a couple of gripes…
Hopefully they will increase the bitrate. There is a market for people that want the highest possible quality and are prepared to pay for it. Here’s a possibility to actually get better quality than CD without having to resort to half-assed attempts like SACD. Yeah, I know you need a lot of bandwidth, but I live in Sweden and have had 100mbit connection for years.
Everytime (well, last night actually) when I need to do something with Applescript I shudder with horror. The syntax is actually something you forget all the time. There must be better alternatives for Apple to use as a scripting language. I agree with this article, but Python or Ruby would be a better alternative I think.
I got fed up with the fan that’s running constantly on my Powerbook 12″ rev b 867mhz after installing the 10.3.8 Update. So here’s how you do it:
- Download Update 10.2.8 and use Pacifist to extract /System/Library/ExtensionsAppleADM103x.kext from MacOSXUpdate10.2.8.pkg to the desktop.
- Do a backup of AppleADM103x.kext from your startup disk at /System/Library/Extensions to your home folder.
- Copy AppleADM103x.kext from your Desktop (the one you extracted from 10.2.8) to /System/Library/Extensions, you’ll need to enter the admin password to do that. Start Disk Utility and do a repair permissions on your start volume. Problem solved. Just for good measure, reset the parameter-RAM by holding down Command-Alt-P-R at startup. My machine now turns on the fans at 148 Fahrenheit instead of 125 Fahrenheit.
For some reason Apple choose to change the temperature when the fan starts on Rev.A Powerbook 12″ after Mac OS X 10.2.8 from 148 Fahrenheit to 125 Fahrenheit. This gives the result that the fan runs almost constantly due to the fact that the powerbook operates normally at 125 Fahrenheit. I did this hack back when Apple changed stuff in the 10.3.2 update, and they haven’t updated AppleADM103x.kext until 10.3.8.
Another thing to note is that I tried to do the Install option from Pacifist instead of the copy to the desktop. That didn’t work. My guess is that it has to do with the kextcache. maybe you just have to do a sudo kextcache -e or similar to get the kext cache to update? Haven’t tried it though.
Just a reminder, I take no responsibility if you do this hack and something goes wrong.