Writing and Sharing Code

A while back, I had made reference somehow/somewhere to this infographic.

Thanks, mint.com.

It’s an infographic that claims to show how a credit card number can be validated.  I don’t know if the algorithm explained is true in all cases but it was interesting.

It’s kind of interesting when you have people reference your resources.  It’s an indication that someone is actually reading the resources and blogs that I’m creating.  So, it was with a smile that I read a message from Alfred Thompson (@alfredtwo) on Twitter) asking if I remembered the infographic about credit cards verification.  A quick search and I was able to send him the link.

I also sent Alfred a smart aleck comment to the effect "I smell a Computer Science problem here".  Alfred, if you don’t know, is the K-12 Computer Science Academic Relations Manager for Microsoft.  Within minutes, he got back to me indicating that that was exactly what he was up to.

As I look at the algorithm, it is indeed something that’s easily handled in secondary school Computer Science.  You need to ask the user to enter a credit card – it sure can’t be an integer with its 16 digits – then rip it apart digit by digit – do a little mathematical calculation – and then finally validate the check digit to make sure that the number was valid.

I had to go out and do something right after the exchange with Alfred and when I got home, I thought "What the heck – I’ll whip up the code to solve this".  In my Computer Science teachable qualification course at the university, we’ve talked about how teachers should solve all of the problems that they give to students so that they know, in advance, the challenges that students will have.  We had also talked about choice of languages and one of the ones that we had played around with (and enjoyed) was Microsoft’s Small Basic.  Now, we had done some silly little programs in class but this was a little more involved and so I decided to code the solution with this language to see how it looked.

It took probably 20-30 minutes as I had to learn some of the nuances of the language in order to make it work.  Eventually, it was done and I thought that I would share it with Alfred.  Now, in a traditional world, I’d save the code to a text file and then email it to him.  Given my blog post of yesterday, that would be a little hypocritical.  However, as I noted in the post, there are better ways to share resources and Small Basic fills the bill there.  Instead of saving the application, I just publish it.  The code goes off to Microsoft’s cloud and I’m given a code.  Could it be this easy to share?

Ever the skeptic, I save the program locally, shut down Small Basic and reload it.  This time, I give it the code I received before and, voila, there’s my program.  Sweet.  The code is on the way to Alfred.  Perhaps I could save him a little time but I suspect that he’ll write his own program and do a better job at it. 

From this experience though, I had a number of things confirmed.  The best programs for the classroom solution are all around us.  We just have to find them.  I’m impressed with how Small Basic could handle it.  I’m even more impressed with how easily I could share my code.  In the classroom, what a great way for students to collaborate. Or, from a teaching perspective, I could distribute a program for students to debug, or to distribute the basics of a program and allow them to complete it.  Best of all, Small Basic is free and so the home/school connection gets stronger.

I love it.

Powered by Qumana

OTR Links for 02/28/2011

Posted from Diigo. The rest of my favorite links are here.

Spammers Crack Me Up

Thank you Akismet from keeping this stuff from the public.  But, to the spammer…

Is there a difference between “checking constantly” and “checking continuously”?  Or, how about “seeking” and “looking”?

All this checking seems to have been done within one minute of each other.

Whither Email

There was a time, almost 10 years ago, when email became so common place that it made absolute sense to try to incorporate it into the classroom.  For economic and other reasons, many school districts just couldn’t swing it.  As it turns out, that may be the best thing that could have happened.  Have you seriously looked at the cost of hosting your own email for a system of students?

Take a read of this article from the Huffington Post which makes reference to the annual report from ComScore.  This paragraph should leap out to anyone reading it.

Email use dropped 59 percent among users aged 12-17, as well as 8 percent overall, according to ComScore’s 2010 Digital Year in Review. Users between 18-54 are also using email less, though among those 55 and older, email actually saw an upswing.

There are a couple of things that make one smile.  First of all, in order for email use to drop, it means that the students have email accounts to begin with.  So, why does education need to provide another one?  I think, in my own little world, I have almost a dozen email accounts that various organizations and providers have generously given me.  Thankfully, I’ve written rules that forward them all to a single point of reading.  Secondly, while I’m certainly not in the 12-17 age group, my own email use has to have dropped at least that much as well.  In fact, there are days when I don’t even check email at all.

