X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/5576b09b70c10ce2bee68871285b78fb4b0084ea..271aba3cc2efb48d8c0720a80a64f7845124cba6:/blog/index.rss diff --git a/blog/index.rss b/blog/index.rss index cd3da15dda..3a71e92be9 100644 --- a/blog/index.rss +++ b/blog/index.rss @@ -6,6 +6,192 @@ http://people.skolelinux.org/pere/blog/ + + Jami/Ring, finally functioning peer to peer communication client + http://people.skolelinux.org/pere/blog/Jami_Ring__finally_functioning_peer_to_peer_communication_client.html + http://people.skolelinux.org/pere/blog/Jami_Ring__finally_functioning_peer_to_peer_communication_client.html + Wed, 19 Jun 2019 08:50:00 +0200 + <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> + + + + + More sales number for my Free Culture paper editions (2019-edition) + http://people.skolelinux.org/pere/blog/More_sales_number_for_my_Free_Culture_paper_editions__2019_edition_.html + http://people.skolelinux.org/pere/blog/More_sales_number_for_my_Free_Culture_paper_editions__2019_edition_.html + Tue, 11 Jun 2019 16:05:00 +0200 + <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> + + + + + Official MIME type "text/vnd.sosi" for SOSI map data + http://people.skolelinux.org/pere/blog/Official_MIME_type__text_vnd_sosi__for_SOSI_map_data.html + http://people.skolelinux.org/pere/blog/Official_MIME_type__text_vnd_sosi__for_SOSI_map_data.html + Tue, 4 Jun 2019 09:20:00 +0200 + <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> + + + The space rover coquine, or how I ended up on the dark side of the moon http://people.skolelinux.org/pere/blog/The_space_rover_coquine__or_how_I_ended_up_on_the_dark_side_of_the_moon.html @@ -38,7 +224,7 @@ eyes looking up on me from the wrapping</p> <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 then from the +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> @@ -59,7 +245,7 @@ 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 commited the +<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 @@ -615,145 +801,6 @@ bare nok en god historie basert på tillit til de som forteller historien. Det er ikke slik en sikrer privatsfæren. Det gjør en ved å sikre at det ikke (kan) registreres informasjon om ens person.</p> -<p>Som vanlig, hvis du bruker Bitcoin og ønsker å vise din støtte til -det jeg driver med, setter jeg pris på om du sender Bitcoin-donasjoner -til min adresse -<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>. -Merk, betaling med bitcoin er ikke anonymt. :)</p> - - - - - Stortinget vedtar maskinlesbart register over 20% av selskapseierne i Norge - http://people.skolelinux.org/pere/blog/Stortinget_vedtar_maskinlesbart_register_over_20__av_selskapseierne_i_Norge.html - http://people.skolelinux.org/pere/blog/Stortinget_vedtar_maskinlesbart_register_over_20__av_selskapseierne_i_Norge.html - Thu, 7 Feb 2019 23:55:00 +0100 - <p>Jeg registrerer med glede at Stortinget i dag har -<a href="https://www.stortinget.no/no/Saker-og-publikasjoner/Saker/Sak/?p=72826">vedtatt -at det skal vedlikeholdes et åpent og maskinlesbart register over -reelle rettighetshavere i Norge</a>. Her kan en kanskje få et -register som kan brukes til å analysere eierskap og kontroll i Norge -maskinelt og knytte det til internasjonale databaser som -<a href="https://opencorporates.com/">OpenCorporates</a>. Det liker -jeg.</p> - -<p>Den vedtatte grense på 25 prosents eierandel fikk stor -oppmerksomhet i debatten. Jeg ser fra enkel analyse av skatteetatens -eierskapsregister at 80.4% av alle selskapseiere i registeret har -mindre enn 25% eierandel, mot 73.8% som har mindre enn 5% eierandel. -En grense på 25% vil altså utelukke 80.4% av selskapseierne fra det -vedtatte registeret, og en grense på 5% vil skjule 73.8%. En må helt -ned i registrering av eierandeler over circa 0.002% for å få mer enn -halvparten av selskapseierne i Norge. Mon tro hvor langt ned en må i -eierprosent for å få med alle eierskapene til politisk valgte -representanter?</p> - -<p>Jeg biter meg også merke i at Sivert Bjørnstad fra FrP -tilsynelatende tror at aksjonærregisteret er et eksisterende åpent -register, på tross av at det så vidt jeg vet kun deles ved personlig -oppmøte hos skatteetaten og ikke er tilgjengelig i maskinlesbart -format for enhver, og dermed så langt ikke er importert inn i -OpenCorporates. Det anser jeg ikke for et spesielt åpent register. -Debatten ga ellers lite håp om at situasjonen bedrer seg, da -finansministeren bare henviste til en fraværende næringsministeren og -ikke ville uttale seg om et skikkelig aksjonærregister snart dukker -opp.</p> - -<p>Som vanlig, hvis du bruker Bitcoin og ønsker å vise din støtte til -det jeg driver med, setter jeg pris på om du sender Bitcoin-donasjoner -til min adresse -<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>. -Merk, betaling med bitcoin er ikke anonymt. :)</p> - - - - - Websocket from Kraken in Valutakrambod - http://people.skolelinux.org/pere/blog/Websocket_from_Kraken_in_Valutakrambod.html - http://people.skolelinux.org/pere/blog/Websocket_from_Kraken_in_Valutakrambod.html - Fri, 1 Feb 2019 22:25:00 +0100 - <p>Yesterday, the Kraken virtual currency exchange announced -<a href="https://blog.kraken.com/post/2019/websockets-public-api-launching-soon/">their -Websocket service</a>, providing a stream of exchange updates to its -clients. Getting updated rates quickly is a good idea, so I used -their <a href="https://www.kraken.com/en-us/help/websocket-api">API -documentation</a> and added Websocket support to the Kraken service in -Valutakrambod today. The python library can now get updates -from Kraken several times per second, instead of every time the -information is polled from the REST API.</p> - -<p>If this sound interesting to you, the code for valutakrambod is -available from -<a href="http://github.com/petterreinholdtsen/valutakrambod">github</a>. -Here is example output from the example client displaying rates in a -curses view:</p> - -<p><blockquote><pre> - Name Pair Bid Ask Spr Ftcd Age - BitcoinsNorway BTCEUR 2959.2800 3021.0500 2.0% 36 nan nan - Bitfinex BTCEUR 3087.9000 3088.0000 0.0% 36 37 nan - Bitmynt BTCEUR 3001.8700 3135.4600 4.3% 36 52 nan - Bitpay BTCEUR 3003.8659 nan nan% 35 nan nan - Bitstamp BTCEUR 3008.0000 3010.2300 0.1% 0 1 1 - Bl3p BTCEUR 3000.6700 3010.9300 0.3% 1 nan nan - Coinbase BTCEUR 2992.1800 3023.2500 1.0% 34 nan nan - Kraken+BTCEUR 3005.7000 3006.6000 0.0% 0 1 0 - Paymium BTCEUR 2940.0100 2993.4400 1.8% 0 2688 nan - BitcoinsNorway BTCNOK 29000.0000 29360.7400 1.2% 36 nan nan - Bitmynt BTCNOK 29115.6400 29720.7500 2.0% 36 52 nan - Bitpay BTCNOK 29029.2512 nan nan% 36 nan nan - Coinbase BTCNOK 28927.6000 29218.5900 1.0% 35 nan nan - MiraiEx BTCNOK 29097.7000 29741.4200 2.2% 36 nan nan - BitcoinsNorway BTCUSD 3385.4200 3456.0900 2.0% 36 nan nan - Bitfinex BTCUSD 3538.5000 3538.6000 0.0% 36 45 nan - Bitpay BTCUSD 3443.4600 nan nan% 34 nan nan - Bitstamp BTCUSD 3443.0100 3445.0500 0.1% 0 2 1 - Coinbase BTCUSD 3428.1600 3462.6300 1.0% 33 nan nan - Gemini BTCUSD 3445.8800 3445.8900 0.0% 36 326 nan - Hitbtc BTCUSD 3473.4700 3473.0700 -0.0% 0 0 0 - Kraken+BTCUSD 3444.4000 3445.6000 0.0% 0 1 0 - Exchangerates EURNOK 9.6685 9.6685 0.0% 36 22226 nan - Norgesbank EURNOK 9.6685 9.6685 0.0% 36 22226 nan - Bitstamp EURUSD 1.1440 1.1462 0.2% 0 1 2 - Exchangerates EURUSD 1.1471 1.1471 0.0% 36 22226 nan - BitcoinsNorway LTCEUR 1.0009 22.6538 95.6% 35 nan nan - BitcoinsNorway LTCNOK 259.0900 264.9300 2.2% 35 nan nan - BitcoinsNorway LTCUSD 0.0000 29.0000 100.0% 35 nan nan - Norgesbank USDNOK 8.4286 8.4286 0.0% 36 22226 nan -</pre></blockquote></p> - -<p>Yes, I notice the strange negative spread on Hitbtc. I've seen the -same on Kraken. Another strange observation is that Kraken some times -announce trade orders a fraction of a second in the future. I really -wonder what is going on there.</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> - - - - - Strategispillet Unknown Horizons nå tilgjengelig på bokmål - http://people.skolelinux.org/pere/blog/Strategispillet_Unknown_Horizons_n__tilgjengelig_p__bokm_l.html - http://people.skolelinux.org/pere/blog/Strategispillet_Unknown_Horizons_n__tilgjengelig_p__bokm_l.html - Wed, 23 Jan 2019 07:50:00 +0100 - <p>I høst ble jeg inspirert til å bidra til oversettelsen av -<a href="http://unknown-horizons.org/">strategispillet Unknown -Horizons</a>, og oversatte de nesten 200 strengene i prosjektet til -bokmål. Deretter har jeg gått å ventet på at det kom en ny utgave som -inneholdt disse oversettelsene. Nå er endelig ventetiden over. Den -nye versjonen kom på nyåret, og ble -<a href="https://tracker.debian.org/pkg/unknown-horizons">lastet opp i -Debian</a> for noen få dager siden. I går kveld fikk jeg testet det ut, og -må innrømme at oversettelsene fungerer fint. Fant noen få tekster som -måtte justeres, men ikke noe alvorlig. Har oppdatert -<a href="https://hosted.weblate.org/projects/uh/">oversettelsen på -Weblate</a>, slik at neste utgave vil være enda bedre. :)</p> - -<p>Spillet er et ressursstyringsspill ala Civilization, og er morsomt -å spille for oss som liker slikt. :)</p> - <p>Som vanlig, hvis du bruker Bitcoin og ønsker å vise din støtte til det jeg driver med, setter jeg pris på om du sender Bitcoin-donasjoner til min adresse