Sway has arrived for Glow users.

Sway allows you to

Create and share interactive reports, presentations, personal stories, and more.

I blogged a bit back in May.

Basically the app helps you present media online in a slick way. I’ve mostly looked at the iOS version. The different versions, Windows, web and iOS so far have different feature sets and a personal Microsoft account allows you do do slightly different things from a business/education account.

The app feels as if it is in pretty active development. Features that were coming soon in May are here.

What is particularly interesting, from my point of view, is that sways can be made public on the web and can be shared ready for remix.

This evening I used the iOS app on an iPad to build another sway (The featured image on this post is a screenshot of the borwser version of the sway, not the iPad view):

It didn’t take very long to add text and images. One difference I noticed was if I was signed into the app with a personal account I could upload video in iOS, I could not do this with my Glow account. Hopefully coming soon.

The browser app has a lot more options, including built in searches over flickr, youtube and other media sources.
Screen Shot 2015-10-26 at 21.29.19

It also looks like if you create or even edit a sway in the browser you cannot edit it afterwards on iOS (I might be wrong about this). I do not think either of these things are a great problem, we now know an iPad is a great content creation device and I would hope pupils would be using there camera and their own images for the most part on mobile.

Swaying in Public!

I’ve got the same feeling about the slickness of the creations as I had back in May, mostly about the ‘automatic creativity’ but the most exciting two things about Sway are public sharing and remixing.
Screen Shot 2015-10-26 at 21.19.24

Users have control over who the Sway is shared with and if they will allow their Sway to be duplicated by others.

Learning Opportunities

This is the first of the O365 services to allow public sharing which is very encouraging for those who see value on pupils sharing widely.  I also think that the ability to remix, change and improve someone else’s creation is a important skill.

There is obviously the opportunity to discuss aspects of publishing in public, Internet safety and copyright. The copyright issue is also nicely lead into by the browser version:

sway-copyright

We want pupils (and teachers) to understand aspects of copyright and creative commons. Unfortunately the editor does not auto-add attribution but it can be copied and pasted in the browser.

Glow Blogs?

I can embed a sway in this blog using the embed code. Unfortunately this is via a iFrame. iFrames are not supported in Glow Blogs. I do hope we can develop oEmbed like functionality in the Blogs soon in the same way as we have for ClickView video.

It looks like Sway itself supports oEmbed of other content so I’d hope that oEmbed of sways is at least under consideration.

I’ve barely scratched the surface of Sway, and look forward to seeing how it is used in Glow.

Update 11.11.2015 Glow Blogs support the embedding of sways, just paste the url to a sway into the editor: Embedding Media | Glow Blog Help.

Some gems from my Pinboard this week

Featured image, my own gif, Source, public domain: Book on Swordsmanship and Wrestling.   found on europeana

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.

I’ve read a lot of interesting things on Medium over the last couple of years. It seemed to start as an online space to write longer-than tweet posts, and evolved.

I’ve never written more than a few comments and one test post on Medium before this. I’ve been excited about blogging in a Domain of One’s Own and the ideas around that and those coming from the IndieWeb. A lot of the IndieWeb technology goes a wee bit over my head but I’ve installed a bunch of plugins here and thing about it a bit.

One of the IndieWeb ideas is POSSE Publish (on your) Own Site, Syndicate Elsewhere. This site auto posts links to twitter and G+ as do many blogs. I can now send posts to Medium too.

Medium now have an API and there is a Medium/WordPress plugin which allows you to push blog posts to Medium. There are also Medium IFTTT recipes that will do the same thing from other blogging systems. I’ve installed the plugin here.

I don’t suppose I’ll send posts to Medium often, it seems a little too writerly for me, but it is fun to play with and think about a further extension of blogging.

The WordPress plugin attaches the Medium account to your profile, so if you have more than one person posting to a blog they all could posse to different medium accounts. There are settings for copyright and for posting links to the posts in different spaces. The API does not allow you, as of now, to update posts on Medium from your blog. There is a Meta Box on the WordPress post editor to set the status of Medium posts as you go.

medium-settings

 

Technical note: I had a bit of trouble getting  plugin to work as it uses php short echo tags and I had to do a bit of find-and-replace in the plugin files. I am not sure if that will effect many folk.

I read about this first not in medium but my RSS reader, followed through to these interesting links:

 

