Thursday, March 31, 2011

MySql job failed to start

I've got this message from MySQL, after importing some data and building indexes. The DB stopped responding and hitting the
/etc/init.d/mysql restart
gave me the aforementioned very non-descriptive error. My problem was that the DB didn't have enough disk space for some temp files, so increasing that solved the problem.

Monday, March 28, 2011

Pizza box architecture

Some pics from a brainstorming for my fathers new project after the jump - notice how we simulated the startup atmosphere by drawing on the pizza box ;-)

Tuesday, March 22, 2011

SSL-HTTPs fails TortoiseHg

There is a quick and dirty hack that you can use to be able to access repositories behind self-signed SSL with Mercurial 1.1.7 and beyond. On Windows, edit the file:
PATHTO\TortoiseHg\hgrc.d\Paths.rc
to make it look like this:
[web]
cacerts=

Saturday, March 19, 2011

ProFIIT finals under way

Future FIIT students fighting for the spotlight & problem setters prepping the judge solutions presentation and making sure everything runs smoothly...

Thursday, March 17, 2011

Python multiprocessing utility

This article talks about a simple python command line utility that lets you run your existing programs in parallel, feeding them input and collecting their output to utilize the power of a multi-core processor.

Wednesday, March 16, 2011

Octopus merge

Code merging session with miso @ my place. I really need 3 screens ;)


Sunday, March 13, 2011

Monitor your server on the go

After finishing the VPS setup more or less successfully, I started looking into options of how to monitor what is happening with the machine when I am not at the PC. I downloaded ConnectBot to my HTC Desire HD and used it to connect to the machine. There I have installed htop to display various stats like CPU and RAM utilization and running processes interactively and in the real time. Few tips on how to work htop without a hardware keyboard on your phone: