]> pere.pagekite.me Git - homepage.git/blob - blog/archive/2018/02/02.rss
Generated.
[homepage.git] / blog / archive / 2018 / 02 / 02.rss
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
3 <channel>
4 <title>Petter Reinholdtsen - Entries from February 2018</title>
5 <description>Entries from February 2018</description>
6 <link>http://people.skolelinux.org/pere/blog/</link>
7
8
9 <item>
10 <title>Using VLC to stream bittorrent sources</title>
11 <link>http://people.skolelinux.org/pere/blog/Using_VLC_to_stream_bittorrent_sources.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Using_VLC_to_stream_bittorrent_sources.html</guid>
13 <pubDate>Wed, 14 Feb 2018 08:00:00 +0100</pubDate>
14 <description>&lt;p&gt;A few days ago, a new major version of
15 &lt;a href=&quot;https://www.videolan.org/&quot;&gt;VLC&lt;/a&gt; was announced, and I
16 decided to check out if it now supported streaming over
17 &lt;a href=&quot;http://bittorrent.org/&quot;&gt;bittorrent&lt;/a&gt; and
18 &lt;a href=&quot;https://webtorrent.io&quot;&gt;webtorrent&lt;/a&gt;. Bittorrent is one of
19 the most efficient ways to distribute large files on the Internet, and
20 Webtorrent is a variant of Bittorrent using
21 &lt;a href=&quot;https://webrtc.org&quot;&gt;WebRTC&lt;/a&gt; as its transport channel,
22 allowing web pages to stream and share files using the same technique.
23 The network protocols are not identical, so a client supporting one of
24 them can not talk to a client supporting the other. I was a bit
25 surprised with what I discovered. Looking at
26 &lt;a href=&quot;https://www.videolan.org/vlc/releases/3.0.0.html&quot;&gt;the release
27 notes&lt;/a&gt; did not help answering this question, so I started searching
28 the web. I found several news articles from 2013, most of them
29 tracing the news from Torrentfreak
30 (&quot;&lt;a href=https://torrentfreak.com/open-source-giant-vlc-mulls-bittorrent-support-130211/&quot;&gt;Open
31 Source Giant VLC Mulls BitTorrent Streaming Support&lt;/a&gt;&quot;), about a
32 initiative to pay someone to create a VLC patch for bittorrent
33 support. To figure out what happend with this initiative, I headed
34 over to the #videolan IRC channel and asked if there were some bug or
35 feature request tickets tracking such feature. I got an answer from
36 lead developer Jean-Babtiste Kempf, telling me that there was a patch
37 but neither he nor anyone else knew where it was. So I searched a bit
38 more, and came across an independent
39 &lt;a href=&quot;https://github.com/johang/vlc-bittorrent&quot;&gt;VLC plugin to add
40 bittorrent support&lt;/a&gt;, created by Johan Gunnarsson in 2016/2017.
41 Again according to Jean-Babtiste, this is not the patch he was talking
42 about.&lt;/p&gt;
43
44 &lt;p&gt;Anyway, to test the plugin, I made a working Debian package from
45 the git repository, with some modifications. After installing this
46 package, I could stream videos from
47 &lt;a href=&quot;https://www.archive.org/&quot;&gt;The Internet Archive&lt;/a&gt; using VLC
48 commands like this:&lt;/p&gt;
49
50 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
51 vlc https://archive.org/download/LoveNest/LoveNest_archive.torrent
52 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
53
54 &lt;p&gt;The plugin is supposed to handle magnet links too, but since The
55 Internet Archive do not have magnet links and I did not want to spend
56 time tracking down another source, I have not tested it. It can take
57 quite a while before the video start playing without any indication of
58 what is going on from VLC. It took 10-20 seconds when I measured it.
59 Some times the plugin seem unable to find the correct video file to
60 play, and show the metadata XML file name in the VLC status line. I
61 have no idea why.&lt;/p&gt;
62
63 &lt;p&gt;I have created a &lt;a href=&quot;https://bugs.debian.org/890360&quot;&gt;request for
64 a new package in Debian (RFP)&lt;/a&gt; and
65 &lt;a href=&quot;https://github.com/johang/vlc-bittorrent/issues/1&quot;&gt;asked if
66 the upstream author is willing to help make this happen&lt;/a&gt;. Now we
67 wait to see what come out of this. I do not want to maintain a
68 package that is not maintained upstream, nor do I really have time to
69 maintain more packages myself, so I might leave it at this. But I
70 really hope someone step up to do the packaging, and hope upstream is
71 still maintaining the source. If you want to help, please update the
72 RFP request or the upstream issue.&lt;/p&gt;
73
74 &lt;p&gt;I have not found any traces of webtorrent support for VLC.&lt;/p&gt;
75
76 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
77 activities, please send Bitcoin donations to my address
78 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
79 </description>
80 </item>
81
82 <item>
83 <title>Version 3.1 of Cura, the 3D print slicer, is now in Debian</title>
84 <link>http://people.skolelinux.org/pere/blog/Version_3_1_of_Cura__the_3D_print_slicer__is_now_in_Debian.html</link>
85 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Version_3_1_of_Cura__the_3D_print_slicer__is_now_in_Debian.html</guid>
86 <pubDate>Tue, 13 Feb 2018 06:20:00 +0100</pubDate>
87 <description>&lt;p&gt;A new version of the
88 &lt;a href=&quot;https://tracker.debian.org/pkg/cura&quot;&gt;3D printer slicer
89 software Cura&lt;/a&gt;, version 3.1.0, is now available in Debian Testing
90 (aka Buster) and Debian Unstable (aka Sid). I hope you find it
91 useful. It was uploaded the last few days, and the last update will
92 enter testing tomorrow. See the
93 &lt;a href=&quot;https://ultimaker.com/en/products/cura-software/release-notes&quot;&gt;release
94 notes&lt;/a&gt; for the list of bug fixes and new features. Version 3.2
95 was announced 6 days ago. We will try to get it into Debian as
96 well.&lt;/p&gt;
97
98 &lt;p&gt;More information related to 3D printing is available on the
99 &lt;a href=&quot;https://wiki.debian.org/3DPrinting&quot;&gt;3D printing&lt;/a&gt; and
100 &lt;a href=&quot;https://wiki.debian.org/3D-printer&quot;&gt;3D printer&lt;/a&gt; wiki pages
101 in Debian.&lt;/p&gt;
102
103 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
104 activities, please send Bitcoin donations to my address
105 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
106 </description>
107 </item>
108
109 <item>
110 <title>Overvåkning i Kina vs. Norge</title>
111 <link>http://people.skolelinux.org/pere/blog/Overv_kning_i_Kina_vs__Norge.html</link>
112 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Overv_kning_i_Kina_vs__Norge.html</guid>
113 <pubDate>Mon, 12 Feb 2018 09:40:00 +0100</pubDate>
114 <description>&lt;p&gt;Jeg lar meg fascinere av en artikkel
115 &lt;a href=&quot;https://www.dagbladet.no/kultur/terroristene-star-pa-dora/69436116&quot;&gt;i
116 Dagbladet om Kinas håndtering av Xinjiang&lt;/a&gt;, spesielt følgende
117 utsnitt:&lt;/p&gt;
118
119 &lt;p&gt;&lt;blockquote&gt;
120
121 &lt;p&gt;«I den sørvestlige byen Kashgar nærmere grensa til
122 Sentral-Asia meldes det nå at 120.000 uigurer er internert i såkalte
123 omskoleringsleirer. Samtidig er det innført et omfattende
124 helsesjekk-program med innsamling og lagring av DNA-prøver fra
125 absolutt alle innbyggerne. De mest avanserte overvåkingsmetodene
126 testes ut her. Programmer for å gjenkjenne ansikter og stemmer er på
127 plass i regionen. Der har de lokale myndighetene begynt å installere
128 GPS-systemer i alle kjøretøy og egne sporingsapper i
129 mobiltelefoner.&lt;/p&gt;
130
131 &lt;p&gt;Politimetodene griper så dypt inn i folks dagligliv at motstanden
132 mot Beijing-regimet øker.»&lt;/p&gt;
133
134 &lt;/blockquote&gt;&lt;/p&gt;
135
136 &lt;p&gt;Beskrivelsen avviker jo desverre ikke så veldig mye fra tilstanden
137 her i Norge.&lt;/p&gt;
138
139 &lt;table&gt;
140 &lt;tr&gt;
141 &lt;th&gt;Dataregistrering&lt;/th&gt;
142 &lt;th&gt;Kina&lt;/th&gt;
143 &lt;th&gt;Norge&lt;/th&gt;
144
145 &lt;tr&gt;
146 &lt;td&gt;Innsamling og lagring av DNA-prøver fra befolkningen&lt;/td&gt;
147 &lt;td&gt;Ja&lt;/td&gt;
148 &lt;td&gt;Delvis, planlagt for alle nyfødte.&lt;/td&gt;
149 &lt;/tr&gt;
150
151 &lt;tr&gt;
152 &lt;td&gt;Ansiktsgjenkjenning&lt;/td&gt;
153 &lt;td&gt;Ja&lt;/td&gt;
154 &lt;td&gt;Ja&lt;/td&gt;
155 &lt;/tr&gt;
156
157 &lt;tr&gt;
158 &lt;td&gt;Stemmegjenkjenning&lt;/td&gt;
159 &lt;td&gt;Ja&lt;/td&gt;
160 &lt;td&gt;Nei&lt;/td&gt;
161 &lt;/tr&gt;
162
163 &lt;tr&gt;
164 &lt;td&gt;Posisjons-sporing av mobiltelefoner&lt;/td&gt;
165 &lt;td&gt;Ja&lt;/td&gt;
166 &lt;td&gt;Ja&lt;/td&gt;
167 &lt;/tr&gt;
168
169 &lt;tr&gt;
170 &lt;td&gt;Posisjons-sporing av biler&lt;/td&gt;
171 &lt;td&gt;Ja&lt;/td&gt;
172 &lt;td&gt;Ja&lt;/td&gt;
173 &lt;/tr&gt;
174
175 &lt;/table&gt;
176
177 &lt;p&gt;I Norge har jo situasjonen rundt Folkehelseinstituttets lagring av
178 DNA-informasjon på vegne av politiet, der de nektet å slette
179 informasjon politiet ikke hadde lov til å ta vare på, gjort det klart
180 at DNA tar vare på ganske lenge. I tillegg finnes det utallige
181 biobanker som lagres til evig tid, og det er planer om å innføre
182 &lt;a href=&quot;https://www.aftenposten.no/norge/i/75E9/4-av-10-mener-staten-bor-lagre-DNA-profiler-pa-alle-nyfodte&quot;&gt;evig
183 lagring av DNA-materiale fra alle spebarn som fødes&lt;/a&gt; (med mulighet
184 for å be om sletting).&lt;/p&gt;
185
186 &lt;p&gt;I Norge er det system på plass for ansiktsgjenkjenning, som
187 &lt;a href=&quot;https://www.nrk.no/norge/kun-gardermoen-har-teknologi-for-ansiktsgjenkjenning-i-norge-1.12719461&quot;&gt;en
188 NRK-artikkel fra 2015&lt;/a&gt; forteller er aktiv på Gardermoen, samt
189 &lt;a href=&quot;https://www.dagbladet.no/nyheter/inntil-27-000-bor-i-norge-under-falsk-id/60500781&quot;&gt;brukes
190 til å analysere bilder innsamlet av myndighetene&lt;/a&gt;. Brukes det også
191 flere plasser? Det er tett med overvåkningskamera kontrollert av
192 politi og andre myndigheter i for eksempel Oslo sentrum.&lt;/p&gt;
193
194 &lt;p&gt;Jeg er ikke kjent med at Norge har noe system for identifisering av
195 personer ved hjelp av stemmegjenkjenning.&lt;/p&gt;
196
197 &lt;p&gt;Posisjons-sporing av mobiltelefoner er ruinemessig tilgjengelig for
198 blant annet politi, NAV og Finanstilsynet, i tråd med krav i
199 telefonselskapenes konsesjon. I tillegg rapporterer smarttelefoner
200 sin posisjon til utviklerne av utallige mobil-apper, der myndigheter
201 og andre kan hente ut informasjon ved behov. Det er intet behov for
202 noen egen app for dette.&lt;/p&gt;
203
204 &lt;p&gt;Posisjons-sporing av biler er rutinemessig tilgjengelig via et tett
205 nett av målepunkter på veiene (automatiske bomstasjoner,
206 køfribrikke-registrering, automatiske fartsmålere og andre veikamera).
207 Det er i tillegg vedtatt at alle nye biler skal selges med utstyr for
208 GPS-sporing (eCall).&lt;/p&gt;
209
210 &lt;p&gt;Det er jammen godt vi lever i et liberalt demokrati, og ikke en
211 overvåkningsstat, eller?&lt;/p&gt;
212
213 &lt;p&gt;Som vanlig, hvis du bruker Bitcoin og ønsker å vise din støtte til
214 det jeg driver med, setter jeg pris på om du sender Bitcoin-donasjoner
215 til min adresse
216 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
217 </description>
218 </item>
219
220 <item>
221 <title>How hard can æ, ø and å be?</title>
222 <link>http://people.skolelinux.org/pere/blog/How_hard_can______and___be_.html</link>
223 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_hard_can______and___be_.html</guid>
224 <pubDate>Sun, 11 Feb 2018 17:10:00 +0100</pubDate>
225 <description>&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2018-02-11-peppes-unicode.jpeg&quot; align=&quot;right&quot;/&gt;
226
227 &lt;p&gt;We write 2018, and it is 30 years since Unicode was introduced.
228 Most of us in Norway have come to expect the use of our alphabet to
229 just work with any computer system. But it is apparently beyond reach
230 of the computers printing recites at a restaurant. Recently I visited
231 a Peppes pizza resturant, and noticed a few details on the recite.
232 Notice how &#39;ø&#39; and &#39;å&#39; are replaced with strange symbols in
233 &#39;Servitør&#39;, &#39;Å BETALE&#39;, &#39;Beløp pr. gjest&#39;, &#39;Takk for besøket.&#39; and &#39;Vi
234 gleder oss til å se deg igjen&#39;.&lt;/p&gt;
235
236 &lt;p&gt;I would say that this state is passed sad and over in embarrassing.&lt;/p&gt;
237
238 &lt;p&gt;I removed personal and private information to be nice.&lt;/p&gt;
239
240 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
241 activities, please send Bitcoin donations to my address
242 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
243 </description>
244 </item>
245
246 </channel>
247 </rss>