Update, multiple  Also published on Medium lines appear at the top of this post, I do not know why?

It is National Poetry Day. When I was in class I always wanted to do something for this, but only occasionally remembered. Although I don’t have a way with words I like working with poetry in the class. I also occasionally like twitter haiku and the like.

I read Tom Woodward’s blog regularly and yesterday I noticed Fridge Poetry – Google Sheets as Database in my RSS reader. Given that I’ve messed about with fridges before 1, I took a look: Google Sheets – Fridge Poetry.

The really interesting thing 2 about this is that Tom has set it up so that it is easy to make another fridge with different sets of words. He even has a link on his post to create a copy of the google spreadsheet to make your own copy (you need a google account, a low entry bar). The sheet itself has the instructions.

Here is one with a selection of words from Scotland small? by Hugh MacDiarmid.

How do you save something like this? Take a screenshot.

What I really love about this idea, besides the sharing of how to do it, it the easy way it can be extended and used with a different set of words.

  1. That was back in 2002 when I was playing with Flash
  2. The other interesting this is the JavaScript and php stuff.

I’ve posted a few things here in reaction to the idea about banning mobiles in school: tagged: yesmobile.

Here is another reason for using mobile in learning:

I grabbed this video in the park this morning with my phone in the slowmo mode.

I would have though that the ability to do this outweighs the need to address problems of distraction?

On Saturday I went along to this event in University of Stracthclyde Innovation Centre. Orgainserd by Rob Smith and Bill Boyd in association with Scottish Film Education.

There were over 20 presentations and talks on a wide ranging set of topics.

The problem at events such as this is to decide which talks to go to and the regret on missing others. This can be exacerbated by watching the tweets from other sessions. I tried to guess which ones would be suitable for broadcasting and podcasting. This is tricky at a conference based around film.

During the day I broadcast from 8 sessions and David Gilmour (@dgilmour) kindly recorded more. This will be published on Edutalk over the next week or so. ScotFLF15 | EDUtalk, the links here should update as they are added1

Some of the recording start slightly late, due to my getting to the room late and a few will feature a samba band from the street as a background. What they lack in audio quality the make up for in content.

Although I’ve worked with creating video with and without pupils a fair bit I am not very knowledgable about film so I found interesting things in all of the sessions I attended. It would be hard to pick out a favourite. I certainly learnt a lot of new stuff from Rob Smith about Using Film in the Classroom and David Griffith talking about grammar in both text and film in From Shots to Sentences. I am more familiar with the work of Jennifer Jones on the Digital Commonwealth Project, but really enjoyed her talk and was delighted to get a hard copy of the ‎Handbook of Digital Storytelling as I’ve pointed folk to the pdf many times.
I suspect I missed a lot of details from the talks as I was recording I hope to gain from listening to and editing the recordings.

I do not know the official count of participants but it seemed pretty busy to me, as usual the number of Scottish teachers willing to go to cpd events in their own time is commendable. Some had travelled a fair distance and must of got up early. (Great to see Neil Winton). At a cost of £25 with plenty of coffee, pastries and a tasty lunch this was amazing value. There was a great buzz throughout the day. I’d recommend going along next year (I believe it will be run again).

Feature Image credit David Gilmour.

1. I am using the WordPress › RSS Via Shortcode for Page & Post WordPress Plugins to embed the RSS. That plugin is showing its age anf throughs some errors. so I’ve concverted the post to use the new (sic) block editor and am using the Display Remote Posts block.  

Update 29-09-2016: the pi is no longer posting gifs and images. I’ve recycled it it. Also hat-tip to Oliver Quinlan for catching a mistake in the instructions, I’ve fixed it below (sudo pip install pytumblr). The archive of over 50,000 gifs is still there.

A couple of weeks ago I blogged about getting my Raspberry Pi to create gifs and server them to the web:Gif Cam.

This only keeps the most recent gif. A couple of days ago I tried to set it up to catch the blood moon, and store a series of gifs but my scripts failed to work. It did lead me to changing the position of the camera from the local cross roads to the sky.

I then noticed a couple of interesting images, so though about how I could do that. There is not enough room on the pi’s SD card to hold images for very long. I started by uploading the gifs to a website via ftp. But this was still not a long term solution. I then though about Tumblr and after a bit of googling I’ve got a working solution that posts a gif of the Glasgow Skies to Sky Pi.

