kdmurray.blog

The crossroads of life and tech

Aussie Geek Podcast #50

The team put together another episode of the Geek before the holidays, this time out was a bit of a milestone for the crew. For AGP #50 we had some special guests on the line, namely Tim and James who have both been key players in the history of the show over the past 6 years.

We discuss our own individual histories of computing and how technology and computing have affected our lives, and the technology-tracks that our lives have taken over the past couple of decades.

XKPasswd – Generate Secure, Memorable Passwords

On the heels of Steve Gibson‘s Password Haystacks website, which demonstrated how long memorable passwords can be far more secure than randomly generated characters simply by virtue of being longer, Bart Busschots has created a new password generation tool called XKPassword.

The idea of the generator is along the same lines of the original generator posted on the GRC website, but has been done as an implementation example of Bart’s perl library xkpasswd — the “xk” being a reference to the xkcd comic which discussed the same subject around the same time as the Security Now episode talking about password haystacks.

The general theory behind haystacks is that you take an easy-to-remember password like monkey (or m0nk3y) and bury it an easy to remember, but very long “haystack” of other characters. The sheer length of the password makes it orders of magnitude harder to guess than the original password.

Example: !@#$1234-Monkey-1234!@#$ and just like that you have created a 24 character password with upper case, lower case, numbers and symbols which (if you look at it for a minute) is going to be really easy to remember — especially if you recycle the “haystack” portion and pair it with other simple words to create a multitude of never-have-to-write-em-down passwords.

So what about xkpasswd? Well the idea is this, the tool will generate for you a list of easy to remember words buried in a haystack of simple padding characters. He has also added a number of presets for things like an Apple ID, WPA2 wi-fi security key and web sites (short and long) in case you do not want to tweak the raft of available options.

It is a great little tool for generating passwords that adds some intelligence that you do not get from the typical random password generators like the ones built into LastPass, 1Password or SuperGenPass. I highly recommend you check out xkpasswd if you are looking to augment your password arsenal. If you are a developer, check out the library available from Bart’s website if you want to include this functionality in an application that you are developing.

iPhone 4S – The Next Logical Step

Now that we’ve had a month to digest Apple’s 5th generation of the second-coming of mobile telephony: The iPhone 4S I thought it was fitting to take a look at what this product really means in terms of Apple’s product cycles.

As one might speculate based on the name alone this is a fairly minor revision of the current-generation iPhone 4. The new device carries only a few minor hardware adjustments, but some very significant changes for the software itself (most of which the iPhone 4 will receive as well).

The most significant hardware changes are the upgrade to a dual core ‘A5′ ARM CPU, a completely redesigned 8MP camera and the integration of the voice-interface called ‘Siri’.

The first two pieces of this puzzle are fairly easy to understand. The new A5 processor will give the handset much more power, particularly for gaming or video intensive applications. The second new piece of hardware, the redesigned camera has a higher resolution sensor, larger aperture and an additional lens element, all of which are said to contribute to brighter, crisper, “better” photos than any of the previous iPhones.

The odd-ball of the bunch is Siri. This is something which might be described as an assistive technology, something designed for users who would have trouble interacting with the phone in a traditional manner. But if science-fiction has taught us anything it’s that we’ll all be talking to our computers in the future and the keyboard and mouse will be “quaint” figures of our collective social memory.

Siri was rolled out in Beta to the iPhone 4S and is the only iOS 5 device receiving the enhanced voice interface despite similar processing power in this past year’s iPad 2. The “beta” monicker is something that Apple has used only sparingly in years gone by and it tends to be in a fairly traditional sense of the word, being applied to products which are truly unfinished when they are made available to the public. There has been a great deal of speculation as to what this means for the future of Siri. Many feel that the technology will eventually make its way on to every Apple product from voice-enabled phones, to computers through to the Apple TV. The digital living room device is, in my opinion, the killer target for the new technology as it would allow a remote-control free experience (assuming it knew when to listen to you and when to ignore the sound coming out of your TV).

But all that aside I really wanted to focus on this one point: the iPhone 4S is the next logical step for Apple. After the initial release of the iPhone in 2007 it was followed up with the iPhone 3G which was arguably the first “complete” version of the handset in 2008. June of 2009 saw the introduction of the iPhone 3GS which was for all intents and purposes a revised version of the previous year’s model. 2010 introduced the iPhone 4 with an all new design and the first instance of an Apple device with an Apple CPU (the A4). After such a major upgrade nobody knew what would happen next. Speculation early in 2011 led many to believe (correctly as it turns out) that Apple would abandon it’s traditional June timeslot for iPhone launches eventually delivering the new phone in October.

