Tag Archives: opinions

I’m a highly opinionated person and always up for a good debate over something. There are my personal opinions and don’t necessarily reflect that of my company, my clients or other business involvements.

Impatient Linux geek’s review of Win8 preview

As you undoubtedly know, I’m one of Microsoft’s biggest fans [1], so I eagerly downloaded the newly released Windows 8 Developer Preview to take a look at what they’re aiming to with Windows 8.

This post is just based on a quick look as someone who runs Linux 24×7 for everything, has a lot of familiarity with Windows XP as a user and admin, some Windows 7 user-level experience and without looking through the online resources or keynotes about new capabilities – a pure “fire it up and see what happens” test and figuring out things as I go along.

[1] OK, maybe not really. [2]
[2] OK, so maybe I hate the company, their proprietary products and culture of lock-in. [3]
[3] Fuck Em

 

Environment

To begin with, I downloaded the 32bit OS ISO – mainly because the memory requirements and download sizes are less than the 64bit release and I wanted to see how it would go with 1GB RAM – an amount not unreasonable to expect on lower power tablet computers currently on the market.

I installed it onto my RHEL 6-based Linux KVM server (Kernel-based Virtual Machine, a fantastic virtualisation platform shipped with the Linux kernel and packaged into a number of distributions such as RHEL 6).

I didn’t bother looking for any paravirtualised I/O or networking drivers for Windows 8, so the guest was running on emulated IDE hardware, thus ensuring that I/O would not have anything resembling performance, so I haven’t critiqued Windows 8 for performance at all in this review. :-)

Apparently a lot of people have had problems trying to run Windows 8 on VMWare, but Linux comes through again as an impressively capable platform for virtualisation. [4] :-)

 [4] To date, KVM has virtualised for me: Linux, Windows, BSDs, Minix, HaikuOS, several large routing companies OSes and more. :-)

 

Installation

Installation was typical as per any OS installation from ISO media – virt-install read the ISO fine, launched the windows installer and proceeded to install with a very Windows 7 like installer.

It did “feel” faster than a Windows 7 installation onto the same platform I did recently, however that is purely anecdotal and may be impacted by 32bit vs 64bit install size differences.

After the base installation, typical reboot happened, although it appeared to cause my VM to shutdown rather than reboot – after powering back on, Windows 8 proceeded to take me through the re-done setup screens.

Did you hear? Green is in this year!

It’s a big change from previous install screens – looks like Microsoft pretty much tossed out the UI and started again, basing everything around the colour green.

However it does appear they’ve lost some UI concepts in the process – for example, in the above screen I needed to set a computer name – but clicking in the name field didn’t display me a cursor, nor did the example text vanish, typical responses of most current OSes.

I also found that Windows 8 would refuse to take “devel-win8-pre32” as a hostname, considering it too long – this isn’t really a problem for your average home user, but drives a power user like me up the wall – I want hostnames that suit *my* desires damnit!

Taking a leaf from Apple, or even Google's Android, Microsoft is tying the OS to their online services - although the paranoid can bypass - for an average users, the synchronization features sound like a nice touch.

Not being a Windows Live user (I have an account lying about for occasional use, but not for anything important) I originally tried to bypass the Windows Live registration step, but found that the installer crashed out with an error later on when I did.

After retrying with an “advanced/custom” configuration behaviour and using Windows Live it worked successfully – or at least it didn’t complain about anything I entered, I’m still a little unsure as to whether it logged into an existing account or just created me a new one.

Some UI confusion there - Windows tells me it's creating my Windows live account, but that account already existed....

Being impatient with a GUI OS not giving me any nice console messages to read (like any nix geek really – everyone wants to know what the OS is busy doing!!) I started clicking impatiently and was rewarded with a nice placeholder screen:

Well at least it's not blue?

(It’s actually a major improvement – impatient clicking is the leading way I cause Windows desktops to fall into performance hell, many a time I have attempted to do too many tasks on a Windows XP system to have everything in the OS crawl to a halt, because it can’t handle the usage patterns I’ve picked up from my Linux environment.)

The Windows 8 UI did feel quite sluggish under the VM, but this is something I’ve noticed with Windows 7 as well – suspect it’s due to the newer UI/rendering in their GUIs which doesn’t play nicely with the un-accelerated 2D VM viewer sessions, rather than any actual fault with Windows.

Despite my best efforts to break it, it eventually completed and I ended up at the shiny new Windows 8 “Metro Style” home screen. :-)

 

Operation

Oh Hai Metro!

First impressions of Windows 8 is the new Metro style interface – it’s essentially a number of large clickable buttons in a minimalistic style UI – upon clicking a button, it’s application is launched in full screen mode – with a roll over application-specific popup below.

Metro-aware applications launching in fullscreen - in this case, IE accessing my site - note the minor scrollbar and the popup black bottom OS menubar.

The first thing you’ll notice is the very tablet inspired UI – whilst navigable with a mouse, more conventional UI designs are probably still faster/easier to work with – although this is something that may change after a lot of use.

However with touch, this must change a lot – it will be interesting to hear about detailed reviews from users of touch devices with Windows 8.

I did note the non transparent IE icon on the black bar sticking out awkwardly – maybe MS is still having trouble with image transparency in browsers…. :-P

 

The biggest issue I have with the UI is actually how to get out of it – I found that by moving my mouse to the bottom left corner, the windows start menu – or at least, what remains of it – pops up in a very web-like fashion and you can click to return to the main home page or perform a number of other tasks.

But not always – I managed to get myself trapped inside a paint program that kept blocking the mouse action to get the start menu – and without any windows keys, I was left only with CTL+ALT+DEL to rescue myself.

I'm the new start menu! Don't expect to find anything on me!

The other main issue for me with Metro, was that I *couldn’t* figure out initially how to actually launch conventional programs – since only new metro applications appear on the home screen.

Turns out you now “search” for the programs that you want, or be presented with an alphabetically sorted list – it will be interesting to see how it looks after a user installs 50 conventional applications with half a dozen menu items each, but search does seem to be the way that a number of user interfaces are pushing people towards.

I guess I’m a somewhat old school user who likes my hierarchical menus rather than search – for that reason even some of the newer Linux GUIs cause me pain – but I can respect that the design of these UIs probably aren’t aimed towards people like me.

This is your punishment for loving Google too much, all your UIs will be replaced by search boxes! Mwhahah, search everything! Eventually you'll be searching for search tools to do your searching!

Oh and BTW – don’t rely on the search box – I tried to search for “shell” but didn’t get either traditional command line nor Powershell – not sure what’s happening there….

What is interesting is what happens when you launch a conventional application – I found myself suddenly watching some page flipping graphic animation and being taken to a familiar friend:

I'm a geek, let me tweak something dangerous! >:-D

This probably highlights my single biggest complaint with Windows 8 – it’s not that they changed things, it’s that they didn’t change things _enough_.

IMHO, Microsoft should have thrown out the 1995 derived user interface and gone full on into this new Metro design – with a bit more work, I’m sure it could handle all the same needs just as well.

It’s like Microsoft was split into two teams – one wanting a design for 2011 and one wanting to retain the good old tried and tested design, but instead of either side winning, ended up with this weird dual mode operation.

Of course I’ve always argued that Microsoft should have moved to a BSD based backend like Apple did with MacOS – take the best from the open source world and then build their Windows libraries and APIs ontop of that platform – increase stability, reduced development in the low lever space and ability to move on from win32.

In terms of classic application UIs, a few old friends have had some UI changes, although maybe not so much for command line which has managed to survive a remarkable number of Windows releases whilst looking ugly as fuck.

More graphical wiz in task manager to make sure it runs even slower when your system is crashing.

And of course, the controversial file manager UI changes feature:

Sadly the send to box still lacks "send to pirate bay" or "scp to a real computer" :-(

Whilst I’m sure many readers will lynch me for this, I actually find the new ribbon style interfaces great – I suspect this is because I only really started using MS Office heavily with 2007+ and I found learning with the ribbon easier than with the traditional menu style layout.

Users having to learn new habits will probably hate it though and consider me mad for liking it. They should just harden up and use a CLI, always faster for a power user anyway.

Speaking of which….

 

Command Line, Fuck Yeah

Apparantly Microsoft has had an improved shell around for a while to replace CommandLine, called Powershell – I won’t go into too much detail about it as it’s not really new to Windows 8, but do want to make some comments because it’s the first time I’ve had an actual play with it:

It essentially looks like they took some of the UNIX concepts and built a new shell for Windows that doesn’t entirely suck like the older one – hey, it even has a “ps” command and has other nix-isms like ls and pwd.

Sadly they didn’t implement the “uptime” command so you can’t compare days online without blue screens nor is there a “uname -r” for kernel version boasting contests. And as a helpful addition, I found a remarkable lack of –help parameter understanding.

Hi, I'm windows! I've finally evolved to where UNIX was in 1980 :-P

Over all, it’s actually pretty nice – doesn’t stack up next to a modern Linux CLI, but miles better than the horror know as cmd.exe :-/

TBH, with Windows 8 they should dump the bloody command shell already and make people get with the program and adopt powershell – at worst it might break a couple batch files or some legacy launchers, but with the massive advantage that Linux geeks like me won’t be able to mock the crappy primary CLI so much. [5]

[5] I’m sure I’ll still find a way to mock Windows. :-)

 

Conclusion

Over all I found it an interesting system – it feels like they’re halfway between building a new style of desktop OS yet still have that legacy windows feel stuck behind it they just can’t shake.

I would often find myself dumped back to a somewhat Windows 7-like environment but with a funny acting start menu.

I did find the newer UI a bit more mouse intensive – having to cursor down and pause to get the start menu popup – however I suspect people with bad keyboards [6] will find that the Windows keys might make life easier to launch it.

[6] anything not an IBM Model M

We don't need no frigging Windows key! This household only has real keyboards boy!

 

I have yet to get into the real guts of the OS to see how it’s networking performs, how much memory it eats and how well legacy applications run – this might be tricky without paravirtualised drivers, since the emulated drivers do make an impact on performance.

In terms of quick checks at memory and CPU usage – with only a couple basic OS applications running, the VM was using about 400-500MB out of 1GB assigned and minimal CPU – probably around the same as a Windows 7 install, although maybe a bit less CPU wastage.

And in the hour I spent playing with it, I didn’t cause any nasty crashes – of course, once given real workloads and a variation of different applications and drivers, stuff will get more interesting. :-)

I’m genuinely optimistic about where MS is heading with Windows and their development in general – this is the first Windows release that I believe is accessible for the general public to download and play with, a more public development model will certainly pay off for them with community feedback, bug finding and also just general awareness and free marketing about Microsoft’s new capabilities.

Having said that, for a power user, there’s no way I’d move off Linux to Windows 8, even ignoring the philosophical differences, I still find the Windows architecture too restricting for my liking.

And developing for the new metro interface sounds like a trap for the unwary with restrictions similar to mobile application stores – not everyone shares my concern, but I’m extremely worried about heading into a future where the majority of commercial operating system vendors can control what applications are allowed to be released for their platforms.

 

In terms of the tablet audience, it will be interesting to see how it fares – whilst the iPad and Android tablets are going to pull off the tablet experience slicker/better (IMHO) the ability to run regular windows programs as the line between PC and tablet converges will certainly be attractive to some – and unlike Microsoft’s past forays into tablet computing, they’ve actually done more work than just slapping a touch screen onto a laptop and calling it done.

And that’s me for now – I may come back with some more on Windows 8 in the next few days, but I’ll prob be moving on to doing some reviews of weird *nix style operating systems I’ve been playing with.

Cooling Upgrades

Since building my new KVM server in January, I’ve been experiencing random occasional system crashes – sometimes months apart, other times a couple in a week.

I’ve been trying to trace the cause, but this fault is hard to diagnose – there’s never been anything output to display, nor anything in system or even BIOS logs.

  • Unlikely to be a kernel panic, no output to console, nor syslog, plus running CentOS 6 kernels which are usually pretty damn stable being rebuilt RHEL kernels…
  • Unlikely to be some weird disk fault, I replaced all the disks recently but still experiencing the same issue – and when the fault occurs, all the RAID arrays get upset, even independent arrays on different controllers.
  • Possibly a motherboard firmware issue, however upgraded to latest BIOS version and unable to find any similar problems online.
  • Possibly CPU/Memory/Motherboard hardware faults.

However with the recent addition of a properly configured Munin server to my network, I’ve started graphing all the temperature sensors from my server – what I found, is that the AMD Phenom II 810 CPU is running hot – very hot infact, at around 60-70c, and the crashes were occuring once the CPU peaked at 70c.

I had initially discounted thermal problems, since the case has great cooling and I’ve never historically had calling problems with the stock cooler on AMD CPUs, especially since the CPU is not being overclocked.

However unlike many other systems I’ve built, this particular host is always heavily loaded – I’m running about 20-30 KVM virtual machines on it and there’s always a whole bunch of active processes, plus disk encryption CPU overhead.

And looking at the stock cooler, it’s not surprising that it’s been overheating – it’s basically a block of plain aluminium  – there aren’t even any heat pipes, unlike the stock cooler that ships with the black edition model.

My stock AMD heatsink - dusty, boring, poor thermal conductivity and no sexy heatpipes.

 

So I’ve replaced the heatsink with a nice new Zalman CNPS9700LED copper cooler – it’s a big beast, 790g and certainly wouldn’t fit in a lot of cases – but once installed, you can feel how the large fan blows air out over all the copper fins – there’s a really good airflow with the design to ensure heat gets radiated off quickly.

Pretty new cooler, all installed - without a case window, this pretty LED lighting is lost on me though.

Here’s the pretty graphs showing the difference that this cooler made to my server – please excuse some of the gaps, Munin has been having a bit of fun with virtualised workloads and timeouts….

It’s well worth the ~ $100 NZD based on the thermal difference it made – my CPU has gone from 60-70c down to 30-40c and so far, the server is running solid without fault.

From the graph, the CPU (green) is running a good 20+ degrees cooler than it previously did, but in addition, the motherboard chipset (blue) is also running cooler – most likely caused by the CPU cooler fan pulling in air right over the heatsink on the motherboard, assisting it with cooling.

(I’m running the cooler at low speed with the stock Zalman thermal paste too – if you turned the fan speed up higher or used fancier thermal pastes, lower temperatures or more thermal conductivity might be possible.)

In terms of the hardware supplied by Zalman, it’s a pretty good package – the cooler comes with some decent thermal paste, application brush, cooler, and connectors for various model CPUs.

My only complaint was that the design with the AM3 socket, means that the cooler outtake doesn’t line up with the rear case fan – however this is a lesser problem, since the hot air radiates out all over the cooler and is quickly removed by the fan anyway.

In terms of whether it’s fixed my issue, it remains to be seen – the crashes were not always consistent and I won’t call it as “fixed” until I get 4 months solid run time without occurrences, but I’m optimistic.

Waste Overload

Getting pretty tired of the amount of waste that gets generated, even by somewhat recycling conscious individuals like myself, kind of depressing considering how much we send to landfill as a society.

Being in IT doesn’t help, a lot of stuff provided ends up being waste or is generally non-recyclable.

  • Amount of packaging – stuff often has way too much packaging, bubblewrap and worst of all – polystyrene.
  • Cables wrapped in plastic bags! IT companies worldwide, looking at you…. WTF companies, it’s a frigging *cable*, it doesn’t require a special bag.
  • Poor recycling in Wellington – the number of times that recycling has been incorrectly rejected or completed missed is beyond infuriating, and with apartment life it’s not possible to do organic recycling ourselves.
  • e-waste is almost impossible to get rid of in Wellington, without resorting to dumping or paying high fees to get it recycled – if it can be recycled.
  • Conferences – this is actually what got me started on this post, whilst tidying my room – every time I leave a conference, I end up with a bag, booklets,  lanyards, trinkets and other junk that I actually just don’t really need, and a number of bits if unable to be given away, will end up being landfill (this point ties into my goal for less stuff somewhat)
  • Media – we can’t recycle CDROMs, floppy disks, yet I receive hundreds of these disks that I don’t need every year.

Unsure what (if any) improvements I can make, at this stage my procedures are pretty much limited to:

  • Storing and reusing packaging – typically boxes, which are easy to store.
  • Recycle anything that Wellington city council will take.
  • Sell or give away older electronics, recycling by reuse – but this isn’t always feasible, people tend not to want certain items, like obsolete cellphones or CRT displays.
  • Try to avoid foods that have non-recyclable packaging – this tends to be less of a problem for me, most stuff I reuse, even takeaway containers.
Additional thoughts?

Optimizing Life

Lately I’ve been feeling pretty annoyed at some of the things going on in my life, so trying to make some improvements, looking at what I dislike about my lifestyle currently.

  • Credit Cards – A necessarily evil – I do a lot of travel and they are vital for that – but at the same time, terrible habit of putting all my purchases onto them and not really realizing how much is being spent until I get the bill… Moving to using EFTPOS more to better track regular spending.
  • Services I don’t need – this is an easy one to get into, been looking at what I pay for – maybe I don’t need 5 SIP trunks and/or 20 domains – it’s easy to say that something is only $15 a month or so and doesn’t really matter,  but over a year it adds up….
  • Paper Mail – physical bills and letters are extremely annoying, working to move everyone who sends me paper materials to electronic forms and culling as many mailing lists as possible.
  • Email – I get way too much email and the fact is, about 50% of it I don’t care about… I’m being pretty brutal lately and unsubscribing from lots of different lists and groups.
  • Computers – As part of my goal of reducing the complexity of my computers, by the end of the month, I will have decommissioned one of my two collocation servers and my flat server infrastructure is down to a single tower and router/switch, as well as having completed a number of VM reductions and improvements.
  • Stuff – Been going pretty well at my goal of reducing the amount of stuff I have, down to a final few servers to sell off, and a few boxes of bits to sort through/out.
  • Car – Having recently obtained my full license and not needing one much for work now, tempted to consider selling off my car – after all it’s expensive to run and TBH, I prefer to walk to most places. Thinking something I might visit later this year, at least at my current flat parking isn’t that expensive.
  • I fucking hate TVs – We have a 32″ TV in the lounge – whilst it’s not connected to public broadcasting, it’s far too easy to just blob infront of it and waste time away watching stuff. I’d much rather sell the TV to discourage myself from wasting so much time and instead spend it on the computer doing more geeky things. And I have more than enough LCDs to watch things on anyway. :-)
  • Business – There’s a number of things I do that cost a lot, make little money and add to stressful life – which makes little sense, so I’m culling some things and focusing on those I enjoy and which do help me in my savings goals.
  • Games – I need to play a few more games, do more fun hacking, in general, taking some de-stressing time away from computers, but in a way that’s more interactive than just passive entertainment.
  • Open Source – There’s a lot of content I’m working on, I need to force myself to make the time to get it out into the public.

So a number of areas to work on improving – want to obtain a better life style, stop wasting so much money and generally feel like I’m doing something a bit more productive with my life.

I think part of it is that very scared of falling into a “work, come home, watch stuff, sleep, repeat” habit and starting to feel like it’s more of a possibility.

I want to feel motivated, complete geeky projects and do amazing things – one of the most depressive things I’ve seen has been people I know who do nothing but watch TV all evening after work, never doing anything exciting, challanging or geeky.

(of course, each to their own, but to me, there’s nothing worse than that life style, I need more challenge, to make something valuable and worthwhile).

Hopefully by posting this, I’ll have a rough list of aims that you can all accuse me of failing if I start to stray to motivate me further. ;-)

The value of a tweet?

As we’ve previously established, I use Twitter. A lot. Too much, some might say. ;-)

I’ve been using twitter since 2009, during that time I’ve made a huge number of friends all over the world and keep in touch with many of them on an almost daily basis.

I’ve even met someone special on Twitter, stayed with friends in AU met purely on twitter and gotten myself into plenty of trouble and debates :-)

But Twitter has it’s downsides – time, dramas,  network lock-in and ever expanding social scene which is difficult to address.

  • Time: Twitter consumes massive amounts of time and I consider it highly addictive for an infoholic like myself – I need to keep refreshing, getting the next message, reloading.
  • Chains: Whenever I consider leaving twitter, there is always the realization that a vast number of the awesome people that I know could not have been met via any other means and that I wouldn’t keep in touch with them otherwise – my social circle has been massively expanded by Twitter, I can go to most major cities in AU and NZ now and have friends there I can meet with, which is pretty amazing for someone who spends most of his time on his computer writing code.
  • Proprietary Network: Most people don’t care so much, but I really dislike how Twitter is a single proprietary entity that is controlling all this communication –  Ideally I’d like to be using an open platform, for example StatusNet/Identica – but that then brings one back to the issue of being locked into Twitter due to the user base all being there….
  • Business: Your twitter profile is your personal conversational space, but it’s searchable for all employers, investors and journalists to access in future – there are already tones of cases of information being used against people in ways they didn’t expect which has come back to bite them. Of course one could make their profile private…. but that then discourages new people from following and making new friends.

And then there’s the dramas….. Twitter is basicly a giant high school clic at times and this can be pretty stressful at times.

  • Follows, Unfollows: People follow and unfollow all the time – since I’ve started using twitter, the selection of people I follow has changed heaps – maybe the person’s interests changed, maybe I kept getting into arguments with them, maybe they keep reminding me of that hawt evening long ago or maybe they just turn out to be douchebags. However unfollows tend to get taken personally and maybe Twitter users in general have this problem where we place too much value on a follow-based relationship.
  • Twittercide: Sometimes people get tired of Twitter – maybe for one of the reasons above – and end up quitting, often just deleting their account without saying goodbye – this actually really upsets me, would you just suddenly stop talking with any IRL friends without saying anything?
  • Past Hurts: In close communities, particular combinations like small cities like Wellington + Twitter, it’s easy to keep bumping into past regrets, exs or people you generally dislike. Worse even when you see people praising people who you know are complete jerks.

