Tag Archives: Coding

Playing with Pinboard⤴

from @ John's World Wide Wall Display

Pinboard

I’ve been using pinboard for collecting links for five years now. I like it a lot, it feeds the Links page here and most of the enviable stuff.

One of the main things I like about it is its simplicity. Pinboard lists the links, titles, and descriptions without any images or fancy stuff. Adding links via the bookmarklet is simple. It supports the delicious API and has RSS so you can pull sets of links onto blogs and webpages easily enough.

Last week I used the service to play around with python a little. To produce a more visual representation of my recent links. I appreciate the irony. This was an excuse to play with several technologies that I do not know much about.

Last month I had read: this post Homemade RSS aggregator followup by Dr Drang. This shows how to make an RSS reader with python.

I’ve very occasionally played with python for an hour or two but do not really understand the basics. I can however try things repeatedly until they worked.

Planing and playing

My plan was to use the code from Dr Drang, simplifying it to deal with just one RSS feed. Using my pinboard links to produce a webpage. I also wanted to make thumbnails of the websites linked and play with CSS and JavaScript a bit.

The idea was to create the webpage in my dropbox. This could be updated automatically by the script running on my mac. I’ve had dropbox long enough to have a Public folder that is very handy for publishing webpages. This is now a pro and business option only.

Here is the script: pinboardrecent.py and the current output: Recent Pinboard.

Problems

The interesting thing about all of this is the several problems I hit and their solution.

The problem included:

  • Not know how to do something
  • Errors in the code I wrote
  • Errors with webkit2png 1 which I was using to produce the thumbnails.

The answers all involved google and testing and re-testing until things worked. In some all cases I am sure my answers were not the best way of doing things but they worked. I’ve noted most of these in the source. The other think I see in my code is lots of print statements that are commented out. I deleted lots more. There are surely better ways to find out what is going on/going wrong with a script but this works for me.

I am never going to be a programmer, but I get a lot of fun and occasional utility out of playing around like this.

There is a huge push to teach coding to pupils in school going on at the moment. A major reason for this is getting the right skills for employment. I hope a small side benefit will be giving learners the chance to have fun. Producing things for themselves rather than just use services and applications produced for them.

Tinkering with code that you do not understand may not be the best way to get a deep understanding of a language. It may not even help with learning the fundamental concepts. It does in my experience hook you into engaging with learning.

This term at work I’ll be involved in providing training in starting primary pupils coding. I’ll be recommending tinkering as one possible way of getting started and engaing pupils. I am sure some will be as fascinated as me.

  1. webkit2png has problems when trying to get thumbnails of non https sites on El Capitan (Mac OS X 10.11) google allowed me to find a fix and edit the source of webkit2png (which turned out to be python for extra learning). ↩

Learning to Code?⤴

from @ John's World Wide Wall Display

If you want your kids to have a solid computer science education, encourage them to go build something cool. Not by typing in pedantic command words in a programming environment, but by learning just enough about how that peculiar little blocky world inside their computer works to discover what they and their friends can make with it together.

We shouldn’t be teaching kids “computer science.” Instead, we should provide them plenty of structured opportunities to play with hardware and software. There’s a whole world waiting to be unlocked.

from: Jeff Atwood: Learning to code is overrated – NY Daily News

The article stems from the news that all New York City pupils will be coding in 10 years.  English education is away ahead of them: National curriculum in England: computing programmes of study – GOV.UK

The counter argument is that there are a lot of coding jobs in Scotland waiting for applicants:

Scotland’s tech sector is booming and our employment partners have existing vacancies just waiting to be filled by CodeClan graduates. Learn with CodeClan and become part of shaping the future of the digital world.

from: Home | Digital Skills Academy Scotland | CodeClan
and
Digital tech sector ‘to see strong growth in Scotland’.

This links very much to the views expressed by Charlie Love on Radio #EDUtalk: we have a lack of these skills in Scotland.

I do wonder how we can gear up for typing in pedantic command words in a programming environment with our current decline in computer science teaching. Should we go down the same road as England or would it be better to take Jeff Atwood’s advice? Is there a happy medium?

Image my own from a brief encounter with processing.

Thimble by Mozilla – An online code editor for learners & educators.⤴

from @ John's World Wide Wall Display

Source: Thimble by Mozilla – An online code editor for learners & educators.

Thimble gets a nice update.  Here is the quickest webpage I could make: Kicking the Thimble.

You can now upload files, css, image, javascript ect and create & edit multiple files. Code completion seems a lot better to me too. It grumbles about Safari s oI switched to chrome which is recommended along with FireFox.

Obviously useful for learning to create webpages.

Argyll and Bute school takes on the UK and wins⤴

from

Kodukup_Main_Lockup-01-300x100Hands up – which Scottish primary school took on 300 schools from all over the UK and won hands down?

 

Dunoon Primary School, who fought off the cream of game designers from Scotland, England and Wales to take home the Kodu Kup, Microsoft UK’s computer programming competition– taking the prize to Scotland for the first time.

