Article of the week

Binary Search algorithm advanced implementation in PHP

Binary Search algorithm advanced implementation in PHP

17 Feb 2020 00:41:03


Advanced implementation of Binary Search algorithm in PHP programming language, which allows for custom comparison functions and multiple value returns.


Read full article »

Recent articles

Number of primes less than N

04 Feb 2020 20:33:40

Number of primes less than N

In this article I look at how to find all prime numbers below a certain positive number N, as well as their sum. We do not know how primes are distributed. There is no function, which reliably finds all primes less then a large natural number. However, we do known an algorithm, ...

Read more »

Symmetric and asymmetric - key encryption with gpg and gpg-zip

29 Jun 2018 19:38:09

Symmetric and asymmetric - key encryption with gpg and gpg-zip

We have stored more and more data, sometimes logins, passwords and whole databases, by popular cloud storage services today. On one hand, keeping files with them seems like a good idea. You get access to your files on demand, on any device you connect to service with, from ...

Read more »

Builidng and compressing archives with tar and process substitution

21 Jun 2018 18:53:34

Builidng and compressing archives with tar and process substitution

To large degree this article is a result of my observations on people's struggles related to compressing files, possibly also directories, with tar command line utility efficiently and safely. Most of the time using tar on its own causes no difficulty. Problems crop up ...

Read more »

Dissecting Mister Spy Bot website hack

27 Apr 2018 14:14:09

Dissecting Mister Spy Bot website hack

If you are a website admin or owner you probably scan your HTTP server's logs in search of interesting, or perhaps dangerous, entries from time to time. When doing so, you might have come across a GET or POST HTTP request (or some its variation) which looks like the one ...

Read more »