Category: Software

WSL1 became unusable – I finally switched to WSL2

When WSL1 first appeared I was pretty excited, a lot of people claim today that because WSL, Windows is the best platform for developers, personally these days I think any OS from the big three can act as a perfect developing platform since many of us use docker anyway.

But back to WSL1, what I really liked was the WSL1 was Cygwin on steroids a kind of “Linux Wine”, and that meant a lot from the perspective of OS development, because it really was a step in the direction of merging OSes rather than have yet another virtual machine.

I mostly switched to WSL2 because I grew tired of my applications crashing because WSL1 was missing some implementations, and I thought I wasted enough time on workarounds like setting Nginx buffering to off, replacing libc libraries, replace system binaries with custom scripts, replacing apt repos with custom ones, adding custom apt repos, changing network IP version preference, avoid using Unix sockets and so on and on(but even TCP wasn’t fully implemented, constantly you could bumble into TCP_INFO error), so basically WSL1 is not extremely stable. View full article

Flask PyWebCamWebMonitor Web App

A couple months ago I made a Python-Vue app ( Flask PyWebCamWebMonitor ) for controlling webcams(live view/record/stream) attached to a Linux host.

It’s pretty straight forward you use pip3 to install it then you install it as a system service or you start it manually with a command that is registered on the system automatically after you installed the python package.

When I first released it I tested it on a Linux X86 host but my intention was to make the app work even on the smallest dev boards, so a few days ago I tried to install it on orange pi zero.

As expected I encountered some problems first, the problem is that installing NumPy which is a dependency of OpenCV which is a dependency of my app, was complicated because the NumPy was not available for arm devices and when you tried to install it from building it you ran out of memory and the kernel killed the building process, you can activate a swap, and increase your /tmp size to overcome these limitations but it is simple just to install NumPy from the APT repo with apt install python3-NumPy, that you don’t have to needlessly wait. View full article

Why I bought 3 year VPN Subscription @CyberGhost_E

Looking at the recent statistics we can surely see that VPN has a low but steady increase, in some countries usage is above 20% and I think the future of VPNs is rather unpredictable.
Now what I like about VPNs is that they mess with the AD system of every major Tech company when you use a clean browsing session(no cookies/ no-cache/ no previous browser data in general), so you go on youtube or google and see an AD designed for a Czech citizen and that is pretty awesome.
As I don’t like how ADs are influencing the world, and I think if a company like Facebook which makes over 15$ from a user, at least 5$ from that sum should be either directly given back to the user or put into a pool and hold a poll in which all users can vote publicly to decide where the money goes, also the choices you be selected by users from a very large selection of choices. View full article