things i want to remember, things i want to share

Développeur Python et adepte Linux depuis 2005, Core développeur Kivy, passionné par beaucoup trop de choses.
Profil Github gpg signature bitcoin address

Archive for March 2014

Prepare for the Kivy contest #2

written by tshirtman, on 3/16/14 2:50 AM.

Developers, developers… rejoice!

kivy contest

The kivy project is organizing a second contest!

From the 15th of April, when the theme will be revealed, to the 15th of May, the final deadline, all the interested candidates will compete to produce the nicest application possible, once month to make the difference, and collect prices :).

Prizes will be announced before the beginning of the contest, the python software foundation kindly offered to sponsor the contest, if you are or know somebody interested in sponsoring the contest, please contact us at contest@kivy.org.

Mails, moving from offlineimap to mbsync (isync)

written by tshirtman, on 3/12/14 1:39 AM.

I’ve been mostly happy with the mail setup i documented some time ago, but i never was fully convinced by offlineimap, it was often slow, sometime blocking, and felt a bit unreliable. Last time i went out looking for a replacement, there wasn’t much of them around, and although i had read a bit about mbsync, it didn’t seem nearly as commonly used as offlineimap, the voices praising it were few.

Discussing my issues with offlineimap at work the other day, i discovered that a co-worker had been using mbsync for his setup for years, and seemed to have zero issues with it. So i decided to give it a whirl.

I based my configuration on information found in the arch linux wiki which is often a very nice source of information, even for users of other distributions, especially for users of uncommonly used, nerdy, pieces of software. I directly pointed my configuration to my existing Maildir, and after a few runs (the first one seemed to chock a bit on the number of mails to sync), it went well and have been running very reliably since.

I’m not running it into a crontab yet, i’m just keeping a terminal next to the mutt one, with a simple script like:

while true;
do; sleep 10m
mbsync -a; date

Which allows me to see when was the last sync, and what actually happens during the sync. I must say i’m really happy i don’t have to go forward and code my own IMAP synchronization tool, that would probably have been a very pointy experience.

What "Easy" means

written by tshirtman, on 3/7/14 1:08 AM.

As a techy, i often judge my abilities to do various things as an indication of my value. There is a problem with that, though, because for tasks of apparently similar complexities, there are some that i find extremely easy, and others that i struggle with.

An important difference between these task can be the time i spent struggling with them in the past, as well as how similar they are to others tasks i achieved. It’s easy to forget the price i paid to find them easy now. It was an investment of time and energy, if i was lucky, that investment was done willfully and by having fun, but not always.

But what it means is that just because i find a task easy, it doesn’t mean it’s easy for my co-workers or friends, even if i struggle with tasks which they do find easy, they aren’t better or worse than me (well, maybe they are, but it’s not that simple), they did different time investments, and so we can help each-other. And i should have as much understanding for their difficulties, that i hope they have of mine.

The idea behind this is that we all have a comfort zone, that we spent time digging, and it can be of different size, and of different depth. You can always dig at the same place, but chances are you’ll be limited in your movements, or you can dig all other the place, but chances are you won’t dig very deep, unless you spend all your time digging, but then you may grow tired of digging pretty fast. It’s important to have an habit of digging though, so you increase your comfort zone regularly, and make a lot of things easier for you, because that’s how you can really master things. Don’t worry, you won’t run out of places to dig.

So next time you find something hard, rejoice, you aren’t bad, you are just digging in a new place, out of your comfort zone, and you’ll conquer that space, if you want to.


written by tshirtman, on 3/3/14 2:23 AM.

Just because it seemed not to hard, i spent the evening (actually about 2 hours) making a Spritz clone using kivy.

Code is a bit crude and all, but here it is for your enjoyment:


Here is an apk if you want to actually try it.

Only flat text files are supported, opening the option window is a bit slow (because of ColorPickers), but it’s functionnal, progression is saved, all the options i though were needed are there, and it seems usable.

You can find a lot of free book in the .txt format over at project gutenberg.


#FIXME 3G absurd ad_sense alterway aléatoire android animation anonymity atheism bach backlog bash bitcoins blog blogging boldness book books boulot bricolage bépo C canvas captcha captures carte SD censure christianity chroot CI CLI cli cloudwatt code colors comfort zone command line community company life conferences contest copwatch copwatchnord-idf core-devs cours ct705 culture deb debian debug deformation dehors dessin dev distribute distribution docker débutant déploiement développement ebooks eeepad eeepc effect ego empty en escher event firefly flappy bird flask fosdem foss fr fun game garden gdb geek culture git github goals graphics grrr gödel hack hackathon hacked hacking health hooks i3 images IMAP inspirational install isync java jenkins jeu jeu video jinja2 jni keyboard keynav kivy kv lame learning lib libre life linux lol macosx magnet mail mailing-list mails maths mbsync meetings memory leak mesh meta mint mirroir MIT module motivational mouse museomix mutt nexus7 no-mouse notmuch nottoomuch offlineimap onycroit opencourseware osc packaging paris passphrase password patch pentacatyl people perte de données ping pip planning plugin positioning pr procrastination programmation progress project projet property proudhon proxy psf publisher/consumer pull-down pygame pyjnius pypi python pythonar qtile raid rapsberry pi reading recorder references release religion responsive review reviews réseau réseaux sociaux résurection salon screenshots script self service shows shutil shyness sizing solib sortie sousous!!! spam spritz stash status systeme système templating terminal texture texture coordinates Thomas Paine thread thème tiling time time management. tip tips tools transformer tutorial tv twitter typematrix typing ubuntu ubuntu-fr ultimate-smash-friends unity update upload images useless usf utils value VDM video vie/mort vim virtualenv visite widget windows wm wmii work workflow workflow. zine études