Archive for the ‘Computers and Technology’ Category

Punakea and Stuf - Mac Apps that Belong Together

Thursday, January 22nd, 2009

I’m a Mac fanatic. You already know that, though. I’m definitely a power user but not all of the time. What I love is when an application comes along that equally serves a niche and is more than suitable for use by casual users. Today I’m going to talk about 

two Mac apps that I’ve recently discovered that truly work together to make a great team: Punakea and Stuf (with one F).

If you own a Mac then you’re using the Finder. But doesn’t it start to become a pain when you start to accumulate documents like resumes, homework, graphics, PDFs, and countless others? No? Well is it not a pain to have to constantly reorganize your Finder in folders and subfolders in order to tame the unruly mess that inevitable becomes your digital life?

It does. This is where Punakea comes in. Apple designed the gr

eatest OS on the planet but it isn’t perfect. Once you have your cavern of nested folders its hard to find what you want to open quickly. The Finder’s search is great and so is Spotlight but what Apple left out was the ability to easily tag documents.

Punakea browser window

Punakea browser window

 

 

Punakea is a tiny little app that sits in your dock and menu bar waiting for files to be added. It 

also features a window that slides out when you move your mouse to the edge of the screen for easy adding of files. Either drop your files into the open Punakea window or drag it to the side of the screen to add files to your library. A window pops up, you add your tags, press OK and you’re back to work. You can either let Punakea manage the location of all your files or you can simply use it to just add tags and leave the files where they are. 

 

Personally I think its useless to have tags if you’re just going to use whatever folder organization scheme you already have. One great feature of Punakea is its Drop Box. Once enabled you can specify a folder  that acts as a holding center for files. The files you put in the Drop Box are automatically tagged with the tags you specify in Punakea’s preferences. I use the tag “untagged” and when I’m ready to tag them I search Punakea for “untagged”. Once you tag your Drop Box files they are automatically moved by Punakea (unless you disable automatic file management). You can either search for your files by their tags from within Punakea or Spotlight/the Finder’s search. Punakea is free and I believe it still will be after it is out of beta. Every now and then a bug pops up but this app works great 99% of the time and I am very confident that the 1.0 release will blow you away. Check it out at the Nudge:Nudge website.

stuficon

Another app that I use in conjunction with Punakea is Stuf. Stuf is made by the Escapers. Right now they have a really awesome web editor, Flux, that I’m testing out. I may just use instead of Coda or Espresso. I’ll review Flux next week. Stuf is a clipboard manager. Whenever I’m usi

ng the computer I end up copying and pasting a lot of stuff. Its always different kinds of stuff too. And inevitably I end up having to use it over and over. Sometimes I end up copying something else and lose the first thing I wanted to copy and past. At that point I need to go back online or in whatever program to find it and do it all over again. Stuf saves you from that. Stuf allows you to copy as much to the clipboard as your computer can handle. It even lets you organize that stuff into categories. Never again will you copy and past something into an email and then have to find it all over again to do the same in a chat room or while instant messaging. Stuf is a godsend for programmers like me who end up using code, graphics, text, links, etc. over and over again. Your web editor may have a clipboard that does this but I promise you that it pales in comparison to Stuf. Once you try it you’ll want to buy it and never give it up. Stuf costs 12 British Pounds pretty much equal to around $20. You can demo it by visiting the Escapers website. I highly recommend it.

 

Stuf - Screenshot

Stuf - Screenshot

How to Speed Up and Aging Mac

Friday, January 9th, 2009

Today is “How-To” Friday (still keeping myself on schedule after four days)! I know I just posted about computer stuff yesterday but I don’t know how to do much else and I already posted a songwriting tutorial on Wednesday. This tutorial was inspired by a program that destroyed my Mac a couple days ago.

If you’re like me then every so often you feel like you want to start fresh. After owning my iMac G5 for 4 years I felt like I wanted to start over but not have to buy a new computer. Well, a little program called Monolingual helped me do that in an unexpected way. Monolingual erases language and CPU architecture support that you don’t want from all the programs on your system which can save you several gigabytes worth of memory. But if you aren’t careful you can end up with a computer full of programs that no longer work. This happened to me and in the process of restoring my computer to glory I discovered how to get a fresh start without the hassle of starting from scratch.

