1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/'
>
4 <title>Petter Reinholdtsen - Entries from June
2019</title>
5 <description>Entries from June
2019</description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
10 <title>Jami/Ring, finally functioning peer to peer communication client
</title>
11 <link>http://people.skolelinux.org/pere/blog/Jami_Ring__finally_functioning_peer_to_peer_communication_client.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Jami_Ring__finally_functioning_peer_to_peer_communication_client.html
</guid>
13 <pubDate>Wed,
19 Jun
2019 08:
50:
00 +
0200</pubDate>
14 <description><p
>Some years ago, in
2016, I
15 <a href=
"http://people.skolelinux.org/pere/blog/Experience_and_updated_recipe_for_using_the_Signal_app_without_a_mobile_phone.html
">wrote
16 for the first time about
</a
> the Ring peer to peer messaging system.
17 It would provide messaging without any central server coordinating the
18 system and without requiring all users to register a phone number or
19 own a mobile phone. Back then, I could not get it to work, and put it
20 aside until it had seen more development. A few days ago I decided to
21 give it another try, and am happy to report that this time I am able
22 to not only send and receive messages, but also place audio and video
23 calls. But only if UDP is not blocked into your network.
</p
>
25 <p
>The Ring system changed name earlier this year to
26 <a href=
"https://en.wikipedia.org/wiki/Jami_(software)
">Jami
</a
>. I
27 tried doing web search for
'ring
' when I discovered it for the first
28 time, and can only applaud this change as it is impossible to find
29 something called Ring among the noise of other uses of that word. Now
30 you can search for
'jami
' and this client and
31 <a href=
"https://jami.net/
">the Jami system
</a
> is the first hit at
32 least on duckduckgo.
</p
>
34 <p
>Jami will by default encrypt messages as well as audio and video
35 calls, and try to send them directly between the communicating parties
36 if possible. If this proves impossible (for example if both ends are
37 behind NAT), it will use a central SIP TURN server maintained by the
38 Jami project. Jami can also be a normal SIP client. If the SIP
39 server is unencrypted, the audio and video calls will also be
40 unencrypted. This is as far as I know the only case where Jami will
41 do anything without encryption.
</p
>
43 <p
>Jami is available for several platforms: Linux, Windows, MacOSX,
44 Android, iOS, and Android TV. It is included in Debian already. Jami
45 also work for those using F-Droid without any Google connections,
47 <a href=
"https://git.jami.net/savoirfairelinux/ring-project/wikis/technical/Protocol
">The
48 protocol
</a
> is described in the Ring project wiki. The system uses a
49 distributed hash table (DHT) system (similar to BitTorrent) running
50 over UDP. On one of the networks I use, I discovered Jami failed to
51 work. I tracked this down to the fact that incoming UDP packages
52 going to ports
1-
49999 were blocked, and the DHT would pick a random
53 port and end up in the low range most of the time. After talking to
54 the developers, I solved this by enabling the dhtproxy in the
55 settings, thus using TCP to talk to a central DHT proxy instead of
57 peering directly with others. I
've been told the developers are
58 working on allowing DHT to use TCP to avoid this problem. I also ran
59 into a problem when trying to talk to the version of Ring included in
60 Debian Stable (Stretch). Apparently the protocol changed between
61 beta2 and the current version, making these clients incompatible.
62 Hopefully the protocol will not be made incompatible in the
65 <p
>It is worth noting that while looking at Jami and its features, I
66 came across another communication platform I have not tested yet. The
67 <a href=
"https://en.wikipedia.org/wiki/Tox_(protocol)
">Tox protocol
</a
>
68 and
<a href=
"https://tox.chat/
">family of Tox clients
</a
>. It might
69 become the topic of a future blog post.
</p
>
71 <p
>As usual, if you use Bitcoin and want to show your support of my
72 activities, please send Bitcoin donations to my address
73 <b
><a href=
"bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a
></b
>.
</p
>
78 <title>More sales number for my Free Culture paper editions (
2019-edition)
</title>
79 <link>http://people.skolelinux.org/pere/blog/More_sales_number_for_my_Free_Culture_paper_editions__2019_edition_.html
</link>
80 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/More_sales_number_for_my_Free_Culture_paper_editions__2019_edition_.html
</guid>
81 <pubDate>Tue,
11 Jun
2019 16:
05:
00 +
0200</pubDate>
82 <description><p
>The first book I published,
83 <a href=
"http://www.free-culture.cc/
">Free Culture by Lawrence
84 Lessig
</a
>, is still selling a few copies. Not a lot, but enough to
85 have contributed slightly over $
500 to the
<a
86 href=
"https://creativecommons.org/
">Creative Commons Corporation
</a
>
87 so far. All the profit is sent there. Most books are still sold via
88 Amazon (
83 copies), with Ingram second (
49) and Lulu (
12) and Machette (
7) as
89 minor channels. Bying directly from Lulu bring the largest cut to
90 Creative Commons. The English Edition sold
80 copies so far, the
91 French
59 copies, and Norwegian only
8 copies. Nothing impressive,
92 but nice to see the work we put down is still being appreciated. The
93 ebook edition is available for free from
94 <a href=
"https://github.com/petterreinholdtsen/free-culture-lessig
">Github
</a
>.
</p
>
96 <table border=
"0">
97 <tr
><th rowspan=
"2" valign=
"bottom
">Title / language
</th
>
98 <th colspan=
"7">Quantity
</th
></tr
>
100 <th
>2016 jan-jun
</th
>
101 <th
>2016 jul-dec
</th
>
102 <th
>2017 jan-jun
</th
>
103 <th
>2017 jul-dec
</th
>
104 <th
>2018 jan-jun
</th
>
105 <th
>2018 jul-dec
</th
>
106 <th
>2019 jan-may
</th
>
110 <td
><a href=
"http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-
22645082.html
">Culture Libre / French
</a
></td
>
111 <td align=
"right
">3</td
>
112 <td align=
"right
">6</td
>
113 <td align=
"right
">19</td
>
114 <td align=
"right
">11</td
>
115 <td align=
"right
">7</td
>
116 <td align=
"right
">6</td
>
117 <td align=
"right
">7</td
>
121 <td
><a href=
"http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-
22441576.html
">Fri kultur / Norwegian
</a
></td
>
122 <td align=
"right
">7</td
>
123 <td align=
"right
">1</td
>
124 <td align=
"right
">0</td
>
125 <td align=
"right
">0</td
>
126 <td align=
"right
">0</td
>
127 <td align=
"right
">0</td
>
128 <td align=
"right
">0</td
>
132 <td
><a href=
"http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-
22440520.html
">Free Culture / English
</a
></td
>
133 <td align=
"right
">14</td
>
134 <td align=
"right
">27</td
>
135 <td align=
"right
">16</td
>
136 <td align=
"right
">9</td
>
137 <td align=
"right
">3</td
>
138 <td align=
"right
">7</td
>
139 <td align=
"right
">3</td
>
143 <td
>Total
</td
>
144 <td align=
"right
">24</td
>
145 <td align=
"right
">34</td
>
146 <td align=
"right
">35</td
>
147 <td align=
"right
">20</td
>
148 <td align=
"right
">10</td
>
149 <td align=
"right
">13</td
>
150 <td align=
"right
">10</td
>
155 <p
>It is fun to see the French edition being more popular than the
156 English one.
</p
>
158 <p
>If you would like to translate and publish the book in your native
159 language, I would be happy to help make it happen. Please get in
165 <title>Official MIME type
"text/vnd.sosi
" for SOSI map data
</title>
166 <link>http://people.skolelinux.org/pere/blog/Official_MIME_type__text_vnd_sosi__for_SOSI_map_data.html
</link>
167 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Official_MIME_type__text_vnd_sosi__for_SOSI_map_data.html
</guid>
168 <pubDate>Tue,
4 Jun
2019 09:
20:
00 +
0200</pubDate>
169 <description><p
>Just
15 days ago,
170 <ahref=
"http://people.skolelinux.org/pere/blog/MIME_type__text_vnd_sosi__for_SOSI_map_data.html
">I
171 mentioned
</a
> my submission to IANA to register an official MIME type
172 for the SOSI vector map format. This morning, just an hour ago, I was
174 <a href=
"https://www.iana.org/assignments/media-types/text/vnd.sosi
">the
175 MIME type
"text/vnd.sosi
"</a
> is registered for this format. In
176 addition to this registration, my
177 <a href=
"https://github.com/file/file/blob/master/magic/Magdir/sosi
">file(
1)
178 patch for a pattern matching rule for SOSI files
</a
> has been accepted
179 into the official source of that program (pending a new release), and
180 I
've been told by the team behind
181 <a href=
"https://www.nationalarchives.gov.uk/PRONOM/
">PRONOM
</a
> that
182 the SOSI format will be included in the next release of PRONOM, which
183 they plan to release this summer around July.
</p
>
185 <p
>I am very happy to see all of this fall into place, for use by
186 <a href=
"https://github.com/arkivverket/noark5-tjenestegrensesnitt-standard/
">the
187 Noark
5 Tjenestegrensesnitt
</a
> implementations.
</p
>
189 <p
>As usual, if you use Bitcoin and want to show your support of my
190 activities, please send Bitcoin donations to my address
191 <b
><a href=
"bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a
></b
>.
</p
>
196 <title>The space rover coquine, or how I ended up on the dark side of the moon
</title>
197 <link>http://people.skolelinux.org/pere/blog/The_space_rover_coquine__or_how_I_ended_up_on_the_dark_side_of_the_moon.html
</link>
198 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/The_space_rover_coquine__or_how_I_ended_up_on_the_dark_side_of_the_moon.html
</guid>
199 <pubDate>Sun,
2 Jun
2019 23:
55:
00 +
0200</pubDate>
200 <description><p
>A while back a college and friend from Debian and the Skolelinux /
201 Debian Edu project approached me, asking if I knew someone that might
202 be interested in helping out with a technology project he was running
203 as a teacher at
<a href=
"https://www.ecolefrancodanoise.dk/
">L
'école
204 franco-danoise
</a
> - the Danish-French school and kindergarden. The
205 kids were building robots, rovers. The story behind it is to build a
207 <a href=
"http://blog.ecolefrancodanoise.dk/first-week-on-the-dark-side
">on
208 the dark side of the moon
</a
>, and remote control it. As travel cost
209 was a bit high for the final destination, and they wanted to test the
210 concept first, he was looking for volunteers to host a rover for the
211 kids to control in a foreign country. I ended up volunteering as a
212 host, and last week the rover arrived. It took a while to arrive
213 after
<a href=
"http://blog.ecolefrancodanoise.dk/model-moms
">it was
214 built and shipped
</a
>, because of customs confusion. Luckily we were
215 able fix it quickly with help from my colleges at work.
</p
>
217 <p
>This is what it looked like when the rover arrived. Note the cute
218 eyes looking up on me from the wrapping
</p
>
220 <img src=
"http://people.skolelinux.org/pere/blog/images/
2019-
06-
02-robot-dark-side-of-moon-esken-med-det-rare-i.jpeg
" width=
"32%
" style=
"clear:left
"/
>
221 <img src=
"http://people.skolelinux.org/pere/blog/images/
2019-
06-
02-robot-dark-side-of-moon-den-ser-meg.jpeg
" width=
"32%
" style=
"clear:left
"/
>
222 <img src=
"http://people.skolelinux.org/pere/blog/images/
2019-
06-
02-robot-dark-side-of-moon-en-skrue-loes.jpeg
" width=
"32%
" style=
"clear:left
"/
>
224 <p style=
"text-align:left
">Once the robot arrived, we needed to track
225 down batteries and figure out how to build custom firmware for it with
226 the appropriate wifi settings. I asked a friend if I could get two
227 18650 batteries from his pile of Tesla batteries (he had them from the
228 wrack of a crashed Tesla), so now the rover is running on Tesla
232 <a href=
"https://gitlab.com/ecolefrancodanoise/arduino-efd/
">the rover
233 firmware
</a
> proved a bit harder, as the code did not work out of the
234 box with the Arduino IDE package in Debian Buster. I suspect this is
236 <a href=
"https://github.com/arduino/Arduino/pull/
2703"> license problem
237 with arduino
</a
> blocking Debian from upgrading to the latest version.
238 In the end we gave up debugging why the IDE failed to find the
239 required libraries, and ended up using the Arduino Makefile from the
240 <a href=
"https://tracker.debian.org/pkg/arduino-mk
">arduino-mk Debian
241 package
</a
> instead. Unfortunately the camera library is missing from
242 the Arduino environment in Debian, so we disabled the camera support
243 for the first firmware build, to get something up and running. With
244 this reduced firmware, the robot could be controlled via the
245 controller server, driving around and measuring distance using its
246 internal acoustic sensor.
</p
>
248 <p
>Next, With some help from my friend in Denmark, which checked in the
249 camera library into the gitlab repository for me to use, we were able
250 to build a new and more complete version of the firmware, and the
251 robot is now up and running. This is what the
"commander
" web page
252 look like after taking a measurement and a snapshot:
</p
>
254 <img src=
"http://people.skolelinux.org/pere/blog/images/
2019-
06-
02-robot-dark-side-of-moon-commander.png
" width=
"40%
" border=
"1" align=
"center
"/
>
256 <p
>If you want to learn more about this project, you can check out the
257 <a href=
"https://hackaday.io/project/
164082-the-dark-side-challenge
">The
258 Dark Side Challenge
</a
> Hackaday web pages.
</p
>
260 <p
>As usual, if you use Bitcoin and want to show your support of my
261 activities, please send Bitcoin donations to my address
262 <b
><a href=
"bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a
></b
>.
</p
>