The delay also led to a great deal of speculation that Apple must be using all this extra time to produce an absolutely killer new iPhone 5 which would revolutionize the phone market as much as the iPhone 4 had the year previous. The iPhone 4 is still one of the best selling single handset models ever, particularly if you focus on smartphone sales. As time dragged on so did the predictors, pundits and pranksters. We saw mock ups of super-sized, super-small, super-thin, dual screened, cloud-based, fat, thin, black, white, pink, polka-dotted, tutu-wearing, pipe-smoking, tap-dancing iPhones (OK, I made some of those up, but you get my point). When the new handset finally arrived, it was not the much touted iPhone 5, but a revision to the iPhone 4 complete with evolutionary hardware upgrades and a new piece of software that may someday change the way you interact with most of your technology.

It makes sense. The next iPhone will (probably) have a more significant redesign. The next iPhone will (probably) not be called the iPhone 5. The next iPhone will have Siri. The next iPhone — well, we’ll see it when it gets here, won’t we (or when it inevitably gets left in a bar somewhere in San Francisco).

Accessing HttpContext objects from other classes

I could swear I wrote about this at some point in the distant past, but I couldn’t find the article this week when I needed it to help troubleshoot an issue with another developer. The issue he was having was how to access objects from the executing web page’s HttpContext object from a class other than the CodeBehind of the executing web-forms page. Essentially he was looking for a way to map a web-path to a physical folder path without needing to hard-code it or know where the application was deployed on the server in question.

If done correctly, an application can reside anywhere in the file system and be deployed to a virtual directory at any depth without causing a problem with URL resolution. In the code-behind of a web-forms page, the code is simple:

string physicalPath = Server.MapPath("~/somefolder/myfile.xml");

However doing this from another page involves just a little bit more work:

Using System.Web;
string physicalPath = HttpContext.Current.Server.MapPath("~/somefilder/myfile.xml");

It’s really quite straightforward when you see it, and I can’t believe that I forget how to do it. This method will also provide you access to lots of other useful objects which makeup the “state” of the application from an HTTP perspective.

Aussie Geek Podcast – Episode 49

I didn’t realize until today that I completely forgot to do a post for AGP #48 but it’s too late for that now. I had a chance to produce the show again this week on what may (hopefully) be our last episode on our existing website before fully transitioning over to the Lifestyle PodNetwork.

Dave, Knightwise and I had a great time going over heaps of desktop apps and cool sites this week, taking a break from the recent deluge of Apple stuff and completely skipping over the wasteland that was this week’s mobile and tablet space.

 

Podcast Roundup – New (to me) Apple & Mac Podcasts

podcast_subscribeI was on the hunt for some new Mac and Apple podcasts after becoming frustrated with the amount of blatant fanboyism and un-necessary Microsoft and Windows bashing I was hearing on the shows I had subscribed to. I wanted more shows that take an even-handed approach like Mac OS Ken or a lighthearted approach like the Nosillacast. I put a call out on Twitter and Google plus for recommendations and was given a couple of great new (to me) shows to listen to.

Mac Power Users

This show is absolutely brilliant. I’ve only been subscribed for the past week or so, but I’ve gone back and reviewed the last 10 episodes.

Katie and David do a great job of covering topics in enough detail to provide a complete review without getting into too many inanities. There are typically two types of shows. The topic-shows provide a deep-dive on a specific topic filled with lots of tips, tricks and keyboard shortcuts. The other show type is a “workflow” show where they typically bring on a guest to talk about how they use Mac and iOS products to get their work done productively.

Typical Mac User

I listened to the Typical Mac User a number of years ago, shortly after

Victor started the podcast I suspect, and for whatever reason drifted away from it. When George Starcher suggested over G+ that I check it out again, I found that I really enjoyed it. I’ve listened to a few different episodes in the past week which ranged from uber-beginner intros to OS X Lion, through to highly-involved automator/applescript discussions The show provides a good balance of introductory, mid-range and technical discussion and offer a range of guests to get insights on different parts of the Mac community.

Guest Spot – Knightcast 0056 “The Best of KWTV Live”