So as you can probably tell, there’s a lot about Twitter than I’m unhappy about – so I’m looking at making some improvements to the way I follow people and use it:

  • Enforce Limits: 150 friends, 100 other max. Science suggest that we can only maintain social relationships with 100-230 people at a time, and I’m not going to argue with science. That’s for conservatives to do.
  • Value Communication. Sure it’s amusing to follow certain people, but I don’t really need to read 100 messages a day about their partner dramas or the type of cushions their cat sits on. The key question I’ve been asking myself is, does this tweet really add value to my life? I learn some excellent things at times from industry peers, valued friends and such, if I’m going to limit the amounts, try and follow those who provide quality content – after all, my time is short and valuable, make sure I’m using it productively.
  • Realise that I don’t need to follow everyone. For a long time I’ve only really followed people who start engaging with me, but maybe I don’t need to follow people even if they do – if they want to have good conversations with me, that’s great – I’ll happily engage, but maybe they post too much crap at other times to be worth a follow.
  • Determine Friends from Fans: Fans will follow then get tired and unfollow you the next day without saying a word, friends are people you regularly engage with and wouldn’t want to miss – not everyone who follows is really a friend – and maybe I should try and cull who I follow back to be those who I actually care about.
  • I can block retweets. Some otherwise great people retweet some complete crap. But it’s possible to block just their retweets and I’m going to use this with more frequency to improve the messaging quality.
  • Less Time: I can get *amazing* amounts of geekery done when I’m not distracted by twitter every 5minutes – I’m noticing too many evenings where I do little more than twitter, and I’d rather spend a week of evenings doing geekery and then catching up with friends at a specific time.

 

As much as it pains me to say it, I’m pretty tired with Twitter. But I can’t quit, there’s too much value in the relationships there – so I’m trying to find a middle ground, between not having it and being totally addicted.

Maybe long term I’ll move off twitter, perhaps more use of my blog and IM will eliminate some of the uses I have for it, but whilst those allow me to maintain current relationships, I’m not sure if it really enables me to grow and find new ones.

Other ideas include more use of email lists and chatrooms around specific topics to hang out with like minded indiviuals. Or maybe write some bots to automate social interaction for me and send me summaried updates :-)

 

Standards people, use them!

I’ve been driving around in my mighty Toyota Starlet 1997 for about 18 months+ now and have finally gotten tired of only having a radio as my only source of audio.

I can get away with using radio when in the CBD with good alternative stations like Active who don’t have too many ads, but when doing roadtrips often there are large sections with no coverage or only poor quality commerical stations.

So I decided to buy a new stereo and settled on a Sony CDXGT500U stereo – primarily due to it meeting my two requirements in the cheapest formfactor – both an AUX 3.5mm input jack AND a USB socket for taking MP3s (sadly no Ogg or Flac tho).

Being a sucker for DIY I decided to have a go at installing it myself – I didn’t need anything too flash like new speakers or cable runs, just wanted the inputs really. Fortunately the installation of the stereo was pretty easy, but I ran into the good old problem of proprietary connectors/standards used by the different vendors.

 

  1. There’s no single standard for the mounting of devices in the car dash – in the case of this stereo, the mounting brackets supplied aren’t required and instead it bolts directly into the Japanese-style mounts.
  2. Sony doesn’t use a standard for their stereos.
  3. Neither does Toyota use a standard for their cars.

To make it work (without going to the pain of soldering/custom wire wrapping) I had to buy *two* different adapters – once for Sony->ISO and another for Toyota->ISO which cost a good $15 each from retailers.

We all love lots of daisy chained adapters!

 

On the plus side, I now have a new stereo installed, dragging my car out of the 80s and into 2011. It’s also the most expensive thing in the car now, although being a Starlet, it’s hardly a theft magnet.

This Starlet be totally pimped yo!

 

Sydney Visit

I decide to take a visit to Sydney for a weekend earlier this month and haven’t had a chance to get around to putting up the information just yet – so here’s my overdue blog post so that people stop nagging me about it ;-)

In 2011 so far I’ve been to Brisbane and Melbourne, so I wanted to add Sydney to the list of cities I’ve visited – part of me is still toying with a change of scenery and AU would certainly offer that, along with better weather.

 

Friday

First up, I flew in on Friday evening and meet up with my exploring buddy @chrisjrn who also decided that a lone New Zealander would threaten the people of Sydney too much, so came along to keep me under control.

We took the airport train in to the CBD, which is pretty fast and cost effective at around $15 per person, although the trains could do with a bit of cleaning and de-gettoing. :-/

After dumping bags at our dodgy Park Regis hotel, we started off having dinner at the City Extra restaurant down at Circular Quay – the food was mediocre, but the fact it’s 24×7 and right at the waterfront is pretty awesome.

Here's a dodgy looking @chrisjrn with the Sydney Harbor Bridge in the background.

One thing that I always find different about AU, is the cultural practice of paying for dining at the end of the meal, rather than upfront like we do at a lot of New Zealand cafes – it’s handy in that you can easily order more drinks/snacks, but it also means you can’t just get up and go afterwards like you do in NZ.

 

Saturday

The first proper day of exploring was Saturday morning – after waking up and leaving our hotel, we headed out for a coffee from some random in-the-wall place followed by a walk down to Circular Quay to attend the well known “Pancakes on the Rocks” resturant.

Sydney Town Hall (I think?)

Oh no, an Australian!

 

Two good looking objects, one in the foreground, one in the background ;-)

It's hard to get an idea of the scale of the bridge - this shot of the buildings at it's base helps show some of the size off

Pancakes on the Rocks was quite amazing – they have a huge menu of different style pancakes with big servings and topping options.

OMG PANCAKES

NOM NOM NOM NOM

