New iMac… it’s here…

Imackeyboard 3 20070807-1The new iMac has arrived and it sure is beautiful. Like the previous iMac it’s an all-in-one design, but it’s thinner and more powerful. The frame is made out of anodized aluminium covered by a glass cover. It’s available in four configurations; two 20 inch (2.0Ghz and 2.4Ghz) and two 24 inch models (2.4Ghz and 2.8Ghz).

Read More »

Handy Textmate command for PHP developers

This code snippet which can be added to Textmate as a command will convert PHP object variable instances to associative array variables (and vice versa).

For example it will convert :

$thevar->somevar->anothervar

to :

$thevar['somevar']['anothervar'];

This comes in handy while developing in PHP environments where both variable forms are used and if you mistakenly used the wrong form.

Here’s the code :

1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env ruby
 
str = STDIN.read
case str
 when /\$.+(\[["'].+["']\])+?/
   print str.gsub(/\[('|")/, '->').gsub(/("|')\]/, '')
 when /\$.+(->.+)+?/
   parts = str.split("->")
   print parts.shift + "['" + parts.join("']['") + "']"
 else
  print str
end

You can add it to Textmate by choosing the menu item Bundles -> Bundle Editor -> Show Bundle Editor. Click on the screenshot below for more details :

textmate-toggle-class-object.png

Latest QuickTime update: full-screen playback now for free, iTunes fix.

Wednesday, Apple released an update to the QuickTime player and iTunes. One of the nicest thing about this update is the fact that the ability to play videos full-screen is now also available for the free QuickTime version. Besides the full-screen option there were some updates to the H.264 codec and some bugfixes.

The iTunes update addressed an issue with iTunes 7.3 accessing the iTunes library.

Below are the download links to the updates :

Next-generation iPod video touch screen based?

According to an article on Digitimes, the Taiwan-based panel maker Wintek will be the supplier of capacitive touch screen panels for the next-generation iPod video. Sources claim that the new iPod video could be launched as early as August this year, but other sources say it could be October/November or early next year.

This news is rather interesting because speculation about a new iPod having a touch screen interface has been going on for years, but now with the iPhone, having such an interface, this time the possibility is very real. I myself do think the next iPod video will have a touch screen.

Read More »

Safari webbrowser now also for Windows

Safari logoToday, Apple released a public beta of Safari 3, the default MacOS X webbrowser. The final version will be included in the upcoming MacOS X 10.5 “Leopard” which is scheduled for October, but for the first time it will also be released for Windows XP and Vista.

Although I really like the fact that it’s released for the Windows platform, I wonder if Safari will manage to gain popularity under Windows users.

Read More »

Get Latitude and Longitude values from Google Maps

If you’re interested in getting the latitude and longitude values for the location from Google Maps, check out the following handy tip from tech-recipes :

http://www.tech-recipes.com/rx/2403/google_maps_get_latitude_longitude_values

One particular use for this is when you are working with the Google Maps API.

Wired article: Apple to Show Off Leopard’s Claws at WWDC

On June 11th, at the Apple’s annual Worldwide Developer’s Conference, Steve Jobs will give use some more information on the new features which will (probably) make it into MacOS X 10.5, more commonly known as “Leopard”.

If you are interested in what features will probably be included in this highly anticipated successor to “Tiger”, check out this Wired article.

Book review at Slashdot: Pro Drupal Development

Book cover - Pro Drupal Development (Apress, 2007)At Slashdot, Michael J. Ross wrote a book review of the recent Apress title Pro Drupal Development. This book written by John K. VanDyk and Matt Westgate is really recommended if you are into Drupal module development.

As an avid Drupal fan, I already bought the book the week it was released and found it very helpful, not to mention enjoyable. The authors managed to put all the information you need to know into just over 400 pages. Most information is module development related, but they do cover the theming system enough to get you started.

Link to the review :

http://books.slashdot.org/article.pl?sid=07/06/06/1352210

Making Wii-friendly pages

One thing I like about my Nintendo Wii is the fact that I can surf the web through it’s Internet Channel. Being a game console hooked up to a TV, one problem is that most web pages are harder to read and navigate through than on a PC. Luckily the Opera powered webbrowser does have some options like the ability to zoom into a page, but it’s still far from perfect.

Fortunately there are quite a few Wii-optimized websites. For instance there’s Viewii which is a front end for Youtube videos (Flickr pictures coming soon) and Finetune, a radio station. Even Google made Google Reader Wii-friendly.

If you are interested in making your website Wii-friendly too, check out the Making Wii-friendly pages artice at Dev.Opera. It describes what web standards the Opera browser on the Wii supports, how it displays a website and lot’s of tips and considerations on creating Wii-compatible webpages.

DivX Pro free (for a limited time)

For a limited time you can get DivX Pro bundle for free on the DivX website (both Windows and Mac versions available).

All you have to do is enter your email address and you’ll be able to download the installer. The serial number is sent to the email address you entered.

To get your free copy of DivX Pro go to :

http://www.divx.com/dff/index.php

I don’t know when this giveaway ends or why they have this offer but you can’t go any cheaper than free :)

Copyright © 2007 Sadglobe. All rights reserved.