Showing posts with label Software. Show all posts
Showing posts with label Software. Show all posts

Monday, January 12, 2009

Any image to icon - img2icns


Many time you feel like jazzing up your desktop. How? Change the desktop image, change the size of the dock, and change the various MacOS X icons. There are some great sites with collections, forums where users share icons, and many other other resources that can help you on that. However, many times you cannot find what you are looking for. A google image search will find the image you are looking for. A simple way to make it an icon is to save the image, open it in Preview, sellect the image (⌘-A), and copy/paste it on the folder or object you want. In Leopard, however this does not behave properly. Although the image is there you cannot select the item bu clicking the image.

Looking around for a work-around I found what is probably the most precious Mac OS X application. It is called img2icns and it is almost free! Almost meaning has a nice free version and a $12.90 Pro version. mg2icns is an application to create icons from images or images from icons, keeping them organized for future use. Creating an icon is as simple as dropping one or more images into Img2icns and choosing an export format. Creating icons on Mac OS X was never so easy or so much fun, so start customizing your desktop just now!


As you can see it is very simple and intuitive software. You drag and drop the image you want on the dashed are in the main window. The you can select to save it as Folder (available in the free version), icns format (available in the free version), iPhone (available in the pro version) and Favicon (available in the pro version). Folder is the most used. Once you do it, you are prompt were to save it. Then simple you past in on the Application/Folder/Hard Drive. The pro version allows you to view the icons you have already saved converted and you can recreat them with a snap.

I love this little application. They are right those who say, precious things come in little packages.


Monday, January 5, 2009

Terminal Commands: Mods under the hood!

Linux/Unix before they get the nice GUI with the windows, the cursor and al the Jazz, it was all command line. A command line that was and is, super powerful. It is still under the MacOS X, but kinda hidden all the way in the Utilities Folder in the Applications folder. The terminal can be used to do different "undoable tasks" like opening and viewing Hidden folder. The most basic command in this is "cd" derived from the acronym change directory. So once you open your terminal you will be greeted by a line such:

[computer name]:~[user name]$

That is the prompt and that 's where you input your commands. If you type now "ls" derived from the word list, you will get a list of the objects in that directory. But if you type "ls -a" you will get all the files (a stands for all) and that will show you even the hidden files usually starting with ".". The command "pwd" will give you the Present Working Directory.

But those simple navigation tools are not what I love about terminal. I like the ability to do changes to Applications, beyond the simple Preferences pane. My favorite blog, TUAW, has a section on terminal tips, and from there I picked those that I love the most.

Enabling half star rating in iTunes: This is something that iTunes is doing anyway base on the number you heard a song, but you cannot do! Just open the terminal and type:
defaults write com.apple.iTunes allow-half-stars -bool TRUE
Replasing TRUE with FALSE will revert the changes.

Change Time Machine intervals: This one is in particularly useful. You can change the time itenrval from 1 sec all the way to one week. Just type
sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int [time in secs]
The time input is given in secs so the default one hour is 3600, one day is 24x3600=86,400. I don 't know why Apple does not give this option but it is for sure something needed. But we just gave you the solution!

Add a shortcut of the recent apps on the dock. This one is useful if you hate (and I am sure you do) togo from the apple menu and select recent items. There are about 1o apps I mainly use so there are almost always there! Just type:
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
And that will anable it. If you are tired of it, just drag it out of the dick. Simple as this.

For more terminal tips check out the TUAW section on it.

Happy New Year And Happy Last Apple MacWorld


Happy new year all my loyal readers. Well not loyal or readers, but for sure a truthful wish for happy new year. As every beginning of every year the start always comes with the big announcements from apple. Really bog. iMacs, iBooks, iPhones... OSX all the big bold announcements have came through Macworld Apple Keynote. And then in 2009 Apple announce that 2009 will be its last keynote. And there are a few good reasons for that.