I recently had the honour of being asked to be a guest on Knightwise’s podcast during his KWTV Live event in September. He took the opportunity to interview three different people about the current state of the three major operating systems, Linux, OS X and Windows. The three guests for the evening were:

Larry spoke on the state of Linux and what drives Linux adoption; Bart covered the highlights and lowlights of OS X Lion in some detail; and I talked about the Windows 8 developer preview and the state of Windows tablet PCs.

Give it a listen!

Steve Jobs’ Impact on the World of Technology

This afternoon Apple released the sad news that co-founder and chairman Steve Jobs had finally succumbed to his fight with cancer. With that the world lost a man whose vision led Apple from the depths of irrelevancy to the forefront of day-to-day mind-share.

Revived Apple

Steve Jobs founded Apple Computer in the late 1970′s. The company has had its ups and downs over the years and Jobs was ousted from his leadership position only to be hired back on in the 1990′s when Apple was bordering on irrelevancy. Starting with the iPod and iMac in the early 2000′s Jobs and his leadership team helped make Apple one of the most recognized and relevant brands in the world.

Reinvented home computing

The early Apple II computers were some of the first to be placed in the home as the “family computer”. While they weren’t the only ones, they were certainly among the first and also among the most widely deployed. The number of people who can tell you today that their first computer was an Apple IIc, or Apple IIgs is lengthy; myself included.

Revolutionized portable music

While not the first company to produce MP3 players, or even hard-disk based MP3 players, Apple created a beautifully designed device in 2001 called iPod. Jobs took the position that existing media players were not particularly good, or usable. He assembled a team to create a new device as a part of Apple’s “digital hub” strategy. This was, at it’s core, a basic MP3 player with an internal hard disk which could store 5-10 GB of music, which at the time was all, or most, of most peoples’ digital music collections. iPod became the foundation of later forays into the personal electronics space which has become central to Apple’s position in the market.

Reimagined telecommunications

It has been called “the second coming of mobile telephony”, it is Apple’s iPhone. Jobs and members of his leadership team like Jonathan Ive released it’s first iPhone in 2007 and has revised it every year selling millions upon millions of devices every year. Apple has become a (the?) leader in mobile phone sales and development worldwide leading a device category that they helped create less than 5 years ago.

Redefined portable computing

With the launch of the iPad tablet in 2010 Apple helped to define a third product category which had, until then, been somewhat vaguely defined. Steve Jobs himself referred to the iPad and it’s successor the iPad 2 as devices that would usher in the “post-PC era”. While not everyone feels that iPads will replace their computers, they have certainly helped to define a product category where people will use devices to complement their “real lives” with their digital ones.

So there you go, a brief summary of the impact Steve Jobs has had on the worlds of computing and technology in the past 35 years. We can only hope that he’s inspired his teams at Apple so that the innovation of Apple, particularly over the past decade, will continue in years to come.


Three-week Ubuntu Experiment – Migrating to Open-Source

This past spring I made an attempt to move myself out of the shackles of the commercial software world and truly embrace open-source. I tried to move my primary machine off Windows 7, and onto Ubuntu Linux. I knew the transition wouldn’t be seamless but I’d heard so many good things about living in a Linux universe that I decided it was time.

The experiment did not go as well as I might have hoped, and despite my efforts to stick with it for some time, I eventually had to cut the experiment short. As I was preparing to re-image my system I started a blog post which I decided not to post at the time. I’ve included a short excerpt which shows my state of mind back in May, just after the experiment concluded.

I told myself I was going to stick it out for at least 3 months. But here I sit, not 3 weeks after making the decision to migrate my primary machine to Ubuntu, with the Windows 7 installation disk in hand. What could possibly have brought me to this point? Primarily, time.

It’s going to take me about 8 hours of work to prep all the data on my system for the transition, wipe the linux partition, re-install windows, re-install the applications, re-install VMWare, re-install my Linux VMs (I do still have a use for them!). The problem is, things on linux generally have taken longer than they should. Some of this is due to the fact that I’m learning, and I’ve tried to ignore those. Others are generally due to the fit and finish of Ubuntu.

So what went wrong?

Problem #1 – 10.10 or 11.04?

I generally resist the temptation to move to the latest OS release, but when I tried setting up a Windows VM under VirtualBox in Ubuntu 10.10 the audio was mucked up. It seemed a bit slow too, but that may have been my imagination. So I tried installing the newly minted 11.04. The VM now worked like a charm, but that was a long multi-step process.