Over time your Mac will probably gather files and folders that become useless and just take up space. OS X isn’t nearly as bad as Windows in this department and usually your system doesn’t suffer too badly but if you have an older Mac then you might notice a subtle sluggishness of your system.

This is because the Mac’s uninstall procedure (while so much better than Windows’) isn’t as clean as you may think. On Windows every program plants part of itself in as many different folders as it can (or at least it seems that way) and when you uninstall a program there are a lot of files left behind. The Mac isn’t too bad with this but it does do it. You think that all you have to do is drag your app to the trash can and its gone. Wrong. While Mac apps don’t put pieces of themselves in a thousand different folders like Will Smith in “Seven Pounds” giving away organs to a bunch of different people (oops, did I spoil the ending? and was that a lame methaphor?) they do add files to a few key directories. Usually in the Application Support folder and and the Preferences folder. If you look in your Library folder you might see folders having to do with apps you deleted long ago. Your System/Library folder will have some too.

There is also the matter of system preferences. You may have used a program like Onyx or Spring Cleaning or Secrets to play around with system settings you normally don’t get to unlock. You might now regret your decision to do this because you can’t figure out how to change them back.

And finally, your computer might just be running slower than usual. Well, I think you’ve had enough of my technical explanations and now you just want to get to it. Here we go…

What you need…

 

  • You need to get an uninstaller program. The one I like most is called AppZapper. It isn’t free but its cheap and it works great. If you want to go the free route there’s AppCleaner (which is my recommendation for a free app), AppTrap, and AppDelete
  • The serial numbers to all your installed programs if any (if you don’t have some or all of them don’t worry, just read on)
  • DVDs or CDs to burn or an external HD or some sort of large capacity or many large capacity USB drives
  • A copy of your current version of OS X (don’t worry if you upgraded from 10.5.1 to 10.5.6, this doesn’t matter in the end) If you didn’t buy the OS separately then a copy of your operating system came with your computer. Find the discs that came with your Mac, thats what your OS is stored on.
  • At this point I recommend making a list of all the programs in your Applications folder in case you lose that folder in the process (which is most likely NOT going to happen) and so that you can follow the rest of these steps
  • You will want a program that frees up hard drive space. I highly recommend Xslimmer for the job. Monolingual is a free alternative but you can end up doing more damage than good if you don’t know exactly how the program does what it does.

The Process…
 

 

  1. Do you have the best programs for the job?

Look over your list of applications. Do they truly work for you or are you just used to them? Go over the list and Google some alternatives for those applications. You may find a lightweight program like Rapidweaver that suits you better than Dreamweaver. Or you may be very attached to your programs and you don’t want to try anything new. That’s fine. Once you’ve acquired your replacement programs either leave them on the disc they came or you downloaded them, back up the installers to disc and in a folder on your desktop or wherever named “To Install”. Leave them alone for now. Do not install them. 

 

  • 2. Backup, Archive, Whatever you want to call it

If you follow the instructions in this tutorial you won’t need a backup but mileage always varies and there is going to be a small (miniscule, really) number of people who will track me down and kill me because something went awry. If you’re going to backup your files (which is always recommended no matter what you do) include all your music, photos, iPhoto libraries, documents… you know what you want to keep.
 

 

  • 3. Uninstall The Space Wasters

Using a program like AppZapper go ahead and uninstall all the programs that you don’t want anymore. Think very hard about what you want and don’t want. Do you really use some of those programs? If not then get rid of them. You should also get rid of programs that you downloaded replacements for in step 1.

  • 4. Re-Install OS X

Insert the Leopard disc (or whatever disc you have, I only know how this works out for Leopard for sure but it can’t be much different for 10.3 through 10.5). When the window opens click the OS X icon to install the OS.
 

