Ubuntu: uid/gid option required to gain write access to remote share
I have Synology NAS, and I share the “home” directory as a CIFS share. From Windows, I simply do net use N: \\home\nas /user:myuser *, and it works. Corresponding command […]
I have Synology NAS, and I share the “home” directory as a CIFS share. From Windows, I simply do net use N: \\home\nas /user:myuser *, and it works. Corresponding command […]
I have discovered a few broken things with my WordPress site. This post, as much of this blog, is mostly description of events, so I won’t forget what exactly happened. […]
TL;DR Don’t mix set -e and && operators in bash, it’s not going to work well. What is ‘set -e’ Bash command set -e stops the script when any of […]
I am starting to suspect that ChatGPT is emulating humans too well when it comes to parsing requirements. I asked it to write a Python program that, among other things, […]
This post compares random number generation in “the old days”, and in modern C++. This is how we used to do it: #include <cstdlib.h> srand((unsigned)time(NULL)); // seed the random number […]
I realized that compiling a single-file program became much more complicated in Dotnet core compared to regular .NET. For starters, here’s how you run a Python file: python foo.py Here’s […]
I was just experimenting with HTML5 canvas. The game is entirely in HTML5/JavaScript, it should work on desktop and on mobile devies. The moves table is pre-generated in C#. Play […]
Coming from C# background, I was trying to understand whether Python allows to pass obj.method where ordinary function is expected, and if yes, how could it possibly work. Consider this […]
I stumbled upon an article (https://danluu.com/cli-complexity/), that explores the dramatic growth of the number of command line options in most popular Unix commands between 1979 and 2017 and explains why […]
When I was going to Worldometer’s coronavirus page, it would redirect me to some stupid scam web site saying “you made 5 billionth search”. It happened only one one of […]