Archive for the ‘IT Industry’ Category

Cheap tips for software developers

Tuesday, October 11th, 2011

I have a few tips for developers out there:

  • Be lazy. Please. Reluctance to write code will make you a better developer, because you will end up writing only code that matters.
  • Try to make your code easy for the next developer or the poor sod who will be using or maintaining your code. This poor sod may just be yourself, the next day, some weeks later, some months later, or some years later.
  • If you are a beginner then by all means write “hello worlds” to your hearts content, in your learning environment. If you are really eager to learn, read code from more experienced developers and spend time debugging them.
That’s it for now.

Windows 8 will ship when it’s ready, not forced by a schedule!

Tuesday, September 13th, 2011

I briefly caught up with the keynotes live stream of Microsoft’s Build Windows event today. I saw about 15min of it and these are my favourite take aways:

  • Microsoft’s Steve Sinofsky said that, I quote him, roughly “Windows 8 will ship when it’s ready, Microsoft is focusing on quality and they will not be driven by a schedule”. That’s exactly the kind of language you hear from popular Open Source project leaders, last time I read it was from a Ruby on Rails framework developer (talking at the time, about when  Rails 3.1 would be released)
  • Windows 8 preview releases will not require any activation key
  • And of course, the 8 second boot time (I may not have properly heard that one, but there was an 8 sec boot time demo’ed earlier)
Microsoft  announced that Windows 8 developer preview would be available for download at 3 AM GMT on 14 September. I’m already prepared for a title like “the most downloaded OS preview ever!” or something like that, being announced within a week perhaps. Let me risk a gamble, 2 Mio downloads within 5 days? ;-)

Zachman framework presented as an Ontology, finally a more fitting name!

Saturday, September 10th, 2011

It’ nice to see that John Zachman is now presenting his framework as an Ontology, this shows that the author didn’t want his work to be “sabotaged” by the misleading misreadings that folks through out daily about this and other Enterprise Architecture body of works.

There are lots of confusion around  Enterprise Architecture, and that is an understatement. I’ve briefly participated in a discussion thread on LinkedIn about a quote of Zachman, I realised that I had to stop before I too would start getting confused.

I hope that this release finally settles the debates going on about what Zachman framework is, ought to be, and may be useful for or not. From the horses mouth, it’s an Ontology. And that’s exactly how I’ve always seen it to be, it’s not a cookbook like “How to make chicken tikka masala at home in 10 steps”. I’m not going to delve into defining what an ontology is or may be useful for, I don’t want to give a cheap recipe that someone would run with and may cause “brain damage” to others.

Pimping my MacBook Pro late 2008 – Part 3: setting up an SSD as second disk bootable

Thursday, September 8th, 2011

In Part 1 of this blog post, I show how to upgrade the RAM to 8GB. In Part 2 I show how I installed an SSD as a second disk on my MacBook Pro, replacing the DVD drive (SuperDrive if you like). Until now I didn’t have time to talk about the system setting changes that I had to make to get it all working. This post addresses that part. As I began writing this 3rd part, I realised that I didn’t take many screenshots while I was working on this, but luckily it’s still fresh in my memory and I can lookup resources to link in here.

Once I put the last screw in place, I plugged the power chord back on and turned the computer on. After the logon OSX Lion automatically detected the new SSD and launched the Disk Utility. I chose the suggested disk partition mode, which is journalled Mac OS extended. This went so fast that I doubted if I clicked the button or not. Nothing to it.

My MacBook Pro originally shipped with a 320 GB disk and it’s only got 30 GB free space left now, so I can’t clearly fit all my content on a 60 GB SSD. I chose a smaller SSD to keep the cost of this upgrade reasonable, so I have to compromise a little bit. Instead of copying everything over, I decided that I only wanted to copy the system files and the installed applications. That requires less space and I still get the speed boost (most of it, at least) I’m expecting.

A quick google and I downloaded Carbon Copy, a handy tool that iss apparently meant as a backup utility but it does a nice job. In the screenshot below I indicate the files that I’ve selected for copying, I left the rest unchecked. Actually this screenshot is made after I was done. Once the essential system files are selected, chose the destination to be the SSD that must be empty at this stage, then launch it.

Selective carbon copy of my HD to the SSDSelective carbon copy of my HD to the SSD

This process took a very long time to complete, I think about 3 hrs (I just let it run and tended to other domestic chores and came to check it a short time before going to bed. After Carbon Copy completed I was ready to boot on my brand new SSD! But since I didn’t copy over the users folder, which actually contains all my settings and my personal files, I expected some trouble, so I got Plan B ready before continuing. My Plan B consisted of: 1) creating a second user with Admin rights, and 2) not immediately changing my default boot disk. Now I could reboot my Mac.