Your computer will restart and you will see the installer. Its pretty straightforward  from there. Once you get to the point where you pick which hard drive to install it on you may think you have a problem. The installer won’t let you install the OS because even though you have the same version you added updates through software update and your system is technically newer than the OS you are trying to install. Click on options and then select “Archive and Install”. This will save your preferences and everything within your home folder in a directory called “Previous Systems”. OS X will automatically transfer 90% of what’s in your current Home folder and use it in the new system. When the installer is finished you will log in and see your desktop and everything else just the way you left it. It seems as though nothing happened but it has. Look through the Previous Systems folder located on Macinstosh HD just below the regular System folder. Make sure there isn’t anything you may need from there. Open any apps you believe may have been affected by the reinstall and make sure they work. They most likely will. If after you check things out and the water is fine delete the Previous Systems folder. This is going to free up a lot of hard drive space.

 

  • 5. Install Your New Apps

Remember that folder you made with all those new apps in them? Open up your To Install folder and install your new toys. Go ahead and open everything up and play with your preferences. Get them just right.
 

 

  • 6. Update

Now your Mac should be cleaner, lighter and faster on its feet. But some things like iTunes may not work. This is because you need to update all the default programs installed by Apple. Before going on go to Software Update from the Apple Menu. Once updates are installed and you restart your computer check for updates again. Keep on checking for updates and restarting until Software Update says that your system is up to date. It should take no more than 2 or 3 checks before your system is up to date.
 

 

  • 7. Put Your Hard Drive on a Diet

If you got Xslimmer then you have made a great choice. If you got Monolingual I suggest you be careful.
 

For Xslimmer:
- Use the Genie to find all the programs that can be slimmed down. I suggest you don’t change the protections for protected programs. Once the program has scanned your drive open up the preferences for it and make sure that the backup option is selected. Then choose a folder to store your program backups in. Press the Slim button and watch Xslimmer backup then cut out all unnecessary files from your system. You will most likely save a number of gigabytes on your drive. When it finishes make sure all the programs it worked on still launch. If everything is fine then you can delete everything in the backup folder you selected.

For Monolingual:
- Be warned: If you use this program improperly you can end up having to reinstall OS X all over again.
- You will need to back up every last program on your hard drive manually if you choose to do a backup. Follow the directions and make sure to set the program so that it keeps the languages you want to use. I advise against playing with the Architecture tab. If you do it anyway then whatever happens is on you. But if something does happen remember I warned you. Monolingual deletes one thing at a time. So it will delete the language support first, then you have to go to the next pane and choose your settings and it will delete whatever is next. Architecture files don’t hog much space at all. But if you’re desperate then go ahead.

There you go. Your system should have some more pep now.

Hard Drive on a Diet: Monoligual versus Xslimmer

Friday, January 9th, 2009

I love new programs. I go online and search for small independent Mac software companies all the time. I guarantee you that for every big name Mac app there is a better on provided by an indie or startup software company. Some examples:

Big Name - Indie App

iPhoto - Little Snapper
Garageband - Audacity (in this case I prefer Garageband)
Dreamweaver - Rapidweaver (Rapidweaver made by the same people as little snapper)
Yojimbo - Together or Notae or many many others

Today, since its Nerd Thursday (yes, I actually am sticking to the structure I talked about a few days ago), I am going to give you the facts on two Mac apps that I thought were awesome at one point or another.

I’m going have Xslimmer face off against Monoligual. Actually, it won’t be a faceoff. I’m just going to tell you why Xslimmer kicks Monolingual’s ass.

Both Monolingual and Xslimmer are made to do the same thing; save hard drive space. And they do it the same way; by erasing language and CPU architecture support that you don’t need from select programs on your hard drive. Monolingual strips all programs of these files while Xslimmer is a little more cultured and reserved in this area.

I review software the same way I review women. I take looks into account first. I know that an ugly app can have some serious power under the hood but the average end user won’t fully benefit from all that power if the user interface sucks. Developers write programs for users most of the time, not other developers. So if you’re going to write a program its user interface better be pretty. It has to be simple, beautiful, and easy to navigate. Xslimmer is all three of these things. Monolingual is simple and easy.

Its important for any program to spell out exactly how to use and what to use the program for - especially maintenance programs. Monolingual was obviously written for other developers because it hides the really important information within the read me file. Average users don’t read. They look at the pictures on buttons. They’re like ancient man, communicating through pictographs. Xslimmer has a great FAQ online if you need it but the directions and explanations within the program itself are more than sufficient. As an added bonus they let you know what functions can potentially screw up your system.