For once, apple is grown up now, and it can hold events of that magnitude on its own. iTunes music store, iMacs, iPods, all products announced in a separate event. In addition apple is too much grown up. I remember in 2002 I went to a conference and I was the only apple user in every room. Last year, I was in San Francisco to the same Moscone West center as the apple Macworld, and there was a mac every 3 laptop. So a company of this magnitude will just overshadow all the small developers and companies that are there.

Secondly, Steve Jobs, for health reasons or not, is planning to retire from Apple. It is the company, of his life, but he cannot stay there for ever. And he has to pull back and give a chance to the new people in apple to take the lead, while he is still around to guide. Since MacWorld has been strongly linked to Steve, something like this, will be damaging to the company reputation. So I think Apple will do fine without him, and as per report by CNN, his spirit has been institutionalized. However the apple community has been buzzed about his absence and the rumors have been literally out of control. Even that his is dying. This led Steve Jobs to publish a letter yesterday, to urge that he is fine and his mystery weight loss was, just hormone imbalance. He preferred to spend the holidays with his family, rather than intensely prepare for the Keynote presentation. Phil Schiller will have the honors and I am not expecting anything less that what Steve was delivering. Big bold products...

iMacs: I don 't expect anything radically different regarding the appearance, but I do expect the quad core and the new Nvidia chip. I think that th 28 inch is far fetched.

MacBooks/MacBook Pros: I do antiscipate the withdraw of the plastic models and the introduction of the 17 unibody MacBook Pro. It was delayed due to the construction a whole different facilities to handle the new process. In addition some recent rumors, from Apple Insider state that the battery will be extra long, but not detachable which will be a bummer never the less.

iPhone nano: We 've all seen the cases form the Chinese manufacturers that have been running wild on the web. And although the cases were out none has seen the phone. The big star of this Macworld.

iLife 09: A sure update, since it is almost custom to have a release every year. 08 update was a bit late, it is time to catch up. The online version might come as a compliment to MobileMe users, since an on line version will be less likely to have all the features, already embedded in the actual version.

Mac mini: It is going to be redisigned with aluminum and black plastic to match the rest of the iMac/MacBook line. It will have the optional addiotion of second Hard drive, DVD burner or BluRay (I wish). The design alterative can be inspired from the time machine having the small shallow notch going around the computer, hiding the slot for the slot loading DVD. The most noticapble difference will be the new graphics card, that I would guess it will be the new Nvidia chip or a dual display support (less likely).

Apple TV: I am expecting it to be more functional and be used for media storage, home movies, pictures are stored there and is used as hub to sync all the macs.

Multi Touch Mighty Mouse: This is my secret hope and it is based on a apple patent that was discovered about 2 years ago. The patent descibes the wireless mighty mouste like the one we all know, but instead of the rolling ball it has a touch surface. Although I love mighty mouse, the toughest part is the ball that needs to be cleaned and it is not as trivial. I secretely wish they will anounce that.
The depiction of the mighty mouse by MacBlogz.

Well it is know 1 day before the keynote. We will see how far out I was. There are great sites to watch the live blog of the event:
Be here tomorrow afternoon to hear the most acurate analysis.

Tuesday, December 23, 2008

Music on your mac: Beyond iTunes

iTunes is one of the oldest Apple applications, and it is been around before even the MacOSX. It a media player and although it started as a purely music management tool it is now handling movies, podcast, radio streams and iPod/iPhone apps. However, in an average library still, the largest portion is the music. The average libraries can range from a few GB to TB, meaning from 1000 songs all the way up to 100,000 songs. And if we assume that you have the maximum number of songs still you might get bored. You heard all those songs again and again and again... What is afterwards... Well radio stations are one option, but not the best. Even if you find a station that plays Jazz or Rock only from Jazz artist to Jazz artist it might be a huge difference. So what do you do in that case?

Well the best solutions that have come up is Last.fm and Pandora. Both are great tools to find new artists and expand your music horizons. So how do they work what is the difference? I puzzled myself for a while and finally I found the answer. A very comprehensive article by Steve Krause, a well know analyst in the field of technology and gadgets world. I recommend reading the whole article to fully understand the concepts of the two different world.

