X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/8571a1d6d3c2aa28c67d3a898b2f812867c4342e..d53d22dfe29d299c3482f85d148df12e4bcfef9b:/blog/archive/2016/05/index.html?ds=sidebyside diff --git a/blog/archive/2016/05/index.html b/blog/archive/2016/05/index.html index 4c158aa7b2..c5d1ac214a 100644 --- a/blog/archive/2016/05/index.html +++ b/blog/archive/2016/05/index.html @@ -21,6 +21,192 @@

Entries from May 2016.

+
+
+ Tor - from its creators mouth 11 years ago +
+
+ 28th May 2016 +
+
+

A little more than 11 years ago, one of the creators of Tor, and +the current President of the Tor +project, Roger Dingledine, gave a talk for the members of the +Norwegian Unix User group (NUUG). A +video of the talk was recorded, and today, thanks to the great help +from David Noble, I finally was able to publish the video of the talk +on Frikanalen, the Norwegian open channel TV station where NUUG +currently publishes its talks. You can +watch the live stream using a web +browser with WebM support, or check out the recording on the video +on demand page for the talk +"Tor: Anonymous +communication for the US Department of Defence...and you.".

+ +

Here is the video included for those of you using browsers with +HTML video and Ogg Theora support:

+ +

+ +

I guess the gist of the talk can be summarised quite simply: If you +want to help the military in USA (and everyone else), use Tor. :)

+ +
+
+ + + Tags: english, frikanalen, nuug, video. + + +
+
+
+ +
+
+ Isenkram with PackageKit support - new version 0.23 available in Debian unstable +
+
+ 25th May 2016 +
+
+

The isenkram +system is a user-focused solution in Debian for handling hardware +related packages. The idea is to have a database of mappings between +hardware and packages, and pop up a dialog suggesting for the user to +install the packages to use a given hardware dongle. Some use cases +are when you insert a Yubikey, it proposes to install the software +needed to control it; when you insert a braille reader list it +proposes to install the packages needed to send text to the reader; +and when you insert a ColorHug screen calibrator it suggests to +install the driver for it. The system work well, and even have a few +command line tools to install firmware packages and packages for the +hardware already in the machine (as opposed to hotpluggable hardware).

+ +

The system was initially written using aptdaemon, because I found +good documentation and example code on how to use it. But aptdaemon +is going away and is generally being replaced by +PackageKit, +so Isenkram needed a rewrite. And today, thanks to the great patch +from my college Sunil Mohan Adapa in the FreedomBox project, the +rewrite finally took place. I've just uploaded a new version of +Isenkram into Debian Unstable with the patch included, and the default +for the background daemon is now to use PackageKit. To check it out, +install the isenkram package and insert some hardware dongle +and see if it is recognised.

+ +

If you want to know what kind of packages isenkram would propose for +the machine it is running on, you can check out the isenkram-lookup +program. This is what it look like on a Thinkpad X230:

+ +

+% isenkram-lookup 
+bluez
+cheese
+fprintd
+fprintd-demo
+gkrellm-thinkbat
+hdapsd
+libpam-fprintd
+pidgin-blinklight
+thinkfan
+tleds
+tp-smapi-dkms
+tp-smapi-source
+tpb
+%p
+

+ +

The hardware mappings come from several places. The preferred way +is for packages to announce their hardware support using +the +cross distribution appstream system. +See +previous +blog posts about isenkram to learn how to do that.

+ +
+
+ + + Tags: debian, english, isenkram. + + +
+
+
+ +
+
+ Discharge rate estimate in new battery statistics collector for Debian +
+
+ 23rd May 2016 +
+
+

Yesterday I updated the +battery-stats +package in Debian with a few patches sent to me by skilled and +enterprising users. There were some nice user and visible changes. +First of all, both desktop menu entries now work. A design flaw in +one of the script made the history graph fail to show up (its PNG was +dumped in ~/.xsession-errors) if no controlling TTY was available. +The script worked when called from the command line, but not when +called from the desktop menu. I changed this to look for a DISPLAY +variable or a TTY before deciding where to draw the graph, and now the +graph window pop up as expected.

+ +

