Monthly Archives: February 2010

My Experiences at Dev8D-2010 (Sponsored by JISC)

I came to Dev8D in London with two tasks in mind. First, the IMS Global Learning Consortium had just released the public draft of the IMS Basic Learning Tools Interoperability specification and I needed to come up with some materials to help developers understand and use the specification. My second goal was to give a workshop based on my O’Reilly book titled, “Using the Google App Engine”. This was my first Dev8D experience so I was not sure what to expect.
This is one of many Dev8D happy stories. You can visit the Dev8D wiki see the other Dev8D Happy Stories.
Like any good procrastinator, I was putting the finishing touches on my PHP sample application for IMS Basic LTI on the flight and train ride into London. I knew it would be a bit rough around the edges but since I had a free laptop and free iPod as inducements to get folks to try the software out, I figured I would have some takers who would help me work out the kinks and I could work on things throughout Dev8D.
On the first day, I spent most of my time either in the Base Camp or in the Expert talk area. When I gave my first expert talk, my job was to do a sales pitch to the developers in the audience to convince them that my bounty (building the best LTI tool) was (a) the best bounty and (b) I would be able to help them succeed. Since I had just finished the sample code the night before, I did not have slides ready to describe my sample code – so I have a general talk about how awesome Basic LTI was in general and promised to have a tutorial ready for tomorrow. I told them to download the code and start hacking. It turned out that a few of the attendees already worked on their campus VLE and a better way of plugging in an external tool was quite attractive to them o we had a few programmer teams off and running.
I did not want to disappoint “Team Tools Interoperability” so I worked late on Wednesday night to build a set of slides on how to work with the sample code for my Thursday expert talk. On Thursday morning, I started talking with some of the programmers and explaining things and decided that I needed to add a feature to my sample application (Classified ads) and then add more slides to my tutorial just in time for my afternoon expert talk on Learning Tools Interoperability.
I decided to sign up for a 10-minute lightening talk about “Teaching Programming to non-Programmers” – this is something I think a lot about and get “a little cranky from time-to-time” I have written a few blog posts expressing my frustration abut the way we teach the first “programming class” but had been nervous about giving a talk about the topic (which is a bit critical of the status quo).
I did not have enough time to make slides for my lightening talk so I just scribbled down some rough notes and started talking off the cuff. It seemed like the audience was not going to lynch me so I kept talking about increasingly non-status-quo radical ideas bout what was wrong with the current approach and how I saw it differently in the future. I just said what I felt about the matter using very direct and risky language and let the chips fall. By the end, I figured I had so much that I would be escorted from the premises.
When I stopped talking, I waited for the questions or criticism. But instead people started telling me their own stories about their own frustration with the status quo in teaching about technology. These conversations continued into the evening party. At some point in these conversations, I realized that I was among people who had made it through the educational system and came through on the other side. They could see that programming, networks, data, technology, etc was a wonderfully creative place to be and a lot of fun. And most of the folks wish that lots of other people could share the fun we were all having. I was among my own kind – those who think of computing and technology as a form of creative expression.
But there was no time to rest – I had my Google App Engine Workshop to give – so I again on Thursday night I stayed up late getting prepared for the Friday workshop.
On Friday morning morning, both of the teams working on Basic LTI had found a bug in the Moodle support for BasicLTI. I had meant to test it out myself – but ran out of time – so we sat down Friday morning and found and fixed the code. Steve Coppin had already found and fixed one bug in the Moodle code (the hard one) and sent it to the Moodle Basic LTI team. I helped Steve find the last (easy) bug and got all the teams going again.
In the afternoon on Friday, after a bit of a scare getting my handouts printed (the University of London Union staff totally saved me!) and finding a Mac Air VGA adapter (yikes!) things settled down and my workshop started.
Since most of the folks at the meeting were geeks – getting software installed and the simple demos working was a piece of cake. I quickly sold the books I had brought over – so I had enough money for cab fare for my return. We cruised through the first 3 hours of the lectures and hands-on exercises having a great time it was fun to teach a new language to existing programmers – we could move pretty quickly.
Then we got to Chapter 8 about how App Engine does not support relational data but instead the Datastore is sorted, sharded data aimed at quickly reading through large amounts of data. As I was describing the advantages of Data Store – the crowd started to get a bit “restless”. They started thinking that App Engine was kind of crappy and started asking even more tough questions. I started to defend App Engine and point out its strengths and we moved into a free flowing discussion that went from search engine architecture to the future of computer science – reacting to the in-depth questions made me think a lot on my feet about “how” and “why” and “what this all means in the grand scheme of things”.
The group discussion that ensued was lovely – and by the end, I think that we all learned something by having our collective thinking bent one way and then another exploring this we technology and approach to data storage. I now I learned plenty during the impromptu “debate” part of the evening.
The awards dinner on Friday was great fun – you could start to see the JISC leaders and organizing committee relax a bit – we were past the half-way point and everything was going fine.
Saturday morning, I no longer had any more formal duties so I figured I would relax and judge the Basic LTI competition for the “bounty”. There was some space in the Arduio hardware workshop so I decided to sit in and learn how to teach using Arduino. I was having great fun learning Arduino and making an LED blink on and off when Tobias Schiebeck of Manchester came in because he was having trouble plugging Access Grid into Sakai using JSR-168 and he thought there might be a bug in JSR-168. He showed me what was happening and it looked like a bug so I stepped out of the Arduion workshop to look at it more thoroughly.
I had written the support for Sakai for JSR-168 back in 2005 and the bug was something I sort-of remember in the back of my mind as something that I had never fully tested. It had to do with sessions of different scope in JSR-168. Now he was getting stuck – his application was working but there was some yucky text on the screen because of the bug. He had even fixed one bug and then found another bug and had sent a note to the developers list some time ago which somehow I had missed. So we started to jointly hack on Sakai’s JSR-168 support. I wanted to figure this out once and for all and get it fixed right. Tt was great to have Tobias sitting next to me who (a) needed the fix, (b) knew Sakai internals pretty well, and (c) would help me work through the issues, and (d) would use the fix immediately.
We started about 10 AM – it was slow going at first because I had not touched the code in five years – but Tobias knew the code well enough to help me start to remember things. We quickly narrowed the problem down to the code he had patched – but his patch was not enough. So we just kept digging – we broke for a quick lunch and got back to coding and debugging. I kept being pulled out to judge the prizes and other things but would always come back and code more. We worked through the awards ceremony and it started to feel closer and closer. ANd finally I realized what was going wrong at a high level and started to narrow down the problem and solution. We started trying things and we were both testing and editing our own copy of Sakai at the same time. I got closer and closer – but finally Tobias had to leave to catch his 6PM train. I told him to save his version of the code and pack up while I ran one more test that I thought was finally going to make it work. He stood there as my Sakai instance restarted and after a few minutes we ran the test and realized that had the fix. Tobias was quite happy – as he ran to the train to go home to Manchester. In four hours, together we had cracked a bug that had eluded me for five years hidden deep in the code of Sakai.
By the time we were done, the room had become empty – and the staff were cleaning up the papers – and had taken away our power plug – and the food was gone – but we got the bug fixed and finished and TObias made his train with five minutes to spare!
Back to the main reason I came to Dec8D, the IMS Basic LTI prize winners were great – they had built and integrated their tools into Moodle, Sakai, Blackboard, and WebCT using Basic LTI in less than 48 hours. I was really proud. One of the projects integrated an existing reading list application and the other used Apache Wookie to plug widgets into a learning management system using Basic LTI.
Afterwards, I talked to both teams about helping work on and support the Moodle Basic LTI software and I think that this might work out.
So in summary, I cam with two ideas in mind and ended up doing a lot of things that just popped up as an opportunity. I worked on code from five years ago and worked on code that will be in the next release of Moodle – I did a bit of teaching and a lot of learning. A big “thanks” to Dan Hagon, Scott Wilson, Mark Johnson, Steve Coppin, and Ben Charlton.
I will write a separate blog post with screen shots of the software when I get more time! We awarded the Asus EEPC and iPod provided by Blackboard and gave away IMS T-Shirts – I was quite thankful as my luggage would be much lighter for the rest of the trip!
Being in the same rooms for four days with such smart people in a completely supportive environment (with plenty of snacks) was like several weeks of working by myself in terms of the variety of things I worked on. I made progress on so many fronts and had such a great time doing it.