Last.fm: It is probably the first tool of its kind. It is a collaborative based system for music recomendations. How it works? You are searching the artist you like, and it will start a station playing a random song of that artist. You can mark as Love or Ban that artist and the song. The filters will compare you sellection with the sellection of other users, and will find new suggestions for you. The more you listen, the more sellections.
Pandora: It is a complete different concept. It characterize the songs in 200 different parameters (music genes) ranging from the general genre all the way to beat rythm and melody. By letting you sellect an artist it will start filling the segments of your music genome as they call it. Based on that genome new music will be coming your way every time you are logging on.

Pros and cons:
  • Music recomendation: Pandora although smart, if you love more than one genre of music it can easily balck out and run out of suggestions. Last.fm on the other side since it is based on simlar taste base, it will never run out of options although it might take wrong route.
  • New artists: Since the Last.fm filters are socially based, before a new artists is surfaced, it will take time since it has to make it to the favorites of other users before it is piped to you. Pandora, on the otherside is independed of that so even the next minute after a new artists is added into the database, will come up as a suggestion.
  • Interface: Pandora is purely web based interface, and recently it introduced the Pandora Desktop, which utilizes the Adobe Air. It is still however a snapshot of the web interface. Last.fm gives out a stand-alone program that is different from the on line interface. The Last.fm application is scrobbing (the word is used from last.fm to denote the tracks you listened to) all the songs you heard on your iPod.
Overall both programs have their pros and cons. I would say that the ease of use, Last.fm is much better than the one from Pandora. However, the music recomendation is more acurate from Pandora, since it is based on analyzign your taste. Given the fact that is a much newer application it has room to improve.

The botom line is that Last.fm and Pandora are great alternatives to iTunes, and are extremely helpful to discover new artists.

Saturday, December 20, 2008

File systems and Disk formating.

For all the new mac (and PC users) essential accessories are the external hard drives for back ups and extra storage. One of the most critical questions is how to format the hard drive. In the Utilities folders of your Applications there is a small tool that is called Disk Utility and it is probably the most essential tool you have. It is the tool that will format, clone, make disk images and many other great stuff. The one thing we will focus here is the formatting of hard drives. Once open the utility you will see a screen that shows on the left side the list of the Hard Drives, and the various options namely: First Aid, Erase, RAID, Restore. Select the Erase and you will have the following screen.
And as you can see there there are various options on the format type and the name of course. The two main options are the HFS (Mac OS extended) and FAT32. There two drastically different formats developed by Apple and Microsoft respectively and they are different approaches in handling the different bits of the hard drive. There are 4 different variations of the the Mac OS Extended (case sensitive, journaled and combinations thereof)
File Allocation Table or FAT is a computer file systems architecture originally purchased by and then developed by Bill Gates and Marc McDonald during 1976/1977. It was used through the whole history of Microsoft (MS DOS, Windows) until the Windows Me. The structure of the FAT system is the division of the hardware space to sectors that contain specific number of bits and a number of bits to describe those sectors (12, 16 and 32). The system will allocate a sector or sectors of the drive to each file. Now if since the Hard Drives are using the Binary system 0 and 1 the number of bits that can be allocated to one file is 232=42944967296Bytes=4GB. So there you have the number one issue with FAT32; the maximum file size cannot exceed the 4GB. However, the format is acceptable by any type of operating system MacOS, Windows, Linux/Unix etc. Also one of the major benefits is the least data loss in case of hard drive failure. Since the the damage can affect the a sector or a neighboring group of sectors damages only the file that is occupying them. One of the disadvantages is the fragmentation that occurs to the drive over the repeatedly erasing and writing. This can increase the seek time and can slow down the process. Although there are de-fragmentation tools are not as effective.
Pros: Minimum data lose.
Cons: Maximum file size 4 GB, fragmentation.

