Blog

You never know unless you try / 404 no silver bullet found

Will my employees work hard? Will project A give me more than project B? Is this partner good for me and my business? I think I’ll hire a marketing consultant, executive analyst and spend some money on fat books, it sure will help! Bullshit. Business is like loosing weight, there is no silver bullet, you

19 Jun 2012
/

Stagnation, yes?

Actually, ther’re less that ten of blogposts I re-read from time to time. Some are quite related to game industry, by notch and second one, “the way of indie”, by Crash-512 (hi, Max!). Some days ago I’ve heard something from my girlfriend, something like “This world sucks just because everything you can do is basically

17 Jun 2012
/

Vsftpd, 503 Login incorrect, and so on?

So, you have vsftpd with mysterious errors, and you’ve checked your config 20 times, violated your PAM and passwd, yes? And still no clue, yes? And your user has some non-standard shell like /usr/bin/passwd, or /bin/false, yes? Just add this shell to /etc/shells. Have a nice day.

28 Mar 2012
/

I code, therefore I exist

I code. And I code a lot. I’ve done some 100k+ $ projects, couple of frameworks, and hell lot of sites I don’t even remember. I kind of pullrequested symfony, ruby, haxe, QT, Eclipse, some lessc parsers, among others, and I speak php, python, a bit of common lisp, I’ve already forgotten C++/DirectX, and some

27 Mar 2012
/

Google acc update

From now on, I’m slowly moving to a new google account, andrew.tchircoff@gmail.com. Please update accordingly if you give a damn )

06 Jan 2012
/

phpsh, or yet another php shell from facebook

A better interactive php shell is made by facebook, to get it, just do:  git clone git://github.com/facebook/phpsh.gitcd phpshpython setup.py buildsudo python setup.py install  It’s fast, cool and doesn’t break when you misprint variable name of function:

20 Dec 2011
/

FOSUserBundle – compatibility break

Well, four days ago Stof authored a braking-change in FOSUserBundle; after updating vendors, you may encounter errors like “an encoder is not configured for Your\User\Entity” exception. This is basically because “algorithm” field from User entity was wiped out, and moved to FOSAdvancedEncoderBundle. If you’ve encountered this, you basically have two options: 1) stick to 1.1.0

20 Dec 2011
/

Pst… Zsh now friends with symfony

Well, thanks to Robby Russel and a little bit of my shellscripting oh-my-zsh project now supports symfony2 completion. Just install oh-my-zsh, edit .zshrc and add symfony2 to plugins list:  plugins=(git github symfony2)  or update omz:  cd ~/.oh-my-zshgit pull origin master 

20 Dec 2011
/

Ok, I’m an idiot

Swapiness 100 means ‘swap as much as possible’, sorry. Correct way to reduce swapping in Ubuntu is vm.swappiness=1 is /etc/sysctl.conf . After edit, do sudo sysctl -p or reboot. Now uptime 7 hours, no swap used. PS: Can’t wait for my ssd to arrive 🙂

18 Dec 2011
/

Memcachedb & logs

Well, the memcachedb again ate whole sshd with infinite log.xxxxxxsomething files. After a lot of digging around, found this memcachedb-guide-1.0. It appeared that memcachedb has db_archive command to purge all un-needed logs! Just create a following file somewhere, e.g. /root/memcachedb_rotate_logs: db_archive quit and add following to crontab to rotate memcachedb logs hourly: 0 * *

26 Nov 2011
/
theme by teslathemes