The anti-rating of people causing the most technological damage

This is the rating of the worst engineer decisions causing the most damage to the civilization. The 1 st place. Brian W. Kernighan and Dennis M. Ritchie. Estimated amount of damage: $50 trillion. What they did: They invented C programming language. The damage: Due to a sticky tradition most operating systems are written in this silly programming language, what leads to countless errors, hard work … Continue reading The anti-rating of people causing the most technological damage

Expired access token in Google OAuth

I sought in Internet how to determine from Google response whether an access token is expired. I found no definitive answer. So, finally I created an access token and waited for a hour to see the Google response when I try to use this token. The Google response (with a partial list of HTTP headers) is below: HTTP/1.1 401 Unauthorized WWW-Authenticate: Bearer realm=”https://accounts.google.com/”, error=invalid_token Content-Type: … Continue reading Expired access token in Google OAuth

Google AdWords bug slowed down my ad campaign :-(

I have started a Google Grant AdWords campaign for an USA based nonprofit recently (about two days ago). It worked well and I was enjoyed. But then it was closed for “maintenance” as they say for 2-3 days (I don’t remember the exact word Google used to describe “maintenance”.) After about a day maintenance seemingly ended. But now I have another problem: Google says “Your … Continue reading Google AdWords bug slowed down my ad campaign 😦

VPS for an unbelievably low price

Today I have moved all my Web sites from an old VPS hosting to Digital Ocean VPS hosting. Their prices start from unbelievable $5 per month for a server with 20GB SSD disk. I myself use the 2GB RAM, 40GB SSD hosting for unbelievable price $20/month (not counting backup price). Click this link to order the VPS hosting (clicking this link you also earn $10). Continue reading VPS for an unbelievably low price

Yii: Combining two DB tables into one model

Let we have two related SQL tables: CREATE TABLE `user` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `login` varchar(255) COLLATE utf8_bin NOT NULL, `email` varchar(255) COLLATE utf8_bin NOT NULL, `password` varchar(255) COLLATE utf8_bin NOT NULL, `firstname` varchar(255) COLLATE utf8_bin NOT NULL, `lastname` varchar(255) COLLATE utf8_bin NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin and CREATE TABLE `employee` ( `userid` int(10) unsigned NOT NULL, … Continue reading Yii: Combining two DB tables into one model

Two underestimated IT projects

There are at least two very much underestimated projects in the field of information technology. The first one is of course Linux for desktop computers. The second underestimated project is Ada programming language. It could well compete with C++ but is better (more reliable, compiles faster, has less cumbersome features, has integrated support for parallel programming, etc.) Continue reading Two underestimated IT projects