Response to “Computer Science Reform” From Mark Guzdial

Update: This is getting interesting. The two people making comments are me and Alan Kay. Holey crap – that is like David versus Goliath – lucky for me it seems as though we are in agreement so far otherwise I would quickly withdraw and lick my wounds. Read below for the latest in the discussion.
Jim Eng is always looking for something to get me excited :) He passed along this blog post from Mark Guzdial of Georgia Tech:
Mark’s Post
The March 2010 Communications of the ACM (CACM) includes publication of two Blog@CACM pieces, a sort of point-counterpoint.

Chuck’s Europe Teaching and Learning Interoperability Hack Fest

Thanks to a great invitation from JISC to give a workshop at, I will be spending the next two weeks doing a coding/hacking tour of Europe. I figured that while I was in Europe already, I would add some additional stops at my own expense to do a little more coding. I will be staying with friends whenever possible to save money. The theme is IMS Basic LTI Evangelism and Google App Engine and I am not taking a single tie with me :)
Please contact me via text in a pinch – I may not have WiFi every moment.
Here is my itinerary:
Feb 20:

IMS Basic LTI Consumer for OLAT (

Next week this time, I will be hacking at the University of Zurich with one of the lead developers of OLAT (Guido Schnider) looking at better supporting IMS standards in the OLAT Learning Management System (
I decided to get a head start and code up the IMS Basic LTI Consumer for OLAT somewhat in advance to make sure that our work next week was as productive as possible – I wanted to get the download, compile, and basic stuff out of the way.
I made pretty good progress and kind of have my first pre-alpha release. Here is a nice working screenshot:


I have the source to the tool and instructions o how to add the tool to an OLAT distribution in the Sakai Contrib Repository because I like to put stuff into svn in case I lose it or break it.
There is still work yet to do when I get to Zurich – but now we can focus on more strategic issues rather than just getting the IMS Basic LTI equivalent of “Hello World” working.
In doing this work, I learned a bit about OLAT.

  • OLAT is over 10 years old and started in 1999 at the University of Zurich
  • OLAT has a nice learning object repository approach that is already very close to IMS Common Cartridge. OLAT objects have learning objectives, simple workflow, and other nice common LOR concepts.
  • OLAT makes a lot of use of AJAX rather than the traditional Request-Response cycle. I am still personally a bit nervous about the usability and accessibility of a pure-AJAX approach and am looking forward to talking more with the OLAT team about this next week.
  • OLAT (like many other systems) has its own MVC presentation framework. It is a blend of a Java component model for forms and Velocity templates – you can go back and forth between them. I am not an expert on the OLAT GUI framework yet – I think its strength is that it supports both “in-Java” and HTML-templating models so each developer can pick how they want to use both in their App. Abstractions around forms are always complex/powerful and take a bit of getting used to.
  • OLAT separates course authoring from course viewing. Initially that seemed weird to me – but after a while the edit/publish pattern felt pretty good. I can imagine that the author/publish pattern might allow performance advantages for certain static things.

I learned about using document.write to populate an iframe and how you must split up script tags when writing javascript using document.write. Cool stuff – you learn something new everyday. Here is a useful link on the issue:
In general I was impressed with OLAT and found it to be a very mature system and a nice extension model.

SPV Software Releases Basic LTI Building Block and PowerLink

Stephen Vickers of The University of Edinburgh has released his totally awesome open source IMS Basic LTI Blackboard Building Block and PowerLink:
They are downloadable from OSCELOT:
Also, here is Stephen’s demo of the Building Block in Action:

I want to give my personal thanks to Stephen for working so hard for over a year to make this happen. He has been helpful in getting other vendors on board with IMS Basic LTI and always has responded to requests and queries almost immediately. A great example of how awesome Open Source people can be.
Here is a video about IMS Basic LTI if you are interested:

Apple iPad Review: Awesome and Perfect – From Sobbing to Cheering!

Like most of the nerd world, I sat in my office listening to streamed pirate audio from the Apple announcement of the iPad last week. Like most of the nerd world, I had high hopes for the iPad – I wanted a tablet version of the Mac Air with no hinge! I wanted to do Java development and record lectures and get rid of my Wacom Cintiq. I wanted a Mac Air tablet that also ran those iPhone apps as well. I was willing to pay about $2000 for this “dream AirPad’.

Like most of the nerd world who had similar expectations and dreams by the 2/3 point of Steve Jobs’ introduction of the iPad, I was reaching for the kleenex and sobbing uncontrollably. I was so disappointed. Why did we wait so long to get a big iPod touch? Why? Why? Sniff sniff…

But then Steve said it would run Keynote, Pages, and Numbers – I started to catch my breath and my sobbing slowed to a periodic sob here and there. And then Steve said it would be $450 and then I was only sniffling and wiping the tears from my eyes. After all if it was only $450 I would buy it for my kids and maybe buy one for me – just to be very cool and get a second device with longer battery life. Heck – it was not that much more expensive than a second battery!

As the talk ended, I realized that this was not the “AirPad” – it was something else entirely – and like always, I started to work through the question of “What was Steve thinking when he made this thing?”. It actually only took a few minutes to look at the iPad from the positive direction and see the absolute brilliance of the approach. So here I go channeling Steve Jobs:

o This is a publisher device – this is the time for publishers (magazines and books) need to switch from paper to HTML 5. The Sports Illustrated YouTube video is so awesome ( ) I want a textbook where when you are having trouble with a passage you swipe your hand across the screen and up comes a video professor to help explain the concepts – like an instant – in place lecture. Kindle can’t do this – IPhone cannot do this – only the iPad can do this. The New York Times will really become the world’s newspaper – it will be so awesome that we will pay for it. It is like 1994 all over again – folks may actually get pay content to work.

o This puts Apple in a position where Amazon needs to look over its shoulder. Amazon will either comply with Steve or become another casualty in the media business where being a solid #1 only led to underestimating the skill of Steve Jobs and Apple to change media. “Oh – don’t worry about Apple – they only represent 0.01% market share” – wrong. Note to Jeff Bezos: Go ahead and let the Kindle go – don’t try to keep Steve out by saying “Exclusively on the Kindle” – it will not work – and when you lose, people will start buying real books through Apple instead of Amazon. Kindle was great while it was he only thing on the market – enjoy that – and accept becoming a niche player in the reader space.

o This enables lots of micro-payment information sources – once you have an iTunes account you can buy books, pieces of books, papers, etc etc – at whatever scale you want and you keep them forever and search them instantly along with the free stuff you keep in your own personal, local repository.

o This is the perfect tool for students from grade 6 – college sophomores. It takes about 25 pounds of books and laptop out of the back pack and replaces it with 1.5 pounds. Believe that Pearson (who mostly owns that market) will figure this out quickly – and reduce the price and increase the quality to *absolutely* drive out all the competition in the grade 6 to college sophomore market. The materials Pearson will sell for $20 per class will be far better than what we get for $120 per book and Pearson will make *far more money* because they eliminate printing, distribution, logistics, returns, stocking fees. Effectively the local bookstore loses a lot of profit and the used book market is gone and Pearson gets all the money – oh yeah – the books update automatically for $5 per per person per iPad.

o Why is there not a camera? Because it would take lots of pictures of your knee – it is where the iPad belongs. I work so well with a laptop and a book on my lap or next to my laptop. The iPad is not the laptop – it is the book. The laptop has a camera – the book does not need one. Also this is aimed at K12 and I am sure that K12 folks would be a bit more comfortable if the school was not loaded with 1000 cameras wandering around the school. Remember when they had to create camera-free units of some PDA because many businesses would not allow it. This is a book not a PDA.

o This next bit just freaks me out because it is so brilliant! I personally *must have* an iPhone, iPad, and MacAir everywhere I go. The iPad does not replace either my iPhone or MacAir – it replaces my books. It is an improvement on my iPhone when it comes to reading and responding to light E-Mail. So if We assume that some of the moderate use keyboard tasks will move from the iPhone to my new iPad – then I can handle a *smaller* iPhone – which will be my next purchase as soon as Steve gives it to us. It will be the iPhone Nano! Doh – so obvious – the right solution for me is is the iPhone Nano (with tethering) and an non-3G iPad and a Mac Air with a 120GB hard drive for development – this is so perfect of a configuration. You *DO NOT* need 3G on your iPad or on your MacAir if it just pairs with you iPhone nano in your pocket.

o My feeling is that Apple has been pissed at losing the K12 market to Microsoft about 15 years ago. After all – the Apple II and Oregon Trail was how we used computers in K12 for a very long time – and then Microsoft sneaked in – Apple tried with several attempts to displace Microsoft including the iMac with remote booting, the Newton – all failures because they just missed the fact that the rest of the world was PC based and Macs (back then) were slower, more expensive and K12 simply never appreciated the advantage of Mac Laptops. So Apple replaced the book with the iPad and with the publishers cooperation, students will initially leave the books home and carry around an iPad – and with $10 worth of Pages and Numbers – soon teachers will simply tell all their iPad toting students to leave their laptops at home because we will write that next paper on our iPad electronic book – oops – sorry Microsoft – you just got pwned in the sixth-grade class room – oh and by the way since the iPad is a music player too – they will *never* pick up that Microsoft computer ever again. Watch for very aggressive pricing of these to K12 – watch the new species replace the old species at amazing speed. The fact that the iPod touch is UI is already known to 15 percent of the students means that no further training in the iPad is necessary – the students and teachers will train each other. Apple has quietly been giving free iPod touches to student who buy a MacBook for the past three summers – Brilliant! Apple gave these away to train students and prepare them for the iPad!

o This will be the perfect device with which to give lectures. We will use lovely content and be able to annotate that input effortlessly. I already do this at great effort using my Mac Air and the Wacom Cintiq – I love it – but it is bulky and expensive. Here is a sample video – – imagine if someone adds an annotation and screen recording application to the iPad and then *every single K12 teacher* can record and publish annotated lectures with trivial effort. This will be completely awesome.

o HTML 5 for the win! Uh Adobe Air – forget it. Flash – yes you have had a good run – forget it. If H.264 is available with the HTML 5 video tag – there is no further purpose for Flash. Sure folks will want to run their old non-video true/false or matching questions – but folks will *quickly* tire of that when they see what you can do with gesture-enabled HTML 5. And the publishers are the ones who used Flash to make value added slick content will simply switch to HTML 5. Again – Flash – See YA! When you see what you can do with HTML 5 (including accessibility) – flash is done – fini! Thank heaven I never wasted time to learn flash.

o Learning to program. Those of you who know me know I love Python and think it is the ideal first language (see my book at ) – and no it is not on the iPad yet. But I am starting to think that the next first programming language (or at least the *second* programming language) is HTML5 + Javascript. Yes – I know it is yucky with semi-colons, etc – but it is the future. The future is dynamic and visual and HTML5 + Javascript is that future. I am already working on developing a course for next winter (2011) that is a *programming* course based solely on HTML 5 and Javascript. I don’t like Cocoa and I don’t like Objective C (sorry Steve Jobs and Steve Hayman) . This XCode developer environment will never take off – Everything is better – using a text editor is better – using a hammer and chisel is better – Visual Studio is better. Hey Apple is you want to fix this – download the free Visual Basic and write an application – and you will quickly see what a good IDE looks like. Back to my topic (sorry about that negative rant in the middle of my Apple love-fest). Objective C and Xcode simply does not matter – the future is Javascript and HTML5 – it is the view and controller of the future MVC – onward and upward.

o IMS Common Cartridge and Basic Tools Interoperability. Disclosure: I work for IMS as a consultant. These two standards are perfectly suited to be part of the iPad content revolution – I can’t wait to get one and start coding support for these standards. I will be playing with this at the JISC DEV8D meeting in London February 24-27 – “Dev8D is 4 days of 100% pure software developer heaven. It will be intense. It will be exhilarating. It will make you a better programmer.”

o I am running out of space – think about this as the ultimate personal portfolio tool. Particularly when paired with Time Machine. – Cool huh?

So with all this genius, is there a flaw or mistake or shortcoming in the iPad? In a word “no” – it is perfect – it is perfectly conceived, placed and delivered – the haters who claim ‘iPad sucks’ simply missed the idea – Steve is way ahead of us all – nothing new there.

So is there a risk to Apple because the iPad is “not enough”? Yes – a big risk. Historically, Apple waits until the others play their cards and then play last once they know what the others have done. They held back on the iPad as long as they could – but had to do something as other slates started to come out. Microsoft came up with a bumbling offering and Steve pounced. But who will pounce on Apple? Of course you know – Google is even more patient than Apple – because Google really does not need to make money (for now) from its *next* offering.

So Google can wait and see and simply out-Apple Apple (you would think Dell could out-Apple Apple – but apparently there are zero creative people working at Dell).

Back to Google – They could put out an dPad (droid-pad) with slick hardware and software and usability ripped off of from Apple – but a more open development platform – a more eager user community and less locked in provider contracts. And less expensive because Google can afford a bit of a loss-leader in order to not be shut out. And things like multi-tasking. And the Google slate can simply say “yes” to flash and make sure Flash is a thorn in Apple’s side for 3-5 more years – flash will eventually still die – but if Android goes wide-open for Flash in a tablet – then the world will be confused and conflicted for a while and Apple will take longer to get the the market “tipping point” and we all know the longer it takes to get to and past the tipping point in a market – the more likely it is that we will never reach the tipping point.

So Steve – just a word of advice – have Flash ready to go when Android makes their “we one upped Apple” announcement and be ready to one up them again one day later – I know you hate Flash – but you need to be more afraid of Android than of Adobe. The usual outcome of starting a land war in Russia is that you lose.

I guess that is enough for now. I love the iPad I have three on order – one for me, one for my daughter (junior in College) and one for my son (freshman in college). I am mostly investing in the health of their spine – and for me – I will love it – It will be an extra battery for my Mac Air – as a matter of fact I would have been able to type up this blog post sitting in a chair and looking cool instead of sitting on the floor so as to be near an electrical outlet.

As always – comments welcome.

A few comments came in. Most liked the post – thanks.
Some comments were concerned about the DRM – here is my response:

I see all this. I am personally all about “free everything” in materials I produce but I stop at the notion that violating copyright is a “god given right”. If folks want to protect their content – I don’t think that Steve Jobs is evil for giving them a place to distribute their work where they feel comfortable enough. It will be broken and in a few years perhaps even Steve will push the providers to remove DRM – but in the beginning – it needs DRM. If folks are upset – then just choose free stuff all the time – including purchasing a Linux tablet computer.