1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" dir=
"ltr">
5 <meta http-equiv=
"Content-Type" content=
"text/html;charset=utf-8" />
6 <title>Petter Reinholdtsen
</title>
7 <link rel=
"stylesheet" type=
"text/css" media=
"screen" href=
"http://people.skolelinux.org/pere/blog/style.css" />
8 <link rel=
"stylesheet" type=
"text/css" media=
"screen" href=
"http://people.skolelinux.org/pere/blog/vim.css" />
9 <link rel=
"alternate" title=
"RSS Feed" href=
"http://people.skolelinux.org/pere/blog/index.rss" type=
"application/rss+xml" />
14 <a href=
"http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen
</a>
23 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Aktivitetsb_nd_som_beskytter_privatsf_ren.html">Aktivitetsbånd som beskytter privatsfæren
</a></div>
24 <div class=
"date"> 3rd November
2016</div>
25 <div class=
"body"><p>Jeg ble så imponert over
26 <a href=
"https://www.nrk.no/norge/forbrukerradet-mener-aktivitetsarmband-strider-mot-norsk-lov-1.13209079">dagens
27 gladnyhet på NRK
</a>, om at Forbrukerrådet klager inn vilkårene for
28 bruk av aktivitetsbånd fra Fitbit, Garmin, Jawbone og Mio til
29 Datatilsynet og forbrukerombudet, at jeg sendte følgende brev til
30 forbrukerrådet for å uttrykke min støtte:
34 <p>Jeg ble veldig glad over å lese at Forbrukerrådet
35 <a href=
"http://www.forbrukerradet.no/siste-nytt/klager-inn-aktivitetsarmband-for-brudd-pa-norsk-lov/">klager
36 inn flere aktivitetsbånd til Datatilsynet for dårlige vilkår
</a>. Jeg
37 har ønsket meg et aktivitetsbånd som kan måle puls, bevegelse og
38 gjerne også andre helserelaterte indikatorer en stund nå. De eneste
39 jeg har funnet i salg gjør, som dere også har oppdaget, graverende
40 inngrep i privatsfæren og sender informasjonen ut av huset til folk og
41 organisasjoner jeg ikke ønsker å dele aktivitets- og helseinformasjon
42 med. Jeg ønsker et alternativ som _ikke_ sender informasjon til
43 skyen, men derimot bruker
44 <a href=
"http://people.skolelinux.org/pere/blog/Fri_og__pen_standard__slik_Digistan_ser_det.html">en
45 fritt og åpent standardisert
</a> protokoll (eller i det minste en
46 dokumentert protokoll uten patent- og opphavsrettslige
47 bruksbegrensinger) til å kommunisere med datautstyr jeg kontrollerer.
48 Er jo ikke interessert i å betale noen for å tilrøve seg
49 personopplysninger fra meg. Desverre har jeg ikke funnet noe
50 alternativ så langt.
</p>
52 <p>Det holder ikke å endre på bruksvilkårene for enhetene, slik
53 Datatilsynet ofte legger opp til i sin behandling, når de gjør slik
54 f.eks. Fitbit (den jeg har sett mest på). Fitbit krypterer
55 informasjonen på enheten og sender den kryptert til leverandøren. Det
56 gjør det i praksis umulig både å sjekke hva slags informasjon som
57 sendes over, og umulig å ta imot informasjonen selv i stedet for
58 Fitbit. Uansett hva slags historie som forteller i bruksvilkårene er
59 en jo både prisgitt leverandørens godvilje og at de ikke tvinges av
60 sitt lands myndigheter til å lyve til sine kunder om hvorvidt
61 personopplysninger spres ut over det bruksvilkårene sier. Det er
62 veldokumentert hvordan f.eks. USA tvinger selskaper vha. såkalte
63 National security letters til å utlevere personopplysninger samtidig
64 som de ikke får lov til å fortelle dette til kundene sine.
</p>
66 <p>Stå på, jeg er veldig glade for at dere har sett på saken. Vet
67 dere om aktivitetsbånd i salg i dag som ikke tvinger en til å utlevere
68 aktivitets- og helseopplysninger med leverandøren?
</p>
72 <p>Jeg håper en konkurrent som respekterer kundenes privatliv klarer å
73 nå opp i markedet, slik at det finnes et reelt alternativ for oss som
74 har full tillit til at skyleverandører vil prioritere egen inntjening
75 og myndighetspålegg langt over kundenes rett til privatliv. Jeg har
76 ingen tiltro til at Datatilsynet vil kreve noe mer enn at vilkårene
77 endres slik at de forklarer eksplisitt i hvor stor grad bruk av
78 produktene utraderer privatsfæren til kundene. Det vil nok gjøre de
79 innklagede armbåndene "lovlige", men fortsatt tvinge kundene til å
80 dele sine personopplysninger med leverandøren.
</p>
85 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance
</a>.
90 <div class=
"padding"></div>
93 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Experience_and_updated_recipe_for_using_the_Signal_app_without_a_mobile_phone.html">Experience and updated recipe for using the Signal app without a mobile phone
</a></div>
94 <div class=
"date">10th October
2016</div>
95 <div class=
"body"><p>In July
96 <a href=
"http://people.skolelinux.org/pere/blog/How_to_use_the_Signal_app_if_you_only_have_a_land_line__ie_no_mobile_phone_.html">I
97 wrote how to get the Signal Chrome/Chromium app working
</a> without
98 the ability to receive SMS messages (aka without a cell phone). It is
99 time to share some experiences and provide an updated setup.
</p>
101 <p>The Signal app have worked fine for several months now, and I use
102 it regularly to chat with my loved ones. I had a major snag at the
103 end of my summer vacation, when the the app completely forgot my
104 setup, identity and keys. The reason behind this major mess was
105 running out of disk space. To avoid that ever happening again I have
106 started storing everything in
<tt>userdata/
</tt> in git, to be able to
107 roll back to an earlier version if the files are wiped by mistake. I
108 had to use it once after introducing the git backup. When rolling
109 back to an earlier version, one need to use the 'reset session' option
110 in Signal to get going, and notify the people you talk with about the
111 problem. I assume there is some sequence number tracking in the
112 protocol to detect rollback attacks. The git repository is rather big
113 (
674 MiB so far), but I have not tried to figure out if some of the
114 content can be added to a .gitignore file due to lack of spare
117 <p>I've also hit the
90 days timeout blocking, and noticed that this
118 make it impossible to send messages using Signal. I could still
119 receive them, but had to patch the code with a new timestamp to send.
120 I believe the timeout is added by the developers to force people to
121 upgrade to the latest version of the app, even when there is no
122 protocol changes, to reduce the version skew among the user base and
123 thus try to keep the number of support requests down.
</p>
125 <p>Since my original recipe, the Signal source code changed slightly,
126 making the old patch fail to apply cleanly. Below is an updated
127 patch, including the shell wrapper I use to start Signal. The
128 original version required a new user to locate the JavaScript console
129 and call a function from there. I got help from a friend with more
130 JavaScript knowledge than me to modify the code to provide a GUI
131 button instead. This mean that to get started you just need to run
132 the wrapper and click the 'Register without mobile phone' to get going
133 now. I've also modified the timeout code to always set it to
90 days
134 in the future, to avoid having to patch the code regularly.
</p>
136 <p>So, the updated recipe for Debian Jessie:
</p>
140 <li>First, install required packages to get the source code and the
141 browser you need. Signal only work with Chrome/Chromium, as far as I
142 know, so you need to install it.
145 apt install git tor chromium
146 git clone https://github.com/WhisperSystems/Signal-Desktop.git
149 <li>Modify the source code using command listed in the the patch
152 <li>Start Signal using the run-signal-app wrapper (for example using
153 <tt>`pwd`/run-signal-app
</tt>).
155 <li>Click on the 'Register without mobile phone', will in a phone
156 number you can receive calls to the next minute, receive the
157 verification code and enter it into the form field and press
158 'Register'. Note, the phone number you use will be user Signal
159 username, ie the way others can find you on Signal.
</li>
161 <li>You can now use Signal to contact others. Note, new contacts do
162 not show up in the contact list until you restart Signal, and there is
163 no way to assign names to Contacts. There is also no way to create or
164 update chat groups. I suspect this is because the web app do not have
165 a associated contact database.
</li>
169 <p>I am still a bit uneasy about using Signal, because of the way its
170 main author moxie0 reject federation and accept dependencies to major
171 corporations like Google (part of the code is fetched from Google) and
172 Amazon (the central coordination point is owned by Amazon). See for
174 <a href=
"https://github.com/LibreSignal/LibreSignal/issues/37">the
175 LibreSignal issue tracker
</a> for a thread documenting the authors
176 view on these issues. But the network effect is strong in this case,
177 and several of the people I want to communicate with already use
178 Signal. Perhaps we can all move to
<a href=
"https://ring.cx/">Ring
</a>
179 once it
<a href=
"https://bugs.debian.org/830265">work on my
180 laptop
</a>? It already work on Windows and Android, and is included
181 in
<a href=
"https://tracker.debian.org/pkg/ring">Debian
</a> and
182 <a href=
"https://launchpad.net/ubuntu/+source/ring">Ubuntu
</a>, but not
183 working on Debian Stable.
</p>
185 <p>Anyway, this is the patch I apply to the Signal code to get it
186 working. It switch to the production servers, disable to timeout,
187 make registration easier and add the shell wrapper:
</p>
190 cd Signal-Desktop; cat
<<EOF | patch -p1
191 diff --git a/js/background.js b/js/background.js
192 index
24b4c1d.
.579345f
100644
193 --- a/js/background.js
194 +++ b/js/background.js
199 - var SERVER_URL = 'https://textsecure-service-staging.whispersystems.org';
200 + var SERVER_URL = 'https://textsecure-service-ca.whispersystems.org';
201 var SERVER_PORTS = [
80,
4433,
8443];
202 - var ATTACHMENT_SERVER_URL = 'https://whispersystems-textsecure-attachments-staging.s3.amazonaws.com';
203 + var ATTACHMENT_SERVER_URL = 'https://whispersystems-textsecure-attachments.s3.amazonaws.com';
205 window.getSocketStatus = function() {
206 if (messageReceiver) {
207 diff --git a/js/expire.js b/js/expire.js
208 index
639aeae..beb91c3
100644
214 - var BUILD_EXPIRATION =
0;
215 + var BUILD_EXPIRATION = Date.now() + (
90 *
24 *
60 *
60 *
1000);
217 window.extension = window.extension || {};
219 diff --git a/js/views/install_view.js b/js/views/install_view.js
220 index
7816f4f.
.1d6233b
100644
221 --- a/js/views/install_view.js
222 +++ b/js/views/install_view.js
225 'click .step1': this.selectStep.bind(this,
1),
226 'click .step2': this.selectStep.bind(this,
2),
227 - 'click .step3': this.selectStep.bind(this,
3)
228 + 'click .step3': this.selectStep.bind(this,
3),
229 + 'click .callreg': function() { extension.install('standalone') },
232 clearQR: function() {
233 diff --git a/options.html b/options.html
234 index dc0f28e.
.8d709f6
100644
239 <h1
>{{ installWelcome }}
</h1
>
240 <p
>{{ installTagline }}
</p
>
241 -
<div
> <a class='button step2'
>{{ installGetStartedButton }}
</a
> </div
>
242 +
<div
> <a class='button step2'
>{{ installGetStartedButton }}
</a
>
243 +
<br
> <a
class="button callreg"
>Register without mobile phone
</a
>
246 <span class='dot step1 selected'
></span
>
247 <span class='dot step2'
></span
>
248 <span class='dot step3'
></span
>
249 --- /dev/null
2016-
10-
07 09:
55:
13.730181472 +
0200
250 +++ b/run-signal-app
2016-
10-
10 08:
54:
09.434172391 +
0200
256 +
userdata="`pwd`/userdata"
257 +if [ -d "$userdata" ] && [ ! -d "$userdata/.git" ] ; then
258 + (cd $userdata && git init)
260 +(cd $userdata && git add . && git commit -m "Current status." || true)
262 +
--proxy-server="socks://localhost:
9050" \
263 + --user-data-dir=$userdata --load-and-launch-app=`pwd`
265 chmod a+rx run-signal-app
268 <p>As usual, if you use Bitcoin and want to show your support of my
269 activities, please send Bitcoin donations to my address
270 <b><a href=
"bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&label=PetterReinholdtsenBlog">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a></b>.
</p>
275 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance
</a>.
280 <div class=
"padding"></div>
283 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/NRKs_kildevern_n_r_NRK_epost_deles_med_utenlands_etterretning_.html">NRKs kildevern når NRK-epost deles med utenlands etterretning?
</a></div>
284 <div class=
"date"> 8th October
2016</div>
285 <div class=
"body"><p>NRK
286 <a href=
"https://nrkbeta.no/2016/09/02/securing-whistleblowers/">lanserte
287 for noen uker siden
</a> en ny
288 <a href=
"https://www.nrk.no/varsle/">varslerportal som bruker
289 SecureDrop til å ta imot tips
</a> der det er vesentlig at ingen
290 utenforstående får vite at NRK er tipset. Det er et langt steg
291 fremover for NRK, og når en leser bloggposten om hva de har tenkt på
292 og hvordan løsningen er satt opp virker det som om de har gjort en
293 grundig jobb der. Men det er ganske mye ekstra jobb å motta tips via
294 SecureDrop, så varslersiden skriver "Nyhetstips som ikke krever denne
295 typen ekstra vern vil vi gjerne ha på nrk.no/
03030", og
03030-siden
296 foreslår i tillegg til et webskjema å bruke epost, SMS, telefon,
297 personlig oppmøte og brevpost. Denne artikkelen handler disse andre
300 <p>Når en sender epost til en @nrk.no-adresse så vil eposten sendes ut
301 av landet til datamaskiner kontrollert av Microsoft. En kan sjekke
302 dette selv ved å slå opp epostleveringsadresse (MX) i DNS. For NRK er
303 dette i dag "nrk-no.mail.protection.outlook.com". NRK har som en ser
304 valgt å sette bort epostmottaket sitt til de som står bak outlook.com,
305 dvs. Microsoft. En kan sjekke hvor nettverkstrafikken tar veien
306 gjennom Internett til epostmottaket vha. programmet
307 <tt>traceroute
</tt>, og finne ut hvem som eier en Internett-adresse
308 vha. whois-systemet. Når en gjør dette for epost-trafikk til @nrk.no
309 ser en at trafikken fra Norge mot nrk-no.mail.protection.outlook.com
310 går via Sverige mot enten Irland eller Tyskland (det varierer fra gang
311 til gang og kan endre seg over tid).
</p>
314 <a href=
"https://no.wikipedia.org/wiki/FRA-loven">introduksjonen av
315 FRA-loven
</a> at IP-trafikk som passerer grensen til Sverige avlyttes
316 av Försvarets radioanstalt (FRA). Vi vet videre takket være
317 Snowden-bekreftelsene at trafikk som passerer grensen til
318 Storbritannia avlyttes av Government Communications Headquarters
319 (GCHQ). I tillegg er er det nettopp lansert et forslag i Norge om at
320 forsvarets E-tjeneste skal få avlytte trafikk som krysser grensen til
321 Norge. Jeg er ikke kjent med dokumentasjon på at Irland og Tyskland
322 gjør det samme. Poenget er uansett at utenlandsk etterretning har
323 mulighet til å snappe opp trafikken når en sender epost til @nrk.no.
324 I tillegg er det selvsagt tilgjengelig for Microsoft som er underlagt USAs
326 <a href=
"https://www.theguardian.com/world/2013/jul/11/microsoft-nsa-collaboration-user-data">samarbeider
327 med USAs etterretning på flere områder
</a>. De som tipser NRK om
328 nyheter via epost kan dermed gå ut fra at det blir kjent for mange
329 andre enn NRK at det er gjort.
</p>
331 <p>Bruk av SMS og telefon registreres av blant annet telefonselskapene
332 og er tilgjengelig i følge lov og forskrift for blant annet Politi,
333 NAV og Finanstilsynet, i tillegg til IT-folkene hos telefonselskapene
334 og deres overordnede. Hvis innringer eller mottaker bruker
335 smarttelefon vil slik kontakt også gjøres tilgjengelig for ulike
336 app-leverandører og de som lytter på trafikken mellom telefon og
337 app-leverandør, alt etter hva som er installert på telefonene som
340 <p>Brevpost kan virke trygt, og jeg vet ikke hvor mye som registreres
341 og lagres av postens datastyrte postsorteringssentraler. Det vil ikke
342 overraske meg om det lagres hvor i landet hver konvolutt kommer fra og
343 hvor den er adressert, i hvert fall for en kortere periode. Jeg vet
344 heller ikke hvem slik informasjon gjøres tilgjengelig for. Det kan
345 være nok til å ringe inn potensielle kilder når det krysses med hvem
346 som kjente til aktuell informasjon og hvor de befant seg (tilgjengelig
347 f.eks. hvis de bærer mobiltelefon eller bor i nærheten).
</p>
349 <p>Personlig oppmøte hos en NRK-journalist er antagelig det tryggeste,
350 men en bør passe seg for å bruke NRK-kantina. Der bryter de nemlig
351 <a href=
"http://www.lovdata.no/all/hl-19850524-028.html#14">Sentralbanklovens
352 paragraf
14</a> og nekter folk å betale med kontanter. I stedet
353 krever de at en varsle sin bankkortutsteder om hvor en befinner seg
354 ved å bruke bankkort. Banktransaksjoner er tilgjengelig for
355 bankkortutsteder (det være seg VISA, Mastercard, Nets og/eller en
356 bank) i tillegg til politiet og i hvert fall tidligere med Se & Hør
357 (via utro tjenere, slik det ble avslørt etter utgivelsen av boken
358 «Livet, det forbannede» av Ken B. Rasmussen). Men hvor mange kjenner
359 en NRK-journalist personlig? Besøk på NRK på Marienlyst krever at en
360 registrerer sin ankost elektronisk i besøkssystemet. Jeg vet ikke hva
361 som skjer med det datasettet, men har grunn til å tro at det sendes ut
362 SMS til den en skal besøke med navnet som er oppgitt. Kanskje greit å
363 oppgi falskt navn.
</p>
365 <p>Når så tipset er kommet frem til NRK skal det behandles
366 redaksjonelt i NRK. Der vet jeg via ulike kilder at de fleste
367 journalistene bruker lokalt installert programvare, men noen bruker
368 Google Docs og andre skytjenester i strid med interne retningslinjer
369 når de skriver. Hvordan vet en hvem det gjelder? Ikke vet jeg, men
370 det kan være greit å spørre for å sjekke at journalisten har tenkt på
371 problemstillingen, før en gir et tips. Og hvis tipset omtales internt
372 på epost, er det jo grunn til å tro at også intern eposten vil deles
373 med Microsoft og utenlands etterretning, slik tidligere nevnt, men det
374 kan hende at det holdes internt i NRKs interne MS Exchange-løsning.
375 Men Microsoft ønsker å få alle Exchange-kunder over "i skyen" (eller
376 andre folks datamaskiner, som det jo innebærer), så jeg vet ikke hvor
377 lenge det i så fall vil vare.
</p>
379 <p>I tillegg vet en jo at
380 <a href=
"https://www.nrk.no/ytring/elektronisk-kildevern-i-nrk-1.11941196">NRK
381 har valgt å gi nasjonal sikkerhetsmyndighet (NSM) tilgang til å se på
382 intern og ekstern Internett-trafikk
</a> hos NRK ved oppsett av såkalte
383 VDI-noder, på tross av
384 <a href=
"https://www.nrk.no/ytring/bekymring-for-nrks-kildevern-1.11941584">protester
385 fra NRKs journalistlag
</a>. Jeg vet ikke om den vil kunne snappe opp
386 dokumenter som lagres på interne filtjenere eller dokumenter som lages
387 i de interne webbaserte publiseringssystemene, men vet at hva noden
388 ser etter på nettet kontrolleres av NSM og oppdateres automatisk, slik
389 at det ikke gir så mye mening å sjekke hva noden ser etter i dag når
390 det kan endres automatisk i morgen.
</p>
392 <p>Personlig vet jeg ikke om jeg hadde turt tipse NRK hvis jeg satt på
393 noe som kunne være en trussel mot den bestående makten i Norge eller
394 verden. Til det virker det å være for mange åpninger for
395 utenforstående med andre prioriteter enn NRKs journalistiske fokus.
396 Og den største truslen for en varsler er jo om metainformasjon kommer
397 på avveie, dvs. informasjon om at en har vært i kontakt med en
398 journalist. Det kan være nok til at en kommer i myndighetenes
399 søkelys, og de færreste har nok operasjonell sikkerhet til at vil tåle
400 slik flombelysning på sitt privatliv.
</p>
405 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/dld">dld
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance
</a>.
410 <div class=
"padding"></div>
413 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Isenkram__Appstream_and_udev_make_life_as_a_LEGO_builder_easier.html">Isenkram, Appstream and udev make life as a LEGO builder easier
</a></div>
414 <div class=
"date"> 7th October
2016</div>
415 <div class=
"body"><p><a href=
"http://packages.qa.debian.org/isenkram">The Isenkram
416 system
</a> provide a practical and easy way to figure out which
417 packages support the hardware in a given machine. The command line
418 tool
<tt>isenkram-lookup
</tt> and the tasksel options provide a
419 convenient way to list and install packages relevant for the current
420 hardware during system installation, both user space packages and
421 firmware packages. The GUI background daemon on the other hand provide
422 a pop-up proposing to install packages when a new dongle is inserted
423 while using the computer. For example, if you plug in a smart card
424 reader, the system will ask if you want to install
<tt>pcscd
</tt> if
425 that package isn't already installed, and if you plug in a USB video
426 camera the system will ask if you want to install
<tt>cheese
</tt> if
427 cheese is currently missing. This already work just fine.
</p>
429 <p>But Isenkram depend on a database mapping from hardware IDs to
430 package names. When I started no such database existed in Debian, so
431 I made my own data set and included it with the isenkram package and
432 made isenkram fetch the latest version of this database from git using
433 http. This way the isenkram users would get updated package proposals
434 as soon as I learned more about hardware related packages.
</p>
436 <p>The hardware is identified using modalias strings. The modalias
437 design is from the Linux kernel where most hardware descriptors are
438 made available as a strings that can be matched using filename style
439 globbing. It handle USB, PCI, DMI and a lot of other hardware related
442 <p>The downside to the Isenkram specific database is that there is no
443 information about relevant distribution / Debian version, making
444 isenkram propose obsolete packages too. But along came AppStream, a
445 cross distribution mechanism to store and collect metadata about
446 software packages. When I heard about the proposal, I contacted the
447 people involved and suggested to add a hardware matching rule using
448 modalias strings in the specification, to be able to use AppStream for
449 mapping hardware to packages. This idea was accepted and AppStream is
450 now a great way for a package to announce the hardware it support in a
451 distribution neutral way. I wrote
452 <a href=
"http://people.skolelinux.org/pere/blog/Using_appstream_with_isenkram_to_install_hardware_related_packages_in_Debian.html">a
453 recipe on how to add such meta-information
</a> in a blog post last
454 December. If you have a hardware related package in Debian, please
455 announce the relevant hardware IDs using AppStream.
</p>
457 <p>In Debian, almost all packages that can talk to a LEGO Mindestorms
458 RCX or NXT unit, announce this support using AppStream. The effect is
459 that when you insert such LEGO robot controller into your Debian
460 machine, Isenkram will propose to install the packages needed to get
461 it working. The intention is that this should allow the local user to
462 start programming his robot controller right away without having to
463 guess what packages to use or which permissions to fix.
</p>
465 <p>But when I sat down with my son the other day to program our NXT
466 unit using his Debian Stretch computer, I discovered something
467 annoying. The local console user (ie my son) did not get access to
468 the USB device for programming the unit. This used to work, but no
469 longer in Jessie and Stretch. After some investigation and asking
470 around on #debian-devel, I discovered that this was because udev had
471 changed the mechanism used to grant access to local devices. The
472 ConsoleKit mechanism from
<tt>/lib/udev/rules.d/
70-udev-acl.rules
</tt>
473 no longer applied, because LDAP users no longer was added to the
474 plugdev group during login. Michael Biebl told me that this method
475 was obsolete and the new method used ACLs instead. This was good
476 news, as the plugdev mechanism is a mess when using a remote user
477 directory like LDAP. Using ACLs would make sure a user lost device
478 access when she logged out, even if the user left behind a background
479 process which would retain the plugdev membership with the ConsoleKit
480 setup. Armed with this knowledge I moved on to fix the access problem
481 for the LEGO Mindstorms related packages.
</p>
483 <p>The new system uses a udev tag, 'uaccess'. It can either be
484 applied directly for a device, or is applied in
485 /lib/udev/rules.d/
70-uaccess.rules for classes of devices. As the
486 LEGO Mindstorms udev rules did not have a class, I decided to add the
487 tag directly in the udev rules files included in the packages. Here
488 is one example. For the nqc C compiler for the RCX, the
489 <tt>/lib/udev/rules.d/
60-nqc.rules
</tt> file now look like this:
492 SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="
0694", ATTR{idProduct}=="
0001", \
493 SYMLINK+="rcx-%k", TAG+="uaccess"
496 <p>The key part is the 'TAG+="uaccess"' at the end. I suspect all
497 packages using plugdev in their /lib/udev/rules.d/ files should be
498 changed to use this tag (either directly or indirectly via
499 <tt>70-uaccess.rules
</tt>). Perhaps a lintian check should be created
502 <p>I've been unable to find good documentation on the uaccess feature.
503 It is unclear to me if the uaccess tag is an internal implementation
504 detail like the udev-acl tag used by
505 <tt>/lib/udev/rules.d/
70-udev-acl.rules
</tt>. If it is, I guess the
506 indirect method is the preferred way. Michael
507 <a href=
"https://github.com/systemd/systemd/issues/4288">asked for more
508 documentation from the systemd project
</a> and I hope it will make
509 this clearer. For now I use the generic classes when they exist and
510 is already handled by
<tt>70-uaccess.rules
</tt>, and add the tag
511 directly if no such class exist.
</p>
513 <p>To learn more about the isenkram system, please check out
514 <a href=
"http://people.skolelinux.org/pere/blog/tags/isenkram/">my
515 blog posts tagged isenkram
</a>.
</p>
517 <p>To help out making life for LEGO constructors in Debian easier,
518 please join us on our IRC channel
519 <a href=
"irc://irc.debian.org/%23debian-lego">#debian-lego
</a> and join
520 the
<a href=
"https://alioth.debian.org/projects/debian-lego/">Debian
521 LEGO team
</a> in the Alioth project we created yesterday. A mailing
522 list is not yet created, but we are working on it. :)
</p>
524 <p>As usual, if you use Bitcoin and want to show your support of my
525 activities, please send Bitcoin donations to my address
526 <b><a href=
"bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&label=PetterReinholdtsenBlog">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a></b>.
</p>
531 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram
</a>.
536 <div class=
"padding"></div>
539 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Aftenposten_redakt_ren_med_lua_i_h_nda.html">Aftenposten-redaktøren med lua i hånda
</a></div>
540 <div class=
"date"> 9th September
2016</div>
541 <div class=
"body"><p>En av dagens nyheter er at Aftenpostens redaktør Espen Egil Hansen
543 <a href=
"https://www.nrk.no/kultur/aftenposten-brukar-heile-forsida-pa-facebook-kritikk-1.13126918">forsiden
544 av papiravisen på et åpent brev til Facebooks sjef Mark Zuckerberg om
545 Facebooks fjerning av bilder, tekster og sider de ikke liker
</a>. Det
546 må være uvant for redaktøren i avisen Aftenposten å stå med lua i
547 handa og håpe på å bli hørt. Spesielt siden Aftenposten har vært med
548 på å gi Facebook makten de nå demonstrerer at de har. Ved å melde seg
549 inn i Facebook-samfunnet har de sagt ja til bruksvilkårene og inngått
550 en antagelig bindende avtale. Kanskje de skulle lest og vurdert
551 vilkårene litt nærmere før de sa ja, i stedet for å klage over at
552 reglende de har valgt å akseptere blir fulgt? Personlig synes jeg
553 vilkårene er uakseptable og det ville ikke falle meg inn å gå inn på
554 en avtale med slike vilkår. I tillegg til uakseptable vilkår er det
555 mange andre grunner til å unngå Facebook. Du kan finne en solid
556 gjennomgang av flere slike argumenter hos
557 <a href=
"https://stallman.org/facebook.html">Richard Stallmans side om
560 <p>Jeg håper flere norske redaktører på samme vis må stå med lua i
561 hånden inntil de forstår at de selv er med på å føre samfunnet på
562 ville veier ved å omfavne Facebook slik de gjør når de omtaler og
563 løfter frem saker fra Facebook, og tar i bruk Facebook som
564 distribusjonskanal for sine nyheter. De bidrar til
565 overvåkningssamfunnet og raderer ut lesernes privatsfære når de lenker
566 til Facebook på sine sider, og låser seg selv inne i en omgivelse der
567 det er Facebook, og ikke redaktøren, som sitter med makta.
</p>
569 <p>Men det vil nok ta tid, i et Norge der de fleste nettredaktører
570 <a href=
"http://people.skolelinux.org/pere/blog/Snurpenot_overv_kning_av_sensitiv_personinformasjon.html">deler
571 sine leseres personopplysinger med utenlands etterretning
</a>.
</p>
573 <p>For øvrig burde varsleren Edward Snowden få politisk asyl i
579 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance
</a>.
584 <div class=
"padding"></div>
587 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/E_tjenesten_ber_om_innsyn_i_eposten_til_partiene_p__Stortinget.html">E-tjenesten ber om innsyn i eposten til partiene på Stortinget
</a></div>
588 <div class=
"date"> 6th September
2016</div>
589 <div class=
"body"><p>I helga kom det et hårreisende forslag fra Lysne II-utvalget satt
590 ned av Forsvarsdepartementet. Lysne II-utvalget var bedt om å vurdere
591 ønskelista til Forsvarets etterretningstjeneste (e-tjenesten), og har
593 <a href=
"http://www.aftenposten.no/norge/Utvalg-sier-ja-til-at-E-tjenesten-far-overvake-innholdet-i-all-internett--og-telefontrafikk-som-krysser-riksgrensen-603232b.html">forslag
594 om at e-tjenesten skal få lov til a avlytte all Internett-trafikk
</a>
595 som passerer Norges grenser. Få er klar over at dette innebærer at
596 e-tjenesten får tilgang til epost sendt til de fleste politiske
597 partiene på Stortinget. Regjeringspartiet Høyre (@hoyre.no),
598 støttepartiene Venstre (@venstre.no) og Kristelig Folkeparti (@krf.no)
599 samt Sosialistisk Ventreparti (@sv.no) og Miljøpartiet de grønne
600 (@mdg.no) har nemlig alle valgt å ta imot eposten sin via utenlandske
601 tjenester. Det betyr at hvis noen sender epost til noen med en slik
602 adresse vil innholdet i eposten, om dette forslaget blir vedtatt, gjøres
603 tilgjengelig for e-tjenesten. Venstre, Sosialistisk Ventreparti og
604 Miljøpartiet De Grønne har valgt å motta sin epost hos Google,
605 Kristelig Folkeparti har valgt å motta sin epost hos Microsoft, og
606 Høyre har valgt å motta sin epost hos Comendo med mottak i Danmark og
607 Irland. Kun Arbeiderpartiet og Fremskrittspartiet har valgt å motta
608 eposten sin i Norge, hos henholdsvis Intility AS og Telecomputing
611 <p>Konsekvensen er at epost inn og ut av de politiske organisasjonene,
612 til og fra partimedlemmer og partiets tillitsvalgte vil gjøres
613 tilgjengelig for e-tjenesten for analyse og sortering. Jeg mistenker
614 at kunnskapen som slik blir tilgjengelig vil være nyttig hvis en
615 ønsker å vite hvilke argumenter som treffer publikum når en ønsker å
616 påvirke Stortingets representanter.
</p
618 <p>Ved hjelp av MX-oppslag i DNS for epost-domene, tilhørende
619 whois-oppslag av IP-adressene og traceroute for å se hvorvidt
620 trafikken går via utlandet kan enhver få bekreftet at epost sendt til
621 de omtalte partiene vil gjøres tilgjengelig for forsvarets
622 etterretningstjeneste hvis forslaget blir vedtatt. En kan også bruke
623 den kjekke nett-tjenesten
<a href=
"http://ipinfo.io/">ipinfo.io
</a>
624 for å få en ide om hvor i verden en IP-adresse hører til.
</p>
626 <p>På den positive siden vil forslaget gjøre at enda flere blir
627 motivert til å ta grep for å bruke
628 <a href=
"https://www.torproject.org/">Tor
</a> og krypterte
629 kommunikasjonsløsninger for å kommunisere med sine kjære, for å sikre
630 at privatsfæren vernes. Selv bruker jeg blant annet
631 <a href=
"https://www.freedomboxfoundation.org/">FreedomBox
</a> og
632 <a href=
"https://whispersystems.org/">Signal
</a> til slikt. Ingen av
633 dem er optimale, men de fungerer ganske bra allerede og øker kostnaden
634 for dem som ønsker å invadere mitt privatliv.
</p>
636 <p>For øvrig burde varsleren Edward Snowden få politisk asyl i
642 venstre.no mail is handled by 10 aspmx.l.google.com.
643 venstre.no mail is handled by 20 alt1.aspmx.l.google.com.
644 venstre.no mail is handled by 20 alt2.aspmx.l.google.com.
645 venstre.no mail is handled by 30 aspmx2.googlemail.com.
646 venstre.no mail is handled by 30 aspmx3.googlemail.com.
648 traceroute to aspmx.l.google.com (173.194.222.27), 30 hops max, 60 byte packets
649 1 uio-gw10.uio.no (129.240.6.1) 0.411 ms 0.438 ms 0.536 ms
650 2 uio-gw8.uio.no (129.240.24.229) 0.375 ms 0.452 ms 0.548 ms
651 3 oslo-gw1.uninett.no (128.39.65.17) 1.940 ms 1.950 ms 1.942 ms
652 4 se-tug.nordu.net (109.105.102.108) 6.910 ms 6.949 ms 7.283 ms
653 5 google-gw.nordu.net (109.105.98.6) 6.975 ms 6.967 ms 6.958 ms
654 6 209.85.250.192 (209.85.250.192) 7.337 ms 7.286 ms 10.890 ms
655 7 209.85.254.13 (209.85.254.13) 7.394 ms 209.85.254.31 (209.85.254.31) 7.586 ms 209.85.254.33 (209.85.254.33) 7.570 ms
656 8 209.85.251.255 (209.85.251.255) 15.686 ms 209.85.249.229 (209.85.249.229) 16.118 ms 209.85.251.255 (209.85.251.255) 16.073 ms
657 9 74.125.37.255 (74.125.37.255) 16.794 ms 216.239.40.248 (216.239.40.248) 16.113 ms 74.125.37.44 (74.125.37.44) 16.764 ms
661 mdg.no mail is handled by 1 aspmx.l.google.com.
662 mdg.no mail is handled by 5 alt2.aspmx.l.google.com.
663 mdg.no mail is handled by 5 alt1.aspmx.l.google.com.
664 mdg.no mail is handled by 10 aspmx2.googlemail.com.
665 mdg.no mail is handled by 10 aspmx3.googlemail.com.
667 sv.no mail is handled by 1 aspmx.l.google.com.
668 sv.no mail is handled by 5 alt1.aspmx.l.google.com.
669 sv.no mail is handled by 5 alt2.aspmx.l.google.com.
670 sv.no mail is handled by 10 aspmx3.googlemail.com.
671 sv.no mail is handled by 10 aspmx2.googlemail.com.
673 hoyre.no mail is handled by 10 hoyre-no.mx1.comendosystems.com.
674 hoyre.no mail is handled by 20 hoyre-no.mx2.comendosystems.net.
676 traceroute to hoyre-no.mx1.comendosystems.com (89.104.206.4), 30 hops max, 60 byte packets
677 1 uio-gw10.uio.no (129.240.6.1) 0.450 ms 0.510 ms 0.591 ms
678 2 uio-gw8.uio.no (129.240.24.229) 0.383 ms 0.508 ms 0.596 ms
679 3 oslo-gw1.uninett.no (128.39.65.17) 0.311 ms 0.315 ms 0.300 ms
680 4 se-tug.nordu.net (109.105.102.108) 6.837 ms 6.842 ms 6.834 ms
681 5 dk-uni.nordu.net (109.105.97.10) 26.073 ms 26.085 ms 26.076 ms
682 6 dix.1000m.soeborg.ip.comendo.dk (192.38.7.22) 15.372 ms 15.046 ms 15.123 ms
683 7 89.104.192.65 (89.104.192.65) 15.875 ms 15.990 ms 16.239 ms
684 8 89.104.192.179 (89.104.192.179) 15.676 ms 15.674 ms 15.664 ms
685 9 03dm-com.mx1.staysecuregroup.com (89.104.206.4) 15.637 ms * *
688 krf.no mail is handled by 10 krf-no.mail.protection.outlook.com.
690 traceroute to krf-no.mail.protection.outlook.com (213.199.154.42), 30 hops max, 60 byte packets
691 1 uio-gw10.uio.no (129.240.6.1) 0.401 ms 0.438 ms 0.536 ms
692 2 uio-gw8.uio.no (129.240.24.229) 11.076 ms 11.120 ms 11.204 ms
693 3 oslo-gw1.uninett.no (128.39.65.17) 0.232 ms 0.234 ms 0.271 ms
694 4 se-tug.nordu.net (109.105.102.108) 6.811 ms 6.820 ms 6.815 ms
695 5 netnod-ix-ge-a-sth-4470.microsoft.com (195.245.240.181) 7.074 ms 7.013 ms 7.061 ms
696 6 ae1-0.sto-96cbe-1b.ntwk.msn.net (104.44.225.161) 7.227 ms 7.362 ms 7.293 ms
697 7 be-8-0.ibr01.ams.ntwk.msn.net (104.44.5.7) 41.993 ms 43.334 ms 41.939 ms
698 8 be-1-0.ibr02.ams.ntwk.msn.net (104.44.4.214) 43.153 ms 43.507 ms 43.404 ms
699 9 ae3-0.fra-96cbe-1b.ntwk.msn.net (104.44.5.17) 29.897 ms 29.831 ms 29.794 ms
700 10 ae10-0.vie-96cbe-1a.ntwk.msn.net (198.206.164.1) 42.309 ms 42.130 ms 41.808 ms
701 11 * ae8-0.vie-96cbe-1b.ntwk.msn.net (104.44.227.29) 41.425 ms *
705 arbeiderpartiet.no mail is handled by 10 mail.intility.com.
706 arbeiderpartiet.no mail is handled by 20 mail2.intility.com.
708 traceroute to mail.intility.com (188.95.245.87), 30 hops max, 60 byte packets
709 1 uio-gw10.uio.no (129.240.6.1) 0.486 ms 0.508 ms 0.649 ms
710 2 uio-gw8.uio.no (129.240.24.229) 0.416 ms 0.508 ms 0.620 ms
711 3 oslo-gw1.uninett.no (128.39.65.17) 0.276 ms 0.278 ms 0.275 ms
712 4 te3-1-2.br1.fn3.as2116.net (193.156.90.3) 0.374 ms 0.371 ms 0.416 ms
713 5 he16-1-1.cr1.san110.as2116.net (195.0.244.234) 3.132 ms he16-1-1.cr2.oslosda310.as2116.net (195.0.244.48) 10.079 ms he16-1-1.cr1.san110.as2116.net (195.0.244.234) 3.353 ms
714 6 te1-2-0.ar2.ulv89.as2116.net (195.0.243.194) 0.569 ms te5-0-0.ar2.ulv89.as2116.net (195.0.243.192) 0.661 ms 0.653 ms
715 7 cD2EC45C1.static.as2116.net (193.69.236.210) 0.654 ms 0.615 ms 0.590 ms
716 8 185.7.132.38 (185.7.132.38) 1.661 ms 1.808 ms 1.695 ms
717 9 185.7.132.100 (185.7.132.100) 1.793 ms 1.943 ms 1.546 ms
721 frp.no mail is handled by 10 mx03.telecomputing.no.
722 frp.no mail is handled by 20 mx01.telecomputing.no.
724 traceroute to mx03.telecomputing.no (95.128.105.102), 30 hops max, 60 byte packets
725 1 uio-gw10.uio.no (129.240.6.1) 0.378 ms 0.402 ms 0.479 ms
726 2 uio-gw8.uio.no (129.240.24.229) 0.361 ms 0.458 ms 0.548 ms
727 3 oslo-gw1.uninett.no (128.39.65.17) 0.361 ms 0.352 ms 0.336 ms
728 4 xe-2-2-0-0.san-peer2.osl.no.ip.tdc.net (193.156.90.16) 0.375 ms 0.366 ms 0.346 ms
729 5 xe-2-0-2-0.ost-pe1.osl.no.ip.tdc.net (85.19.121.97) 0.780 ms xe-2-0-0-0.ost-pe1.osl.no.ip.tdc.net (85.19.121.101) 0.713 ms xe-2-0-2-0.ost-pe1.osl.no.ip.tdc.net (85.19.121.97) 0.759 ms
730 6 cpe.xe-0-2-0-100.ost-pe1.osl.no.customer.tdc.net (85.19.26.46) 0.837 ms 0.755 ms 0.759 ms
731 7 95.128.105.3 (95.128.105.3) 1.050 ms 1.288 ms 1.182 ms
732 8 mx03.telecomputing.no (95.128.105.102) 0.717 ms 0.703 ms 0.692 ms
739 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance
</a>.
744 <div class=
"padding"></div>
747 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/First_draft_Norwegian_Bokm_l_edition_of_The_Debian_Administrator_s_Handbook_now_public.html">First draft Norwegian Bokmål edition of The Debian Administrator's Handbook now public
</a></div>
748 <div class=
"date">30th August
2016</div>
749 <div class=
"body"><p>In April we
750 <a href=
"http://people.skolelinux.org/pere/blog/Lets_make_a_Norwegian_Bokm_l_edition_of_The_Debian_Administrator_s_Handbook.html">started
751 to work
</a> on a Norwegian Bokmål edition of the "open access" book on
752 how to set up and administrate a Debian system. Today I am happy to
753 report that the first draft is now publicly available. You can find
754 it on
<a href=
"https://debian-handbook.info/get/">get the Debian
755 Administrator's Handbook page
</a> (under Other languages). The first
756 eight chapters have a first draft translation, and we are working on
757 proofreading the content. If you want to help out, please start
759 <a href=
"https://hosted.weblate.org/projects/debian-handbook/">the
760 hosted weblate project page
</a>, and get in touch using
761 <a href=
"http://lists.alioth.debian.org/mailman/listinfo/debian-handbook-translators">the
762 translators mailing list
</a>. Please also check out
763 <a href=
"https://debian-handbook.info/contribute/">the instructions for
764 contributors
</a>. A good way to contribute is to proofread the text
765 and update weblate if you find errors.
</p>
767 <p>Our goal is still to make the Norwegian book available on paper as well as
773 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>.
778 <div class=
"padding"></div>
781 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Coz_can_help_you_find_bottlenecks_in_multi_threaded_software___nice_free_software.html">Coz can help you find bottlenecks in multi-threaded software - nice free software
</a></div>
782 <div class=
"date">11th August
2016</div>
783 <div class=
"body"><p>This summer, I read a great article
784 "
<a href=
"https://www.usenix.org/publications/login/summer2016/curtsinger">coz:
785 This Is the Profiler You're Looking For
</a>" in USENIX ;login: about
786 how to profile multi-threaded programs. It presented a system for
787 profiling software by running experiences in the running program,
788 testing how run time performance is affected by "speeding up
" parts of
789 the code to various degrees compared to a normal run. It does this by
790 slowing down parallel threads while the "faster up
" code is running
791 and measure how this affect processing time. The processing time is
792 measured using probes inserted into the code, either using progress
793 counters (COZ_PROGRESS) or as latency meters (COZ_BEGIN/COZ_END). It
794 can also measure unmodified code by measuring complete the program
795 runtime and running the program several times instead.</p>
797 <p>The project and presentation was so inspiring that I would like to
798 get the system into Debian. I
799 <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
830708">created
800 a WNPP request for it</a> and contacted upstream to try to make the
801 system ready for Debian by sending patches. The build process need to
802 be changed a bit to avoid running 'git clone' to get dependencies, and
803 to include the JavaScript web page used to visualize the collected
804 profiling information included in the source package.
805 But I expect that should work out fairly soon.</p>
807 <p>The way the system work is fairly simple. To run an coz experiment
808 on a binary with debug symbols available, start the program like this:
811 coz run --- program-to-run
812 </pre></blockquote></p>
814 <p>This will create a text file profile.coz with the instrumentation
815 information. To show what part of the code affect the performance
816 most, use a web browser and either point it to
817 <a href="http://plasma-umass.github.io/coz/
">http://plasma-umass.github.io/coz/</a>
818 or use the copy from git (in the gh-pages branch). Check out this web
819 site to have a look at several example profiling runs and get an idea what the end result from the profile runs look like. To make the
820 profiling more useful you include <coz.h> and insert the
821 COZ_PROGRESS or COZ_BEGIN and COZ_END at appropriate places in the
822 code, rebuild and run the profiler. This allow coz to do more
823 targeted experiments.</p>
825 <p>A video published by ACM
826 <a href="https://www.youtube.com/watch?v=jE0V-p1odPg
">presenting the
827 Coz profiler</a> is available from Youtube. There is also a paper
828 from the 25th Symposium on Operating Systems Principles available
830 <a href="https://www.usenix.org/conference/atc16/technical-sessions/presentation/curtsinger
">Coz:
831 finding code that counts with causal profiling</a>.</p>
833 <p><a href="https://github.com/plasma-umass/coz
">The source code</a>
834 for Coz is available from github. It will only build with clang
836 <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=
55606">C++
837 feature missing in GCC</a>, but I've submitted
838 <a href="https://github.com/plasma-umass/coz/pull/
67">a patch to solve
839 it</a> and hope it will be included in the upstream source soon.</p>
841 <p>Please get in touch if you, like me, would like to see this piece
842 of software in Debian. I would very much like some help with the
843 packaging effort, as I lack the in depth knowledge on how to package
849 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian
">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english
">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nice free software
">nice free software</a>.
854 <div class="padding
"></div>
857 <div class="title
"><a href="http://people.skolelinux.org/pere/blog/Sales_number_for_the_Free_Culture_translation__first_half_of_2016.html
">Sales number for the Free Culture translation, first half of 2016</a></div>
858 <div class="date
"> 5th August 2016</div>
859 <div class="body
"><p>As my regular readers probably remember, the last year I published
860 a French and Norwegian translation of the classic
861 <a href="http://www.free-culture.cc/
">Free Culture book</a> by the
862 founder of the Creative Commons movement, Lawrence Lessig. A bit less
863 known is the fact that due to the way I created the translations,
864 using docbook and po4a, I also recreated the English original. And
865 because I already had created a new the PDF edition, I published it
866 too. The revenue from the books are sent to the Creative Commons
867 Corporation. In other words, I do not earn any money from this
868 project, I just earn the warm fuzzy feeling that the text is available
869 for a wider audience and more people can learn why the Creative
870 Commons is needed.</p>
872 <p>Today, just for fun, I had a look at the sales number over at
873 Lulu.com, which take care of payment, printing and shipping. Much to
874 my surprise, the English edition is selling better than both the
875 French and Norwegian edition, despite the fact that it has been
876 available in English since it was first published. In total, 24 paper
877 books was sold for USD $19.99 between 2016-01-01 and 2016-07-31:</p>
880 <tr><th>Title / language</th><th>Quantity</th></tr>
881 <tr><td><a href="http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-
22645082.html
">Culture Libre / French</a></td><td align="right
">3</td></tr>
882 <tr><td><a href="http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-
22441576.html
">Fri kultur / Norwegian</a></td><td align="right
">7</td></tr>
883 <tr><td><a href="http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-
22440520.html
">Free Culture / English</a></td><td align="right
">14</td></tr>
886 <p>The books are available both from Lulu.com and from large book
887 stores like Amazon and Barnes&Noble. Most revenue, around $10 per
888 book, is sent to the Creative Commons project when the book is sold
889 directly by Lulu.com. The other channels give less revenue. The
890 summary from Lulu tell me 10 books was sold via the Amazon channel, 10
891 via Ingram (what is this?) and 4 directly by Lulu. And Lulu.com tells
892 me that the revenue sent so far this year is USD $101.42. No idea
893 what kind of sales numbers to expect, so I do not know if that is a
894 good amount of sales for a 10 year old book or not. But it make me
895 happy that the buyers find the book, and I hope they enjoy reading it
896 as much as I did.</p>
898 <p>The ebook edition is available for free from
899 <a href="https://github.com/petterreinholdtsen/free-culture-lessig
">Github</a>.</p>
901 <p>If you would like to translate and publish the book in your native
902 language, I would be happy to help make it happen. Please get in
908 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/docbook
">docbook</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english
">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/freeculture
">freeculture</a>.
913 <div class="padding
"></div>
916 <div class="title
"><a href="http://people.skolelinux.org/pere/blog/Vitenskapen_tar_som_vanlig_feil_igjen___relativt_feil.html
">Vitenskapen tar som vanlig feil igjen - relativt feil</a></div>
917 <div class="date
"> 1st August 2016</div>
918 <div class="body
"><p>For mange år siden leste jeg en klassisk tekst som gjorde såpass
919 inntrykk på meg at jeg husker den fortsatt, flere år senere, og bruker
920 argumentene fra den stadig vekk. Teksten var «The Relativity of
921 Wrong» som Isaac Asimov publiserte i Skeptical Inquirer i 1989. Den
922 gir litt perspektiv rundt formidlingen av vitenskapelige resultater.
923 Jeg har hatt lyst til å kunne dele den også med folk som ikke
924 behersker engelsk så godt, som barn og noen av mine eldre slektninger,
925 og har savnet å ha den tilgjengelig på norsk. For to uker siden tok
926 jeg meg sammen og kontaktet Asbjørn Dyrendal i foreningen Skepsis om
927 de var interessert i å publisere en norsk utgave på bloggen sin, og da
928 han var positiv tok jeg kontakt med Skeptical Inquirer og spurte om
929 det var greit for dem. I løpet av noen dager fikk vi tilbakemelding
930 fra Barry Karr hos The Skeptical Inquirer som hadde sjekket og fått OK
931 fra Robyn Asimov som representerte arvingene i Asmiov-familien og gikk
932 igang med oversettingen.</p>
934 <p>Resultatet, <a href="http://www.skepsis.no/?p=
1617">«Relativt
935 feil»</a>, ble publisert på skepsis-bloggen for noen minutter siden.
936 Jeg anbefaler deg på det varmeste å lese denne teksten og dele den med
939 <p>For å håndtere oversettelsen og sikre at original og oversettelse
940 var i sync brukte vi git, po4a, GNU make og Transifex. Det hele
941 fungerte utmerket og gjorde det enkelt å dele tekstene og jobbe sammen
942 om finpuss på formuleringene. Hadde hosted.weblate.org latt meg
943 opprette nye prosjekter selv i stedet for å måtte kontakte
944 administratoren der, så hadde jeg brukt weblate i stedet.</p>
949 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk
">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/skepsis
">skepsis</a>.
954 <div class="padding
"></div>
956 <p style="text-align: right;
"><a href="index.rss
"><img src="http://people.skolelinux.org/pere/blog/xml.gif
" alt="RSS feed
" width="36" height="14" /></a></p>
967 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2016/
01/
">January (3)</a></li>
969 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2016/
02/
">February (2)</a></li>
971 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2016/
03/
">March (3)</a></li>
973 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2016/
04/
">April (8)</a></li>
975 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2016/
05/
">May (8)</a></li>
977 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2016/
06/
">June (2)</a></li>
979 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2016/
07/
">July (2)</a></li>
981 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2016/
08/
">August (5)</a></li>
983 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2016/
09/
">September (2)</a></li>
985 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2016/
10/
">October (3)</a></li>
987 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2016/
11/
">November (1)</a></li>
994 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2015/
01/
">January (7)</a></li>
996 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2015/
02/
">February (6)</a></li>
998 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2015/
03/
">March (1)</a></li>
1000 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2015/
04/
">April (4)</a></li>
1002 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2015/
05/
">May (3)</a></li>
1004 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2015/
06/
">June (4)</a></li>
1006 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2015/
07/
">July (6)</a></li>
1008 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2015/
08/
">August (2)</a></li>
1010 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2015/
09/
">September (2)</a></li>
1012 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2015/
10/
">October (9)</a></li>
1014 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2015/
11/
">November (6)</a></li>
1016 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2015/
12/
">December (3)</a></li>
1023 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2014/
01/
">January (2)</a></li>
1025 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2014/
02/
">February (3)</a></li>
1027 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2014/
03/
">March (8)</a></li>
1029 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2014/
04/
">April (7)</a></li>
1031 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2014/
05/
">May (1)</a></li>
1033 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2014/
06/
">June (2)</a></li>
1035 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2014/
07/
">July (2)</a></li>
1037 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2014/
08/
">August (2)</a></li>
1039 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2014/
09/
">September (5)</a></li>
1041 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2014/
10/
">October (6)</a></li>
1043 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2014/
11/
">November (3)</a></li>
1045 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2014/
12/
">December (5)</a></li>
1052 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2013/
01/
">January (11)</a></li>
1054 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2013/
02/
">February (9)</a></li>
1056 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2013/
03/
">March (9)</a></li>
1058 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2013/
04/
">April (6)</a></li>
1060 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2013/
05/
">May (9)</a></li>
1062 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2013/
06/
">June (10)</a></li>
1064 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2013/
07/
">July (7)</a></li>
1066 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2013/
08/
">August (3)</a></li>
1068 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2013/
09/
">September (5)</a></li>
1070 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2013/
10/
">October (7)</a></li>
1072 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2013/
11/
">November (9)</a></li>
1074 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2013/
12/
">December (3)</a></li>
1081 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2012/
01/
">January (7)</a></li>
1083 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2012/
02/
">February (10)</a></li>
1085 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2012/
03/
">March (17)</a></li>
1087 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2012/
04/
">April (12)</a></li>
1089 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2012/
05/
">May (12)</a></li>
1091 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2012/
06/
">June (20)</a></li>
1093 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2012/
07/
">July (17)</a></li>
1095 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2012/
08/
">August (6)</a></li>
1097 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2012/
09/
">September (9)</a></li>
1099 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2012/
10/
">October (17)</a></li>
1101 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2012/
11/
">November (10)</a></li>
1103 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2012/
12/
">December (7)</a></li>
1110 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2011/
01/
">January (16)</a></li>
1112 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2011/
02/
">February (6)</a></li>
1114 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2011/
03/
">March (6)</a></li>
1116 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2011/
04/
">April (7)</a></li>
1118 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2011/
05/
">May (3)</a></li>
1120 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2011/
06/
">June (2)</a></li>
1122 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2011/
07/
">July (7)</a></li>
1124 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2011/
08/
">August (6)</a></li>
1126 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2011/
09/
">September (4)</a></li>
1128 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2011/
10/
">October (2)</a></li>
1130 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2011/
11/
">November (3)</a></li>
1132 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2011/
12/
">December (1)</a></li>
1139 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
01/
">January (2)</a></li>
1141 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
02/
">February (1)</a></li>
1143 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
03/
">March (3)</a></li>
1145 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
04/
">April (3)</a></li>
1147 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
05/
">May (9)</a></li>
1149 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
06/
">June (14)</a></li>
1151 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
07/
">July (12)</a></li>
1153 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
08/
">August (13)</a></li>
1155 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
09/
">September (7)</a></li>
1157 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
10/
">October (9)</a></li>
1159 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
11/
">November (13)</a></li>
1161 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2010/
12/
">December (12)</a></li>
1168 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
01/
">January (8)</a></li>
1170 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
02/
">February (8)</a></li>
1172 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
03/
">March (12)</a></li>
1174 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
04/
">April (10)</a></li>
1176 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
05/
">May (9)</a></li>
1178 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
06/
">June (3)</a></li>
1180 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
07/
">July (4)</a></li>
1182 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
08/
">August (3)</a></li>
1184 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
09/
">September (1)</a></li>
1186 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
10/
">October (2)</a></li>
1188 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
11/
">November (3)</a></li>
1190 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2009/
12/
">December (3)</a></li>
1197 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2008/
11/
">November (5)</a></li>
1199 <li><a href="http://people.skolelinux.org/pere/blog/archive/
2008/
12/
">December (7)</a></li>
1210 <li><a href="http://people.skolelinux.org/pere/blog/tags/
3d-printer
">3d-printer (13)</a></li>
1212 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga
">amiga (1)</a></li>
1214 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros
">aros (1)</a></li>
1216 <li><a href="http://people.skolelinux.org/pere/blog/tags/bankid
">bankid (4)</a></li>
1218 <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin
">bitcoin (9)</a></li>
1220 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem
">bootsystem (16)</a></li>
1222 <li><a href="http://people.skolelinux.org/pere/blog/tags/bsa
">bsa (2)</a></li>
1224 <li><a href="http://people.skolelinux.org/pere/blog/tags/chrpath
">chrpath (2)</a></li>
1226 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian
">debian (137)</a></li>
1228 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu
">debian edu (157)</a></li>
1230 <li><a href="http://people.skolelinux.org/pere/blog/tags/digistan
">digistan (10)</a></li>
1232 <li><a href="http://people.skolelinux.org/pere/blog/tags/dld
">dld (16)</a></li>
1234 <li><a href="http://people.skolelinux.org/pere/blog/tags/docbook
">docbook (23)</a></li>
1236 <li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser
">drivstoffpriser (4)</a></li>
1238 <li><a href="http://people.skolelinux.org/pere/blog/tags/english
">english (329)</a></li>
1240 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami
">fiksgatami (23)</a></li>
1242 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling
">fildeling (12)</a></li>
1244 <li><a href="http://people.skolelinux.org/pere/blog/tags/freeculture
">freeculture (28)</a></li>
1246 <li><a href="http://people.skolelinux.org/pere/blog/tags/freedombox
">freedombox (9)</a></li>
1248 <li><a href="http://people.skolelinux.org/pere/blog/tags/frikanalen
">frikanalen (18)</a></li>
1250 <li><a href="http://people.skolelinux.org/pere/blog/tags/h264
">h264 (20)</a></li>
1252 <li><a href="http://people.skolelinux.org/pere/blog/tags/intervju
">intervju (42)</a></li>
1254 <li><a href="http://people.skolelinux.org/pere/blog/tags/isenkram
">isenkram (13)</a></li>
1256 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart
">kart (19)</a></li>
1258 <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap
">ldap (9)</a></li>
1260 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker
">lenker (8)</a></li>
1262 <li><a href="http://people.skolelinux.org/pere/blog/tags/lsdvd
">lsdvd (2)</a></li>
1264 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp
">ltsp (1)</a></li>
1266 <li><a href="http://people.skolelinux.org/pere/blog/tags/mesh network
">mesh network (8)</a></li>
1268 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia
">multimedia (39)</a></li>
1270 <li><a href="http://people.skolelinux.org/pere/blog/tags/nice free software
">nice free software (8)</a></li>
1272 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk
">norsk (280)</a></li>
1274 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug
">nuug (182)</a></li>
1276 <li><a href="http://people.skolelinux.org/pere/blog/tags/offentlig innsyn
">offentlig innsyn (26)</a></li>
1278 <li><a href="http://people.skolelinux.org/pere/blog/tags/open311
">open311 (2)</a></li>
1280 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett
">opphavsrett (61)</a></li>
1282 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern
">personvern (94)</a></li>
1284 <li><a href="http://people.skolelinux.org/pere/blog/tags/raid
">raid (1)</a></li>
1286 <li><a href="http://people.skolelinux.org/pere/blog/tags/reactos
">reactos (1)</a></li>
1288 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap
">reprap (11)</a></li>
1290 <li><a href="http://people.skolelinux.org/pere/blog/tags/rfid
">rfid (3)</a></li>
1292 <li><a href="http://people.skolelinux.org/pere/blog/tags/robot
">robot (9)</a></li>
1294 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss
">rss (1)</a></li>
1296 <li><a href="http://people.skolelinux.org/pere/blog/tags/ruter
">ruter (4)</a></li>
1298 <li><a href="http://people.skolelinux.org/pere/blog/tags/scraperwiki
">scraperwiki (2)</a></li>
1300 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet
">sikkerhet (51)</a></li>
1302 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary
">sitesummary (4)</a></li>
1304 <li><a href="http://people.skolelinux.org/pere/blog/tags/skepsis
">skepsis (5)</a></li>
1306 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard
">standard (49)</a></li>
1308 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll
">stavekontroll (4)</a></li>
1310 <li><a href="http://people.skolelinux.org/pere/blog/tags/stortinget
">stortinget (10)</a></li>
1312 <li><a href="http://people.skolelinux.org/pere/blog/tags/surveillance
">surveillance (42)</a></li>
1314 <li><a href="http://people.skolelinux.org/pere/blog/tags/sysadmin
">sysadmin (2)</a></li>
1316 <li><a href="http://people.skolelinux.org/pere/blog/tags/usenix
">usenix (2)</a></li>
1318 <li><a href="http://people.skolelinux.org/pere/blog/tags/valg
">valg (8)</a></li>
1320 <li><a href="http://people.skolelinux.org/pere/blog/tags/video
">video (59)</a></li>
1322 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap
">vitenskap (4)</a></li>
1324 <li><a href="http://people.skolelinux.org/pere/blog/tags/web
">web (38)</a></li>
1330 <p style="text-align: right
">
1331 Created by <a href="http://steve.org.uk/Software/chronicle
">Chronicle v4.6</a>