Another task on the horizon: integrate OpenCV 3.4.9 into an Android application written in Kotlin. Additional requirement complicated this task a bit. Let's also try to have some C++ code around, that is shared with other platforms and that interacts and configures OpenCV video processing. Of course nobody expects any rough edges nor problems, right…
One might think it's a typical scenario and lots of mobile apps use OpenCV this way.
Read more →And the day has finally came. Turned out my docker image for Continuous Integration to build Android native apps doesn't work anymore. Honestly, it wasn't even my fault. At first glance the OS was OK, Android SDK was also OK, but then fastlane installation was not happy about something. And that little something turned out to be a real PAIN … in my arm! Ruby ta-da-da-tam! But how was that?
Read more →First time this month I thought about doing something right. It's the end of the year and what about creation of really secured environment for my PostgreSQL database on a Raspberry Pi, that I could expose publicly. What could go wrong here :) ?
The goals were clear:
Setup a dedicated low-privileged system user, so I could proxy to the database over SSH. Create a new low-privileged PostgreSQL user, so it can access own database only (or ones created in the future).
Read more →Probably first thing you noticed after installing macOS Catalina is that the default shell changed from bash to zsh. I decided to give it a try. Although there is an easy way to revert it back to bash (as its package is still part of the OS distribution) by invoking following command in terminal:
chsh -s /bin/bash My hope was, maybe this small update will inevitably influence my usage comfort, performance and maybe, maybe improve my daily routines (as I spend most of the day working in command-line mode).
Read more →Recently I have created a post on how to upgrade OS on Raspberry Pi. It worked pretty well until I figured out there is something wired with my PostgreSQL installation. And it turned out I ended up with two instances installed one next to the other. So I had the 9.6 version running with my existing databases and as well a cluster for version 11.5.
Let me try then to rephrase the other guide, I found here, explaining, how to upgrade PostgreSQL to latest and migrate the databases.
Read more →In the times before private repositories were available for free on GitHub.com I had my own git-server installed on a NAS using gitolite. But in a long run I stopped liking managing from console and also I don't like, when some other corporation looks into my own hidden projects and could be able to cut me off.
As a result I migrated again, this time installing Gitea on a Raspberry Pi following this marvelous guide.
Read more →The process of system upgrade is very easy and was already described here. This is a really great guide. I just want to add few comments, that affected my installation.
The main actions to perform to install latest version of Raspbian are:
Go to raspberrypi.org and check the latest OS codename.
Verify, if this version is not already installed on the Raspberry using cat /etc/os-release command.
Read more →Here I wish to present a quick guide, how to enable 4k video output on Raspberry Pi 4 with 60Hz refresh rate. It's not hard at all. It just requires to know some facts before, to avoid unnecessary frustration. Let me briefly summarize it:
4k@60Hz is disabled by default on Raspberry Pi 4 (due to a fact of increased memory consumption and device temperature - check docs - that is not needed by most of Pi users).
Read more →I wasn't even surprised, when I plugged-in an SSD via USB 3.0 into Raspberry Pi 4 and it didn't work at all. That became a killer for my idea of keeping data outside of the Pi's microSD card. Observed suspicious symptoms were too obvious:
booting time increased from 20 seconds to 3 minutes LED light of the drive was constantly blinking some commands took extremely long time to execute (sudo blkid, sudo fdisk -l) and even later mounting finished failing or partition formatting hanged indefinitely.
Read more →For a very long time I was using the MiniBlog as a backend solution for my blogs. I liked its speed and the minimalistic style. But one thing that drove me crazy was the need of having Live Writer aka Open Live Writer installed to write a simplest post. 5 years ago this tool looked amazing. Although time has passed quickly, and meanwhile OLW seemed to be also abandoned by Microsoft.
Read more →