How To: Python Application Structure

How to structure python application using multiple files and classes, and still be able to code fast with any modern IDE, avoiding cyclic imports and help IDE to specify variable type?

Continue reading

Whistle Science

In a random conversation I recently had, a question popped up: why do whistles whistle? I had no choice but to reach for the most complex tool available: OpenFOAM .…

Continue reading

Arduino settings menu: updated

The dl-menu library, a simple one-level menu for 16×2 displays on Arduino, has been heavily updated: Text menu item There’s a new menu item for saving texts. Every character is…

Continue reading

nRF24L01+ template

Few years ago, while Labyrinth Ljubljana hardware start being developed, small and cheap nRF24L01+ RF module was used for communication between control unit and battery powered flashlight.I found a great…

Continue reading

VS Code STM32 IDE + Keil project

Problem Few years ago I started with Keil + STM32 dev boards. Than STM32CubeMX was released and I started using it, generating Keil project as output. This was good enough for…

Continue reading

Parallel ParaView

Using OpenFOAM in parallel with MPI is well explained in the OpenFOAM manual. Rendering results in ParaView on multiple cores on a desktop computer is a little less explained on…

Continue reading

OpenFOAM and Rotating Machinery: Relative Velocity

In turbomachinery theory relative velocity is defined as w = c – u where u is circumferential velocity and c is absolute velocity at specified point. The relative velocity w is very…

Continue reading

Multi-slot Copy Paste

The Inconvenience A very common issue while editing any text-based work is copying and pasting more than one string, eg. replacing one item while not overriding system clipboard and still…

Continue reading