First Steps on a New Virtual Private Server – an Example on DigitalOcean and Ubuntu 16.04 LTS

These short notes list example first steps when manually configuring a new virtual private server on DigitalOcean.

Always use good passwords. Only good passwords. Good passwords every moment.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Teaching Puppet Configuration Management in The National Library of Finland

Packing up after the course on Friday evening. Photo courtesy of Emma.

I’m very happy to get a change to talk about Puppet in the National Library of Finland. Working with experienced professionals makes an interesting day. I have used their Finto ontology to create one of the largest free Finnish-English dictonaries and enjoyed many services they provide.

Course feedback was very good, 4.4 out of 5. One participant named this as the best course this person had ever participated. Thank you!


Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 3 Comments

From Empty Computer to Guest OS in 5 min – Install Vagrant and VirtualBox on Ubuntu 16.04.3 Live USB

With VirtualBox, you can run guest operating systems – Linux, Windows, OSX – under Linux.

Vagrant makes it easy to create a new headless guest system and connect to it with SSH.

It’s very fast: less than five minutes to desktop, with SSH connection to installed guest OS. And that’s starting from an empty computer with no operating system.

Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Raspberry Mirror Shows Weather and News

Walk in front of a mirror, and it shows you the weather. Kuvastin is a Raspberry Pi based magic mirror with news feeds and weather.

Half year course Monialaprojekti has just started, so I’m pretty happy to see students already collecting end-user feedback with a working prototype.

Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Hello Flask Web App – Python 3 Flask Development Server Install on Ubuntu 16.04

You can create web apps with Python and Flask. This short “Hello World” tutorial shows you how to install development server for Python 3 and Flask.

There are two very successful Python web frameworks. Flask is the simple one, Django is the big one. It’s probably easier to start with Flask.

Flask is used for their API by Pintrest and Twillio. Some of the biggest sites on the Internet are built with Python, such as Youtube and Facebook. Botbook.com API one uses Flask.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | 1 Comment

Aikataulu – Monialaprojekti Infra pro4tn001-3 – syksy 2017 – 10 op

English: Complete a project with a company as a client. Work with students from different tracks and backgrounds. Course in Finnish.

Tee projekti yritysasiakkaalle ryhmässä, jossa on opiskelijoita eri aloilta.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 5 Comments

Aikataulu DigiStartUp digt4tn024-2 syksy 2017

English: Create your own digital product and find paying customers. Real customers, actual money. Course is in Finnish.

Luo digitaalinen tuote ja hanki sille maksavia asiakkaita. Siis oikeita asiakkaita, joilta saa oikeaa rahaa.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Aikataulu – Linux palvelimet ict4tn021 4-ti ja 5-to – alkusyksy 2017 – 5 op

English: Learn to manage your own Linux server – in 8 weeks. Beginners welcome. Course is in Finnish.

Aloita nollasta. Opiskele 8 viikkoa ja hallitset omaa Linux-palvelinta.

Opintojakson suoritettuaan opiskelija:

  • Osaa hallita Linuxia palvelimena
  • Osaa tehdä tärkeimmät asetukset tärkeimmille palvelimille (Apache, OpenSSH)
  • Osaa asentaa www-ohjelmointiin sopivan alustan
  • Osaa tehdä itselleen uusia asetuksia palvelinohjelmistoihin ohjeiden avulla
  • Tietää esimerkkejä palvelintilan tarjoajista ja hinnoista sekä fyysisten palvelinten vastaavista ominaisuuksista

Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | 53 Comments

Self Balancing Robot, an Apple or a Banana? Prototype Workshop Demo Day

From self balancing robots to sun seeking solar panels, prototype workshop had it all.

Feedback was excellent 4.8 out of 5. Thanks! Also check the free text feedback.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , | 18 Comments

Presenting in Doctoral Colloquium, University of Westminster, London

Annual Doctoral Colloquium was arranged in Marylebone Campus, Westminster University, London.

Thanks to organizers and presenters for an interesting day.

Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Kill Stalled Command After One Second – timeout 1 cat

To automatically kill stalled command after one second, put ‘timeout 1′ before the command.

$  timeout 1 cat

Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Photos from IEEE ICIM2017 China

ICIM2017 is now behind. It was an interesting week.

On my invited speech, I talked about the BotBook.com method for rapid prototyping, the same method used in my books and some of my workshops. BotBook method was developed with Kimmo Karvinen.

I presented the paper I co-authored with Shuliang Li: Investigating Survivability of Configuration Management Tools in Unreliable and Hostile Networks.

I got to pick the best paper for the session I chaired. The winner was an expert system for diagnosing tomato diseases by Liu Yingying.

View a lot more photos on IEEE ICIM2017 homepage.

Photos by Shuliang Li and the IEEE ICIM2017 organizers.

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Hello Go world – Install and Run Go in Less Than a Minute on Ubuntu 16.04 LTS

Go is a new programming language. It’s similar to C++, but aims to be simpler, safer and tries to support parallel operations better.

