Friday, 13 Jul 2012 22:17:26 · 1 minute read · Comments
Hello! We’ve moved to the right a little…
The blog used to be at blog.hashbang0.com but because I got fed up with the hashbang0.com design and upkeep, WordPress will now be powering the main site. Hopefully I’ve done everything right…There has already been a couple of hairy points, I’ve learnt that my backup script is broken, for example…
Friday, 13 Jul 2012 19:26:02 · 3 minute read · Comments
Mac OS /
At WWDC 2006, Steve Jobs said the following about porting OS X to the Intel architecture
> “Porting an operating system to an entirely different processor architecture is no easy task and our software team did a magnificent job of taking this on the PowerPC and turning it into this on Intel architecture. So they made it look really easy and it’s gone seamlessly which has enabled this amazing transition to occur in 210 days, but under the hood and you all know, this was 86,000,000 lines of source code that was ported to run on an entirely different architecture with zero hiccups.”
But has the transition really gone that well? I suppose at the time it had, but almost six years on what can be said? Let’s take a quick look at the history of OS X on Intel.
At WWDC 2005 Jobs told us that each release of OS X had been compiled for the Intel architecture, he even had an iMac running Tiger on an Intel Pentium 4.
Tiger became publicly available for Intel Macs in January 2006 with the release of the MacBook Pro and the first Intel iMacs.
Tiger on the PowerPC (PPC) supported the Classic environment, which ran apps designed for OS 9 and also included the Motorola 68K emulator. So Tiger on PPC supported apps which were ages old.
On Intel, Tiger supported Rosetta, a translator allowing PPC apps to run on Intel Macs.
Tiger supported PPC Macs from the G3 to the G5, machines that were around 7 years old as of 2006.
Leopard supported G4 and G5 Macs (above 867MHz) and Intel Macs. Leopard lost support for the Classic environment on PPC apps, losing support for a plethora of apps created over a number of years.
Snow Leopard stopped support for the PowerPC but still had Rosetta built in, most PPC apps still worked, though a few had some oddities.
In 2011 Apple released Lion. Lion dropped support for 32-bit Intel Macs and no longer included Rosetta. All of the PPC apps that hadn’t been ported to Intel were lost.
Any app whose developer has abandoned it on some download site may well never run again…
So, while I am sitting here now on my 2011 iMac running the latest developer build of Mountain Lion, I can say that I am still running OS X. Many of the OS X features still exist. Apps classically available to OS X can also be run. But what about other apps, such as Adobe Freehand, have been left in the cold, not being able to be run on modern Macs.
Apple have been ruthless in the past; stripping away the original Mac OS code base for one based on NeXTSTEP, swapping the floppy drive for a CD/DVD writer, getting rid of the optical drive altogether. But all through these changes they have kept the ability to run old software, tools that people use everyday. With the transition to Intel, Apple threw away so much, and what they kept seems to have been too much to maintain.
Out with the old and in with the new. It doesn’t really affect me, I occasionally come across a PowerPC only app, but nothing show stopping. It does go to show how ruthless Apple can be, with everything, even software.
Bootnote: This is an old post that I’ve tidied up a bit, the thread was somewhat lost in the time between when I first thought of it and now.
Saturday, 07 Jul 2012 19:20:38 · 6 minute read · Comments
Late as always, Apple’s 23rd WWDC kicked off almost a month ago after selling out in just 1h43m! This years event kicked off with Siri warming up the crown and GarageBand on an iPad playing a sting after each joke.
Apple touted some interesting facts about the App Store
- 400+ million accounts
- 650,000+ apps
- 225,000+ iPad specific apps
- 30+ billion app downloads
- $5+ billion handed out to developers
We were then launched into the Mac half of the event…
Keeping the same design as the last generation, the new Air gets updated CPU, RAM and graphics, better IO to the SSD, and USB 3.
[table id=2 /]
It should be noted that whereas some manufactures are installing separate USB2 and USB3 ports, Apple has integrated the two into one physical port.
****The ‘Pro has similar updates as the Air.
[table id=3 /]
The New MacBook Pro
The New MacBook Pro shows us the direction that Apple are going to take with its products. It’s just as much about what is has as what it hasn’t…
Dubbed The MacBook Pro with Retina Display, this beauty has a 2880x1800 display, at normal viewing distances the naked eye cannot distinguish one pixel from another.
This ‘Pro doesn’t have an optical drive, or a spinning hard drive. It has soldered RAM modules. There isn’t a FireWire or Ethernet port…
Its biggest asset is the Retina display, but it also boasts a new thinner design, just a little thicker than the Air. It has a newly designed thermal system too, bringing air through gills in the side of the laptop using asymmetrical finned fans to reduce perceived noise levels.
The Retina display packs a whopping 5,184,000 pixels onto the 15.4” screen. It has more pixels than an HD TV. There are so many pixels that the preview window in Final Cut Pro displays HD video!
[table id=4 /]
OS X Mountain Lion
Apple also announced Mountain Lion, the eighth major release of OS X. The company was quick to note that in nine months 40% of OS X users are currently running OS X Lion, Windows 7 has achieved the same percentage in 26 months. They also announced 66m OS X users, triple that of five years ago!
Mountain Lion is packed with over 200 new features of which Apple demoed eight.
- Talk to type
- Siri-like interface
- Works in any text area - MS Word, Wordpress, Facebook, etc.
System wide sharing
- Much like the iOS “Share to…” integration
- Chrome-like unified search/URL field
- iCloud tabs - Tabs across multiple devices
- Keeps your MacBook (Air/Pro) up to date while it sleeps
- Up-to-date iCloud
- Time Machine backups
AirPlay Mirroring to Apple TV!
Mountain Lion boasts 1,700 new APIs for developers to use. It will be available via the Mac App Store in July for just £13.99 and will upgrade all of your, compatible, personal Macs running Snow Leopard or Lion.
Apple’s last announcement was iOS 6. iOS is currently running on over 365m devices, and 80% of those devices are running the latest release (iOS 5). Apple took a jibe at Android where is noted that only around 7% of its install base is running the latest version. Apple also gave us a quick insight into some push notification stats, on average Apple pushes 7b notifications a day! And by WWDC had pushed over 1.5 trillion notifications to iOS devices!
Packed with over 200 new features, Apple demoed just a few.
- Eight months old
Learning new skills
Sports (e.g. player cards)
Restaurants (e.g. ratings)
Movies (e.g. reviews)
Working with a number of car manufacturers
Single button to interact with Siri on steering wheel
No need to take eyes off the road
Even more languages
Worldwide local search
Available on the New iPad
Facebook integration - e.g. ‘like’ stuff on App Store
If you get a call at an inconvenient time, e.g. a meeting, you can now slide up the lock screen to send a predefined SMS (e.g. “I’ll call back soon”), you can also set a reminder so that when you leave the area you are currently situated your iPhone will remind you to call the person back.
Do Not Disturb (same as OS X)
- Current WiFi only restriction to be lifted
- Unified Apple ID and phone number (to better integrate FaceTime for Mac, iPhone, iPod, iPad)
- iCloud tabs - start where you left off when you left your desk
- Offline reading list
- Easy photo uploading
If you are on a company website that also has an iOS app, a notification will slide down with a link to the App Store.
If you install the app then the website owner can pass the app data so the app can start up with the same information you were looking at on the website
Fullscreen mode in landscape
Choose photos and friends to create a stream album
Available in iPhoto, Aperture, website, AppleTV
- VIP inbox for urgent mail
- Flagged messages inbox
- Insert photos and videos from Mail!
- Open password protected (some) documents
- Pull to refresh
Think of all the passes you might have
Airport boarding pass
Electronic versions in one place
Location based notifications
Place pass on the lock screen for easy access
Update the balance on a store card
Update the gate number on a boarding pass
And many APIs for developers to get their hands on.
iOS 6 will be available on the iPhone 3GS and higher, the iPad 2 and higher, and the fourth generation iPod Touch.
That summed up WWDC 2012. Time Cook came to the stage to wish everyone a great week and closed the keynote.
Friday, 01 Jun 2012 07:25:35 · 1 minute read · Comments
If you have an iPhone and an iPad or a Mac running Messages.app you may have noticed that messages don’t seem to appear across devices, or that you have multiple conversations for someone.
Think of email, you have one email address (e.g. firstname.lastname@example.org) and if someone emails that address, you can receive the email on multiple devices (e.g. iPhone, iPad, and Mac) so long as you’ve registered that email address with the device.
iMessages are the same. You can add email addresses to iMessages and when someone sends an iMessage to that email address, you’ll see it on every device it’s registered to.
Setting this up is really easy:
- Open Settings
- Tap Messages
- Scroll down and tap Receive At
- Tap Add Another Email
- Type new email address
- Verify the email address
- Off you go!
Once you have verified the address you can send and receive iMessages form and to the email address and the phone number!
Wednesday, 23 May 2012 16:52:51 · 1 minute read · Comments
Adding colourful emoticons (or smilies) to texts, emails, and messages can help to liven things up a bit. Unfortunately the Emoji keyboard isn’t accessible by default, but this post will show you how to enable it!
- Open Settings
- Tap General
- Scroll down to Keyboard
- Inside Keyboard you will find the International Keyboards menu, where you can add more keyboards
- Tap Add New Keyboard
- Scroll down and tap on Emoji (the list is alphabetical)
- Close Settings and open Notes
- Create a new note
- Tap the ‘world’ key, between the 123 key and the space bar
- Enjoy the plethora of emoticons!
There are five categories of emoticons, each having three to seven pages of emoji goodness!
Monday, 12 Mar 2012 04:30:50 · 3 minute read · Comments
Back in 2010 I complete my dissertation. The idea for my diss came to me while sitting in Starbucks in Camberley sometime during my time at Sun Microsystems, probably early 2009. The idea was quickly jotted on the back of a Starbucks serviette.
Applications crash and can take down a system, if we could virtualise the application and separate it from the system then it couldn’t bring it down. This was the subject of my diss and I mostly implemented it using OpenSolaris Zones.
The idea was more than that though, I thought that files should also be chopped up and placed into separate areas (at the time I was thinking separate ZFS file systems). Separating files into types would mean that one could limit what information applications could get hold of (why would an image editor need access to word documents, for example?).
Here’s an image to somewhat illustrate my point:
Now, back in 2010 I used the phrase “Virtual Application Environments”. Today I feel quite silly, as everyone simply calls it “sandboxing”, Wikipedia has this to say about sandboxing:
> a sandbox is a security mechanism for separating running programs.
My diss somewhat successfully implemented sandboxed applications, but these apps had access to the whole of the current users home directory, so obviously didn’t implement the second part of the idea…
What is interesting is that this is sort of how the iPhone works, in so much as there are documents, photos, movies, music, and the user only really sees these through specific apps - so the Photo app doesn’t view documents, and the iTunes app doesn’t view photos, etc…And now a similar thing is happening on the Mac with the Mac App Store.
A short while after I had this idea in Starbucks, I began to think about how users could use a thin client (like a Sun Ray) and access sandboxed apps, running inside virtualised machines, running a variety of operating systems, all being able to access segregated file systems for different file types.
Let’s have a think about that. A thin client connects to a main server, this server can then connect to other systems (virtual or otherwise) and run apps from those systems. Apps on the remote systems are sandboxed for security and stability. All the while the user thinks that they are using a regular computer.
Now I’m very excited! OnLive have released a product called OnLive Desktop. It allows you to access a MS Windows 7 instance from a tablet, right over the web. So we begin to see this thin client (iPad) access a remote system (Win 7) to run apps. All we need now is for the Win 7 instance to be able to run a multitude of Linux and OS X apps (by somehow forwarding the app from the Linux/Mac system to the Windows system (something like X11 forwarding)) and my idea would have become a reality!
Wednesday, 08 Feb 2012 17:45:47 · 2 minute read · Comments
Once upon a time I had the notion that I would post something vaguely interesting or helpful once a month. While working at Sun that was easy (also making myself blog about my weekly activities for later reference helped), even my final year of uni I pretty much managed it, but I now look back over the last few months and see that I’ve not posted anything really since early December, and before that sometime in October.
I am still alive! Still working on the ERTMS project in Machynlleth which is going well and with each new software update the system is getting more and more stable.
Outside of work I am working on some bits in the virtual world of Second Life, a good friend of mine creates objects and I have started writing scripts in the Linden Scripting Language to make his objects more interesting/interactive.
OH! I’ve got a new iMac! A sexy 27” beast, equipped with a 3.4GHz Intel i7, 16GB RAM and an AMD Radeon HD 6970M (2GB). It replaces my three year old Mac Pro which I wasn’t using to its full potential - so if anyone wants a 2009 Mac Pro (2x Intel Xeon 5500, 6GB RAM) let me know!
Right, now I’ve got to work on something interesting for me next post!
Sunday, 25 Dec 2011 08:00:21 · 1 minute read · Comments
Just a quick post to wish you all a very Merry Christmas
Saturday, 10 Dec 2011 23:52:18 · 1 minute read · Comments
Ars Technica recently published HP’s decision means webOS could end up more open than Android.
The fate of WebOS has had people pondering since HP announced it was going to stop developing WebOS. It has been suggested that HP should open source WebOS rather than just killing it. It turns out that that is exactly what they are going to do.
Now this raises an interesting question, could WebOS be more open than Android? Many of us know that you can download most of the Android source, and that you can build Android and put it on your phone, but it’s not a community driven project, indeed it seems to somewhat shun the community.
I seem to recall that when Richard Stallman came to Aberystwyth University, he said something like “Android is not open, but it’s the best we’ve got right now”.
I know a number of people who have rejected the iPhone and the Apple culture because it is extremely closed. These people have promoted Android as the open alternative.
My question to these people who wanted the open option: When HP opens up WebOS, will you all be jumping ship to the truly open source mobile OS?
When we purchase a piece of Apple hardware or software, we must accept a EULA before we use it. It’s pretty standard in the proprietary world to put measures in place to restrict a user’s use of the product.
I am pretty confident that hundreds of users click “accept” every day without reading such a license , let alone understanding it.
I have fallen in to this trap too, what “freedoms” am I signing away to Apple? Over the next few weeks I’m going to sit down and read the EULA for Mac OS X Lion, iTunes, and iOS 5. Am I really happy with signing these “freedoms” away?