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