The next new feature is a discharge rate estimator in one of the +graphs (the one showing the last few hours). New is also the user of +colours showing charging in blue and discharge in red. The percentages +of this graph is relative to last full charge, not battery design +capacity.

+ +

+ +

The other graph show the entire history of the collected battery +statistics, comparing it to the design capacity of the battery to +visualise how the battery life time get shorter over time. The red +line in this graph is what the previous graph considers 100 percent: + +

+ +

In this graph you can see that I only charge the battery to 80 +percent of last full capacity, and how the capacity of the battery is +shrinking. :(

+ +

The last new feature is in the collector, which now will handle +more hardware models. On some hardware, Linux power supply +information is stored in /sys/class/power_supply/ACAD/, while the +collector previously only looked in /sys/class/power_supply/AC/. Now +both are checked to figure if there is power connected to the +machine.

+ +

If you are interested in how your laptop battery is doing, please +check out the +battery-stats +in Debian unstable, or rebuild it on Jessie to get it working on +Debian stable. :) The upstream source is available from github. +Patches are very welcome.

+ +

As usual, if you use Bitcoin and want to show your support of my +activities, please send Bitcoin donations to my address +15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b.

+ +
+
+ + + Tags: debian, english. + + +
+
+
+
French edition of Lawrence Lessigs book Cultura Libre on Amazon and Barnes & Noble @@ -279,7 +465,19 @@ first computer being sold with Debian preinstalled?

  • April (8)
  • -
  • May (5)
  • +
  • May (8)
  • + +
  • June (2)
  • + +
  • July (2)
  • + +
  • August (5)
  • + +
  • September (2)
  • + +
  • October (3)
  • + +
  • November (8)
  • @@ -512,41 +710,41 @@ first computer being sold with Debian preinstalled?

  • bitcoin (9)
  • -
  • bootsystem (15)
  • +
  • bootsystem (16)
  • bsa (2)
  • chrpath (2)
  • -
  • debian (127)
  • +
  • debian (141)
  • -
  • debian edu (156)
  • +
  • debian edu (158)
  • digistan (10)
  • -
  • dld (15)
  • +
  • dld (16)
  • -
  • docbook (22)
  • +
  • docbook (23)
  • drivstoffpriser (4)
  • -
  • english (316)
  • +
  • english (333)
  • fiksgatami (23)
  • fildeling (12)
  • -
  • freeculture (27)
  • +
  • freeculture (29)
  • freedombox (9)
  • -
  • frikanalen (16)
  • +
  • frikanalen (18)
  • h264 (20)
  • intervju (42)
  • -
  • isenkram (11)
  • +
  • isenkram (13)
  • kart (19)
  • @@ -560,21 +758,21 @@ first computer being sold with Debian preinstalled?

  • mesh network (8)
  • -
  • multimedia (38)
  • +
  • multimedia (39)
  • -
  • nice free software (7)
  • +
  • nice free software (8)
  • -
  • norsk (275)
  • +
  • norsk (283)
  • -
  • nuug (180)
  • +
  • nuug (182)
  • offentlig innsyn (26)
  • open311 (2)
  • -
  • opphavsrett (60)
  • +
  • opphavsrett (62)
  • -
  • personvern (92)
  • +
  • personvern (95)
  • raid (1)
  • @@ -584,27 +782,27 @@ first computer being sold with Debian preinstalled?

  • rfid (3)
  • -
  • robot (9)
  • +
  • robot (10)
  • rss (1)
  • -
  • ruter (4)
  • +
  • ruter (5)
  • scraperwiki (2)
  • -
  • sikkerhet (46)
  • +
  • sikkerhet (52)
  • sitesummary (4)
  • -
  • skepsis (4)
  • +
  • skepsis (5)
  • standard (49)
  • -
  • stavekontroll (4)
  • +
  • stavekontroll (5)
  • stortinget (10)
  • -
  • surveillance (36)
  • +
  • surveillance (43)
  • sysadmin (2)
  • @@ -612,7 +810,7 @@ first computer being sold with Debian preinstalled?

  • valg (8)
  • -
  • video (56)
  • +
  • video (59)
  • vitenskap (4)