Here are some notes to show how I did some of it. You need to be able to use the termianl and a command line file editor such as nano. I am very much a newbie with this stuff.

My pi is on my home network connected to the router via Ethernet and a powerline. It is set up as a webserver with a domain, http://pi.johnj.info. I have ssh access to the pi and do any editing from my mac via ssh. None of these things apart from the connection to the Internet.

The pi is running from an SD card with NOOBS installed.

I’ve run: sudo apt-get update
and
sudo apt-get upgrade
before starting to get the pi up to date.

Code like the above is run form the terminal, either on the pi with a monitor and keyboard or by logging on via ssh. I create scripts on the pi in the terminal with nano, which is an uncomplicated text editor that is used in the terminal.

Taking Pictures, making Gifs

The whole thing runs from a shell script, which started like this:


    #!/usr/bin/env bash
    for (( i = 0; i < 10; i++ )); do
        raspistill -h 486 -w 648 -a 1036 -vf -hf --encoding gif  -o /var/www/tempgifs/cam${i}.gif
    done
    gifsicle --delay=10 --colors 256  --loop /var/www/tempgifs/cam*  > /var/www/tempgifs/camd.gif
    mv /var/www/tempgifs/camd.gif /var/www/camd.gif
    raspistill -h 486 -w 648 -a 1036 -ae +25+25 -vf -hf -o /var/www/camd.jpg

When the script runs, it takes 10 still pictures with the raspistill program. I am not too sure if these are the best settings, but

  • -h 486 and -w 648 set the dimensions.
  • -a 1036 stamps the date and time.
  • -vf -hf flips the image and turns it upside down (to put it the right way up)
  • –encoding gif outputs as a gif
  • -o /var/www/tempgifs/cam${i}.gif set the file path for the export.

I saved this file to regulargif.sh and then made it run-able with chmod +x regulargif.sh.

I’ve installed gifsicle with sudo apt-get install gifsicle and use that to create the gif file. The last line creates a jpg too. You can see the current gif and jpg on Gif Cam.

I need the script to run regularly so I set up a cron job. To do this in the terminal type crontab -w and add

*/9 * * * * /path/to/regulargif.sh

to the bottom of the file. This will run the script every 9 minutes.

Tumbling Gifs

The next problem is to upload to tumblr. Tumblr has a well developed API and libraries for several languages. After a fair bit of googling for a simple solution I decided to just use one of Tumblr’s own. I though it sensible to use Python as that language seems to have a lot of support on the pi. I don’t know any python.

First you need to install the pytumblr python module. So in the terminal:

sudo pip install pytumblr

You also need to have various keys for the API: consumer_key, consumer_secret, oauth_token and oauth_secret. To get these you need to create an App on tumblr. Here is what I did. (Well this was a second run through to document, the first time got a bit messy;-))

register an application Click the button and fill in the fields.
This will give you the consumer_key and consumer_secret.

key-and-secret

If you click the Explore API you will get a dialog to allow your new app to post for you (This did not work for me in Safari, I had to switch to Chrome and go through a couple of times).

permit-app

This will lead to a place to fill in your key and secret. Then the console.

add-keys

The Console will let you test various bits of code but more important will let you copy a block of code with the consumer_key, consumer_secret, oauth_token and oauth_secret.

all-info

It is worth clicking on Example output on the console to make sure everything is working.

Moving back onto the pi and the terminal I edited a new file with:

nano pytumble.py

And edit the file:


import pytumblr

client = pytumblr.TumblrRestClient(
 'consumer_key',
  'consumer_secret',
  'oauth_token',
  'oauth_secret'
)

# Make the request
o=client.create_photo('raspskypi', state="published", data=["/var/www/camd.gif"] )

print o

With the keys, tokens and secrets filled in. raspskypi is the name of the tumblr blog.

Save the file and make it executable. (chmod +x ) pytumble.py.

then type:

python ./pytumble.py

After a minute, if all is set up right you should see an id for the post returned and checking the blog should show a post with the image from /var/www/camd.gif

If all is well you can add:

python /home/pi/pytumble.py

To the bottom of the script that makes the gif.

Now every time the script creates a new gif, it should post the image to your tumblr blog.

Currently my pi has uploaded over 200 gifs: Sky Pi: Archive.