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