Today I need to find a way to do some backup on an FTP server. Of course there is a lot of way to do that, but I need something automatic that does some full (monthly) and incremental (daily) backup. I decided to use duplicity because it’s a really simple and effective software. The main [...]
Tags: duplicity, Python, server
admin January 28th, 2012
Recently I decided to daily switch my main computer off. This computer was usually on all time, and consume a lot of electricity. So, I switched to a really small computer for common task: ssh-server, wake on lan (for my main computer), VPN access and mail relay. This new computer consume 7watts but his specs [...]
Tags: 1wire, arduino, munin, Python, vala
admin July 26th, 2010
Today, I discover that my M3100 player doesn’t know how to play Mastroka files. Mastroka files are really kool since the subtitles are embeded in .. but that’s it, my player refuse to play open it.
This stuff can be repack in a AVI (xivd..) file with some open source tools. Here, a little script to [...]
Tags: divx, dvico, mastroka, Python
admin May 8th, 2007
In a previous post, I study the way some spammers use plone user folder to spam my blog. But this time, it’s my turn. I host since a little time right now, a small CPS
website for my work. And I discovered a lot of spammer user account on it.
The main issue, is that I haven’t [...]
Tags: cps, plone, Python, Zope
admin February 5th, 2007
This is a bit funny, but all is on the GoogleMasterPlan . As you can see to hire Guido, they decided to send spam. Hum, really happy to find Python on this stuff :)
Tags: fun, google, Python
admin November 26th, 2006
As severall people, I run into issue with some spammer using my comment system to spam, and post backlinks. (Even using some funny stuffs)
I ‘m already using a good email spam filter: SpamBayes, so I decided to test bayesian filtering for the spam on this blog too.
I decided to give Reverend a try:
from reverend.thomas import [...]
Tags: bayesian, Blog, Python, spam
admin November 17th, 2006
Not really, but this nice Tux droid, can be pluged in USB, and the commands are sent via a Python DBUS binding. Hum a stupid question, can we use the Python USB API directly ?
With time, Python really became a powerfull tool for hardware hackers :) That’s perhaps why I like it so much ?
Tags: gadget, Python, usb
admin August 10th, 2006
For a little app, I need to send stream over UDP at a fixed rate. I have done severals tests w/ some buffers and sleep(), but I can’t achieve the desired speed. Mainly because sleep() doesn’t provide a stable enought result.
I decided to look at this a little deeply, and decided to use /dev/rtc to [...]
Tags: linux, Python, rtc
admin January 24th, 2006
While debuging an AVR microcontroller, you need to play with bits. After playing with my calculator I decided to find another way to decode bin/hex etc .. I found a good recipe on ASPN.
Now, this is a little reminder for people (like me) which doesn’t read binary op fluently.
# This will off the bits [...]
Tags: avr, Python
admin December 15th, 2005
I run into a little test of Plone 2.1 today. And the whole stuff, seems to be slower than Plone 2.0.5. I decided to do a little benchmark, and yes Plone 2.1 seems to be really slower..
Plone 2.0.5 (python 2.3.4)
Total transferred: 239130 bytes
HTML transferred: [...]
Tags: http, Python, Zope
admin September 27th, 2005