I have to comment on the pricing, I found the meals pretty reasonable at most of the places I went to in Sydney – whilst many of the places I visited were in tourist zones, I found the prices I was paying to be around the same as Wellington NZ (excluding the currency conversion), which reminds me that I think Wellington is getting a bit pricey for what it is lately….

 

After pancakes, we took one of the ferries across the harbor to Manly – sadly I don’t have any good pictures of the larger ferry I was on, but I did get some of the smaller ones.

Ferry racing!

Sydney harbor is much larger than you initially think, and there’s also a section of military harbor space you can see from the boat.

Saturday spend most of the day raining, so we took a bus trip back from Manly to a station, then the train over the Sydney harbor bridge, to see the city without getting soaked wet.

I noticed that you can actually walk or cycle the bridge on regular pathways or even pay for a tour to climb up to the top of the bridge, which would be pretty good fun – if I have time, I’ll consider doing it on a future trip. :-)

Upon the return to Sydney, we visited the Apple store – whilst being a firm anti-Apple, pro-OSS, Android-loving fanboy, it was well worth the visit – Apple truly understands how to make a unique retail experience.

The flagship Apple store in Sydney

About 1/3 of the store floor space is a huge perspex staircase – something that would be unheard of in any other retail environment, but for Apple, this creates an impressive sense of awe at the store.

The shop was packed when we visited, with crowds gathering around tables playing with ipads whilst an Apple employee walked users through an ipad tutorial.

I think the staff really help make it work – whilst there several approached us to ask if they could show us any cool technology or help us in anyway, despite the store being flat out busy – something which would lead to you being ignored in a conventional retail store like DSE.

They also seem to actually know their stuff – something MagnumMac/Yoobee should learn – their staff are so hopeless I had to explain what OS X Leopard was once…. :-/

 

Like any yuppies, after visiting the Apple store, we headed off in search of fancy coffee – which we found thanks to @chrisjrn’s old uni haunt where we had the opportunity to have some siphon coffee. There’s a good write up on how it works and how to make it here, regardless whether you are a fan or not, it’s quite impressive:

Siphon Coffee!

Anything served in a steaming beaker is epic.

The coffee produced is very light, yet has a strong flavor of the beans, without being too bitter – it clearly wasn’t a common order, since the coffee guy then made us some other filter coffee varieties as tasters to please us coffee snobs.

After coffee, we wandered back through town, the chinatown area and then spent the afternoon/evening relaxing at the hotel and had dinner at some dodgy Irish pub.

 

Sunday

The rain finally subsided a bit on Sunday, so we were able to do more of the walking around the city that we had planned.

Sydney has a few older buildings, although nothing like the volume that Melbourne has.

I also had the delightful opportunity to meet fellow New Zealander @tanya for the first time and ended up dragging her along for breakfast at the coffee shop, where I proceeded to eat lots of her scrambled eggs after demolishing mine.

OMG it's @tanya

Be wary of strange Australians offering coffee

After coffee, we wandered back into the CBD, headed to the harbor and ended up taking the monorail around the city. Twice. Because monorails are just that awesome.

MONORAIL :-D :-D :-D

Sydney, viewed from a MONORAIL :-D

@tanya looking fierce on a MONORAIL

Me experimenting with the new front camera feature of my Nexus S.... whilst on a MONORAIL! :-D

After I was dragged off the awesomeness that is the monorail the interesting trip around the city, we said goodbye to @tanya who clearly decided that there were more exciting things to do than spending the afternoon with debating geeks.

@chrisjrn and I wandered along the waterfront around to Circular Quay, a variety of pics from that wander:

Sydney Maritime Museum

Like the software, the company also consumes an entire core for itself. (curse you Symantec antivirus!)

Waterfront - note that the modern glass building (third from the left) is where Google Sydney is now located

Dodgy backstreets of Sydney. And a finger.

"Ah crap, there goes my rental car deposit"

More waterfront. Note the oddly located ugly white tower on the left, clearly before they had good building bylaws.

Re-developed commercial wharves that are now restaurants and pubs.

Some random bridge. No idea what. ;-)

No shortage of steel there....

 

Finally after wandering around for the day, we had coffee with twitter friends @notsarahnz and @felidofractals before heading back to the hotel to collect bags before heading to the station and then the airport.

Tube Train! (Well not quite.... but it is underground!)

Overall, I really enjoyed the visit – not sure if Sydney is somewhere I would live long term (too much sprawl – I’d prefer Melbourne or maybe Brisbane), but it’s certainly a nice/interesting place to visit for a weekend get away.

 

Sony & Identity Theft

By now most people have heard of the Sony Playstation Network getting hacked and around 75 million accounts worth of information being obtained.

Ignoring the whole fact that someone owned Sony so badly and that they’re not even sure if credit card details got exploited, I want to examine the information that is being stored with Sony.

There are three key bits of information obtained from the breach:

  1. Login credentials of PSN users.
  2. User identify information, consisting of phone number, email address and age.
  3. Possibly credit card information.

The last mention is the most important – obviously any credit card breach is bad (also PCI-DSS compliance, WTF Sony?), but Sony isn’t sure if the card DB has been exposed or not at this stage and is making a general just-in-case recommendation.

Login credentials may be an issue depending how smart you are – if you’re one of those people who uses the same login on every site, this is a clear example of why you shouldn’t, and you can now enjoy changing the login details on every single site you use… (how many more provider compromises does it take till you learn this is bad??)

So assuming you didn’t use credit cards and used unique credentials, this limits the exposure to user identity information – this is causing huge outcry in the media, with some great quotes from different countries police stating how this is going to lead to widespread identity theft.

