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