Monolingual sucks. I’ll let you in on a personal story. I’ve been using Monolingual for a few months now. I even recommended it to my sister who used it to free up over 2GB of space on Christmas day. I loved the program. Whenever I accumulated some new programs I ran it and it ended up saving me space. Great, right? No. Monolingual has a dirty little secret. It doesn’t tell you that deleting language and CPU architecture support from certain files can damage your system even if the files it deletes are “unneeded”. Before Tuesday I had only been deleting the language files. But late Tuesday night I decided to go ahead and delete the architecture files I didn’t need. Right after that 95% of my programs ceased operations. They wouldn’t open at all. And OSX (being as awesome as it is) put a little circle with a slash over all the programs it messed up. It looked like there were a bunch of No Smoking signs over all my applications’ icons. I ended up having to Reinstall Leopard using the “Archive and Install” option just to get the default OS X programs working. Then I had to go through all the updated from the time Leopard came out until now. Then I had to uninstall all the programs that didn’t come standard with my Mac or OS X and re-download and install them. Major hassle. I’m in the process of doing that right now.

Fortunately I had a copy of Xslimmer on my drive that didn’t get damaged. I don’t know why I never used it. Its an old copy now (1.5.3 I think). I wish I could have an upgrade… But I digress. Xslimmer is smart. It tells you what not to do, why not to do it, and then tells you how and why you’re system could be screwed up if you don’t follow its advice. Xslimmer is safer than Monolingual. By default it won’t allow you to do any harm to your system. Its like it took the Hyppocratic oath (you know, the one doctors take than says they will first do no harm). It has a list of programs that it know will be messed up if you screw with them and updates that list every day if you want it to.

It doesn’t save you quite as much space as Monolingual but it also doesn’t leave you with an Applications and Utilities folder full of useless programs either. And it comes very close in terms of space saved. In fact if you never used a program with its function then I guarantee at least 2GB of space will be saved. 

Sure, Xslimmer isn’t free like Monolingual is but would you rather have to go through what I had to go through or pay a few bucks and keep your system working? I’m guessing you like your system.

The final word on Monolingual: Its not a bad app. I had a bad experience. Be careful with it. If you aren’t a computer whiz then don’t mess with it. And I mean a real whiz, as in a developer of some kind, not some rinky-dink HTML programmer who thinks he’s a programmer now. Monolingual can do some serious damage if you don’t know how it works or how to work it. If you are one of those people who could use it (like I thought I was for so long) then have fun with it! It really does save a ton of space. But Xslimmer does the same thing. If you’re a whiz you can still have total control with Xslimmer, you just need to adjust the default settings to remove all the protections they added so people like me don’t turn their iMacs into expensive picture frames.

Next Nerd Thursday…
I’ll be writing about how I made the switch from MS Office for Mac 2004 to Apple’s iWork. (Guess which I like better)

Also…
I’ll have a review of the new fresh-out-of-beta task management program ‘Things’ v1.0

Error-free code - The greatest gift of all

Thursday, December 25th, 2008

I know I’ve been posting pretty much every hour the past few days but I am genuinely excited to finally have working code that I wrote 100% by myself. Forget frameworks and fancy object oriented programming. I’m doing it the procedural way. And even though it involves a little more code and even though its a little messier, I know exactly how it works because I wrote it all myself instead of going off some object oriented template.

So withouot further adieu I present “to the Left of Bill Version 2.1″ ’s working music section. Mind you I only worked on the program part of this section of the site and not the aesthetics. Right now its all about a working program. I’ll make it look really pretty (prettier than this blog) after the site’s applications work properly.

So Merry Christmas to me. I gave myself the gift of error free PHP code.

This is the music news page. Its a blog format without comment functions.

This is the code for the music news page. The comments in the picture pretty much speak for themselves.

This is how I will be updating the music news page. Of course everything won’t be so bland when its over.

The code behind the page that updates the news. Again the comments say it all.

The message I see if everything works right.

The code behind the success message.

