2017-05-16

Résultats de l’élection présidentielle française 2017 à Londres

Pour une raison inconnue, le site du ministère de l’intérieur ne fournit pas de résultats par commune pour les français de l’étranger, contrairement à la métropole.

Les données étant fournies sur data.gouv.fr mais pas très lisibles, je les avais extraites. Je me suis dit ce matin que ça pourrait intéresser d’autres gens, donc les voici.

Résultats au premier tour

Nombre% Inscrits% Votants
Inscrits93647
Abstentions4972153.09
Votants4392646.91
Blancs1570.170.36
Nuls2180.230.5
Exprimés4355146.5199.15

NomPrénomVoix% Inscrits% Exprimés
MACRONEmmanuel2238523.951.4
FILLONFrançois1079611.5324.79
MÉLENCHONJean-Luc49345.2711.33
HAMONBenoît29103.116.68
LE PENMarine12251.312.81
DUPONT-AIGNANNicolas5350.571.23
ASSELINEAUFrançois2880.310.66
POUTOUPhilippe1940.210.45
LASSALLEJean1220.130.28
ARTHAUDNathalie910.10.21
CHEMINADEJacques710.080.16

Résultats au second tour

Nombre% Inscrits% Votants
Inscrits93672
Abstentions4680549.97
Votants4686750.03
Blancs8280.881.77
Nuls2050.220.44
Exprimés4583448.9397.80

NomPrénomVoix% Inscrits% Exprimés
MACRONEmmanuel4362946.5895.19
LE PENMarine22052.354.81

2015-06-02

Tuning systemd services

Recently my tor relay started crashing daily.

I found out it was because the usage increased (approaching 10MB/s) and every night when logrotate asked it to reload, it failed with:

May 30 04:02:01.000 [notice] Received reload signal (hup). Reloading config and resetting internal state.
May 30 04:02:01.000 [warn] Could not open "/etc/tor/torrc": Too many open files
May 30 04:02:01.000 [warn] Unable to open configuration file "/etc/tor/torrc".
May 30 04:02:01.000 [err] Reading config failed--see warnings above. For usage, try -h.
May 30 04:02:01.000 [warn] Restart failed (config error?). Exiting.
May 30 04:02:01.000 [warn] Couldn't open "/var/lib/tor/state.tmp" (/var/lib/tor/state) for writing: Too many open files

The problems comes from LimitNOFILE=4096 in the service file, and I had no idea how to fix it cleanly.

fcrozat gave me the answer which I'll summarize as:

mkdir /etc/systemd/system/tor.service.d/
echo "[Service]\nLimitNOFILE=16384" > /etc/systemd/system/tor.service.d/limit.conf
systemctl daemon-reload
service tor restart

2014-02-16

OpenLibernet

I saw a link to OpenLibernet and after reading there FAQ I believed there was a fundamental problem. I quickly read the full paper but found no answer.

I guess I have missed something, please explain me :)

A peer address is the hash of a cryptographic public key. It is used to encrypt certain packets as part of the routing protocol, serve as a payment address for the payment system (similar to a Bitcoin’s wallet address), but also serves as a unique identifier for a node, similar to IP Addresses in the current internet.

Also, a node may simply generate a new Peer Address anytime it chooses to.

When the balance of a neighbor hits a certain threshold, a payment request is initiated.

Malicious nodes could however cheat their neighbors and refuse to pay them their due traffic. For that, the protocol is designed to punish such malicious behavior through ostracism. A node will be automatically isolated from the network until it pays all its dues and resolves all conflicts with its neighbors.

Turkish Cat

What is preventing some malicious node to re-join the network with a new peer address when it is getting close to receiving a payment request, and discard its balance?

The only limitation I see is First, and to eliminate the churn caused by unstable nodes, a Layer 2 link becomes active only after it has been alive for a set amount of time. but this is not a problem is you start another client in parallel when getting close to a payment threshold and switch to the new peer address when it is ready.

2004-11-01

Moved


I live in my new flat in Asnières sur Seine since last Saturday. After some problems with France Telecom, I don't know when I'll be able to subscribe to ADSL. Their eligibilty system still tell me that my phone number does not exist more than one week after the phone started working... Need to call them again...


Meanwhile I can sometimes get an unstable connection using an unknown neigbour's wifi (but I never got it more than few minutes...). I got really surprised to scan 33 different MAC adresses from my flat ! However, only 2 are open and I could only connect to one.


I bought a new harddrive on Saturday (thanks Anne for dropping the bag before I can even use it, you're lucky it still works fine :) ). I may be able to resume all my pending projects soon, especially the PLF Move.


Work at Mandrakesoft is going nicely (a lot of projects, I won't get bored soon).


2004-09-18

GNOME GTray


Just spent a few hours getting GTray to connect again to GMail. It now work fine but I think authentification part could be written more robust. I may look at it again later...

Partial move


I'll move to Paris tomorrow evening, not yet a real move as I have not yet found a flat to store all my stuff. I have to find one before October 15, but there is something more urgent now : Wednesday will be my first day at Mandrakesoft :-)

2004-09-13

I got a job \o/


I just accepted a job 2 hours ago, I'll become a consultant for Mandrakesoft.I'll start very soon (not yet decided), so I am now really looking for a flat :-)