Dunoon Primary School’s Pro-Gamers team of three eleven- and twelve-year-olds – Olivia Robertson, Lewis MacKay and Aidan Purdie – fought off challenges from schools across Scotland to win the Scottish Microsoft ‘Kodu Kup’ at West College Scotland on 17 June.

They then packed their bags to take on the national finalists at a hotly contested match hosted by Microsoft at their UK headquarters in Reading on 13 July.

Kodu Kup winnersThe team wowed the judges with their exciting game Rural Racers, created from scratch, and impressed them with a business case, marketing plan and promotional goods.

The win comes hot on the heels of last year’s Scottish primary winners Cardross Primary, who were the first Scottish school to be invited to the UK final, where they lifted the Judges Choice Award, and who were placed third this time. Rosneath Primary’s team Diamond Dogs were also Scottish finalists.

This success follows a technology showcase event hosted in Dunoon by the council’s learning technologies team, attended by 150 primary pupils and their parents. The aim of this event was to encourage young people to think about future career opportunities in the technology sector in addition to showcasing their talents.

Dunoon Primary’s Pro-Gamers team – P6 pupils Olivia Robertson and Lewis MacKay and P7 pupil Aidan Purdie – had a lot to say about their games based learning.

Chris Forrest, Managing Director, Microsoft Scotland, said, “Huge congratulations to the KoduKup 2015 UK Champions, Dunoon Primary’s ‘Pro -Gamers’ – it’s truly wonderful to see these young people be inspired by technology. It’s all the more impressive when you know that the children and their families have put off their summer holidays to compete! I’d also like to recognise the talent and commitment of all the entrants who have worked so hard, as well as the schools and teachers who have backed them.”

Argyll and Bute Council’s Policy Lead for Education and Lifelong Learning, Councillor Rory Colville, said, “This is a marvellous achievement. The award demonstrates there are no limits when self-motivation and teamwork combine to create a pathway to learning that heightens the power of deduction. This project provides young people in our schools with excellent ICT skills, and improves their understanding of computer programming and how technologies work, all of which are essential to their future.”

The council’s Executive Director of Community Services Cleland Sneddon said, “We are very aware that almost every field of employment now relies on technology. Through our education and youth services the council is providing young people with every opportunity to realise their potential. This project is important to the economy of Argyll and Bute as the council wishes to offer our young people as much choice as possible in where they live and work.”

Lewis MacKay Aidan Purdie and Olivia Robertson at the Scottish final

PHOTO- Dunoon Primary School Pro-Gamers (l – r) Lewis, Aidan and Olivia with Mary Peek, a classroom assistant who runs the school computing club and accompanied the pupils to both the Scottish and UK final.

Notes

The Kodu Kup is a national game creation competition organised by the Microsoft Educator Network, and is aimed at all children in the UK aged between seven and 14. Students plan and create their games and are encouraged to assess and give one another feedback. 480,000 students throughout the UK have been using Kodu Kup. The long-term goal of this project is to capture the imagination of young people, to showcase what can be created and inspire through technology.

Argyll and Bute Council’s learning technologies team have been providing additional exciting computer science related learning opportunities for young people at primary level. The team were awarded a silver award under the category of ‘Improvement and Innovation in Learning’ at the council’s 2014 excellence awards.

Google Classroom Assignments to Calendar⤴

from

Services such as “Show MyHomework” provide a calendar of homework allocated to pupils and classes by their teachers.  These simple tools allow files to be attached to homework but require the files to be download to be completed and printed in a traditional manner.  These tools do not integrate the allocation …

Google Classroom Assignments to Calendar⤴

from

Services such as “Show MyHomework” provide a calendar of homework allocated to pupils and classes by their teachers.  These simple tools allow files to be attached to homework but require the files to be download to be completed and printed in a traditional manner.  These tools do not integrate the allocation …

Angry Birds: Stella Pop….programmed by ex- Dunbar Grammar student, Alice Thorntonsmith⤴

from

Angry Birds: Stella Pop, the latest game to hit the market with great acclaim, was programmed by ex Dunbar Grammar student Alice Thorntonsmith who works for Outplay Entertainment. She was one of three programmers who worked full time on the project. Stella Pop has been in production at Outplay since early September. Rovio (the owners … Continue reading Angry Birds: Stella Pop….programmed by ex- Dunbar Grammar student, Alice Thorntonsmith →

Coding Glow #1: Reminder to Follow⤴

from

Office 365 out of the box is neither intuitive or built for learning, but with some set up and direction it could be a very effective environment for online, blended and flipped models of learning. This post is number one of a series of posts I’ll me making on how to …

Coding Glow #1: Reminder to Follow⤴

from

Office 365 out of the box is neither intuitive or built for learning, but with some set up and direction it could be a very effective environment for online, blended and flipped models of learning. This post is number one of a series of posts I’ll me making on how to …