So if anyone is interested this is how you can create a really simple news feed using PHP and HTML. I can definitely write a tutorial on the subject if there’s interest. I really think that visitors to this site are more into politics than programming though. But if you want it leave a comment.


The Death of Version 2.0

Wednesday, December 24th, 2008

Fuck object oriented PHP. I’m going to do it the procedural way.

Version 2.0 is dead. But not forever. I am starting on version 2.1 first thing in the morning. I had started on the music portion of the site. Specifically the first page of the music section that displayed any news having to do with new songs, new shows, and stuff like that. I wrote the program that got and displayed the information for the page from the database but I couldn’t for the life of me get the program that let me add new information to the database working.

I decided to use an Object Oriented PHP framework called CodeIgniter instead of CakePHP because it was a little easier to understand and implement. I was able to add information to the database using CodeIgniter’s scaffolding feature which basically writes some very basic code that lets you do certain things for you. But I couldn’t use it because its not secure. Any old idiot could find out the directory it was in and edit my site without so much as a password. I’m not running Wikipedia here so in my eyes thats not cool.

I know I eventually need to learn how to use these frameworks because they truly do save you time. But I’m still a newbie to this whole PHP thing. Most PHP frameworks use the object oriented Model View Controller (MVC) approach to programming which is a huge time saver. See, Object Oriented programming whether it be in Java, Ruby, PHP, or whatever breaks up code into manageable chunks. In a very basic general way, this is how it works: You have the code that connects your program to your database seperated from the rest of the code. Then you have the code that performs the application’s functions on its own as well. And finally you have the code that displays the pages to the user somewhere else. This makes updating and upgrading very easy because all you have to do is change the code in one file it applies the changes to the entire site. It also means less code because you only have to write your functions once and reference them using (and I am speaking very generally here) the equivalent of a link or a desktop shortcut/alias to the function in the rest of your code. For example:

This is the seperated function code:

<?php
function nameofFunction() {
it does some stuff that realistically takes up like 10 lines
}
?>
Then You Reference it in another file sort of like this:
$this->get->functionName()

and it does the same thing as the 10 lines of code in the other file. Without this shortcut you’d be rewriting those 10 lines of code multiple times. Now you only have one line of code. And if you ever change the function you don’t need to go and change every reference to it as long as its name hasn’t changed.

But I’m not skilled enough for Object oriented PHP. I have to work the procedural way. The procedural way means writing all the code together and possible multiple times for things like connecting to the database which the application will do multiple times.

So first thing tomorrow morning I will be writing the code for Version 2.1. Its going to be procedural so the code is going to be a bit messy and my view code is going to have to be mixed in with the functionality but once I get the thing working all I need to do is write some CSS and its good to go. This should be a bit easier for me. But Object oriented programming is the way of the future so I will have to upgrade at some point. But not now.


My First Working PHP App / Kanye West is my new hero

Monday, December 22nd, 2008

First off I am pleased to announce that the music portion of my new work-in-progress site is working. I designed a simple blog program that I am calling Felix after my (currently one-man) band Felix and Friends. There is going to be a section of the site dedicated to my music. The first page in that section will be a blog consisting of news regarding where I’ll be playing, new songs I’ve written, etc. I just got that blog working. I had the skeleton written last night but when I tried to test it I either got an error when I tried to conclude my “foreach” with an “endforeach” statement or I only got the most recent database record for the database table that contains that blog when I left out “endforeach”. This is what I’m working on right now (I love screenshots. Download Skitch for Windows-I think- and Mac and you can take them and edit them super easy too! I really recommend you check it out!):

So this is the screenshot of my workspace…

And this is the teeny tiniest little mistake I made in the code that caused me a good 12 hours worth of head-against-wall banging.

/

Kanye West’s new album is awesome. Kanye is a true artist. He is the king of hip hop. He isn’t some fly by night rapper. He truly has artistic vision. He elevates hip hop to a new level. “808’s and Heartbreak” is some of the best music I’ve heard in a while. Kanye makes slow songs enjoyable again. I was wondering what he was going to do after his first three albums. They all show real growth but it was still incremental. I applaud Kanye for recording an album that was so different from his previous work. He needed to do it. If he didn’t the music would have been good but 808’s is a logical step forward. This album reminds me of Adore by the Smashing Pumpkins. They had a string of hit records but couldn’t really go anywhere else without sounding the same and fading into irrelevance. So they put out Adore. Critics loved it, fans hated it. But history vindicated them and today it is widely considered one of their best works and under-appreciated.


