Archive for the 'Work' Category

My first week as a Mac user

Saturday, 28th October, 2006

This was my first week in my new job and on an iMac. I was looking forward to trying out OSX, I’ve seen OSX grow in popularity over the last year or two in the development community – a lot of the screen casts are done on Macs.

I was told by others in the office that I’d be sold on Mac within the first day or two because “its much better than Windows”. After a week on it though I still find OSX gets in the way. I find myself using the keyboard more on OSX than Windows. My biggest gripes about the platform:

  1. Where have the HOME, END, PAGE UP, PAGE DOWN and INSERT keys gone? What are these useless keys in their place?
  2. I now have MORE keys to press to select a line of code and remove/cut/copy it. Apple + Shift + Left arrow to select (if at the start) and then Apple+C. Windows is just Shift + END and CTRL+C.
  3. Everything in Mac OSX is Apple + this, Apple + that, well not in a Terminal, you wanna kill that process? That’ll be CTRL+C, you wanna use Nano, that’s the CTRL key again.
  4. I miss not having a Taskbar
  5. I like to maximize my windows – this is not the done thing on OSX. The “+” button appears to be random/useless at resizing your app. Double click the app title bar – minimizes to dock :(
  6. I’d like to resize my app window, MORE mouse clicks required, lets move the window left a bit first then go the bottom right corner to resize.
  7. Minimise an app, then try to Apple + TAB to restore it back to the foreground – where is it? Still hiding in the dock.
  8. Close all open windows of an application – ALT+TAB, it’s still in the app list – wtf? Select it, nothing… oh it’s in the top menu – I have to Apple+Q or Exit from the menu.
  9. My mighty mouse might look cool but I keep right clicking in Firefox bring up the popup, or jumping to Dashboard/Expose accidentally when I want to left click.
  10. bbEdit’s comparision isn’t as good as Examdiff
  11. bbEdit’s multi-file search is slow compared to UltraEdit on Windows
  12. No Regex Coach on Mac :(
  13. I prefer Outlook to Apple Mail
  14. Who really needs 16 function keys?

So half of those are about the hardware interface – can I change to a regular USB keyboard and mouse on Mac? Does the Windows key map to the Apple key?

There are some things I like about OSX though:

  1. Expose is useful and is a saving grace for not having a Taskbar
  2. Apple Mail junk filters are good.
  3. It’s nice to be able to jump into a *nix shell at the push of a button, Windows command prompt sucks in comparison.
  4. Dashboard is handy for quickly getting to Calculator
  5. Quicksilver is cool, I’ve got to get into the habit of using it though!
  6. Interface is cleaner – drag and drop is more common place than Windows apps. Mac Office looks very Microsoft, lots of toolbars and buttons which is out of place compared to most other Mac apps.
  7. Interface looks cool – novelty fades quickly though

At the moment for me OSX is just another platform and I’d still take Windows through choice.

Jumping Ship

Saturday, 21st October, 2006

I finished at River Island yesterday. I wasn’t at River Island long (12 weeks) but pretty early on I realised I’d made a mistake.

As the saying goes we’re supposed to learn from our mistakes but on reflection I think I’d make the same mistake again. I don’t think many experiences are truly bad, and in hindsight I think this last job was a worthwhile experience that helped me clarify what I want to do and where I want to be professionally.

The things I know I won’t miss were my 6am alarm (which typically only allowed for 7hrs sleep a night) and commuting 3 hours a day!

The rise of Mac in developer land

Thursday, 28th September, 2006

Is it just me or are all the cool kids using Mac’s these days? I’ve not used a Mac since primary school – we’re talking mid 80’s!

I’m eager to give TextMate a whirl and see if I can produce code at half the rate of those guys in the screencasts. I’ll soon get the opportunity since I recently accepted a job at a Mac shop!

(some who made the switch aren’t entirely happy).

Upgrading from MySQL 3.23 to 5.0

Saturday, 10th June, 2006

I’ve spent too many hours this week porting the company database from MySQL 3.23 to 5. This was probably a bit more painful than it needed to be because we’ve not upgraded MySQL versions… ever.

The biggest hurdles were manipulating the SQL dump file (we had to dump and re-import due to MyISAM changes between versions) and leaving MySQL 5.0’s server mode as STRICT (as recommended by the installer).

Manipulation of the dump file (which was 13GBs) really made it stand out how modern programmers don’t necessary think about resources (or don’t have to with memory managed languages). I guess with the ample resources of most desktops for day-to-day operations its easy to see why. However, trying to load a file of this size made every Windows text editor I tried, fall over (either loading or saving).

In the end I chopped the file into 1GB chunks and edited those with gVim. In hindsight I should have split by line number and not by filesize.

Although it was the easy way out (and we should have updated our SQL), changing the mode to mysql323 saved us a LOT of work. Few application changes were required, the main one was for a replication issue. Replication would stop on certain CREATE TABLE statements where a default value was specified on integer auto_increment columns (gotta love legacy application code!).

When running our system on my dev machine with PHP 5.1.4 and MySQL 5 it did feel ’snappy’. I think this was probably more psychological than anything else.

Sigh of relief

Sunday, 21st May, 2006

With the recent news of Blue Security closing down after being dDoS’ed into the 1980’s, I can only sigh welcome relief my employer’s plans to move into dDoS mitigation never took off. Few people are qualified to move into this market but even less people recognise this fact!

People who want to take on “the internet bad guys” either 1) have to really know their stuff or 2) be sufficiently p’ed off with spam / spyware and have enough money to throw at the problem – calling Mr. Gates (and even he’s not managed to sort out the spam issue as promised).

I believe my company definately fell within 3 – the “don’t know enough” camp. I can safely say this because I set up a fair bit of the system!

It was a half baked concept (not mine) to re-coup some of costs of our £30k DoS protection system for our primary business, not the best reason to launch such a service.

Ironically Blue Security were flanked by spammer’s nuking their DNS hosts, this is exactly the weak point I highlighted in our own system but was assured ours could handle such an attack. I think this would have been an optimistic assumption given the size of the attack still bombarding Blue Security as I write this… it’s even reported Proxelic (their dDoS mitigation service) had trouble coping.

It’s a depressing outcome to see the bad guys win!

You are currently browsing greg's weblog – the more I learn, the less I know archives in the Work category.

Categories

xhtml 1.1 compliant   xhtml 1.1 compliant