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