Monday, 11 April 2022

Half term Easter 2022 - gelo, Londres, Disney etc






POSSIBILIDADES EM LONDRES!


Patins no gelo

Patins no gelo 2


Disney inspirado no estilo rococó francês do século XVII. Wallace collection Londres abril 2022. Lá há um restaurante muito bonito. Pertinho da Oxford St




Everyman Cinema - Baker St - Sonic The Movie 2

Cell
Bass reeves card game half term
Cell
  • patins gelo oxford (fotos whatsapp)
  • londres oxford street, cinema everyman baker street (foto whatsapp), loja niketown
  • futebol em blaise park com pai, com meninos da vizinhanca
  • Tom em casa, casa do Tom, Newbury de bicicleta,

Saturday, 12 March 2022

Half term 21-fev-2022 - scalextric, microbit e makecode

 

https://unsplash.com/photos/-EXF9shcTO0?utm_source=unsplash&utm_medium=referral&utm_content=creditShareLink 

  • Pyhton e alexa era uma boa ideia, mas Liam deu uma ideia muito melhor! Como contar tempo por volta no scalextric?
  • prototipo um com autorama, microbit e makecode completo
  • FALTA (2h 10 min)

Wednesday, 26 January 2022

Half Term Fev 2022 - Python e Alexa

https://unsplash.com/photos/LJ9KY8pIH3E



Alexa skills
Williams, Mark
Thu 13/01/2022 13:01
Brandao-Neto, Jose
 
1: Make an Amazon developer account at https://developer.amazon.com/alexa/console/ask
2: Click Create Skill.
3: Give your skill a name, eg Liam's Jokes. Select the language of your Alexa device.
4: Choose Custom model, and Alexa Hosted (Python), and click Create Skill.
5: Choose Start From Scratch, then Continue.
6: When its finished, click Invocation Name, and change it to Liam's Jokes if it is not already that, click Save Model, then Build Model.
7: Go to Code at the top.
8: Delete all the stuff that is already there, its way too complicated.

The whole thing is to take json in, and spit json out. The json comes into a function called like this:

def lambda_handler(event, context):

Dont worry about event and context yet. To get a joke, do something like:

    import requests
    r = requests.get("https://icanhazdadjoke.com/", headers={"Accept": "application/json"})
    joke = r.json()['joke']

The function needs to return something like:

    return {
        'version': '1.0',
        'sessionAttributes': {},
        'response': {
            'outputSpeech': {
                'type': 'PlainText',
                'text': joke
            },
        'shouldEndSession': True
        }
    }


Then you should be able to put joke as the

9: When you have finished the python, click Save then Deploy.
10: Because we have used the requests package, we need to make sure it is available. Go to the requirements.txt file, and replace the contents with

requests==2.27.1

11: Click Save, then Deploy
12: Click Test at the top. Change the dropdown so it says "Development"
13: Type "Alexa, launch Liam's Jokes" in the box

Debugging is very hard, took me an hour to figure out I needed to do step 10, and I've done it before. But hopefully that gets you started.

Mark


Sunday, 24 October 2021

Half Term Outubro 21 (15-31/10)






  • Forest Holidays em Cornwall
    • hidromassagem!
    • Polperro e Looe
    • Chuva e filmes na TV: Grimvald e Os Caçadores de Baleias
    • Caminhada na Floresta no Escuro
      • centopéias bioluminescentes!
  • Missão Kitronik
  • Play dates
    • Louis Davies (Chilton)
    • Yayah?
    • Calvin de Bucks e Louis de Kidlington

Saturday, 14 August 2021

Agosto 21 ferias

Domingo 05-09
churrasco hampstead norreys com ali, luke, marco
 
Domingo 28-08
acampamento wye river com meninos e meninas. com farofa exploratoria no bosquinho 'a noite. e tag secreto com lanterna.
 
Sábado 14
- Você colocaria Neymar ou Salas?

- A seleção tava muito bem, Rashford foi bem mas deu azar.

Seg 9 a sexta 13

Saturday, 24 July 2021

Férias de Julho 2021 - Charmouth/Weymouth - Praia e dado para Ludo

 

  • Praia em Charmoutth
  • Dado para Ludo usando MS Makecode para Arcade
    • falta: fotos da tela
  • Foto no clube WDHL
    • falta: foto cafe' da manha, foto do anoitecer com lua
  • Weymouth
    • falta foto frescobol, pedalinho