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>Norwegian citizens now required by law to give their fingerprint to the police
</title>
11 <link>http://people.skolelinux.org/pere/blog/Norwegian_citizens_now_required_by_law_to_give_their_fingerprint_to_the_police.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Norwegian_citizens_now_required_by_law_to_give_their_fingerprint_to_the_police.html
</guid>
13 <pubDate>Sun,
10 May
2015 16:
00:
00 +
0200</pubDate>
14 <description><p
>5 days ago, the Norwegian Parliament decided, unanimously, that all
15 citizens of Norway, no matter if they are suspected of something
17 <a href=
"https://www.holderdeord.no/votes/
1430838871e
">required to
18 give fingerprints to the police
</a
> (vote details from Holder de
19 ord). The law make it sound like it will be optional, but in a few
20 years there will be no option any more. The ID will be required to
21 vote, to get a bank account, a bank card, to change address on the
22 post office, to receive an electronic ID or to get a drivers license
23 and many other tasks required to function in Norway. The banks plan
24 to stop providing their own ID on the bank cards when this new
25 national ID is introduced, and the national road authorities plan to
26 change the drivers license to no longer be usable as identity cards.
27 In effect, to function as a citizen in Norway a national ID card will
28 be required, and to get it one need to provide the fingerprints to
31 <p
>In addition to handing the fingerprint to the police (which
32 promised to not make a copy of the fingerprint image at that point in
33 time, but say nothing about doing it later), a picture of the
34 fingerprint will be stored on the RFID chip, along with a picture of
35 the face and other information about the person. Some of the
36 information will be encrypted, but the encryption will be the same
37 system as currently used in the passports. The codes to decrypt will
38 be available to a lot of government offices and their suppliers around
39 the globe, but for those that do now know anyone in those circles it
42 <a href=
"http://www.theguardian.com/technology/
2006/nov/
17/news.homeaffairs
">the
43 encryption is already broken
</a
>. And they
44 <a href=
"http://www.networkworld.com/article/
2215057/wireless/bad-guys-could-read-rfid-passports-at-
217-feet--maybe-a-lot-more.html
">can
45 be read from
70 meters away
</a
>. This can be mitigated a bit by
46 keeping it in a Faraday cage (metal box or metal wire container), but
47 one will be required to take it out of there often enough to expose
48 ones private and personal information to a lot of people that have no
49 business getting access to that information.
</p
>
51 <p
>The new Norwegian national IDs are a vehicle for identity theft,
52 and I feel sorry for us all having politicians accepting such invasion
53 of privacy without any objections. So are the Norwegian passports,
54 but it has been possible to function in Norway without those so far.
55 That option is going away with the passing of the new law. In this, I
56 envy the Germans, because for them it is optional how much biometric
57 information is stored in their national ID.
</p
>
59 <p
>And if forced collection of fingerprints was not bad enough, the
60 information collected in the national ID card register can be handed
61 over to foreign intelligence services and police authorities,
"when
62 extradition is not considered disproportionate
".
</p
>
67 <title>What would it cost to store all phone calls in Norway?
</title>
68 <link>http://people.skolelinux.org/pere/blog/What_would_it_cost_to_store_all_phone_calls_in_Norway_.html
</link>
69 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/What_would_it_cost_to_store_all_phone_calls_in_Norway_.html
</guid>
70 <pubDate>Fri,
1 May
2015 19:
30:
00 +
0200</pubDate>
71 <description><p
>Many years ago, a friend of mine calculated how much it would cost
72 to store the sound of all phone calls in Norway, and came up with the
73 cost of around
20 million NOK (
2.4 mill EUR) for all the calls in a
74 year. I got curious and wondered what the same calculation would look
75 like today. To do so one need an idea of how much data storage is
76 needed for each minute of sound, how many minutes all the calls in
77 Norway sums up to, and the cost of data storage.
</p
>
79 <p
>The
2005 numbers are from
80 <a href=
"http://www.digi.no/analyser/
2005/
10/
04/vi-prater-stadig-mindre-i-roret
">digi.no
</a
>,
81 the
2012 numbers are from
82 <a href=
"http://www.nkom.no/aktuelt/nyheter/fortsatt-vekst-i-det-norske-ekommarkedet
">a
83 NKOM report
</a
>, and I got the
2013 numbers after asking NKOM via
84 email. I was told the numbers for
2014 will be presented May
20th,
85 and decided not to wait for those, as I doubt they will be very
86 different from the numbers from
2013.
</p
>
88 <p
>The amount of data storage per minute sound depend on the wanted
89 quality, and for phone calls it is generally believed that
8 Kbit/s is
90 enough. See for example a
91 <a href=
"http://www.cisco.com/c/en/us/support/docs/voice/voice-quality/
7934-bwidth-consume.html#topic1
">summary
92 on voice quality from Cisco
</a
> for some alternatives.
8 Kbit/s is
60
93 Kbytes/min, and this can be multiplied with the number of call minutes
94 to get the storage requirements.
</p
>
96 <p
>Storage prices varies a lot, depending on speed, backup strategies,
97 availability requirements etc. But a simple way to calculate can be
98 to use the price of a TiB-disk (around
1000 NOK /
120 EUR) and double
99 it to take space, power and redundancy into account. It could be much
100 higher with high speed and good redundancy requirements.
</p
>
102 <p
>But back to the question, What would it cost to store all phone
103 calls in Norway? Not much. Here is a small table showing the
104 estimated cost, which is within the budget constraint of most medium
105 and large organisations:
</p
>
107 <table border=
"1">
108 <tr
><th
>Year
</th
><th
>Call minutes
</th
><th
>Size
</th
><th
>Price in NOK / EUR
</th
></tr
>
109 <tr
><td
>2005</td
><td align=
"right
">24 000 000 000</td
><td align=
"right
">1.3 PiB
</td
><td align=
"right
">3 mill /
358 000</td
></tr
>
110 <tr
><td
>2012</td
><td align=
"right
">18 000 000 000</td
><td align=
"right
">1.0 PiB
</td
><td align=
"right
">2.2 mill /
262 000</td
></tr
>
111 <tr
><td
>2013</td
><td align=
"right
">17 000 000 000</td
><td align=
"right
">950 TiB
</td
><td align=
"right
">2.1 mill /
250 000</td
></tr
>
114 <p
>This is the cost of buying the storage. Maintenance need to be
115 taken into account too, but calculating that is left as an exercise
116 for the reader. But it is obvious to me from those numbers that
117 recording the sound of all phone calls in Norway is not going to be
118 stopped because it is too expensive. I wonder if someone already is
119 collecting the data?
</p
>
124 <title>First Jessie based Debian Edu beta release
</title>
125 <link>http://people.skolelinux.org/pere/blog/First_Jessie_based_Debian_Edu_beta_release.html
</link>
126 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/First_Jessie_based_Debian_Edu_beta_release.html
</guid>
127 <pubDate>Sun,
26 Apr
2015 14:
10:
00 +
0200</pubDate>
128 <description><p
>I am happy to report that the Debian Edu team sent out
129 <a href=
"https://lists.debian.org/debian-edu-announce/
2015/
04/msg00000.html
">this
130 announcement today
</a
>:
</p
>
133 the Debian Edu / Skolelinux project is pleased to announce the first
134 *beta* release of Debian Edu
"Jessie
" 8.0+edu0~b1, which for the first
135 time is composed entirely of packages from the current Debian stable
136 release, Debian
8 "Jessie
".
138 (As most reading this will know, Debian
"Jessie
" hasn
't actually been
139 released by now. The release is still in progress but should finish
142 We expect to make a final release of Debian Edu
"Jessie
" in the coming
143 weeks, timed with the first point release of Debian Jessie. Upgrades
144 from this beta release of Debian Edu Jessie to the final release will
145 be possible and encouraged!
147 Please report feedback to debian-edu@lists.debian.org and/or submit
148 bugs: http://wiki.debian.org/DebianEdu/HowTo/ReportBugs
150 Debian Edu - sometimes also known as
"Skolelinux
" - is a complete
151 operating system for schools, universities and other
152 organisations. Through its pre- prepared installation profiles
153 administrators can install servers, workstations and laptops which
154 will work in harmony on the school network. With Debian Edu, the
155 teachers themselves or their technical support staff can roll out a
156 complete multi-user, multi-machine study environment within hours or
159 Debian Edu is already in use at several hundred schools all over the
160 world, particularly in Germany, Spain and Norway. Installations come
161 with hundreds of applications pre-installed, plus the whole Debian
162 archive of thousands of compatible packages within easy reach.
164 For those who want to give Debian Edu Jessie a try, download and
165 installation instructions are available, including detailed
166 instructions in the manual explaining the first steps, such as setting
167 up a network or adding users. Please note that the password for the
168 user your prompted for during installation must have a length of at
171 == Where to download ==
173 A multi-architecture CD / usbstick image (
649 MiB) for network booting
174 can be downloaded at the following locations:
176 http://ftp.skolelinux.org/skolelinux-cd/debian-edu-
8.0+edu0~b1-CD.iso
177 rsync -avzP ftp.skolelinux.org::skolelinux-cd/debian-edu-
8.0+edu0~b1-CD.iso .
179 The SHA1SUM of this image is:
54a524d16246cddd8d2cfd6ea52f2dd78c47ee0a
181 Alternatively an extended DVD / usbstick image (
4.9 GiB) is also
182 available, with more software included (saving additional download
185 http://ftp.skolelinux.org/skolelinux-cd/debian-edu-
8.0+edu0~b1-USB.iso
186 rsync -avzP ftp.skolelinux.org::skolelinux-cd/debian-edu-
8.0+edu0~b1-USB.iso
188 The SHA1SUM of this image is: fb1f1504a490c077a48653898f9d6a461cb3c636
190 Sources are available from the Debian archive, see
191 http://ftp.debian.org/debian-cd/
8.0.0/source/ for some download
194 == Debian Edu Jessie manual in seven languages ==
196 Please see https://wiki.debian.org/DebianEdu/Documentation/Jessie/ for
197 the English version of the Debian Edu jessie manual.
199 This manual has been fully translated to German, French, Italian,
200 Danish, Dutch and Norwegian Bokmål. A partly translated version exists
201 for Spanish. See http://maintainer.skolelinux.org/debian-edu-doc/ for
202 online version of the translated manual.
204 More information about Debian
8 "Jessie
" itself is provided in the
205 release notes and the installation manual:
206 - http://www.debian.org/releases/jessie/releasenotes
207 - http://www.debian.org/releases/jessie/installmanual
210 == Errata / known problems ==
212 It takes up to
15 minutes for a changed hostname to be updated via
215 The hostname script fails to update LTSP server hostname (#
783087).
217 Workaround: run update-hostname-from-ip on the client to update the
218 hostname immediately.
220 Check https://wiki.debian.org/DebianEdu/Status/Jessie for a possibly
221 more current and complete list.
223 == Some more details about Debian Edu
8.0+edu0~b1 Codename Jessie released
2015-
04-
25 ==
225 === Software updates ===
227 Everything which is new in Debian
8 Jessie, e.g.:
229 * Linux kernel
3.16.7-ctk9; for the i386 architecture, support for
230 i486 processors has been dropped; oldest supported ones: i586 (like
231 Intel Pentium and AMD K5).
233 * Desktop environments KDE Plasma Workspaces
4.11.13, GNOME
3.14,
234 Xfce
4.12, LXDE
0.5.6
235 * new optional desktop environment: MATE
1.8
236 * KDE Plasma Workspaces is installed by default; to choose one of
237 the others see the manual.
238 * the browsers Iceweasel
31 ESR and Chromium
41
242 * CUPS print system
1.7.5
243 * new boot framework: systemd
244 * Educational toolbox GCompris
14.12
245 * Music creator Rosegarden
14.02
246 * Image editor Gimp
2.8.14
247 * Virtual stargazer Stellarium
0.13.1
250 * New version of debian-installer from Debian Jessie.
251 * Debian Jessie includes about
43000 packages available for installation.
252 * More information about Debian
8 Jessie is provided in its release
253 notes and the installation manual, see the link above.
255 === Installation changes ===
257 Installations done via PXE now also install firmware automatically
258 for the hardware present.
262 A number of bugs have been fixed in this release; the most noticeable
263 from a user perspective:
265 * Inserting incorrect DNS information in Gosa will no longer break
266 DNS completely, but instead stop DNS updates until the incorrect
267 information is corrected (
710362)
269 * shutdown-at-night now shuts the system down if gdm3 is used (
775608).
271 === Sugar desktop removed ===
273 As the Sugar desktop was removed from Debian Jessie, it is also not
274 available in Debian Edu jessie.
277 == About Debian Edu / Skolelinux ==
279 Debian Edu, also known as Skolelinux, is a Linux distribution based on
280 Debian providing an out-of-the box environment of a completely
281 configured school network. Directly after installation a school server
282 running all services needed for a school network is set up just
283 waiting for users and machines being added via GOsa², a comfortable
284 Web-UI. A netbooting environment is prepared using PXE, so after
285 initial installation of the main server from CD or USB stick all other
286 machines can be installed via the network. The provided school server
287 provides LDAP database and Kerberos authentication service,
288 centralized home directories, DHCP server, web proxy and many other
289 services. The desktop contains more than
60 educational software
290 packages and more are available from the Debian archive, and schools
291 can choose between KDE, GNOME, LXDE, Xfce and MATE desktop
296 The Debian Project was founded in
1993 by Ian Murdock to be a truly
297 free community project. Since then the project has grown to be one of
298 the largest and most influential open source projects. Thousands of
299 volunteers from all over the world work together to create and
300 maintain Debian software. Available in
70 languages, and supporting a
301 huge range of computer types, Debian calls itself the universal
306 Thanks to everyone making Debian and Debian Edu / Skolelinux happen!
313 <title>Debian Edu interview: Shirish Agarwal
</title>
314 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Shirish_Agarwal.html
</link>
315 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Shirish_Agarwal.html
</guid>
316 <pubDate>Wed,
15 Apr
2015 09:
20:
00 +
0200</pubDate>
317 <description><p
>It was a surprise to me to learn that project to create a complete
318 computer system for schools I
've involved in,
319 <a href=
"http://www.skolelinux.org/
">Debian Edu / Skolelinux
</a
>, was
320 being used in India. But apparently it is, and I managed to get an
321 interview with one of the friends of the project there, Shirish
324 <p
><strong
>Who are you, and how do you spend your days?
</strong
></p
>
326 <p
>My name is Shirish Agarwal. Based out of the educational and
327 historical city of Pune, from the western state of Maharashtra, India.
328 My bread comes from giving training, giving policy tips,
329 installations on free software to mom and pop shops in different
330 fields from Desktop publishing to retail shops as well as work with
331 few software start-ups as well.
</p
>
333 <p
><strong
>How did you get in contact with the Skolelinux / Debian Edu
334 project?
</strong
></p
>
336 <p
>It started innocently enough. I have been using Debian for a few
337 years and in one local minidebconf / debutsav I was asked if there was
338 anything for schools or education. I had worked / played with free
339 educational softwares such as Gcompris and Stellarium for my many
340 nieces and nephews so researched and found Debian Edu or Skolelinux as
341 it was known then. Since then I have started using the various
342 education meta-packages provided by the project.
</p
>
344 <p
><strong
>What do you see as the advantages of Skolelinux / Debian
345 Edu?
</strong
></p
>
347 <p
>It
's closest I have seen where a package full of educational
348 software are packed, which are free and open (both literally and
349 figuratively). Even if I take the simplest software which is
350 gcompris, the number of activities therein are amazing. Another one of
351 the softwares that I have liked for a long time is stellarium. Even
352 pysycache is cool except for couple of issues I encountered
353 <a href=
"https://bugs.debian.org/
781841">#
781841</a
> and
354 <a href=
"https://bugs.debian.org/
781842">#
781842</a
>.
</p
>
356 <p
>I prefer software installed on the system over web based solutions,
357 as a web site can disappear any time but the software on disk has the
358 possibility of a larger life span. Of course with both it
's more a
359 question if it has enough users who make it fun or sustainable or both
360 for the developer per-se.
</p
>
362 <p
><strong
>What do you see as the disadvantages of Skolelinux / Debian
363 Edu?
</strong
></p
>
365 <p
>I do see that the Debian Edu team seems to be short-handed and I
366 think more efforts should be made to make it popular and ask and take
367 help from people and the larger community wherever possible.
</p
>
369 <p
>I don
't see any disadvantage to use Skolelinux apart from the fact
370 that most apps. are generic which is good or bad how you see it.
371 However, saying that I do acknowledge the fact that the canvas is
372 pretty big and there are lot of interesting ideas that could be done
373 but for reasons not known not done or if done I don
't know about them.
374 Let me share some of the ideas (these are more upstream based but
375 still) I have had for a long time :
</p
>
377 <p
>1. Classical maths question of two trains in opposing directions
378 each running @x kmph/mph at y distance, when they will meet and how
379 far would each travel and similar questions like these.
381 <p
>The computer is a fantastic system where questions like these can
382 be drawn, animated and the methodology and answers teased out in
383 interactive manner. While sites such as the
384 <a href=
"http://mathforum.org/dr.math/faq/faq.two.trains.html
">Ask
385 Dr. Math FAQ on The Two Trains problem
</a
> (as an example or point of
386 inspiration) can be used there is lot more that can be done. I dunno
387 if there is a free software which does something like this. The idea
388 being a blend of objects + animation + interaction which does
389 this. The whole interaction could be gamified with points or sounds or
390 colourful celebration whenever the user gets even part of the question
391 or/and methodology right. That would help reinforce good behaviour.
392 This understanding could be used to share/showcase everything from how
393 the first wheel came to be, to evolution to how astronomy started,
394 psychics and everything in-between.
</p
>
396 <p
>One specific idea in the train part was having the Linux mascot on
397 one train and the BSD or GNU mascot on the other train and they
398 meeting somewhere in-between. Characters from blender movies could
399 also be used.
</p
>
401 <p
>2. Loads of crossword-puzzles with reference to subjects: We have
402 enormous data sets in Wikipedia and Wikitionary. I don
't think it
403 should be a big job to design crossword puzzles. Using categories and
404 sub-categories it should be doable to have Q
&A single word answers
405 from the existing data-sets. What would make it easy or hard could be
406 the length of the word + existence of many or few vowels depending on
407 the user
's input.
</p
>
409 <p
>3. Jigsaw puzzles - We already have a great software called
410 palapeli with number of slicers making it pretty interesting. What
411 needs to be done is to download large number of public domain and
412 copyleft images, tease and use IPTC tags to categorise them into
413 nature, history etc. and let it loose. This could turn to be really
414 huge collection of images. One source could be taken from
415 commons.wikimedia.org, others could be huge collection of royalty-free
416 stock photos. Potential is immense.
</p
>
418 <p
>Apart from this, free software suffers in two directions, we lag
419 both in development (of using new features per-se) and maintenance a
420 lot. This is more so in educational software as these applications
421 need to be timely and the opportunity cost of missing deadlines is
422 immense. If we are able to solve issues of funding for development and
423 maintenance of such software I don
't see any big difficulties. I know
424 of few start-ups in and around India who would love to develop and
425 maintain such software if funding issues could be solved.
</p
>
427 <p
><strong
>Which free software do you use daily?
</strong
></p
>
429 <p
>That would be huge list. Some of the softwares are obviously apt,
430 aptitude, debdelta, leafpad, the shell of course (zsh nowadays),
431 quassel for IRC. In games I use shisen-sho while card-games are evenly
432 between kpat and Aiselriot. In desktops it
's a tie between
433 gnome-flashback and mate.
</p
>
435 <p
><strong
>Which strategy do you believe is the right one to use to
436 get schools to use free software?
</strong
></p
>
438 <p
>I think it should first start with using specific FOSS apps. in
439 whatever environment they are. If it
's MS-Windows or Mac so be it.
440 Once they are habitual with the apps. and there is buy-in from the
441 school management then it could be installed anywhere. Most of the
442 people now understand the concept of a repository because of the
443 various online stores so it isn
't hard to convince on that front.
</p
>
445 <p
>What is harder is having enough people with technical skills and
446 passion to service them. If you get buy-in from one or two teachers
447 then ideas like above could also be asked to be done as a project as
450 <p
>I think where we fall short more than anything is in marketing. For
451 instance, Debian has this whole range of fonts in its archive but
452 there isn
't even a page where all those different fonts in the La
453 Ipsum format could be tried out for newcomers.
</p
>
455 <p
>One of the issues faced constantly in installations is with updates
456 and upgrades. People have this myth that each update and upgrade
457 means the user interface will / has to change. I have seen this
458 innumerable times. That perhaps is one of the reasons which browsers
459 like Iceweasel / Firefox change user interfaces so much, not because
460 it might be needed or be functional but because people believe that
461 changed user interfaces are better. This, can easily be pointed with
462 the user interfaces changed with almost every MS-Windows and Mac OS
465 <p
>The problems with Debian Edu for deployment are many. The biggest
466 is the huge gap between what is taught in schools and what Debian Edu
469 <p
>Me and my friends did teach on week-ends in a government school for
471 <a href=
"https://flossexperiences.wordpress.com/
2012/
10/
08/sharings/
">gathered
472 some experience
</a
> there. Some of the things we learnt/discovered
473 there was :
</p
>
477 <li
>Most of the teachers are very territorial about their subjects
478 and they do not want you to teach anything out of the
479 portion/syllabus given.
</li
>
481 <li
>They want any activity on the system in accordance to whatever
482 is in the syllabus.
</li
>
484 <li
>There are huge barriers both with the English language and at
485 times with objects or whatever. An example, let
's say in gcompris
486 you have objects falling down and you have to name them and let
's
487 say the falling object is a hat or a fedora hat, this would not be
488 as recognizable as say a
489 <a href=
"https://en.wikipedia.org/wiki/Puneri_Pagadi
">Puneri
490 Pagdi
</a
> so there is need to inject local objects, words wherever
491 possible. Especially for word-games there are so many hindi words
492 which have become part of english vocabulary (for instance in
493 parley), those could be made into a hinglish collection or
494 something but that is something for upstream to do.
</li
>
501 <title>I
'm going to the Open Source Developers
' Conference Nordic
2015!
</title>
502 <link>http://people.skolelinux.org/pere/blog/I_m_going_to_the_Open_Source_Developers__Conference_Nordic_2015_.html
</link>
503 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/I_m_going_to_the_Open_Source_Developers__Conference_Nordic_2015_.html
</guid>
504 <pubDate>Tue,
7 Apr
2015 10:
30:
00 +
0200</pubDate>
505 <description><p
>I am happy to let you all know that I
'm going to the
<a
506 href=
"http://act.osdc.no/osdc2015no/
">Open Source Developers
'
507 Conference Nordic
2015</a
>!
</p
>
509 <p
>It take place Friday
8th to Sunday
10th of May in Oslo next to
510 where I work, and I finally got around to submitting
511 <a href=
"http://act.osdc.no/osdc2015no/talk/
6192">a talk proposal for
512 it
</a
> (dead link for most people until the talk is accepted). As
513 part of my involvement with the
514 <a href=
"http://www.nuug.no/
">Norwegian Unix User Group member
515 association
</a
> I have been slightly involved in the planning of this
516 conference for a while now, with a focus on organising a Civic Hacking
517 Hackathon with our friends
518 over at
<a href=
"http://www.mysociety.org/
">mySociety
</a
> and
519 <a href=
"http://www.holderdeord.no/
">Holder de ord
</a
>. This part is
520 named the
'My Society
' track in the program. There is still space for
521 more talks and participants. I hope to see you there.
</p
>
523 <p
>Check out
<a href=
"http://act.osdc.no/osdc2015no/talks
">the talks
524 submitted and accepted so far
</a
>.
</p
>
529 <title>Proof reading the Norwegian translation of Free Culture by Lessig
</title>
530 <link>http://people.skolelinux.org/pere/blog/Proof_reading_the_Norwegian_translation_of_Free_Culture_by_Lessig.html
</link>
531 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Proof_reading_the_Norwegian_translation_of_Free_Culture_by_Lessig.html
</guid>
532 <pubDate>Sat,
4 Apr
2015 09:
30:
00 +
0200</pubDate>
533 <description><p
>During eastern I had some time to continue working on the Norwegian
534 <a href=
"http://www.docbook.org/
">docbook
</a
> version of the
2004 book
535 <a href=
"http://free-culture.cc/
">Free Culture
</a
> by Lawrence Lessig.
536 At the moment I am proof reading the finished text, looking for typos,
537 inconsistent wordings and sentences that do not flow as they should.
538 I
'm more than two thirds done with the text, and welcome others to
539 check the text up to chapter
13. The current status is available on the
540 <a href=
"https://github.com/petterreinholdtsen/free-culture-lessig
">github
</a
>
541 project pages. You can also check out the
542 <a href=
"https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.pdf?raw=true
">PDF
</a
>,
543 <a href=
"https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.epub?raw=true
">EPUB
</a
>
544 and HTML version available in the
545 <a href=
"https://github.com/petterreinholdtsen/free-culture-lessig/tree/master/archive
">archive
546 directory
</a
>.
</p
>
548 <p
>Please report typos, bugs and improvements to the github project if
549 you find any.
</p
>
554 <title>Frikanalen, Norwegian TV channel for technical topics
</title>
555 <link>http://people.skolelinux.org/pere/blog/Frikanalen__Norwegian_TV_channel_for_technical_topics.html
</link>
556 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Frikanalen__Norwegian_TV_channel_for_technical_topics.html
</guid>
557 <pubDate>Mon,
9 Mar
2015 11:
10:
00 +
0100</pubDate>
558 <description><p
>The
<a href=
"http://www.nuug.no/
">Norwegian Unix User Group
</a
>,
559 where I am a member, and where people interested in free software,
560 open standards and UNIX like operating systems like Linux and the BSDs
561 come together, record our monthly technical presentations on video.
562 The purpose is to document the talks and spread them to a wider
563 audience. For this, the the Norwegian nationwide open channel
564 <a href=
"http://www.frikanalen.no/
">Frikanalen
</a
> is a useful venue.
565 Since a few days ago, when I figured out the
566 <a href=
"http://beta.frikanalen.no/api/
">REST API
</a
> to program the
567 <a href=
"http://beta.frikanalen.tv/guide/
">channel time schedule
</a
>,
568 the channel has been filled with NUUG talks, related recordings and
569 some Creative Commons licensed TED talks (from archive.org). I fill
570 all
"leftover bits
" on the channel with content from NUUG, which at
571 the moment is almost
17 of
24 hours every day.
</p
>
573 <p
>The list of NUUG videos
574 <a href=
"http://beta.frikanalen.tv/organization/
82">uploaded so far
</a
>
575 include things like a
576 <a href=
"http://beta.frikanalen.tv/video/
625090">one hour talk by John
577 Perry Barlow when he visited Oslo
</a
>, a presentation of
578 <a href=
"http://beta.frikanalen.tv/video/
624275">Haiku, the BeOS
579 re-implementation
</a
>, the
580 <a href=
"http://beta.frikanalen.tv/video/
624493">history of FiksGataMi,
581 the Norwegian version of FixMyStreet
</a
>, the good old
582 <a href=
"http://beta.frikanalen.tv/video/
623566">Warriors of the net
583 video
</A
> and many others.
</p
>
585 <p
>We have a large backlog of NUUG talks not yet uploaded to
586 Frikanalen, and plan to upload every useful bit to the channel to
587 spread the word there. I also hope to find useful recordings from the
588 Chaos Computer Club and Debian conferences and spread them on the
589 channel as well. But this require locating the videos and their meta
590 information (title, description, license, etc), and preparing the
591 recordings for broadcast, and I have not yet had the spare time to
592 focus on this. Perhaps you want to help. Please join us on IRC,
593 <a href=
"irc://irc.freenode.net/%
23nuug
">#nuug on irc.freenode.net
</a
>
594 if you want to help make this happen.
</p
>
596 <p
>But as I said, already the channel is already almost exclusively
597 filled with technical topics, and if you want to learn something new
598 today, check out the
<a href=
"http://www.frikanalen.tv/se
">Ogg Theora
599 web stream
</a
> or use one of the other ways to get access to the
600 channel. Unfortunately the Ogg Theora recoding for distribution still
601 do not properly sync the video and sound. It is generated by recoding
602 a internal MPEG transport stream with MPEG4 coded video (ie H
.264) to
603 Ogg Theora / Vorbis, and we have not been able to find a way that
604 produces acceptable quality. Help needed, please get in touch if you
605 know how to fix it using free software.
</p
>
610 <title>The Citizenfour documentary on the Snowden confirmations to Norway
</title>
611 <link>http://people.skolelinux.org/pere/blog/The_Citizenfour_documentary_on_the_Snowden_confirmations_to_Norway.html
</link>
612 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/The_Citizenfour_documentary_on_the_Snowden_confirmations_to_Norway.html
</guid>
613 <pubDate>Sat,
28 Feb
2015 22:
10:
00 +
0100</pubDate>
614 <description><p
>Today I was happy to learn that the documentary
615 <a href=
"https://citizenfourfilm.com/
">Citizenfour
</a
> by
616 <a href=
"https://en.wikipedia.org/wiki/Laura_Poitras
">Laura Poitras
</a
>
617 finally will show up in Norway. According to the magazine
618 <a href=
"http://montages.no/
">Montages
</a
>, a deal has finally been
620 <a href=
"http://montages.no/nyheter/snowden-dokumentaren-citizenfour-far-norsk-kinodistribusjon/
">Cinema
621 distribution in Norway
</a
> and the movie will have its premiere soon.
622 This is great news. As part of my involvement with
623 <a href=
"http://www.nuug.no/
">the Norwegian Unix User Group
</a
>, me and
625 <a href=
"http://www.nuug.no/news/Dokumentar_om_Snowdenbekreftelsene_til_Norge_.shtml
">tried
626 to get the movie to Norway
</a
> ourselves, but obviously
627 <a href=
"http://www.nuug.no/news/Dokumentar_om_Snowdenbekreftelsene_endelig_til_Norge_.shtml
">we
628 were too late
</a
> and Tor Fosse beat us to it. I am happy he did, as
629 the movie will make its way to the public and we do not have to make
631 <a href=
"https://www.youtube.com/watch?v=XiGwAvd5mvM
">The trailer
</a
>
632 can be seen on youtube, if you are curious what kind of film this
635 <p
>The whistle blower Edward Snowden really deserve political asylum
636 here in Norway, but I am afraid he would not be safe.
</p
>
641 <title>The Norwegian open channel Frikanalen -
24x7 on the Internet
</title>
642 <link>http://people.skolelinux.org/pere/blog/The_Norwegian_open_channel_Frikanalen___24x7_on_the_Internet.html
</link>
643 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/The_Norwegian_open_channel_Frikanalen___24x7_on_the_Internet.html
</guid>
644 <pubDate>Wed,
25 Feb
2015 09:
10:
00 +
0100</pubDate>
645 <description><p
>The Norwegian nationwide open channel
646 <a href=
"http://www.frikanalen.no/
">Frikanalen
</a
> is still going
647 strong. It allow everyone to send the video they want on national
648 television. It is a TV station administrated completely using a web
649 browser, running only
<ahref=
"https://github.com/Frikanalen
">Free
650 Software
</a
>, providing
<ahref=
"http://beta.frikanalen.tv/api
">a REST
651 api
</a
> for administrators and members, and with distribution on the
652 national DVB-T distribution network RiksTV. But only between
12:
00
653 and
17:
30 Norwegian time. This has finally changed, after many years
654 with limited distribution. A few weeks ago, we set up a Ogg Theora
655 stream via icecast to allow everyone with Internet access to check out
656 the channel the rest of the day. This is presented on
657 <a href=
"http://www.frikanalen.tv/se
">the Frikanalen web site now
</a
>. And
658 since a few days ago, the channel is also available
659 via
<a href=
"https://www.uninett.no/iptv-tilgang
">multicast on
660 UNINETT
</a
>, available for those using IPTV TVs and set-top boxes in
661 the Norwegian National Research and Education network.
</p
>
663 <p
>If you want to see what is on the channel, point your media player
664 to one of these sources. The first should work with most players and
665 browsers, while as far as I know, the multicast UDP stream only work
669 <li
><a href=
"http://video.nuug.no/frikanalen.ogv
">http://video.nuug.no/frikanalen.ogv
</a
></li
>
670 <li
>udp://@
224.17.43.129:
1234</li
>
673 <p
>The Ogg Theora / icecast stream is not working well, as the video
674 and audio is slightly out of sync. We have not been able to figure
675 out how to fix it. It is generated by recoding a internal MPEG
676 transport stream with MPEG4 coded video (ie H
.264) to Ogg Theora /
677 Vorbis, and the result is less then stellar. If you have ideas how to
678 fix it, please let us know on frikanalen (at) nuug.no. We currently
679 use this with ffmpeg2theora
0.29:
</p
>
681 <blockquote
><pre
>
682 ./ffmpeg2theora.linux
&lt;OBE_gemini_URL.ts
&gt; -F
25 -x
720 -y
405 \
683 --deinterlace --inputfps
25 -c
1 -H
48000 --keyint
8 --buf-delay
100 \
684 --nosync -V
700 -o - | oggfwd video.nuug.no
8000 &lt;pw
&gt; /frikanalen.ogv
685 </pre
></blockquote
>
687 <p
>If you get the multicast UDP stream working, please let me know, as
688 I am curious how far the multicast stream reach. It do not make it to
689 my home network, nor any other commercially available network in
690 Norway that I am aware of.
</p
>
695 <title>En enklere Osloskolehverdag med automatisk sjekk av Fronter
</title>
696 <link>http://people.skolelinux.org/pere/blog/En_enklere_Osloskolehverdag_med_automatisk_sjekk_av_Fronter.html
</link>
697 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/En_enklere_Osloskolehverdag_med_automatisk_sjekk_av_Fronter.html
</guid>
698 <pubDate>Thu,
12 Feb
2015 10:
30:
00 +
0100</pubDate>
699 <description><p
>En stund nå har jeg vært nødt til å forholde meg til
700 <a href=
"https://fronter.com/osloskoler/
">Fronter
</a
>, en nettløsning
701 Osloskolen bruker for kontakt mellom hjem og skole. Løsningen
702 imponerer ikke, og det er lagt opp til at vi foreldre skal logge inn
703 regelmessig for å se om noe har endret seg. Idéen om å la folk stikke
704 innom nettsider for å se om det har skjedd endringer er så idiotisk at
705 jeg har lett etter et alternativ. Fronterløsningen har en innebygget
706 løsning der en kan abonnere på forsiden (som viser en oppsummering av
707 det en har tilgang til), og få tilsendt en kopi hver natt, men det
708 fjerner jo bare behovet for å stikke innom, ikke den idiotiske ideen
709 om at folk skal huske hvordan nettsiden så ut sist og oppdage hva som
712 <p
>For å gjøre livet enklere har jeg derfor brukt litt tid på å lage
713 et program som kobler seg opp og sjekker etter endringer automatisk,
714 slik at jeg kan få beskjed fra datamaskinen når noe endrer seg i
715 stedet for å forsøke å finne ut av det selv. I går ble scriptet
716 brukbart, og jeg er dermed klar til å dele det med deg.
</p
>
718 <p
>Jeg startet med å skrive programmet i Python, og hadde en versjon
719 som logget inn og hentet ned enkeltsider fra Fronter. Men
720 Fronter-websidene suger golfballer gjennom en hageslange, med
721 uleselig HTML, flere nivåer av iframes og en struktur på innholdet som
722 er svært vanskelig å finne ut av, så jeg ga til slutt opp lxml-parsing
723 med Python og forsøkte meg med WWW::Mechanize for Perl som jeg kjente
724 fra før. I ettertid har jeg oppdaget at WWW:Mechanize også finnes for
725 Python, så jeg kunne antagelig droppet språkbyttet. Men da jeg
726 oppdaget det hadde jeg kommet så langt med Perl-utgaven, så jeg hoppet
727 ikke tilbake.
</p
>
729 <p
>For å logge inn i Fronter besøker en enten skolens websider eller
730 den sentrale innloggingsiden
<tt
>https://fronter.com/osloskoler/
</tt
>.
731 Perl-koden for å logge inn ser slik ut:
</p
>
734 my $mech = WWW::Mechanize-
>new();
735 $mech-
>get(
'https://fronter.com/osloskoler/
');
736 $mech-
>submit_form(fields =
> {
737 username =
> $username,
738 password =
> $password,
742 <p
>Neste steg er å få oversikt over hvilke «rom» en har tilgang til.
743 På vår skole er det rom for skolen, biblioteket, elevrådet,
744 aktivitetsskolen og klasser der en har unger, og dette vil være
745 forskjellig fra person til person. Etter å ha romstert rundt i
746 Fronter-grensesnittet endel kom jeg over en grei HTML-side med
747 oversikt over rommene,
748 <tt
>https://fronter.com/osloskoler/adm/projects.phtml?mode=displayRoomchooser
</tt
>,
749 så jeg bruker denne til å hente ut romoversikt med rom-ID.
</p
>
753 $mech-
>get(
'https://fronter.com/osloskoler/adm/projects.phtml?mode=displayRoomchooser
');
754 for my $link ($mech-
>links()) {
755 my $url = $link-
>url();
756 if ($url =~ m%/links/list_files.phtml\?edit=(\d+)$%) {
757 $room{$link-
>text()} = $
1;
762 <p
>Når en har rom-ID kan en slå opp websiden for rommet, som starter
764 <tt
>https://fronter.com/osloskoler/contentframeset.phtml?goto_prjid=$ROMID
</tt
>
765 (der $ROMID byttes ut med rom-ID-tallet). Det gir en side med
766 iframes, og en må tre nivåer ned i iframes før en får tak i
767 HTML-informasjonen som vises frem når en ser på det aktuelle rommet.
768 Her ga jeg opp den robuste parsingen og hardkodet endel URL-er som i
769 stedet bør spores opp maskinelt. HTML-informasjonen som vises lagres
770 i en fil etter at økt- og innloggings-nøkkel er fjernet og deretter
771 bruker jeg
<tt
>lynx --dump --nolist
</tt
> for å hente ut en tekstlig
772 utgave av websiden. Denne tekstlige utgaven sammenlignes med forrige
773 versjon og oversikt over endringer kan så sendes ut på egnet vis.
</p
>
775 <p
>Jeg valgte å bruke git til å holde rede på endringer, så jeg
776 sjekker inn HTML og tekst-utgaver i git og bruker git til å vise frem
777 endringene i tekstutgavene. Programvaren for å gjøre dette er testet
778 på Debian GNU/Linux og kan
779 <a href=
"https://github.com/petterreinholdtsen/fronter-scraper-oslo
">lastes
780 ned fra github
</a
>.
</p
>
782 <p
>For å bruke dette selv, kjør følgende kommandoer på din
783 Debian-maskin (forutsetter sudo-tilgang for installasjon av
784 programvare):
</p
>
787 sudo apt-get install git lynx-cur libio-prompter-perl libwww-mechanize-perl \
788 libconfig-inifiles-perl
789 git clone https://github.com/petterreinholdtsen/fronter-scraper-oslo
790 cd fronter-scraper-oslo
794 <p
>Det gjenstår endel, men systemet er allerede nyttig for meg. Jeg
795 ønsker at systemet også skal laste ned PDF-er og slikt som er lagt ut
796 for nedlasting på sidene, slik at f.eks. ukeplaner kommer inn i
797 git-arkivet mitt automatisk og jeg får automatisk beskjed når ny
798 ukeplan er lagt ut. Kanskje du kan bidra med å få det på plass, eller
799 kanskje du har andre ting du vil fikse? Jeg tar gjerne imot endringer
800 og forbedringer. Det er mye som kan gjøres bedre, og scriptet er ikke
801 veldig robust mot endringer hos nettsidene til Fronter. Jeg regner
802 dermed med at det vil trengs oppdateringer jevnlig etter hvert som
803 Fronter-løsningen endrer seg.
</p
>