Jeremy’s World

Jeremy de Oliveira-Kumar’s website about interesting stuff

Entries Comments



Moving to a Mac: Working with Finder… Apple’s My Computer

15 May, 2008 (23:03) | Applications, OS X, Operating Systems, Windows XP | By: Jeremy

Following the popularity of my first article on moving to a mac, I have decided to continue the series by introducing Finder to Windows users and talking about some of the pluses and minuses of what is generally a very good piece of file management software.  For those users who are interested in moving to the mac from a Windows-based system, I would definitely recommend reading this quick article to understand some of the differences in working with Finder on the Mac.

All Windows users are well and truly familiar with My Computer (to be more technical, Windows Explorer, or simply explorer.exe).  Explorer.exe allows you to manage the files found on your computer.  For example, you can browse multiple drivers, copy files between folders, change the appearance of folders, change the extension of files and launch applications as well as open files.  In a way, Explorer can be described as a visual shell to the operating system.

Finder acts in much the same way.  It allows you to do close to all the things you can do in My Computer.  However, it would be a grave mistake to say there are not some clear differences between Explorer and Finder.  Take a look at the images below for example:

As you can see from the images above there are clear similarities and differences in the presentation of Explorer and Finder.  Of course, with both, you have options as to how you wish to display your files and folders.  Examples include icons, details, tree view, details and cover flow (a special view specific to the Mac which I will descibe later).

The following sections will inspect different aspects of the two file managers, comparing and contrasting their characteristics in order to better understand how a move from Windows to a Mac will affect you.  Note that this comparison will attempt to be conducted from the point-of-view of a Windows user moving to the Mac (as I have recently done).

Appearance

From the point of view of a Windows user moving to the Mac, the change from the Explorer interface to the Finder interface is not a particularly difficult one.  The same basic ideas are shared between the two operating system file management programs.  As you can see from the images above, there is a general toolbar found on the top for changing view options, there is a bar on the left for quick shortcuts and the general view space for manipulating files and folders.

One thing that a Windows user will need to be wary of immediately is that the menubar is not located within the window space.  Like with all software on a mac, to access the menubar, you will need to go to the top of the screen as you can see below:

The Mac toolbar in the top left-hand corner

One advantage of the new Finder interface over Explorer is the ability to quickly preview files using Cover Flow.  Cover Flow view (the fourth view button) displays a black space with all the files of the current folder you are in containing previews of the files where possible.  This can be very handy when you are looking for a file but aren’t exactly sure what the name of the file is.

Using Cover Flow within Finder

One downside of the Finder interface over the Explorer interface is the inability to share a tree view on the left-hand side with a current folder view on the right (or at least I have not found an easy way to do this so far).  Generally, however, this is not a major issue as one can working with multiple Finder windows or change to the triple depth view which is often quite handy in itself.  The tree view is in fact built into the main window which does have its benefits and its minuses - having the two separate views is a nice feature of Explorer.

Viewing the folder tree across three layers in Finder

Another downside in the interface is the size of fonts.  This does affect users who are used to larger fonts set as default in their operating system.  As far as I am aware so far, there aren’t many fixes to improve font and icon sizes in Finder (or in the Operating System in general).  You might be able to find some ideas on the Mac OS X Hints website, but, be prepared to do a bit of digging.

Actions

The manipulation of files and folders is generally the same between Explorer and Finder. Users can drag files between folders, create new files and folders, rename and delete as a user chooses to do.  Special labels such as different colours and images can also be applied to folders in Finder just as in Explorer.

However, there are some noticable differences in the available actions for a user between Explorer and Finder.  Without a doubt the most obvious of these would have to be the incapacity to cut files in Mac OS X.  Just as in Windows Explorer, users are able to copy and paste files using the normal shortcuts or via the context menus.  The cut action, however, is not available in Finder.  It is questionable as to why Apple decided to leave this generally common action out of their operating system.  This author has several hypotheses:

  • Cutting is not a natural action of unix systems - for example there is no “cut” command per-se in the unix tools command line.  Instead a “move” command exists which performs much the same action.  This is mimicked in Finders ability to move files and folders through dragging.
  • The cut command has never really existed in Mac operating systems and the non-existence is simply an artifact of Apple design.
  • Cutting allows for the remote possibility of losing files altogether.  For this reason the OS designers decided to disallow the ability to cut files (although this is a very far-fetched hypothesis).