Installing Go and running “Hello world” takes less than a minute. This short tutorial shows you how to do it on Ubuntu 16.04 LTS.

Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Speaking in ICIM2017, an IEEE conference in China

I’m participating ICIM2017 as invited speaker and session chair. I’ll also present a paper I co-authored with Shuliang Li.

If you’re participating, you can catch my speech on Saturday at 11:30.

Posted in Uncategorized | Tagged , , , , | Leave a comment

Aalto 2 has left Earth atmosphere

Aalto 2 satellite left Earth atmosphere today. It is Finland’s first own satellite.

Aalto 2 navigation subsystem uses the same code for the sun sensor as Aalto 1. We created a prototype for the sun sensor using of the shelf parts. Our code is also being tested for US PROX-1 satellite.

Posted in Uncategorized | Tagged , , , , | Leave a comment

Vagrant Revisited – Install & Boot New Virtual Machine in 31 seconds

Vagrant installs a new virtual machine automatically. In half a minute, you control the machine with ssh.

Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Aikataulu – Palvelinten hallinta ict4tn022-2 – 5 op, uusi OPS – loppukevät 2017 p2

Hallitse palvelimiasi Pupetilla. Pupettia käyttävät esimerkiksi Google, Mozilla ja Wikipedia. Sillä on toteutettu myös US Government Security Baseline hallinnon Linux ja Windows -tietokoneisiin.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | 99 Comments

Aikataulu – Linuxin keskitetty hallinta – ict4tn011-11 – loppukevät 2017 p2

Hallitse palvelimiasi ja työasemiasi Pupetilla. Kuvaile tavoitetila, ja anna Pupetin tehdä tarvittavat säädöt ja asetukset.

Pupettia käyttävät mm. Google, Mozilla ja Wikipedia. USA:n valtio suojaa Windows- ja Linux-työasemansa Pupetilla (US Government Security Baseline).

Continue reading

Posted in Uncategorized | 49 Comments

Internet of Things presentations today

Students of the Internet of Things workshop and their prototypes: Internet of window blinds, GSR lie detector, amusement park queue estimator, remote visitor counter, weather lamp, take your pills, cool down gamer, two way door monitor, tomato watchman, body heat for health, guitar humidity measurement, HSL travel card lock, you hit like a programmer. Well done, you did amazing work in less than five days!

Course feedback was excellent, 4.8 out of 5. Comments have more course feedback and student projects (in Finnish). The course happened in Haaga-Helia UAS using BotBook.com method I have created with Kimmo Karvinen. Thanks to all participants!

Continue reading

Posted in Uncategorized | Tagged | 2 Comments

Send Email with HTTP API – curl, ctrl-X E and Sendgrid API

Use interactive console and HTTP requests to access APIs. Here is an example of automatic mail sending with SendGrid and curl.

Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Create Internet of Things for 8 EUR – ESP8266-12E and Arduino

Would you like to create devices that sense the environment, connect to the Internet and talk to the other side of the world?

For just 8 EUR, you can get a WLAN enabled, Arduino compatible development board. Sometimes the price includes USB cable and connected pin headers.

Continue reading

Posted in Uncategorized | Tagged , , , , , , | 1 Comment

Using Web APIs with Python – Read Weather Forecast and Send to Your Own IoT Device

Photo by Jaxon StevensDo you want get weather forecast, BitCoin vs EUR valuation and know your power consumption? A lot of data is available on free APIs. Your program can just make a regular HTTP GET request – it’s just like loading a web page with Firefox.

In this example, we use Python 3 to read weather from one API and write it to another API for an IoT device.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , | Leave a comment

BotBook.com Mailing List (beta)

Subscribe Bobook.com mailing list to learn robots, gadgets, IoT and Free software. Get offers for BotBook.com books and tools.

Design and build your first robot in a week? Make things talk over the Internet? BotBook.com has material for our five books, including Amazon category best sellers “Make: Arduino Bots” and “Make: Sensors“. These books have been published around the world in more than 10 languages.

=> Subscribe BotBook.com mailing list (beta)

Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Photos from IoT Workshop in the University of Lappland

Photos from IoT-workshop in the University of Lapland. I run the workshop with Kimmo Karvinen.

Update: Photos by Kimmo Karvinen.

Posted in Uncategorized | Tagged , | Leave a comment

India Will Launch Finland’s First Satellite Aalto-1

Aalto-1, the first satellite of Finland, will be launched in an Indian rocket (article in Finnish). This was a surprise, as it was originally going to be on a SpaceX rocket.

I prototyped Aalto-1 sun sensor in a project with Kimmo Karvinen, Tikka and Praaks.The same code is used in US satellite PROX-1. I wonder which satellite will be on orbit first.

Posted in Uncategorized | Tagged , | Leave a comment
  • Picks

  • Boxing Clock for AndroidOcton8 Diving T-ShirtsShaking Tower Panda Android GameLearn Chinese with Android
  • Student projects