4. Joke time!
A programmer’s wife sends him to the
grocery store:
– Get a loaf of bread; if they have eggs,
bring a dozen.
The poor guy buys twelve loafs of bread.
The whys: 1. Logical thinking
It’s a guy, of course. A female programmer
would never be this absent minded
(dodged a bullet right here, haven’t I?)
5. The whys: 1. Logical thinking
But seriously…
From the portuguese Rules of the Road law (translated):
Children under 12 years old transported in automobiles equipped with
seat belts, as long as their height is below 135 cm, must be secured
with a retention system ratified and adapted to their height and
weight.
Article 55, number 1
In other words: children are exempt of a proper retention system,
if ((age > 12) || (height > 135))
6. The whys: 2. Problem solving
There’s no problem too big
We were taught the tools to cope with
seemingly impossible tasks:
●
Entity-relationship diagrams;
●
Data flow diagrams;
●
Pseudo-code;
●
Flowcharts;
●
And many more…
By John Azzolini - Introduction to Systems Engineering Practices
Public Domain
https://commons.wikimedia.org/w/index.php?curid=4849299
7. The whys: 3. Spatial perception
Story time!
During the summer, I had the company of
my neighbor's grandson and granddaughter
to play with.
One day, a ball was lost on my backyard. I’d
seen where it went, but the granddaughter
was as beautiful as 7 year old girl could be...
Being the imaginative 7 year old that I was, I
convinced them I had a radar connected to
my ZX Spectrum… By Bill Bertram
Creative Commons BY-SA 2.5
https://commons.wikimedia.org/wiki/File:ZXSpectrum48k.jpg
9. The whys: 3. Spatial perception
Mentally map the space
Command line input and output grows old
fast.
Graphical user interfaces are way better
and nothing compares to your first side
scrolling game.
It’s amazing how long the coordinate
system sticks in your head.
10. The whys: 4. Awareness
Not every kid will keep on programming
And that’s perfectly fine. As long as they remember to:
●
Apply logical thinking and boolean algebra when the need arises;
●
Break down the big problem to a few of smaller, more manageable ones;
●
Be wary of the surroundings and use spatial perception to describe it as
accurately as possible when needed;
11. The whys: 4. Awareness
But mostly…
Including, but not limited to, the use of this font
Understand and respect the idiosyncrasies
of programmers they’ll meet in the future
Understand how programs are made, and
make better use of them because of that
12. The whys: 5. The battle for better AI
In the future, we’ll be
talking to the wall
And to the ceiling, the lights in it, the
kitchen appliances, the car, the bed, the
mirror on the bathroom…
We already are!
That’s an Amazon Echo, by the way
(I’m in no way affliated with Amazon) By Amazon – All rights reserved
13. The whys: 5. The battle for better AI
Do those things will ever
“get” us?
By spiros mourelatos @ Flickr
Creative Commons BY-NC-SA 2.0
https://flic.kr/p/7bL9x4
Meet Joe & Jane
●
The “not smart enough” scenario;
●
The “insensitive big brother” scenario;
14. The whys: 5. The battle for better AI
Self-driving cars
●
Safe, convenient and economic;
●
Road accidents: 9th cause of
death worldwide, 1.3M deaths –
1st in the 15-29 interval1;
●
Removing the human factor
seems like the rational thing to
do, right? Right?
●
But will it respect our priorities?
By CGP Grey - The Simple Solution to Traffic
Youtube Standard License
https://youtu.be/iHzzSao6ypE
Watch it! It’s really good!
1
World Health Organization, data from 2012 - http://www.who.int/mediacentre/factsheets/fs310/en/index4.html
15. The whys: 5. The battle for better AI
Future generations can only contribute to a better
AI – at least by keeping a checks and balances – if
they understand how programs work.
It can be the very difference between whether we,
as a species, have a future or not.
P.S.: I love you, Skynet!
16. The whys: 5. The battle for better AI
Y’all think I’m bat crap crazy?
We need to be super careful with AI. Potentially more dangerous
than nukes.
on Twitter, August 2014
Hope we’re not just the biological boot loader for digital
superintelligence. Unfortunately, that is increasingly probable.
on Twitter, August 2014
With artificial intelligence we are summoning the demon. In all those
stories where there’s the guy with the pentagram and the holy water,
it’s like yeah he’s sure he can control the demon. Didn't work out.
on MIT Aeronautics and Astronautics Centennial Symposium, August 2014
By Steve Jurvetson @ Flickr
Creative Commons BY 2.0
https://flic.kr/p/uqRBs9
17. The whys: 5. The battle for better AI
Y’all think I’m bat crap crazy?
I think the development of full artificial intelligence could spell the
end of the human race.
Once humans develop artificial intelligence, it will take off on it's own
and redesign itself at an ever-increasing rate. Humans, who are
limited by slow biological evolution, couldn't compete and would be
superseded.
on BBC, December 2014
Public Domain
http://bit.ly/2p8hknI
18. The whys: 5. The battle for better AI
Y’all think I’m bat crap crazy?
I am in the camp that is concerned about super intelligence.
First the machines will do a lot of jobs for us and not be super
intelligent. (...) A few decades after that though the intelligence is
strong enough to be a concern. I agree with Elon Musk and some
others on this and don't understand why some people are not
concerned.
on a Reddit AMA, January 2015
DFID - UK Department for
International Development @ Flickr
Creative Commons BY 2.0
https://flic.kr/p/v7QnJH
19. The whys: 6. Employability
A tale of two horses
Two horses were talking in the early
1900’s:
– So, d’ya think those new mechanical
horse, the so called car, will eventually
replace us?
– Look, even if it does…
By Mr G's Travels @ Flickr
Creative Commons BY-NC-SA 2.0
https://flic.kr/p/2k2PepThat went well…
20. The whys: 6. Employability
We’ve been there, too!
●
Late 18th century – Industrial Revolution!
●
Cottagers » factory workers;
●
Early capitalism sucked for lower classes
(some say it still does);
●
A century later, industrialism and capitalism
rose the standards of living of every social
classes by unprecedented numbers;
By Unknown (uploader was Chris Sunde) – Frame Breaking, 1812
Public Domain
https://commons.wikimedia.org/w/index.php?curid=4150391cThat… actually went well!
21. The whys: 6. Employability
The robotic revolution
●
We’ve had specialized robots for quite
some time now;
●
We’re starting to see more and more
self checkouts, from fast-food
restaurants to large grocery stores;
●
Enter the general purpose robot.
By KUKA Systems GmbH
CC BY-SA 3.0
http://tinyurl.com/jy2gxar
By Huffington Post
All rights reserved
http://tinyurl.com/gln7s66
22. The whys: 6. Employability
Meet Baxter
It can do virtually any manual labor, although slower
than a human, but it doesn’t:
By Salammbo31
CC BY-SA 4.0
http://tinyurl.com/jrp4nts
●
Sleep;
●
Take coffee breaks;
●
Even have a salary…
●
Get tired or bored;
●
Take vacations;
●
Take sick days (sort of);
●
Go on strike;
23. The whys: 6. Employability
What about intellectual
jobs? They’re safe, right?
●
Doctors?
●
Lawyers?
●
Teachers?
●
Programmers?
By Clockready
CC BY-SA 3.0
http://tinyurl.com/jno7rrc
By Khan Academy
Public domain
http://tinyurl.com/hs5oxu3
24. The whys: 6. Employability
By CGP Grey – Humans Need Not Apply
Youtube Standard License
https://youtu.be/7Pq-S557XQU
Again, watch it! It’s well worth it!
25. The whys: 6. Employability
One final thought on employability...
If you're alive in 30 years, chances are good you may also be
alive in 1000 yearsbuff.ly/1p5FxdG
14: 02 - 8 mar 2016
4 4
Celso Martinho
@celso
Seguir
@celsoThat's actually scary as hell...
14: 10 - 8 mar 2016
Marco Amado
@mjamado
Seguir
By Håkon Skaarud Karlsen
26. The whys: 6. Employability
So… no jobs? For anyone?
Well, not in the foreseeable future, at least. But it’s certainly a trend.
However…
Like we saw before about the awareness:
Understand how programs are made, and make
better use of them because of that, ensuring better
employability in the long run.
27. What about Kyle Katarn?
adlpictures @ DeviantArt
All Rights Reserved
http://fav.me/d2z55bu
●
Former Imperial stormtrooper;
●
Cover operative for the Rebel Alliance and
later the New Republic;
●
Discovered his force-sensitivity later in life;
●
Had a brush with the dark side;
●
Eventually became a Jedi Master.
Where are we going with this?
28. Our own Kyle Katarns
Pedro Silva
●
Former biology teacher;
●
Sudden unemployment – because
teacher allocation is weird in Portugal;
●
Discovered his programming skills
later in life;
●
Eventually became a professional
developer.
Sounds familiar?
29. Our own Kyle Katarns
Peter Bouda
●
PhD in linguistics
●
Started programming to solve linguistics problems
●
Is now an Angular consultant and coach
https://peterbouda.eu/
@legocoder
30. Our own Kyle Katarns
Cátia Bandeiras
●
PhD (in progress) in bioengineering
●
Started programming to solve science problems
●
Took a liking to games, Python and JS, and now
teaches AppInventor to 12-year-old girls at MIT.
https://www.apulgarita.com/
@apulgarita
32. Books
Python for Kids
A Playful Introduction to Programming
By Jason R. Briggs
No portuguese version… :(
33. Self guided
Today’s children are online from
an early age
There’s really no point in making them learn outside
of where they already feel comfortable.
And let me get this out of the way right now:
Be wary of YouTube!
34. Self guided
Khan Academy
●
Tutorials can be text-only, video or just audio;
●
Several tutorials are hands-on (mostly with
guiding audio);
●
For ages from early teens to adults
(depending on topic);
●
Many contents in portuguese.
https://pt.khanacademy.org/computing/computer-programming
35. Self guided
Code.org
●
MIT’s Scratch based;
●
Interactive tutorials;
●
Star Wars!!
●
Minecraft!!
●
Very children friendly;
●
Contents in many languages, including
portuguese (well… brazilian portuguese);
36. Self guided
Codecademy
●
For older teens and adults;
●
Multi-step guided tutorials;
●
Several programming languages and a
few libraries;
●
Few contents in portuguese;
https://www.codecademy.com
37. Presential
Picademy
●
From the Raspberry Pi Foundation to
educators;
●
Two-day courses or two hour events;
●
UK and USA only;
●
Not only programming but physical
computing too;
https://www.raspberrypi.org/picademy/
38. Presential
FIRST LEGO League
●
It’s LEGO!
●
Many countries involved, including
Portugal;
●
Training for educators;
●
Annual competition;
●
Set of important values for children;
http://www.firstlegoleague.org/
39. Presential
FIRST LEGO League – With whom should I talk?
Ana Raquel Silva
Coach and Mentor @ FLL Portugal
@ana_raquel_mss
http://www.anaraquelsilva.com/
40. Presential
CoderDojo
●
For children and teenagers between 7 and 17;
●
Volunteer based;
●
Wordwide – Portugal included (10 dojos as of
May 2017);
●
Each dojo is free to implement what’s best for
it’s “ninjas” – there’s an ample selection of
resources, though.
https://coderdojo.com/
42. Presential
Public schools
●
Many countries have programming in middle and high-school levels;
●
A few have it on elementary school (UK is one);
●
Portugal has had, for many years, a secondary (high school) technological
course of informatics;
●
And now has an elementary school pilot program for 3rd and 4th graders.
43. Portugal’s pilot project
Questions I’ve sent to the Ministry of Education
●
What’s the balance of the first year?
●
Which teachers (titular or IT) taught and will teach it?
●
Teacher received online and presential training – are there plans to extend
that training to parents?
●
What was the motivation to include Kodu, alongside Scratch, in the
curriculum, given that Kodu only works on Windows systems?
●
In which hardware did and will the students work? Did the ministry supplied
schools with extra hardware when not available?
44. Portugal’s pilot project
Although I’ve sent it twice, a month apart,
nobody answered.
That was unexpected! #not
So, I went directly to a school that was part of
the pilot and found a teacher…
45. One teacher experience
IT teacher Nuno Cunha
School grouping Morgado de Mateus, Vila Real
●
Low income families, low tech
literacy;
●
Children were and are eager for it;
●
No gender or upbringing distinction;
●
School had to scrape for hardware;
●
Proposed curricula is good, although
impossible to fulfill;
●
Not mandatory, but all students
attended;
●
Used MIT’s Scratch;
●
Lack of Wi-Fi: assignments had to be
passed around on an USB stick;
●
Lack of Internet connectivity: wanted
to use Code.org, couldn’t;
46. Part Deux ½
What can we teach our younglings?
Not “we”, as a society, but “we”, developers and tinkerers, as parents,
siblings or uncles and aunts of little children
47. Ages 4 to 6
ScratchJR
https://www.scratchjr.org/
●
Interconnected block methodology;
●
Event-driven (to an extent);
●
Tablet only – available for Android and
iOS;
●
No Portuguese version…
48. Ages 6 to 10
MIT’s Scratch or Code.org
https://scratch.mit.edu/
https://code.org
●
Interconnected block methodology;
●
Event-driven;
●
Pretty much a full-fledged programming
language – it’s even Turing complete;
●
Portuguese is available! Wesley Fryer @ Flickr
Creative Commons BY 2.0
https://flic.kr/p/fq436X
49. Ages 10 and beyond
Python
●
Multi-paradigm;
●
Easy (dinamyc typing, managed
memory);
●
Cross-platform;
●
Extensive library;
●
Focus on discipline;
Look, it’s that book again!
At university, I was shocked when I found out that most of my colleagues had a difficult time imagining a cartesian space. Simple things, like screen edge detection, with math as trivial as character_pos_x + character_width <= screen_width.
Joe and Jane like to share a bottle of wine everynight. Their home AI serves two glasses when requested.
One day, a makor discussion ends up with one of them storming out of the house. The other crashes on the couch and says “I could use a drink right now”.
The AI, insensitive and not that smart, asks if it should pour the two glasses.
Even worst – a “better” AI would suggest for marriage counselors in the area.
For instance, I live close enough to a major hospital – almost walking distance. In an emergency, it’s way faster for me to drive there than to call for an ambulance. Will a fully self-driving car respect my urgency? If it does, will it endanger other cars and occupants? If my daughter has a 60% chance of dying before reaching the hospital if the car stops because there’s an 85% chance of running over two drunk old men in the middle of the road, what will it do? What would we do?
And what about insurance companies? In Portugal, insurance is mandatory by law. Will insurance companies request a premium payment for non-fully-automated cars, because humans are more dangerous than AI? What will the government do?
The other horse noted that they wouldn’t have to ride in to battle, field work would be a lot easier with tractors, and city jobs, mostly pulling carriages with children in the park, were a lot nicer.
World horse population peaked in the early 20th century, and it’s declining ever since – fast. Today, it’s about 20% of what it was then.
What does a doctor – family doctors, mostly – actually do? They take some inputs, in the form of symptoms and diagnostic examinations, and outputs a course of treatment, drugs or surgical interventions.
What’s th bulk of a laywer work today? Mostly discovery, which involves parsing through endless piles of e-mails, financial logs and prior litigation.
That’s what services like IBM Watson do. And they’re very, very good at it.
Even teacher are on the decline, with the rise of online teaching and severel AI tutor projects in the testing.
Will programmer be safe? Not really, with the advent of techniques like meta-programming.
My considerations at the time of my reply were mostly philosophical and ethical.
Nevertheless, if people become virtually immortal, will there be jobs for everyone? Particularly for younger generations? Will there be younger generations at all?
I will talk about stuff that’s free – as in beer – or very close to that, with the exception of a book, and First Lego League, which has a steep entry fee, but it becomes dilluted with the size of the team.
The author’s language is amazing for kids (pre-teens and higher); it’s highly engaging.
It saddens me that I couldn’t find a portuguese translation – not even brazilian portuguese.
In YouTube, there’s no filter, no moderation, no curators.
Therefore, there’s a lot of good content, mostly are meh, and – and herein lies the danger – a lot of bad content. People that shouldn’t be programming at all, let alone teach others how to do it…
Unfortunately, being tablet only could hinder lower class kids access to it.
The language is barely a problem. The software is made with the least amount of text possible, and it shouldn’t pose much of an issue.
As anyone which used Python knows, there’s no brackets. Blocks are defined by left whitespace, which means zero-indentation source, like we all see everyday from noob programmers, won’t even work.
The discipline it enforces on the young programmer will be invaluable in the future.