In any case, the lack of a cut command is quite annoying for a user moving from Windows to the Mac.  There are plugin extensions for Finder which allow the user to cut and paste files and folders, although I have found these are generally cumbersome to use and require going through 2 or 3 deep context menus simply to access the command.  One could mimick the action through an AppleScript command as well, although I feel this is probably taking the issue too far and it is better to simply get acustomed to working in a different way (since using a Mac is a vastly different way of working as opposed to a Windows-based system).

Users should be wary of the difference between copying and moving when dragging files.  It is important to take notice of the green plus sign that appears when copying files and the absence of this when moving files.  If you need to copy files in a moving state, make use of the alt+option key.  This was a bit tricky to get used to at first.

In general, actions are quite simple and easy to use as are most things on the Mac.  The real question is simply getting used to the differences between the two systems as far as actions is concerned, particularly in the case of cutting/moving files.

Interaction

Personally, I find that interaction, such as shortcuts, finding tools quickly, selecting and dragging files and folders and general manipulation with the visual shell is generally easier and (if I can say such a thing) more pleasant in Finder as compared to Explorer.  The use of the keyboard to browse through folders quickly in Finder is a god send and the nature of dragging and dropping similar to that in Explorer makes file management relatively easy.

There are, however, a few catches that a Windows user needs to be aware of very early when managing files and folders which can be often annoying and tedious:

Selecting files using the keyboard behaves slightly differently in Finder.  If you use the “shift” key to select multiple folders pressing the down or up arrow, be aware that if you use the opposite arrow to deselect a folder as is the case in Explorer, this is not the behaviour that occurs in Finder.

For example, if I select a picture, then hold shift and press the down arrow to select two more pictures but accidentally select a third, then I press the up arrow to attempt to deselect the third picture, what actually happens is Finder selects the picture above your first one - this is not the behaviour displayed in Explorer and does sometimes get a little annoying.  In fact selection can often be quite problematic in Finder and I think Apple needs to do a bit more work on this.

Secondly, when attempting to drag a folder in the detailed file view, be aware that dragging will only work if you attempt to drag the name or image of the file and not simply any part of the line on which the file is located.  Finder is extremely fussy about this and I was tripped up on several occasions for not doing this correctly.  Be aware, if you want to drag files, you need to be right on top of the name of the file or the image!

And of course, thirdly, be aware that Ctrl+X does not work (that is, you can’t Cut).  In fact, do not use the Ctrl key at all unless you have changed your mappings!  Macs run on a different system of shortcuts using the Command, Alt+Option key but hardly ever Control.

Conclusion

The change from Windows to the Mac as far as file management is concerned isn’t a big leap.  But as a user changing between the two systems, you do need to make some adjustments which might take a while to get used to.  With that in mind, don’t expect you will be up and running in seconds like Apple and Mac enthusiasts generally claim (and as I did originally).

Switching to a new system takes time.  For some it is very little, for others it is very large.  But, I do guarentee in the long run, you will come to enjoy the Finder interface and possibly like it more than Explorer.

Badware Removal Tools

28 April, 2008 (00:49) | Badware, Internet, Security | By: Jeremy

Having dealt with a lot of badware in time and having been frustrated by the lack of a good resource for finding badware removal tools quickly and easily, I decided to try and start putting together a list of good badware removal tools available on the Internet.

You can now find on my website under Networking and Security, a thorough list of good badware removal tools which I have commonly used to resolve infections on a wide range of Windows machines.  As I continue to build this site I will be putting together an understanding badware page to help inform people of the dangers of poor Internet use in an effort to better educate users to utilise the Internet wisely.

I hope that people find this list useful.  I would like to thank all the geniuses who wrote these tools for taking their time to make the Internet a little more safer.

If you know of any more good anti-badware tools, post a comment and I will add them to the list.

Badware Removal Tools