Which raises the following points:

  • Why are bank and other key systems requiring identification so poorly setup that all that you need is name, age and address to obtain?
  • All these details are already available online for anyone with a bit of sense, it’s hard to keep all this stuff private in the days of social networking.
  • What are the penalties for companies not conducting the proper validation and security checks on people signing up to things like loans?

Sure it’s bad that the information got compromised, but let’s consider that most of the identity information is already public.

Birthdates are easy to get with the widespread popularity of social networking, same for addresses which can be found from domain records, social networking, websites and more, along with contact details.

If this information is enough to then take out a loan or a bank account, then I think those providers have some pretty heavy explaining to do – far too many have sloppy validation checks which don’t reflect the realities of the 21st century.

Just last week, I had to “validate” my home address to obtain a driver’s license. All that’s required to prove my identity is some photo ID and a service bill with an address on it.

Faking a bill is hardly complex, most laser printers will make something that’s good enough to pass any regular inspection, it’s a step that is only going to catch out the most clueless of exploiters.

Wake up companies, seriously….

I know that some providers to take precautions, even when this may lead to some customer inconvenience/annoyance.

  • National Bank (NZ) would refuse to tell me anything about my account, unless I rang them from a number that matched their records for my account.
  • Visiting banks in person often requires photo ID, which can be faked, but takes a bit more effort.
  • My approach in business has always been to ensure a customer was emailing/calling from a known account, otherwise we would call back to confirm requests on their recorded number.

Although some of these approaches are becoming less trust worthy…

  • Email accounts are commonly broken into – because of this, if we get unusual requests or password reset requests, we often call back the client to confirm.
  • With the adoption of VoIP technologies, it’s becoming easier to assume someone’s phone number and send/recieve phone calls on their behalf.

Sadly there isn’t really a truly valid fix, there’s no identification that can be issued that can truly validate people’s identity and secret words or passwords are usually weakened by the fact that humans suck and choose terrible words or reuse them often.

I think the best fix is simply making sure service providers validate information such as ensuring customers have their last invoice & account number before making changes and that financial institutions or credit agencies follow strict security procedures such as photo identification.

Freedom vs Risk

I was having an interesting discussion on twitter this evening, in relation to driving age. Being under 25, the process of leasing a car and getting insurance is quite difficult at times – some places refuse to lease to anyone under 25 and insurance always has large price premiums.

The argument of some, was that statistically speaking, people over 25 have more mature brains and thus are capable of better driving skills and that maybe we should consider making that the legal age limit to drive.

I’m totally against such a suggestion – I’ve been really impacted by the current laws regarding driver licensing, it made it more difficult to run a business, encourages dangerous driving and restricts general freedoms.

NZ has the following stages of drivers license:

  • Learner’s License – must drive with a fully licensed driver (for at least 2 years) and display L plates. You need to pass a theory test to obtain and hold it for at least 6 months before you can progress.
  • Restricted License – limited driving from 06:00 – 22:00 only, passengers only permitted if one of them has had a full license for at least 2 years. To obtain, a practical driving test takes place and you must hold the license for at least 18 months.
  • Full License – unrestricted driving 24×7 with any passengers.

You can apply for a license at a young age in NZ – 15 currently – which I would argue is a bit too young – I actually waited until I was 20 before getting my restricted license, which I needed in order to get a car for business needs.

My problem then is that I had no option to be able to progress to a full license – after driving daily for 6 months, I would consider myself to have as much experience as many who sit the full test after 18 months, but there is no avenue for me to take a test to prove this.

The reason it’s such an issue, is that it started to impact me in business operations:

  • I couldn’t take a staff member in my car to attend a customer meeting.
  • Working late nights at client sides would be a problem, I couldn’t do a 02:00 upgrade and drive home afterwards.
  • It looks poor to customers if you can’t offer them a lift due to the possibility they don’t have a license.

It also impacts me personally:

  • I can’t give my flatmate (who also is restricted) a lift anywhere that we are going to. Yet I would argue that it is FAR more dangerous to have two 20-something males taking separate cars to the same place than it would be for them to share a single car.
  • You can’t take an unlicensed girlfriend/boyfriend anywhere.
  • You can’t pick up elderly or young family members, who instead need to use public transport, which even in a city link Wellington tends to be pretty poor.
  • Young friends who have obtained full licenses often still can’t drive as my passenger since they haven’t held it for at least 2 years yet.

Violating the terms of a restricted license will impose a $400 fine, which is almost 2-3 times as much as running a redlight – an action that I would argue is far more dangerous.

I think it’s a pretty poor system as it is – I’d prefer to see a faster paced process but with more driver education/training in place (my German friends would certainly attest to this being desirable) to enable drivers to move forwards faster by proving they have the skills and comfort behind the wheel.

Raising the limit to 25 would mean that I would be unable to live like a proper adult/member of society until I’m 27 at the earliest – if we consider 18+ to be smart enough to drink, smoke, fight, die, marry, then I think we need to allow them to drive, even though there are some higher risks.

One could argue that we should do anything possible to reduce road tolls, but as a society we have made the choice that freedom comes at a cost, we can’t expect people to live a life where they aren’t allowed to do anything that could be harmful.

I would argue that lifting the age limit to 18 would be reasonable – make it the same as legal adulthood, but imposing anything over 20 would be unreasonable discrimination against younger members of society and put us on an unlevel life quality and business level.

I’d also suggest combining that with some sane limits on engine types and vehicles, 18 year olds don’t need to be driving turbo charged V8 engines – many of the youth crashes tend to be overpowered vehicles, have them on more limited vehicles and perhaps we’ll see less harm.

