Elisa’s Code in Salt

My student Elisa Parolo made an improvement to Salt Stack. Her pull request is now merged, and the code is part of the official Salt codebase.

Many projects are happy to accept small fixes to get more developers join development.

Continue reading

Posted in Uncategorized | Leave a comment

1000+ Papas Fishing, Finnish Design, Fan Gear for a Rock Band – DigiStartUp Finished

Innovate a new product, make it, sell it. And students delivered, in 16 short weeks.

Granpa Fishing (0.99 USD) cell phone app got 1400+ downloads, including free beta downloads.

Fan of rock band The Stoats? You can now show your colors with fan gear, the Stouts bag (10 EUR).

IidaJessicaDesign.fi offers handmade Finnish design, such as knit caps.

I created and teach DigiStartUp together with Teemu Ruohonen.


Continue reading

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

LoRa Trough 8 Floors – Using 100 mA

My student Tatu Erkinjuntti sent LoRa radio transmissions. His device can send messages trough eight concrete floors with minimal power consumption.

He is using ESP32 with an external LoRa module, programmed with Arduino IDE. Power consumption during transmission is just 100 mA at 7.5 V. By using deep sleep between transmissions, Tatu can use even less power. He is also making a water resistant enclosure and testing batteries for use in sub-zero temperatures.
Photo courtesy of Tatu Erkinjuntti, LoRa Tocsin project.

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

Military Cyber Department Visit & Challenge w48 Thu

Military Cyber Department visits my course. First, there will be a lecture on the cyber department and how to join it. After that, selected students can try their skills in the Cyber Challenge. The event is in Finnish, and aimed for Haaga-Helia students and faculty.

w48 Thu 2018-11-29 09:15 in pa5004, Haaga-Helia Pasila, Helsinki

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

Configure Windows and Linux with Single Salt Module

If OS is Windows, the path is ‘C:\tero’. If OS is Linux, the path is ‘/tmp/tero’. You can use conditionals to create Salt modules that work in multiple operating systems.

Continue reading

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

Automatically Provision Vagrant Virtual Machines as Salt Slaves

Create a new, fully configured virtual computer in less than a minute. Keep configuration in version control. Manage trough configuration management system.
Continue reading

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

Use "PCnet-Fast III" Network Adapter in VirtualBox – Prevent virtualbox_e1000_0day Attack

Use “PCnet-Fast III” network adapter in VirtualBox to prevent guest-to-host attack.

MorteNoir1 published a guest-to-host escape from Virtualbox as a zero day attack. He named it virtualbox_e1000_0day. It seems that you can easily protect against the attack by using a virtual network card other than the default e1000.
Update: Windows 10 guests don’t seem to support PCnet-Fast III. Using any virtual network adapter other than e1000 could mitigate the attack.

Continue reading

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

F5 to Execute Your Program from Gedit – From Go to Python – Gedit External Tools

Gedit editor can run any command or script for you. Even though Gedit looks very simple, it’s easy to integrate Gedit to your own toolchains.

Here is a simple script to execute your program by pressing F5. The script handles differences between compiled languages (go) and scripts (Python). It’s also a starting point for building your own scripts.

Continue reading

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

Aikataulu – Palvelinten hallinta ict4tn022 3004-ti ja 3002-to – loppukevät 2018 5p

My student Jussi controls 2071 computers.

Just write what you want (idempotency). Control almost everything with one system (single source of truth). In plain text (infrastructure as code, versionable).
Control 10 computers. Or 100. Or 1000. Or control 2071 computers, like Jussi did on a previous course. Or handle 7 different operating systems and OS versions with a single master, like Matias. Course is in Finnish.
Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , | 118 Comments

Cleaning Up Sneaky JavaScript

Software can phone home. A lot of software “forgets” some Javascript and fonts on HTML pages inside the desktop program to do this. These are some notes about cleaning up Zeal, an “offline” documentation browser.

Continue reading

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