- <item>
- <title>Jami/Ring, finally functioning peer to peer communication client</title>
- <link>http://people.skolelinux.org/pere/blog/Jami_Ring__finally_functioning_peer_to_peer_communication_client.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Jami_Ring__finally_functioning_peer_to_peer_communication_client.html</guid>
- <pubDate>Wed, 19 Jun 2019 08:50:00 +0200</pubDate>
- <description><p>Some years ago, in 2016, I
-<a href="http://people.skolelinux.org/pere/blog/Experience_and_updated_recipe_for_using_the_Signal_app_without_a_mobile_phone.html">wrote
-for the first time about</a> the Ring peer to peer messaging system.
-It would provide messaging without any central server coordinating the
-system and without requiring all users to register a phone number or
-own a mobile phone. Back then, I could not get it to work, and put it
-aside until it had seen more development. A few days ago I decided to
-give it another try, and am happy to report that this time I am able
-to not only send and receive messages, but also place audio and video
-calls. But only if UDP is not blocked into your network.</p>
-
-<p>The Ring system changed name earlier this year to
-<a href="https://en.wikipedia.org/wiki/Jami_(software)">Jami</a>. I
-tried doing web search for 'ring' when I discovered it for the first
-time, and can only applaud this change as it is impossible to find
-something called Ring among the noise of other uses of that word. Now
-you can search for 'jami' and this client and
-<a href="https://jami.net/">the Jami system</a> is the first hit at
-least on duckduckgo.</p>
-
-<p>Jami will by default encrypt messages as well as audio and video
-calls, and try to send them directly between the communicating parties
-if possible. If this proves impossible (for example if both ends are
-behind NAT), it will use a central SIP TURN server maintained by the
-Jami project. Jami can also be a normal SIP client. If the SIP
-server is unencrypted, the audio and video calls will also be
-unencrypted. This is as far as I know the only case where Jami will
-do anything without encryption.</p>
-
-<p>Jami is available for several platforms: Linux, Windows, MacOSX,
-Android, iOS, and Android TV. It is included in Debian already. Jami
-also work for those using F-Droid without any Google connections,
-while Signal do not.
-<a href="https://git.jami.net/savoirfairelinux/ring-project/wikis/technical/Protocol">The
-protocol</a> is described in the Ring project wiki. The system uses a
-distributed hash table (DHT) system (similar to BitTorrent) running
-over UDP. On one of the networks I use, I discovered Jami failed to
-work. I tracked this down to the fact that incoming UDP packages
-going to ports 1-49999 were blocked, and the DHT would pick a random
-port and end up in the low range most of the time. After talking to
-the developers, I solved this by enabling the dhtproxy in the
-settings, thus using TCP to talk to a central DHT proxy instead of
-
-peering directly with others. I've been told the developers are
-working on allowing DHT to use TCP to avoid this problem. I also ran
-into a problem when trying to talk to the version of Ring included in
-Debian Stable (Stretch). Apparently the protocol changed between
-beta2 and the current version, making these clients incompatible.
-Hopefully the protocol will not be made incompatible in the
-future.</p>
-
-<p>It is worth noting that while looking at Jami and its features, I
-came across another communication platform I have not tested yet. The
-<a href="https://en.wikipedia.org/wiki/Tox_(protocol)">Tox protocol</a>
-and <a href="https://tox.chat/">family of Tox clients</a>. It might
-become the topic of a future blog post.</p>
-
-<p>As usual, if you use Bitcoin and want to show your support of my
-activities, please send Bitcoin donations to my address
-<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
-</description>
- </item>
-
- <item>
- <title>More sales number for my Free Culture paper editions (2019-edition)</title>
- <link>http://people.skolelinux.org/pere/blog/More_sales_number_for_my_Free_Culture_paper_editions__2019_edition_.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/More_sales_number_for_my_Free_Culture_paper_editions__2019_edition_.html</guid>
- <pubDate>Tue, 11 Jun 2019 16:05:00 +0200</pubDate>
- <description><p>The first book I published,
-<a href="http://www.free-culture.cc/">Free Culture by Lawrence
-Lessig</a>, is still selling a few copies. Not a lot, but enough to
-have contributed slightly over $500 to the <a
-href="https://creativecommons.org/">Creative Commons Corporation</a>
-so far. All the profit is sent there. Most books are still sold via
-Amazon (83 copies), with Ingram second (49) and Lulu (12) and Machette (7) as
-minor channels. Bying directly from Lulu bring the largest cut to
-Creative Commons. The English Edition sold 80 copies so far, the
-French 59 copies, and Norwegian only 8 copies. Nothing impressive,
-but nice to see the work we put down is still being appreciated. The
-ebook edition is available for free from
-<a href="https://github.com/petterreinholdtsen/free-culture-lessig">Github</a>.</p>
-
-<table border="0">
-<tr><th rowspan="2" valign="bottom">Title / language</th>
-<th colspan="7">Quantity</th></tr>
-<tr>
-<th>2016 jan-jun</th>
-<th>2016 jul-dec</th>
-<th>2017 jan-jun</th>
-<th>2017 jul-dec</th>
-<th>2018 jan-jun</th>
-<th>2018 jul-dec</th>
-<th>2019 jan-may</th>
-</tr>
-
-<tr>
- <td><a href="http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-22645082.html">Culture Libre / French</a></td>
- <td align="right">3</td>
- <td align="right">6</td>
- <td align="right">19</td>
- <td align="right">11</td>
- <td align="right">7</td>
- <td align="right">6</td>
- <td align="right">7</td>
-</tr>
-
-<tr>
- <td><a href="http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22441576.html">Fri kultur / Norwegian</a></td>
- <td align="right">7</td>
- <td align="right">1</td>
- <td align="right">0</td>
- <td align="right">0</td>
- <td align="right">0</td>
- <td align="right">0</td>
- <td align="right">0</td>
-</tr>
-
-<tr>
- <td><a href="http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22440520.html">Free Culture / English</a></td>
- <td align="right">14</td>
- <td align="right">27</td>
- <td align="right">16</td>
- <td align="right">9</td>
- <td align="right">3</td>
- <td align="right">7</td>
- <td align="right">3</td>
-</tr>
-
-<tr>
- <td>Total</td>
- <td align="right">24</td>
- <td align="right">34</td>
- <td align="right">35</td>
- <td align="right">20</td>
- <td align="right">10</td>
- <td align="right">13</td>
- <td align="right">10</td>
-</tr>
-
-</table>
-
-<p>It is fun to see the French edition being more popular than the
-English one.</p>
-
-<p>If you would like to translate and publish the book in your native
-language, I would be happy to help make it happen. Please get in
-touch.</p>
-</description>
- </item>
-
- <item>
- <title>Official MIME type "text/vnd.sosi" for SOSI map data</title>
- <link>http://people.skolelinux.org/pere/blog/Official_MIME_type__text_vnd_sosi__for_SOSI_map_data.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Official_MIME_type__text_vnd_sosi__for_SOSI_map_data.html</guid>
- <pubDate>Tue, 4 Jun 2019 09:20:00 +0200</pubDate>
- <description><p>Just 15 days ago,
-<ahref="http://people.skolelinux.org/pere/blog/MIME_type__text_vnd_sosi__for_SOSI_map_data.html">I
-mentioned</a> my submission to IANA to register an official MIME type
-for the SOSI vector map format. This morning, just an hour ago, I was
-notified that
-<a href="https://www.iana.org/assignments/media-types/text/vnd.sosi">the
-MIME type "text/vnd.sosi"</a> is registered for this format. In
-addition to this registration, my
-<a href="https://github.com/file/file/blob/master/magic/Magdir/sosi">file(1)
-patch for a pattern matching rule for SOSI files</a> has been accepted
-into the official source of that program (pending a new release), and
-I've been told by the team behind
-<a href="https://www.nationalarchives.gov.uk/PRONOM/">PRONOM</a> that
-the SOSI format will be included in the next release of PRONOM, which
-they plan to release this summer around July.</p>
-
-<p>I am very happy to see all of this fall into place, for use by
-<a href="https://github.com/arkivverket/noark5-tjenestegrensesnitt-standard/">the
-Noark 5 Tjenestegrensesnitt</a> implementations.</p>
-
-<p>As usual, if you use Bitcoin and want to show your support of my
-activities, please send Bitcoin donations to my address
-<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
-</description>
- </item>
-
- <item>
- <title>The space rover coquine, or how I ended up on the dark side of the moon</title>
- <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>
- <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>
- <pubDate>Sun, 2 Jun 2019 23:55:00 +0200</pubDate>
- <description><p>A while back a college and friend from Debian and the Skolelinux /
-Debian Edu project approached me, asking if I knew someone that might
-be interested in helping out with a technology project he was running
-as a teacher at <a href="https://www.ecolefrancodanoise.dk/">L'école
-franco-danoise</a> - the Danish-French school and kindergarden. The
-kids were building robots, rovers. The story behind it is to build a
-rover for use
-<a href="http://blog.ecolefrancodanoise.dk/first-week-on-the-dark-side">on
-the dark side of the moon</a>, and remote control it. As travel cost
-was a bit high for the final destination, and they wanted to test the
-concept first, he was looking for volunteers to host a rover for the
-kids to control in a foreign country. I ended up volunteering as a
-host, and last week the rover arrived. It took a while to arrive
-after <a href="http://blog.ecolefrancodanoise.dk/model-moms">it was
-built and shipped</a>, because of customs confusion. Luckily we were
-able fix it quickly with help from my colleges at work.</p>
-
-<p>This is what it looked like when the rover arrived. Note the cute
-eyes looking up on me from the wrapping</p>
-
-<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"/>
-<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"/>
-<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"/>
-
-<p style="text-align:left">Once the robot arrived, we needed to track
-down batteries and figure out how to build custom firmware for it with
-the appropriate wifi settings. I asked a friend if I could get two
-18650 batteries from his pile of Tesla batteries (he had them from the
-wrack of a crashed Tesla), so now the rover is running on Tesla
-batteries.</p>
-
-<p>Building
-<a href="https://gitlab.com/ecolefrancodanoise/arduino-efd/">the rover
-firmware</a> proved a bit harder, as the code did not work out of the
-box with the Arduino IDE package in Debian Buster. I suspect this is
-due to a unsolved
-<a href="https://github.com/arduino/Arduino/pull/2703"> license problem
-with arduino</a> blocking Debian from upgrading to the latest version.
-In the end we gave up debugging why the IDE failed to find the
-required libraries, and ended up using the Arduino Makefile from the
-<a href="https://tracker.debian.org/pkg/arduino-mk">arduino-mk Debian
-package</a> instead. Unfortunately the camera library is missing from
-the Arduino environment in Debian, so we disabled the camera support
-for the first firmware build, to get something up and running. With
-this reduced firmware, the robot could be controlled via the
-controller server, driving around and measuring distance using its
-internal acoustic sensor.</p>
-
-<p>Next, With some help from my friend in Denmark, which checked in the
-camera library into the gitlab repository for me to use, we were able
-to build a new and more complete version of the firmware, and the
-robot is now up and running. This is what the "commander" web page
-look like after taking a measurement and a snapshot:</p>
-
-<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"/>
-
-<p>If you want to learn more about this project, you can check out the
-<a href="https://hackaday.io/project/164082-the-dark-side-challenge">The
-Dark Side Challenge</a> Hackaday web pages.</p>
-
-<p>As usual, if you use Bitcoin and want to show your support of my
-activities, please send Bitcoin donations to my address
-<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
-</description>
- </item>
-
- <item>
- <title>Nikita version 0.4 released - free software archive API server</title>
- <link>http://people.skolelinux.org/pere/blog/Nikita_version_0_4_released___free_software_archive_API_server.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Nikita_version_0_4_released___free_software_archive_API_server.html</guid>
- <pubDate>Wed, 22 May 2019 11:30:00 +0200</pubDate>
- <description><p>This morning, a new release of
-<a href="https://gitlab.com/OsloMet-ABI/nikita-noark5-core/">Nikita
-Noark 5 core project</a> was
-<a href="https://lists.nuug.no/pipermail/nikita-noark/2019-May/000468.html">announced
-on the project mailing list</a>. The Nikita free software solution is
-an implementation of the Norwegian archive standard Noark 5 used by
-government offices in Norway. These were the changes in version 0.4
-since version 0.3, see the email link above for links to a demo site:</p>
-
-<ul>
-
- <li>Roll out OData handling to all endpoints where applicable</li>
- <li>Changed the relation key for "ny-journalpost" to the official one.</li>
- <li>Better link generation on outgoing links.</li>
- <li>Tidy up code and make code and approaches more consistent throughout
- the codebase</li>
- <li>Update rels to be in compliance with updated version in the
- interface standard</li>
- <li>Avoid printing links on empty objects as they can't have links</li>
- <li>Small bug fixes and improvements</li>
- <li>Start moving generation of outgoing links to @Service layer so access
- control can be used when generating links</li>
- <li>Log exception that was being swallowed so it's traceable</li>
- <li>Fix name mapping problem</li>
- <li>Update templated printing so templated should only be printed if it
- is set true. Requires more work to roll out across entire
- application.</li>
- <li>Remove Record->DocumentObject as per domain model of n5v4</li>
- <li>Add ability to delete lists filtered with OData</li>
- <li>Return NO_CONTENT (204) on delete as per interface standard</li>
- <li>Introduce support for ConstraintViolationException exception</li>
- <li>Make Service classes extend NoarkService</li>
- <li>Make code base respect X-Forwarded-Host, X-Forwarded-Proto and
- X-Forwarded-Port</li>
- <li>Update CorrespondencePart* code to be more in line with Single
- Responsibility Principle</li>
- <li>Make package name follow directory structure</li>
- <li>Make sure Document number starts at 1, not 0</li>
- <li>Fix isues discovered by FindBugs</li>
- <li>Update from Date to ZonedDateTime</li>
- <li>Fix wrong tablename</li>
- <li>Introduce Service layer tests</li>
- <li>Improvements to CorrespondencePart</li>
- <li>Continued work on Class / Classificationsystem</li>
- <li>Fix feature where authors were stored as storageLocations</li>
- <li>Update HQL builder for OData</li>
- <li>Update OData search capability from webpage</li>
-
-</ul>
-
-<p>If free and open standardized archiving API sound interesting to
-you, please contact us on IRC
-(<a href="irc://irc.freenode.net/%23nikita">#nikita on
-irc.freenode.net</a>) or email
-(<a href="https://lists.nuug.no/mailman/listinfo/nikita-noark">nikita-noark
-mailing list</a>).</p>
-
-<p>As usual, if you use Bitcoin and want to show your support of my
-activities, please send Bitcoin donations to my address
-<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
-</description>
- </item>
-