At boot,  I pressed and held the Option key (the one with a fork looking symbol) – must be done before you hear the chime and keep holding it till the Mac prompts for a boot disk. I selected my SSD disk and about 22 secs later I got the login screen. When I logged in with my normal account I was greeted with a lot of errors, Safari couldn’t find any of my settings, FireFox the same, I kind of expected this to happen and knew what I would do to fix it. What was happening is really simple, when I only had one disk I also only had one Volume which was my boot disk. So the Mac could find everything relative to the root folder of the boot Volume.

Two volumes on my Macbook Pro Two volumes on my Macbook Pro

By booting on a second volume, the SSD, the path to my user settings was lost: the system is looking for my user folder on “/Volumes/Macintosh SSD”, but it should actually be looking on “/Volumes/Macintosh HD”. This kind of problem is easily solved by creating symbolic links. I created two symbolic links, one for my user home folder and another one for the /Users/Shared folder which I use to Parallels disk images. I logged out and logged back in, everything was now working fine. At this point I was confident that nothing would go wrong, so I changed my default Boot disk: / System Preferences / Startup Disk.

What did I gain now?

Since I still have both disks in place, comparing the performance was just a matter of booting up on one disk, timing that, and repeating the process for the second disk. With my original disk the booting time is 51 secs, with the new SSD my Mac booting time is now 22 secs. The Sleep and Wake times have also now been reduced to less than 5 secs on average, all my applications run much faster than they used to.

Conclusion?

I am satisfied with the results, the boot time has more than doubled, and the sleep and wake times even more. The usually sluggish apps such as Mac Mail, Adobe InDesign and DreamWeaver run faster now. One exception seems to be Omnigraffle Pro, it’s faster but still exhibits some long wait moments thaT I expected would be gone, this may have to do with my home folder still being on the slower hard disk. I did not take time to benchmark everything else, but my MacBook Pro definitely feels like new and it performs much better than it ever did. I think this budget upgrade is well worth it, if you haven’t got the big dosh to buy one of the new MacBook Airs. Keeping the user home folder on the original disk somehow impedes the performance because that path is still in daily uses. But I think that isn’t a huge compromise. I wish I chose a slightly larger disk though, because I’ve now only got 10 GB free space left on the SSD, but I’ve achieved my initial goal.

Pimping my MacBook Pro late 2008 – Part 2, installing a SSD as second disk and boot drive

Monday, September 5th, 2011

This is the second part in my posting on “pimping my MacBook Pro, late 2008″. In Part 1 I briefly explained how I upgrade the ram to 8 GB.

I’ve finally found a couple of hours to write something up about this experience, it was fun (reminded me the old days when I liked this sort of tinkering with hardware). If you’re not afraid of taking apart your laptop, and that you can keep steady hands in the process, then you can install an SSD on your MacBook Pro and enjoy the gain in speed.

Before I go any further, I must warn you that this little operation can risk damaging your computer, there are lots of warnings about electrostatic hazards. There is also a risk of tearing the fragile wiring that link your DVD drive to the motherboard, because although fragile they are tightly clipped to their connectors. If you really want to give it a go, be sure that you are comfortable doing this. Otherwise I advise that you get an expert’s help. I hope to have warned you enough, DIY’s are always at your own risk.

If I didn’t scare you enough then read on.

I researched a bit more about SSD options, I’ve seen many reviews and all sorts of postings on the subject, in the end I covered the last miles myself and that is why  I thought it worth writing this down. I chose to buy a 60 GB disk as that was just at the sort of price point that I considered reasonable, it cost €76 at Mycom.nl. I thought if I were to buy a larger disk that would be much more expensive then there would be no point in keeping both disks. The first hurdle was to find the bracket for installing the disk in the bay reserved for the DVD drive – Apple call it the SuperDrive, in case you didn’t know that. I could buy it in the US for $79 dollars and pay the taxes here when it arrived. So I ordered again via Amazon US, they have it in their marketplace but the dealer is actually OWC themselves. The package was delivered 14 days later (the site originally suggested 8-10 days delivery from the US), and the Dutch customs charged me €22.57 (ouch!).

I thought the operation would be quick, but it wasn’t all that quick, the partial cloning of my hard disk took almost 3 hours to shift over 35 GB of files.

The first pictures of the SSD installation process.