Problem #2 – Virtualization

Trying to set up a virtual machine that would start up at boot time (like a Windows service or any number of linux daemons) proved a nearly impossible task. After several hours of searching, tweaking, testing, and ultimately failing, I decided to abandon the effort and live with manually starting my VMs.

Problem #3 – File Sharing

Setting up network shares was probably one of the better experiences I had. I was able to set up a “public” share on the linux machine and access it from anywhere on the network… as long as I didn’t want to protect it with a username and password. That was going to require more voodoo and black magic than I was prepared to endure for such a simple task. Overall, not a bad experience.

Problem #4 – Flash in Browsers

Like it or not Flash is still an integral part of the web, and Flash in the browser was just one of those things that never quite worked right. When I talk about fit and finish of a product, this is what I mean. Blocky artifacts showing up on video players was the most common issue, though there were other things like playback and audio problems as well.

Problem #5 – Lack of Air Support

The fact that I felt compelled to write a blog post calling attention to a tutorial for getting Adobe Air installed under Ubuntu 11.04 speaks to just how difficult this didn’t need to be. On any other major platform, you can go to a website and simply click the install button. The rest is automatic. Not here though.

Problem #6 – Button Clicks

I constantly had problems just clicking on buttons. Sometimes in an application (Chromium comes to mind) but sometimes just within the Ubuntu environment itself. This kind of thing makes you start to question the faith you have in your OS.

Problem #7 – Learning Curve

I suppose it’s a bit unfair to put this here as it’s undoubtedly the same issue that would come up moving between any two major operating systems. The bottom line is that I have a young family with whom I like to spend the majority of my day. That means that when I decide to sit down at the computer to do something, I don’t really have the time to spend learning how to do things all over again.

There were a few things that were also pleasant surprises during this whole thing. Mostly to do with 3rd party applications.

CrashPlan support

CrashPlan was able to seamlessly match up my Windows backup to the Linux file system. This made it very easy to move everything over. I just hope it works as well in reverse.

AcidRip

Digitizing DVDs has never been easier. It took a couple of tries to get the quality settings just where I wanted them, but the process worked out really well.

Shell

I love the *nix shell, Bash in particular. This is the one thing I will truly miss when I move back to Windows. Having commands like rsync at my disposal, and built in SSH support are also fantastic. While this is something that has to be hacked into a Windows installation, it is available by default on OS X.

In summary…

The availability of good software to do most tasks is one of the key benefits of moving to an open source experience, but the truth is that the experience really didn’t live up to my hopes or my expectations. I’m getting to the point where I want my computing time to be spent creating, not just experimenting with different ways that I could set up my tool sets. And as time moves on, the number of free or open-source applications available on the major commercial platforms like Windows and OS X is growing. Once either of those operating systems is installed I can do everything I want to do without having to pay a license for another piece of software — and in many cases the applications are as good or better than the open-source tools available for the Linux platforms. Add to that the growing number of applications which reside in the cloud and are completely browser and platform agnostic and it starts to become a simple equation for me.

Is it worth the $150 or so that it costs to get my new computer preloaded with a commercial OS? Yes.

Turn off URL Trimming in Firefox

With the latest release of Firefox, Mozilla has decided that we don’t need to see the “http://” at the beginning of a URL. While this may be true for day-to-day browsing, it makes copying and pasting URLs a bloody nightmare.

Most applications detect a URL based on it starting with some sort of protocol directive (http://, https://, ftp://, mailto:). By removing that directive from the beginning of the URL Mozilla now forces us to type them in as we go, reducing productivity and generally being a pain in the behind.

For the record, this portion of the URL is still visible for https:// URLs to help everyone know that pages are encrypted using SSL/TLS. This somehow makes it even worse in my eyes, since this non-security related behaviour is different based on whether or not the application is encrypted.

You can, however, correct this abhorrent behaviour with a trip to the Firefox about:config page.

DISCLAIMER: Read the disclaimer on the about:config page.

1. Go to the about:config page in Firefox

2. In the filter box, type in: browser.urlbar.trimURLs

3. Double-click on the value to change from true to false

After making the change, that line will show up in bold to indicate that it has been changed from the default setting. This is helpful if you want to restore settings to their default at some point in the future — though in this case I can’t imagine why.

Happy linking!