Hierarchical File System or HFS was introduced by Apple in September 1985 specifically to support Apple's first hard disk drive for the Macintosh, replacing the Macintosh File System (MFS), the original file system which had been introduced over a year and a half earlier with the first Macintosh computer. According to the HFS the Hard Drive into logical blocks of 512 bytes. Those blocks can be then be allocated (allocation blocks) to various files. The HSF uses 16 bit system to allocate those blocks in binary system so the number of different allocation blocks are 216=65,536. Therefore the limit of 65,535 allocation blocks resulted in files having a "minimum" size equivalent 1/65,535th the size of the disk. So for a 1 GB disk, the allocation block size under HFS is 16 KB, so even a 1 byte file would take up 16 KB of disk space. However, being younger than FAT has a smarter way of handling the folders. It consists of 5 hierarchic blocks:
  • Logical Block 0 and 1 that contain the information for the system start-up
  • Block 2 contains the Master Directory Block (aka MDB). This defines a wide variety of data about the volume itself, for example date & time stamps for when the volume was created, the location of the other volume structures such as the Volume Bitmap or the size of logical structures such as allocation blocks.
  • Logical block 3 is the starting block of the Volume Bitmap, which keeps track of which allocation blocks are in use and which are free.
  • The Extent Overflow File is a B*-tree that contains extra extents that record which allocation blocks are allocated to which files, once the initial three extents in the Catalog File are used up.
  • The Catalog File is another B*-tree that contains records for all the files and directories stored in the volume.
This architecture results in a more effective seeking and faster response and eliminates the need of de-fragmentation. However since one block handles all the files it prevents multitasking and further if the section of the hard drive that contains that information is damaged the hard drive is having a complete failure. To address this issue Apple introduced the HFS Plus that fixed the multitasking but the catastrophic failure remains an issue. In the MacOSX generation system these formats are known as the Mac OS and Mac OS Extended. Although they addressed all the mentioned issues, this file management system is not compatible with any other operating systems.
In November 2002 Apple introduced the Journaling which allows the system to log the changes before they are executed. So although typically deleting a file involves to processes deleting the file entry and then marking the space it is occupying as free, a power failure in any of the steps will results in abnormalities. For example, if the power failure occurs during the first and second step, the file will be erased without being deleted. Journaling will first log those changes and then execute them marking them while it is done. That will ensure that both steps are executed properly and in the right order. With 10.3 it was introduced the case sensitivity that discriminates Names for names or NaMeS.

Pros: No file size limit, 255 characters to name the file and folders, case sensitive, journaling.
Cons: Minimum file 16kB, maximum file limit, lack of cros-platform compatibility, danger of catastrophic data loss.

So when you buy a new drive, think before you start using it. If you plan to store videos that is more than 4 GB (only videos can be single files larger than 4 Gb) then go for Mac OS Extended, Case Sensitive, if you are planning cross platform definitely use FAT32. Especially for the USB drives, since the added bonus that are RAM types of drives, has almost no seek time, regardless of fragmantation. Just keep in mind that the K=1024, M=1024x1024=1,048,576 and G=1,073,741,824 bites. So your 1 TB drive is 1,000,000,000,000 bits is actually 931 GB and not 1000 GB.

Tuesday, December 16, 2008

Quick Search Safari History

One of the issues I had with Safari is the inability to quickly search the history with or without spotlight tool. A Trick that was published a while ago at MacOSXhints.com describes the most standard method. From the History menu item select the show all history as shown below.

Thsi will reveal all the history and at the top right corner there will be an input for a search field. Alternative to that, is my tip that although it is not searching the whole history it is helpful since it is using the power of spotlight. All Help menu in 10.5.x have a spotlight feature, that searches the menu items. Recent history in Safari, is stored under the History menu and therefore it becomes spotlight searchable as is evident my the picture below.
This way you have your history always handy and you can find what you saw a few days ago.

iTunes Tagging Vs. Sorting

