Christophe Tronche (@chtronche) profile picture

Technology,strategy,flying... For life and politics in France (and in french): @chtronche_fr

Joined July 2009
Photo by Christophe Tronche (@chtronche)Photo by Christophe Tronche (@chtronche)Photo by Christophe Tronche (@chtronche)Photo by Christophe Tronche (@chtronche)Photo by Christophe Tronche (@chtronche)Photo by Christophe Tronche (@chtronche)Photo by Christophe Tronche (@chtronche)Photo by Christophe Tronche (@chtronche)Photo by Christophe Tronche (@chtronche)
charmtimetracker crashes with Gnome Shell on Ubuntu 22 (is it Wayland ?) With metacity ("flashback") / X, works like... a charm!
77
Christophe Tronche retweeted
And we're LIVE in Honolulu! After sailing 2,250 nautical miles from San Francisco the Saildrone Surveyor has arrived in Honolulu!!! Stay tuned for the full story! 👏💪🌊💙
5
25
12
217
Silly, but I happen to like my own DHT22 Mbed OS library. github.com/chtronche/ya-dht2…
Never use sprintf, use snprintf instead,especially in embedded systems... The non-believers will go to hell, which actually is the place where you spend your week-end debugging erratic seemingly paranormal behaviors...
1
To tell the whole story, a sprintf overrunning a buffer on the stack (local variable) was altering the virtual function table of the object (this is C++ on AVR), thus crashing at the very point of the function call. Paranormal, I tell you.
2
(actually, it's a Kinetis K20, not an AVR)
As a lesson, although the crash occurred in a rather experimental library that had suffered bugs in the past, I had been using it for several years now without a glitch. So it had to be my code. Once I was in that state of mind, spotting the problem was rather quick.
1
If it crashes, it's not the libraries, it's not the compiler, it's not the hardware. Look into your code first.
Windows store doesn't work on my PC, I can't run fsx 😪.
Christophe Tronche retweeted
Pierre Robin s'est envolé… - aerovfr.com/2020/08/pierre-r…
1
46
8
80
Please share. ocw.mit.edu/index.htm
35
1,747
87
3,085
Taxe municipale sur les mâts et les pylônes radioamateurs-france.fr/taxe…
Power circuitry is always special, because it's powered by the voltage it's monitoring.
1
Teasing the next release of my kivy speedmeter...
1
5
15
10 super capacitors just arrived from China. Each of them 100F... #almabraxas
1
9 of them connected in series (~11F, 24V) fitted with 2 10 ohms 20W resistors for current limitation. Power circuitry is like no other!
1
Super capacitor powered LED 😊 with Sparkfun autonomous voltage indicator.
Amazing @sparkfun voltmeter (or at least voltage indicator), useful for demos, designing your multi-stage power circuitry, and anything you can imagine. Less than 2 €. Absolutely amazing.
1