]> pere.pagekite.me Git - homepage.git/blob - blog/index.rss
Better text.
[homepage.git] / blog / index.rss
1 <?xml version="1.0" encoding="utf-8"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom="http://www.w3.org/2005/Atom">
3 <channel>
4 <title>Petter Reinholdtsen</title>
5 <description></description>
6 <link>http://people.skolelinux.org/pere/blog/</link>
7 <atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
8
9 <item>
10 <title>Alle Stortingets mobiltelefoner kontrolleres fra USA...</title>
11 <link>http://people.skolelinux.org/pere/blog/Alle_Stortingets_mobiltelefoner_kontrolleres_fra_USA___.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Alle_Stortingets_mobiltelefoner_kontrolleres_fra_USA___.html</guid>
13 <pubDate>Wed, 7 Oct 2015 09:55:00 +0200</pubDate>
14 <description>&lt;p&gt;Jeg lot meg fascinere av
15 &lt;a href=&quot;http://www.aftenposten.no/nyheter/iriks/politikk/Stortinget-har-tilgang-til-a-fjernstyre-600-mobiler-8192692.html&quot;&gt;en
16 artikkel i Aftenposten&lt;/a&gt; der det fortelles at «over 600 telefoner som
17 benyttes av stortingsrepresentanter, rådgivere og ansatte på
18 Stortinget, kan «fjernstyres» ved hjelp av
19 &lt;a href=&quot;https://play.google.com/store/apps/details?id=com.airwatch.androidagent&quot;&gt;programvaren
20 Airwatch&lt;/a&gt;, et såkalte MDM-program (Mobile Device Managment)». Det
21 hele bagatelliseres av Stortingets IT-stab, men det er i hovedsak på
22 grunn av at journalisten ikke stiller de relevante spørsmålene. For
23 meg er det relevante spørsmålet hvem som har lovlig tilgang (i henhold
24 til lokal lovgiving, dvs. i hvert fall i Norge, Sverige, UK og USA)
25 til informasjon om og på telefonene, og hvor enkelt det er å skaffe
26 seg tilgang til hvor mobilene befinner seg og informasjon som befinner
27 seg på telefonene ved hjelp av utro tjenere, trusler, innbrudd og
28 andre ulovlige metoder.&lt;/p&gt;
29
30 &lt;p&gt;Bruken av AirWatch betyr i realiteten at USAs etteretning og
31 politimyndigheter har full tilgang til stortingets mobiltelefoner,
32 inkludert posisjon og innhold, takket være
33 &lt;a href=&quot;https://en.wikipedia.org/wiki/Foreign_Intelligence_Surveillance_Act_of_1978_Amendments_Act_of_2008&quot;&gt;FISAAA-loven&lt;/a&gt;
34 og
35 &quot;&lt;a href=&quot;https://en.wikipedia.org/wiki/National_security_letter&quot;&gt;National
36 Security Letters&lt;/a&gt;&quot; og det enkle faktum at selskapet
37 &lt;a href=&quot;http://www.airwatch.com/&quot;&gt;AirWatch&lt;/a&gt; er kontrollert av et
38 selskap i USA. I tillegg er det kjent at flere lands
39 etterretningstjenester kan lytte på trafikken når den passerer
40 landegrensene.&lt;/p&gt;
41
42 &lt;p&gt;Jeg har bedt om mer informasjon
43 &lt;a href=&quot;https://www.mimesbronn.no/request/saksnummer_for_saker_anganede_br&quot;&gt;fra
44 Stortinget om bruken av AirWatch&lt;/a&gt; via Mimes brønn så får vi se hva
45 de har å fortelle om saken. Fant ingenting om &#39;airwatch&#39; i
46 postjournalen til Stortinget, så jeg trenger hjelp før jeg kan be om
47 innsyn i konkrete dokumenter.&lt;/p&gt;
48
49 &lt;p&gt;Oppdatering 2015-10-07: Jeg er blitt spurt hvorfor jeg antar at
50 AirWatch-agenten rapporterer til USA og ikke direkte til Stortingets
51 egen infrastruktur. Det stemmer at det er teknisk mulig å sette
52 opp mobiltelefonene til å rapportere til datamaskiner som eies av
53 Stortinget. Jeg antar det rapporteres til AirWatch sine sentrale
54 tjenester basert på det jeg leste fra beskrivelsen av
55 &lt;a href=&quot;http://www.airwatch.com/solutions/mobile-device-management/&quot;&gt;Mobile
56 Device Management&lt;/A&gt; på AirWatch sine egne nettsider, koblet med at
57 det brukes en standard app som kan hentes fra &quot;app-butikkene&quot; for å få
58 tilgang. Enten må app-en settes opp individuelt hos Stortinget, eller
59 så får den beskjed fra AirWatch i USA om hvor den skal koble seg opp.
60 I det første tilfellet vil den ikke rapportere direkte til USA, men
61 til programvare utviklet av AirWatch som kjører på en maskin under
62 Stortingets kontroll. Det er litt bedre, men fortsatt vil det være
63 umulig for Stortinget å være sikker på hva programvaren som tar imot
64 forbindelser gjør. Jeg ser fra beskrivelsen av
65 &lt;a href=&quot;http://www.airwatch.com/differentiators/enterprise-integration/&quot;&gt;Enterprice
66 Integration&lt;/a&gt; hos AirWatch at det er mulig å ha lokal installasjon,
67 og håper innsynsforespørsler mot Stortinget kan fortelle mer om
68 hvordan ting konkret fungerer der.&lt;/p&gt;
69 </description>
70 </item>
71
72 <item>
73 <title>French Docbook/PDF/EPUB/MOBI edition of the Free Culture book</title>
74 <link>http://people.skolelinux.org/pere/blog/French_Docbook_PDF_EPUB_MOBI_edition_of_the_Free_Culture_book.html</link>
75 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/French_Docbook_PDF_EPUB_MOBI_edition_of_the_Free_Culture_book.html</guid>
76 <pubDate>Thu, 1 Oct 2015 13:20:00 +0200</pubDate>
77 <description>&lt;p&gt;As I wrap up the Norwegian version of
78 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;Free
79 Culture&lt;/a&gt; book by Lawrence Lessig (still waiting for my final proof
80 reading copy to arrive in the mail), my great
81 &lt;a href=&quot;http://dblatex.sourceforge.net/&quot;&gt;dblatex&lt;/a&gt; helper and
82 developer of the dblatex docbook processor, Benoît Guillon, decided a
83 to try to create a French version of the book. He started with the
84 French translation available from the
85 &lt;a href=&quot;http://www.wikilivres.ca/wiki/Culture_libre&quot;&gt;Wikilivres wiki
86 pages&lt;/a&gt;, and wrote a program to convert it into a PO file, allowing
87 the translation to be integrated into the po4a based framework I use
88 to create the Norwegian translation from the English edition. We meet
89 on the &lt;a href=&quot;irc://irc.freenode.net/%23dblatex&quot;&gt;#dblatex IRC
90 channel&lt;/a&gt; to discuss the work. If you want to help create a French
91 edition, check out
92 &lt;a href=&quot;https://github.com/marsgui/free-culture-lessig&quot;&gt;his git
93 repository&lt;/a&gt; and join us on IRC. If the French edition look good,
94 we might publish it as a paper book on lulu.com. A French version of
95 the drawings and the cover need to be provided for this to happen.&lt;/p&gt;
96 </description>
97 </item>
98
99 <item>
100 <title>The life and death of a laptop battery</title>
101 <link>http://people.skolelinux.org/pere/blog/The_life_and_death_of_a_laptop_battery.html</link>
102 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_life_and_death_of_a_laptop_battery.html</guid>
103 <pubDate>Thu, 24 Sep 2015 16:00:00 +0200</pubDate>
104 <description>&lt;p&gt;When I get a new laptop, the battery life time at the start is OK.
105 But this do not last. The last few laptops gave me a feeling that
106 within a year, the life time is just a fraction of what it used to be,
107 and it slowly become painful to use the laptop without power connected
108 all the time. Because of this, when I got a new Thinkpad X230 laptop
109 about two years ago, I decided to monitor its battery state to have
110 more hard facts when the battery started to fail.&lt;/p&gt;
111
112 &lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2015-09-24-laptop-battery-graph.png&quot;/&gt;
113
114 &lt;p&gt;First I tried to find a sensible Debian package to record the
115 battery status, assuming that this must be a problem already handled
116 by someone else. I found
117 &lt;a href=&quot;https://tracker.debian.org/pkg/battery-stats&quot;&gt;battery-stats&lt;/a&gt;,
118 which collects statistics from the battery, but it was completely
119 broken. I sent a few suggestions to the maintainer, but decided to
120 write my own collector as a shell script while I waited for feedback
121 from him. Via
122 &lt;a href=&quot;http://www.ifweassume.com/2013/08/the-de-evolution-of-my-laptop-battery.html&quot;&gt;a
123 blog post about the battery development on a MacBook Air&lt;/a&gt; I also
124 discovered
125 &lt;a href=&quot;https://github.com/jradavenport/batlog.git&quot;&gt;batlog&lt;/a&gt;, not
126 available in Debian.&lt;/p&gt;
127
128 &lt;p&gt;I started my collector 2013-07-15, and it has been collecting
129 battery stats ever since. Now my
130 /var/log/hjemmenett-battery-status.log file contain around 115,000
131 measurements, from the time the battery was working great until now,
132 when it is unable to charge above 7% of original capacity. My
133 collector shell script is quite simple and look like this:&lt;/p&gt;
134
135 &lt;pre&gt;
136 #!/bin/sh
137 # Inspired by
138 # http://www.ifweassume.com/2013/08/the-de-evolution-of-my-laptop-battery.html
139 # See also
140 # http://blog.sleeplessbeastie.eu/2013/01/02/debian-how-to-monitor-battery-capacity/
141 logfile=/var/log/hjemmenett-battery-status.log
142
143 files=&quot;manufacturer model_name technology serial_number \
144 energy_full energy_full_design energy_now cycle_count status&quot;
145
146 if [ ! -e &quot;$logfile&quot; ] ; then
147 (
148 printf &quot;timestamp,&quot;
149 for f in $files; do
150 printf &quot;%s,&quot; $f
151 done
152 echo
153 ) &gt; &quot;$logfile&quot;
154 fi
155
156 log_battery() {
157 # Print complete message in one echo call, to avoid race condition
158 # when several log processes run in parallel.
159 msg=$(printf &quot;%s,&quot; $(date +%s); \
160 for f in $files; do \
161 printf &quot;%s,&quot; $(cat $f); \
162 done)
163 echo &quot;$msg&quot;
164 }
165
166 cd /sys/class/power_supply
167
168 for bat in BAT*; do
169 (cd $bat &amp;&amp; log_battery &gt;&gt; &quot;$logfile&quot;)
170 done
171 &lt;/pre&gt;
172
173 &lt;p&gt;The script is called when the power management system detect a
174 change in the power status (power plug in or out), and when going into
175 and out of hibernation and suspend. In addition, it collect a value
176 every 10 minutes. This make it possible for me know when the battery
177 is discharging, charging and how the maximum charge change over time.
178 The code for the Debian package
179 &lt;a href=&quot;https://github.com/petterreinholdtsen/battery-status&quot;&gt;is now
180 available on github&lt;/a&gt;.&lt;/p&gt;
181
182 &lt;p&gt;The collected log file look like this:&lt;/p&gt;
183
184 &lt;pre&gt;
185 timestamp,manufacturer,model_name,technology,serial_number,energy_full,energy_full_design,energy_now,cycle_count,status,
186 1376591133,LGC,45N1025,Li-ion,974,62800000,62160000,39050000,0,Discharging,
187 [...]
188 1443090528,LGC,45N1025,Li-ion,974,4900000,62160000,4900000,0,Full,
189 1443090601,LGC,45N1025,Li-ion,974,4900000,62160000,4900000,0,Full,
190 &lt;/pre&gt;
191
192 &lt;p&gt;I wrote a small script to create a graph of the charge development
193 over time. This graph depicted above show the slow death of my laptop
194 battery.&lt;/p&gt;
195
196 &lt;p&gt;But why is this happening? Why are my laptop batteries always
197 dying in a year or two, while the batteries of space probes and
198 satellites keep working year after year. If we are to believe
199 &lt;a href=&quot;http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries&quot;&gt;Battery
200 University&lt;/a&gt;, the cause is me charging the battery whenever I have a
201 chance, and the fix is to not charge the Lithium-ion batteries to 100%
202 all the time, but to stay below 90% of full charge most of the time.
203 I&#39;ve been told that the Tesla electric cars
204 &lt;a href=&quot;http://my.teslamotors.com/de_CH/forum/forums/battery-charge-limit&quot;&gt;limit
205 the charge of their batteries to 80%&lt;/a&gt;, with the option to charge to
206 100% when preparing for a longer trip (not that I would want a car
207 like Tesla where rights to privacy is abandoned, but that is another
208 story), which I guess is the option we should have for laptops on
209 Linux too.&lt;/p&gt;
210
211 &lt;p&gt;Is there a good and generic way with Linux to tell the battery to
212 stop charging at 80%, unless requested to charge to 100% once in
213 preparation for a longer trip? I found
214 &lt;a href=&quot;http://askubuntu.com/questions/34452/how-can-i-limit-battery-charging-to-80-capacity&quot;&gt;one
215 recipe on askubuntu for Ubuntu to limit charging on Thinkpad to
216 80%&lt;/a&gt;, but could not get it to work (kernel module refused to
217 load).&lt;/p&gt;
218
219 &lt;p&gt;I wonder why the battery capacity was reported to be more than 100%
220 at the start. I also wonder why the &quot;full capacity&quot; increases some
221 times, and if it is possible to repeat the process to get the battery
222 back to design capacity. And I wonder if the discharge and charge
223 speed change over time, or if this stay the same. I did not yet try
224 to write a tool to calculate the derivative values of the battery
225 level, but suspect some interesting insights might be learned from
226 those.&lt;/p&gt;
227
228 &lt;p&gt;Update 2015-09-24: I got a tip to install the packages
229 acpi-call-dkms and tlp (unfortunately missing in Debian stable)
230 packages instead of the tp-smapi-dkms package I had tried to use
231 initially, and use &#39;tlp setcharge 40 80&#39; to change when charging start
232 and stop. I&#39;ve done so now, but expect my existing battery is toast
233 and need to be replaced. The proposal is unfortunately Thinkpad
234 specific.&lt;/p&gt;
235 </description>
236 </item>
237
238 <item>
239 <title>Book cover for the Free Culture book finally done</title>
240 <link>http://people.skolelinux.org/pere/blog/Book_cover_for_the_Free_Culture_book_finally_done.html</link>
241 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Book_cover_for_the_Free_Culture_book_finally_done.html</guid>
242 <pubDate>Thu, 3 Sep 2015 21:00:00 +0200</pubDate>
243 <description>&lt;p&gt;Creating a good looking book cover proved harder than I expected.
244 I wanted to create a cover looking similar to the original cover of
245 the
246 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;Free
247 Culture&lt;/a&gt; book we are translating to Norwegian, and I wanted it in
248 vector format for high resolution printing. But my inkscape knowledge
249 were not nearly good enough to pull that off.
250
251 &lt;p&gt;But thanks to the great inkscape community, I was able to wrap up
252 the cover yesterday evening. I asked on the
253 &lt;a href=&quot;irc://irc.freenode.net/%23inkscape&quot;&gt;#inkscape IRC channel&lt;/a&gt;
254 on Freenode for help and clues, and Marc Jeanmougin (Mc-) volunteered
255 to try to recreate it based on the PDF of the cover from the HTML
256 version. Not only did he create a
257 &lt;a href=&quot;https://marc.jeanmougin.fr/share/copy1.svg &quot;&gt;SVG document with
258 the original and his vector version side by side&lt;/a&gt;, he even provided
259 an &lt;a href=&quot;https://marc.jeanmougin.fr/share/out-1.ogv&quot;&gt;instruction
260 video&lt;/a&gt; explaining how he did it&lt;/a&gt;. But the instruction video is
261 not easy to follow for an untrained inkscape user. The video is a
262 recording on how he did it, and he is obviously very experienced as
263 the menu selections are very quick and he mentioned on IRC that he did
264 use some keyboard shortcuts that can&#39;t be seen on the video, but it
265 give a good idea about the inkscape operations to use to create the
266 stripes with the embossed copyright sign in the center.&lt;/p&gt;
267
268 &lt;p&gt;I took his SVG file, copied the vector image and re-sized it to fit
269 on the cover I was drawing. I am happy with the end result, and the
270 current english version look like this:&lt;/p&gt;
271
272 &lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2015-09-03-free-culture-cover.png&quot; width=&quot;70%&quot; align=&quot;center&quot;/&gt;
273
274 &lt;p&gt;I am not quite sure about the text on the back, but guess it will
275 do. I picked three quotes from the official site for the book, and
276 hope it will work to trigger the interest of potential readers. The
277 Norwegian cover will look the same, but with the texts and bar code
278 replaced with the Norwegian version.&lt;/p&gt;
279
280 &lt;p&gt;The book is very close to being ready for publication, and I expect
281 to upload the final draft to Lulu in the next few days and order a
282 final proof reading copy to verify that everything look like it should
283 before allowing everyone to order their own copy of Free Culture, in
284 English or Norwegian Bokmål. I&#39;m waiting to give the the productive
285 proof readers a chance to complete their work.&lt;/p&gt;
286 </description>
287 </item>
288
289 <item>
290 <title>In my hand, a pocket book edition of the Norwegian Free Culture book!</title>
291 <link>http://people.skolelinux.org/pere/blog/In_my_hand__a_pocket_book_edition_of_the_Norwegian_Free_Culture_book_.html</link>
292 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/In_my_hand__a_pocket_book_edition_of_the_Norwegian_Free_Culture_book_.html</guid>
293 <pubDate>Wed, 19 Aug 2015 22:10:00 +0200</pubDate>
294 <description>&lt;p&gt;Today, finally, my first printed draft edition of the Norwegian
295 translation of Free Culture I have been working on for the last few
296 years arrived in the mail. I had to fake a cover to get the interior
297 printed, and the exterior of the book look awful, but that is
298 irrelevant at this point. I asked for a printed pocket book version
299 to get an idea about the font sizes and paper format as well as how
300 good the figures and images look in print, but also to test what the
301 pocket book version would look like. After receiving the 500 page
302 pocket book, it became obvious to me that that pocket book size is too
303 small for this book. I believe the book is too thick, and several
304 tables and figures do not look good in the size they get with that
305 small page sizes. I believe I will go with the 5.5x8.5 inch size
306 instead. A surprise discovery from the paper version was how bad the
307 URLs look in print. They are very hard to read in the colophon page.
308 The URLs are red in the PDF, but light gray on paper. I need to
309 change the color of links somehow to look better. But there is a
310 printed book in my hand, and it feels great. :)&lt;/p&gt;
311
312 &lt;p&gt;Now I only need to fix the cover, wrap up the postscript with the
313 store behind the book, and collect the last corrections from the proof
314 readers before the book is ready for proper printing. Cover artists
315 willing to work for free and create a Creative Commons licensed vector
316 file looking similar to the original is most welcome, as my skills as
317 a graphics designer are mostly missing.&lt;/p&gt;
318 </description>
319 </item>
320
321 <item>
322 <title>First paper version of the Norwegian Free Culture book heading my way</title>
323 <link>http://people.skolelinux.org/pere/blog/First_paper_version_of_the_Norwegian_Free_Culture_book_heading_my_way.html</link>
324 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_paper_version_of_the_Norwegian_Free_Culture_book_heading_my_way.html</guid>
325 <pubDate>Sun, 9 Aug 2015 10:15:00 +0200</pubDate>
326 <description>&lt;p&gt;Typesetting a book is harder than I hoped. As the translation is
327 mostly done, and a volunteer proof reader was going to check the text
328 on paper, it was time this summer to focus on formatting my translated
329 &lt;a href=&quot;http://www.docbook.org/&quot;&gt;docbook&lt;/a&gt; based version of the
330 &lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture&lt;/a&gt; book by Lawrence
331 Lessig. I&#39;ve been trying to get both docboox-xsl+fop and dblatex to
332 give me a good looking PDF, but in the end I went with dblatex, because
333 its Debian maintainer and upstream developer were responsive and very
334 helpful in solving my formatting challenges.&lt;/p&gt;
335
336 &lt;p&gt;Last night, I finally managed to create a PDF that no longer made
337 &lt;a href=&quot;http://www.lulu.com/&quot;&gt;Lulu.com&lt;/a&gt; complain after uploading,
338 and I ordered a text version of the book on paper. It is lacking a
339 proper book cover and is not tagged with the correct ISBN number, but
340 should give me an idea what the finished book will look like.&lt;/p&gt;
341
342 &lt;p&gt;Instead of using Lulu, I did consider printing the book using
343 &lt;a href=&quot;http://www.createspace.com/&quot;&gt;CreateSpace&lt;/a&gt;, but ended up
344 using Lulu because it had smaller book size options (CreateSpace seem
345 to lack pocket book with extended distribution). I looked for a
346 similar service in Norway, but have not seen anything so far. Please
347 let me know if I am missing out on something here.&lt;/p&gt;
348
349 &lt;p&gt;But I still struggle to decide the book size. Should I go for
350 pocket book (4.25x6.875 inches / 10.8x17.5 cm) with 556 pages, Digest
351 (5.5x8.5 inches / 14x21.6 cm) with 323 pages or US Trade (6x8 inches /
352 15.3x22.9 cm) with 280 pages? Fewer pager give a cheaper book, and a
353 smaller book is easier to carry around. The test book I ordered was
354 pocket book sized, to give me an idea how well that fit in my hand,
355 but I suspect I will end up using a digest sized book in the end to
356 bring the prize down further.&lt;/p&gt;
357
358 &lt;p&gt;My biggest challenge at the moment is making nice cover art. My
359 inkscape skills are not yet up to the task of replicating the original
360 cover in SVG format. I also need to figure out what to write about
361 the book on the back (will most likely use the same text as the
362 description on web based book stores). I would love help with this,
363 if you are willing to license the art source and final version using
364 the same CC license as the book. My artistic skills are not really up
365 to the task.&lt;/p&gt;
366
367 &lt;p&gt;I plan to publish the book in both English and Norwegian and on
368 paper, in PDF form as well as EPUB and MOBI format. The current
369 status can as usual be found on
370 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;github&lt;/a&gt;
371 in the archive/ directory. So far I have spent all time on making the
372 PDF version look good. Someone should probably do the same with the
373 dbtoepub generated e-book. Help is definitely needed here, as I
374 expect to run out of steem before I find time to improve the epub
375 formatting.&lt;/p&gt;
376
377 &lt;p&gt;Please let me know via github if you find typos in the book or
378 discover translations that should be improved. The final proof
379 reading is being done right now, and I expect to publish the finished
380 result in a few months.&lt;/p&gt;
381 </description>
382 </item>
383
384 <item>
385 <title>Typesetting DocBook footnotes as endnotes with dblatex</title>
386 <link>http://people.skolelinux.org/pere/blog/Typesetting_DocBook_footnotes_as_endnotes_with_dblatex.html</link>
387 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Typesetting_DocBook_footnotes_as_endnotes_with_dblatex.html</guid>
388 <pubDate>Thu, 16 Jul 2015 18:10:00 +0200</pubDate>
389 <description>&lt;p&gt;I&#39;m still working on the Norwegian version of the
390 &lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture book by Lawrence
391 Lessig&lt;/a&gt;, and is now working on the final typesetting and layout.
392 One of the features I want to get the structure similar to the
393 original book is to typeset the footnotes as endnotes in the notes
394 chapter. Based on the
395 &lt;a href=&quot;https://bugs.debian.org/685063&quot;&gt;feedback from the Debian
396 maintainer and the dblatex developer&lt;/a&gt;, I came up with this recipe I
397 would like to share with you. The proposal was to create a new LaTeX
398 class file and add the LaTeX code there, but this is not always
399 practical, when I want to be able to replace the class using a make
400 file variable. So my proposal misuses the latex.begindocument XSL
401 parameter value, to get a small fragment into the correct location in
402 the generated LaTeX File.&lt;/p&gt;
403
404 &lt;p&gt;First, decide where in the DocBook document to place the endnotes,
405 and add this text there:&lt;/p&gt;
406
407 &lt;pre&gt;
408 &amp;lt;?latex \theendnotes ?&amp;gt;
409 &lt;/pre&gt;
410
411 &lt;p&gt;Next, create a xsl stylesheet file dblatex-endnotes.xsl to add the
412 code needed to add the endnote instructions in the preamble of the
413 generated LaTeX document, with content like this:&lt;/p&gt;
414
415 &lt;pre&gt;
416 &amp;lt;?xml version=&#39;1.0&#39;?&amp;gt;
417 &amp;lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; version=&#39;1.0&#39;&amp;gt;
418 &amp;lt;xsl:param name=&quot;latex.begindocument&quot;&amp;gt;
419 &amp;lt;xsl:text&amp;gt;
420 \usepackage{endnotes}
421 \let\footnote=\endnote
422 \def\enoteheading{\mbox{}\par\vskip-\baselineskip }
423 \begin{document}
424 &amp;lt;/xsl:text&amp;gt;
425 &amp;lt;/xsl:param&amp;gt;
426 &amp;lt;/xsl:stylesheet&amp;gt;
427 &lt;/pre&gt;
428
429 &lt;p&gt;Finally, load this xsl file when running dblatex, for example like
430 this:&lt;/p&gt;
431
432 &lt;pre&gt;
433 dblatex --xsl-user=dblatex-endnotes.xsl freeculture.nb.xml
434 &lt;/pre&gt;
435
436 &lt;p&gt;The end result can be seen on github, where
437 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;my
438 book project&lt;/a&gt; is located.&lt;/p&gt;
439 </description>
440 </item>
441
442 <item>
443 <title>Mimes brønn, norsk utgave av Alaveteli / WhatDoTheyKnow, endelig lansert</title>
444 <link>http://people.skolelinux.org/pere/blog/Mimes_br_nn__norsk_utgave_av_Alaveteli___WhatDoTheyKnow__endelig_lansert.html</link>
445 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Mimes_br_nn__norsk_utgave_av_Alaveteli___WhatDoTheyKnow__endelig_lansert.html</guid>
446 <pubDate>Thu, 9 Jul 2015 11:40:00 +0200</pubDate>
447 <description>&lt;p&gt;I går fikk vi endelig lansert en norsk version av mySocietys
448 &lt;a href=&quot;https://www.whatdotheyknow.com/&quot;&gt;WhatDoTheyKnow&lt;/a&gt;.
449 Tjenesten heter Mimes brønn, og ble
450 &lt;a href=&quot;http://www.nuug.no/news/NUUG_lanserer_innsynstjenesten_Mimes_Br_nn.shtml&quot;&gt;annonsert
451 av NUUG&lt;/a&gt; via blogg, epost og twitter til NUUG-assosierte personer.
452 Det har tatt noen år, men de siste dagene fikk vi endelig tid til å få
453 på plass de siste bitene. Vi er to, Gorm og meg selv, som har vært
454 primus motor for det hele, men vi har fått hjelp med oversettelser og
455 oppsett fra mange flere. Jeg vil si tusen takk til hver og en av dem,
456 og er veldig fornøyd med at vi klarte å få tjenesten opp å kjøre før
457 ferietiden slo inn for fullt.&lt;/p&gt;
458
459 &lt;p&gt;Vi er usikker på hvor mye belastning den virtuelle maskinen der
460 tjenesten kjører klarer, så vi har lansert litt i det stille og ikke
461 til for mange folk for å se hvordan maskinen klarer seg over sommeren,
462 før vi går mer aktivt ut og annonserer til høsten. Ta en titt, og se
463 om du kanskje har et spørsmål til det offentlige som er egnet å sende
464 inn via Mimes brønn.&lt;/p&gt;
465
466 &lt;p&gt;Hvis du lurer på hva i alle dager en slik tjenestes kan brukes til,
467 anbefaler jeg deg å se
468 &lt;a href=&quot;http://beta.frikanalen.no/video/625321&quot;&gt;TED-foredraget til
469 Heather Brook&lt;/a&gt; om hvordan hun brukte WhatDoTheyKnow til å lære
470 hvordan offentlige midler ble misbrukt. Det er en inspirerende
471 historie.&lt;/p&gt;
472 </description>
473 </item>
474
475 <item>
476 <title>MPEG LA on &quot;Internet Broadcast AVC Video&quot; licensing and non-private use</title>
477 <link>http://people.skolelinux.org/pere/blog/MPEG_LA_on__Internet_Broadcast_AVC_Video__licensing_and_non_private_use.html</link>
478 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/MPEG_LA_on__Internet_Broadcast_AVC_Video__licensing_and_non_private_use.html</guid>
479 <pubDate>Tue, 7 Jul 2015 09:50:00 +0200</pubDate>
480 <description>&lt;p&gt;After asking the Norwegian Broadcasting Company (NRK)
481 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Hva_gj_r_at_NRK_kan_distribuere_H_264_video_uten_patentavtale_med_MPEG_LA_.html&quot;&gt;why
482 they can broadcast and stream H.264 video without an agreement with
483 the MPEG LA&lt;/a&gt;, I was wiser, but still confused. So I asked MPEG LA
484 if their understanding matched that of NRK. As far as I can tell, it
485 does not.&lt;/p&gt;
486
487 &lt;p&gt;I started by asking for more information about the various
488 licensing classes and what exactly is covered by the &quot;Internet
489 Broadcast AVC Video&quot; class that NRK pointed me at to explain why NRK
490 did not need a license for streaming H.264 video:
491
492 &lt;p&gt;&lt;blockquote&gt;
493
494 &lt;p&gt;According to
495 &lt;a href=&quot;http://www.mpegla.com/Lists/MPEG%20LA%20News%20List/Attachments/226/n-10-02-02.pdf&quot;&gt;a
496 MPEG LA press release dated 2010-02-02&lt;/a&gt;, there is no charge when
497 using MPEG AVC/H.264 according to the terms of &quot;Internet Broadcast AVC
498 Video&quot;. I am trying to understand exactly what the terms of &quot;Internet
499 Broadcast AVC Video&quot; is, and wondered if you could help me. What
500 exactly is covered by these terms, and what is not?&lt;/p&gt;
501
502 &lt;p&gt;The only source of more information I have been able to find is a
503 PDF named
504 &lt;a href=&quot;http://www.mpegla.com/main/programs/avc/Documents/avcweb.pdf&quot;&gt;AVC
505 Patent Portfolio License Briefing&lt;/a&gt;, which states this about the
506 fees:&lt;/p&gt;
507
508 &lt;ul&gt;
509 &lt;li&gt;Where End User pays for AVC Video
510 &lt;ul&gt;
511 &lt;li&gt;Subscription (not limited by title) – 100,000 or fewer
512 subscribers/yr = no royalty; &amp;gt; 100,000 to 250,000 subscribers/yr =
513 $25,000; &amp;gt;250,000 to 500,000 subscribers/yr = $50,000; &amp;gt;500,000 to
514 1M subscribers/yr = $75,000; &amp;gt;1M subscribers/yr = $100,000&lt;/li&gt;
515
516 &lt;li&gt;Title-by-Title - 12 minutes or less = no royalty; &amp;gt;12 minutes in
517 length = lower of (a) 2% or (b) $0.02 per title&lt;/li&gt;
518 &lt;/ul&gt;&lt;/li&gt;
519
520 &lt;li&gt;Where remuneration is from other sources
521 &lt;ul&gt;
522 &lt;li&gt;Free Television - (a) one-time $2,500 per transmission encoder or
523 (b) annual fee starting at $2,500 for &amp;gt; 100,000 HH rising to
524 maximum $10,000 for &amp;gt;1,000,000 HH&lt;/li&gt;
525
526 &lt;li&gt;Internet Broadcast AVC Video (not title-by-title, not subscription)
527 – no royalty for life of the AVC Patent Portfolio License&lt;/li&gt;
528 &lt;/ul&gt;&lt;/li&gt;
529 &lt;/ul&gt;
530
531 &lt;p&gt;Am I correct in assuming that the four categories listed is the
532 categories used when selecting licensing terms, and that &quot;Internet
533 Broadcast AVC Video&quot; is the category for things that do not fall into
534 one of the other three categories? Can you point me to a good source
535 explaining what is ment by &quot;title-by-title&quot; and &quot;Free Television&quot; in
536 the license terms for AVC/H.264?&lt;/p&gt;
537
538 &lt;p&gt;Will a web service providing H.264 encoded video content in a
539 &quot;video on demand&quot; fashing similar to Youtube and Vimeo, where no
540 subscription is required and no payment is required from end users to
541 get access to the videos, fall under the terms of the &quot;Internet
542 Broadcast AVC Video&quot;, ie no royalty for life of the AVC Patent
543 Portfolio license? Does it matter if some users are subscribed to get
544 access to personalized services?&lt;/p&gt;
545
546 &lt;p&gt;Note, this request and all answers will be published on the
547 Internet.&lt;/p&gt;
548 &lt;/blockquote&gt;&lt;/p&gt;
549
550 &lt;p&gt;The answer came quickly from Benjamin J. Myers, Licensing Associate
551 with the MPEG LA:&lt;/p&gt;
552
553 &lt;p&gt;&lt;blockquote&gt;
554 &lt;p&gt;Thank you for your message and for your interest in MPEG LA. We
555 appreciate hearing from you and I will be happy to assist you.&lt;/p&gt;
556
557 &lt;p&gt;As you are aware, MPEG LA offers our AVC Patent Portfolio License
558 which provides coverage under patents that are essential for use of
559 the AVC/H.264 Standard (MPEG-4 Part 10). Specifically, coverage is
560 provided for end products and video content that make use of AVC/H.264
561 technology. Accordingly, the party offering such end products and
562 video to End Users concludes the AVC License and is responsible for
563 paying the applicable royalties.&lt;/p&gt;
564
565 &lt;p&gt;Regarding Internet Broadcast AVC Video, the AVC License generally
566 defines such content to be video that is distributed to End Users over
567 the Internet free-of-charge. Therefore, if a party offers a service
568 which allows users to upload AVC/H.264 video to its website, and such
569 AVC Video is delivered to End Users for free, then such video would
570 receive coverage under the sublicense for Internet Broadcast AVC
571 Video, which is not subject to any royalties for the life of the AVC
572 License. This would also apply in the scenario where a user creates a
573 free online account in order to receive a customized offering of free
574 AVC Video content. In other words, as long as the End User is given
575 access to or views AVC Video content at no cost to the End User, then
576 no royalties would be payable under our AVC License.&lt;/p&gt;
577
578 &lt;p&gt;On the other hand, if End Users pay for access to AVC Video for a
579 specific period of time (e.g., one month, one year, etc.), then such
580 video would constitute Subscription AVC Video. In cases where AVC
581 Video is delivered to End Users on a pay-per-view basis, then such
582 content would constitute Title-by-Title AVC Video. If a party offers
583 Subscription or Title-by-Title AVC Video to End Users, then they would
584 be responsible for paying the applicable royalties you noted below.&lt;/p&gt;
585
586 &lt;p&gt;Finally, in the case where AVC Video is distributed for free
587 through an &quot;over-the-air, satellite and/or cable transmission&quot;, then
588 such content would constitute Free Television AVC Video and would be
589 subject to the applicable royalties.&lt;/p&gt;
590
591 &lt;p&gt;For your reference, I have attached
592 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2015-07-07-mpegla.pdf&quot;&gt;a
593 .pdf copy of the AVC License&lt;/a&gt;. You will find the relevant
594 sublicense information regarding AVC Video in Sections 2.2 through
595 2.5, and the corresponding royalties in Section 3.1.2 through 3.1.4.
596 You will also find the definitions of Title-by-Title AVC Video,
597 Subscription AVC Video, Free Television AVC Video, and Internet
598 Broadcast AVC Video in Section 1 of the License. Please note that the
599 electronic copy is provided for informational purposes only and cannot
600 be used for execution.&lt;/p&gt;
601
602 &lt;p&gt;I hope the above information is helpful. If you have additional
603 questions or need further assistance with the AVC License, please feel
604 free to contact me directly.&lt;/p&gt;
605 &lt;/blockquote&gt;&lt;/p&gt;
606
607 &lt;p&gt;Having a fresh copy of the license text was useful, and knowing
608 that the definition of Title-by-Title required payment per title made
609 me aware that my earlier understanding of that phrase had been wrong.
610 But I still had a few questions:&lt;/p&gt;
611
612 &lt;p&gt;&lt;blockquote&gt;
613 &lt;p&gt;I have a small followup question. Would it be possible for me to get
614 a license with MPEG LA even if there are no royalties to be paid? The
615 reason I ask, is that some video related products have a copyright
616 clause limiting their use without a license with MPEG LA. The clauses
617 typically look similar to this:
618
619 &lt;p&gt;&lt;blockquote&gt;
620 This product is licensed under the AVC patent portfolio license for
621 the personal and non-commercial use of a consumer to (a) encode
622 video in compliance with the AVC standard (&quot;AVC video&quot;) and/or (b)
623 decode AVC video that was encoded by a consumer engaged in a
624 personal and non-commercial activity and/or AVC video that was
625 obtained from a video provider licensed to provide AVC video. No
626 license is granted or shall be implied for any other use. additional
627 information may be obtained from MPEG LA L.L.C.
628 &lt;/blockquote&gt;&lt;/p&gt;
629
630 &lt;p&gt;It is unclear to me if this clause mean that I need to enter into
631 an agreement with MPEG LA to use the product in question, even if
632 there are no royalties to be paid to MPEG LA. I suspect it will
633 differ depending on the jurisdiction, and mine is Norway. What is
634 MPEG LAs view on this?&lt;/p&gt;
635 &lt;/blockquote&gt;&lt;/p&gt;
636
637 &lt;p&gt;According to the answer, MPEG LA believe those using such tools for
638 non-personal or commercial use need a license with them:&lt;/p&gt;
639
640 &lt;p&gt;&lt;blockquote&gt;
641
642 &lt;p&gt;With regard to the Notice to Customers, I would like to begin by
643 clarifying that the Notice from Section 7.1 of the AVC License
644 reads:&lt;/p&gt;
645
646 &lt;p&gt;THIS PRODUCT IS LICENSED UNDER THE AVC PATENT PORTFOLIO LICENSE FOR
647 THE PERSONAL USE OF A CONSUMER OR OTHER USES IN WHICH IT DOES NOT
648 RECEIVE REMUNERATION TO (i) ENCODE VIDEO IN COMPLIANCE WITH THE AVC
649 STANDARD (&quot;AVC VIDEO&quot;) AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED
650 BY A CONSUMER ENGAGED IN A PERSONAL ACTIVITY AND/OR WAS OBTAINED FROM
651 A VIDEO PROVIDER LICENSED TO PROVIDE AVC VIDEO. NO LICENSE IS GRANTED
652 OR SHALL BE IMPLIED FOR ANY OTHER USE. ADDITIONAL INFORMATION MAY BE
653 OBTAINED FROM MPEG LA, L.L.C. SEE HTTP://WWW.MPEGLA.COM&lt;/p&gt;
654
655 &lt;p&gt;The Notice to Customers is intended to inform End Users of the
656 personal usage rights (for example, to watch video content) included
657 with the product they purchased, and to encourage any party using the
658 product for commercial purposes to contact MPEG LA in order to become
659 licensed for such use (for example, when they use an AVC Product to
660 deliver Title-by-Title, Subscription, Free Television or Internet
661 Broadcast AVC Video to End Users, or to re-Sell a third party&#39;s AVC
662 Product as their own branded AVC Product).&lt;/p&gt;
663
664 &lt;p&gt;Therefore, if a party is to be licensed for its use of an AVC
665 Product to Sell AVC Video on a Title-by-Title, Subscription, Free
666 Television or Internet Broadcast basis, that party would need to
667 conclude the AVC License, even in the case where no royalties were
668 payable under the License. On the other hand, if that party (either a
669 Consumer or business customer) simply uses an AVC Product for their
670 own internal purposes and not for the commercial purposes referenced
671 above, then such use would be included in the royalty paid for the AVC
672 Products by the licensed supplier.&lt;/p&gt;
673
674 &lt;p&gt;Finally, I note that our AVC License provides worldwide coverage in
675 countries that have AVC Patent Portfolio Patents, including
676 Norway.&lt;/p&gt;
677
678 &lt;p&gt;I hope this clarification is helpful. If I may be of any further
679 assistance, just let me know.&lt;/p&gt;
680 &lt;/blockquote&gt;&lt;/p&gt;
681
682 &lt;p&gt;The mentioning of Norwegian patents made me a bit confused, so I
683 asked for more information:&lt;/p&gt;
684
685 &lt;p&gt;&lt;blockquote&gt;
686
687 &lt;p&gt;But one minor question at the end. If I understand you correctly,
688 you state in the quote above that there are patents in the AVC Patent
689 Portfolio that are valid in Norway. This make me believe I read the
690 list available from &amp;lt;URL:
691 &lt;a href=&quot;http://www.mpegla.com/main/programs/AVC/Pages/PatentList.aspx&quot;&gt;http://www.mpegla.com/main/programs/AVC/Pages/PatentList.aspx&lt;/a&gt;
692 &amp;gt; incorrectly, as I believed the &quot;NO&quot; prefix in front of patents
693 were Norwegian patents, and the only one I could find under Mitsubishi
694 Electric Corporation expired in 2012. Which patents are you referring
695 to that are relevant for Norway?&lt;/p&gt;
696
697 &lt;/blockquote&gt;&lt;/p&gt;
698
699 &lt;p&gt;Again, the quick answer explained how to read the list of patents
700 in that list:&lt;/p&gt;
701
702 &lt;p&gt;&lt;blockquote&gt;
703
704 &lt;p&gt;Your understanding is correct that the last AVC Patent Portfolio
705 Patent in Norway expired on 21 October 2012. Therefore, where AVC
706 Video is both made and Sold in Norway after that date, then no
707 royalties would be payable for such AVC Video under the AVC License.
708 With that said, our AVC License provides historic coverage for AVC
709 Products and AVC Video that may have been manufactured or Sold before
710 the last Norwegian AVC patent expired. I would also like to clarify
711 that coverage is provided for the country of manufacture and the
712 country of Sale that has active AVC Patent Portfolio Patents.&lt;/p&gt;
713
714 &lt;p&gt;Therefore, if a party offers AVC Products or AVC Video for Sale in
715 a country with active AVC Patent Portfolio Patents (for example,
716 Sweden, Denmark, Finland, etc.), then that party would still need
717 coverage under the AVC License even if such products or video are
718 initially made in a country without active AVC Patent Portfolio
719 Patents (for example, Norway). Similarly, a party would need to
720 conclude the AVC License if they make AVC Products or AVC Video in a
721 country with active AVC Patent Portfolio Patents, but eventually Sell
722 such AVC Products or AVC Video in a country without active AVC Patent
723 Portfolio Patents.&lt;/p&gt;
724 &lt;/blockquote&gt;&lt;/p&gt;
725
726 &lt;p&gt;As far as I understand it, MPEG LA believe anyone using Adobe
727 Premiere and other video related software with a H.264 distribution
728 license need a license agreement with MPEG LA to use such tools for
729 anything non-private or commercial, while it is OK to set up a
730 Youtube-like service as long as no-one pays to get access to the
731 content. I still have no clear idea how this applies to Norway, where
732 none of the patents MPEG LA is licensing are valid. Will the
733 copyright terms take precedence or can those terms be ignored because
734 the patents are not valid in Norway?&lt;/p&gt;
735 </description>
736 </item>
737
738 <item>
739 <title>New laptop - some more clues and ideas based on feedback</title>
740 <link>http://people.skolelinux.org/pere/blog/New_laptop___some_more_clues_and_ideas_based_on_feedback.html</link>
741 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_laptop___some_more_clues_and_ideas_based_on_feedback.html</guid>
742 <pubDate>Sun, 5 Jul 2015 21:40:00 +0200</pubDate>
743 <description>&lt;p&gt;Several people contacted me after my previous blog post about my
744 need for a new laptop, and provided very useful feedback. I wish to
745 thank every one of these. Several pointed me to the possibility of
746 fixing my X230, and I am already in the process of getting Lenovo to
747 do so thanks to the on site, next day support contract covering the
748 machine. But the battery is almost useless (I expect to replace it
749 with a non-official battery) and I do not expect the machine to live
750 for many more years, so it is time to plan its replacement. If I did
751 not have a support contract, it was suggested to find replacement parts
752 using &lt;a href=&quot;http://www.francecrans.com/&quot;&gt;FrancEcrans&lt;/a&gt;, but it
753 might present a language barrier as I do not understand French.&lt;/p&gt;
754
755 &lt;p&gt;One tip I got was to use the
756 &lt;a href=&quot;https://skinflint.co.uk/?cat=nb&quot;&gt;Skinflint&lt;/a&gt; web service to
757 compare laptop models. It seem to have more models available than
758 prisjakt.no. Another tip I got from someone I know have similar
759 keyboard preferences was that the HP EliteBook 840 keyboard is not
760 very good, and this matches my experience with earlier EliteBook
761 keyboards I tested. Because of this, I will not consider it any further.
762
763 &lt;p&gt;When I wrote my blog post, I was not aware of Thinkpad X250, the
764 newest Thinkpad X model. The keyboard reintroduces mouse buttons
765 (which is missing from the X240), and is working fairly well with
766 Debian Sid/Unstable according to
767 &lt;a href=&quot;http://www.corsac.net/X250/&quot;&gt;Corsac.net&lt;/a&gt;. The reports I
768 got on the keyboard quality are not consistent. Some say the keyboard
769 is good, others say it is ok, while others say it is not very good.
770 Those with experience from X41 and and X60 agree that the X250
771 keyboard is not as good as those trusty old laptops, and suggest I
772 keep and fix my X230 instead of upgrading, or get a used X230 to
773 replace it. I&#39;m also told that the X250 lack leds for caps lock, disk
774 activity and battery status, which is very convenient on my X230. I&#39;m
775 also told that the CPU fan is running very often, making it a bit
776 noisy. In any case, the X250 do not work out of the box with Debian
777 Stable/Jessie, one of my requirements.&lt;/p&gt;
778
779 &lt;p&gt;I have also gotten a few vendor proposals, one was
780 &lt;a href=&quot;http://pro-star.com&quot;&gt;Pro-Star&lt;/a&gt;, another was
781 &lt;a href=&quot;http://shop.gluglug.org.uk/product/libreboot-x200/&quot;&gt;Libreboot&lt;/a&gt;.
782 The latter look very attractive to me.&lt;/p&gt;
783
784 &lt;p&gt;Again, thank you all for the very useful feedback. It help a lot
785 as I keep looking for a replacement.&lt;/p&gt;
786
787 &lt;p&gt;Update 2015-07-06: I was recommended to check out the
788 &lt;a href=&quot;&quot;&gt;lapstore.de&lt;/a&gt; web shop for used laptops. They got several
789 different
790 &lt;a href=&quot;http://www.lapstore.de/f.php/shop/lapstore/f/411/lang/x/kw/Lenovo_ThinkPad_X_Serie/&quot;&gt;old
791 thinkpad X models&lt;/a&gt;, and provide one year warranty.&lt;/p&gt;
792 </description>
793 </item>
794
795 </channel>
796 </rss>