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