One of the features I love in iTunes is the ability to sort a song with a different title or artist than the one it is actual named with. so let ’s say that we have the song “I walk the line” as it was preformed by Bob Dylan. So it is part of the “Dylan-Cash sessions” and the album artist is Bob Dylan. However since in that song both Dylan and Cash are singing the artist song is Bob Dylan and Johnny Cash. The info panel wi look something like this:


The known iTunes Tag (info) panel.

However I want the song in the iPod to be indexed as if it was from Bob Dylan so I can find it under the selection Bob Dylan. So you can go to less famous panel called sorting. There you can change the title or artist (album etc) different that the original so it will be easier accessible.

The less known iTunes Sorting panel.

So now after this changes we can easily find this song under Bob Dylan, and not under Bob Dylan and Johnny Cash. It is extremely important especially when you are forgetting the duets, or if you are bilingual, and you are editing the tags in your native alphabet but you want to find it with the latin alphabet. This is useful for searching a song on iPod and iPhone that do not support other inputs. See the following picture for example.

The Sorting panel used for international sorting and tagging.

Now the best part is that you can find this song by either typing “Σπανουδάκης” or “Spanoudakis”.

Monday, December 15, 2008

Hello World... or who I am...


Hi all. My name is George or as most friends call me Webby, which overtime became DJwebby and since this name was taken in many on line services (gmail, blogger, AIM etc) I added the 2002 (the year I actauly veery actively engaged in the blogging community) and the GR to denote Greece the place on earth I call home. So the total is DJWebby2002GR. Which is pretty cool I think. I am an apple fun and I have been working with macs my whole live. For nearly 23 years. Overtime I not only learned a lot of tricks and hints in apple computer, but I also learnt to think apple. I developed a shell on my brain that is intuitively and processing in apple mode. I don ‘t think human and convert to apple. I think apple.
I was debating the creation of a blog for really long time, but my current mobile blog on cooking, music and other philosophical issues does not allow me to implement this extra blog there. Too crowded you see. But I needed to. I felt that I need to share my poor but strong knowledge on apple computers with the rest of you.
Before I start my posts on apple products, I would give you a small history on my Macs and my Apples. So:
1985 - My dad buys for his work his first computer. A Macintosh that after an upgrade runs with an external hard drive and 4 MB or RAM (I know it was insane).
1992 - He buys a second hand Macintosh LC25 (or II) and the macintosh becomes mine, but I stuck with the pretty colors of the LC display.
1995 - Upon passing to college in physics major my dad buys me the Performa 5300 which has awesome. I was kissing it good buy every night for one year.
2000 - I worked in the radio station for 5 years and I collected enough money to buy a car. That time the G4 tower comes out, and I forget all about the car… I own an G4 Tower witha DVD and 128 MB RAM
2001 - I move to USA as a student and my awesome computer stays behind, for my dad and my sister. I buy an iBook G3 with 256 MB of Ram and an amazing 16 MB video card.
2003 - My dad needs a new laptop. I buy an iBook G4 and he gets my older laptop. I also bought my first iPod refurbished for $350. A 30 GB hard drive, and the simple LCD.
2006 - I buy my iMac. I had a PhD and I should look professional. It is the Intel Core Duo 2 t 2.0 GHz with 1 GB of RAM (upgraded to 2GB later), 51q2 video Memory and has the build in iSight. Towards the end of the year I buy a MacBook Pro 2.33 GHz and 256 MB Ram. I also bought a new 80 GB iPod that plays video.
2007 - I gave away my iBook G4 (I regret it now because I never had guessed its sentimental value, but back then it was for a good cause).
2008 - I bought an iPhone.
So you can see that my apple history is rich and valuable. My first operating system was 1.2 where now we are through the 10 the generation. I would discuss the name of apple operating system in different post, but my point is that over the years I went through 8 different versions of MacOS. So stay tuned for my tips, thoughts and tricks for apple, the second most famous apple in the world. Second, only after to the legendary apple that hit Newton on his head, enough to make him to discover the law of gravity. And a fun fact: The first apple logo was picturing Newton under an apple tree? Random? I don ‘t think so.