]> pere.pagekite.me Git - homepage.git/blob - blog/index.rss
7758cf9ca4dd65f16d45c1288a54708ec0af02c7
[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>listadmin, the quick way to moderate mailman lists - nice free software</title>
11 <link>http://people.skolelinux.org/pere/blog/listadmin__the_quick_way_to_moderate_mailman_lists___nice_free_software.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/listadmin__the_quick_way_to_moderate_mailman_lists___nice_free_software.html</guid>
13 <pubDate>Wed, 22 Oct 2014 20:00:00 +0200</pubDate>
14 <description>&lt;p&gt;If you ever had to moderate a mailman list, like the ones on
15 alioth.debian.org, you know the web interface is fairly slow to
16 operate. First you visit one web page, enter the moderation password
17 and get a new page shown with a list of all the messages to moderate
18 and various options for each email address. This take a while for
19 every list you moderate, and you need to do it regularly to do a good
20 job as a list moderator. But there is a quick alternative,
21 &lt;a href=&quot;http://heim.ifi.uio.no/kjetilho/hacks/#listadmin&quot;&gt;the
22 listadmin program&lt;/a&gt;. It allow you to check lists for new messages
23 to moderate in a fraction of a second. Here is a test run on two
24 lists I recently took over:&lt;/p&gt;
25
26 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
27 % time listadmin xiph
28 fetching data for pkg-xiph-commits@lists.alioth.debian.org ... nothing in queue
29 fetching data for pkg-xiph-maint@lists.alioth.debian.org ... nothing in queue
30
31 real 0m1.709s
32 user 0m0.232s
33 sys 0m0.012s
34 %
35 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
36
37 &lt;p&gt;In 1.7 seconds I had checked two mailing lists and confirmed that
38 there are no message in the moderation queue. Every morning I
39 currently moderate 68 mailman lists, and it normally take around two
40 minutes. When I took over the two pkg-xiph lists above a few days
41 ago, there were 400 emails waiting in the moderator queue. It took me
42 less than 15 minutes to process them all using the listadmin
43 program.&lt;/p&gt;
44
45 &lt;p&gt;If you install
46 &lt;a href=&quot;https://tracker.debian.org/pkg/listadmin&quot;&gt;the listadmin
47 package&lt;/a&gt; from Debian and create a file &lt;tt&gt;~/.listadmin.ini&lt;/tt&gt;
48 with content like this, the moderation task is a breeze:&lt;/p&gt;
49
50 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
51 username@example.org
52 spamlevel 23
53 default discard
54 discard_if_reason &quot;Posting restricted to members only. Remove us from your mail list.&quot;
55
56 password secret
57 adminurl https://{domain}/mailman/admindb/{list}
58 mailman-list@lists.example.com
59
60 password hidden
61 other-list@otherserver.example.org
62 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
63
64 &lt;p&gt;There are other options to set as well. Check the manual page to
65 learn the details.&lt;/p&gt;
66
67 &lt;p&gt;If you are forced to moderate lists on a mailman installation where
68 the SSL certificate is self signed or not properly signed by a
69 generally accepted signing authority, you can set a environment
70 variable when calling listadmin to disable SSL verification:&lt;/p&gt;
71
72 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
73 PERL_LWP_SSL_VERIFY_HOSTNAME=0 listadmin
74 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
75
76 &lt;p&gt;If you want to moderate a subset of the lists you take care of, you
77 can provide an argument to the listadmin script like I do in the
78 initial screen dump (the xiph argument). Using an argument, only
79 lists matching the argument string will be processed. This make it
80 quick to accept messages if you notice the moderation request in your
81 email.&lt;/p&gt;
82
83 &lt;p&gt;Without the listadmin program, I would never be the moderator of 68
84 mailing lists, as I simply do not have time to spend on that if the
85 process was any slower. The listadmin program have saved me hours of
86 time I could spend elsewhere over the years. It truly is nice free
87 software.&lt;/p&gt;
88
89 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
90 activities, please send Bitcoin donations to my address
91 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&amp;label=PetterReinholdtsenBlog&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
92 </description>
93 </item>
94
95 <item>
96 <title>Debian Jessie, PXE and automatic firmware installation</title>
97 <link>http://people.skolelinux.org/pere/blog/Debian_Jessie__PXE_and_automatic_firmware_installation.html</link>
98 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Jessie__PXE_and_automatic_firmware_installation.html</guid>
99 <pubDate>Fri, 17 Oct 2014 14:10:00 +0200</pubDate>
100 <description>&lt;p&gt;When PXE installing laptops with Debian, I often run into the
101 problem that the WiFi card require some firmware to work properly.
102 And it has been a pain to fix this using preseeding in Debian.
103 Normally something more is needed. But thanks to
104 &lt;a href=&quot;https://packages.qa.debian.org/i/isenkram.html&quot;&gt;my isenkram
105 package&lt;/a&gt; and its recent tasksel extension, it has now become easy
106 to do this using simple preseeding.&lt;/p&gt;
107
108 &lt;p&gt;The isenkram-cli package provide tasksel tasks which will install
109 firmware for the hardware found in the machine (actually, requested by
110 the kernel modules for the hardware). (It can also install user space
111 programs supporting the hardware detected, but that is not the focus
112 of this story.)&lt;/p&gt;
113
114 &lt;p&gt;To get this working in the default installation, two preeseding
115 values are needed. First, the isenkram-cli package must be installed
116 into the target chroot (aka the hard drive) before tasksel is executed
117 in the pkgsel step of the debian-installer system. This is done by
118 preseeding the base-installer/includes debconf value to include the
119 isenkram-cli package. The package name is next passed to debootstrap
120 for installation. With the isenkram-cli package in place, tasksel
121 will automatically use the isenkram tasks to detect hardware specific
122 packages for the machine being installed and install them, because
123 isenkram-cli contain tasksel tasks.&lt;/p&gt;
124
125 &lt;p&gt;Second, one need to enable the non-free APT repository, because
126 most firmware unfortunately is non-free. This is done by preseeding
127 the apt-mirror-setup step. This is unfortunate, but for a lot of
128 hardware it is the only option in Debian.&lt;/p&gt;
129
130 &lt;p&gt;The end result is two lines needed in your preseeding file to get
131 firmware installed automatically by the installer:&lt;/p&gt;
132
133 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
134 base-installer base-installer/includes string isenkram-cli
135 apt-mirror-setup apt-setup/non-free boolean true
136 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
137
138 &lt;p&gt;The current version of isenkram-cli in testing/jessie will install
139 both firmware and user space packages when using this method. It also
140 do not work well, so use version 0.15 or later. Installing both
141 firmware and user space packages might give you a bit more than you
142 want, so I decided to split the tasksel task in two, one for firmware
143 and one for user space programs. The firmware task is enabled by
144 default, while the one for user space programs is not. This split is
145 implemented in the package currently in unstable.&lt;/p&gt;
146
147 &lt;p&gt;If you decide to give this a go, please let me know (via email) how
148 this recipe work for you. :)&lt;/p&gt;
149
150 &lt;p&gt;So, I bet you are wondering, how can this work. First and
151 foremost, it work because tasksel is modular, and driven by whatever
152 files it find in /usr/lib/tasksel/ and /usr/share/tasksel/. So the
153 isenkram-cli package place two files for tasksel to find. First there
154 is the task description file (/usr/share/tasksel/descs/isenkram.desc):&lt;/p&gt;
155
156 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
157 Task: isenkram-packages
158 Section: hardware
159 Description: Hardware specific packages (autodetected by isenkram)
160 Based on the detected hardware various hardware specific packages are
161 proposed.
162 Test-new-install: show show
163 Relevance: 8
164 Packages: for-current-hardware
165
166 Task: isenkram-firmware
167 Section: hardware
168 Description: Hardware specific firmware packages (autodetected by isenkram)
169 Based on the detected hardware various hardware specific firmware
170 packages are proposed.
171 Test-new-install: mark show
172 Relevance: 8
173 Packages: for-current-hardware-firmware
174 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
175
176 &lt;p&gt;The key parts are Test-new-install which indicate how the task
177 should be handled and the Packages line referencing to a script in
178 /usr/lib/tasksel/packages/. The scripts use other scripts to get a
179 list of packages to install. The for-current-hardware-firmware script
180 look like this to list relevant firmware for the machine:
181
182 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
183 #!/bin/sh
184 #
185 PATH=/usr/sbin:$PATH
186 export PATH
187 isenkram-autoinstall-firmware -l
188 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
189
190 &lt;p&gt;With those two pieces in place, the firmware is installed by
191 tasksel during the normal d-i run. :)&lt;/p&gt;
192
193 &lt;p&gt;If you want to test what tasksel will install when isenkram-cli is
194 installed, run &lt;tt&gt;DEBIAN_PRIORITY=critical tasksel --test
195 --new-install&lt;/tt&gt; to get the list of packages that tasksel would
196 install.&lt;/p&gt;
197
198 &lt;p&gt;&lt;a href=&quot;https://wiki.debian.org/DebianEdu/&quot;&gt;Debian Edu&lt;/a&gt; will be
199 pilots in testing this feature, as isenkram is used there now to
200 install firmware, replacing the earlier scripts.&lt;/p&gt;
201 </description>
202 </item>
203
204 <item>
205 <title>Ubuntu used to show the bread prizes at ICA Storo</title>
206 <link>http://people.skolelinux.org/pere/blog/Ubuntu_used_to_show_the_bread_prizes_at_ICA_Storo.html</link>
207 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Ubuntu_used_to_show_the_bread_prizes_at_ICA_Storo.html</guid>
208 <pubDate>Sat, 4 Oct 2014 15:20:00 +0200</pubDate>
209 <description>&lt;p&gt;Today I came across an unexpected Ubuntu boot screen. Above the
210 bread shelf on the ICA shop at Storo in Oslo, the grub menu of Ubuntu
211 with Linux kernel 3.2.0-23 (ie probably version 12.04 LTS) was stuck
212 on a screen normally showing the bread types and prizes:&lt;/p&gt;
213
214 &lt;p align=&quot;center&quot;&gt;&lt;img width=&quot;70%&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2014-10-04-ubuntu-ica-storo-crop.jpeg&quot;&gt;&lt;/p&gt;
215
216 &lt;p&gt;If it had booted as it was supposed to, I would never had known
217 about this hidden Linux installation. It is interesting what
218 &lt;a href=&quot;http://revealingerrors.com/&quot;&gt;errors can reveal&lt;/a&gt;.&lt;/p&gt;
219 </description>
220 </item>
221
222 <item>
223 <title>New lsdvd release version 0.17 is ready</title>
224 <link>http://people.skolelinux.org/pere/blog/New_lsdvd_release_version_0_17_is_ready.html</link>
225 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_lsdvd_release_version_0_17_is_ready.html</guid>
226 <pubDate>Sat, 4 Oct 2014 08:40:00 +0200</pubDate>
227 <description>&lt;p&gt;The &lt;a href=&quot;https://sourceforge.net/p/lsdvd/&quot;&gt;lsdvd project&lt;/a&gt;
228 got a new set of developers a few weeks ago, after the original
229 developer decided to step down and pass the project to fresh blood.
230 This project is now maintained by Petter Reinholdtsen and Steve
231 Dibb.&lt;/p&gt;
232
233 &lt;p&gt;I just wrapped up
234 &lt;a href=&quot;https://sourceforge.net/p/lsdvd/mailman/message/32896061/&quot;&gt;a
235 new lsdvd release&lt;/a&gt;, available in git or from
236 &lt;a href=&quot;https://sourceforge.net/projects/lsdvd/files/lsdvd/&quot;&gt;the
237 download page&lt;/a&gt;. This is the changelog dated 2014-10-03 for version
238 0.17.&lt;/p&gt;
239
240 &lt;ul&gt;
241
242 &lt;li&gt;Ignore &#39;phantom&#39; audio, subtitle tracks&lt;/li&gt;
243 &lt;li&gt;Check for garbage in the program chains, which indicate that a track is
244 non-existant, to work around additional copy protection&lt;/li&gt;
245 &lt;li&gt;Fix displaying content type for audio tracks, subtitles&lt;/li&gt;
246 &lt;li&gt;Fix pallete display of first entry&lt;/li&gt;
247 &lt;li&gt;Fix include orders&lt;/li&gt;
248 &lt;li&gt;Ignore read errors in titles that would not be displayed anyway&lt;/li&gt;
249 &lt;li&gt;Fix the chapter count&lt;/li&gt;
250 &lt;li&gt;Make sure the array size and the array limit used when initialising
251 the palette size is the same.&lt;/li&gt;
252 &lt;li&gt;Fix array printing.&lt;/li&gt;
253 &lt;li&gt;Correct subsecond calculations.&lt;/li&gt;
254 &lt;li&gt;Add sector information to the output format.&lt;/li&gt;
255 &lt;li&gt;Clean up code to be closer to ANSI C and compile without warnings
256 with more GCC compiler warnings.&lt;/li&gt;
257
258 &lt;/ul&gt;
259
260 &lt;p&gt;This change bring together patches for lsdvd in use in various
261 Linux and Unix distributions, as well as patches submitted to the
262 project the last nine years. Please check it out. :)&lt;/p&gt;
263 </description>
264 </item>
265
266 <item>
267 <title>How to test Debian Edu Jessie despite some fatal problems with the installer</title>
268 <link>http://people.skolelinux.org/pere/blog/How_to_test_Debian_Edu_Jessie_despite_some_fatal_problems_with_the_installer.html</link>
269 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_test_Debian_Edu_Jessie_despite_some_fatal_problems_with_the_installer.html</guid>
270 <pubDate>Fri, 26 Sep 2014 12:20:00 +0200</pubDate>
271 <description>&lt;p&gt;The &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux
272 project&lt;/a&gt; provide a Linux solution for schools, including a
273 powerful desktop with education software, a central server providing
274 web pages, user database, user home directories, central login and PXE
275 boot of both clients without disk and the installation to install Debian
276 Edu on machines with disk (and a few other services perhaps to small
277 to mention here). We in the Debian Edu team are currently working on
278 the Jessie based version, trying to get everything in shape before the
279 freeze, to avoid having to maintain our own package repository in the
280 future. The
281 &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Status/Jessie&quot;&gt;current
282 status&lt;/a&gt; can be seen on the Debian wiki, and there is still heaps of
283 work left. Some fatal problems block testing, breaking the installer,
284 but it is possible to work around these to get anyway. Here is a
285 recipe on how to get the installation limping along.&lt;/p&gt;
286
287 &lt;p&gt;First, download the test ISO via
288 &lt;a href=&quot;ftp://ftp.skolelinux.no/cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso&quot;&gt;ftp&lt;/a&gt;,
289 &lt;a href=&quot;http://ftp.skolelinux.no/cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso&quot;&gt;http&lt;/a&gt;
290 or rsync (use
291 ftp.skolelinux.org::cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso).
292 The ISO build was broken on Tuesday, so we do not get a new ISO every
293 12 hours or so, but thankfully the ISO we already got we are able to
294 install with some tweaking.&lt;/p&gt;
295
296 &lt;p&gt;When you get to the Debian Edu profile question, go to tty2
297 (use Alt-Ctrl-F2), run&lt;/p&gt;
298
299 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
300 nano /usr/bin/edu-eatmydata-install
301 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
302
303 &lt;p&gt;and add &#39;exit 0&#39; as the second line, disabling the eatmydata
304 optimization. Return to the installation, select the profile you want
305 and continue. Without this change, exim4-config will fail to install
306 due to a known bug in eatmydata.&lt;/p&gt;
307
308 &lt;p&gt;When you get the grub question at the end, answer /dev/sda (or if
309 this do not work, figure out what your correct value would be. All my
310 test machines need /dev/sda, so I have no advice if it do not fit
311 your need.&lt;/p&gt;
312
313 &lt;p&gt;If you installed a profile including a graphical desktop, log in as
314 root after the initial boot from hard drive, and install the
315 education-desktop-XXX metapackage. XXX can be kde, gnome, lxde, xfce
316 or mate. If you want several desktop options, install more than one
317 metapackage. Once this is done, reboot and you should have a working
318 graphical login screen. This workaround should no longer be needed
319 once the education-tasks package version 1.801 enter testing in two
320 days.&lt;/p&gt;
321
322 &lt;p&gt;I believe the ISO build will start working on two days when the new
323 tasksel package enter testing and Steve McIntyre get a chance to
324 update the debian-cd git repository. The eatmydata, grub and desktop
325 issues are already fixed in unstable and testing, and should show up
326 on the ISO as soon as the ISO build start working again. Well the
327 eatmydata optimization is really just disabled. The proper fix
328 require an upload by the eatmydata maintainer applying the patch
329 provided in bug &lt;a href=&quot;https://bugs.debian.org/702711&quot;&gt;#702711&lt;/a&gt;.
330 The rest have proper fixes in unstable.&lt;/p&gt;
331
332 &lt;p&gt;I hope this get you going with the installation testing, as we are
333 quickly running out of time trying to get our Jessie based
334 installation ready before the distribution freeze in a month.&lt;/p&gt;
335 </description>
336 </item>
337
338 <item>
339 <title>Suddenly I am the new upstream of the lsdvd command line tool</title>
340 <link>http://people.skolelinux.org/pere/blog/Suddenly_I_am_the_new_upstream_of_the_lsdvd_command_line_tool.html</link>
341 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Suddenly_I_am_the_new_upstream_of_the_lsdvd_command_line_tool.html</guid>
342 <pubDate>Thu, 25 Sep 2014 11:20:00 +0200</pubDate>
343 <description>&lt;p&gt;I use the &lt;a href=&quot;https://sourceforge.net/p/lsdvd/&quot;&gt;lsdvd tool&lt;/a&gt;
344 to handle my fairly large DVD collection. It is a nice command line
345 tool to get details about a DVD, like title, tracks, track length,
346 etc, in XML, Perl or human readable format. But lsdvd have not seen
347 any new development since 2006 and had a few irritating bugs affecting
348 its use with some DVDs. Upstream seemed to be dead, and in January I
349 sent a small probe asking for a version control repository for the
350 project, without any reply. But I use it regularly and would like to
351 get &lt;a href=&quot;https://packages.qa.debian.org/lsdvd&quot;&gt;an updated version
352 into Debian&lt;/a&gt;. So two weeks ago I tried harder to get in touch with
353 the project admin, and after getting a reply from him explaining that
354 he was no longer interested in the project, I asked if I could take
355 over. And yesterday, I became project admin.&lt;/p&gt;
356
357 &lt;p&gt;I&#39;ve been in touch with a Gentoo developer and the Debian
358 maintainer interested in joining forces to maintain the upstream
359 project, and I hope we can get a new release out fairly quickly,
360 collecting the patches spread around on the internet into on place.
361 I&#39;ve added the relevant Debian patches to the freshly created git
362 repository, and expect the Gentoo patches to make it too. If you got
363 a DVD collection and care about command line tools, check out
364 &lt;a href=&quot;https://sourceforge.net/p/lsdvd/git/ci/master/tree/&quot;&gt;the git source&lt;/a&gt; and join
365 &lt;a href=&quot;https://sourceforge.net/p/lsdvd/mailman/&quot;&gt;the project mailing
366 list&lt;/a&gt;. :)&lt;/p&gt;
367 </description>
368 </item>
369
370 <item>
371 <title>Hva henger under skibrua over E16 på Sollihøgda?</title>
372 <link>http://people.skolelinux.org/pere/blog/Hva_henger_under_skibrua_over_E16_p__Sollih_gda_.html</link>
373 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Hva_henger_under_skibrua_over_E16_p__Sollih_gda_.html</guid>
374 <pubDate>Sun, 21 Sep 2014 09:50:00 +0200</pubDate>
375 <description>&lt;p&gt;Rundt omkring i Oslo og Østlandsområdet henger det bokser over
376 veiene som jeg har lurt på hva gjør. De har ut fra plassering og
377 vinkling sett ut som bokser som sniffer ut et eller annet fra
378 forbipasserende trafikk, men det har vært uklart for meg hva det er de
379 leser av. Her om dagen tok jeg bilde av en slik boks som henger under
380 &lt;a href=&quot;http://www.openstreetmap.no/?zoom=19&amp;mlat=59.96396&amp;mlon=10.34443&amp;layers=B00000&quot;&gt;ei
381 skibru på Sollihøgda&lt;/a&gt;:&lt;/p&gt;
382
383 &lt;p align=&quot;center&quot;&gt;&lt;img width=&quot;60%&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2014-09-13-kapsch-sollihogda-crop.jpeg&quot;&gt;&lt;/p&gt;
384
385 &lt;p&gt;Boksen er tydelig merket «Kapsch &gt;&gt;&gt;», logoen til
386 &lt;a href=&quot;http://www.kapsch.net/&quot;&gt;det sveitsiske selskapet Kapsch&lt;/a&gt; som
387 blant annet lager sensorsystemer for veitrafikk. Men de lager mye
388 forskjellig, og jeg kjente ikke igjen boksen på utseendet etter en
389 kjapp titt på produktlista til selskapet.&lt;/p&gt;
390
391 &lt;p&gt;I og med at boksen henger over veien E16, en riksvei vedlikeholdt
392 av Statens Vegvesen, så antok jeg at det burde være mulig å bruke
393 REST-API-et som gir tilgang til vegvesenets database over veier,
394 skilter og annet veirelatert til å finne ut hva i alle dager dette
395 kunne være. De har både
396 &lt;a href=&quot;https://www.vegvesen.no/nvdb/api/dokumentasjon/datakatalog&quot;&gt;en
397 datakatalog&lt;/a&gt; og
398 &lt;a href=&quot;https://www.vegvesen.no/nvdb/api/dokumentasjon/sok&quot;&gt;et
399 søk&lt;/a&gt;, der en kan søke etter ulike typer oppføringer innen for et
400 gitt geografisk område. Jeg laget et enkelt shell-script for å hente
401 ut antall av en gitt type innenfor området skibrua dekker, og listet
402 opp navnet på typene som ble funnet. Orket ikke slå opp hvordan
403 URL-koding av aktuelle strenger kunne gjøres mer generisk, og brukte
404 en stygg sed-linje i stedet.&lt;/p&gt;
405
406 &lt;blockquote&gt;&lt;pre&gt;
407 #!/bin/sh
408 urlmap() {
409 sed \
410 -e &#39;s/ / /g&#39; -e &#39;s/{/%7B/g&#39; \
411 -e &#39;s/}/%7D/g&#39; -e &#39;s/\[/%5B/g&#39; \
412 -e &#39;s/\]/%5D/g&#39; -e &#39;s/ /%20/g&#39; \
413 -e &#39;s/,/%2C/g&#39; -e &#39;s/\&quot;/%22/g&#39; \
414 -e &#39;s/:/%3A/g&#39;
415 }
416
417 lookup() {
418 url=&quot;$1&quot;
419 curl -s -H &#39;Accept: application/vnd.vegvesen.nvdb-v1+xml&#39; \
420 &quot;https://www.vegvesen.no/nvdb/api$url&quot; | xmllint --format -
421 }
422
423 for id in $(seq 1 874) ; do
424 search=&quot;{
425 lokasjon: {
426 bbox: \&quot;10.34425,59.96386,10.34458,59.96409\&quot;,
427 srid: \&quot;WGS84\&quot;
428 },
429 objektTyper: [{
430 id: $id, antall: 10
431 }]
432 }&quot;
433
434 query=/sok?kriterie=$(echo $search | urlmap)
435 if lookup &quot;$query&quot; |
436 grep -q &#39;&amp;lt;totaltAntallReturnert&gt;0&amp;lt;&#39;
437 then
438 :
439 else
440 echo $id
441 lookup &quot;/datakatalog/objekttyper/$id&quot; |grep &#39;^ &amp;lt;navn&gt;&#39;
442 fi
443 done
444
445 exit 0
446 &lt;/pre&gt;&lt;/blockquote&gt;
447
448 Aktuelt ID-område 1-874 var riktig i datakatalogen da jeg laget
449 scriptet. Det vil endre seg over tid. Skriptet listet så opp
450 aktuelle typer i og rundt skibrua:
451
452 &lt;blockquote&gt;&lt;pre&gt;
453 5
454 &amp;lt;navn&gt;Rekkverk&amp;lt;/navn&gt;
455 14
456 &amp;lt;navn&gt;Rekkverksende&amp;lt;/navn&gt;
457 47
458 &amp;lt;navn&gt;Trafikklomme&amp;lt;/navn&gt;
459 49
460 &amp;lt;navn&gt;Trafikkøy&amp;lt;/navn&gt;
461 60
462 &amp;lt;navn&gt;Bru&amp;lt;/navn&gt;
463 79
464 &amp;lt;navn&gt;Stikkrenne/Kulvert&amp;lt;/navn&gt;
465 80
466 &amp;lt;navn&gt;Grøft, åpen&amp;lt;/navn&gt;
467 86
468 &amp;lt;navn&gt;Belysningsstrekning&amp;lt;/navn&gt;
469 95
470 &amp;lt;navn&gt;Skiltpunkt&amp;lt;/navn&gt;
471 96
472 &amp;lt;navn&gt;Skiltplate&amp;lt;/navn&gt;
473 98
474 &amp;lt;navn&gt;Referansestolpe&amp;lt;/navn&gt;
475 99
476 &amp;lt;navn&gt;Vegoppmerking, langsgående&amp;lt;/navn&gt;
477 105
478 &amp;lt;navn&gt;Fartsgrense&amp;lt;/navn&gt;
479 106
480 &amp;lt;navn&gt;Vinterdriftsstrategi&amp;lt;/navn&gt;
481 172
482 &amp;lt;navn&gt;Trafikkdeler&amp;lt;/navn&gt;
483 241
484 &amp;lt;navn&gt;Vegdekke&amp;lt;/navn&gt;
485 293
486 &amp;lt;navn&gt;Breddemåling&amp;lt;/navn&gt;
487 301
488 &amp;lt;navn&gt;Kantklippareal&amp;lt;/navn&gt;
489 318
490 &amp;lt;navn&gt;Snø-/isrydding&amp;lt;/navn&gt;
491 445
492 &amp;lt;navn&gt;Skred&amp;lt;/navn&gt;
493 446
494 &amp;lt;navn&gt;Dokumentasjon&amp;lt;/navn&gt;
495 452
496 &amp;lt;navn&gt;Undergang&amp;lt;/navn&gt;
497 528
498 &amp;lt;navn&gt;Tverrprofil&amp;lt;/navn&gt;
499 532
500 &amp;lt;navn&gt;Vegreferanse&amp;lt;/navn&gt;
501 534
502 &amp;lt;navn&gt;Region&amp;lt;/navn&gt;
503 535
504 &amp;lt;navn&gt;Fylke&amp;lt;/navn&gt;
505 536
506 &amp;lt;navn&gt;Kommune&amp;lt;/navn&gt;
507 538
508 &amp;lt;navn&gt;Gate&amp;lt;/navn&gt;
509 539
510 &amp;lt;navn&gt;Transportlenke&amp;lt;/navn&gt;
511 540
512 &amp;lt;navn&gt;Trafikkmengde&amp;lt;/navn&gt;
513 570
514 &amp;lt;navn&gt;Trafikkulykke&amp;lt;/navn&gt;
515 571
516 &amp;lt;navn&gt;Ulykkesinvolvert enhet&amp;lt;/navn&gt;
517 572
518 &amp;lt;navn&gt;Ulykkesinvolvert person&amp;lt;/navn&gt;
519 579
520 &amp;lt;navn&gt;Politidistrikt&amp;lt;/navn&gt;
521 583
522 &amp;lt;navn&gt;Vegbredde&amp;lt;/navn&gt;
523 591
524 &amp;lt;navn&gt;Høydebegrensning&amp;lt;/navn&gt;
525 592
526 &amp;lt;navn&gt;Nedbøyningsmåling&amp;lt;/navn&gt;
527 597
528 &amp;lt;navn&gt;Støy-luft, Strekningsdata&amp;lt;/navn&gt;
529 601
530 &amp;lt;navn&gt;Oppgravingsdata&amp;lt;/navn&gt;
531 602
532 &amp;lt;navn&gt;Oppgravingslag&amp;lt;/navn&gt;
533 603
534 &amp;lt;navn&gt;PMS-parsell&amp;lt;/navn&gt;
535 604
536 &amp;lt;navn&gt;Vegnormalstrekning&amp;lt;/navn&gt;
537 605
538 &amp;lt;navn&gt;Værrelatert strekning&amp;lt;/navn&gt;
539 616
540 &amp;lt;navn&gt;Feltstrekning&amp;lt;/navn&gt;
541 617
542 &amp;lt;navn&gt;Adressepunkt&amp;lt;/navn&gt;
543 626
544 &amp;lt;navn&gt;Friksjonsmåleserie&amp;lt;/navn&gt;
545 629
546 &amp;lt;navn&gt;Vegdekke, flatelapping&amp;lt;/navn&gt;
547 639
548 &amp;lt;navn&gt;Kurvatur, horisontalelement&amp;lt;/navn&gt;
549 640
550 &amp;lt;navn&gt;Kurvatur, vertikalelement&amp;lt;/navn&gt;
551 642
552 &amp;lt;navn&gt;Kurvatur, vertikalpunkt&amp;lt;/navn&gt;
553 643
554 &amp;lt;navn&gt;Statistikk, trafikkmengde&amp;lt;/navn&gt;
555 647
556 &amp;lt;navn&gt;Statistikk, vegbredde&amp;lt;/navn&gt;
557 774
558 &amp;lt;navn&gt;Nedbøyningsmåleserie&amp;lt;/navn&gt;
559 775
560 &amp;lt;navn&gt;ATK, influensstrekning&amp;lt;/navn&gt;
561 794
562 &amp;lt;navn&gt;Systemobjekt&amp;lt;/navn&gt;
563 810
564 &amp;lt;navn&gt;Vinterdriftsklasse&amp;lt;/navn&gt;
565 821
566 &amp;lt;navn&gt;Funksjonell vegklasse&amp;lt;/navn&gt;
567 825
568 &amp;lt;navn&gt;Kurvatur, stigning&amp;lt;/navn&gt;
569 838
570 &amp;lt;navn&gt;Vegbredde, beregnet&amp;lt;/navn&gt;
571 862
572 &amp;lt;navn&gt;Reisetidsregistreringspunkt&amp;lt;/navn&gt;
573 871
574 &amp;lt;navn&gt;Bruksklasse&amp;lt;/navn&gt;
575 &lt;/pre&gt;&lt;/blockquote&gt;
576
577 &lt;p&gt;Av disse ser ID 775 og 862 mest relevant ut. ID 775 antar jeg
578 refererer til fotoboksen som står like ved brua, mens
579 «Reisetidsregistreringspunkt» kanskje kan være boksen som henger der.
580 Hvordan finner jeg så ut hva dette kan være for noe. En titt på
581 &lt;a href=&quot;http://labs.vegdata.no/nvdb-datakatalog/862-Reisetidsregistreringspunkt/&quot;&gt;datakatalogsiden
582 for ID 862/Reisetidsregistreringspunkt&lt;/a&gt; viser at det er finnes 53
583 slike målere i Norge, og hvor de er plassert, men gir ellers få
584 detaljer. Det er plassert 40 på østlandet og 13 i Trondheimsregionen.
585 Men siden nevner «AutoPASS», og hvis en slår opp oppføringen på
586 Sollihøgda nevner den «Ciber AS» som ID for eksternt system. (Kan det
587 være snakk om
588 &lt;a href=&quot;http://www.proff.no/selskap/ciber-norge-as/oslo/internettdesign-og-programmering/Z0I3KMF4/&quot;&gt;Ciber
589 Norge AS&lt;/a&gt;, et selskap eid av Ciber Europe Bv?) Et nettsøk på
590 «Ciber AS autopass» fører meg til en artikkel fra NRK Trøndelag i
591 2013 med tittel
592 «&lt;a href=&quot;http://www.nrk.no/trondelag/sjekk-dette-hvis-du-vil-unnga-ko-1.11327947&quot;&gt;Sjekk
593 dette hvis du vil unngå kø&lt;/a&gt;». Artikkelen henviser til vegvesenets
594 nettside
595 &lt;a href=&quot;http://www.reisetider.no/reisetid/forside.html&quot;&gt;reisetider.no&lt;/a&gt;
596 som har en
597 &lt;a href=&quot;http://www.reisetider.no/reisetid/omrade.html?omrade=5&quot;&gt;kartside
598 for Østlandet&lt;/a&gt; som viser at det måles mellom Sandvika og Sollihøgda.
599 Det kan dermed se ut til at jeg har funnet ut hva boksene gjør.&lt;/p&gt;
600
601 &lt;p&gt;Hvis det stemmer, så er dette bokser som leser av AutoPASS-ID-en
602 til alle passerende biler med AutoPASS-brikke, og dermed gjør det mulig
603 for de som kontrollerer boksene å holde rede på hvor en gitt bil er
604 når den passerte et slikt målepunkt. NRK-artikkelen forteller at
605 denne informasjonen i dag kun brukes til å koble to
606 AutoPASS-brikkepasseringer passeringer sammen for å beregne
607 reisetiden, og at bruken er godkjent av Datatilsynet. Det er desverre
608 ikke mulig for en sjåfør som passerer under en slik boks å kontrollere
609 at AutoPASS-ID-en kun brukes til dette i dag og i fremtiden.&lt;/p&gt;
610
611 &lt;p&gt;I tillegg til denne type AutoPASS-sniffere vet jeg at det også
612 finnes mange automatiske stasjoner som tar betalt pr. passering (aka
613 bomstasjoner), og der lagres informasjon om tid, sted og bilnummer i
614 10 år. Finnes det andre slike sniffere plassert ut på veiene?&lt;/p&gt;
615
616 &lt;p&gt;Personlig har jeg valgt å ikke bruke AutoPASS-brikke, for å gjøre
617 det vanskeligere og mer kostbart for de som vil invadere privatsfæren
618 og holde rede på hvor bilen min beveger seg til enhver tid. Jeg håper
619 flere vil gjøre det samme, selv om det gir litt høyere private
620 utgifter (dyrere bompassering). Vern om privatsfæren koster i disse
621 dager.&lt;/p&gt;
622
623 &lt;p&gt;Takk til Jan Kristian Jensen i Statens Vegvesen for tips om
624 dokumentasjon på vegvesenets REST-API.&lt;/p&gt;
625 </description>
626 </item>
627
628 <item>
629 <title>Speeding up the Debian installer using eatmydata and dpkg-divert</title>
630 <link>http://people.skolelinux.org/pere/blog/Speeding_up_the_Debian_installer_using_eatmydata_and_dpkg_divert.html</link>
631 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Speeding_up_the_Debian_installer_using_eatmydata_and_dpkg_divert.html</guid>
632 <pubDate>Tue, 16 Sep 2014 14:00:00 +0200</pubDate>
633 <description>&lt;p&gt;The &lt;a href=&quot;https://www.debian.org/&quot;&gt;Debian&lt;/a&gt; installer could be
634 a lot quicker. When we install more than 2000 packages in
635 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux / Debian Edu&lt;/a&gt; using
636 tasksel in the installer, unpacking the binary packages take forever.
637 A part of the slow I/O issue was discussed in
638 &lt;a href=&quot;https://bugs.debian.org/613428&quot;&gt;bug #613428&lt;/a&gt; about too
639 much file system sync-ing done by dpkg, which is the package
640 responsible for unpacking the binary packages. Other parts (like code
641 executed by postinst scripts) might also sync to disk during
642 installation. All this sync-ing to disk do not really make sense to
643 me. If the machine crash half-way through, I start over, I do not try
644 to salvage the half installed system. So the failure sync-ing is
645 supposed to protect against, hardware or system crash, is not really
646 relevant while the installer is running.&lt;/p&gt;
647
648 &lt;p&gt;A few days ago, I thought of a way to get rid of all the file
649 system sync()-ing in a fairly non-intrusive way, without the need to
650 change the code in several packages. The idea is not new, but I have
651 not heard anyone propose the approach using dpkg-divert before. It
652 depend on the small and clever package
653 &lt;a href=&quot;https://packages.qa.debian.org/eatmydata&quot;&gt;eatmydata&lt;/a&gt;, which
654 uses LD_PRELOAD to replace the system functions for syncing data to
655 disk with functions doing nothing, thus allowing programs to live
656 dangerous while speeding up disk I/O significantly. Instead of
657 modifying the implementation of dpkg, apt and tasksel (which are the
658 packages responsible for selecting, fetching and installing packages),
659 it occurred to me that we could just divert the programs away, replace
660 them with a simple shell wrapper calling
661 &quot;eatmydata&amp;nbsp;$program&amp;nbsp;$@&quot;, to get the same effect.
662 Two days ago I decided to test the idea, and wrapped up a simple
663 implementation for the Debian Edu udeb.&lt;/p&gt;
664
665 &lt;p&gt;The effect was stunning. In my first test it reduced the running
666 time of the pkgsel step (installing tasks) from 64 to less than 44
667 minutes (20 minutes shaved off the installation) on an old Dell
668 Latitude D505 machine. I am not quite sure what the optimised time
669 would have been, as I messed up the testing a bit, causing the debconf
670 priority to get low enough for two questions to pop up during
671 installation. As soon as I saw the questions I moved the installation
672 along, but do not know how long the question were holding up the
673 installation. I did some more measurements using Debian Edu Jessie,
674 and got these results. The time measured is the time stamp in
675 /var/log/syslog between the &quot;pkgsel: starting tasksel&quot; and the
676 &quot;pkgsel: finishing up&quot; lines, if you want to do the same measurement
677 yourself. In Debian Edu, the tasksel dialog do not show up, and the
678 timing thus do not depend on how quickly the user handle the tasksel
679 dialog.&lt;/p&gt;
680
681 &lt;p&gt;&lt;table&gt;
682
683 &lt;tr&gt;
684 &lt;th&gt;Machine/setup&lt;/th&gt;
685 &lt;th&gt;Original tasksel&lt;/th&gt;
686 &lt;th&gt;Optimised tasksel&lt;/th&gt;
687 &lt;th&gt;Reduction&lt;/th&gt;
688 &lt;/tr&gt;
689
690 &lt;tr&gt;
691 &lt;td&gt;Latitude D505 Main+LTSP LXDE&lt;/td&gt;
692 &lt;td&gt;64 min (07:46-08:50)&lt;/td&gt;
693 &lt;td&gt;&lt;44 min (11:27-12:11)&lt;/td&gt;
694 &lt;td&gt;&gt;20 min 18%&lt;/td&gt;
695 &lt;/tr&gt;
696
697 &lt;tr&gt;
698 &lt;td&gt;Latitude D505 Roaming LXDE&lt;/td&gt;
699 &lt;td&gt;57 min (08:48-09:45)&lt;/td&gt;
700 &lt;td&gt;34 min (07:43-08:17)&lt;/td&gt;
701 &lt;td&gt;23 min 40%&lt;/td&gt;
702 &lt;/tr&gt;
703
704 &lt;tr&gt;
705 &lt;td&gt;Latitude D505 Minimal&lt;/td&gt;
706 &lt;td&gt;22 min (10:37-10:59)&lt;/td&gt;
707 &lt;td&gt;11 min (11:16-11:27)&lt;/td&gt;
708 &lt;td&gt;11 min 50%&lt;/td&gt;
709 &lt;/tr&gt;
710
711 &lt;tr&gt;
712 &lt;td&gt;Thinkpad X200 Minimal&lt;/td&gt;
713 &lt;td&gt;6 min (08:19-08:25)&lt;/td&gt;
714 &lt;td&gt;4 min (08:04-08:08)&lt;/td&gt;
715 &lt;td&gt;2 min 33%&lt;/td&gt;
716 &lt;/tr&gt;
717
718 &lt;tr&gt;
719 &lt;td&gt;Thinkpad X200 Roaming KDE&lt;/td&gt;
720 &lt;td&gt;19 min (09:21-09:40)&lt;/td&gt;
721 &lt;td&gt;15 min (10:25-10:40)&lt;/td&gt;
722 &lt;td&gt;4 min 21%&lt;/td&gt;
723 &lt;/tr&gt;
724
725 &lt;/table&gt;&lt;/p&gt;
726
727 &lt;p&gt;The test is done using a netinst ISO on a USB stick, so some of the
728 time is spent downloading packages. The connection to the Internet
729 was 100Mbit/s during testing, so downloading should not be a
730 significant factor in the measurement. Download typically took a few
731 seconds to a few minutes, depending on the amount of packages being
732 installed.&lt;/p&gt;
733
734 &lt;p&gt;The speedup is implemented by using two hooks in
735 &lt;a href=&quot;https://www.debian.org/devel/debian-installer/&quot;&gt;Debian
736 Installer&lt;/a&gt;, the pre-pkgsel.d hook to set up the diverts, and the
737 finish-install.d hook to remove the divert at the end of the
738 installation. I picked the pre-pkgsel.d hook instead of the
739 post-base-installer.d hook because I test using an ISO without the
740 eatmydata package included, and the post-base-installer.d hook in
741 Debian Edu can only operate on packages included in the ISO. The
742 negative effect of this is that I am unable to activate this
743 optimization for the kernel installation step in d-i. If the code is
744 moved to the post-base-installer.d hook, the speedup would be larger
745 for the entire installation.&lt;/p&gt;
746
747 &lt;p&gt;I&#39;ve implemented this in the
748 &lt;a href=&quot;https://packages.qa.debian.org/debian-edu-install&quot;&gt;debian-edu-install&lt;/a&gt;
749 git repository, and plan to provide the optimization as part of the
750 Debian Edu installation. If you want to test this yourself, you can
751 create two files in the installer (or in an udeb). One shell script
752 need do go into /usr/lib/pre-pkgsel.d/, with content like this:&lt;/p&gt;
753
754 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
755 #!/bin/sh
756 set -e
757 . /usr/share/debconf/confmodule
758 info() {
759 logger -t my-pkgsel &quot;info: $*&quot;
760 }
761 error() {
762 logger -t my-pkgsel &quot;error: $*&quot;
763 }
764 override_install() {
765 apt-install eatmydata || true
766 if [ -x /target/usr/bin/eatmydata ] ; then
767 for bin in dpkg apt-get aptitude tasksel ; do
768 file=/usr/bin/$bin
769 # Test that the file exist and have not been diverted already.
770 if [ -f /target$file ] ; then
771 info &quot;diverting $file using eatmydata&quot;
772 printf &quot;#!/bin/sh\neatmydata $bin.distrib \&quot;\$@\&quot;\n&quot; \
773 &gt; /target$file.edu
774 chmod 755 /target$file.edu
775 in-target dpkg-divert --package debian-edu-config \
776 --rename --quiet --add $file
777 ln -sf ./$bin.edu /target$file
778 else
779 error &quot;unable to divert $file, as it is missing.&quot;
780 fi
781 done
782 else
783 error &quot;unable to find /usr/bin/eatmydata after installing the eatmydata pacage&quot;
784 fi
785 }
786
787 override_install
788 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
789
790 &lt;p&gt;To clean up, another shell script should go into
791 /usr/lib/finish-install.d/ with code like this:
792
793 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
794 #! /bin/sh -e
795 . /usr/share/debconf/confmodule
796 error() {
797 logger -t my-finish-install &quot;error: $@&quot;
798 }
799 remove_install_override() {
800 for bin in dpkg apt-get aptitude tasksel ; do
801 file=/usr/bin/$bin
802 if [ -x /target$file.edu ] ; then
803 rm /target$file
804 in-target dpkg-divert --package debian-edu-config \
805 --rename --quiet --remove $file
806 rm /target$file.edu
807 else
808 error &quot;Missing divert for $file.&quot;
809 fi
810 done
811 sync # Flush file buffers before continuing
812 }
813
814 remove_install_override
815 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
816
817 &lt;p&gt;In Debian Edu, I placed both code fragments in a separate script
818 edu-eatmydata-install and call it from the pre-pkgsel.d and
819 finish-install.d scripts.&lt;/p&gt;
820
821 &lt;p&gt;By now you might ask if this change should get into the normal
822 Debian installer too? I suspect it should, but am not sure the
823 current debian-installer coordinators find it useful enough. It also
824 depend on the side effects of the change. I&#39;m not aware of any, but I
825 guess we will see if the change is safe after some more testing.
826 Perhaps there is some package in Debian depending on sync() and
827 fsync() having effect? Perhaps it should go into its own udeb, to
828 allow those of us wanting to enable it to do so without affecting
829 everyone.&lt;/p&gt;
830
831 &lt;p&gt;Update 2014-09-24: Since a few days ago, enabling this optimization
832 will break installation of all programs using gnutls because of
833 &lt;a href=&quot;https://bugs.debian.org/702711&quot;&gt;bug #702711&lt;/a&gt;. An updated
834 eatmydata package in Debian will solve it.&lt;/p&gt;
835
836 &lt;p&gt;Update 2014-10-17: The bug mentioned above is fixed in testing and
837 the optimization work again. And I have discovered that the
838 dpkg-divert trick is not really needed and implemented a slightly
839 simpler approach as part of the debian-edu-install package. See
840 tools/edu-eatmydata-install in the source package.&lt;/p&gt;
841 </description>
842 </item>
843
844 <item>
845 <title>Good bye subkeys.pgp.net, welcome pool.sks-keyservers.net</title>
846 <link>http://people.skolelinux.org/pere/blog/Good_bye_subkeys_pgp_net__welcome_pool_sks_keyservers_net.html</link>
847 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Good_bye_subkeys_pgp_net__welcome_pool_sks_keyservers_net.html</guid>
848 <pubDate>Wed, 10 Sep 2014 13:10:00 +0200</pubDate>
849 <description>&lt;p&gt;Yesterday, I had the pleasure of attending a talk with the
850 &lt;a href=&quot;http://www.nuug.no/&quot;&gt;Norwegian Unix User Group&lt;/a&gt; about
851 &lt;a href=&quot;http://www.nuug.no/aktiviteter/20140909-sks-keyservers/&quot;&gt;the
852 OpenPGP keyserver pool sks-keyservers.net&lt;/a&gt;, and was very happy to
853 learn that there is a large set of publicly available key servers to
854 use when looking for peoples public key. So far I have used
855 subkeys.pgp.net, and some times wwwkeys.nl.pgp.net when the former
856 were misbehaving, but those days are ended. The servers I have used
857 up until yesterday have been slow and some times unavailable. I hope
858 those problems are gone now.&lt;/p&gt;
859
860 &lt;p&gt;Behind the round robin DNS entry of the
861 &lt;a href=&quot;https://sks-keyservers.net/&quot;&gt;sks-keyservers.net&lt;/a&gt; service
862 there is a pool of more than 100 keyservers which are checked every
863 day to ensure they are well connected and up to date. It must be
864 better than what I have used so far. :)&lt;/p&gt;
865
866 &lt;p&gt;Yesterdays speaker told me that the service is the default
867 keyserver provided by the default configuration in GnuPG, but this do
868 not seem to be used in Debian. Perhaps it should?&lt;/p&gt;
869
870 &lt;p&gt;Anyway, I&#39;ve updated my ~/.gnupg/options file to now include this
871 line:&lt;/p&gt;
872
873 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
874 keyserver pool.sks-keyservers.net
875 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
876
877 &lt;p&gt;With GnuPG version 2 one can also locate the keyserver using SRV
878 entries in DNS. Just for fun, I did just that at work, so now every
879 user of GnuPG at the University of Oslo should find a OpenGPG
880 keyserver automatically should their need it:&lt;/p&gt;
881
882 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
883 % host -t srv _pgpkey-http._tcp.uio.no
884 _pgpkey-http._tcp.uio.no has SRV record 0 100 11371 pool.sks-keyservers.net.
885 %
886 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
887
888 &lt;p&gt;Now if only
889 &lt;a href=&quot;http://ietfreport.isoc.org/idref/draft-shaw-openpgp-hkp/&quot;&gt;the
890 HKP lookup protocol&lt;/a&gt; supported finding signature paths, I would be
891 very happy. It can look up a given key or search for a user ID, but I
892 normally do not want that, but to find a trust path from my key to
893 another key. Given a user ID or key ID, I would like to find (and
894 download) the keys representing a signature path from my key to the
895 key in question, to be able to get a trust path between the two keys.
896 This is as far as I can tell not possible today. Perhaps something
897 for a future version of the protocol?&lt;/p&gt;
898 </description>
899 </item>
900
901 <item>
902 <title>Do you need an agreement with MPEG-LA to publish and broadcast H.264 video in Norway?</title>
903 <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>
904 <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>
905 <pubDate>Mon, 25 Aug 2014 22:10:00 +0200</pubDate>
906 <description>&lt;p&gt;Two years later, I am still not sure if it is legal here in Norway
907 to use or publish a video in H.264 or MPEG4 format edited by the
908 commercially licensed video editors, without limiting the use to
909 create &quot;personal&quot; or &quot;non-commercial&quot; videos or get a license
910 agreement with &lt;a href=&quot;http://www.mpegla.com&quot;&gt;MPEG LA&lt;/a&gt;. If one
911 want to publish and broadcast video in a non-personal or commercial
912 setting, it might be that those tools can not be used, or that video
913 format can not be used, without breaking their copyright license. I
914 am not sure.
915 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Trenger_en_avtale_med_MPEG_LA_for___publisere_og_kringkaste_H_264_video_.html&quot;&gt;Back
916 then&lt;/a&gt;, I found that the copyright license terms for Adobe Premiere
917 and Apple Final Cut Pro both specified that one could not use the
918 program to produce anything else without a patent license from MPEG
919 LA. The issue is not limited to those two products, though. Other
920 much used products like those from Avid and Sorenson Media have terms
921 of use are similar to those from Adobe and Apple. The complicating
922 factor making me unsure if those terms have effect in Norway or not is
923 that the patents in question are not valid in Norway, but copyright
924 licenses are.&lt;/p&gt;
925
926 &lt;p&gt;These are the terms for Avid Artist Suite, according to their
927 &lt;a href=&quot;http://www.avid.com/US/about-avid/legal-notices/legal-enduserlicense2&quot;&gt;published
928 end user&lt;/a&gt;
929 &lt;a href=&quot;http://www.avid.com/static/resources/common/documents/corporate/LICENSE.pdf&quot;&gt;license
930 text&lt;/a&gt; (converted to lower case text for easier reading):&lt;/p&gt;
931
932 &lt;p&gt;&lt;blockquote&gt;
933 &lt;p&gt;18.2. MPEG-4. MPEG-4 technology may be included with the
934 software. MPEG LA, L.L.C. requires this notice: &lt;/p&gt;
935
936 &lt;p&gt;This product is licensed under the MPEG-4 visual patent portfolio
937 license for the personal and non-commercial use of a consumer for (i)
938 encoding video in compliance with the MPEG-4 visual standard (“MPEG-4
939 video”) and/or (ii) decoding MPEG-4 video that was encoded by a
940 consumer engaged in a personal and non-commercial activity and/or was
941 obtained from a video provider licensed by MPEG LA to provide MPEG-4
942 video. No license is granted or shall be implied for any other
943 use. Additional information including that relating to promotional,
944 internal and commercial uses and licensing may be obtained from MPEG
945 LA, LLC. See http://www.mpegla.com. This product is licensed under
946 the MPEG-4 systems patent portfolio license for encoding in compliance
947 with the MPEG-4 systems standard, except that an additional license
948 and payment of royalties are necessary for encoding in connection with
949 (i) data stored or replicated in physical media which is paid for on a
950 title by title basis and/or (ii) data which is paid for on a title by
951 title basis and is transmitted to an end user for permanent storage
952 and/or use, such additional license may be obtained from MPEG LA,
953 LLC. See http://www.mpegla.com for additional details.&lt;/p&gt;
954
955 &lt;p&gt;18.3. H.264/AVC. H.264/AVC technology may be included with the
956 software. MPEG LA, L.L.C. requires this notice:&lt;/p&gt;
957
958 &lt;p&gt;This product is licensed under the AVC patent portfolio license for
959 the personal use of a consumer or other uses in which it does not
960 receive remuneration to (i) encode video in compliance with the AVC
961 standard (“AVC video”) and/or (ii) decode AVC video that was encoded
962 by a consumer engaged in a personal activity and/or was obtained from
963 a video provider licensed to provide AVC video. No license is granted
964 or shall be implied for any other use. Additional information may be
965 obtained from MPEG LA, L.L.C. See http://www.mpegla.com.&lt;/p&gt;
966 &lt;/blockquote&gt;&lt;/p&gt;
967
968 &lt;p&gt;Note the requirement that the videos created can only be used for
969 personal or non-commercial purposes.&lt;/p&gt;
970
971 &lt;p&gt;The Sorenson Media software have
972 &lt;a href=&quot;http://www.sorensonmedia.com/terms/&quot;&gt;similar terms&lt;/a&gt;:&lt;/p&gt;
973
974 &lt;p&gt;&lt;blockquote&gt;
975
976 &lt;p&gt;With respect to a license from Sorenson pertaining to MPEG-4 Video
977 Decoders and/or Encoders: Any such product is licensed under the
978 MPEG-4 visual patent portfolio license for the personal and
979 non-commercial use of a consumer for (i) encoding video in compliance
980 with the MPEG-4 visual standard (“MPEG-4 video”) and/or (ii) decoding
981 MPEG-4 video that was encoded by a consumer engaged in a personal and
982 non-commercial activity and/or was obtained from a video provider
983 licensed by MPEG LA to provide MPEG-4 video. No license is granted or
984 shall be implied for any other use. Additional information including
985 that relating to promotional, internal and commercial uses and
986 licensing may be obtained from MPEG LA, LLC. See
987 http://www.mpegla.com.&lt;/p&gt;
988
989 &lt;p&gt;With respect to a license from Sorenson pertaining to MPEG-4
990 Consumer Recorded Data Encoder, MPEG-4 Systems Internet Data Encoder,
991 MPEG-4 Mobile Data Encoder, and/or MPEG-4 Unique Use Encoder: Any such
992 product is licensed under the MPEG-4 systems patent portfolio license
993 for encoding in compliance with the MPEG-4 systems standard, except
994 that an additional license and payment of royalties are necessary for
995 encoding in connection with (i) data stored or replicated in physical
996 media which is paid for on a title by title basis and/or (ii) data
997 which is paid for on a title by title basis and is transmitted to an
998 end user for permanent storage and/or use. Such additional license may
999 be obtained from MPEG LA, LLC. See http://www.mpegla.com for
1000 additional details.&lt;/p&gt;
1001
1002 &lt;/blockquote&gt;&lt;/p&gt;
1003
1004 &lt;p&gt;Some free software like
1005 &lt;a href=&quot;https://handbrake.fr/&quot;&gt;Handbrake&lt;/A&gt; and
1006 &lt;a href=&quot;http://ffmpeg.org/&quot;&gt;FFMPEG&lt;/a&gt; uses GPL/LGPL licenses and do
1007 not have any such terms included, so for those, there is no
1008 requirement to limit the use to personal and non-commercial.&lt;/p&gt;
1009 </description>
1010 </item>
1011
1012 </channel>
1013 </rss>