welcome to the world of…

Looks like a small bulb used to indicate something unusual, like a malfunction.

Reserve virtual memory

Filed under: Uncategorized — Tags: , , , , — admin @ 2018-06-16 13:42

I needed to load a huge amount of data into memory. It had to be a continuous chunk of memory and I could not tell the size from a beginning. C++ std::vector is a good candidate however its downside is that it reallocates and copies all data when it runs out of its current capacity. Virtual memory mapping to the rescue! (more…)

Zsh completion with visual hints

Filed under: Uncategorized — Tags: , , — admin @ 2018-04-30 20:29

Have you ever tried to complete a command that takes longer time? Like a remote server path completion for scp. It takes few moments and after pressing <TAB> you don’t know if there is nothing to be completed or the shell is just waiting for a reply. And when the list is opened you don’t know which letter is the next one? (more…)

Missing icons in Xfce systray

Filed under: Uncategorized — admin @ 2014-12-07 15:02

There are 2 plugins for the Xfce panel for systray icons: notification area, indicator plugin. The first one is the right one, the second one is very obsolete. What happened to me was that the notification area stopped showing some applications. (more…)

Linux full disk encryption

Filed under: Uncategorized — Tags: , , , , , — admin @ 2014-11-22 08:44

Set up reasonably secure encryption without sacrificing too much computing power. I had previously configured only a single encrypted partition but the PAM unlocking caused many troubles. Advantage of the full disk encryption is that you have secured everything including swap partition.  (more…)

VIM auto save spell checking language

Filed under: Uncategorized — Tags: , , , , , — admin @ 2014-07-15 12:40

If switching between languages is frequent then having a fixed default spell checking language on every start is not very comfortable. This simple plugin solved my issue: (more…)

Hibernation and turning swap off

Filed under: Uncategorized — Tags: , , , , , — admin @ 2014-07-07 09:20

Having 16 GB RAM today is nothing extraordinary. Swap seems to be a useless thing. And it perhaps is. Even if you are able somehow fill up those gigs of memory then it is caused probably by some extremely hungry program which will initiate a horrendous swapping and your system will become virtually frozen. (more…)

MS VC++ 2012 and Windows XP

Filed under: Uncategorized — Tags: , , , , , , — admin @ 2014-07-02 07:21

MS VC++ 2012 is installed, development environment is fine tuned with all necessary libraries, QT and boost are no longer complaining about missing components etc… Then you find out that your application is not working in Windows XP. You see only a terse dialog with a message program.exe is not a valid Win32 application. (more…)

Elecrow PCB prototyping

Filed under: Uncategorized — Tags: , , , , , — admin @ 2014-03-23 23:20

Another quick PCB manufacturer review. This time it was an audioohmmeter sent to Elecrow PCB service. Price was $9.90 + $3.72 shipment. I ordered 5 pieces, got 10. Nice! Overall quality looks very good. Lets see it in details. (more…)

Xubuntu upgrade to 13.10 with troubles

Filed under: Uncategorized — Tags: , , , , , — admin @ 2014-03-18 19:15

New (X)Ubuntu switched to systemd and it brought new challenges with upgrading. I use Xubuntu fork but this might affect others as well. I can’t turn off or hibernate the computer. Even after logout there are no buttons for powering off. And I can’t access NetworkManager. (more…)

Windows 8 SDK

Filed under: Uncategorized — Tags: , , , , , , , , , — admin @ 2014-03-08 01:14

MS Visual C++ 2012 SDK might be already mature enough and lots of libraries are being built with this version these days. Its support for C++11 is also supposedly better so lets try it. This is not a review. Only a simple “how to” about installing and troubleshooting. (more…)

Older Posts »