28 April, 2008 (00:35) | News | By: Jeremy

So you are infected!  This page should hopefully provide you with a full arsenal of tools to resolve an existing infection that anti-badware detection and prevention tools have been unable to resolve.

SmitFraudFix by S!Ri

What is it? SmitFraudFix is one of the ultimate malware killers found online.  It kills just about every type of know malware hijacker that exists in cyberspace.  SmitFraudFix would have to be one of the best pieces of software written to kill badware.  It should be your first choice when dealing with an unknown badware problem on your computer.

How do I know if I need it? If you have a problem with your machine: slowness, pop-up ads, strange behaviour - then SmitFraudFix should be your first stop. If you have anti-virus software which has detected a problem which cannot be fixed, then you should also turn to SmitFraudFix.

Where can I get it? SmitFraudFix.exe is available from s!Ri’s SmitFraudFix webpage.  You can also find copy’s of the software from associated mirrors and via a google web search.

ComboFix by sUBs

What is it? ComboFix is a general malware killer.  It looks for a host of known trojans, adware and malware and does its best to eliminate the infecting software.

How do I know if I need it? This is not the easiest of questions.  If you suspect you have a piece of malware software on your machine, then ComboFix might be a good bet to fix the problem.  Detecting Badware is never easy - you can try one of the Badware detection programs above if you think you have a problem.

Where can I get it? ComboFix is available from bleepingcomputer.com, forospyware.com and geekstogo.com.  You should use ComboFix with caution.  A good explanation of the software can be from the bleepingcomputer.com’s website.

CWS Shredder by Merjin

What is it? CWS Shredder is a brilliant little piece of software for getting rid of the extremely annoying CoolWebSearch malware hijacker, one of the most common and annoying pieces of badware on the Internet.  Written by the brilliant Merjin, the create of HijackThis, CWS Shredder can get rid of all existing CWS infections and variants.

How do i know if I need it? If you have Cool Web Search as your homepage in your browser, then this tool is definitely for you!

Where can I get it?  You can get CWS Shredder and a host of other great detection and removal tools from Merjin.org.  CWS Shredder is also available at the TrendMicro website as TrendMicro officially purchased the tool from Merjin in 2004.

VundoFix by Atri

What is it? VundoFix is an application for killing the Vundo trojan.  This trojan is one of the more common pieces of badware I have come across in the last year.  Atri at atribune.org has written a brilliant piece of software to get rid of this monster of a trojan.

How do I know if I need it? Things begin to slow down on your computer.  Not just the operating system, but applications and your Internet connection as well.  You might notice rogue processes with random letters and numbers running such as “urqnn”.  You should use HijackThis to detect the Badware: look for O2s and O20s that look rather suspicious.

Where can I get it? You can get a copy of the latest version of VundoFix.exe at Atri’s website.  Atri updates this removal tool regularly when he comes across new strains of the trojan.

RogueRemover FREE by MalwareBytes

What is it? RogueRemover is another anti-malware piece of software for removing existing infections on a machine. RogueRemover comes in two versions:  FREE and PRO.  The free version is enough for typical infections and is a worthy install for those who suspect that have been infected by badware.

How do I know if I need it? RogueRemover can act as a useful scanning tool as well as a removal application.  It is yet another tool in your potential anti-badware arsenal.  If you experience slowness or pop-up ads, get this useful piece of software.

Where can I get it? RogueRemover FREE is available from MajorGeeks and BetaNews.

ATF Cleaner by Atri

What is it? Yet another great tool from Atri, ATF Cleaner is a temporary file cleaner for getting rid of nasty badware and its associated rubbish that may sit in you temporary file folders.

How do I know if I need it? ATF Cleaner is a good tool to have in general.  Any typical user should have ATF Cleaner installed on their machine and make use of it at least once every month to get rid of the typical rubbish that accumulates on a Windows machine.

Where can I get it? ATF-Cleaner.exe is available at atribune.org.

KillBox by Option^Explicit

What is it? KillBox is a tool for removing in use files.  Files that are in use are usually running as processes on your machine or are actively being used by a process.  Windows protects in use files by disabling the ability to delete them.  KillBox circumvents this protection mechanism and can be handy for getting rid of nasty Badware.