Version 2.0

Sunday, December 21st, 2008

to the Left of Bill Version 2.0 is in its infancy. I am using the CodeIgniter PHP framework instead of CakePHP mainly because its better documented and easier to understand. I was toying with the idea of building my own object oriented code library to do this but frankly I’m still a novice in terms of PHP. CodeIgniter isn’t necessarily as powerful as Cake but it suits me just fine. And if I ever do outgrow it I could always extend its code libraries thus never actually outgrowing it. Because if I do get to a point where it isn’t powerful enough then I should be at a point where my skill level should allow me to just extend it instead of replacing it.

I am very proud of my work so far. I have a few screenshots of Version 2.0 in its infancy. All these are the basic code that will run one of the blog applications the new site will be sporting.

This is the code that runs behind the scenes. It contains the functions that allow you to view the blog, make comments, and view your comments. I will be adding functions that allow you to view each post with its comments separately and that will allow me to post entries and a bunch of other functions that escape me right now.

This is the page you actually see when you visit the blog. Mind you, this is only one of several blogs on the site. This one will look like a traditional blog. The others will look like a cross between a blog and a static page. The reason for this is that there will be pages that I will be adding to on a periodic basis but I don’t want people commenting on them or viewing them separately. For example, the news portion of the site will be like this. Its going to have posts that I add periodically about whats going on with Felix and Friends (my one man band). The true blog will be exactly like the one you are reading right now except it won’t look exactly the same. It will have the same features though. All the code I’m showing you will be for the traditional blog.

This code is for the comments page. When you comment on an entry you will see this page and when you submit the entry you’ll be taken to a page where you can see the comment you submitted.

So thats Version 2.0 in its infancy. Well, not even infancy. More like the fetus stage. To anyone who is a true novice to PHP and wants to build some complicated (well, seemingly complicated) programs I recommend CodeIgniter. The documentation is great and they have two video tutorials so far that explain how to create a blog but really they help with more than that. Cake is amazing. But its way above my skill level. Even CodeIgniter is but I am able to deduce what’s going on more easily.


I’ll Show you my Dock if you Show me Yours

Friday, December 19th, 2008

I just got an awesome program called DockSpaces for my Mac. Basically it allows you to have up to 10 different docks instead of one that you can switch between. This can be useful when you’re working on different projects. I’m going to share the four variations of my dock that I created for different purposes and I’m also going to show you a screen shot of Together, the program that recently replaced Evernote (I regret having raved about Evernote).

This is my general use dock. Its for when I’m not working intensely on one thing or another. The programs in it are from left to right: Finder, iChat, Vienna (RSS Reader), Safari, Blogo, JDarkroom, iTunes, Toast Titanium, Anxiety, iCal, Together,Acquisition, Applications folder, Documents, Downloads, and Trash.

This is dock number two. Its my programming dock. It has everything I need to write good code. There’s the Finder, Safari, Coda, BBEdit, CSSEdit, Shift, Terminal, Cyberduck, Together, Photoshop, Illustrator, Flash, Fireworks, Invisiblix, MAMP, Applications, Documents, Trash - Together only appears there because I usually have it running but its only in the original dock when not running. Keep this in mind with the other docks.

This dock is my computer maintenance dock. From right to left again: Finder, AppCleaner, Maintenance 3.7, Disk Utility, Invisiblix, Candybar, Monolingual, Onyx, Trash.

Dock number four is my music dock. There’s the Finder, iTunes, GarageBand, Logic Express, iDrum, WireTao Pro, Sapling, Switch, GT PlayerExpress, MetronomeX, Trash

This is my desktop. You wish you had a Mac.

This is Together. I replaced Evernote with this. I won’t go into why now but I like Together much better.

Now that I showed you mine, show me yours. Or at least tell me yours.