diff --git a/content/drafts/adding-caffeine-porting-cocoa-to-cappuccino.html b/content/drafts/adding-caffeine-porting-cocoa-to-cappuccino.html new file mode 100644 index 0000000..41b0d2e --- /dev/null +++ b/content/drafts/adding-caffeine-porting-cocoa-to-cappuccino.html @@ -0,0 +1,14 @@ +Translate foundation from NS to CP +No pointers so lose the * +Local variables are not typed, so just declare then with var +No properties so convert dot notation to method calls +No synthesize but can add @accessors to ivars to create basic accessor methods +#pragma's don't work and cause syntax errors +No header files, just put it all in the j file +#import becomes @import +CGPointZero, CGRectZero -> CGMakePointZero(), CGMakeRectZero() + + +TextMate regexes to convert properties to method calls: +Find: (\s*)([^.]+)\.([^ ]+) = ([^;]+); +Replace: $1[$2 set\u$3:$4]; diff --git a/content/drafts/adding-caffeine-porting-cocoa-to-cappuccino.yaml b/content/drafts/adding-caffeine-porting-cocoa-to-cappuccino.yaml new file mode 100644 index 0000000..86403d1 --- /dev/null +++ b/content/drafts/adding-caffeine-porting-cocoa-to-cappuccino.yaml @@ -0,0 +1,16 @@ +--- +slug: adding-caffeine-porting-cocoa-to-cappuccino +permalink: http://www.wezm.net/?p=238 +kind: draft +section: technical +created_at: 2009-08-17 12:31:47 +title: "Adding Caffeine: Porting Cocoa to Cappuccino" +post_id: 238 +tags: +- cappuccino +- cocoa +- objective-c +- objective-j +categories: +- Development +status: draft diff --git a/content/drafts/google-chrome-for-mac.html b/content/drafts/google-chrome-for-mac.html new file mode 100644 index 0000000..9ea8fc5 --- /dev/null +++ b/content/drafts/google-chrome-for-mac.html @@ -0,0 +1,3 @@ +Google's web browser, Chrome, has been available as a developer preview for some time now. Recently it shifted to beta status and the polish keeps piling on. There are a lot of nice touches in the browser that have contributed to me switching away from Safari such as multi-purpose address/search bar, tab closing behaviour, performance and a supported extension mechanism. Some of these things were discussed in Rob Friesel Jr.'s a Week With Chrome and Basil Safwat's obviously tab focussed, A piece with a lot of screenshots about the close tab behaviour in Google Chrome. + +Today, whilst reading http://orderedlist.com/our-writing/resources/html-css/single-line-css/ \ No newline at end of file diff --git a/content/drafts/google-chrome-for-mac.yaml b/content/drafts/google-chrome-for-mac.yaml new file mode 100644 index 0000000..fc8300d --- /dev/null +++ b/content/drafts/google-chrome-for-mac.yaml @@ -0,0 +1,13 @@ +--- +slug: google-chrome-for-mac +permalink: http://www.wezm.net/?p=298 +kind: draft +section: personal +created_at: 0000-00-00 00:00:00 +title: Google Chrome for Mac +post_id: 298 +tags: [] + +categories: +- Miscellaneous +status: draft diff --git a/content/drafts/haiku.html b/content/drafts/haiku.html new file mode 100644 index 0000000..3749d8c --- /dev/null +++ b/content/drafts/haiku.html @@ -0,0 +1,3 @@ +On the topic of OS's nearing release, Haiku is set for an alpha release in Sep[1]: http://www.osnews.com/story/22001/Haiku_Schedules_First_Alpha_Release_for_September_9 + +If you haven't heard of Haiku its a rewrite of BeOS from scratch. The aim of the first release is compatibility with the last official release of BeOS: R5. They're a good way down that path. As far as I know many apps that were built for R5 will run on Haiku. I've been following the project for a while now. Back in uni I downloaded an installed BeOS on my PC, this was obviously before the company went out of business/was bought by Palm (I think). The bit that interests me about it is that its GUI out of the box, much like OS X and Windows. Its attributes such as compactness, GUI, open source and POSIX core makes it a great candidate for high level embedded type projects I think. Things like the digital photo frame project I've had in mind for a while. Its one drawback in my mind is that the platform's primary language is C++, which I'm not a huge fan of. However if you're into C++ it might be worth checking out. If I recall correctly large parts of the kernel are written in C++ too. \ No newline at end of file diff --git a/content/drafts/haiku.yaml b/content/drafts/haiku.yaml new file mode 100644 index 0000000..43d09c1 --- /dev/null +++ b/content/drafts/haiku.yaml @@ -0,0 +1,13 @@ +--- +slug: haiku +permalink: http://www.wezm.net/?p=240 +kind: draft +section: personal +created_at: 0000-00-00 00:00:00 +title: Haiku +post_id: 240 +tags: +- os +categories: +- Miscellaneous +status: draft diff --git a/content/drafts/installing-debian-with-gpxe-and-netboot-me.html b/content/drafts/installing-debian-with-gpxe-and-netboot-me.html new file mode 100644 index 0000000..305a2ef --- /dev/null +++ b/content/drafts/installing-debian-with-gpxe-and-netboot-me.html @@ -0,0 +1,16 @@ +WezM.net was down again this weekend. The cause this time was the the large storms in Melbourne flooding the office where the computer that hosts this site lives. The computer escaped the water but the network and Internet connection did not. + +The office is located 60km from home so fixing problems like these have to wait until office hours, hence the extended downtime. This is the second time in an many weeks that I've run into this problem so I've decided to move WezM.net to my Mini ITX server, which is more accessible out of hours as its at home. + +The ITX server flawlessly powered WezM.net from 2005 to 2007 with a personal best uptime of 407 days. I recently dug it up and had planned on running FreeBSD on it. However over the weekend I decided to take the easy way out and just go back Debian, which originally powered the server. Its a little better suited to this server due the wide availability of binary packages; compiling stuff is not fast on an 800Mhz Via C3. In case you're wondering why I'm bothering with self hosting its because I'm too stingy to pay for a VPS. + +The ITX server lacks a CDROM drive and my previous attempts to boot from USB flash drives have failed. This makes installing new OSes a bit of a challenge. I decided to try out installing Debian via netboot.me. As the name suggests, netboot.me allows you to netboot a PC via the Internet. To do so you download and burn their bootable image to CD, floppy or USB drive. I didn't use any of these though as I already had a 8Mb (yes Mb) bootable CF card with gPXE installed on it. gPXE is an open source and enhanced network bootloader. + +The installation involved the following steps: +
chain http://netboot.me/2013
So Wes, you've had your iPhone for a week now - what are your initial comments? + +Pros / Cons? + +Has it changed your life? Has the battery life been crappy for you? Talk time OK?+ +Its definitely the best phone I've had. Part of that is due to the tight integration with Mac OS X, which obviously very few companies were going to pull off. As a device its brilliant to use and full of functionality. I'm loving the apps and decent browser. The WiFi is really nice at home. The iPod part obviously works as well and better than any prior iPod. + +The on screen keyboard is pretty much as described. You have to give it time to get the hang of it and you have to trust it. If you're typing a word that would be in the English dictionary you're best to keep on typing even if the word is way off. By the time you get to pressing space its usually selected the right word, which is selected automatically upon space. Two irritations with typing though. Its less likely to get shorter word right, particularly when there's multiple valid options. There's no way that I'm aware of to get a list of possibilities and choose the one you want. Of course being a small word means its not hard to fix and if you type it correctly in the first place then it isn't a problem at all. The other minor annoyance is when you get to the last word in a sentence that is mis-typed with a correct suggestion it appears the only way to accept it is to press space (and then delete the space) or grab a full stop. + +I haven't missed MMS at all, especially with a decent email client built in that can talk to Gmail via IMAP and send photos to flickr that way. +I have missed Todo functionality. I have no idea why Apple have not got this syncing. The support is there in iSync and todos sync with my old phone (Nokia 6280) just fine. I'm hoping that its one of these things that will make it eventually. There's two reasons I miss todo, one to track things to be done, the other is for reminders for things that don't have a duration (which can be put in as calendar entries). There is no way to do reminders without a duration at the moment. Having said that the calendar functionality is comprehensive. It supports multiple calendars, full editing, meeting acceptance and basically anything you can do on the desktop. + +Another annoyance surrounds SMS. When on silent you only get a single vibration on new message, which is easily missed. My old phone did three, which was better. Also when you get an SMS my old phone would show an envelope on the black and white standby screen. With the iPhone you have to wake it up to see if you've got a message after the display goes back off. + +The AppStore is great, some of the apps are very well done. I'm really liking Byline, Twinkle, Exposure and MoPhoTo. I'm not much of a Facebook user but the Facebook app is very well done. It just the core parts of Facebook without all the crap. Of those five, three are free, one is free by ad-supported (with a pay for version available) and the other AU$12.99. I think that's a pretty good spread for some top quality apps. Some screenshots of these apps are scattered below. + +Battery life is nothing brilliant as has been reported elsewhere. You'd probably want to change it every day. Today I watched a video podcast on the way to work, send a couple of SMSs during the day, added a calendar event, got a call from Steve, called the dentist, listened to music, read in Google Reader via the Byline app, read and updated Twitter via the Twinkle app and used the timer to cook dinner and its showing half battery. It was off the changer all last night too. + +A complaint of the old one was that the ringer and message volume was very low and easily missed. I've it plenty loud enough and its only on about three quarters. Speaking on the phone the volume is good, although I haven't tried extreme environments like a club. + +One of the best built-in apps on the whole phone is maps. Whenever you want to find something, or get the details for a business, get directions, just bring up Maps and it will sort it out. Its as good as, if not better than Google Maps on the desktop. It has the same three views too: Maps, Satellite and Hybrid. The location awareness is great and there's some basic uses of it in the apps so far, hopefully more creative uses come out. One interesting one is an app called Exposure that is a flickr client with a 'near me' function. It shows photos near your current location. Doing so at home brings ups photos of St Kilda Rd, the fountain in the gardens out the front (Pictured above). + +Maybe I'm easily sold on such things but the UI is truly beautiful and being solely finger driven is revolutionarily (on a phone). I'm a happy customer. + + +
+ + | ++ + | +
<table class="top_headers">
into
+
+<table
+lass="top_headers">
\ No newline at end of file
diff --git a/content/personal/2008/11/typography-enhancements.yaml b/content/personal/2008/11/typography-enhancements.yaml
new file mode 100644
index 0000000..da1f690
--- /dev/null
+++ b/content/personal/2008/11/typography-enhancements.yaml
@@ -0,0 +1,13 @@
+---
+slug: typography-enhancements
+permalink: http://www.wezm.net/2008/11/typography-enhancements/
+kind: article
+section: personal
+created_at: 2008-11-05 09:08:39
+title: Typography Enhancements
+post_id: 72
+tags: []
+
+categories:
+- Miscellaneous
+status: publish
diff --git a/content/personal/2009/01/sensation-melbourne-nye.html b/content/personal/2009/01/sensation-melbourne-nye.html
new file mode 100644
index 0000000..40bb54e
--- /dev/null
+++ b/content/personal/2009/01/sensation-melbourne-nye.html
@@ -0,0 +1,5 @@
+On new years eve I welcomed the beginning of 2009 at Sensation, the self proclaimed "worlds leading dance event". Sensation started in The Netherlands, being held at Amsterdam Arena. When I first stumbled across videos and music from the Amsterdam events several years back I was in awe of a dance party that managed to pull 40,000 people. Well based on what I saw at Tel$tra Dome I think they managed to pull off the same thing here. Seeing the stadium packed with so many people all dressed in white was truly awesome. The music did not disappoint either. However I think I had built up an expectation of more of a "performance" aspect to the event, as this didn't seem to quite meet my expectations. Nonetheless a great night was had by all. Also special thanks to Hayden for using a number of his comped Deluxe tickets to get us in for free and skip the queue. Photos and movies from the night are on Flickr.
+
+Leading up to Sensation the media had a field day in regard to a select minority that took a bad batch of GHB at the X-Qlusive event and ended up in hospital. Now taking GHB in the first place is stupid but the way it was reported was just reckless and inaccurate. Not only did they harp on about this minority but the Herald-Sun managed to attribute the overdoses to totally the wrong event: Christmas Kandy, which was cancelled as a result. In the days leading up to Sensation I heard a news report on TV refer to Sensation as, "controversial" and you could tell they were just waiting for a repeat of what happened at X-Qlusive. Funnily enough it seemed that everyone at Sensation was very well behaved as I didn't hear or see a single report in the following days about any drug related problems (no news is good news?). I think its a great win for the people and the rave scene that the media didn't get what they wanted. Especially considering it probably the biggest "rave" type event to ever be held in Melbourne.
+
+I hope to see it held again next year as I'm certainly up for going again. Who knows maybe they'll bring Sensation Black here as well.
\ No newline at end of file
diff --git a/content/personal/2009/01/sensation-melbourne-nye.yaml b/content/personal/2009/01/sensation-melbourne-nye.yaml
new file mode 100644
index 0000000..9d91ff2
--- /dev/null
+++ b/content/personal/2009/01/sensation-melbourne-nye.yaml
@@ -0,0 +1,13 @@
+---
+slug: sensation-melbourne-nye
+permalink: http://www.wezm.net/2009/01/sensation-melbourne-nye/
+kind: article
+section: personal
+created_at: 2009-01-06 04:04:32
+title: Sensation Melbourne NYE
+post_id: 80
+tags: []
+
+categories:
+- Miscellaneous
+status: publish
diff --git a/content/personal/2009/03/becoming-a-melbourne-cyclist.html b/content/personal/2009/03/becoming-a-melbourne-cyclist.html
new file mode 100644
index 0000000..0fd4932
--- /dev/null
+++ b/content/personal/2009/03/becoming-a-melbourne-cyclist.html
@@ -0,0 +1,24 @@
+A view of a Karri tree being lifted prior to loading on to a truck at Pemberton Western Australia+Pemberton is in the southern part of Western Australia that features the Karri forests. According to Wikipedia Karri trees can grow up to 90m tall, making them amongst the tallest trees in the world. The photo seems like such a strange image to put on a post card. Can you imagine writing home to family telling them about the beautiful Karri forests on a card that depicts them being destroyed? \ No newline at end of file diff --git a/content/personal/2009/04/greetings-from-tall-karri-country.yaml b/content/personal/2009/04/greetings-from-tall-karri-country.yaml new file mode 100644 index 0000000..f5f519b --- /dev/null +++ b/content/personal/2009/04/greetings-from-tall-karri-country.yaml @@ -0,0 +1,13 @@ +--- +slug: greetings-from-tall-karri-country +permalink: http://www.wezm.net/2009/04/greetings-from-tall-karri-country/ +kind: article +section: personal +created_at: 2009-04-05 01:42:04 +title: Greetings from Tall Karri Country +post_id: 97 +tags: [] + +categories: +- Miscellaneous +status: publish diff --git a/content/personal/2009/05/rafael-bonachelas-360-degrees.html b/content/personal/2009/05/rafael-bonachelas-360-degrees.html new file mode 100644 index 0000000..508e9dd --- /dev/null +++ b/content/personal/2009/05/rafael-bonachelas-360-degrees.html @@ -0,0 +1,9 @@ +For Manda's birthday this year I gave her tickets to Rafael Bonachela's 360°, a contemporary dance performance by the Sydney Dance Company. The performance was in the Playhouse at the Arts Centre (Melbourne). Unfortunately it didn't meet our expectations. + +Now let me preface the rest of the post with the following: We're hardly connoisseurs of the fine arts. Instead we got the bulk of our prior exposure to contemporary dance through channel Ten's So You Think You Can Dance. I'm sure the purists out there would scoff at that but we wouldn't have even entertained the idea of seeing 360° were it not for the show. + +With that out of the way let me continue by starting at the end. After the performance finished and we'd endured what seemed like several minutes of applause with much bowing and cutting of lights only for them to return again, Manda and I both said nothing to each other about it. We were both feeling underwhelmed and wanted to withhold our comments until out of ear shot of people that might not agree. + +The performance seemed to lack any coherent story. The music choices seemed inappropriate to even tell a story and the projected backdrops seemed to have no relationship with what was going on on-stage. I was left feeling that I was not on the right level to understand it and some aspects were "arty" for arts sake. For example the sand covered skull with the sand falling in reverse to slowly reveal the skull. + +Ignoring the aspects I didn't like there was still things that I did like. The skill of the dancers was most impressive. The use of light and mirrors was creative and clever. So overall the experience was a disappointment. I'm hoping that we will find another contemporary performance to see in the future that will live up to our perhaps uncultured expectations. \ No newline at end of file diff --git a/content/personal/2009/05/rafael-bonachelas-360-degrees.yaml b/content/personal/2009/05/rafael-bonachelas-360-degrees.yaml new file mode 100644 index 0000000..1ae7bea --- /dev/null +++ b/content/personal/2009/05/rafael-bonachelas-360-degrees.yaml @@ -0,0 +1,13 @@ +--- +slug: rafael-bonachelas-360-degrees +permalink: http://www.wezm.net/2009/05/rafael-bonachelas-360-degrees/ +kind: article +section: personal +created_at: 2009-05-30 05:46:04 +title: "Rafael Bonachela's 360\xC2\xB0" +post_id: 141 +tags: [] + +categories: +- Entertainment +status: publish diff --git a/content/personal/2010/01/mt-dandenong.html b/content/personal/2010/01/mt-dandenong.html new file mode 100644 index 0000000..2da9ab8 --- /dev/null +++ b/content/personal/2010/01/mt-dandenong.html @@ -0,0 +1,9 @@ + Last week while we were still on holidays Manda and I got a good deal on Wotif for a night at Linden Garden's Rainforest Retreat. We set off in the morning and had lunch at Cloudhill Restaurant and Gardens. After lunch we wandered around the many different areas of the garden. The hedges and geometric alignment of the gardens were very cool. + +After that it was time to check-in at Linden Gardens. Google Maps gave us a dud route that sent us down a few interesting roads but we made it in the end. Our lodging for the night was "Sanctuary Tower", a three level mini-house with great views. After an in room massage we had a nice dinner at Wild Oak Restaurant just around the corner. The food was excellent and the servings very generous. + +The accommodation was fantastic, right down to the graphic design of the web site and stationary. There were lots of inclusions and thoughtful extras. The one complaint was that the bedroom was quite light when trying to sleep given not all the windows had blinds. + +In the morning we wandered around the gardens. The rainforest plans seem to have been planted some time ago and now it has that real rainforest feel. The paths in particular stood out as they were totally green with moss. After that it was time to go, it was a short but most enjoyable stay. + +Photos of Cloudhill and Linden Gardens are on Flickr. Given the lovely weather we had I also took the opportunity to take bracketed shots to deal with the extreme range of light. I then merged them with the newly updated Bracketeer. \ No newline at end of file diff --git a/content/personal/2010/01/mt-dandenong.yaml b/content/personal/2010/01/mt-dandenong.yaml new file mode 100644 index 0000000..96af8ee --- /dev/null +++ b/content/personal/2010/01/mt-dandenong.yaml @@ -0,0 +1,14 @@ +--- +slug: mt-dandenong +permalink: http://www.wezm.net/2010/01/mt-dandenong/ +kind: article +section: personal +created_at: 2010-01-12 08:41:46 +title: Mt. Dandenong +post_id: 286 +tags: [] + +categories: +- Out and About +- Personal +status: publish diff --git a/content/personal/2010/01/sensation-melbourne-2009.html b/content/personal/2010/01/sensation-melbourne-2009.html new file mode 100644 index 0000000..b8ee029 --- /dev/null +++ b/content/personal/2010/01/sensation-melbourne-2009.html @@ -0,0 +1,3 @@ + The end of 2009 saw Melbourne's second Sensation held at Etihad stadium. I was fortunate enough to attend for free again and was once again impressed by the spectacle of the show and tens of thousands of people in white. The crowd seemed smaller than last year but there were still more than enough people to give a good atmosphere. + +A selection of photos from the night are on Flickr along with some movies on Vimeo. \ No newline at end of file diff --git a/content/personal/2010/01/sensation-melbourne-2009.yaml b/content/personal/2010/01/sensation-melbourne-2009.yaml new file mode 100644 index 0000000..5872aed --- /dev/null +++ b/content/personal/2010/01/sensation-melbourne-2009.yaml @@ -0,0 +1,15 @@ +--- +slug: sensation-melbourne-2009 +permalink: http://www.wezm.net/2010/01/sensation-melbourne-2009/ +kind: article +section: personal +created_at: 2010-01-10 07:22:14 +title: Sensation Melbourne 2009 +post_id: 281 +tags: +- melbourne +- nye +- sensation +categories: +- Entertainment +status: publish diff --git a/content/technical/2008/02/seeking-app-ideas.html b/content/technical/2008/02/seeking-app-ideas.html new file mode 100644 index 0000000..78e4637 --- /dev/null +++ b/content/technical/2008/02/seeking-app-ideas.html @@ -0,0 +1,5 @@ +Ever since the now very quiet drunkenbatman hosted the Evening at Adler and Gus Mueller posted, "How to become an independent programmer in just 1068 days", its has been a goal of mine to one day live the indie Mac developer dream. + +Over the years I've dabbled in Mac OS X development but have struggled to find the time in between a full time job and also having a life to be able to see something through from start to finish. I'm convinced the ideas are sound because frequently others eventually release similar products. My last endevour was for a better archiver than that provided by the Finder. It was to be dead simple, taking interface cues from things like AppZapper. I discovered a little while ago that the fine folks at Apimac had created Compress Files, which implemented my ideas and more. + +Frustrated by this lack of time I decided to do something about it (after a small helping of procrastination). Last week I successfully negotiated a reduction to 4 days per week at my day job, with the fifth day allocated to Mac development. The first day of my new job is Mon Feb 11, 2008. However I find myself with a bit of a problem, I don't have any current projects to actually work on. Heeding the advice in Gus' post for Lesson #1 I'm seeking ideas from the Mac using community for a small application that I can use to get started. So if you got an idea for a small application that you don't mind sharing feel free to post a comment and let me know, it might be just what I'm looking for. \ No newline at end of file diff --git a/content/technical/2008/02/seeking-app-ideas.yaml b/content/technical/2008/02/seeking-app-ideas.yaml new file mode 100644 index 0000000..02e9bfc --- /dev/null +++ b/content/technical/2008/02/seeking-app-ideas.yaml @@ -0,0 +1,14 @@ +--- +slug: seeking-app-ideas +permalink: http://www.wezm.net/2008/02/seeking-app-ideas/ +kind: article +section: technical +created_at: 2008-02-04 02:29:35 +title: Seeking Application Ideas +post_id: 1 +tags: [] + +categories: +- Development +- Mac +status: publish diff --git a/content/technical/2008/03/create-empty-tar-file.html b/content/technical/2008/03/create-empty-tar-file.html new file mode 100644 index 0000000..850c7ef --- /dev/null +++ b/content/technical/2008/03/create-empty-tar-file.html @@ -0,0 +1,12 @@ +Strangely enough I had the need to determine if it was possible to create a valid but empty tar file. Turns out it is. The method varies slightly depending on your flavour of tar program, here's how to do it on three of the big ones: + +BSD +
tar cvf empty.tar --from-file /dev/null
+
+GNU (Linux)
+tar cvf empty.tar --files-from /dev/null
+
+Solaris
+tar cvf empty.tar -I /dev/null
+
+Now if you wondering why I would want this, here's the explanation. I work on a batch processing system that processes files delivered from other systems. In some cases its necessary to wait for a file to arrive but give up after some time. In order to give up we copy an empty file (automatically) so that the processing proceeds normally. Ordinarily this is an empty plain text file but for the system I'm working on I'm expecting a tar file, hence the need for an empty one.
\ No newline at end of file
diff --git a/content/technical/2008/03/create-empty-tar-file.yaml b/content/technical/2008/03/create-empty-tar-file.yaml
new file mode 100644
index 0000000..21f0548
--- /dev/null
+++ b/content/technical/2008/03/create-empty-tar-file.yaml
@@ -0,0 +1,18 @@
+---
+slug: create-empty-tar-file
+permalink: http://www.wezm.net/2008/03/create-empty-tar-file/
+kind: article
+section: technical
+created_at: 2008-03-27 10:28:39
+title: How to create an empty tar file
+post_id: 8
+tags:
+- empty
+- tar
+- unix
+categories:
+- Linux
+- Mac OS X
+- Tips
+- UNIX
+status: publish
diff --git a/content/technical/2008/03/webkit-for-keynote.html b/content/technical/2008/03/webkit-for-keynote.html
new file mode 100644
index 0000000..e87788b
--- /dev/null
+++ b/content/technical/2008/03/webkit-for-keynote.html
@@ -0,0 +1,9 @@
+An interesting email passed through the webkit-dev mailing list today. In what appears to be a small glimpse into what goes on in preparation for a Stevenote, Geoffrey Garen (Apple) noted in a reply to an email from Akos Kiss (Department of Software Engineering, University of Szeged, Hungary) that one of the reasons WebKit likes to do its own thing and not depend on code it doesn't own is to be able to fix problems with very short notice. Citing the example of, "12 hours before a keynote address".
+
+Akos Kiss (Department of Software Engineering, University of Szeged, Hungary):
+b) JIT compilation to Java bytecode or ActionScript bytecode. + +Comment: Huge work. Currently available compiler implementations do not fit to the architecture of the JS engine.+ +Geoffrey Garen (Apple): +
Right. We're also reluctant to rely on code that we don't own. We've seen very large performance wins from tightly integrating and customizing all the components of the web stack. We also need the freedom to fix crashes and compatibility problems on very short notice (for example, 12 hours before a keynote address).\ No newline at end of file diff --git a/content/technical/2008/03/webkit-for-keynote.yaml b/content/technical/2008/03/webkit-for-keynote.yaml new file mode 100644 index 0000000..b45f1ef --- /dev/null +++ b/content/technical/2008/03/webkit-for-keynote.yaml @@ -0,0 +1,13 @@ +--- +slug: webkit-for-keynote +permalink: http://www.wezm.net/2008/03/webkit-for-keynote/ +kind: article +section: technical +created_at: 2008-03-05 01:11:31 +title: WebKit for Keynote +post_id: 4 +tags: [] + +categories: +- WebKit +status: publish diff --git a/content/technical/2008/03/windows-silverlight-installation-experience.html b/content/technical/2008/03/windows-silverlight-installation-experience.html new file mode 100644 index 0000000..361f986 --- /dev/null +++ b/content/technical/2008/03/windows-silverlight-installation-experience.html @@ -0,0 +1,27 @@ +I encountered a (Microsoft) site the other day that required Silverlight to be installed. Given I was using my work laptop (running Windows XP) I thought I'd give it a try. The first attempt at running the setup file I downloaded resulted in the following error message (which was opened in a browser window, not displayed by the installer): + +
The Microsoft Silverlight download was automatically extracted to a virtual drive. You should manually extract the download to a physical drive, and then run it from there. Please follow these steps to complete your installation: + + 1. Create a new folder on drive C called SilverlightTemp. + 2. Save the Silverlight download to this folder. + 3. Click Start, click Run, type cmd.exe, and then click OK. + 4. In the cmd.exe window, type cd C:\SilverlightTemp\, and then press Enter. + 5. This step depends on which version of Silverlight you are installing. + * For Silverlight 1.0 Beta: + In the cmd.exe window, type Silverlight.1.0beta.exe /X, and then press Enter. + * For Silverlight 1.1 Alpha: + 6. In the cmd.exe window, type Silverlight.1.1alpha.exe /X, and then press Enter. + 7. If you receive a User Account Control (UAC) prompt, click Continue. + 8. In the Choose Directory For Extracted Files box, type C:\SilverlightTemp, and then click OK. + 9. In the Extraction Complete box, click OK. + 10. In the cmd.exe window, type install.exe, and then press Enter. + 11. If you receive a UAC prompt, click Continue. + 12. In the cmd.exe window, type cd.. and then press Enter. + 13. In the cmd.exe window, type rmdir SilverlightTemp /S /Q, and then press Enter. + 14. In the cmd.exe window, type exit, and then press Enter.+ +After recovering from the initial shock of the installation instructions for a very consumer oriented technology requiring use of the command line, I followed the instructions only to be shown another web based error message: + +
This installation is forbidden by system policy. Contact your system administrator for assistance.+ +Yes, that's right I don't have administrator privileges on my work laptop. Surely the installer could have worked this out at the start of the process. \ No newline at end of file diff --git a/content/technical/2008/03/windows-silverlight-installation-experience.yaml b/content/technical/2008/03/windows-silverlight-installation-experience.yaml new file mode 100644 index 0000000..136dad0 --- /dev/null +++ b/content/technical/2008/03/windows-silverlight-installation-experience.yaml @@ -0,0 +1,13 @@ +--- +slug: windows-silverlight-installation-experience +permalink: http://www.wezm.net/2008/03/windows-silverlight-installation-experience/ +kind: article +section: technical +created_at: 2008-03-05 00:56:01 +title: Windows Silverlight Installation Experience +post_id: 3 +tags: [] + +categories: +- Windows +status: publish diff --git a/content/technical/2008/04/expand-glob-in-variable-within-shell-script.html b/content/technical/2008/04/expand-glob-in-variable-within-shell-script.html new file mode 100644 index 0000000..79db2c4 --- /dev/null +++ b/content/technical/2008/04/expand-glob-in-variable-within-shell-script.html @@ -0,0 +1,8 @@ +I had the need today to read in a list of patterns from a file, expand them and then operate upon each file all from within a shell script. Apparently there is a shell built-in for csh, but I didn't want to learn csh at that point. The eventual solution was to run an extra shell with the -c argument. + +Example: +
#!/bin/bash +FILES=`cat patterns.txt` +for pattern in $FILES; do + bash -c "ls -l ${pattern}" +donediff --git a/content/technical/2008/04/expand-glob-in-variable-within-shell-script.yaml b/content/technical/2008/04/expand-glob-in-variable-within-shell-script.yaml new file mode 100644 index 0000000..4760662 --- /dev/null +++ b/content/technical/2008/04/expand-glob-in-variable-within-shell-script.yaml @@ -0,0 +1,19 @@ +--- +slug: expand-glob-in-variable-within-shell-script +permalink: http://www.wezm.net/2008/04/expand-glob-in-variable-within-shell-script/ +kind: article +section: technical +created_at: 2008-04-24 07:37:14 +title: Expand glob in variable within shell script +post_id: 18 +tags: +- bash +- expand +- glob +- script +- shell +- variable +categories: +- Tips +- UNIX +status: publish diff --git a/content/technical/2008/04/mp3-decoder-libraries-compared.html b/content/technical/2008/04/mp3-decoder-libraries-compared.html new file mode 100644 index 0000000..4fe508c --- /dev/null +++ b/content/technical/2008/04/mp3-decoder-libraries-compared.html @@ -0,0 +1,206 @@ +For my current software project I have the need to decode MP3 files for the purpose of producing an audio waveform. It doesn't need to be overly accurate as the decoded samples will be displayed, not played. However it does need to be fast, as a typical use case for the application will be MP3 files of around 100Mb (full length CDs). The application is for Mac OS X, although the results of my testing below could be useful for other platforms. + +Assisted by a code sample from Apple I wrote an initial version of the decoder that would read the source MP3 file and write the raw linear PCM data out to a file. I did this using the Core Audio framework built into Mac OS X. Once the program was working I tested it against some sample files and came to the conclusion that 4 seconds to decode a 3 min track was great but over 100 seconds for a full length CD, not so great. + +I did some searching and came up with two other libraries that seemed well suited to the task of MP3 decoding, they were mpg123 (libmpg123) and MAD (libmad). mpg123 had claims of being very fast, mad claimed it was very accurate. + +
--enable-speed
option. With the help of example code I made programs out of each that were comparable to the first version for Core Audio. I.e. MP3 file in, 16-bit Linear PCM audio samples out.
+
+To provide a benchmark I wrote a script that would run each of the three programs against a source MP3 file. Each program reported the elapsed time (via time(3)) and the processor time (via clock(3)) when it finished decoding. The programs were run one after another on the source file 10 times. Their PCM output was written to a new file for each invocation.
+
+Size | 4,296,251 bytes | +
---|---|
Bitrate | 160 kbps | +
Channels | 2 (Joint Stereo) | +
Length | 3:34 | +
Library | +Average Elapsed Time | +Average Processor Time | +Processor Time Std. Deviation | +
---|---|---|---|
mpg123 | +2.30 | +1.71 | +0.95 | +
Core Audio | +4.10 | +3.63 | +0.27 | +
mad | +4.80 | +4.42 | +0.02 | +
Size | 83,091,456 bytes | +
---|---|
Bitrate | 320 kbps | +
Channels | 1 (Mono) | +
Length | 34:37 | +
Library | +Average Elapsed Time | +Average Processor Time | +Processor Time Std. Deviation | +
---|---|---|---|
mpg123 | +11.10 | +9.40 | +0.03 | +
mad | +26.90 | +24.60 | +0.03 | +
Core Audio | +33.60 | +30.33 | +1.18 | +
Size | 126,083,072 bytes | +
---|---|
Bitrate | 224 kbps | +
Channels | 2 (Joint Stereo) | +
Length | 1:15:02 | +
Library | +Average Elapsed Time | +Average Processor Time | +Processor Time Std. Deviation | +
---|---|---|---|
mpg123 | +37.00 | +32.21 | +0.19 | +
Core Audio | +84.00 | +78.34 | +0.34 | +
mad | +100.10 | +94.44 | +0.15 | +
Size | 123,028,672 bytes | +
---|---|
Bitrate | 210 kbps (VBR) | +
Channels | 2 (Joint Stereo) | +
Length | 1:17:46 | +
Library | +Average Elapsed Time | +Average Processor Time | +Processor Time Std. Deviation | +
---|---|---|---|
mpg123 | +37.90 | +32.96 | +0.13 | +
Core Audio | +86.40 | +80.52 | +0.18 | +
mad | +104.30 | +98.43 | +0.10 | +
...to provide a straightforward way for end users to subscribe to the data feed for a particular online resource while browsing the World Wide Web. The expectation is that clicking on a hyperlink that points at a "feed" URI will cause the Web browser to invoke the specified handler for the "feed" URI scheme which SHOULD provide the user with information about the data feed as well as the possess the ability to subscribe to the feed.+ +Fast forward to 2008 and all the major browsers have support for discovery of feeds specified by the link tag and a user interface to access them. Additionally they are able to auto-detect a feed when specified with the normal http URI scheme. With the built in support the browser is able to launch the appropriate feed reader on the system, be it within the browser or an external application; thus removing the need for the URI to be specified with the 'feed:' scheme. + +It seems use of the scheme really took off around the release of Safari 2, which included RSS support. When viewing a feed in Safari it presents the URI using the 'feed:' scheme, thus making its use highly visible. + + + +I understand that using the scheme makes it easy at an operating system level to associate a particular application with the scheme but it should be entirely internal an invisible to the user. The reasons its use irks me is when adding a feed to Google Reader its necessary to copy and paste the link and then remove the 'feed:' at the start. Additionally Firefox removes the colon from http, meaning that has to be replaced too. Okay so I'm lazy but all the hassle can be avoided by simply linking to the feed with the normal 'http:' scheme. + +As an example I'll pick on the MildMannered Industries Blog solely because its the first example I could find. The link on the page1 (at the top) is feed://http://www.mildmanneredindustries.com/blog/?feed=rss2, which when copied via Copy Link Location in Firefox becomes feed://http//www.mildmanneredindustries.com/blog/?feed=rss2. + +The other issue I have stems from the terrible DNS or proxy (not sure which is to blame) setup here at work. When a request is made for a hostname or scheme that doesn't exist the browser hangs for about 2 minutes before returning an error generated by the proxy. This happens in all browsers and means that if I click in a feed: link my browser hangs for 2 minutes, which is quite frustrating. + +So my request to the wider Internet community: Please stop using 'feed:'. +________________________ +1. The related link embedded in the <head> section is correct (I.e. without 'feed:') \ No newline at end of file diff --git a/content/technical/2008/05/death-to-the-feed-uri-scheme.yaml b/content/technical/2008/05/death-to-the-feed-uri-scheme.yaml new file mode 100644 index 0000000..8cbffda --- /dev/null +++ b/content/technical/2008/05/death-to-the-feed-uri-scheme.yaml @@ -0,0 +1,16 @@ +--- +slug: death-to-the-feed-uri-scheme +permalink: http://www.wezm.net/2008/05/death-to-the-feed-uri-scheme/ +kind: article +section: technical +created_at: 2008-05-20 05:59:28 +title: Death to the 'feed:' URI Scheme +post_id: 12 +tags: +- atom +- feed +- rss +- uri-scheme +categories: +- Internet +status: publish diff --git a/content/technical/2008/05/stop-vim-completion-searching-included-files.html b/content/technical/2008/05/stop-vim-completion-searching-included-files.html new file mode 100644 index 0000000..359ffab --- /dev/null +++ b/content/technical/2008/05/stop-vim-completion-searching-included-files.html @@ -0,0 +1,5 @@ +I use vim coupled with the SuperTab plugin for my text editing and auto-completion needs. In some vim setups (E.g. Mac OS X) it is configured by default to search included files when completing words. This sounds like a useful feature but it turns out not to be. It has a habit of searching the include files of system libraries and modules, the keywords of which you rarely want. Its also quite a slow operation as it trawls through all the files. The solution is to add the following in your .vimrc file. + +
set complete=.,w,b,u,t
+
+This is the same set of flags as the default except with the 'i
' option removed. See the help for the 'complete' option for an explanation of what each flag means.
\ No newline at end of file
diff --git a/content/technical/2008/05/stop-vim-completion-searching-included-files.yaml b/content/technical/2008/05/stop-vim-completion-searching-included-files.yaml
new file mode 100644
index 0000000..b36d54c
--- /dev/null
+++ b/content/technical/2008/05/stop-vim-completion-searching-included-files.yaml
@@ -0,0 +1,17 @@
+---
+slug: stop-vim-completion-searching-included-files
+permalink: http://www.wezm.net/2008/05/stop-vim-completion-searching-included-files/
+kind: article
+section: technical
+created_at: 2008-05-23 05:59:25
+title: Stop Vim Completion Searching Included Files
+post_id: 25
+tags: []
+
+categories:
+- Linux
+- Mac OS X
+- Programming
+- Tips
+- UNIX
+status: publish
diff --git a/content/technical/2008/05/to-title-case-bookmarklet.html b/content/technical/2008/05/to-title-case-bookmarklet.html
new file mode 100644
index 0000000..a565d86
--- /dev/null
+++ b/content/technical/2008/05/to-title-case-bookmarklet.html
@@ -0,0 +1,5 @@
+I've make a bookmarklet out of David Gouch's Javascript implementation of John Gruber's Title Case Perl script.
+
+Drag this link to your bookmarks bar: Title Case
+
+Seems to work ok in Firefox, IE 6 has issues.
\ No newline at end of file
diff --git a/content/technical/2008/05/to-title-case-bookmarklet.yaml b/content/technical/2008/05/to-title-case-bookmarklet.yaml
new file mode 100644
index 0000000..100e843
--- /dev/null
+++ b/content/technical/2008/05/to-title-case-bookmarklet.yaml
@@ -0,0 +1,15 @@
+---
+slug: to-title-case-bookmarklet
+permalink: http://www.wezm.net/2008/05/to-title-case-bookmarklet/
+kind: article
+section: technical
+created_at: 2008-05-27 23:29:28
+title: To Title Case Bookmarklet
+post_id: 27
+tags: []
+
+categories:
+- Code
+- Internet
+- Miscellaneous
+status: publish
diff --git a/content/technical/2008/07/comment-feeds-in-wordpress.html b/content/technical/2008/07/comment-feeds-in-wordpress.html
new file mode 100644
index 0000000..dfe33c4
--- /dev/null
+++ b/content/technical/2008/07/comment-feeds-in-wordpress.html
@@ -0,0 +1,2 @@
+Here's tip for something I worked out today. WordPress blogs generally have an RSS feed available for the comments on a post. This is handy for when you want to see other comments posted without having to remember to check back. The problem is many WP themes don't provide a link to the feed. The solution is to add /feed
to the URL of the post, so for this post the comment feed is at:
+http://www.wezm.net/2008/07/02/comment-feeds-in-wordpress/feed.
\ No newline at end of file
diff --git a/content/technical/2008/07/comment-feeds-in-wordpress.yaml b/content/technical/2008/07/comment-feeds-in-wordpress.yaml
new file mode 100644
index 0000000..3cd241c
--- /dev/null
+++ b/content/technical/2008/07/comment-feeds-in-wordpress.yaml
@@ -0,0 +1,14 @@
+---
+slug: comment-feeds-in-wordpress
+permalink: http://www.wezm.net/2008/07/comment-feeds-in-wordpress/
+kind: article
+section: technical
+created_at: 2008-07-02 04:14:17
+title: Comment Feeds in WordPress
+post_id: 34
+tags: []
+
+categories:
+- Internet
+- Tips
+status: publish
diff --git a/content/technical/2008/07/iphone-tips-from-the-user-guide.html b/content/technical/2008/07/iphone-tips-from-the-user-guide.html
new file mode 100644
index 0000000..6bd87db
--- /dev/null
+++ b/content/technical/2008/07/iphone-tips-from-the-user-guide.html
@@ -0,0 +1,148 @@
+I read through the 150 odd pages of the iPhone user guide looking for tips and shortcuts and for information on usage that I haven't discovered yet. The following is a collection of the things I found useful or interesting, some may be well known already but they're mainly here for my reference. However they may be useful to others as well; Particularly those who've just picked up an iPhone for the first time following the worldwide release of the iPhone 3G.
+ +The quotes are mostly copied verbatim from the iPhone User Guide (PDF), Copyright Apple Inc. As noted at the end of this post the iPhone User Guide is also available for viewing directly on the iPhone at http://help.apple.com/iphone.
+ ++[When scrolling] you can wait for the scrolling to come to a stop, or tap or touch anywhere on the screen to stop it immediately. Tapping or touching to stop scrolling won’t choose or activate anything on the screen. To quickly scroll to the top of a list, webpage, or email, just tap the status bar.
The point about tapping status bar is useful. It also mentions that in Safari tapping the status bar will reveal the address bar allowing you to search or enter a URL.
+ +Handy tips for more efficient typing:
++ +
- Quickly type a period and space
+- Double-tap the space bar.
+- Turn caps lock on
- Enable caps lock (see “Keyboard†on page 108), then double-tap the Shift key. The Shift key turns blue, and all letters you type are uppercase. Tap the Shift key again to turn caps lock off.
+- Type letters or symbols that aren’t on the keyboard
- Press and hold the related letter or symbol, then slide to choose a variation.
See a link’s destination address:
++ +[In Mail, Safari] touch and hold the link. The address pops up next to your finger. You can touch and hold an image to see if it has a link.
Save a photo attachment to your Camera Roll album:
++Press and hold the image, then tap “Save Image.â€
Applies to images in Safari too.
+ +Deleting messages in Mail or SMS:
++ + +You can also delete a message directly from the mailbox message list by swiping left or right over the message title, then tapping Delete.
Jump to favorites from anywhere:
++Double-click the Home button.
Requires setting to be enabled under Settings > General > Home Button.
+ +Bring up the last number you dialed:
++ +Tap Keypad, then tap Call. Tap Call again to dial the number.
Block calls and maintain Wi-Fi access to the Internet:
++ +In Settings, turn on Airplane Mode, then tap Wi-Fi and turn it on.
Set iPhone to add the correct prefix when dialing from another country:
++ +In Settings, tap Phone, then turn International Assist on. This lets you make calls to your home country using the numbers in your contacts and favorites, without having to add a prefix or your country code.
Scroll within a frame on a webpage:
++ +Use two fingers to scroll within a frame on a webpage. Use one finger to scroll the entire webpage.
Submit a form:
++ +Once you finish filling out a form, tap Go or Search. Most pages also have a link you can tap to submit the form.
+ +Close the keyboard without submitting the form: Tap Done.
Convert a video to work with iPhone in iTunes:
++ +Select the video in your iTunes library and choose Advanced > “Convert Selection for iPod/iPhone.†Then add the converted video to iPhone.
Return to the iPod browse lists:
++ +Tap ↠Or swipe to the right over the album cover.
+You can display playback controls at any time when you’re listening to music and using another application—or even when iPhone is locked—by double-clicking the Home button.
Requires iPod Controls to be enabled in Settings > General > Home Button
+ +Unlike music you can delete videos on iPhone:
++ +In the videos list, swipe left or right over the video, then tap Delete.
Set a sleep timer:
++ +From the Home screen choose Clock > Timer, then flick to set the number of hours and minutes. Tap When Timer Ends and choose Sleep iPod, tap Set, then tap Start to start the timer.
Add a photo to your Photo Library:
++ +Press and hold the photo, then tap Save Image.
+To conserve battery life, turn Locations Services off when you’re not using it. In Settings, choose General > Location Services.
Just speculation but this might help when location services go AWOL
+ +Zooming out:
++ +Pinch the map. Or tap the map with two fingers. Tap with two fingers again to zoom out further.
+See a list of the businesses found in the search: From the Map screen, tap List.
I wasn't sure what the List option was for. It seems kind of out of place next to Map, Satellite and Hybrid.
+ +Setting the double click function of the home button:
++ +Choose General > Home Button to set preferences for double-clicking the Home button. You can set iPhone so that double-clicking the Home button goes to either to the Home screen, Phone Favorites, or the iPod screen.
Reset the keyboard dictionary:
++ +Choose General > Reset and tap Reset Keyboard Dictionary. You add words to the keyboard dictionary by rejecting words iPhone suggests as you type. Tap a word to reject the correction and add the word to the keyboard dictionary. Resetting the keyboard dictionary erases all words you’ve added.
Reset the location warnings:
++Choose General > Reset and tap Reset Location Warnings. Locations warnings are the requests made by applications (such as Camera and Maps) to use Location Services with those applications. iPhone stops presenting the warning for an application the second time you tap OK. Tap Reset Location Warnings to resume the warnings.
Its a pity this and the one above it are all or nothing.
+ +Set iPhone to add the correct prefix when dialing from another country:
++ +In Settings, tap Phone, then turn International Assist on. This lets you make calls to your home country using the numbers in your contacts and favorites, without having to add a prefix or your country code (not available in all areas).
Checking for updates to App Store apps is all automatic:
++ +Whenever you access the App Store, it checks for updates to applications you’ve installed. By default, the App Store also automatically checks for updates every week. The App Store icon shows the total number of application updates available. If an update is available and you access the App Store, the Updates screen appears immediately.
Ensure all iTunes and App Store items on the phone are listed in iTunes:
++ +Update: This did not entirely solve the problem I had where not all apps on the phone were appearing in iTunes. However The Apple Blog seemed to have solved it with their "Transfer Applications from iPhone to iTunes" post. + +You can use iTunes to verify that all the music, videos, applications, and other items you bought from the iTunes Wi-Fi Music Store or App Store are in your iTunes library. You might want to do this if a download was interrupted. Verify your purchases:
++
+- Make sure your computer is connected to the Internet.
+- In iTunes, choose Store > Check for Purchases.
+- Enter your iTunes Store account ID and password, then click Check.
+Purchases not yet on your computer are downloaded.
Restart iPhone:
++ +Press and hold the Sleep/Wake button until the red slider appears. Slide your finger across the slider to turn off iPhone. To turn iPhone back on, press and hold the Sleep/Wake until the Apple logo appears.
Reset iPhone:
++Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears.
It isn't made clear what the difference between restart and reset is.
+ ++iPhone Doesn’t Respond
++
+- iPhone may be low on power. Connect iPhone to your computer or to its power adapter to charge. See “Charging the Battery†on page 33.
+- Press and hold the Home button below the screen for at least six seconds, until the application you were using quits.
+- If that doesn’t work, turn iPhone off and turn it on again. [See Restart iPhone above]
+- If that doesn’t work, reset iPhone. [See Reset iPhone above]
+
Mainly included this quote for this point on force quitting apps.
+ ++iPhone Is Too Warm
+If the interior temperature of iPhone 3G exceeds normal operating temperatures, you may experience the following as it attempts to regulate its temperature:
++
+- iPhone stops charging
+- display dims
+- weak cellular signal
+- temperature warning screen appears
+Important: You cannot use iPhone while the temperature warning screen is displayed except to make an emergency call. If none of the above measures succeeds in lowering the internal temperature, iPhone automatically goes into a deep sleep mode until it cools. You cannot make an emergency call when iPhone is in this mode. Move iPhone to a cooler location and wait a few minutes before trying to use iPhone again.
+
Interesting that this calls out the iPhone 3G specifically.
+ ++ +The iPhone User Guide, optimized for viewing on iPhone, is available at: help.apple.com/iphone
Pressing the number/symbol button and sliding to the appropriate key is a quick way of adding punctuation and single numerals.
+Time scanning after sitting idle is a strange UI anomaly. Could be related to network time.
+There's an interesting section on Backups and managing them in iTunes that I won't repeat here, pp. 139.
\ No newline at end of file diff --git a/content/technical/2008/07/iphone-tips-from-the-user-guide.yaml b/content/technical/2008/07/iphone-tips-from-the-user-guide.yaml new file mode 100644 index 0000000..72ab5c5 --- /dev/null +++ b/content/technical/2008/07/iphone-tips-from-the-user-guide.yaml @@ -0,0 +1,13 @@ +--- +slug: iphone-tips-from-the-user-guide +permalink: http://www.wezm.net/2008/07/iphone-tips-from-the-user-guide/ +kind: article +section: technical +created_at: 2008-07-15 06:53:23 +title: iPhone Tips From the User Guide +post_id: 49 +tags: [] + +categories: +- iPhone +status: publish diff --git a/content/technical/2008/07/iphone-vodafone-comments.html b/content/technical/2008/07/iphone-vodafone-comments.html new file mode 100644 index 0000000..718e7cc --- /dev/null +++ b/content/technical/2008/07/iphone-vodafone-comments.html @@ -0,0 +1,15 @@ +I just sent off the following to Vodafone customer enquiries. I'm not overly hopeful of a favourable response but thought it was necessary. + +Hi, +No doubt I'm one of thousands sending an email like this but still feel it necessary. I am eagerly awaiting the launch of the iPhone in Australia. I am intending to buy one on the day of release. When it was initially announced that Vodafone and Optus would be carrying the iPhone I had it in my mind that I would take the opportunity to swap to Vodafone from Optus. I have been a constant Optus customer since getting my first mobile phone in 1999.The complete lack of communication from Vodafone has put me off though. + +In order to make an informed decision on launch day it would have been nice to have plan details available at the very least a week before. With three days remaining its now getting beyond a joke. I understand that there may be other factors at play here. However given you have an audience that have voluntarily signed up for updates it would have been pro-active and open to communicate with these people and let them know what was holding up progress or at least when to expect more information (with more certainty than "very soon"). + +At this point are you able to provide any more detail than that which is publicly available already? + +Unfortunately unless the plans eventually announced are particularly compelling I expect I will remain an Optus customer. + +Regards, +Wesley Moore+ +Update: I never got a response and bought my iPhone from Optus. \ No newline at end of file diff --git a/content/technical/2008/07/iphone-vodafone-comments.yaml b/content/technical/2008/07/iphone-vodafone-comments.yaml new file mode 100644 index 0000000..abdbb95 --- /dev/null +++ b/content/technical/2008/07/iphone-vodafone-comments.yaml @@ -0,0 +1,15 @@ +--- +slug: iphone-vodafone-comments +permalink: http://www.wezm.net/2008/07/iphone-vodafone-comments/ +kind: article +section: technical +created_at: 2008-07-08 02:03:40 +title: Comments to Vodafone on Lack of iPhone Information +post_id: 37 +tags: +- complaint +- iphone +- vodafone +categories: +- iPhone +status: publish diff --git a/content/technical/2008/08/iphone-gripe-trucated-song-titles.html b/content/technical/2008/08/iphone-gripe-trucated-song-titles.html new file mode 100644 index 0000000..1740691 --- /dev/null +++ b/content/technical/2008/08/iphone-gripe-trucated-song-titles.html @@ -0,0 +1,4 @@ +Something that seems to be a regression on the iPhone relative to all previous iPods is that song titles get truncated. Even in the original iPod the Now Playing screen would scroll the current song title so that you could read it all when it didn't fit on screen. Later model iPods also scrolled text that was wider than the screen when browsing menus. It seems the iPhone 3G does neither of these. + +I tried the three main views: Now Playing, List view (flip side of album art in now playing screen) and the track browsing screen. All three are pictured at the end of this post (which incidently was written using the very cool iPhone WordPress app). It seems the only way to see the full track name is to rotate the iPhone into the Coverflow view where the text fits given the added width of the screen. If anyone has any better suggestions I'd love to hear them. + \ No newline at end of file diff --git a/content/technical/2008/08/iphone-gripe-trucated-song-titles.yaml b/content/technical/2008/08/iphone-gripe-trucated-song-titles.yaml new file mode 100644 index 0000000..895c04e --- /dev/null +++ b/content/technical/2008/08/iphone-gripe-trucated-song-titles.yaml @@ -0,0 +1,18 @@ +--- +slug: iphone-gripe-trucated-song-titles +permalink: http://www.wezm.net/2008/08/iphone-gripe-trucated-song-titles/ +kind: article +section: technical +created_at: 2008-08-17 09:10:12 +title: "iPhone Gripe: Trucated Song Titles" +post_id: 62 +tags: +- gripe +- iphone +- ipod +- music +- title +- truncation +categories: +- iPhone +status: publish diff --git a/content/technical/2008/08/pondering-sent-from-my-iphone.html b/content/technical/2008/08/pondering-sent-from-my-iphone.html new file mode 100644 index 0000000..5bbfe6e --- /dev/null +++ b/content/technical/2008/08/pondering-sent-from-my-iphone.html @@ -0,0 +1,33 @@ +The first email I sent from my iPhone was:
Hello from my new 16Gb white iPhone. I was 5th in line. :-)+Unbeknownst to me at that time, my phone had helpfully attached the default signature of, "Sent from my iPhone", at the end of the email. Later that day, in a reply to what may have been my third ever email from the phone a friend said:
> Sent from my iPhone + +thats going to get annoying soon.. heheh :-PNot one to wish to annoy people and seeing where he was coming from I removed the signature. + +A couple of weeks later as I was typing out a reply to a different friend on my trip to work on the tram, the desire for the signature returned. The reason being including the signature tells the recipient that the message came from a small handheld device, whilst I was on the go. This may help explain why the reply is terse and why there may be typos or particularly in the iPhones case, whole word substitutions. The phone is generally pretty good at auto-correction but if you're typing away furiously its easy for mistakes to go unnoticed. So, with a genuine desire to have a signature that wasn't about big-noting the fact I owned an iPhone, I explained the situation to my friends and asked what exactly was it that they disliked about it and how could it be made better and/or less intrusive. + +I got several well reasoned responses. The first suggested replying on the go wasn't really necessary, as most things can wait. So instead of pushing out a quick, terse response, take the time to write a proper reply and proof read for mistakes. Or just wait until you've got access to a desktop computer. + +Whilst a valid comment, the emails I am replying to are personal and I'm generally using my commute to work to read and reply to them to avoid using work time for personal email. Without doing so the reply would have to wait until my lunch break or until I get home. + +The next reply was from a fellow iPhone user that had also received comments about the signature, but agreed with me that it helped explain the style of the response. He noted that he had removed it though. + +The final reply echoed the first in suggesting that if its worth sending its worth doing properly and then followed with what I was expecting all along, I'll quote that part in full: +
To answer you question "why do you hate the sig", i think its mainly because of the blatant "zomg look at me i have an iPhone!!"".. There are many better options if you MUST have a sig just to say sorry to your reader.. eg Please excuse the brevity and/or any misspellings. The fact that it is the default, so it comes from everyone and is just such a blatant advertiser just gives me the shits to be totally honest :-)+I totally get where Hayden is coming from here. The default signature is quite blatant and in your face. + +Thinking it over I came up with the following solutions: +
BRILLIANT! + +love your work :-)+ +So there you have it, a simple change that might make some of your email recipients cringe a little less. \ No newline at end of file diff --git a/content/technical/2008/08/pondering-sent-from-my-iphone.yaml b/content/technical/2008/08/pondering-sent-from-my-iphone.yaml new file mode 100644 index 0000000..ccb45e8 --- /dev/null +++ b/content/technical/2008/08/pondering-sent-from-my-iphone.yaml @@ -0,0 +1,13 @@ +--- +slug: pondering-sent-from-my-iphone +permalink: http://www.wezm.net/2008/08/pondering-sent-from-my-iphone/ +kind: article +section: technical +created_at: 2008-08-12 12:04:25 +title: Pondering "Sent from my iPhone" +post_id: 57 +tags: [] + +categories: +- iPhone +status: publish diff --git a/content/technical/2008/09/pimping-vim-on-windows.html b/content/technical/2008/09/pimping-vim-on-windows.html new file mode 100644 index 0000000..0553d00 --- /dev/null +++ b/content/technical/2008/09/pimping-vim-on-windows.html @@ -0,0 +1,33 @@ +Following Nick Kreeger's handy post on tweaking MacVim on Mac OS X I applied some of the tips to GVim under Windows to make it a little easier on the eye. The following settings are placed in your _vimrc/.vimrc file. + +First up is a change of font. With the introduction of Windows Vista Microsoft had a set of new standard fonts created. These also ship with the latest versions of Office. The Consolas monospaced font makes a good programmers font so I this as the font when running under Windows. I've also set the size to be relatively small. + +
if has("gui_win32") + :set guifont=Consolas:h8,ProggyTiny:h8,Luxi_Mono:h12:cANSI +endifNext up set the window to start tall and a little wider than normal: + +
set columns=90 lines=65
+
+I share my vim config with Cygwin and Windows native vim. In order to get the Windows version to pick up the UNIX plugins etc in the .vim I include the following:
+
+" Make Windows use my UNIX vimfiles +if has("win32") + set runtimepath=$HOME/.vim,$HOME/vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME/vimfiles/after +endif+ +Turn on a custom status line which includes the file name, file type, modified and read only status, line and column numbers and the percentage through the file. + +
set laststatus=2
+set statusline=%<%f\ %m%a%=%([%R%H%Y]%)\ %-19(%3l\ of\ %L,%c%)%P
+set showcmd
+
+Along the lines of what Nick did I turned line numbers on and toned the colour down a bit:
+
+colorscheme koehler
+hi LineNr guifg=#666666
+set number
+
+So what does it all like in the end? Still not as good as MacVim but not too bad (click for full size version, scaled version looks a bit average):
+
+
+
diff --git a/content/technical/2008/09/pimping-vim-on-windows.yaml b/content/technical/2008/09/pimping-vim-on-windows.yaml
new file mode 100644
index 0000000..8b7bd27
--- /dev/null
+++ b/content/technical/2008/09/pimping-vim-on-windows.yaml
@@ -0,0 +1,14 @@
+---
+slug: pimping-vim-on-windows
+permalink: http://www.wezm.net/2008/09/pimping-vim-on-windows/
+kind: article
+section: technical
+created_at: 2008-09-23 10:21:38
+title: Pimping Vim on Windows
+post_id: 65
+tags: []
+
+categories:
+- Tips
+- Windows
+status: publish
diff --git a/content/technical/2008/09/update-expectations.html b/content/technical/2008/09/update-expectations.html
new file mode 100644
index 0000000..d369e35
--- /dev/null
+++ b/content/technical/2008/09/update-expectations.html
@@ -0,0 +1,35 @@
+I've recently upgraded from a Power Mac G5 to a Mac Pro. Since this upgrade also includes a switch of processor architecture I've been making a point of re-downloading all the apps I use, instead of just copying them from the old Mac. I'm doing this for two reasons. Firstly it ensures the apps are all up to date1 and secondly I ran Xslimmer over a lot of apps on the G5, which removed the Intel binary from Universal apps.
+
+This process has made me somewhat aware of a few apps that have seen little or no updates in quite a while. For some reason I have an expectation that applications will see periodic updates, say every six months or less. This expectation seems to stem from the fact I've paid for all these apps, which seems to bring with it some expectation of updates. Whether or not this expectation is justified or not is certainly up for debate. I clearly purchased a tool at some point and it performs its job fine, so I got what I paid for. I guess the expectation comes from not wanting to think you've bought abandon-ware and that software is one of those things that tends to continually evolve.
+
+In some cases I think the authors of the software fuel these expectations by explicitly indicating that there will be future development or by implying there will be updates. The following are some examples of what I'm talking about:
+
+There are some amazing things in the works for Disco. First and foremost, as Apple adds support for Blu-ray to their computers we intend to be right there with them. As soon as possible, Disco will support these new media technologies to the fullest. We're also planning on introducing more innovative features in the vein of Discography, Spanning and the new Disc Naming.+ +Obviously we're still waiting for Apple to bring us Blu-ray however despite the claims of future enhancements in the last sentence there have been no significant new features since the 1.0 release over 18 months2 ago. The last maintenance release was six months ago. + +
Ignore insecure directories and continue [ny]?
+
+Pressing 'y' becomes a bit tedious after a while so I decided to track down these insecure directories and fix them.
+
+man zshcompsys reveals the following about the security check:
+
+For security reasons compinit also checks if the completion system +would use files not owned by root or by the current user, or files in +directories that are world- or group-writable or that are not owned by +root or by the current user. If such files or directories are found, +compinit will ask if the completion system should really be used. To +avoid these tests and make all files found be used without asking, use +the option -u, and to make compinit silently ignore all insecure files +and directories use the option -i. This security check is skipped +entirely when the -C option is given. + +The security check can be retried at any time by running the function +compaudit. ++ +Running compaudit revealed the following: +
% compaudit
+There are insecure directories:
+/usr/share/zsh/site-functions
+/usr/share/zsh/4.3.4/functions
+/usr/share/zsh
+/usr/share/zsh/4.3.4
+
+Examining the permissions on these directories showed they were all group writable.
+
+% ls -ld /usr/share/zsh/site-functions
+drwxrwx---+ 2 wmoore mkgroup-l-d 0 Sep 4 10:54 /usr/share/zsh/site-functions
+
+Stripping them of the group write permission fixed the problem and made starting a new shell a little more pleasant.
+
+% chmod g-w /usr/share/zsh/site-functions /usr/share/zsh/4.3.4/functions /usr/share/zsh /usr/share/zsh/4.3.4
+% compaudit
+%
+
+
+Update: kylexlau provides this one line solution for correcting to permissions on each of the directories that compaudit returns:
+compaudit | xargs chmod g-w
\ No newline at end of file
diff --git a/content/technical/2008/09/zsh-cygwin-and-insecure-directories.yaml b/content/technical/2008/09/zsh-cygwin-and-insecure-directories.yaml
new file mode 100644
index 0000000..2afd94d
--- /dev/null
+++ b/content/technical/2008/09/zsh-cygwin-and-insecure-directories.yaml
@@ -0,0 +1,15 @@
+---
+slug: zsh-cygwin-and-insecure-directories
+permalink: http://www.wezm.net/2008/09/zsh-cygwin-and-insecure-directories/
+kind: article
+section: technical
+created_at: 2008-09-22 13:12:16
+title: zsh, Cygwin and Insecure Directories
+post_id: 66
+tags: []
+
+categories:
+- Tips
+- UNIX
+- Windows
+status: publish
diff --git a/content/technical/2008/11/iphone-case.html b/content/technical/2008/11/iphone-case.html
new file mode 100644
index 0000000..6386d26
--- /dev/null
+++ b/content/technical/2008/11/iphone-case.html
@@ -0,0 +1,7 @@
+Since I got my iPhone I've been trying to find a suitable case for it. As I mentioned on Stephen's blog back in July I was looking for a pouch style case. I wanted something a thin as possible but not something that was permanently on the phone. I don't see the point of buying some thing with excellent design then wrapping it in some ugly case. I've been dropping into phone shops now and then to see what cases they've got but hadn't found anything compelling until this week. I saw that TeleChoice seemed to have what I was looking for, it also happened to be a Mossimo case. There is one problem that I didn't notice in the shop though.
+
+The case itself is almost exactly what I'm after: it's a vertical slip-in genuine leather pouch with a soft liner. There's one glaring fault though, which is the inclusion of a metal eyelet. The eyelet will of course get pressed against the phone and damage it over time, especially when in a moving jeans pocket or similar. I haven't yet decided what to do about. Options include removing it, putting tape or something over it or putting a little piece of tape on the phone.
+
++ | +
`dpkg -l`
on the old server. The solution I came up with was as follows. Its not particularly elegant but got the job done:
+
+# On old server +aptitude search '~i' | grep -v 'i A' > ~/installed.txt +# scp installed.txt to new server +# Then on new server +aptitude search '~i' | grep -v 'i A' > ~/installed2.txt +# Then determine which ones the new server doesn't have already +diff installed*.txt | awk '{ print $3 }'|sort |uniq+ +I joined the resulting list into a single line (Text > Unwrap Selection in TextMate or :%j in vim), removed a few that I didn't want then did
sudo aptitude install
and pasted the list of packages from TextMate. The aptitude search '~i'
lists installed packages, the grep
removes ones that were automatically installed and the diff
finds ones that the new server doesn't already have.
\ No newline at end of file
diff --git a/content/technical/2009/01/determining-non-automatically-installed-debian-packages.yaml b/content/technical/2009/01/determining-non-automatically-installed-debian-packages.yaml
new file mode 100644
index 0000000..9ab7c30
--- /dev/null
+++ b/content/technical/2009/01/determining-non-automatically-installed-debian-packages.yaml
@@ -0,0 +1,20 @@
+---
+slug: determining-non-automatically-installed-debian-packages
+permalink: http://www.wezm.net/2009/01/determining-non-automatically-installed-debian-packages/
+kind: article
+section: technical
+created_at: 2009-01-20 13:18:54
+title: Determining Non-Automatically Installed Debian Packages
+post_id: 81
+tags:
+- apt
+- debian
+- installed
+- linux
+- packages
+- server
+- vps
+categories:
+- Linux
+- Tips
+status: publish
diff --git a/content/technical/2009/01/the-iphone-headphones-have-a-button.html b/content/technical/2009/01/the-iphone-headphones-have-a-button.html
new file mode 100644
index 0000000..832f5fa
--- /dev/null
+++ b/content/technical/2009/01/the-iphone-headphones-have-a-button.html
@@ -0,0 +1,43 @@
+Before Christmas I was speaking with two colleagues and recent iPhone adopters about headphones. They were examining my Sony MDR-EX71s (white, short cable) connected to Griffin SmartTalk. I mentioned the SmartTalk gives third-party headphones a button and microphone. I was asked if you could answer calls with the button to which I said, "yes, it does all the same things as the included headphones". To which the reply was, "the included ones have a button?". Yep they certainly do.
+
+The headset included with iPhone features a microphone and an integrated button that allows you to answer and end calls easily, and control audio and video playback. +Plug in the headset to listen to music or a phone call. Callers hear you through the headset microphone. Click the mic button to control music playback and answer or end calls, even when iPhone is locked.+ + + +These are the functions that can be performed with the mic button: +
Pause a song or video | +Click the mic button once. Click again to resume playback. | +
---|---|
Skip to the next song | +Click twice quickly. | +
Skip to the previous song | +Click three times quickly. | +
Answer an incoming call | +Click once. | +
End the current call | +Click once. | +
Decline an incoming call | +Press and hold for about two seconds, then let go. When you let go, two low beeps confirm you declined the call. | +
Switch to an incoming or on-hold call and put the current call on hold | +Click once. Click again to switch back to the first call. | +
Switch to an incoming or on-hold call and end the current call | +Press and hold for about two seconds, then let go. When you let go, two low beeps confirm you ended the first call. | +
if [ -f /opt/local/etc/bash_completion ]; then + . /opt/local/etc/bash_completion +fi+For reference I have the folloowing Git related config in my
.bashrc
:
+
\ No newline at end of file
diff --git a/content/technical/2009/03/bash-git-completion-with-mac-ports.yaml b/content/technical/2009/03/bash-git-completion-with-mac-ports.yaml
new file mode 100644
index 0000000..a304c0c
--- /dev/null
+++ b/content/technical/2009/03/bash-git-completion-with-mac-ports.yaml
@@ -0,0 +1,16 @@
+---
+slug: bash-git-completion-with-mac-ports
+permalink: http://www.wezm.net/2009/03/bash-git-completion-with-mac-ports/
+kind: article
+section: technical
+created_at: 2009-03-30 10:13:49
+title: Bash Git Completion with Mac Ports
+post_id: 107
+tags:
+- bash
+- completion
+- git
+- macports
+categories:
+- Mac
+status: publish
diff --git a/content/technical/2009/03/consolas-on-mac-update.html b/content/technical/2009/03/consolas-on-mac-update.html
new file mode 100644
index 0000000..606b9f5
--- /dev/null
+++ b/content/technical/2009/03/consolas-on-mac-update.html
@@ -0,0 +1,4 @@
+Today I followed my own directions on installing Consolas on my Mac Pro. The original directions were put together when installing it on my Mac Book. The downloaded disk image had a different volume name, as did the meta package. So the the command I used to launch the font installer was: open "/Volumes/Open XML File Format Converter for Mac 1.0/Open XML File Format Converter for Mac 1.0.mpkg/Contents/Packages/OpenXML_all_fonts.pkg"+ +After the installer ran I went about making it the default font in Terminal. After doing so and setting it the same as it was on my Mac Book (13pt, antialiasing on) it looked terrible on the Mac Pro. Compare the two images below. I was after the latter. +After a little bit of confusion I decided to check the font smoothing style in the Appearance preference pane (in System Preferences). Turns out it was set to Automatic (best for main display) on the Mac Pro and Medium (best for Flat Panel) on the Mac Book. Changing to Medium and relaunching Terminal had it looking identical on both machines. diff --git a/content/technical/2009/03/consolas-on-mac-update.yaml b/content/technical/2009/03/consolas-on-mac-update.yaml new file mode 100644 index 0000000..c5df685 --- /dev/null +++ b/content/technical/2009/03/consolas-on-mac-update.yaml @@ -0,0 +1,16 @@ +--- +slug: consolas-on-mac-update +permalink: http://www.wezm.net/2009/03/consolas-on-mac-update/ +kind: article +section: technical +created_at: 2009-03-30 09:56:12 +title: Consolas on Mac Update +post_id: 106 +tags: +- consolas +- font +- smoothing +- terminal +categories: +- Mac +status: publish diff --git a/content/technical/2009/03/debian-lenny-released.html b/content/technical/2009/03/debian-lenny-released.html new file mode 100644 index 0000000..28e3654 --- /dev/null +++ b/content/technical/2009/03/debian-lenny-released.html @@ -0,0 +1,3 @@ +Debian GNU/Linux 5.0 was released on Valentines day 2009, "after 22 months of constant development", according to the announcement. 22 months is still a long time between releases but its certainly an improvement over the nearly three years between 3.0 and 3.1 (sarge) and consistent with the 21 months between 3.1 and 4.0. + +As always the upgrade procedure is straightforward and worked seamlessly for me. I followed the instructions on go2linux. \ No newline at end of file diff --git a/content/technical/2009/03/debian-lenny-released.yaml b/content/technical/2009/03/debian-lenny-released.yaml new file mode 100644 index 0000000..30b6172 --- /dev/null +++ b/content/technical/2009/03/debian-lenny-released.yaml @@ -0,0 +1,16 @@ +--- +slug: debian-lenny-released +permalink: http://www.wezm.net/2009/03/debian-lenny-released/ +kind: article +section: technical +created_at: 2009-03-01 21:00:39 +title: Debian 5.0 'Lenny' Released +post_id: 90 +tags: +- debian +- etch +- lenny +- upgrade +categories: +- Linux +status: publish diff --git a/content/technical/2009/03/free-virtualisation-with-virtualbox.html b/content/technical/2009/03/free-virtualisation-with-virtualbox.html new file mode 100644 index 0000000..6c55c1b --- /dev/null +++ b/content/technical/2009/03/free-virtualisation-with-virtualbox.html @@ -0,0 +1,14 @@ +Virtualisation software has been around for a long time. This software allows you to host one or more guest operating systems on top of the one you're already running at near full speed. For example you could run Linux as a guest on Windows or OpenSolaris as a guest on Mac OS X. Some of the reasons you might wish to do this are: +
One particularly nifty feature if you're on a Windows PC without Administrator privileges is VirtualBox will install and run as an unprivileged user. This means if you're forced to use Windows at work you might be able to install Linux via VirtualBox and become a bit more productive.
+ +In some future posts I plan to cover some ways you can put VirtualBox to use. The first of these will cover setting up a Linux guest to mirror the deployment environment of a web application. \ No newline at end of file diff --git a/content/technical/2009/03/free-virtualisation-with-virtualbox.yaml b/content/technical/2009/03/free-virtualisation-with-virtualbox.yaml new file mode 100644 index 0000000..11eb746 --- /dev/null +++ b/content/technical/2009/03/free-virtualisation-with-virtualbox.yaml @@ -0,0 +1,15 @@ +--- +slug: free-virtualisation-with-virtualbox +permalink: http://www.wezm.net/2009/03/free-virtualisation-with-virtualbox/ +kind: article +section: technical +created_at: 2009-03-12 11:36:40 +title: Free Virtualisation With VirtualBox +post_id: 7 +tags: +- virtualbox +- virtualisation +- virtualization +categories: +- Software +status: publish diff --git a/content/technical/2009/03/install-consolas-mac-osx.html b/content/technical/2009/03/install-consolas-mac-osx.html new file mode 100644 index 0000000..a4b8e77 --- /dev/null +++ b/content/technical/2009/03/install-consolas-mac-osx.html @@ -0,0 +1,40 @@ +With the introduction of Windows Vista and Office 2007 Microsoft included some new fonts, which became the defaults in Office. Their names all start with 'C' and they are quite attractive. In particular there is a monospaced font called Consolas that is nice to use as a text editor font and Terminal font. The problem is they aren't technically free, although Microsoft does include them in a number of freely available updaters. What follows is how I went about installing the fonts on my Mac. + +open "/Volumes/Open XML File Format Converter for Mac 1.0.2/Open XML File Format Converter for Mac 1.0.2.mpkg/Contents/Packages/OpenXML_all_fonts.pkg"
OpenXML_all_fonts.pkg
was safe to install without fear that it will install any other rubbish using the lsbom
command as follows:
+
+$ lsbom -s /Volumes/Open\ XML\ File\ Format\ Converter\ for\ Mac\ 1.0.2/Open\ XML\ File\ Format\ Converter\ for\ Mac\ 1.0.2.mpkg/Contents/Packages/OpenXML_all_fonts.pkg/Contents/Archive.bom +. +./Calibri Bold Italic.ttf +./Calibri Bold.ttf +./Calibri Italic.ttf +./Calibri.ttf +./Cambria Bold Italic.ttf +./Cambria Bold.ttf +./Cambria Italic.ttf +./Cambria.ttf +./Candara Bold Italic.ttf +./Candara Bold.ttf +./Candara Italic.ttf +./Candara.ttf +./Consolas Bold Italic.ttf +./Consolas Bold.ttf +./Consolas Italic.ttf +./Consolas.ttf +./Constantia Bold Italic.ttf +./Constantia Bold.ttf +./Constantia Italic.ttf +./Constantia.ttf +./Corbel Bold Italic.ttf +./Corbel Bold.ttf +./Corbel Italic.ttf +./Corbel.ttf+ +This listing shows that the package only contains fonts, nothing else. diff --git a/content/technical/2009/03/install-consolas-mac-osx.yaml b/content/technical/2009/03/install-consolas-mac-osx.yaml new file mode 100644 index 0000000..26e3ba7 --- /dev/null +++ b/content/technical/2009/03/install-consolas-mac-osx.yaml @@ -0,0 +1,18 @@ +--- +slug: install-consolas-mac-osx +permalink: http://www.wezm.net/2009/03/install-consolas-mac-osx/ +kind: article +section: technical +created_at: 2009-03-02 22:00:59 +title: Install Microsoft's Consolas Font on Mac OS X +post_id: 82 +tags: +- consolas +- fonts +- installer +- microsoft +- package +categories: +- Mac OS X +- Tips +status: publish diff --git a/content/technical/2009/03/mac-remote-desktop-connection-without-installer.html b/content/technical/2009/03/mac-remote-desktop-connection-without-installer.html new file mode 100644 index 0000000..fc71708 --- /dev/null +++ b/content/technical/2009/03/mac-remote-desktop-connection-without-installer.html @@ -0,0 +1,15 @@ +Microsoft provide a Remote Desktop Connection (RDC) client for the Mac. This is a good thing. However it is packaged as an Installer meta package, which to me seemed unnecessary, so I went digging. Viewing the Packages folder within the meta package shows that Microsoft have thoughtfully included an Office updater, error reporter and help viewer as well as the RDC client itself: +
lsbom
command shows that Remote Desktop Connection.pkg
contains solely the RDC client app. This means that Microsoft could potentially distribute the app simply zipped or if desired on a disk image without the Installer package. Anyway, what this means is that you can extract the Archive.pax.gz
file in the package and happily skip the Installer. On a typical Mac OS X (10.5) installation (I.e. mine) with the Remote Desktop Connection disk image mounted this can be achieved by running the following terminal command:
+
+open /Volumes/Remote\ Desktop\ Connection/Remote\ Desktop\ Connection.mpkg/Contents/Packages/Remote\ Desktop\ Connection.pkg/Contents/Archive.pax.gz
+
+This should open a Finder window with your shiny new Remote Desktop Connection.app in it. You can then move it to you Applications folder if desired.
\ No newline at end of file
diff --git a/content/technical/2009/03/mac-remote-desktop-connection-without-installer.yaml b/content/technical/2009/03/mac-remote-desktop-connection-without-installer.yaml
new file mode 100644
index 0000000..79f9782
--- /dev/null
+++ b/content/technical/2009/03/mac-remote-desktop-connection-without-installer.yaml
@@ -0,0 +1,17 @@
+---
+slug: mac-remote-desktop-connection-without-installer
+permalink: http://www.wezm.net/2009/03/mac-remote-desktop-connection-without-installer/
+kind: article
+section: technical
+created_at: 2009-03-03 22:00:59
+title: Mac Remote Desktop Connection Without Installer
+post_id: 84
+tags:
+- installer
+- microsoft
+- package
+- remotedesktop
+categories:
+- Mac OS X
+- Tips
+status: publish
diff --git a/content/technical/2009/03/mlug-virtualbox-workshop.html b/content/technical/2009/03/mlug-virtualbox-workshop.html
new file mode 100644
index 0000000..d0b1a29
--- /dev/null
+++ b/content/technical/2009/03/mlug-virtualbox-workshop.html
@@ -0,0 +1 @@
+If you're a Melbourne Linux user interested in getting started with VirtualBox it might be worth checking out the next Melbourne Linux Users Group meeting. They're holding a workshop on installing a guest with seamless mouse and keyboard integration. I assume the integration part means they will cover installing the VirtualBox additions on the guest. See the MLUG website for all the details.
\ No newline at end of file
diff --git a/content/technical/2009/03/mlug-virtualbox-workshop.yaml b/content/technical/2009/03/mlug-virtualbox-workshop.yaml
new file mode 100644
index 0000000..cc78141
--- /dev/null
+++ b/content/technical/2009/03/mlug-virtualbox-workshop.yaml
@@ -0,0 +1,16 @@
+---
+slug: mlug-virtualbox-workshop
+permalink: http://www.wezm.net/2009/03/mlug-virtualbox-workshop/
+kind: article
+section: uncategorized
+created_at: 2009-03-13 08:58:12
+title: MLUG VirtualBox Workshop
+post_id: 10
+tags:
+- linux
+- melbourne
+- user-group
+- virtualbox
+categories:
+- Uncategorized
+status: publish
diff --git a/content/technical/2009/03/my-first-new-site-is-live.html b/content/technical/2009/03/my-first-new-site-is-live.html
new file mode 100644
index 0000000..5899e81
--- /dev/null
+++ b/content/technical/2009/03/my-first-new-site-is-live.html
@@ -0,0 +1,5 @@
+Since starting my new job at Tricycle Developments in January I've been working on a project to repurpose the Reddit source code into a kind of community blogging platform with voting and karma.
+
+The result of that work went live on Thursday and after an initial hiccup with a questionably named user posting off topic content its going well so far. One of the first posts on the site is one asking for feedback on Issues, Bugs, and Requested Features. The thread has been inundated with all three of these so it looks like I still have plenty of work ahead refining the user experience.
+
+As well as being the first site I've worked on from start to finish (aside from personal ones) Less Wrong is also my first Python project and significant open source project. Its been great learning another programming language and putting that knowledge into practice. You can check it out the code on GitHub (pun not intended). Also if you end up looking at or using the code or Less Wrong itself and encounter any issues there is an issue tracker on Google Code where they can be logged.
\ No newline at end of file
diff --git a/content/technical/2009/03/my-first-new-site-is-live.yaml b/content/technical/2009/03/my-first-new-site-is-live.yaml
new file mode 100644
index 0000000..f3f79df
--- /dev/null
+++ b/content/technical/2009/03/my-first-new-site-is-live.yaml
@@ -0,0 +1,15 @@
+---
+slug: my-first-new-site-is-live
+permalink: http://www.wezm.net/2009/03/my-first-new-site-is-live/
+kind: article
+section: technical
+created_at: 2009-03-01 22:00:02
+title: My First New Site is Live
+post_id: 88
+tags:
+- opensource
+- python
+categories:
+- Programming
+- Software
+status: publish
diff --git a/content/technical/2009/04/capturing-an-rtmp-video-stream-with-flv-recorder.html b/content/technical/2009/04/capturing-an-rtmp-video-stream-with-flv-recorder.html
new file mode 100644
index 0000000..d692a0b
--- /dev/null
+++ b/content/technical/2009/04/capturing-an-rtmp-video-stream-with-flv-recorder.html
@@ -0,0 +1,24 @@
+↓ Jump to solution
+
+Today I was pointed towards a video on the Today Tonight website (an Australian current affairs TV show) and told to save a copy. Our client had gained approval to use the video on their site and needed a copy for that purpose. It was a flash video and whilst I've never saved one before I knew there were various tools out there to do it.
+
+My first attempt was a couple of different Firefox Add-ons. None of the three I tried would tackle this video, they save the empty player and a few ads but that was all. After some Googling I jumped on a Windows virtual machine and tried out Orbit Downloader. Its use was a little convoluted but it did indeed seem to identify the RTMP stream and attempt to download it. Unfortunately I think the host was blocking it and it just sat in a loop successfully connecting, then retrying.
+
+Next up I found FLV Recorder it wasn't immediately obvious how to get it up and running but after following one of the many guides on the site I discovered that I had to tell it what network interface to listen to. I assume that it eavesdrops on the interface to detect and record the video stream, which is pretty cool.
+
+After the interface was selected I was on my way. I clicked the record button, loaded the webpage and started the video playing. FLV Recorder detected the video and started capturing it. As it is capturing the network traffic it's necessary to let the video play all the way through in the browser. A few minutes later and I had my video. I was able to play it back in the built-in FLV player before uploading it to YouTube.
+
+During my attempts I was able to determine that video itself was in Flash video format (FLV) being transferred using RTMP, which according to Wikipedia is, "a proprietary protocol developed by Adobe Systems for streaming audio, video and data over the Internet, between a Flash player and a server". It seems that the Flash player itself implements RTMP, which I think is why the Firefox Add-on's weren't able to see the network activity.
+
+
+mate .
in a directory. This works great until the directory or one under it contains large, irrelevant files like log files or database dumps. Its at this point you start encounter massive slow downs in the otherwise very useful 'Find in Project...' function. The slow downs turn into crashes if the files are big enough as this results in TextMate atttempting to grab vast amounts of memory. Eventually the OS tells it to, "bugger off, 1Gb is all I can give you", or something along those lines.
+
+A common solution, particularly when working on Rails projects is to create a shell alias that just invokes mate with the directories of interest. This works ok but given I'm working on a mix of project types (Pylons, Rails, Radiant) I wanted a solution that did the reverse: Choose everything except what I want to exclude. Informed by an answer to a question on Stack Overflow I came up with this:
+
+As the comments in the script note I have this in a file called 'ate
' in ~/Local/bin
, which is in my PATH. I can now happily go to any directory, type ate and have it ignore that list of directories.
\ No newline at end of file
diff --git a/content/technical/2009/05/exclude-directories-from-textmate-side-bar-for-faster-find-in-project.yaml b/content/technical/2009/05/exclude-directories-from-textmate-side-bar-for-faster-find-in-project.yaml
new file mode 100644
index 0000000..cdc4a65
--- /dev/null
+++ b/content/technical/2009/05/exclude-directories-from-textmate-side-bar-for-faster-find-in-project.yaml
@@ -0,0 +1,21 @@
+---
+slug: exclude-directories-from-textmate-side-bar-for-faster-find-in-project
+permalink: http://www.wezm.net/2009/05/exclude-directories-from-textmate-side-bar-for-faster-find-in-project/
+kind: article
+section: technical
+created_at: 2009-05-15 03:29:30
+title: Exclude Directories From TextMate Side Bar for Faster Find in Project
+post_id: 124
+tags:
+- bash
+- extended
+- find-in-project
+- globbing
+- script
+- shell
+- textmate
+categories:
+- Mac OS X
+- Programming
+- Tips
+status: publish
diff --git a/content/technical/2009/05/spider-a-site-with-wget-using-sitemap-xml.html b/content/technical/2009/05/spider-a-site-with-wget-using-sitemap-xml.html
new file mode 100644
index 0000000..d87889f
--- /dev/null
+++ b/content/technical/2009/05/spider-a-site-with-wget-using-sitemap-xml.html
@@ -0,0 +1,5 @@
+On a number of sites at work we employ a static file caching extension to do just that: create static files that are served until the cache is invalidated. One of things that will invalidate the cache is deploying a new release of the code. This means that many of the requests after deploying will need to be generated from scratch, often causing the full Rails stack to be started (via Passenger) each time. To get around this I came up with the following to use wget
to spider each of the URLs listed in the sitemap.xml
. This ensures each of the major pages has been cached so most requests will be cache hits.
+
+wget --quiet http://www.example.com/sitemap.xml --output-document - | egrep -o "http://www\.example\.com[^<]+" | wget --spider -i - --wait 1
~/Work
. Under that there's a folder for each project. Sometimes there are multiple variations on a project or project with a similar prefix such as:
+rad [Tab]
in my shell (zsh) it kindly completes this to radi
and gives a list of the other completions since there are several to choose from. I though it would be nice if the shell could learn from the choices I make. So if I generally choose radiopaedia then rad [Tab]
would complete to radiopaedia but still show the list of option.
+
+I'm sure there are several other areas where an adaptive shell that learnt from usage patterns could be applied.
\ No newline at end of file
diff --git a/content/technical/2009/08/adaptive-shell-idea.yaml b/content/technical/2009/08/adaptive-shell-idea.yaml
new file mode 100644
index 0000000..21309a6
--- /dev/null
+++ b/content/technical/2009/08/adaptive-shell-idea.yaml
@@ -0,0 +1,15 @@
+---
+slug: adaptive-shell-idea
+permalink: http://www.wezm.net/2009/08/adaptive-shell-idea/
+kind: article
+section: technical
+created_at: 2009-08-16 22:00:06
+title: "Idea: Adaptive shell"
+post_id: 178
+tags:
+- adaptive
+- shell
+- unix
+categories:
+- UNIX
+status: publish
diff --git a/content/technical/2009/08/local-package-management-with-gnu-stow.html b/content/technical/2009/08/local-package-management-with-gnu-stow.html
new file mode 100644
index 0000000..0f46327
--- /dev/null
+++ b/content/technical/2009/08/local-package-management-with-gnu-stow.html
@@ -0,0 +1,11 @@
+I'm a bit of a purist when it comes to installing UNIX style software. I prefer to install it via the package manager on the platform of choice (E.g. apt on Debian or Mac Ports on Mac OS X). However these repositories don't always contain the particular package you're after or may contain an outdated version.
+
+In situations like these where you end up building the package yourself I used to employ a system where I would install it into a subdirectory within my home directory. I did this because it doesn't overwrite a pre-existing system installed version, doesn't require root privileges and permits quick removal. To achieve this I just passed the --prefix
option to the configure script before building. For example if I was building vala I might run the configure script as follows:
+
+./configure --prefix=$HOME/Local/vala+ +Following that with the typical
make
, make install
sees the package built and installed into that directory. The problem with this approach is that for every package you build you have to add the target directory to search paths such as: PATH
, LD_LIBRARY_PATH
, MANPATH
, PKG_CONFIG_PATH
. After a while this gets a bit unwieldy. This is where GNU Stow comes in.
+
+Stow manages these separate target directories by creating symlinks into the parent directories. For example to build vala I would pass a prefix of $HOME/Local/stow/vala
to the configure script. After vala is built and installed, change to the $HOME/Local/stow
directory and run stow vala
. This results in symlinks to the files in $HOME/Local/stow/vala
being created in $HOME/Local
, with directory structure preserved. So if vala installs files to bin
and lib
these files will end up under $HOME/Local/bin
and $HOME/Local/lib
respectively.
+
+Stow can also delete the symlinks to support uninstalling. The end result is that you only need to add one extra directory to each of the search paths and custom software can be built, installed and uninstalled all without messing with the standard system and root privileges.
\ No newline at end of file
diff --git a/content/technical/2009/08/local-package-management-with-gnu-stow.yaml b/content/technical/2009/08/local-package-management-with-gnu-stow.yaml
new file mode 100644
index 0000000..b0c0141
--- /dev/null
+++ b/content/technical/2009/08/local-package-management-with-gnu-stow.yaml
@@ -0,0 +1,18 @@
+---
+slug: local-package-management-with-gnu-stow
+permalink: http://www.wezm.net/2009/08/local-package-management-with-gnu-stow/
+kind: article
+section: technical
+created_at: 2009-08-16 02:59:07
+title: Local Package Management with GNU Stow
+post_id: 147
+tags:
+- gnu
+- management
+- package
+- stow
+categories:
+- Linux
+- Tips
+- UNIX
+status: publish
diff --git a/content/technical/2009/08/temperature-logger-project.html b/content/technical/2009/08/temperature-logger-project.html
new file mode 100644
index 0000000..f5a294d
--- /dev/null
+++ b/content/technical/2009/08/temperature-logger-project.html
@@ -0,0 +1,11 @@
+For a while now I've had it in my mind to create a temperature logger. For no explainable reason I'm always curious about the temperature, particularly the extremes and strange fluctuations in one day. My idea is a basically to come up with a device that can read the inside and outside temperature and report these back to a host computer. The host would log the values in a database and make the current value and ideally the history available via a website.
+
+I finally got started on the project a couple of weeks back. I'm using an Arduino Nano as the bridge between the temperature sensors and the computer. Originally I was going to use (and actually purchased) the PIC based UBW but after seeing that the Arduino only cost a little more and had a full, freely available development tools for Mac OS X I switched to that.
+
+The temperature sensors are TI TMP275, 2-wire (SMBus) high accuracy digital temperature sensors. The largest package I could get them in was SOIC so I ordered some little adaptor PCBs from eBay. To solder them I also bought a fine soldering iron tip and solder paste from Jaycar.
+
+So far I have soldered the temperature sensors to their adaptor boards and got the Arduino up and running with an LCD. The next step is to wire in the sensors. When that's all working I'd like to use a simple RF transmitter/receiver pair to allow the outside sensor to be put on a separate device outside by itself and have its reading collected wirelessly.
+
+Some pictures of the build so far are below:
+
+[gallery link="file"]
\ No newline at end of file
diff --git a/content/technical/2009/08/temperature-logger-project.yaml b/content/technical/2009/08/temperature-logger-project.yaml
new file mode 100644
index 0000000..2d7f1d1
--- /dev/null
+++ b/content/technical/2009/08/temperature-logger-project.yaml
@@ -0,0 +1,20 @@
+---
+slug: temperature-logger-project
+permalink: http://www.wezm.net/2009/08/temperature-logger-project/
+kind: article
+section: technical
+created_at: 2009-08-12 11:20:13
+title: Temperature Logger Project
+post_id: 198
+tags:
+- arduino
+- electronics
+- embedded
+- lcd
+- sensor
+- soldering
+- surface-mount
+- temperature
+categories:
+- Projects
+status: publish
diff --git a/content/technical/2009/08/the-art-of-backup.html b/content/technical/2009/08/the-art-of-backup.html
new file mode 100644
index 0000000..749152a
--- /dev/null
+++ b/content/technical/2009/08/the-art-of-backup.html
@@ -0,0 +1,81 @@
+S3CONF=/path/to/conf.yml s3cmd -s -v deleteall bucket-name + +-v : verbose - show files +-s : SSL ++ +This ran for a couple of days before I noticed it had got stuck in an infinite loop. It was deleting the same files over and over again. It was here that I had to step in and start deleting stuff interactively. This is when I found the awkward Icon files. I tried several S3 clients for the Mac. Cyberduck ended up being the only one capable of removing them. + +
defaults -currentHost write -globalDomain AppleFontSmoothing -int 2
+
+You will need to relaunch any running applications for the change to be picked up. You can do this either by quitting and relaunching or logging out and then back in again.
+
+Before:
+
+
+After:
+
diff --git a/content/technical/2009/09/font-smoothing-in-snow-leopard.yaml b/content/technical/2009/09/font-smoothing-in-snow-leopard.yaml
new file mode 100644
index 0000000..d20b1ce
--- /dev/null
+++ b/content/technical/2009/09/font-smoothing-in-snow-leopard.yaml
@@ -0,0 +1,17 @@
+---
+slug: font-smoothing-in-snow-leopard
+permalink: http://www.wezm.net/2009/09/font-smoothing-in-snow-leopard/
+kind: article
+section: technical
+created_at: 2009-09-19 04:02:43
+title: Font Smoothing in Snow Leopard
+post_id: 246
+tags:
+- consolas
+- font
+- smoothing
+- snow-leopard
+categories:
+- Mac
+- Tips
+status: publish
diff --git a/content/technical/2010/01/clone-git-repo-on-non-standard-port.html b/content/technical/2010/01/clone-git-repo-on-non-standard-port.html
new file mode 100644
index 0000000..0af952c
--- /dev/null
+++ b/content/technical/2010/01/clone-git-repo-on-non-standard-port.html
@@ -0,0 +1,7 @@
+I use an SSH tunnel to access my computer at work from home. On occasion I want to clone a git repo that is on the remote server. To do so its necessary to specify the port, which doesn't work with the conventional clone syntax.
+
+E.g. git clone hostname:path/to/repo
. The solution is to be a little more specific:
+
++git clone ssh://localhost:2222/~username/path/to/repo +\ No newline at end of file diff --git a/content/technical/2010/01/clone-git-repo-on-non-standard-port.yaml b/content/technical/2010/01/clone-git-repo-on-non-standard-port.yaml new file mode 100644 index 0000000..a4922a4 --- /dev/null +++ b/content/technical/2010/01/clone-git-repo-on-non-standard-port.yaml @@ -0,0 +1,17 @@ +--- +slug: clone-git-repo-on-non-standard-port +permalink: http://www.wezm.net/2010/01/clone-git-repo-on-non-standard-port/ +kind: article +section: technical +created_at: 2010-01-13 10:21:51 +title: Clone git Repo on Non-Standard Port +post_id: 293 +tags: +- clone +- git +- port +- ssh +- tunnel +categories: +- Technical +status: publish diff --git a/content/technical/2010/01/updated-applications.html b/content/technical/2010/01/updated-applications.html new file mode 100644 index 0000000..7328137 --- /dev/null +++ b/content/technical/2010/01/updated-applications.html @@ -0,0 +1,14 @@ +Over a year ago in Update Expectations I noted three Mac applications that I had bought, which had seen little or no attention since their release. Today I noticed that one of these apps had seen a major new release. The application in question is AppZapper. The changelog on i use this notes the following: + +
the git model requires about 37 times the space that CVS does+ +and: +
that's not counting the overhead of 962 inodes and the related directory bookkeeping+ +He finishes off with an acknowledgement that git has data packing features: +
I know that git offers some more efficient storage methods via "pack" files, but investigating those is left as an exercise to the reader.+ +I generally enjoy Hubert's posts but as a daily user of git this one didn't sit right with me. I thought I'd take up the aforementioned exercise. +I retrieved the GENERIC,v rcs file1 and created a git repository2. + +I then ran a script3, which committed each revision of the file along with a single line commit message extracted from the rcs log. + +The repository then weighed in at 22,352kb4 with 3,174 files and directories5. This is where git-gc comes in. From the man page, "git-gc - Cleanup unnecessary files and optimize the local repository". After running
git gc
6 the size of the repository was down to 1,068kb, 1.24 times the rcs file. The file and directory count also vastly smaller at 64.
+
+So all in all git fares pretty well. Sure the repository is bigger than CVS and there's a few more files but its not in order Hubert suggests and its a small price to pay for all the benefits git provides.
+
+________________________
+
+1. From ftp.netbsd.org.
+
+2.
+mkdir git +cd git +git init +Initialized empty Git repository in /Users/wmoore/Source/NetBSD i386 GENERIC/git/.git/+ +3. + + +4. Repository sizes detemined via: +
du -sk .+ +5. File and directory counts determined via: +
find . | wc -l+ +6. +
git gc +Counting objects: 2871, done. +Delta compression using up to 2 threads. +Compressing objects: 100% (1914/1914), done. +Writing objects: 100% (2871/2871), done. +Total 2871 (delta 951), reused 0 (delta 0) +Removing duplicate objects: 100% (256/256), done.+ +Testing performed on Mac OS X 10.6.2 with git 1.6.4.2 \ No newline at end of file diff --git a/content/technical/2010/02/git-object-store-efficiency.yaml b/content/technical/2010/02/git-object-store-efficiency.yaml new file mode 100644 index 0000000..82ac924 --- /dev/null +++ b/content/technical/2010/02/git-object-store-efficiency.yaml @@ -0,0 +1,13 @@ +--- +slug: git-object-store-efficiency +permalink: http://www.wezm.net/2010/02/git-object-store-efficiency/ +kind: article +section: technical +created_at: 2010-02-13 06:49:27 +title: git's Object Store Efficiency +post_id: 305 +tags: +- git +categories: +- Technical +status: publish diff --git a/content/technical/2010/02/ipad-and-the-future-of-computing.html b/content/technical/2010/02/ipad-and-the-future-of-computing.html new file mode 100644 index 0000000..88d0895 --- /dev/null +++ b/content/technical/2010/02/ipad-and-the-future-of-computing.html @@ -0,0 +1,65 @@ +
The iPad is the console of computers + -- mmustapic+ + +
The iPad announcement last week created a cacophony of commentary ranging from, "Meh, its just a big iPod touch", to, "Wow, we're witnessing the future of computing". On announcement day I was firmly in the former camp. There appeared to be nothing new aside from the larger screen and a custom Apple SoC inside.
+ +Since then I've read a lot of smart commentary on the iPad, which has swayed my opinion quite a bit.
+ +Rob Foster suggests its not the geeks that are excited about the iPad:
+ ++ +The darndest thing happened in the last five days and I was fortunate to be privy to it. Apple has gotten people excited about computing.
+ +But this time, it’s not nerds or geeks and certainly not IT industry analysts. It’s everyone else.
I'm a programmer, I write software both as a profession and a hobby. On my computer I frequently use compilers, interpreters, an IDE, advanced text editors, web servers, database servers and command line tools in addition to the more common web browsers, email client, music player, video player and chat client. The iPad feels weak to me because I clearly can't do a lot of those things on it. I am of course in a minority. For everyone else a computer that just works is all they ask. Your typical computer user shouldn't have to know about drivers, viruses, file permissions, software installers.
+ +Think of it as a video game console where you download the games. Now extend that thinking to all the applications. + -- John Debs+ +
I realized today that we think of the iPad as a computer, when it's really a console. No outcries about the Wii being closed + -- Cory Foy+ +
There's a class of computers that has been operating like Apple's mobile platform for decades: video game consoles. The model of computing that Apple is using for the iPad, iPhone and iPod touch is very similar to that of say Nintendo. Closed systems, software approval, single main task at a time, limited expandability, ease of use, hardware abstraction are all features of both consoles and Apple's mobile devices.
+ +Steven Frank and Fraser Speirs suggest we're entering the future of computing with the iPad and I now think they may be right. The iPad and its successors will make computing a bit less general but a lot more approachable for the typical consumer.
+ +All is not lost for us tinkerers though. Just like game consoles the iPad needs software too. And whilst the iPad is not self-hosting (yet) there's still a need for "real" computers and programmers to write the software.
+ +Alex Payne is wary of the future that iPad style computing may bring:
+ ++ +For now, though, I remain disturbed. The future of personal computing that the iPad shows us is both seductive and dystopian. It’s not a future I want to bring into my home.
He makes a good point. If every computer out there were an iPad style device, totally locked down and under the control of its parent company there would be little room for exploration. However that's never stopped people before, just look at the efforts of the iPhone jail-breaking teams or the ongoing efforts to conquer the Xbox 360. Not only that, there's the open source movement fuelled by a desire to make everything from hardware to software totally visible and free to modify.
+ +The products of open source projects don't have a great reputation for having a fine attention to detail or remarkable ease of use but they exist. And just by existing they ensure that there will always be things for the budding tinkerers out there to explore, modify, extend and learn from.
+ +Much attention has been made of the fact that its only possible to run one app at a time. Many people seem to attributing this to a limitation of the processor used in the iPad or the iPhone OS itself. Both of these are of course totally wrong. The iPad, along with the iPhone and iPod touch are quite capable of running more that one process at a time. In fact that's how email gets sent and received in the background and how your music keeps playing when you're in the Facebook app. Milind Alvares attempts to clear up some of these misconceptions in, Understanding Multi-tasking on the iPad: What is it really?.
+ +The iPad is promoting single focus computing. It does away with the memory requirements, power use, and task management that comes along with running more than one major app at a time. Just like hiding the underlying file layout simplifies things, so does this.
+ +As the iPhone has shown us, there's very little actual need for more than one app running at a time. As long as the experience of switching between apps is fast and state preserving it often doesn't really matter if an app is stopped and started or just switched to. There are of some widely cited exceptions to this though: Chat clients and third party music players.
+ +iPad doubters -- remember how iPhone didn't have COPY-PASTE for 2 years? Now compare THAT to multitasking! + -- Jevgeni Kabanov+ +
The inability to run a chat client or third party music player in the background right now does not mean that it won't be added in the future. I'm sure Apple is well aware of these use cases, just like it proved to be well aware of the need for copy-and-paste on the iPhone.
+ +There are solutions to both these problems that don't require full graphical apps to be run in parallel. The music player problem would be solved if the iPad SDK permitted a non-graphical background process to be left running. The OS could even impose strict limitations on the system resources that the process may use. In fact this is already possible in Mac OS X1, so given iPhone OS's pedigree may already be present.
+ +The chat client problem could be addressed in a similar fashion: A non-graphical background process with the added ability to send notifications. This is already possible with push notifications, however imagine they could be generated by the background app and perhaps also include standard user interface elements, much like third party apps in the Settings app. This way a new chat message could be displayed, with a field to allow a reply. Obviously these notifications would need to be less intrusive than they are now but it shows its possible.
+ +RT @mashable: Apple's iPad: Will it Improve the Web? (Cashmore/CNN)- http://bit.ly/d1UgWF flash, like IE6, must die + -- Jevgeni Kabanov+ +
From my geeky point of view Flash is a rash on the web and the quicker it just goes away the better. However I know there's a lot of people out there that are writing the iPad off due its lack of support for Flash. The thing is, if Apple sticks to its guns and doesn't include Flash on the iPad it can only help push the adoption of alternatives like the HTML5 canvas
and video
tags. Sure there's going to be some pain until that time but we'll all be better off at the end.