How do I know if I need it? If you are attempting to get rid of a piece of badware and come across an error where the file is in use and you cannot remove it, make use of KillBox to remove the file.  It is also useful for getting rid of temp files in use that you know are not required to be kept.  But make sure you use KillBox with caution.  It is definitely not for the faint-hearted.

Where can I get it? KillBox.exe is available at KillBox.Net or do a general web search.

Backing up a mysql server

26 April, 2008 (20:03) | Databases, Linux, News, Shell Scripts | By: Jeremy

In an increasingly data dependant world, backing up has never been more important.  This especially applies to databases on servers.  It is shocking to know how many people fail to backup their data out of sheer ignorance or a failure to understand the purpose of backing up until its too late (I used to be one of those people, but then I was young and didn’t have much worthwhile data on my computer anyway).

With the advent of the LAMP server architecture, mysql databases are increasingly in use on servers (this is now even more true now with Ruby On Rails setups).  In order to protect all my database data, I wrote a quick and simple script using existing mysql tools found in most linux setups to perform a hot backup.  This backup can be for a single database or the entire DBMS.

The script is called mysql-backup and to describe simply it performs the following operations:

  1. Setup the filename for the backup with the current date and time
  2. Set the backup folder (/var/lib/mysql/backup - a standard folder in Ubuntu setups)
  3. Do a backup of all databases (the –all-databases line can be customised if you wish to only backup a single database on your server)
  4. Purge any older backups prior to the last 10 (if 10 already exist - this line can be commented out if you wish to keep all backups, but note that this might take up a lot of space in the long run)

The best way to run the script is through a cron job.  I usually perform my database backups at least once a day on low demand machines, and twice daily on high use http servers.

You can find a copy of the script on the Linux Scripts page of this site.

Anti-Badware Tools

24 April, 2008 (22:33) | News | By: Jeremy

Unfortunately many people fall victim to various types of badware on the Internet due to either lack of knowledge, usage of nefarious websites or a failure to keep their software up-to-date.  Sadly to often, the process of resolving an infection is dealt with by a complete format of the disk and re-install of windows.  But, this is not always necessary.

From my experiences with badware, I have decided to try and help those who are suffering from badware by providing links to prevention, detection and removal tools that might help the typical user.  In this section you will find information and links to tools which can help you combat the nasty software often implanted by hackers and bots on unsuspecting users’ machines.

Badware Detection Tools

A list of detection tools will be found here soon.

Badware Prevention Tools

Anti-virus software

Although not the best software for dealing with all types of badware, anti-virus software is good at dealing with most viruses, trojans and malware that can infect a typical machine.  But be wary!  Not all anti-virus software is good.  Here are my top recommendations based on years of experience with anti-virus software.

Kaspersky Lab Anti-Virus: Kaspersky Lab is widely regarded these days as one of the best network and computer security firms in the world.  Their world renowned anti-virus software is increasingly used by major organisations worldwide.  Originally based in Russia, Kaspersky Lab has years of experience and the technical know-how to deal with new and upcoming viral threats.  You can get a copy of their trial version  virus scanning software or use the free online scanner.

AVG Free: My recommended anti-virus software for the general user or business.  AVG is a well-known Internet brand providing anti-virus and badware detection and removal software.  AVG Free is used by many any indviduals and companies including Excel Building Management.  You can get a copy of AVG Free Edition from their website or at download.com.

Avast! Home Edition: Avast! is another good anti-virus program.  The home edition is available for personal, non-commercial home use.  It is a good alternative to AVG Free if you do not have AVG or find that AVG’s interface is not to your taste.  You can download Avast! Home Edition from the avast.com website.  Be aware that you need to register Avast! once a year with a new key in order to be able to make full use of the software.

More soon…

Badware Removal Tools

If you have already been infected then you need the tools to remove the badware infection.  Not all badware detection software can removal the nasty pieces of badware than exist on the Internet.  I have tried to put together as complete a list as possible of badware tools available from my previous experience of dealing with badware.