Wednesday, October 04, 2006

Dreamweaver for Mac won't allow 'Web Services' Components

Just a small annoyance - I recently installed Dreamweaver 8 on my MacBook only to find that it doesn't support Web Service-based components. The Windows version of the same software does, grrrrrrr. I have resolved this problem by installing Dreamweaver 8 (Windows Version) in my Parallels installation of Windows.

Mac OS X Server: Apache Web Service won't start

My Panther OS X Server-running iMac (long blog to come) was working wonderfully until I started playing around with the Aliases for my one and only site. After I did this, I noticed that it seemed to randomly create additional Aliases. I next noticed that my website was unavailable in Safari so I went back to the Server Admin app and found that the Apache Web Service wasn't running! I clicked 'Start Service' and it thought about for a moment and then simply brought up the 'Start Service' button again. I couldn't get my web server to run and I was starting to get a bit peeved. I rummaged the Internet and found someone suggesting that I try unchecking my website from the 'Sites' list in the Web Service config pane - I did this and tried loading the Web Service and it worked! Of course, with the website unchecked, it wasn't getting me very far in practical terms :) I chose to create a new site in the 'Sites' panel (with the same config as the old site, minus the Aliases) and clicked 'Start Webservice' - hey presto, I was back online!

Monday, October 02, 2006

FTP in Finder is Read-Only

Just a quick post. I've been battling with FTP via the Finder interface for the last 2 hours only to find that Finder will only ever be able to open FTP sites in Read-Only mode:

http://docs.info.apple.com/article.html?artnum=107415

There are FTP clients out there on the Mac, personally, I recommend Fetch

P.S. I am writing a long article on eresurrecting old G3 iMacs into servers...should be finished soon.

Tuesday, August 08, 2006

Changing MIDI transmission channels in Garageband

While I have focused this blog on using the Mac in the world of work, I thought I'd write a quick post on a problem I experienced (and was able to resolve) with Garageband. I write music and had a little ditty that I had started demoing in Garageband. I wanted to put some drums to the piece and thought that it would be nice to write the drum track in MIDI and then output it to a sound module once the drum part was written. I have a Roland TD-3 VDrum set which has some great built-in drum sounds so I wanted to use them in my recording but still have the freedom to edit the MIDI in Garageband. I recorded my drum part and then tried to play it back through the sound module. Nothing happened :(

I checked my setup and the MIDI out of the Mac was plugged into the MIDI in of the TD-3. I did a quick try in Logic Express (a more powerful tool but one I don't understand as well as Garageband... plus I don't have the universal binary for it) and it worked! Why then was there a problem?

The problem was due to the MIDI transmission. the TD-3 will ONLY receive MIDI sent to channel 10 (the traditional MIDI channel for drums). However, from reading on the internet, I discovered that Garageband (by default) transmits on Channel 1. I sighed and moped that I wouldn't be able to get the setup I wanted and then found a cool little plug-in for Garageband called 'midiO' by Retroware (http://www.versiontracker.com/dyn/moreinfo/macosx/23227) that allows you to set MIDI transmission channels for MIDI tracks in Garageband. It isn't perfect but it's definitely worth investigating if this is a problem that you are encountering.

Wednesday, August 02, 2006

Accessing Databases on a Mac

One of the first tasks I faced when setting up a Mac in our workplace for the first time was to get it to access a number of Oracle 9i databases that we use. I investigated the Oracle website to find an official client and came away with my head spinning - they appeared to have one but it seemed incredibly complicated to set up and without a clean installer - I wasn't very impressed. My colleague suggested I try a DBMS called 'Aqua Data Studio' (www.aquafold.com) which is open source, available for a whole host of platforms and provides access to a variety of different databases.

I really can't say enough nice things about this program - plain and simple, it rocks. In a few minutes I had this guy's Mac accessing the Oracle databases. I was astounded by the number of databases you could interact with using Aqua. We use a home-grown test-case management system that we built in PostGres and I was able to get access to that easily as well. The program also has a lot of nice features like 'Pretty Printing' (Function-B) and excellent display options (Grids, Text Files - all of which can be exported to a variety of different file types). I was also very impressed with it's predictive code-writer.

My only complaints are that it is written in Java which means that it is a bit slow and it doesn't completely conform to the standard Apple interface (e.g. Preferences are under 'File' like in Windows rather than the title menu option) but these are small things that don't bother me much (My MacBook handles the performance issue pretty well)

All in all, I thoroughly suggest you check out Aqua - an essential for Mac users and a very nice option for Windows users as well.

Thursday, July 20, 2006

XML Editing on a Mac

My job requires that I analyse and edit XML documents frequently. I thought I'd share a couple of things I've learnt about XML editing on the Mac.

