I need to monitor snapshot usage pv free space and a bunch of other parameters on a lot of servers. As we are using graphite and diamond for monitoring the solution was obvious. I wrote a collector for lvm which collects all the related metric of all the PVs (Physical … Continue reading
I’ve added spatial filtering to the sunburnt library. The feature is now available with filter_spatial function.
from sunburnt import SolrInterface
SOLR_URL = 'http://some.url:8983/solr/'
_s = SolrInterface(SOLR_URL)
_s.filter_spatial(latlon=(52.3702157, 4.8951679), distance=10)
Currently this will use bbox by default. I’m planning to add more features to it in the future but so far it fits my needs. Let me know if you … Continue reading
I just had a 30 minutes worth of debugging on a stupid mistake I made. I wanted to check the free space on the target server before I actually start to do the cloning of a database in the python framework we wrote for automating DBA tasks. The check was … Continue reading
I don’t know how many of you are out there but I know at least some who’s lazy enough to rather write scripts than doing the same task over and over again. I’m definitely one of them. I hate repetitive tasks. Just like Abraham Lincoln said: “If I had eight hours … Continue reading
I have a HP MicroServer which I’m very satisfied with. I bought this right away when HP announced it when it still didn’t have a retail price determined. The only downside of it that it has only soft-RAID (or fake-RAID) controller built-in. A proper HP Smart Array controller must have … Continue reading
I just forked and committed some patches to the BitTornado library on GitHub.
Right now I only committed basic fixes to be able to use it in our environment (Python 2.7). Namely:
- Backlog was not always int which should be enforced so I did a force … Continue reading
We’re always testing the latest versions of MySQL with most of the environments to make sure that we can find the critical issues before it goes to production. This wasn’t different with the 5.6 MySQL neither. We already started to play with this version in the summer. The first news … Continue reading
(Note: when I’m talking about MySQL I usually assume InnoDB storage engine. Any other case I explicitly tell this is MyISAM or Memory etc.)
I’ve heared an interesting aproach of using Master-slave replication in MySQL.
So the theory was that since updates by primary keys are fast and by … Continue reading
The ultimate question: which cameras and lenses are better. Because I saw some misleading post about lense prices on the internet what people tend to think is the holy scipture I decided to calculate how much would it cost me to build a decent set of lenses for Canon and … Continue reading
I just sent a couple of my photos to apply for the “Élet-Csend” (“Life-Still”) photo tender. This tender was announced by a Kompánia theather in Hungary. The best pictures will be exhibited in Erkel Ferenc community centre from 16th of October. I’m really hoping at least one of my pictures … Continue reading