Picture of OWC Data Doubler was delivery packageHow the OWC Data Doubler was delivered to me Pictures of the screwdrivers that shipped with the OWCScrewdrivers that shipped with the OWC Picture of the SSD taken out of the bulky packageThe SSD taken out of the bulky package
The SSD and the OWC Data Doubler bracket ready to useThe SSD and the OWC Data Doubler bracket ready to use The OWC Data Doubler installation manualThe OWC Data Doubler comes with a detailed installation manual The SSD mounted on the bracket, ready to be installed on the MacThe SSD mounted on the bracket, ready to be installed on the Mac

When the preparation was done, it was time to replace the DVD drive with my new disk.

 

My MacBook Pro opened, battery removed cover still onMy MacBook Pro opened, battery removed cover still on The two fragile cables that must be disconnected from the SuperDriveThe two fragile cables that must be disconnected from the SuperDrive Performing a sensitive disconnectionPerforming a sensitive disconnection

If no mistakes was made so far, you really didn’t break those wires (I’m glad I didn’t), then you should end up with something like this.

SSD fully mountedSSD fully mounted The SuperDrive, no longer useful for meThe SuperDrive, no longer useful for me

Putting back the lid of the MacBook Pro is straightforward. Time to boot up the machine.

I’ve run out of time today, I will post the last part of this experience next time, it will be a short one focused on the tuning I had to do to get things working properly.

A/B Split testing a major platform: Windows re-imagined

Friday, September 2nd, 2011

This is the most significant sign yet that the IT industry is admitting we are heading to a post-PC era, Microsoft’s last drop makes this quite clear. In this blog of Sinofsky (yes, it’s a Steve’s World), Microsoft is saying that Windows 8 may run without even loading Windows OS. The new OS is definitely positioned as a post-Windows OS, Windows+ perhaps? Once marketing settles on a name, I think it may not even include the word “Windows”.

This is Microsoft on the offensive, big time. Such a bold move must be aimed at taking the wind out of the sails of Google and Apple. HP’s stutterings indicates that they are no longer in this game, certainly not focused enough to be a contender in a post-PC market.

As I read it, Metro platform (and not just the UI) will be the default boot experience for Windows 8, this will surely not allow any traditional Windows applications to run. That should relegate the traditional Windows OS experience to a secondary role (if you really insist in having it, you can have it but we’re not pushing). It doesn’t take a pundit to imagine what that means: this is how Internet Explorer trounced Netscape, it was the default browser on the PC. Microsoft could not possibly be doing this lightly.

Where is the A/B split testing then? Well, it’s a two phase testing as I see it. By announcing the decision so early in a blog posting, Microsoft is asking the community to comment. If there is any significant outcry, then Microsoft would be vindicated that the masses badly wants to stick to the Windows experience. If not then the new OS may launch with Metro as its default experience, at that point a second split testing kicks in. If Metro UI is a runaway success, it’s game on in the new era. Microsoft stands to win whatever the outcome.

The only group that may have some hesitation here would be the partner ecosystem, folks who have invested their soul into the traditional Windows OS experience might be nervous. But I suppose there is not much choice here, the industry is no longer ruled by the laws that prevailed when vendors decided what users would be getting.

Certified IT Architect, an attempt by The Open Group to raise the profile of this profession

Tuesday, August 23rd, 2011

The Open Group released a Certified Architect program, I learned about it on a recent blog post by Mike Walker. Since this is work from The Open Group, it’s going to spark reactions from friends and foes alike, depending on the side of the proverbial fence where people sit, it is either going to be dubbed “nice job!” or just “a completely skewed piece”. I don’t know, everyone’s entitled to his/her tastes.

By calling it IT Architect however, I am wondering if The Open Group intentionally limited the scope of what this entails. Professor Guido Dedene might have said that it should be more about Information Systems Architect, which is broader and more hollistic than just IT Architect. And I would agree with Pr. Dedene, because I think that mastering the technology alone isn’t sufficient to help solve business problems. If the mastery goes beyond Technology, then I would argue that IT is a reductive qualifer.

IT Certification may have gained some undue bad reputation because of some people misusing (abusing) the term. I have come across people walking around with all sorts of certifications yet you’d find that their knowledge and actual experience wouldn’t stand any proper scrutiny. I’ve even known people calling themselves architects when they didn’t have the faintest clue as to what the terms may signify. Those are certainly a few bad cases that shouldn’t be allowed to ruin the reputation of this profession. This is also not to say that certification isn’t useful, it clearly is a plus when walking to job interviews where the paper is what people value first and foremost.

Mike Walker’s blog gives a nice overview of The Open Group’s Certified Architect program, people starting up in the field would do well to get informed in this manner then chose their path diligently. Efforts of this kind are definitely a welcome contribution to the profession of Architect in Information Technology (IT) – I shall say Information Systems (IS) field.

Pimping my MacBook Pro late 2008 – Part 1, install 8 GB Ram

Sunday, August 21st, 2011

If you’ve got an oldish (mine is late 2008) MacBook Pro, and you don’t have say €2000 to spend, there is a way to give it a new lease of life if you do have say 10% of that amount of money, which is €200. Upgrade two essential components that play a vital role on the machine’s performance: the memory and the boot drive (hard disk).

Sure the latest processor will help if you run video editing software or some computation intensive software. But for most common usages, performance bottleneck starts with memory access. If your computer has enough memory to run everything you need, you are unlikely to see performance problems. If it must access the disk at some stage, then that is a second tier of performance bottleneck that you need to address. Most of the time, once you’re past the initial application load time, having decent memory will give you a nice performance boost.

So starting with the memory upgrade, I looked for sources and found the following items from Amazon €65,8:

I ordered both items from Amazon UK, they took 3 days to arrive. I shut down my laptop, waited about 10 min for it to cool down, opened it up, removed the modules that were already there and replaced them with the new modules from Kingston. The instructions for upgrading memory on your MacBook Pro from Apple Support page are very straightforward.

The whole operation lasted for about 15 min, including time to dust my machine. It was a child play, and it made a difference already. I now scarcely have to wait for something to complete. And the result can be seen in the third picture on this post, above.

I have ordered a bracket for installing a second hard drive in the machine. I expect it to arrive in the coming days. I’ll publish Part II of this post once I get the kit.

Twitter open sourced a really useful web front-ent toolkit, it’s called Bootstrap

Saturday, August 20th, 2011

Timing sometimes can be a strange thing, it can be nice when it works in your favour.

Just as I’ve started creating my own web UI toolkit, I get the news that Twitter open sourced their toolkit called Bootstrap. The timing couldn’t be any better for me, for the following reasons:

  • A few months ago I had come to the conclusion that 960 Grid System was a great choice for structuring web pages in a scalable manner
  • I’ve checked out lots of resources for creating nice looking page style elements, via Mashable, and I have yet to find the one “killer toolkit”. So, I’ve been reluctantly looking to make my own – with my non-existing front-end design skills, that was going to be exciting
  • Two of the projects that I am working on at the moment have now got embryonic style elements, it was time to dress them up a bit
So you can imagine the smile on my face as I went through Twitter’s blog this morning. Technical folks can’t design UI, and that’s good news for everybody. The trouble is though, technical people are often allowed to make UI design decisions, often for the lack of a better alternative (or awareness). With a toolkit like Twitter’s Bootstrap, I think those of us who can’t afford their own front-end design teams would hugely benefit by simply adopting it. The worse effect that this have may be to help reduce the amount of frankly “offending site designs” that hit the web regularly.

Github is becoming a cloud IDE, very cool

Tuesday, August 16th, 2011

Github is gearing towards becoming a cloud IDE, that is promising. Given their meteoric rise, and how well they perform, this will be pretty cool eventually. In a recent rant, I didn’t exactly flatter the existing raft of IDEs. And I think this evolution of GitHub supports (just a bit) my rant, that the incumbent IDEs aren’t working hard enough for developers.

People with fixed workstations, people who are using desktops that are seldom turned off or infrequently turned to other purposes, may not appreciate the value of having a svelte development environment. But the semi-mobile development folks, web developers, would probably rush to try out this new feature.

On a similar but entirely different vein, WordPress made blogging super easy and we all know the results, a massive success well beyond its initial target group. Drupal made web content management a breeze, and they are scoring big names quite regularly. PHP made web development affordable for the masses, this drove its widespread adoption. Ruby endeavoured to “bring the fun into development”, the results are there for all to see, an entirely fresh movement: frameworks like Rails, Sinatra (and Scalatra for Scala), Grails, Play, all were somehow inspired by the movement that Ruby created.

I see the current trend in Cloud IDEs taking a similar path to the technologies cited in the previous paragraph, some of the cloud IDE providers will eventually make it big and people will flock.

I now have my eyes on Node.js, that may be another silent(?) revolution in the making:

Imagine building apps with JavaScript, or let’s say Node.js, and HTML5 for example, using a Cloud IDE, deploying on cloud  environments. That may be enough to hit a respectable 80/20 balance, where a lot of the regular functionality surfacing is quickly built using these technologies, the heavy lifting and differentiator stuff is built using the more traditional technologies. If adoption follows, or shall I say as people start reaping benefits (or just following the new hypes/trends), then we could be looking at a totally new development technology landscape.

Is this too far fetched? Who knows, I’m curious.