1- Software: First thing is XML editing software. With my old VAIO, I would use XMLSpy Free Edition - a Windows only program that allows you to validate and 'pretty-print' XML among a whole host of other features for free. Unfortunately, I have not found an equivalent program for free on the Mac. However, I did find a good XML editor called 'oXygen' (http://www.oxygenxml.com/) which has a Mac port. Again, it allows validation and 'pretty-printing' but expires after about 14 days.

2- Browsers: To test the XML is create, I submit XML text to a website which then returns a response in an ASPX wrapper. I found that Apple Safari tends to reformat the ASPX response returned by then system so that I can't see the tags relating to the data in the response. As a result, I have found Apple Safari was not particularly good for my line of work and switched to using Firefox (http://www.mozilla.com/) for my XML tasks.

Tuesday, July 18, 2006

Remote Desktop Connection for Macs

today I discovered a cool tool available from Microsoft. As 'The only Mac in the village' it is important that I can interact with Windows users and wondered if there was any way of me being bale to make a remote desktop connection to a Windows machine without going through Parallels (which, as cool as it is, does put a strain on system resources). I found that I can using a piece of software that is free on Microsoft's 'Mactopia' site:

http://www.microsoft.com/mac/otherproducts/otherproducts.aspx?pid=remotedesktopclient

In 5 minutes, I was able to be maintaining the Windows server on the other side of the room. The only downside is that the colours are in a low resolution but it doesn't matter if it allows you the ability to make some important config change remotely.

Hats off to Microsoft on this one!

Using 2 Buttons with Mighty Mouse

I went to a gig the other day and got talking with a guy I went to uni with. We got talking about Music tech and I asked with whether he had tried any Mac programs. He replied by saying 'sorry, I just can't give up my right mouse button!'. I think my friend has a point - as much as the Mac seems to have been built on the principle that 'one button is enough', Windows users (including myself) find it hard to give up that 2 button thang.

When I got my Mac Mini, I bought a Mighty Mouse because I wanted to use a KVM switch between my Mac and my Windows PC and the Mighty Mouse has 2 buttons recognised by Windows. Funnily enough, it never crossed my mind that I could use the 2 buttons in Mac OS! While that might sound a bit silly, my belief did have logic - when you plug a Mighty Mouse into a Mac, by default, it will function as a one button mouse with a scrollwheel (oh, and dashboard/expose buttons). However, you can have 2 buttons:

Go to 'System Preferences'-'Keyboard & Mouse' and go to the 'Mouse' tab
You will see that an image of the mouse appears with labels for all the functions. By default, a Mighty Mouse sets the right label to 'Primary Button'. Look at the drop down list and you will see 'Secondary Button' as an option!

Once you have saved this change, your Mac will seem like a far friendlier environment for users with a background in Windows.

Monday, July 17, 2006

Tabbing to a button

Ok, to start things off, I thought I'd mention the issue of tabbing. I was used to tabbing my way through the data entry websites i use everyday for my job. One of my pet peeves about using my Mac was that I couldn't just rely on the keyboard - whenever i would come to a button on a website, I needed to use my mouse to click on it. I thought this was strange as I wondered what some users with accessibility issues would do under this situation. I then found that this was actually a config option and Mac OS X just comes with tabbing to a button as disabled. You can resole this by doing the following:

Click on System Preferences-Keyboard & Mouse
Click on the 'Keyboard Shortcuts' tab
Under 'full keyboard access' choose the 'All controls' radio button.

Thats it! Now you should be able to tab through Forms and webpages with ease :)

My introduction into the world of Apple technology

Hello! My name is Martin and I recently switched to using Apple Macs. My encounters with Apple technology started when I was a kid and my mum worked for the local university. My first encounter of software development was at 7 when I made a little game in Hypercard. My mum changed jobs and the Mac went byebye. I continued being interested in computing via Windows and enjoyed learning how to maintain and build Windows machines. I studied computing, psychology and Spanish at university where I next encountered the Mac. I have to say we didn't get on very well - my catch-phrase over my time using SPSS for my psych stats coursework was 'Fucking Macs!!!'. I then forgot about Macs for the next 2 years until they were brought to my attention via the iPod. I bought an iPod but didn't really experience the fabled Halo effect concerning their computers. However, the iPod DID make me aware of Apple again. I was later required to configure a Powerbook for a colleague of mine at work. It was then that I began to appreciate how good Macs were. Within a relatively short period of time, I had his machine doing all the basic tasks needed of the job and within about a month he was WIndows free. during that time I found his Mac to be a quick machine with an Operating System that was intuitive, clean, reliable and fun.

My birthday rolled around and my parents very kindly bought me a Mac Mini. I am a musician and was quite curious to try out some of the music tools available for the Mac like Garageband and Logic. This was it - I was sold. I was blown away by Garageband. Having used PC sequencers all my youth, I was a bit jaded because I had not found any tools that were powerful, reliable and easy to use. Cakewalk was pretty good but always crashed on me. I began recording music and fell in love.

Having had pleasant experiences at home, I wanted to return to working with a Mac in my professional life. In my time at this company I have brought to laptops to their knees. They would work fine at first but then, with time, they would get slower and slower because of what I can only term as 'Windows Bloat'. It's pretty well accepted that Windows PCs need rebuilds to keep them running tight but that is very disruptive in a professional environment. I don't load crap on my work PCs and always used anti-virus and anti-spyware but still found that my laps would eventually run like dogs. My first one (purchased 2004, with 1gb ram) now takes 10+minutes to load. I knew it was possible for it to do everything I needed at work but didn't have to use in the office!

That all changed about 1 month ago when I was given a Macbook by the company as they knew I was lusting for one.

So what do I want to do with this blog?

Well, I've learnt quite a bit over the last year about using Macs in the workplace (either via my own or by maintaining others) and I wanted to share the knowledge I have acquired. I am no guru but there are lots of little tidbits that I hope will be useful to people who have spent their life using Windows.

I want to make it clear that I am not a creative professional and use my Mac in a software testing organization. I hope to think that while I am very happy with my Mac, that I am not a zealot and still happily work with Windows. I have not qualms with Microsoft and hope that my opinions are relatively balanced. Insecure defence of myself over!

I hope you find something useful on this blog and I would really appreciate any additional input people can add to the topics I bring up.

Good luck in MacLand!
Martin BG