Of note, I think the focus on driving deaths is actually very poor form by NZ authorities – there are infact MORE deaths by suicide and depression in the youth bracket than there is from driving incidents – something which tends to be overlooked by the media and authorities – if we want to save lives, this might be the first place to start.

Day 23 – Post a review of an application that you use

This late post is part of my 30 days of geek challenge.

I figured it would be a bit too naracistic to review my own software and a bit boring to review some of my ever day applications, so instead I’m going to do a post about a rather geeky application – KVM virtualisation.

 

About Virtualisation

For those unfamiliar with virtualisation (hi Lisa <3), it’s a technology that allows one physical computer to run multiple virtual computers – with computers getting more and more powerful compared to relatively stable workloads, virtualisation allows us to make much better use of system resources.

I’ve been using virtualisation on Linux since RHEL 5 first shipped with Xen support – this allowed me to transform a single server into multiple speedy machines and I haven’t looked back since – being able to condense 84U of rackmount servers down into a big black tower in my bedroom is a pretty awesome ability. :-)

 

Background – Xen, KVM

I’ve been using Xen in production for a couple years now, whilst it’s been pretty good, there have also been a large number of quite serious bugs at times – combined with the lack of upstream kernel support, it’s given Xen a bit of a bad taste.

Recently I built a new KVM server at home running RHEL 6 to replace my data center, which was costing me too much in power and space. I chose to dump Xen and switch to KVM, which is included in the upstream Linux kernel and is a much smaller simpler code base, since KVM relies on the hardware virtualisation capabilities of the CPU rather than software emulation or paravirtualisation.

In short, KVM is pretty speedy since it’s not emulating much, instead giving the CPU the hardwork. You can then combine paravirtualisation for things like network and storage to boost performance even further.

 

My Platform

I ended up building my KVM server on RHEL 6 Beta 2 (before it was released) and am currently running around 25 virtual machines on it with stable experiences.

Neither the server or guests have needed restarts after running for a couple months without interruption and on a whole, KVM seems a lot more stable and bug free than Xen on RHEL 5 ever was for me. **

(** I say Xen on RHEL 5, since I believe that Xen has advanced a lot since XenSource was snapshotted for RHEL 5, so it may be unfair to compare RHEL 5 Xen against KVM, a more accurate test would be current Xen releases against KVM).

 

VM Supend to Disk

VM suspend to disk is somewhat impressive, I had to take the host down to install a secondary NIC (curse you lack of PCI hotswap!) and KVM suspended all the virtual machines to disk and resumed them on reboot.

This saves you from needing to reboot all your virtual systems, although there are some limitations:

  • If your I/O system isn’t great, it may actually take longer to write the RAM of each VM to disk than it would take to simply reboot the VMS. Make sure you’re using the fastest disks possible for this.
  • If you have a lot of RAM (eg 16GB like me) and forget to make your filesystem on the host OS big enough to cope…..
  • You can’t apply kernel updates to all your VMs in one go by simply rebooting the host OS, you need to restart each VM that requires the update.

In my tests it performed nicely, out of 25 running VMs, only one experienced an issue, which was a crashed NTP process, quickly identified by Nagios and restarted manually.

 

I/O Performance

I/O performance is always interesting with virtualised systems. Some products, typically desktop end user focused virtualisation solutions, will just store the virtual servers as files on the local filesystem.

This isn’t quite so ideal for a server where performance and low overhead is key – by storing a file system ontop of another filesystem, you are adding much more overhead to the block layer which will translate into decreased performance, not so much around raw read/write, but around seek performance (in my tests anyway).

Secondly, if you are running a fully emulated guest, KVM has to emulate virtual IDE disks, which really impacts performance, since doing I/O consumes much more CPU. If your guest OS supports it, paravirtualised drivers will make a huge improvement to performance.

I’m running KVM guests inside Linux logical volumes, ontop of an encrypted block device underneath (which does impact performance a lot) however I did manage to obtain some interesting statistics showing the performance of paravirtualisation vs IDE emulation.

View KVM IDE Emulation vs Paravirtualisation Results

They show noticeable improvement in the paravirtualised disk, especially around seek times… of interest, at the time of the tests, the other server workloads were idle, so the CPU was mostly free for I/O.

I suspect if I were to run the tests again on a CPU occupied server, paravirtualisation’s advantages would become even more apparent, since IDE emulation will be very susceptible to CPU load.

 

The above tests were run on a host server running RHEL 6 kernel 2.6.32-71.14.1.el6.x86_64 ontop of an encrypted RAID 6 LVM volume, with 16GB RAM, Phenon II Quad Core and SATA disks.

In both tests, the guest was a KVM virtual machine running CentOS 5.5 with kernel 2.6.18-194.32.1.el5.x86_64 and 256MB RAM – so not much memory for disk caching – to a 30GB ext3 partition that was cleanly formatted between tests.

Bonnie++ 1.03e was used with CLI options of -n 512 and -s 1024.

Note that I don’t have perfect guest to host I/O comparison test results, but similar tests run against a RAID 5 array on the same server suggests that may be around a 10% performance impact with KVM paravirtualisation which is pretty hard to notice.


Problems

I’ve had some issues with stability which I believe I traced to one of the earlier beta kernels with RHEL 6, since upgrading to 2.6.32-71.14.1.el6.x86_64 the server has been solid, even with large virtual network transfers.

In the past when I/O was struggling (mostly before I had upgraded to paravirtualised disk) I experienced some strange networking issues, as per the post here and identified KVM limitations around the I/O resource allocation space.

Other than the above, I haven’t experienced many other issues with the host and future testing and configuration is ongoing  – I should be blogging a lot of Xen to KVM migration notes in the near future and will be testing CentOS 6 more throughly once released, maybe some other distributions as well.