A while ago, I heard Dr. Gary Stager speak as a featured keynote at the iNACOL conference in Nashville.  He came out strongly against the use of clicking, voting technology in the classroom.  Other than it’s a frustrating, highly priced replacement for hand raising, he made a forceful point that has stuck with me ever since.  He has remained true to his message, including his most recent post in Tech&Learning.  I would urge you to look past his focus on a particular piece of technology but look at the real message.  While he does open the door a crack for the use of Interactive Whiteboards, his message is a wakeup call to any technology that puts the teacher on a podium at the front of the classroom.

They reinforce the dominance of the front of the room and teacher supremacy. At a time of enormous educational upheaval, technological change, and an increasing gulf between adults and children, it is a bad idea to purchase technology that facilitates the delivery of information and increases the physical distance between teacher and learner.

So, how does this tie into student email?  In my mind, email in the classroom reinforces the same dominant teacher position.  It is a dehumanizing electronic separator of teacher and student.  It’s not that students don’t want to use electronic communications; it’s that with all the options they have, they’re switching to better forms.

When you look at their preferred choices for communication, what are the characteristics?  Typically, it’s not one to one; it’s one to many.  It doesn’t rely on a single person reading and responding; they’ll amass a team of their peers for answers to questions.  When you look at texting teens, they’re not texting back and forth to a single person; they’re using the technology to engage a group in multiple conversations.  The capacity to do this is quite amazing.  Where does this leave the humble teacher trying to get back to a class full of emails?

In fact, most of what needs to happen educationally can be done with better tools than email.  The kids get it.  There are better tools for their form of collaboration – a wiki or a ning easily embraces the concepts that help working with peers.

Don’t think that they’re limited by a 9-4 schedule either.  While school based email systems may seem like a great idea for control, move your work to a better medium and you’ll see that the kids are alright.  They’ll be working on their projects late into the evening calling on their own experts as needed.  I think of a friend of mine teaching AP Chemistry who used private electronic rooms in a class wiki for groups to focus on their major projects.  Or another Grade 7 class where students wrote and peer edited manuals late into the evening – just because the technology enabled it.

“But, if we only had email, I could have students email me their assignments.”  Think about it.  That certainly is an expensive way to do something that’s better done with a tool designed for it.  You need to check out DROPitTOme.

In fact, when you think about all the ways that you might use email, there are so many alternatives to do the job and do it better.  It takes us away from Dr. Stager’s fear that everything needs to originate from someone in control and turns over the responsibility for choosing the best tool to the end-user.  And, all without receiving a phishing email that could encourage an errant student mouse click.

Given the statistics from the original article, the kids have got it.  They’re voting with their tools of choice.  Are we listening?

Powered by Qumana

OTR Links for 02/27/2011

Posted from Diigo. The rest of my favorite links are here.

Discover Wikipedia

Despite all your protestations, you use Wikipedia, don’t you?  I think we all use it as a reference source – probably not as a sole source as no one resource is the best way to go.  But, if you need quick information about a topic, any topic, you can be reasonably assured that there’s something on Wikipedia to feed your information and a launch to other resources.

The folks at Cooliris, the developers of the ultra cool wall for viewing streams of graphics have developed another cool tool and it takes the iPad interface to a new level while using Wikipedia.  If you’re a fan of Pulse or Flipbook for reading news, you’ll really enjoy Discover for reading Wikipedia.

When you start the application, the learning starts immediately as you are dropped into a story of the day.

A quick swipe reveals a picture of the day.

Both are great ways to start the day and become just a bit smarter.  Of course, you’re accessing Wikipedia for the resources and so a swipe down opens a search dialogue.

Type your search term and away you go.  The developers have taken care to format the results to take advantage of the iPad layout.  I find that the results are easier to read than going online and reading the Wikipedia in wiki format.  This should serve as a model for all developers who wish to attract and keep audiences using their applications.

Navigation takes the best of what iPad has to offer.  Of course, there’s search but a tap on related articles can often let the researcher dig deeper into the current or related topics.  In case you’re easily distracted, the history feature always will let you get back on track.

If you’re a Wikipedia fan, you’ll appreciate the functionality that’s built into this app.  If you’re not a Wikipedia fan, download and take it for a spin anyway.  The power and reach of Wikipedia marries the iPad nicely.Tags: , ,

