]> pere.pagekite.me Git - homepage.git/blob - blog/index.rss
Generated.
[homepage.git] / blog / index.rss
1 <?xml version="1.0" encoding="utf-8"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom="http://www.w3.org/2005/Atom">
3 <channel>
4 <title>Petter Reinholdtsen</title>
5 <description></description>
6 <link>http://people.skolelinux.org/pere/blog/</link>
7 <atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
8
9 <item>
10 <title>youtube-dl for nedlasting fra NRK med undertekster - nice free software</title>
11 <link>http://people.skolelinux.org/pere/blog/youtube_dl_for_nedlasting_fra_NRK_med_undertekster___nice_free_software.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/youtube_dl_for_nedlasting_fra_NRK_med_undertekster___nice_free_software.html</guid>
13 <pubDate>Sat, 28 Apr 2018 10:30:00 +0200</pubDate>
14 <description>&lt;p&gt;I &lt;a href=&quot;https://no.wikipedia.org/wiki/VHS&quot;&gt;VHS-kassettenes&lt;/a&gt;
15 tid var det rett frem å ta vare på et TV-program en ønsket å kunne se
16 senere, uten å være avhengig av at programmet ble sendt på nytt.
17 Kanskje ønsket en å se programmet på hytten der det ikke var
18 TV-signal, eller av andre grunner ha det tilgjengelig for fremtidig
19 fornøyelse. Dette er blitt vanskeligere med introduksjon av
20 digital-TV og webstreaming, der opptak til harddisk er utenfor de
21 flestes kontroll. Men for NRK her i Norge, finnes det heldigvis flere
22 fri programvare-alternativer, som jeg har
23 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Hvordan_enkelt_laste_ned_filmer_fra_NRK.html&quot;&gt;skrevet&lt;/a&gt;
24 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Hvordan_enkelt_laste_ned_filmer_fra_NRK_med_den__nye__l_sningen.html&quot;&gt;om&lt;/a&gt;
25 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Nedlasting_fra_NRK__som_Matroska_med_undertekster.html&quot;&gt;før&lt;/a&gt;.
26 Så lenge kilden for nedlastingen er lovlig lagt ut på nett (hvilket
27 jeg antar NRK gjør), så er slik lagring til privat bruk også lovlig i
28 Norge.&lt;/p&gt;
29
30 &lt;p&gt;Sist jeg så på saken, i 2016, nevnte jeg at
31 &lt;a href=&quot;https://rg3.github.com/youtube-dl/&quot;&gt;youtube-dl&lt;/a&gt; ikke kunne
32 bake undertekster fra NRK inn i videofilene, og at jeg derfor
33 foretrakk andre alternativer. Nylig oppdaget jeg at dette har endret
34 seg. Fordelen med youtube-dl er at den er tilgjengelig direkte fra
35 Linux-distribusjoner som &lt;a href=&quot;https://www.debian.org/&quot;&gt;Debian&lt;/a&gt;
36 og &lt;a href=&quot;https://www.ubuntu.com/&quot;&gt;Ubuntu&lt;/a&gt;, slik at en slipper å
37 finne ut selv hvordan en skal få dem til å virke.&lt;/p&gt;
38
39 &lt;p&gt;For å laste ned et NRK-innslag med undertekster, og få den norske
40 underteksten pakket inn i videofilen, så kan følgende kommando
41 brukes:&lt;/p&gt;
42
43 &lt;p&gt;&lt;pre&gt;
44 youtube-dl --write-sub --sub-format ttml \
45 --convert-subtitles srt --embed-subs \
46 https://tv.nrk.no/serie/ramm-ferdig-gaa/MUHU11000316/27-04-2018
47 &lt;/pre&gt;&lt;/p&gt;
48
49 &lt;p&gt;URL-eksemplet er dagens toppsak på tv.nrk.no. Resultatet er en
50 MP4-fil med filmen og undertekster som kan spilles av med VLC. Merk
51 at VLC ikke viser frem undertekster før du aktiverer dem. For å gjøre
52 det, høyreklikk med musa i fremviservinduet, velg menyvalget for
53 undertekst og så norsk språk. Jeg testet også &#39;--write-auto-sub&#39;,
54 men det kommandolinjeargumentet ser ikke ut til å fungere, så jeg
55 endte opp med settet med argumentlisten over, som jeg fant i en
56 feilrapport i youtube-dl-prosjektets samling over feilrapporter.&lt;/p&gt;
57
58 &lt;p&gt;Denne støtten i youtube-dl gjør det svært enkelt å lagre
59 NRK-innslag, det være seg nyheter, filmer, serier eller dokumentater,
60 for å ha dem tilgjengelig for fremtidig referanse og bruk, uavhengig
61 av hvor lenge innslagene ligger tilgjengelig hos NRK. Så får det ikke
62 hjelpe at NRKs jurister mener at det er
63 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Best___ikke_fortelle_noen_at_streaming_er_nedlasting___.html&quot;&gt;vesensforskjellig
64 å legge tilgjengelig for nedlasting og for streaming&lt;/a&gt;, når det rent
65 teknisk er samme sak.&lt;/p&gt;
66
67 &lt;p&gt;Programmet youtube-dl støtter også en rekke andre nettsteder, se
68 prosjektoversikten for
69 &lt;a href=&quot;http://rg3.github.io/youtube-dl/supportedsites.html&quot;&gt;en
70 komplett liste&lt;/a&gt;.&lt;/p&gt;
71 </description>
72 </item>
73
74 <item>
75 <title>Stortingsflertallet går inn for ny IP-basert sensurinfrastruktur i Norge</title>
76 <link>http://people.skolelinux.org/pere/blog/Stortingsflertallet_g_r_inn_for_ny_IP_basert_sensurinfrastruktur_i_Norge.html</link>
77 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Stortingsflertallet_g_r_inn_for_ny_IP_basert_sensurinfrastruktur_i_Norge.html</guid>
78 <pubDate>Tue, 24 Apr 2018 15:00:00 +0200</pubDate>
79 <description>&lt;p&gt;&lt;a href=&quot;https://www.vg.no/sport/i/J1g8zj/stortingsvedtak-snart-ip-blokkerer-utenlandske-spillselskaper&quot;&gt;VG&lt;/a&gt;,
80 &lt;a href=&quot;https://www.dagbladet.no/nyheter/stortinget-blokkerer-utenlandske-spillselskaper/69740219&quot;&gt;Dagbladet&lt;/a&gt;
81 og
82 &lt;a href=&quot;https://www.nrk.no/ostfold/tar-opp-kampen-mot-utenlandske-spillselskap-1.14021381&quot;&gt;NRK&lt;/a&gt;
83 melder i dag at flertallet i Familie- og kulturkomiteen på Stortinget
84 har bestemt seg for å introdusere en ny sensurinfrastruktur i Norge.
85 Fra før har Norge en «frivillig» sensurinfrastruktur basert på
86 DNS-navn, der de største ISP-ene basert på en liste med DNS-navn
87 forgifter DNS-svar og omdirigerer til et annet IP-nummer enn det som
88 ligger i DNS. Nå kommer altså IP-basert omdirigering i tillegg. Når
89 infrastrukturen er på plass, er sensur av IP-adresser redusert et
90 spørsmål om hvilke IP-nummer som skal blokkeres. Listen over
91 IP-adresser vil naturligvis endre seg etter hvert som myndighetene
92 endrer seg. Det er ingen betryggende tanke.&lt;/p&gt;
93 </description>
94 </item>
95
96 <item>
97 <title>En grunn til å takke nei til usikker digital post</title>
98 <link>http://people.skolelinux.org/pere/blog/En_grunn_til___takke_nei_til_usikker_digital_post.html</link>
99 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/En_grunn_til___takke_nei_til_usikker_digital_post.html</guid>
100 <pubDate>Mon, 2 Apr 2018 13:30:00 +0200</pubDate>
101 <description>&lt;p&gt;Brevpost er beskyttet av straffelovens bestemmelse som gjør det
102 kriminelt å åpne andres brev. Dette følger av (ny) straffelovs
103 &lt;a href=&quot;https://lovdata.no/dokument/NL/lov/2005-05-20-28205&quot;&gt;§ 205
104 (Krenkelse av retten til privat kommunikasjon)&lt;/a&gt;, som sier at «Med
105 bot eller fengsel inntil 2 år straffes den som uberettiget ... c)
106 åpner brev eller annen lukket skriftlig meddelelse som er adressert
107 til en annen, eller på annen måte skaffer seg uberettiget tilgang til
108 innholdet.» Dette gjelder såvel postbud som alle andre som har
109 befatning med brevet etter at avsender har befatning med et lukket
110 brev. Tilsvarende står også tidligere utgaver av den norske
111 straffeloven.&lt;/p&gt;
112
113 &lt;p&gt;Når en registrerer seg på usikre digitale postkasseløsningene, som
114 f.eks. Digipost og e-Boks, og slik tar disse i bruk, så gir en de som
115 står bak løsningene tillatelse til å åpne sine brev. Dette er
116 nødvendig for at innholdet i digital post skal kunne vises frem til
117 mottaker via tjenestens websider. Dermed gjelder ikke straffelovens
118 paragraf om forbud mot å åpne brev, da tilgangen ikke lenger er
119 uberettiget. En gir altså fremmede tilgang til å lese sin
120 korrespondanse. I tillegg vil bruk av slike usikre digitale
121 postbokser føre til at det blir registrert når du leser brevene, hvor
122 du befinner deg (vha. tilkoblingens IP-adresse), hvilket utstyr du
123 bruker og en rekke annen personlig informasjon som ikke er
124 tilgjengelig når papirpost brukes. Jeg foretrekker at det er
125 lovmessig beskyttelse av min korrespondanse, som jo inneholder privat
126 og personlig informasjon. Det bidrar til litt bedre vern av personlig
127 integritet i dagens norske samfunn.&lt;/p&gt;
128 </description>
129 </item>
130
131 <item>
132 <title>Self-appointed leaders of the Free World</title>
133 <link>http://people.skolelinux.org/pere/blog/Self_appointed_leaders_of_the_Free_World.html</link>
134 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Self_appointed_leaders_of_the_Free_World.html</guid>
135 <pubDate>Thu, 22 Mar 2018 11:00:00 +0100</pubDate>
136 <description>&lt;p&gt;The leaders of the worlds have started to congratulate the
137 re-elected Russian head of state, and this causes some criticism. I
138 am though a little fascinated by a comment from USA senator John McCain,
139 &lt;a href=&quot;http://thehill.com/homenews/senate/379339-mccain-rips-trumps-congratulatory-call-to-putin-as-insult-to-russian-people&quot;&gt;sited
140 by The Hill and others&lt;/a&gt;:
141
142 &lt;p&gt;&lt;blockquote&gt;
143 &lt;p&gt;&quot;An American president does not lead the Free World by
144 congratulating dictators on winning sham elections.&quot;&lt;/p&gt;
145 &lt;/blockquote&gt;&lt;/p&gt;
146
147 &lt;p&gt;While I totally agree with the senator here, the way the quote is
148 phrased make me suspect that he is unaware of the simple fact that USA
149 have not lead the Free World since at least before its government
150 &lt;a href=&quot;https://en.wikipedia.org/wiki/Maher_Arar&quot;&gt;kidnapped a
151 completely innocent Canadian citizen in transit on his way home to
152 Canada via John F. Kennedy International Airport in September 2002 and
153 sent him to be tortured in Syria for a year&lt;/a&gt;.&lt;/p&gt;
154
155 &lt;p&gt;USA might be running ahead, but the path they are taking is not the
156 one taken by any Free World.&lt;/p&gt;
157 </description>
158 </item>
159
160 <item>
161 <title>Facebooks ability to sell your personal information is the real Cambridge Analytica scandal</title>
162 <link>http://people.skolelinux.org/pere/blog/Facebooks_ability_to_sell_your_personal_information_is_the_real_Cambridge_Analytica_scandal.html</link>
163 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Facebooks_ability_to_sell_your_personal_information_is_the_real_Cambridge_Analytica_scandal.html</guid>
164 <pubDate>Wed, 21 Mar 2018 16:30:00 +0100</pubDate>
165 <description>&lt;p&gt;So, Cambridge Analytica is getting some well deserved criticism for
166 (mis)using information it got from Facebook about 50 million people,
167 mostly in the USA. What I find a bit surprising, is how little
168 criticism Facebook is getting for handing the information over to
169 Cambridge Analytica and others in the first place. And what about the
170 people handing their private and personal information to Facebook?
171 And last, but not least, what about the government offices who are
172 handing information about the visitors of their web pages to Facebook?
173 No-one who looked at the terms of use of Facebook should be surprised
174 that information about peoples interests, political views, personal
175 lifes and whereabouts would be sold by Facebook.&lt;/p&gt;
176
177 &lt;p&gt;What I find to be the real scandal is the fact that Facebook is
178 selling your personal information, not that one of the buyers used it
179 in a way Facebook did not approve when exposed. It is well known that
180 Facebook is selling out their users privacy, but a scandal
181 nevertheless. Of course the information provided to them by Facebook
182 would be misused by one of the parties given access to personal
183 information about the millions of Facebook users. Collected
184 information will be misused sooner or later. The only way to avoid
185 such misuse, is to not collect the information in the first place. If
186 you do not want Facebook to hand out information about yourself for
187 the use and misuse of its customers, do not give Facebook the
188 information.&lt;/p&gt;
189
190 &lt;p&gt;Personally, I would recommend to completely remove your Facebook
191 account, and take back some control of your personal information.
192 &lt;a href=&quot;https://www.theguardian.com/technology/2018/mar/19/how-to-protect-your-facebook-privacy-or-delete-yourself-completely&quot;&gt;According
193 to The Guardian&lt;/a&gt;, it is a bit hard to find out how to request
194 account removal (and not just &#39;disabling&#39;). You need to
195 &lt;a href=&quot;https://www.facebook.com/help/224562897555674?helpref=faq_content&quot;&gt;visit
196 a specific Facebook page&lt;/a&gt; and click on &#39;let us know&#39; on that page
197 to get to &lt;a href=&quot;https://www.facebook.com/help/delete_account&quot;&gt;the
198 real account deletion screen&lt;/a&gt;. Perhaps something to consider? I
199 would not trust the information to really be deleted (who knows,
200 perhaps NSA, GCHQ and FRA already got a copy), but it might reduce the
201 exposure a bit.&lt;/p&gt;
202
203 &lt;p&gt;If you want to learn more about the capabilities of Cambridge
204 Analytica, I recommend to see the video recording of the one hour talk
205 Paul-Olivier Dehaye gave to &lt;a href=&quot;&quot;&gt;NUUG&lt;/a&gt; last april about
206 &lt;a href=&quot;https://www.nuug.no/aktiviteter/20170404-big-data-psychometric/&quot;&gt;
207 Data collection, psychometric profiling and their impact on
208 politics&lt;/a&gt;.&lt;/p&gt;
209
210 &lt;p&gt;And if you want to communicate with your friends and loved ones,
211 use some end-to-end encrypted method like
212 &lt;a href=&quot;https://www.signal.org/&quot;&gt;Signal&lt;/a&gt; or
213 &lt;a href=&quot;https://ring.cx/&quot;&gt;Ring&lt;/a&gt;, and stop sharing your private
214 messages with strangers like Facebook and Google.&lt;/p&gt;
215 </description>
216 </item>
217
218 <item>
219 <title>H, Ap, Frp og Venstre går for DNA-innsamling av hele befolkningen</title>
220 <link>http://people.skolelinux.org/pere/blog/H__Ap__Frp_og_Venstre_g_r_for_DNA_innsamling_av_hele_befolkningen.html</link>
221 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/H__Ap__Frp_og_Venstre_g_r_for_DNA_innsamling_av_hele_befolkningen.html</guid>
222 <pubDate>Wed, 14 Mar 2018 14:15:00 +0100</pubDate>
223 <description>&lt;p&gt;I går kom det nok et argument for å holde seg unna det norske
224 helsevesenet. Da annonserte et stortingsflertall, bestående av Høyre,
225 Arbeiderpartiet, Fremskrittspartiet og Venstre, at de går inn for å
226 samle inn og lagre DNA-prøver fra hele befolkningen i Norge til evig
227 tid. Endringen gjelder innsamlede blodprøver fra nyfødte i Norge.
228 Det vil dermed ta litt tid før en har hele befolkningen, men det er
229 dit vi havner gitt nok tid. I dag er det nesten hundre prosent
230 oppslutning om undersøkelsen som gjøres like etter fødselen, på
231 bakgrunn av blodprøven det er snakk om å lagre, for å oppdage endel
232 medfødte sykdommer. Blodprøven lagres i dag i inntil seks år.
233 &lt;a href=&quot;https://www.stortinget.no/no/Saker-og-publikasjoner/Publikasjoner/Innstillinger/Stortinget/2017-2018/inns-201718-182l/?all=true&quot;&gt;Stortingets
234 flertallsinnstilling&lt;/a&gt; er at tidsbegrensingen skal fjernes, og mener
235 at tidsubegrenset lagring ikke vil påvirke oppslutningen om
236 undersøkelsen.&lt;/p&gt;
237
238 &lt;p&gt;Datatilsynet har ikke akkurat applaudert forslaget:&lt;/p&gt;
239
240 &lt;p&gt;&lt;blockquote&gt;
241
242 &lt;p&gt;«Datatilsynet mener forslaget ikke i tilstrekkelig grad
243 synliggjør hvilke etiske og personvernmessige utfordringer som må
244 diskuteres før en etablerer en nasjonal biobank med blodprøver fra
245 hele befolkningen.»&lt;/p&gt;
246
247 &lt;/blockquote&gt;&lt;/p&gt;
248
249 &lt;p&gt;Det er flere historier om hvordan innsamlet biologisk materiale har
250 blitt brukt til andre formål enn de ble innsamlet til, og historien om
251 &lt;a href=&quot;https://www.aftenposten.no/norge/i/Ql0WR/Na-ma-Folkehelsa-slette-uskyldiges-DNA-info&quot;&gt;folkehelseinstituttets
252 lagring på vegne av politiet (Kripos) av innsamlet biologisk materiale
253 og DNA-informasjon i strid med loven&lt;/a&gt; viser at en ikke kan være
254 trygg på at lover og intensjoner beskytter de som blir berørt mot
255 misbruk av slik privat og personlig informasjon.&lt;/p&gt;
256
257 &lt;p&gt;Det er verdt å merke seg at det kan forskes på de innsamlede
258 blodprøvene uten samtykke fra den det gjelder (eller foreldre når det
259 gjelder barn), etter en lovendring for en stund tilbake, med mindre
260 det er sendt inn skjema der en reserverer seg mot forskning uten
261 samtykke. Skjemaet er tilgjengelig fra
262 &lt;a href=&quot;https://www.fhi.no/arkiv/publikasjoner/for-pasienter-skjema-for-reservasjo/&quot;&gt;folkehelseinstituttets
263 websider&lt;/a&gt;, og jeg anbefaler, uavhengig av denne saken, varmt alle å
264 sende inn skjemaet for å dokumentere hvor mange som ikke synes det er
265 greit å fjerne krav om samtykke.&lt;/p&gt;
266
267 &lt;p&gt;I tillegg bør en kreve destruering av alt biologisk materiale som
268 er samlet inn om en selv, for å redusere eventuelle negative
269 konsekvenser i fremtiden når materialet kommer på avveie eller blir
270 brukt uten samtykke, men det er så vidt jeg vet ikke noe system for
271 dette i dag.&lt;/p&gt;
272
273 &lt;p&gt;Som vanlig, hvis du bruker Bitcoin og ønsker å vise din støtte til
274 det jeg driver med, setter jeg pris på om du sender Bitcoin-donasjoner
275 til min adresse
276 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
277 </description>
278 </item>
279
280 <item>
281 <title>First rough draft Norwegian and Spanish edition of the book Made with Creative Commons</title>
282 <link>http://people.skolelinux.org/pere/blog/First_rough_draft_Norwegian_and_Spanish_edition_of_the_book_Made_with_Creative_Commons.html</link>
283 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_rough_draft_Norwegian_and_Spanish_edition_of_the_book_Made_with_Creative_Commons.html</guid>
284 <pubDate>Tue, 13 Mar 2018 13:00:00 +0100</pubDate>
285 <description>&lt;p&gt;I am working on publishing yet another book related to Creative
286 Commons. This time it is a book filled with interviews and histories
287 from those around the globe making a living using Creative
288 Commons.&lt;/p&gt;
289
290 &lt;p&gt;Yesterday, after many months of hard work by several volunteer
291 translators, the first draft of a Norwegian Bokmål edition of the book
292 &lt;a href=&quot;https://madewith.cc&quot;&gt;Made with Creative Commons from 2017&lt;/a&gt;
293 was complete. The Spanish translation is also complete, while the
294 Dutch, Polish, German and Ukraine edition need a lot of work. Get in
295 touch if you want to help make those happen, or would like to
296 translate into your mother tongue.&lt;/p&gt;
297
298 &lt;p&gt;The whole book project started when
299 &lt;a href=&quot;http://gwolf.org/node/4102&quot;&gt;Gunnar Wolf announced&lt;/a&gt; that he
300 was going to make a Spanish edition of the book. I noticed, and
301 offered some input on how to make a book, based on my experience with
302 translating the
303 &lt;a href=&quot;https://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22441576.html&quot;&gt;Free
304 Culture&lt;/a&gt; and
305 &lt;a href=&quot;https://debian-handbook.info/get/#norwegian&quot;&gt;The Debian
306 Administrator&#39;s Handbook&lt;/a&gt; books to Norwegian Bokmål. To make a
307 long story short, we ended up working on a Bokmål edition, and now the
308 first rough translation is complete, thanks to the hard work of
309 Ole-Erik Yrvin, Ingrid Yrvin, Allan Nordhøy and myself. The first
310 proof reading is almost done, and only the second and third proof
311 reading remains. We will also need to translate the 14 figures and
312 create a book cover. Once it is done we will publish the book on
313 paper, as well as in PDF, ePub and possibly Mobi formats.&lt;/p&gt;
314
315 &lt;p&gt;The book itself originates as a manuscript on Google Docs, is
316 downloaded as ODT from there and converted to Markdown using pandoc.
317 The Markdown is modified by a script before is converted to DocBook
318 using pandoc. The DocBook is modified again using a script before it
319 is used to create a Gettext POT file for translators. The translated
320 PO file is then combined with the earlier mentioned DocBook file to
321 create a translated DocBook file, which finally is given to dblatex to
322 create the final PDF. The end result is a set of editions of the
323 manuscript, one English and one for each of the translations.&lt;/p&gt;
324
325 &lt;p&gt;The translation is conducted using
326 &lt;a href=&quot;https://hosted.weblate.org/projects/madewithcc/translation/&quot;&gt;the
327 Weblate web based translation system&lt;/a&gt;. Please have a look there
328 and get in touch if you would like to help out with proof
329 reading. :)&lt;/p&gt;
330
331 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
332 activities, please send Bitcoin donations to my address
333 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
334 </description>
335 </item>
336
337 <item>
338 <title>Debian used in the subway info screens in Oslo, Norway</title>
339 <link>http://people.skolelinux.org/pere/blog/Debian_used_in_the_subway_info_screens_in_Oslo__Norway.html</link>
340 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_used_in_the_subway_info_screens_in_Oslo__Norway.html</guid>
341 <pubDate>Fri, 2 Mar 2018 13:10:00 +0100</pubDate>
342 <description>&lt;p&gt;Today I was pleasantly surprised to discover my operating system of
343 choice, Debian, was used in the info screens on the subway stations.
344 While passing Nydalen subway station in Oslo, Norway, I discovered the
345 info screen booting with some text scrolling. I was not quick enough
346 with my camera to be able to record a video of the scrolling boot
347 screen, but I did get a photo from when the boot got stuck with a
348 corrupt file system:
349
350 &lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2018-03-02-ruter-debian-lenny.jpeg&quot;&gt;&lt;img align=&quot;center&quot; width=&quot;40%&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2018-03-02-ruter-debian-lenny.jpeg&quot; alt=&quot;[photo of subway info screen]&quot;&gt;&lt;/a&gt;&lt;/p&gt;
351
352 &lt;p&gt;While I am happy to see Debian used more places, some details of the
353 content on the screen worries me.&lt;/p&gt;
354
355 &lt;p&gt;The image show the version booting is &#39;Debian GNU/Linux lenny/sid&#39;,
356 indicating that this is based on code taken from Debian Unstable/Sid
357 after Debian Etch (version 4) was released 2007-04-08 and before
358 Debian Lenny (version 5) was released 2009-02-14. Since Lenny Debian
359 has released version 6 (Squeeze) 2011-02-06, 7 (Wheezy) 2013-05-04, 8
360 (Jessie) 2015-04-25 and 9 (Stretch) 2017-06-15, according to
361 &lt;a href=&quot;https://en.wikipedia.org/wiki/Debian_version_history&quot;&gt;a Debian
362 version history on Wikpedia&lt;/a&gt;. This mean the system is running
363 around 10 year old code, with no security fixes from the vendor for
364 many years.&lt;/p&gt;
365
366 &lt;p&gt;This is not the first time I discover the Oslo subway company,
367 Ruter, running outdated software. In 2012,
368 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Er_billettautomatene_til_kollektivtrafikken_i_Oslo_uten_sikkerhetsoppdateringer_.html&quot;&gt;I
369 discovered the ticket vending machines were running Windows 2000&lt;/a&gt;,
370 and this was
371 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Fortsatt_ingen_sikkerhetsoppdateringer_for_billettautomatene_til_kollektivtrafikken_i_Oslo_.html&quot;&gt;still
372 the case in 2016&lt;/a&gt;. Given the response from the responsible people
373 in 2016, I would assume the machines are still running unpatched
374 Windows 2000. Thus, an unpatched Debian setup come as no surprise.&lt;/p&gt;
375
376 &lt;p&gt;The photo is made available under the license terms
377 &lt;a href=&quot;http://creativecommons.org/licenses/by/4.0/&quot;&gt;Creative Commons
378 4.0 Attribution International (CC BY 4.0)&lt;/a&gt;.&lt;/p&gt;
379
380 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
381 activities, please send Bitcoin donations to my address
382 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
383 </description>
384 </item>
385
386 <item>
387 <title>The SysVinit upstream project just migrated to git</title>
388 <link>http://people.skolelinux.org/pere/blog/The_SysVinit_upstream_project_just_migrated_to_git.html</link>
389 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_SysVinit_upstream_project_just_migrated_to_git.html</guid>
390 <pubDate>Sun, 18 Feb 2018 09:20:00 +0100</pubDate>
391 <description>&lt;p&gt;Surprising as it might sound, there are still computers using the
392 traditional Sys V init system, and there probably will be until
393 systemd start working on Hurd and FreeBSD.
394 &lt;a href=&quot;https://savannah.nongnu.org/projects/sysvinit&quot;&gt;The upstream
395 project still exist&lt;/a&gt;, though, and up until today, the upstream
396 source was available from Savannah via subversion. I am happy to
397 report that this just changed.&lt;/p&gt;
398
399 &lt;p&gt;The upstream source is now in Git, and consist of three
400 repositories:&lt;/p&gt;
401
402 &lt;ul&gt;
403
404 &lt;li&gt;&lt;a href=&quot;http://git.savannah.nongnu.org/cgit/sysvinit.git&quot;&gt;sysvinit&lt;/a&gt;&lt;/li&gt;
405 &lt;li&gt;&lt;a href=&quot;http://git.savannah.nongnu.org/cgit/sysvinit/insserv.git&quot;&gt;insserv&lt;/a&gt;&lt;/li&gt;
406 &lt;li&gt;&lt;a href=&quot;http://git.savannah.nongnu.org/cgit/sysvinit/startpar.git&quot;&gt;startpar&lt;/a&gt;&lt;/li&gt;
407
408 &lt;/ul&gt;
409
410 &lt;p&gt;I do not really spend much time on the project these days, and I
411 has mostly retired, but found it best to migrate the source to a good
412 version control system to help those willing to move it forward.&lt;/p&gt;
413
414 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
415 activities, please send Bitcoin donations to my address
416 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
417 </description>
418 </item>
419
420 <item>
421 <title>Using VLC to stream bittorrent sources</title>
422 <link>http://people.skolelinux.org/pere/blog/Using_VLC_to_stream_bittorrent_sources.html</link>
423 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Using_VLC_to_stream_bittorrent_sources.html</guid>
424 <pubDate>Wed, 14 Feb 2018 08:00:00 +0100</pubDate>
425 <description>&lt;p&gt;A few days ago, a new major version of
426 &lt;a href=&quot;https://www.videolan.org/&quot;&gt;VLC&lt;/a&gt; was announced, and I
427 decided to check out if it now supported streaming over
428 &lt;a href=&quot;http://bittorrent.org/&quot;&gt;bittorrent&lt;/a&gt; and
429 &lt;a href=&quot;https://webtorrent.io&quot;&gt;webtorrent&lt;/a&gt;. Bittorrent is one of
430 the most efficient ways to distribute large files on the Internet, and
431 Webtorrent is a variant of Bittorrent using
432 &lt;a href=&quot;https://webrtc.org&quot;&gt;WebRTC&lt;/a&gt; as its transport channel,
433 allowing web pages to stream and share files using the same technique.
434 The network protocols are similar but not identical, so a client
435 supporting one of them can not talk to a client supporting the other.
436 I was a bit surprised with what I discovered when I started to look.
437 Looking at
438 &lt;a href=&quot;https://www.videolan.org/vlc/releases/3.0.0.html&quot;&gt;the release
439 notes&lt;/a&gt; did not help answering this question, so I started searching
440 the web. I found several news articles from 2013, most of them
441 tracing the news from Torrentfreak
442 (&quot;&lt;a href=https://torrentfreak.com/open-source-giant-vlc-mulls-bittorrent-support-130211/&quot;&gt;Open
443 Source Giant VLC Mulls BitTorrent Streaming Support&lt;/a&gt;&quot;), about a
444 initiative to pay someone to create a VLC patch for bittorrent
445 support. To figure out what happend with this initiative, I headed
446 over to the #videolan IRC channel and asked if there were some bug or
447 feature request tickets tracking such feature. I got an answer from
448 lead developer Jean-Babtiste Kempf, telling me that there was a patch
449 but neither he nor anyone else knew where it was. So I searched a bit
450 more, and came across an independent
451 &lt;a href=&quot;https://github.com/johang/vlc-bittorrent&quot;&gt;VLC plugin to add
452 bittorrent support&lt;/a&gt;, created by Johan Gunnarsson in 2016/2017.
453 Again according to Jean-Babtiste, this is not the patch he was talking
454 about.&lt;/p&gt;
455
456 &lt;p&gt;Anyway, to test the plugin, I made a working Debian package from
457 the git repository, with some modifications. After installing this
458 package, I could stream videos from
459 &lt;a href=&quot;https://www.archive.org/&quot;&gt;The Internet Archive&lt;/a&gt; using VLC
460 commands like this:&lt;/p&gt;
461
462 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
463 vlc https://archive.org/download/LoveNest/LoveNest_archive.torrent
464 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
465
466 &lt;p&gt;The plugin is supposed to handle magnet links too, but since The
467 Internet Archive do not have magnet links and I did not want to spend
468 time tracking down another source, I have not tested it. It can take
469 quite a while before the video start playing without any indication of
470 what is going on from VLC. It took 10-20 seconds when I measured it.
471 Some times the plugin seem unable to find the correct video file to
472 play, and show the metadata XML file name in the VLC status line. I
473 have no idea why.&lt;/p&gt;
474
475 &lt;p&gt;I have created a &lt;a href=&quot;https://bugs.debian.org/890360&quot;&gt;request for
476 a new package in Debian (RFP)&lt;/a&gt; and
477 &lt;a href=&quot;https://github.com/johang/vlc-bittorrent/issues/1&quot;&gt;asked if
478 the upstream author is willing to help make this happen&lt;/a&gt;. Now we
479 wait to see what come out of this. I do not want to maintain a
480 package that is not maintained upstream, nor do I really have time to
481 maintain more packages myself, so I might leave it at this. But I
482 really hope someone step up to do the packaging, and hope upstream is
483 still maintaining the source. If you want to help, please update the
484 RFP request or the upstream issue.&lt;/p&gt;
485
486 &lt;p&gt;I have not found any traces of webtorrent support for VLC.&lt;/p&gt;
487
488 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
489 activities, please send Bitcoin donations to my address
490 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
491 </description>
492 </item>
493
494 </channel>
495 </rss>