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