Author Archives: foreglance

Microservices – short reference


In contrast to the monolithic applications, microservices approach split business functionality to independent external parts, implemented with individual services (from few to hundreds).

Following aspects are essential for implementation of microservices:

  • API Gateway
  • API Management
  • Monitoring
  • Logging
  • Service registry and discovery
  • Database separation and synchronisation (MDM – Master Data Management)
  • Service balancing
  • Messaging
  • Data transfer format
  • Protocols
  • Versionning
  • Automatisation of deployment
  • Caching

Continue reading

Setup C++ IDE CLion on Raspberry Pi with Ubuntu Mate

CLion is a crossplatform IDE for C++ made by JetBrains. CLion is not free but it is really helpful – with all its intentions, hints and refactorings. CLion has 30 days free trial license. Find out more on video introductions.

Eclipse is a free alternative but with less automation, assistance and features (this article describes the installation of Eclipse on Ubuntu).

Known issues on Raspberry Pi with Ubuntu Mate

  • Debugging does not work – because of not supported GDB version
  • On basic “Hello world” example there are issues with running the code – one of native terminal libraries fails. Compiled executable works fine. More complex example also works.

Continue reading

Program remotely on Raspberry Pi

Major advantage of such tiny computers as Raspberry Pi (RPi) is ability to work on small autonomous platforms like mobile robots. However computer, moving with a robot, is a challenge as well – during development it is not easy to change the code. Remote connection to the computer via SSH or VNC, using Wi-Fi, might help in such cases.

Continue reading

Install FTDI driver for USB-to-serial-port adapter or Arduino board

Some USB-to-serial port adapters and Arduino board (or its clones) with FTDI chips are not recognized by the operation system automatically.

For example when Arduino board is connected to the computer, menu Tools of the Arduino IDE has its Port menu item disabled – when the FTDI driver is not properly recognized.


This article shows how to install FTDI drivers.

Continue reading

Setup OctoPrint on Raspberry Pi 2 with Ubuntu

OctoPrint is a server controlling a 3D-printer over web-interface, running on the small computer like Raspberry Pi or PCDuino with Linux OS. This article describes how to setup OctoPrint on Raspberry Pi 2 with Ubuntu OS. Read another article to setup OctoPrint on PCDuino.

Raspberry-Pi-2-with-connectors  OctoPrint-intro

Raspberry Pi 2 has ARMv7-based CPU on-board – this allows to run Ubuntu directly on this small computer. Ubuntu has plenty of features in compare to special editions of Linux distributives for such small devices and therefore less limitations with installing specific programs and components on it.

Continue reading

Setup 3D printer server OctoPrint on PCDuino

OctoPrint is a server controlling a 3D-printer over web-interface, running on the small computer like Raspberry Pi or PCDuino with Linux OS. If such computer has WiFi or connected to WiFi router within local network (e.g. personal WiFi router at home), the 3D-printer can be controlled and monitored remotely – on PC, tablet or smartphone.


Continue reading

ForQuilt – assistant for masters of quilt


This program looks like regular painting program but in addition it has specific features designed to help masters of quilt:

  • Table for main work and additional table for sketches
  • Drawing lines with mouse or tablet pen
  • Manipulate with lines and images individually or grouping them
  • Take a picture from the web-camera
  • Clone lines in a sequences

Continue reading