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">
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" />
10 <title>Hva henger under skibrua over E16 på Sollihøgda?
</title>
11 <link>http://people.skolelinux.org/pere/blog/Hva_henger_under_skibrua_over_E16_p__Sollih_gda_.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Hva_henger_under_skibrua_over_E16_p__Sollih_gda_.html
</guid>
13 <pubDate>Sun,
21 Sep
2014 09:
50:
00 +
0200</pubDate>
14 <description><p
>Rundt omkring i Oslo og Østlandsområdet henger det bokser over
15 veiene som jeg har lurt på hva gjør. De har ut fra plassering og
16 vinkling sett ut som bokser som sniffer ut et eller annet fra
17 forbipasserende trafikk, men det har vært uklart for meg hva det er de
18 leser av. Her om dagen tok jeg bilde av en slik boks som henger under
19 <a href=
"http://www.openstreetmap.no/?zoom=
19&mlat=
59.96396&mlon=
10.34443&layers=B00000
">ei
20 skibru på Sollihøgda
</a
>:
</p
>
22 <p align=
"center
"><img width=
"60%
" src=
"http://people.skolelinux.org/pere/blog/images/
2014-
09-
13-kapsch-sollihogda-crop.jpeg
"></p
>
24 <p
>Boksen er tydelig merket «Kapsch
>>>», logoen til
25 <a href=
"http://www.kapsch.net/
">det sveitsiske selskapet Kapsch
</a
> som
26 blant annet lager sensorsystemer for veitrafikk. Men de lager mye
27 forskjellig, og jeg kjente ikke igjen boksen på utseendet etter en
28 kjapp titt på produktlista til selskapet.
</p
>
30 <p
>I og med at boksen henger over veien E16, en riksvei vedlikeholdt
31 av Statens Vegvesen, så antok jeg at det burde være mulig å bruke
32 REST-API-et som gir tilgang til vegvesenets database over veier,
33 skilter og annet veirelatert til å finne ut hva i alle dager dette
34 kunne være. De har både
35 <a href=
"https://www.vegvesen.no/nvdb/api/dokumentasjon/datakatalog
">en
36 datakatalog
</a
> og
37 <a href=
"https://www.vegvesen.no/nvdb/api/dokumentasjon/sok
">et
38 søk
</a
>, der en kan søke etter ulike typer oppføringer innen for et
39 gitt geografisk område. Jeg laget et enkelt shell-script for å hente
40 ut antall av en gitt type innenfor området skibrua dekker, og listet
41 opp navnet på typene som ble funnet. Orket ikke slå opp hvordan
42 URL-koding av aktuelle strenger kunne gjøres mer generisk, og brukte
43 en stygg sed-linje i stedet.
</p
>
45 <blockquote
><pre
>
49 -e
's/ / /g
' -e
's/{/%
7B/g
' \
50 -e
's/}/%
7D/g
' -e
's/\[/%
5B/g
' \
51 -e
's/\]/%
5D/g
' -e
's/ /%
20/g
' \
52 -e
's/,/%
2C/g
' -e
's/\
"/%
22/g
' \
53 -e
's/:/%
3A/g
'
58 curl -s -H
'Accept: application/vnd.vegvesen.nvdb-v1+xml
' \
59 "https://www.vegvesen.no/nvdb/api$url
" | xmllint --format -
62 for id in $(seq
1 874) ; do
65 bbox: \
"10.34425,
59.96386,
10.34458,
59.96409\
",
66 srid: \
"WGS84\
"
73 query=/sok?kriterie=$(echo $search | urlmap)
74 if lookup
"$query
" |
75 grep -q
'&lt;totaltAntallReturnert
>0&lt;
'
80 lookup
"/datakatalog/objekttyper/$id
" |grep
'^
&lt;navn
>'
85 </pre
></blockquote
>
87 Aktuelt ID-område
1-
874 var riktig i datakatalogen da jeg laget
88 scriptet. Det vil endre seg over tid. Skriptet listet så opp
89 aktuelle typer i og rundt skibrua:
91 <blockquote
><pre
>
93 &lt;navn
>Rekkverk
&lt;/navn
>
95 &lt;navn
>Rekkverksende
&lt;/navn
>
97 &lt;navn
>Trafikklomme
&lt;/navn
>
99 &lt;navn
>Trafikkøy
&lt;/navn
>
101 &lt;navn
>Bru
&lt;/navn
>
103 &lt;navn
>Stikkrenne/Kulvert
&lt;/navn
>
105 &lt;navn
>Grøft, åpen
&lt;/navn
>
107 &lt;navn
>Belysningsstrekning
&lt;/navn
>
109 &lt;navn
>Skiltpunkt
&lt;/navn
>
111 &lt;navn
>Skiltplate
&lt;/navn
>
113 &lt;navn
>Referansestolpe
&lt;/navn
>
115 &lt;navn
>Vegoppmerking, langsgående
&lt;/navn
>
117 &lt;navn
>Fartsgrense
&lt;/navn
>
119 &lt;navn
>Vinterdriftsstrategi
&lt;/navn
>
121 &lt;navn
>Trafikkdeler
&lt;/navn
>
123 &lt;navn
>Vegdekke
&lt;/navn
>
125 &lt;navn
>Breddemåling
&lt;/navn
>
127 &lt;navn
>Kantklippareal
&lt;/navn
>
129 &lt;navn
>Snø-/isrydding
&lt;/navn
>
131 &lt;navn
>Skred
&lt;/navn
>
133 &lt;navn
>Dokumentasjon
&lt;/navn
>
135 &lt;navn
>Undergang
&lt;/navn
>
137 &lt;navn
>Tverrprofil
&lt;/navn
>
139 &lt;navn
>Vegreferanse
&lt;/navn
>
141 &lt;navn
>Region
&lt;/navn
>
143 &lt;navn
>Fylke
&lt;/navn
>
145 &lt;navn
>Kommune
&lt;/navn
>
147 &lt;navn
>Gate
&lt;/navn
>
149 &lt;navn
>Transportlenke
&lt;/navn
>
151 &lt;navn
>Trafikkmengde
&lt;/navn
>
153 &lt;navn
>Trafikkulykke
&lt;/navn
>
155 &lt;navn
>Ulykkesinvolvert enhet
&lt;/navn
>
157 &lt;navn
>Ulykkesinvolvert person
&lt;/navn
>
159 &lt;navn
>Politidistrikt
&lt;/navn
>
161 &lt;navn
>Vegbredde
&lt;/navn
>
163 &lt;navn
>Høydebegrensning
&lt;/navn
>
165 &lt;navn
>Nedbøyningsmåling
&lt;/navn
>
167 &lt;navn
>Støy-luft, Strekningsdata
&lt;/navn
>
169 &lt;navn
>Oppgravingsdata
&lt;/navn
>
171 &lt;navn
>Oppgravingslag
&lt;/navn
>
173 &lt;navn
>PMS-parsell
&lt;/navn
>
175 &lt;navn
>Vegnormalstrekning
&lt;/navn
>
177 &lt;navn
>Værrelatert strekning
&lt;/navn
>
179 &lt;navn
>Feltstrekning
&lt;/navn
>
181 &lt;navn
>Adressepunkt
&lt;/navn
>
183 &lt;navn
>Friksjonsmåleserie
&lt;/navn
>
185 &lt;navn
>Vegdekke, flatelapping
&lt;/navn
>
187 &lt;navn
>Kurvatur, horisontalelement
&lt;/navn
>
189 &lt;navn
>Kurvatur, vertikalelement
&lt;/navn
>
191 &lt;navn
>Kurvatur, vertikalpunkt
&lt;/navn
>
193 &lt;navn
>Statistikk, trafikkmengde
&lt;/navn
>
195 &lt;navn
>Statistikk, vegbredde
&lt;/navn
>
197 &lt;navn
>Nedbøyningsmåleserie
&lt;/navn
>
199 &lt;navn
>ATK, influensstrekning
&lt;/navn
>
201 &lt;navn
>Systemobjekt
&lt;/navn
>
203 &lt;navn
>Vinterdriftsklasse
&lt;/navn
>
205 &lt;navn
>Funksjonell vegklasse
&lt;/navn
>
207 &lt;navn
>Kurvatur, stigning
&lt;/navn
>
209 &lt;navn
>Vegbredde, beregnet
&lt;/navn
>
211 &lt;navn
>Reisetidsregistreringspunkt
&lt;/navn
>
213 &lt;navn
>Bruksklasse
&lt;/navn
>
214 </pre
></blockquote
>
216 <p
>Av disse ser ID
775 og
862 mest relevant ut. ID
775 antar jeg
217 refererer til fotoboksen som står like ved brua, mens
218 «Reisetidsregistreringspunkt» kanskje kan være boksen som henger der.
219 Hvordan finner jeg så ut hva dette kan være for noe. En titt på
220 <a href=
"http://labs.vegdata.no/nvdb-datakatalog/
862-Reisetidsregistreringspunkt/
">datakatalogsiden
221 for ID
862/Reisetidsregistreringspunkt
</a
> viser at det er finnes
53
222 slike målere i Norge, og hvor de er plassert, men gir ellers få
223 detaljer. Det er plassert
40 på østlandet og
13 i Trondheimsregionen.
224 Men siden nevner «AutoPASS», og hvis en slår opp oppføringen på
225 Sollihøgda nevner den «Ciber AS» som ID for eksternt system. (Kan det
227 <a href=
"http://www.proff.no/selskap/ciber-norge-as/oslo/internettdesign-og-programmering/Z0I3KMF4/
">Ciber
228 Norge AS
</a
>, et selskap eid av Ciber Europe Bv?) Et nettsøk på
229 «Ciber AS autopass» fører meg til en artikkel fra NRK Trøndelag i
231 «
<a href=
"http://www.nrk.no/trondelag/sjekk-dette-hvis-du-vil-unnga-ko-
1.11327947">Sjekk
232 dette hvis du vil unngå kø
</a
>». Artikkelen henviser til vegvesenets
234 <a href=
"http://www.reisetider.no/reisetid/forside.html
">reisetider.no
</a
>
236 <a href=
"http://www.reisetider.no/reisetid/omrade.html?omrade=
5">kartside
237 for Østlandet
</a
> som viser at det måles mellom Sandvika og Sollihøgda.
238 Det kan dermed se ut til at jeg har funnet ut hva boksene gjør.
</p
>
240 <p
>Hvis det stemmer, så er dette bokser som leser av AutoPASS-ID-en
241 til alle passerende biler med AutoPASS-brikke, og dermed gjør det mulig
242 for de som kontrollerer boksene å holde rede på hvor en gitt bil er
243 når den passerte et slikt målepunkt. NRK-artikkelen forteller at
244 denne informasjonen i dag kun brukes til å koble to
245 AutoPASS-brikkepasseringer passeringer sammen for å beregne
246 reisetiden, og at bruken er godkjent av Datatilsynet. Det er desverre
247 ikke mulig for en sjåfør som passerer under en slik boks å kontrollere
248 at AutoPASS-ID-en kun brukes til dette i dag og i fremtiden.
</p
>
250 <p
>I tillegg til denne type AutoPASS-sniffere vet jeg at det også
251 finnes mange automatiske stasjoner som tar betalt pr. passering (aka
252 bomstasjoner), og der lagres informasjon om tid, sted og bilnummer i
253 10 år. Finnes det andre slike sniffere plassert ut på veiene?
</p
>
255 <p
>Personlig har jeg valgt å ikke bruke AutoPASS-brikke, for å gjøre
256 det vanskeligere og mer kostbart for de som vil invadere privatsfæren
257 og holde rede på hvor bilen min beveger seg til enhver tid. Jeg håper
258 flere vil gjøre det samme, selv om det gir litt høyere private
259 utgifter (dyrere bompassering). Vern om privatsfæren koster i disse
262 <p
>Takk til Jan Kristian Jensen i Statens Vegvesen for tips om
263 dokumentasjon på vegvesenets REST-API.
</p
>
268 <title>Speeding up the Debian installer using eatmydata and dpkg-divert
</title>
269 <link>http://people.skolelinux.org/pere/blog/Speeding_up_the_Debian_installer_using_eatmydata_and_dpkg_divert.html
</link>
270 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Speeding_up_the_Debian_installer_using_eatmydata_and_dpkg_divert.html
</guid>
271 <pubDate>Tue,
16 Sep
2014 14:
00:
00 +
0200</pubDate>
272 <description><p
>The
<a href=
"https://www.debian.org/
">Debian
</a
> installer could be
273 a lot quicker. When we install more than
2000 packages in
274 <a href=
"http://www.skolelinux.org/
">Skolelinux / Debian Edu
</a
> using
275 tasksel in the installer, unpacking the binary packages take forever.
276 A part of the slow I/O issue was discussed in
277 <a href=
"https://bugs.debian.org/
613428">bug #
613428</a
> about too
278 much file system sync-ing done by dpkg, which is the package
279 responsible for unpacking the binary packages. Other parts (like code
280 executed by postinst scripts) might also sync to disk during
281 installation. All this sync-ing to disk do not really make sense to
282 me. If the machine crash half-way through, I start over, I do not try
283 to salvage the half installed system. So the failure sync-ing is
284 supposed to protect against, hardware or system crash, is not really
285 relevant while the installer is running.
</p
>
287 <p
>A few days ago, I thought of a way to get rid of all the file
288 system sync()-ing in a fairly non-intrusive way, without the need to
289 change the code in several packages. The idea is not new, but I have
290 not heard anyone propose the approach using dpkg-divert before. It
291 depend on the small and clever package
292 <a href=
"https://packages.qa.debian.org/eatmydata
">eatmydata
</a
>, which
293 uses LD_PRELOAD to replace the system functions for syncing data to
294 disk with functions doing nothing, thus allowing programs to live
295 dangerous while speeding up disk I/O significantly. Instead of
296 modifying the implementation of dpkg, apt and tasksel (which are the
297 packages responsible for selecting, fetching and installing packages),
298 it occurred to me that we could just divert the programs away, replace
299 them with a simple shell wrapper calling
300 "eatmydata
&nbsp;$program
&nbsp;$@
", to get the same effect.
301 Two days ago I decided to test the idea, and wrapped up a simple
302 implementation for the Debian Edu udeb.
</p
>
304 <p
>The effect was stunning. In my first test it reduced the running
305 time of the pkgsel step (installing tasks) from
64 to less than
44
306 minutes (
20 minutes shaved off the installation) on an old Dell
307 Latitude D505 machine. I am not quite sure what the optimised time
308 would have been, as I messed up the testing a bit, causing the debconf
309 priority to get low enough for two questions to pop up during
310 installation. As soon as I saw the questions I moved the installation
311 along, but do not know how long the question were holding up the
312 installation. I did some more measurements using Debian Edu Jessie,
313 and got these results. The time measured is the time stamp in
314 /var/log/syslog between the
"pkgsel: starting tasksel
" and the
315 "pkgsel: finishing up
" lines, if you want to do the same measurement
316 yourself. In Debian Edu, the tasksel dialog do not show up, and the
317 timing thus do not depend on how quickly the user handle the tasksel
320 <p
><table
>
323 <th
>Machine/setup
</th
>
324 <th
>Original tasksel
</th
>
325 <th
>Optimised tasksel
</th
>
326 <th
>Reduction
</th
>
330 <td
>Latitude D505 Main+LTSP LXDE
</td
>
331 <td
>64 min (
07:
46-
08:
50)
</td
>
332 <td
><44 min (
11:
27-
12:
11)
</td
>
333 <td
>>20 min
18%
</td
>
337 <td
>Latitude D505 Roaming LXDE
</td
>
338 <td
>57 min (
08:
48-
09:
45)
</td
>
339 <td
>34 min (
07:
43-
08:
17)
</td
>
340 <td
>23 min
40%
</td
>
344 <td
>Latitude D505 Minimal
</td
>
345 <td
>22 min (
10:
37-
10:
59)
</td
>
346 <td
>11 min (
11:
16-
11:
27)
</td
>
347 <td
>11 min
50%
</td
>
351 <td
>Thinkpad X200 Minimal
</td
>
352 <td
>6 min (
08:
19-
08:
25)
</td
>
353 <td
>4 min (
08:
04-
08:
08)
</td
>
354 <td
>2 min
33%
</td
>
358 <td
>Thinkpad X200 Roaming KDE
</td
>
359 <td
>19 min (
09:
21-
09:
40)
</td
>
360 <td
>15 min (
10:
25-
10:
40)
</td
>
361 <td
>4 min
21%
</td
>
364 </table
></p
>
366 <p
>The test is done using a netinst ISO on a USB stick, so some of the
367 time is spent downloading packages. The connection to the Internet
368 was
100Mbit/s during testing, so downloading should not be a
369 significant factor in the measurement. Download typically took a few
370 seconds to a few minutes, depending on the amount of packages being
373 <p
>The speedup is implemented by using two hooks in
374 <a href=
"https://www.debian.org/devel/debian-installer/
">Debian
375 Installer
</a
>, the pre-pkgsel.d hook to set up the diverts, and the
376 finish-install.d hook to remove the divert at the end of the
377 installation. I picked the pre-pkgsel.d hook instead of the
378 post-base-installer.d hook because I test using an ISO without the
379 eatmydata package included, and the post-base-installer.d hook in
380 Debian Edu can only operate on packages included in the ISO. The
381 negative effect of this is that I am unable to activate this
382 optimization for the kernel installation step in d-i. If the code is
383 moved to the post-base-installer.d hook, the speedup would be larger
384 for the entire installation.
</p
>
386 <p
>I
've implemented this in the
387 <a href=
"https://packages.qa.debian.org/debian-edu-install
">debian-edu-install
</a
>
388 git repository, and plan to provide the optimization as part of the
389 Debian Edu installation. If you want to test this yourself, you can
390 create two files in the installer (or in an udeb). One shell script
391 need do go into /usr/lib/pre-pkgsel.d/, with content like this:
</p
>
393 <p
><blockquote
><pre
>
396 . /usr/share/debconf/confmodule
398 logger -t my-pkgsel
"info: $*
"
401 logger -t my-pkgsel
"error: $*
"
404 apt-install eatmydata || true
405 if [ -x /target/usr/bin/eatmydata ] ; then
406 for bin in dpkg apt-get aptitude tasksel ; do
408 # Test that the file exist and have not been diverted already.
409 if [ -f /target$file ] ; then
410 info
"diverting $file using eatmydata
"
411 printf
"#!/bin/sh\neatmydata $bin.distrib \
"\$@\
"\n
" \
412 > /target$file.edu
413 chmod
755 /target$file.edu
414 in-target dpkg-divert --package debian-edu-config \
415 --rename --quiet --add $file
416 ln -sf ./$bin.edu /target$file
418 error
"unable to divert $file, as it is missing.
"
422 error
"unable to find /usr/bin/eatmydata after installing the eatmydata pacage
"
427 </pre
></blockquote
></p
>
429 <p
>To clean up, another shell script should go into
430 /usr/lib/finish-install.d/ with code like this:
432 <p
><blockquote
><pre
>
434 . /usr/share/debconf/confmodule
436 logger -t my-finish-install
"error: $@
"
438 remove_install_override() {
439 for bin in dpkg apt-get aptitude tasksel ; do
441 if [ -x /target$file.edu ] ; then
443 in-target dpkg-divert --package debian-edu-config \
444 --rename --quiet --remove $file
447 error
"Missing divert for $file.
"
450 sync # Flush file buffers before continuing
453 remove_install_override
454 </pre
></blockquote
></p
>
456 <p
>In Debian Edu, I placed both code fragments in a separate script
457 edu-eatmydata-install and call it from the pre-pkgsel.d and
458 finish-install.d scripts.
</p
>
460 <p
>By now you might ask if this change should get into the normal
461 Debian installer too? I suspect it should, but am not sure the
462 current debian-installer coordinators find it useful enough. It also
463 depend on the side effects of the change. I
'm not aware of any, but I
464 guess we will see if the change is safe after some more testing.
465 Perhaps there is some package in Debian depending on sync() and
466 fsync() having effect? Perhaps it should go into its own udeb, to
467 allow those of us wanting to enable it to do so without affecting
470 <p
>Update
2014-
09-
24: Since a few days ago, enabling this optimization
471 will break installation of all programs using gnutls because of
472 <ahref=
"https://bugs.debian.org/
702711">bug #
702711. An updated
473 eatmydata package in Debian will solve it.
</p
>
478 <title>Good bye subkeys.pgp.net, welcome pool.sks-keyservers.net
</title>
479 <link>http://people.skolelinux.org/pere/blog/Good_bye_subkeys_pgp_net__welcome_pool_sks_keyservers_net.html
</link>
480 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Good_bye_subkeys_pgp_net__welcome_pool_sks_keyservers_net.html
</guid>
481 <pubDate>Wed,
10 Sep
2014 13:
10:
00 +
0200</pubDate>
482 <description><p
>Yesterday, I had the pleasure of attending a talk with the
483 <a href=
"http://www.nuug.no/
">Norwegian Unix User Group
</a
> about
484 <a href=
"http://www.nuug.no/aktiviteter/
20140909-sks-keyservers/
">the
485 OpenPGP keyserver pool sks-keyservers.net
</a
>, and was very happy to
486 learn that there is a large set of publicly available key servers to
487 use when looking for peoples public key. So far I have used
488 subkeys.pgp.net, and some times wwwkeys.nl.pgp.net when the former
489 were misbehaving, but those days are ended. The servers I have used
490 up until yesterday have been slow and some times unavailable. I hope
491 those problems are gone now.
</p
>
493 <p
>Behind the round robin DNS entry of the
494 <a href=
"https://sks-keyservers.net/
">sks-keyservers.net
</a
> service
495 there is a pool of more than
100 keyservers which are checked every
496 day to ensure they are well connected and up to date. It must be
497 better than what I have used so far. :)
</p
>
499 <p
>Yesterdays speaker told me that the service is the default
500 keyserver provided by the default configuration in GnuPG, but this do
501 not seem to be used in Debian. Perhaps it should?
</p
>
503 <p
>Anyway, I
've updated my ~/.gnupg/options file to now include this
506 <p
><blockquote
><pre
>
507 keyserver pool.sks-keyservers.net
508 </pre
></blockquote
></p
>
510 <p
>With GnuPG version
2 one can also locate the keyserver using SRV
511 entries in DNS. Just for fun, I did just that at work, so now every
512 user of GnuPG at the University of Oslo should find a OpenGPG
513 keyserver automatically should their need it:
</p
>
515 <p
><blockquote
><pre
>
516 % host -t srv _pgpkey-http._tcp.uio.no
517 _pgpkey-http._tcp.uio.no has SRV record
0 100 11371 pool.sks-keyservers.net.
519 </pre
></blockquote
></p
>
522 <a href=
"http://ietfreport.isoc.org/idref/draft-shaw-openpgp-hkp/
">the
523 HKP lookup protocol
</a
> supported finding signature paths, I would be
524 very happy. It can look up a given key or search for a user ID, but I
525 normally do not want that, but to find a trust path from my key to
526 another key. Given a user ID or key ID, I would like to find (and
527 download) the keys representing a signature path from my key to the
528 key in question, to be able to get a trust path between the two keys.
529 This is as far as I can tell not possible today. Perhaps something
530 for a future version of the protocol?
</p
>
535 <title>Do you need an agreement with MPEG-LA to publish and broadcast H
.264 video in Norway?
</title>
536 <link>http://people.skolelinux.org/pere/blog/Do_you_need_an_agreement_with_MPEG_LA_to_publish_and_broadcast_H_264_video_in_Norway_.html
</link>
537 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Do_you_need_an_agreement_with_MPEG_LA_to_publish_and_broadcast_H_264_video_in_Norway_.html
</guid>
538 <pubDate>Mon,
25 Aug
2014 22:
10:
00 +
0200</pubDate>
539 <description><p
>Two years later, I am still not sure if it is legal here in Norway
540 to use or publish a video in H
.264 or MPEG4 format edited by the
541 commercially licensed video editors, without limiting the use to
542 create
"personal
" or
"non-commercial
" videos or get a license
543 agreement with
<a href=
"http://www.mpegla.com
">MPEG LA
</a
>. If one
544 want to publish and broadcast video in a non-personal or commercial
545 setting, it might be that those tools can not be used, or that video
546 format can not be used, without breaking their copyright license. I
548 <a href=
"http://people.skolelinux.org/pere/blog/Trenger_en_avtale_med_MPEG_LA_for___publisere_og_kringkaste_H_264_video_.html
">Back
549 then
</a
>, I found that the copyright license terms for Adobe Premiere
550 and Apple Final Cut Pro both specified that one could not use the
551 program to produce anything else without a patent license from MPEG
552 LA. The issue is not limited to those two products, though. Other
553 much used products like those from Avid and Sorenson Media have terms
554 of use are similar to those from Adobe and Apple. The complicating
555 factor making me unsure if those terms have effect in Norway or not is
556 that the patents in question are not valid in Norway, but copyright
557 licenses are.
</p
>
559 <p
>These are the terms for Avid Artist Suite, according to their
560 <a href=
"http://www.avid.com/US/about-avid/legal-notices/legal-enduserlicense2
">published
562 <a href=
"http://www.avid.com/static/resources/common/documents/corporate/LICENSE.pdf
">license
563 text
</a
> (converted to lower case text for easier reading):
</p
>
565 <p
><blockquote
>
566 <p
>18.2. MPEG-
4. MPEG-
4 technology may be included with the
567 software. MPEG LA, L.L.C. requires this notice:
</p
>
569 <p
>This product is licensed under the MPEG-
4 visual patent portfolio
570 license for the personal and non-commercial use of a consumer for (i)
571 encoding video in compliance with the MPEG-
4 visual standard (“MPEG-
4
572 video”) and/or (ii) decoding MPEG-
4 video that was encoded by a
573 consumer engaged in a personal and non-commercial activity and/or was
574 obtained from a video provider licensed by MPEG LA to provide MPEG-
4
575 video. No license is granted or shall be implied for any other
576 use. Additional information including that relating to promotional,
577 internal and commercial uses and licensing may be obtained from MPEG
578 LA, LLC. See http://www.mpegla.com. This product is licensed under
579 the MPEG-
4 systems patent portfolio license for encoding in compliance
580 with the MPEG-
4 systems standard, except that an additional license
581 and payment of royalties are necessary for encoding in connection with
582 (i) data stored or replicated in physical media which is paid for on a
583 title by title basis and/or (ii) data which is paid for on a title by
584 title basis and is transmitted to an end user for permanent storage
585 and/or use, such additional license may be obtained from MPEG LA,
586 LLC. See http://www.mpegla.com for additional details.
</p
>
588 <p
>18.3. H
.264/AVC. H
.264/AVC technology may be included with the
589 software. MPEG LA, L.L.C. requires this notice:
</p
>
591 <p
>This product is licensed under the AVC patent portfolio license for
592 the personal use of a consumer or other uses in which it does not
593 receive remuneration to (i) encode video in compliance with the AVC
594 standard (“AVC video”) and/or (ii) decode AVC video that was encoded
595 by a consumer engaged in a personal activity and/or was obtained from
596 a video provider licensed to provide AVC video. No license is granted
597 or shall be implied for any other use. Additional information may be
598 obtained from MPEG LA, L.L.C. See http://www.mpegla.com.
</p
>
599 </blockquote
></p
>
601 <p
>Note the requirement that the videos created can only be used for
602 personal or non-commercial purposes.
</p
>
604 <p
>The Sorenson Media software have
605 <a href=
"http://www.sorensonmedia.com/terms/
">similar terms
</a
>:
</p
>
607 <p
><blockquote
>
609 <p
>With respect to a license from Sorenson pertaining to MPEG-
4 Video
610 Decoders and/or Encoders: Any such product is licensed under the
611 MPEG-
4 visual patent portfolio license for the personal and
612 non-commercial use of a consumer for (i) encoding video in compliance
613 with the MPEG-
4 visual standard (“MPEG-
4 video”) and/or (ii) decoding
614 MPEG-
4 video that was encoded by a consumer engaged in a personal and
615 non-commercial activity and/or was obtained from a video provider
616 licensed by MPEG LA to provide MPEG-
4 video. No license is granted or
617 shall be implied for any other use. Additional information including
618 that relating to promotional, internal and commercial uses and
619 licensing may be obtained from MPEG LA, LLC. See
620 http://www.mpegla.com.
</p
>
622 <p
>With respect to a license from Sorenson pertaining to MPEG-
4
623 Consumer Recorded Data Encoder, MPEG-
4 Systems Internet Data Encoder,
624 MPEG-
4 Mobile Data Encoder, and/or MPEG-
4 Unique Use Encoder: Any such
625 product is licensed under the MPEG-
4 systems patent portfolio license
626 for encoding in compliance with the MPEG-
4 systems standard, except
627 that an additional license and payment of royalties are necessary for
628 encoding in connection with (i) data stored or replicated in physical
629 media which is paid for on a title by title basis and/or (ii) data
630 which is paid for on a title by title basis and is transmitted to an
631 end user for permanent storage and/or use. Such additional license may
632 be obtained from MPEG LA, LLC. See http://www.mpegla.com for
633 additional details.
</p
>
635 </blockquote
></p
>
637 <p
>Some free software like
638 <a href=
"https://handbrake.fr/
">Handbrake
</A
> and
639 <a href=
"http://ffmpeg.org/
">FFMPEG
</a
> uses GPL/LGPL licenses and do
640 not have any such terms included, so for those, there is no
641 requirement to limit the use to personal and non-commercial.
</p
>
646 <title>Lenker for
2014-
08-
03</title>
647 <link>http://people.skolelinux.org/pere/blog/Lenker_for_2014_08_03.html
</link>
648 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Lenker_for_2014_08_03.html
</guid>
649 <pubDate>Sun,
3 Aug
2014 23:
00:
00 +
0200</pubDate>
650 <description><p
>Lenge siden jeg har hatt tid til å publisere lenker til skriverier
651 jeg har hatt glede og nytte av av å lese. Her er en liten norsk
652 lenkesamling.
</p
>
656 <li
><a href=
"http://www.nrk.no/ytring/sjoslag-om-fiskemilliardene-
1.11576109">Sjøslag
657 om fiskemilliardene
</a
> (NRK Ytring
2014-
03-
03) - litt om hvordan de
658 norske felles matressurser røves fra felleskapet.
</li
>
660 <li
><a href=
"http://www.aftenposten.no/nyheter/Matkrisen-kan-komme-til-Norge-
7522341.html
">Matkrisen
661 kan komme til Norge
</a
> (Aftenposten
2014-
4-
01) - hvordan miljøendringene vil gjøre matproduksjonen i Norge mer sårbar.
</li
>
663 <li
><a href=
"http://www.nrk.no/ytring/norge-trenger-kornlager-
1.11726744">Norge
664 trenger kornlager
</a
> (NRK Ytring
2014-
06-
07) Chr. Anton Smedshaug
665 forteller litt om Norges sårbare matsituasjon etter at Staten solgte
666 Norges kornlager.
</li
>
668 <li
><a href=
"http://www.nrk.no/norge/pst-vil-overvake-datatastaturer-
1.11583286">PST
669 vil overvåke datatastaturer
</a
> (NRK
2014-
03-
04) - PST ønsker retten
670 til å bryte seg inn på private PC-er og legge inn spionprogrammer.
671 Hvilket nok vil gjøre Linux mer populært, men gjør at en i enda mindre
672 grad enn i dag kan stole på datamaskiner - neppe en god ide for
673 samfunnet totalt sett.
</li
>
675 <li
><a href=
"http://www.osloby.no/nyheter/Ruter-fremstar-som-et-pobelvelde-
7490624.html
">«Ruter
676 fremstår som et pøbelvelde»
</a
> (OsloBy
2014-
03-
05) - et eksempel på
677 hvordan kollektivtransportselskapet i Oslo håndterer sine kunder.
</li
>
679 <li
><a href=
"http://www.dagbladet.no/
2014/
03/
05/nyheter/dbtv/reklame/clear_channel/
32123808/
">Clear
680 Channel nektet å vise Greenpeace-reklame i Oslo
</a
> (Dagbladet
681 2014-
03-
05) - forteller litt om hvordan hvilke budskap som når ut i
682 det offentlige rom kontrolleres i Norge.
</li
>
684 <li
><a href=
"http://www.dagbladet.no/
2014/
03/
06/kultur/meninger/debattinnlegg/kronikk/
22_juli/
32175854/
">Svarte
685 ikke på kritikken
</a
> (Dagbladet
2014-
03-
06) - innlegg fra Norsk
686 presseforbund der de nok en gang tar opp det forkastelige i at
687 politiet nå har full tilgang til å bedrive telefonkontroll av
688 advokater.
</li
>
690 <li
><a href=
"http://www.aftenposten.no/nyheter/uriks/Putin-spiller-poker_-ikke-sjakk-I-sjakk-har-man-regler-
7495368.html
">«Putin
691 spiller poker, ikke sjakk. I sjakk har man regler.»
</a
> (Aftenposten
692 2014-
03-
08) - sjakklegenden Kasparov forklarer litt om hvordan han ser
693 at Russlands politikk fungerer, blant annet i lys av started av
694 Ukraina-krisen.
</li
>
696 <li
><a href=
"http://www.aftenposten.no/meninger/kronikker/I-seng-med-fienden-
7492605.html
">I
697 seng med fienden
</a
> (Aftenposten
2014-
03-
10) - kronikk fra Eirik
698 H. Vinje om hvordan menn og kvinner settes opp mot hverandre i det
699 offentlige ordskiftet, kanskje på sviktende grunnlag.
</li
>
701 <li
><a href=
"http://www.aftenposten.no/amagasinet/Hvor-er-elevene-
7501690.html
">Fritt
702 frem for skulk
</a
> (Aftenposten
2014-
03-
14) - skildring av hvordan
703 norske elever i dag ikke lenger har rimelig krav om oppmøte på
706 <li
><a href=
"http://www.aftenposten.no/digital/Datalagringsdirektiv-avslorte-abort_-sykdom-og-vapenkjop--
7503014.html
">«Datalagringsdirektiv»
707 avslørte abort, sykdom og våpenkjøp
</a
> (Aftenposten
2014-
03-
14) - om
708 hvordan forskere har dokumentert hvordan innsamling av metadata om
709 telefoni og Internett-bruk kan være svært avslørende.
</li
>
711 <li
><a href=
"http://www.dagbladet.no/
2014/
03/
14/kultur/meninger/ideer/lordagskommentaren/agnes_ravatn/
32302856/
">Konsentrasjonssvikt
712 på pensum
</a
> (Dagbladet
2014-
03-
14) - Kommentar om hvordan (feil)
713 bruk IKT i skolen kan ødelegge mer enn det bidrar til læring.
</li
>
715 <li
><a href=
"http://doremusnor.wordpress.com/
2014/
02/
09/reservasjonsrettsstaten/
">Reservasjonsrettsstaten
</a
>
716 (blogg fra Doremus
2014-
02-
09) - morsom beskrivelse om hvordan
717 regjeringens forslag til reservasjonsrett for leger kan utvides til å
718 gjelde alles samvittighet.
</li
>
720 <li
><a href=
"http://www.aftenposten.no/meninger/kronikker/Autoritar-gjokunge-
7514915.html
">Autoritær
721 gjøkunge
</a
> (Aftenposten
2014-
03-
25) - Kronikk av Bjørn Stærk om
722 snurpenots-overvåkningen som varsleren Snowden dokumenterte.
</li
>
724 <li
><a href=
"http://blogg.friprog.no/
2014/
03/leveransekrise-i-offentlig-sektor-mener-mike-bracken-executive-director-of-digital-in-the-cabinet-office/
">Leveransekrise
725 i Offentlig sektor – mener Mike Bracken, Executive Director of Digital
726 in the Cabinet Office
</a
> (blogg fra Friprog-senteret
2014-
03-
26).
</li
>
728 <li
><a href=
"http://www.dagbladet.no/
2014/
03/
26/kultur/meninger/kronikk/etiopia/avlytting/
32499687/
">Norge
729 må stanse avlyttingen
</a
> (Dagbladet
2014-
03-
26) - leserinnlegg fra
730 Felix Horne der han ber om at Norge gjør en innsats for å få slutt på
731 overvåkning av innbyggerne som gjøres i Norge av Etiopiske
732 myndigheter.
</li
>
734 <li
><a href=
"http://www.aftenposten.no/meninger/kronikker/Demokrati-er-ingen-naturlig-styreform-
7521957.html
">Demokrati
735 er ingen naturlig styreform
</a
> (Aftenposten
2014-
04-
01) - kronikk av
736 Stein Ringen om hvordan demokrati som styreform går tapt når
737 innbyggerne tar det for gitt.
</li
>
739 <li
><a href=
"http://www.nrk.no/ytring/ytringsansvar-ere-enhver-tilladte_-
1.11618934">Ytringsansvar
740 ere Enhver tilladte!
</a
> (NRK Ytring
2014-
04-
01) - innspill fra Trygve
741 Svensson og Helge Svare om at hver enkelt av oss har et ansvar for å
742 ytre oss i den offentlige debatten.
</li
>
744 <li
><a href=
"http://www.aftenposten.no/meninger/Jeg-er-ingen-god-samfunnsborger-
7527128.html
">Jeg
745 er ingen god samfunnsborger
</a
> (Aftenposten
2014-
04-
16), kronikk av
746 Simen Tveitereid om alternative måter å motiveres i samfunnet, uten å
747 hige etter mer penger og flere ting.
</li
>
749 <li
><a href=
"http://www.aftenposten.no/meninger/debatt/Avgjorelsen-far-umiddelbar-virkning-
7531811.html
">DLD-dommen:
750 Avgjørelsen får umiddelbar virkning
</a
> (Aftenposten
2014-
04-
10) -
751 kronikk av Høyres Michael Tetzschner, en partiutbryter i DLD-saken som
752 stemte nei til DLD i Stortinget i
2011.
</li
>
754 <li
><a href=
"http://www.uhuru.biz/?p=
1466">Datalagringsdirektivets
755 endelikt
</a
> (blogg fra John Wessel-Aas
2014-
04-
11) - oppsummering
756 av hvordan direktivet ble funnet ugyldig i EU-domstolen.
</li
>
758 <li
><a href=
"http://www.vg.no/nyheter/meninger/kronikk-kapitulasjonspresidenten/a/
10147713/
">Kronikk:
759 Kapitulasjonspresidenten
</a
> (VG
2014-
04-
22) - kronikk av Einar
760 Kr. Steffenak om hvordan Stortingspresidenten og regjeringen viser sin
761 prinsippløshet i møte med Kina.
</li
>
763 <li
><a href=
"http://www.aftenposten.no/meninger/kronikker/Innerst-inne-er-alle-nordmenn-
7542617.html
">Innerst
764 inne er alle nordmenn
</a
> (Aftenposten
2014-
04-
27) - kronikk fra Bjørn
765 Stærk om hvordan vi i Vesten i stor grad baserer oss på en fantasi om
766 at alle i verden bærer på en drøm om å bli som oss.
</li
>
768 <li
><a href=
"http://www.aftenposten.no/viten/uviten/Det-italienske-senatet-gav-seg-selv-
134-milliarder-euro-i-sluttpakke--
7575312.html
">Det
769 italienske senatet gav seg selv
134 milliarder euro i sluttpakke
</a
>
770 (Aftenposten
2014-
06-
19) - forsker Simen Gaure forteller hvordan
771 løgner og fantasi fra nettkilder i stor grad blir akseptert som
772 sannhet - antagelig også av deg og meg.
</li
>
774 <li
><a href=
"http://www.dagbladet.no/
2014/
05/
30/kultur/meninger/kronikk/skole/
33576392/
">Et
775 forsvar for bråkmakerne
</a
> (Dagbladet
2014-
05-
30) - kronikk av Dag
776 Øystein Nome som beskriver hvordan dagens skole ikke fungerer så godt
777 for mange elever.
</li
>
779 <li
><a href=
"http://www.osloby.no/nyheter/Betalte-med-slitt-seddel---havnet-i-arresten-
7617208.html
">Betalte
780 med slitt seddel - havnet i arresten
</a
> (Osloby
2014-
06-
25)) -
781 dokumentasjon av Oslopolitiets angrep på vår alles rett til å ferdes
782 uten elektronisk sporing. Jeg bruker kontanter i så stor grad som
783 mulig da banken ikke har noe med hvor jeg er og hva jeg kjøper. Vi
784 som gjør dette risikerer som beskrevet overgrep som frihetsberøvelse
785 og registrering og lagring av fingeravtrykk og bilde i politiets
786 database over mistenkte.
</li
>
788 <li
><a href=
"http://www.aftenposten.no/meninger/leder/Fredsprisen-til-Snowden-
7620422.html
">Fredsprisen
789 til Snowden
</a
> (Aftenposten
2014-
06-
28) - leder som forklarer hvorfor
790 varsleren Snowden bør få fredsprisen.
</li
>
792 <li
><a href=
"http://www.dagbladet.no/
2014/
08/
01/kultur/meninger/dbmener/leder1/
34598010/
">Strategi
793 for politistaten
</a
> (Dagbladet
2014-
08-
01) - leder som advarer om
794 sterke krefter som bruker terrortrusselen til å lirke Norge nærmere å
795 bli en politistat.
</li
>
797 <li
><a href=
"http://www.nrk.no/ytring/vi-ma-tenke-nytt-om-narkotika-
1.11859322">Vi
798 må tenke nytt om narkotika
</a
> (NRK Ytring
2014-
08-
03) - Mark Lewis
799 forklarer hvorfor legalisering og offentlig kontroll av
800 narkotikamarkedet er mye bedre enn å overlate det til kriminelle.
</li
>
803 </ul
></p
>
808 <title>Debian Edu interview: Bernd Zeitzen
</title>
809 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Bernd_Zeitzen.html
</link>
810 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Bernd_Zeitzen.html
</guid>
811 <pubDate>Thu,
31 Jul
2014 08:
30:
00 +
0200</pubDate>
812 <description><p
>The complete and free “out of the box” software solution for
813 schools,
<a href=
"http://www.skolelinux.org/
">Debian Edu /
814 Skolelinux
</a
>, is used quite a lot in Germany, and one of the people
815 involved is Bernd Zeitzen, who show up on the project mailing lists
816 from time to time with interesting questions and tips on how to adjust
817 the setup. I managed to interview him this summer.
</p
>
819 <p
><strong
>Who are you, and how do you spend your days?
</strong
></p
>
821 <p
>My name is Bernd Zeitzen and I
'm married with Hedda, a self
822 employed physiotherapist. My former profession is tool maker, but I
823 haven
't worked for
30 years in this job.
30 years ago I started to
824 support my wife and become her officeworker and a few years later the
825 administrator for a small computer network, today based on Ubuntu
826 Server (Samba, OpenVPN). For her daily work she has to use Windows
827 Desktops because the software she needs to organize her business only
828 works with Windows . :-(
</p
>
830 <p
>In
1988 we started with one PC and DOS, then I learned to use
831 Windows
98,
2000, XP, …,
8, Ubuntu, MacOSX. Today we are running a
832 Linux server with
6 Windows clients and
10 persons (teacher of
833 children with special needs, speech therapist, occupational therapist,
834 psychologist and officeworkers) using our Samba shares via OpenVPN to
835 work with the documentations of our patients.
</p
>
837 <p
><strong
>How did you get in contact with the Skolelinux / Debian Edu
838 project?
</strong
></p
>
840 <p
>Two years ago a friend of mine asked me, if I want to get a job in
841 his school (
<a href=
"http://www.gymnasium-harsewinkel.de/
">Gymnasium
842 Harsewinkel
</a
>). They started with Skolelinux / Debian Edu and they
843 were looking for people to give support to the teachers using the
844 software and the network and teaching the pupils increasing their
845 computer skills in optional lessons. I
'm spending
4-
6 hours a week
846 with this job.
</p
>
848 <p
><strong
>What do you see as the advantages of Skolelinux / Debian
849 Edu?
</strong
></p
>
851 <p
>The independence.
</p
>
853 <p
>First: Every person is allowed to use, share and develop the
854 software. Even if you are poor, you are allowed to use the software
855 included in Skolelinux/Debian Edu and all the other Free Software.
</p
>
857 <p
>Second: The software runs on old machines and this gives us the
858 possibility to recycle computers, weeded out from offices. The
859 servers and desktops are running for more than two years and they are
860 working reliable.
</p
>
862 <p
>We have two servers (one tjener and one terminal server),
45
863 workstations in three classrooms and seven laptops as a mobile
864 solution for all classrooms. These machines are all booting from the
865 terminal server. In the moment we are installing
30 laptops as mobile
866 workstations. Then the pupils have the possibility to work with these
867 machines in their classrooms. Internet access is realized by a WLAN
868 router, connected to the schools network. This is all done without a
869 dedicated system administrator or a computer science teacher.
</p
>
871 <p
><strong
>What do you see as the disadvantages of Skolelinux / Debian
872 Edu?
</strong
></p
>
874 <p
>Teachers and pupils are Windows users.
&lt;Irony on
&gt; And Linux
875 isn
't cool. It
's software for freaks using the command line.
&lt;Irony
876 off
&gt; They don
't realize the stability of the system.
</p
>
878 <p
><strong
>Which free software do you use daily?
</strong
></p
>
880 <p
>Firefox, Thunderbird, LibreOffice, Ubuntu Server
12.04 (Samba,
881 Apache, MySQL, Joomla!, … and Skolelinux / Debian Edu)
</p
>
883 <p
><strong
>Which strategy do you believe is the right one to use to
884 get schools to use free software?
</strong
></p
>
886 <p
>In Germany we have the situation: every school is free to decide
887 which software they want to use. This decision is influenced by
888 teachers who learned to use Windows and MS Office. They buy a PC with
889 Windows preinstalled and an additional testing version of MS
890 Office. They don
't know about the possibility to use Free Software
891 instead. Another problem are the publisher of school books. They
892 develop their software, added to the school books, for Windows.
</p
>
897 <title>98.6 percent done with the Norwegian draft translation of Free Culture
</title>
898 <link>http://people.skolelinux.org/pere/blog/
98_6_percent_done_with_the_Norwegian_draft_translation_of_Free_Culture.html
</link>
899 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/
98_6_percent_done_with_the_Norwegian_draft_translation_of_Free_Culture.html
</guid>
900 <pubDate>Wed,
23 Jul
2014 22:
40:
00 +
0200</pubDate>
901 <description><p
>This summer I finally had time to continue working on the Norwegian
902 <a href=
"http://www.docbook.org/
">docbook
</a
> version of the
2004 book
903 <a href=
"http://free-culture.cc/
">Free Culture
</a
> by Lawrence Lessig,
904 to get a Norwegian text explaining the problems with todays copyright
905 law. Yesterday, I finally completed translated the book text. There
906 are still some foot/end notes left to translate, the colophon page
907 need to be rewritten, and a few words and phrases still need to be
908 translated, but the Norwegian text is ready for the first proof
909 reading. :) More spell checking is needed, and several illustrations
910 need to be cleaned up. The work stopped up because I had to give
911 priority to other projects the last year, and the progress graph of
912 the translation show this very well:
</p
>
914 <p
><img width=
"80%
" align=
"center
" src=
"https://github.com/petterreinholdtsen/free-culture-lessig/raw/master/progress.png
"></p
>
916 <p
>If you want to read the result, check out the
917 <a href=
"https://github.com/petterreinholdtsen/free-culture-lessig
">github
</a
>
918 project pages and the
919 <a href=
"https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.pdf?raw=true
">PDF
</a
>,
920 <a href=
"https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.epub?raw=true
">EPUB
</a
>
921 and HTML version available in the
922 <a href=
"https://github.com/petterreinholdtsen/free-culture-lessig/tree/master/archive
">archive
923 directory
</a
>.
</p
>
925 <p
>Please report typos, bugs and improvements to the github project if
926 you find any.
</p
>
931 <title>From English wiki to translated PDF and epub via Docbook
</title>
932 <link>http://people.skolelinux.org/pere/blog/From_English_wiki_to_translated_PDF_and_epub_via_Docbook.html
</link>
933 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/From_English_wiki_to_translated_PDF_and_epub_via_Docbook.html
</guid>
934 <pubDate>Tue,
17 Jun
2014 11:
30:
00 +
0200</pubDate>
935 <description><p
>The
<a href=
"http://www.skolelinux.org/
">Debian Edu / Skolelinux
936 project
</a
> provide an instruction manual for teachers, system
937 administrators and other users that contain useful tips for setting up
938 and maintaining a Debian Edu installation. This text is about how the
939 text processing of this manual is handled in the project.
</p
>
941 <p
>One goal of the project is to provide information in the native
942 language of its users, and for this we need to handle translations.
943 But we also want to make sure each language contain the same
944 information, so for this we need a good way to keep the translations
945 in sync. And we want it to be easy for our users to improve the
946 documentation, avoiding the need to learn special formats or tools to
947 contribute, and the obvious way to do this is to make it possible to
948 edit the documentation using a web browser. We also want it to be
949 easy for translators to keep the translation up to date, and give them
950 help in figuring out what need to be translated. Here is the list of
951 tools and the process we have found trying to reach all these
954 <p
>We maintain the authoritative source of our manual in the
955 <a href=
"https://wiki.debian.org/DebianEdu/Documentation/Wheezy/
">Debian
956 wiki
</a
>, as several wiki pages written in English. It consist of one
957 front page with references to the different chapters, several pages
958 for each chapter, and finally one
"collection page
" gluing all the
959 chapters together into one large web page (aka
960 <a href=
"https://wiki.debian.org/DebianEdu/Documentation/Wheezy/AllInOne
">the
961 AllInOne page
</a
>). The AllInOne page is the one used for further
962 processing and translations. Thanks to the fact that the
963 <a href=
"http://moinmo.in/
">MoinMoin
</a
> installation on
964 wiki.debian.org support exporting pages in
965 <a href=
"http://www.docbook.org/
">the Docbook format
</a
>, we can fetch
966 the list of pages to export using the raw version of the AllInOne
967 page, loop over each of them to generate a Docbook XML version of the
968 manual. This process also download images and transform image
969 references to use the locally downloaded images. The generated
970 Docbook XML files are slightly broken, so some post-processing is done
971 using the
<tt
>documentation/scripts/get_manual
</tt
> program, and the
972 result is a nice Docbook XML file (debian-edu-wheezy-manual.xml) and
973 a handfull of images. The XML file can now be used to generate PDF, HTML
974 and epub versions of the English manual. This is the basic step of
975 our process, making PDF (using dblatex), HTML (using xsltproc) and
976 epub (using dbtoepub) version from Docbook XML, and the resulting files
977 are placed in the debian-edu-doc-en binary package.
</p
>
979 <p
>But English documentation is not enough for us. We want translated
980 documentation too, and we want to make it easy for translators to
981 track the English original. For this we use the
982 <a href=
"http://packages.qa.debian.org/p/poxml.html
">poxml
</a
> package,
983 which allow us to transform the English Docbook XML file into a
984 translation file (a .pot file), usable with the normal gettext based
985 translation tools used by those translating free software. The pot
986 file is used to create and maintain translation files (several .po
987 files), which the translations update with the native language
988 translations of all titles, paragraphs and blocks of text in the
989 original. The next step is combining the original English Docbook XML
990 and the translation file (say debian-edu-wheezy-manual.nb.po), to
991 create a translated Docbook XML file (in this case
992 debian-edu-wheezy-manual.nb.xml). This translated (or partly
993 translated, if the translation is not complete) Docbook XML file can
994 then be used like the original to create a PDF, HTML and epub version
995 of the documentation.
</p
>
997 <p
>The translators use different tools to edit the .po files. We
999 <a href=
"http://www.kde.org/applications/development/lokalize/
">lokalize
</a
>,
1000 while some use emacs and vi, others can use web based editors like
1001 <a href=
"http://pootle.translatehouse.org/
">Poodle
</a
> or
1002 <a href=
"https://www.transifex.com/
">Transifex
</a
>. All we care about
1003 is where the .po file end up, in our git repository. Updated
1004 translations can either be committed directly to git, or submitted as
1005 <a href=
"https://bugs.debian.org/src:debian-edu-doc
">bug reports
1006 against the debian-edu-doc package
</a
>.
</p
>
1008 <p
>One challenge is images, which both might need to be translated (if
1009 they show translated user applications), and are needed in different
1010 formats when creating PDF and HTML versions (epub is a HTML version in
1011 this regard). For this we transform the original PNG images to the
1012 needed density and format during build, and have a way to provide
1013 translated images by storing translated versions in
1014 images/$LANGUAGECODE/. I am a bit unsure about the details here. The
1015 package maintainers know more.
</p
>
1017 <p
>If you wonder what the result look like, we provide
1018 <a href=
"http://maintainer.skolelinux.org/debian-edu-doc/
">the content
1019 of the documentation packages on the web
</a
>. See for example the
1020 <a href=
"http://maintainer.skolelinux.org/debian-edu-doc/it/debian-edu-wheezy-manual.pdf
">Italian
1021 PDF version
</a
> or the
1022 <a href=
"http://maintainer.skolelinux.org/debian-edu-doc/de/debian-edu-wheezy-manual.html
">German
1023 HTML version
</a
>. We do not yet build the epub version by default,
1024 but perhaps it will be done in the future.
</p
>
1026 <p
>To learn more, check out
1027 <a href=
"http://packages.qa.debian.org/d/debian-edu-doc.html
">the
1028 debian-edu-doc package
</a
>,
1029 <a href=
"https://wiki.debian.org/DebianEdu/Documentation/Wheezy/
">the
1030 manual on the wiki
</a
> and
1031 <a href=
"https://wiki.debian.org/DebianEdu/Documentation/Wheezy/Translations
">the
1032 translation instructions
</a
> in the manual.
</p
>
1037 <title>Hvordan enkelt laste ned filmer fra NRK med den
"nye
" løsningen
</title>
1038 <link>http://people.skolelinux.org/pere/blog/Hvordan_enkelt_laste_ned_filmer_fra_NRK_med_den__nye__l_sningen.html
</link>
1039 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Hvordan_enkelt_laste_ned_filmer_fra_NRK_med_den__nye__l_sningen.html
</guid>
1040 <pubDate>Mon,
16 Jun
2014 19:
20:
00 +
0200</pubDate>
1041 <description><p
>Jeg har fortsatt behov for å kunne laste ned innslag fra NRKs
1042 nettsted av og til for å se senere når jeg ikke er på nett, men
1043 <a href=
"http://people.skolelinux.org/pere/blog/Hvordan_enkelt_laste_ned_filmer_fra_NRK.html
">min
1044 oppskrift fra
2011</a
> sluttet å fungere da NRK byttet
1045 avspillermetode. I dag fikk jeg endelig lett etter oppdatert løsning,
1046 og jeg er veldig glad for å fortelle at den enkleste måten å laste ned
1047 innslag er å bruke siste versjon
2014.06.07 av
1048 <a href=
"http://rg3.github.io/youtube-dl/
">youtube-dl
</a
>. Støtten i
1049 youtube-dl
<a href=
"https://github.com/rg3/youtube-dl/issues/
2980">kom
1050 inn for
23 dager siden
</a
> og
1051 <a href=
"http://packages.qa.debian.org/y/youtube-dl.html
">versjonen i
1052 Debian
</a
> fungerer fint også som backport til Debian Wheezy. Det er
1053 et lite problem, det håndterer kun URLer med små bokstaver, men hvis
1054 en har en URL med store bokstaver kan en bare gjøre alle store om til
1055 små bokstaver for å få youtube-dl til å laste ned. Rapporterte
1057 <a href=
"https://github.com/rg3/youtube-dl/issues/
2980">problemet til
1058 utviklerne
</a
>, og antar de får fikset det snart.
</p
>
1060 <p
>Dermed er alt klart til å laste ned dokumentarene om
1061 <a href=
"http://tv.nrk.no/program/KOID23005014/usas-hemmelige-avlytting
">USAs
1062 hemmelige avlytting
</a
> og
1063 <a href=
"http://tv.nrk.no/program/KOID23005114/selskapene-bak-usas-avlytting
">Selskapene
1064 bak USAs avlytting
</a
>, i tillegg til
1065 <a href=
"http://tv.nrk.no/program/KOID20005814/et-moete-med-edward-snowden
">intervjuet
1066 med Edward Snowden gjort av den tyske tv-kanalen ARD
</a
>. Anbefaler
1067 alle å se disse, sammen med
1068 <a href=
"http://media.ccc.de/browse/congress/
2013/
30C3_-_5713_-_en_-_saal_2_-_201312301130_-_to_protect_and_infect_part_2_-_jacob.html
">foredraget
1069 til Jacob Appelbaum på siste CCC-konferanse
</a
>, for å forstå mer om
1070 hvordan overvåkningen av borgerne brer om seg.
</p
>
1072 <p
>Takk til gode venner på foreningen NUUGs IRC-kanal
1073 <a href=
"irc://irc.freenode.net/%
23nuug
">#nuug på irc.freenode.net
</a
>
1074 for tipsene som fikk meg i mål
</a
>.
</p
>
1076 <p
><strong
>Oppdatering
2014-
06-
17</strong
>: Etter at jeg publiserte
1077 denne, ble jeg tipset om bloggposten
1078 "<a href=
"http://ingvar.blog.redpill-linpro.com/
2012/
05/
31/downloading-hd-content-from-tv-nrk-no/
">Downloading
1079 HD content from tv.nrk.no
</a
>" av Ingvar Hagelund, som har alternativ
1080 implementasjon og tips for å lage mkv-fil med undertekstene inkludert.
1081 Kanskje den passer bedre for deg? I tillegg ble feilen i youtube-dl
1082 ble fikset litt senere ut på dagen i går, samt at youtube-dl fikk
1083 støtte for å laste ned undertitler. Takk til Anders Einar Hilden for
1084 god innsats og youtube-dl-utviklerne for rask respons.
</p
>
1089 <title>Free software car computer solution?
</title>
1090 <link>http://people.skolelinux.org/pere/blog/Free_software_car_computer_solution_.html
</link>
1091 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Free_software_car_computer_solution_.html
</guid>
1092 <pubDate>Thu,
29 May
2014 18:
45:
00 +
0200</pubDate>
1093 <description><p
>Dear lazyweb. I
'm planning to set up a small Raspberry Pi computer
1094 in my car, connected to
1095 <a href=
"http://www.dx.com/p/
400a-
4-
0-tft-lcd-digital-monitor-for-vehicle-parking-reverse-camera-
1440x272-
12v-dc-
57776">a
1096 small screen
</a
> next to the rear mirror. I plan to hook it up with a
1097 GPS and a USB wifi card too. The idea is to get my own
1098 "<a href=
"http://en.wikipedia.org/wiki/Carputer
">Carputer
</a
>". But I
1099 wonder if someone already created a good free software solution for
1100 such car computer.
</p
>
1102 <p
>This is my current wish list for such system:
</p
>
1106 <li
>Work on Raspberry Pi.
</li
>
1108 <li
>Show current speed limit based on location, and warn if going too
1109 fast (for example using color codes yellow and red on the screen,
1110 or make a sound). This could be done either using either data from
1111 <a href=
"http://www.openstreetmap.org/
">Openstreetmap
</a
> or OCR
1112 info gathered from a dashboard camera.
</li
>
1114 <li
>Track automatic toll road passes and their cost, show total spent
1115 and make it possible to calculate toll costs for planned
1118 <li
>Collect GPX tracks for use with OpenStreetMap.
</li
>
1120 <li
>Automatically detect and use any wireless connection to connect
1121 to home server. Try IP over DNS
1122 (
<a href=
"http://dev.kryo.se/iodine/
">iodine
</a
>) or ICMP
1123 (
<a href=
"http://code.gerade.org/hans/
">Hans
</a
>) if direct
1124 connection do not work.
</li
>
1126 <li
>Set up mesh network to talk to other cars with the same system,
1127 or some standard car mesh protocol.
</li
>
1129 <li
>Warn when approaching speed cameras and speed camera ranges
1130 (speed calculated between two cameras).
</li
>
1132 <li
>Suport dashboard/front facing camera to discover speed limits and
1133 run OCR to track registration number of passing cars.
</li
>
1137 <p
>If you know of any free software car computer system supporting
1138 some or all of these features, please let me know.
</p
>