Powered by Qumana

OTR Links for 02/26/2011

Posted from Diigo. The rest of my favorite links are here.

This Week in Ontario Edublogs

It was another great week of reading the thoughts and comments of the various Ontario Edubloggers that I know about.  The list that I know is online at this LiveBinder site.  If you’re an Ontario Edublogger or you know of one, please consider completing the form so that your efforts can be added to the great musings coming from our province.

From Consultants and SATs
Poor @JacCalder!  I think we’ve all experienced those moments when things don’t go according to plan.  Check out her Plan B episode!

From K-12 Teachers
@Grade1 shares a great deal about what’s happening in her 1/2 classroom.  I found an entry about Literature Circles really interesting to read. How can you go wrong with Robert Munsch.

From Principals, VPs, and Administrators
@ShannonInOttawa writes an incredible insightful post about the shortest of months – February – and how she can justify taking students on a trip to the ski hills.  Though her carefully crafted comments, she gives some deep insights as to how she see the value of this activity.  A great read if you want an exemplar as to how to justify any field trip.

From Trustees and Higher Ed
I’m going to call my own number on this one.  I really like the power of the network and I really like it when the power is demonstrated to show great things for kids.  I wrote a little piece about the “comments4kids” hashtag that generated some interesting comments from those who happened to stop by.  Not all were positive.

I hope that you’ll take the opportunity to drop by the LiveBinder site and read all of the great Ontario Edublogs regularly.  If you’re an Ontario Educator and would like to be listed there, please complete the form.

Powered by Qumana

OTR Links for 02/25/2011

Posted from Diigo. The rest of my favorite links are here.

Doing Different Things

As noted from the responses to yesterday’s blog post, the concept of commenting on student blogs is generally well received by folks.  It provides that sort of feedback that the connected world of 2011+ promises.  There are cautions, of course, but there always have been cautions.  Think back to your own education.  I’m thinking of the various field trips that I went on during my elementary school experience.  We got the very best experience by taking trips and making those connections outside the classroom.

In my own experience, I recall a trip to the local bakery, to a dairy farm, to Niagara Falls, to the University of Waterloo, to the Stratford Festival, and to the Historic Museum in Goderich.  These were all unique experiences that extended the learning of the classroom and the fact that I can remember them so many years later is testament to the power of these experiences.  Having provided these sorts of things to my own classes, I can appreciate the care and planning that my teachers had put into each and every one to ensure success and safety.  If you want deep thoughts about out of classroom experiences, then you need to read ShannonInOttawa‘s thoughts about field trips.

One of my mentors (and Superintendent of Program at the time) and I would periodically sit down and chat about the place of technology in education.  Right up front, we agreed on one thing and that was that the word integration just wasn’t one that we would use to describe what we do.  By its nature, it conjures up the idea that technology somehow could be melded to look like something that you were doing already.  One of his phrases, and it made so much sense to me at the time and continues to do so is that the true promise of technology is that it goes far beyond “doing things differently” and takes us into the realm of “doing different things.”

How often do you hear the use of technology expressed in this manner? “Not only do we write, but we write using a word processor”.  “Not only do we research, we research with Google”.  Is that delivering on the promise?

In a day and age where physical field trips outside the educational institution can be a challenge, technology steps up to the plate.  Sure, there are opportunities to take virtual field trips but it goes further than that.  Techniques like blogging turn the tables and garners the experience of the outside world into the educational moment just like a trip to the bakery gets the experience of the baker.  Except – the opportunity exists for bakers from around the world to participate.

It’s this experience that shines when you participate in “comments4kids”.  However, as the title of this blog post shows, there’s more than just blogs where you can provide feedback to students and their hard work.

A couple that come immediately to mind are:

  • Custom YouTube Channels where students are creating digital stories and posting them;
  • Scratch Programming Projects where programming students show off their skills;
  • The School’s Wiki

Even if there is no specific feedback mechanism, you’ll typically find a link to the teacher’s email where a small note of appreciation goes a long way and you know will be shared with students.  You, and your students can help the cause by viewing/reading, analysing, and providing commentary on the various projects.  The ultimate compliment though would be to use the projects of others as inspiration as you create your own.  Now, that’s doing different things.

Powered by Qumana