Posts

How to easily speed up your prime number generator with factorization wheels

2 minute read Published:

Prime numbers. Somehow boring and yet fascinating topic in mathematics. A number is a prime number if it’s divisible by one and by itself. In contrast composite numbers are divisible by one, itself and one or more other numbers. Primes: 2, 3, 5, 7, 11, 13... Composites: 4 = 2 * 2, 6 = 2 * 3, 8 = 2 * 2 * 2, 10 = 2 * 5... It’s all so simple and obvious when numbers are small.

Dear FinTech companies, be careful with external scripts

2 minute read Published:

Just last week I installed a Chrome extension called Privacy Badger. It is supposed to protect you from third party scripts included on websites that might track you. It does that by checking content loaded from other third-party domains. The side effect of this extension was that you suddenly begin to notice which sites include external scripts. I’d say I am not surprised by them on social media sites and other sites where I mostly consume the content.

Slovenian hosting providers with PHP 7

1 minute read Published:

Slovenian hosting providers with PHP 7 PHP 7 has been released months ago. Increased performance makes upgrading a really attractive option. Some of us still remember the long transition that took place when PHP 5 has been released. That’s why it was interesting to see state of PHP 7 support today. I posted an email to the most popular shared hosting providers in Slovenia. I asked them about state of PHP support and their decision making process.