diekershoff.nethttp://diekershoff.net//pub/diekershoff/tobiasMon, 02 May 2016 06:46:00 +0200OpenBSD on the eeePChttp://diekershoff.net/2016/05/openbsd_on_the_eeepc/<p>Last week in preperation for the <a href="http://www.linux-works.de/Wiki/LinuxPresentationDay/April2016/">Linux Presentation Dat</a> at LinuxWorks! LUG I started my good old eeePC (some 5 years old, but don't nail me down to an exact age) after <em>some</em> time. Doing so, I discovered that the Antergos Linux installed did not boot :-/ My guess is I did an update last time I used it and did not check the working state afterwards, but I'm not too sure about that. Anyway, as my time was limited over the weekend after the LPD on Saturday I opted for installing a new Linux instead of trying to repair the current one.</p> <p>I'm a distro-hopper anyway and have some itches underneath my fingernails with the Manjaro installation on my Thinkpad as well. So I figured this might even take some of that itching away...</p> <p>In the end I picked <a href="http://openbsd.org">OpenBSD</a> 5.9, for no particular reason really except that I was looking for a system for an old hardware. I played before a bit with a BSD on a RaspberryPi of mine and it worked well on the limited ressources of the Pi. So why not ;-)</p> <p>Basically I followed two tutorials by Gabriel Hautclocq for <a href="http://www.gabsoftware.com/tips/tutorial-how-to-install-openbsd-4-8-step-by-step/">Installing OpenBSD 4.8</a> and then <a href="http://www.gabsoftware.com/tips/tutorial-installing-xfce-on-openbsd-4-8/">Install XFCE4 on OpenBSD</a>.</p> <p><img alt="my OpenBSD desktop running XFCE 4.12" src="http://diekershoff.net/images/openbsd.png" /></p> <p>The only change I did from these tutorials was to use OpenBSD 5.9 instead of the 5.8 and omid the exact version number when installing software, so <em>pkg_add</em> would pick the current version. With this change, installation worked fine :-) Within the afternoon the old eeePC was alive again, running XFCE 4.12 and was very responsive for requests by the user, and had all <em>important</em> software installed.</p> <h3>What Works?</h3> <p>The X-Server, Mouse and keyboard worked out of the box, as did the wired and wireless network. I've not yet found any of my <em>day-to-day</em> software missing (Firefox, GIMP, LibreOffice, LaTeX, Python, R, gnuplot, zsh, geany, spacemacs [emacs] everything there).</p> <p>Suspending the running system to RAM is working, either by pressing the associated Fn-key or by closing the lid. Wireless networking awakes without a problem from standby.</p> <h3>What does not Work?</h3> <p>There art two things I've found which are not working at the moment. One is the brightness control of the display witht he associated keys. The other one is suspending the system to the disk and not only into RAM. I've not spend any time looking for a solution to the <em>problem</em> but I would prefer the system being able to dim the display to save some battery time.</p>Tobias DiekershoffMon, 02 May 2016 06:46:00 +0200tag:diekershoff.net,2016-05-02:2016/05/openbsd_on_the_eeepc/eeepcopenbsdlinuxFriendica Meetup in Zwenkauhttp://diekershoff.net/2015/08/friendica_meetup_in_zwenkau/<p>Over the last weekend <a href="http://friendica.com">~friendica</a> had a <em>user and developer meeting</em> in <a href="https://en.wikipedia.org/wiki/Zwenkau">Zwenkau</a> in the vicinity of Leipzig. Traveling with Deutsche Bahn, I expected me beeing the one telling the horror stories of the travel at the come-together at the roof-top of Kap Zwenkau, but no. Others had much more trouble, I only had <em>no ticket collector</em> for most of the route. Or none visible after leaving Brandenburg. And indeed I was the 2nd after Michael and Sam to arrive in Zwenkau.</p> <p><img alt="Zwenkau harbour view from the roof-top at Kap Zwenkau" src="http://diekershoff.net/images/zwenkau_harbour.jpg" /></p> <p>Due some misunderstanding on my side about camping at the lakeside and some stress IRL I've got a stay at the the <a href="http://pension-wasserturm.de/">Pension am Wasserturm</a> a lovely guest house about one kilometer away from Kap Zwenkau and the harbour. Run by nice people and a great spot to stay some days.</p> <p><img alt="location of the hackcenter at Lake Zwenkau" src="http://diekershoff.net/images/zwenkau0815_700px.jpg" /></p> <p><em>Image Credits: <a href="http://toktan.org/profile/oha">Oliver</a></em></p> <p>Also very nice was the place <a href="https://friendica.a-zwenkau.de/profile/andreas">Andreas</a> picked for us. Right at the lakeside of Lake Zwenkau. With everything one needs to enjoy a sunny weekend. Wireles tubes fromt he internets, lots of non-alcoholic stuff to drink and a tent to offer some shelter from the sun.</p> <p>Sitting together, making plans for <em>world domination</em>. Excanging use cases of friendica and the <a href="https://redmatrix.me">red#matrix / hubzilla</a> or just enjoying the time together with <em>long known</em> dogs and people behind the avatars from the network stream. Some new faces were there as well; Andreas Sallam and Markus Kollotzek from the <a href="https://greennetproject.org/">green net project</a> were there presenting their project.</p> <p>Wonderful weekend all together, but too short for all the talking, coding and debugging.</p> <p><img alt="making plans for world domination" src="http://diekershoff.net/images/zwenkau_planings.jpg" /></p> <p>Thaks Andreas and a big thank you to all the helpers you had making this meetup possible!</p>Tobias DiekershoffMon, 24 Aug 2015 19:19:00 +0200tag:diekershoff.net,2015-08-24:2015/08/friendica_meetup_in_zwenkau/2015friendicazwenkauFantasy Filmfest 2015http://diekershoff.net/2015/08/fantasyfilmfest_2015/<p>Summer in the city. The asphalt boils with 40°C and above, the cinema offers a cooled down place and the <a href="http://fantasyfilmfest.com">Fantasy Filmfest</a> nice content to do so. Eventhough I condensed the festival down to a weekend for myself with 4 screenings and turned it thus into a short film festival. The <em>official</em> one <em>Get Shorty</em>, the <em>Extraordinary Tales</em> and the <em>Tale of Tales</em> accompanied by the only non-short <em>Possesed</em>.</p> <h2>Get Shorty</h2> <p>Seven films about <em>strong women or women with big problems</em> were announced. Seven rather long films for a short film collection but a nice collection nevertheless.</p> <p>And seven from which I only really disliked one, because the end was too obvious. Maybe young parents would disagree with this, but for me it was just another story about the problems one has to deal with the firstborn.</p> <p>From the other six, I liked Sol Friedman <em>Day 40</em> (<a href="http://www.imdb.com/title/tt3674654">IMDB</a>)--a wonderful animated take on gods flood and Noas ark, <em>Óscar desafinado</em> by Mikel Alvariño (<a href="http://www.imdb.com/title/tt4068162">IMDB</a>)--a nicely woven ghost story of nerds and love--and Michael Binz' <em>Herman the German</em> (<a href="http://www.imdb.com/title/tt4722118">IMDB</a>)--if you ever wanted to know how we Germans tick, don't take this film too serious--best. <em>Rabbit 105</em> by Sebastián Rotstein (<a href="http://www.imdb.com/title/tt3216400">IMDB</a>) was nicely made, putting you in this awful situation, great shocking moments but the end was somehow not so shocking. Ben Astons <em>He took his skin of for me</em> (<a href="http://www.imdb.com/title/tt3452322">IMDB</a>) deals with a grotesque situation, and the resentments arising when you are different. Andrei Creţulescus <em>Ramona</em> (<a href="http://www.imdb.com/title/tt4692622">IMDB</a>) is a piece of art, but I don't really like revenge movie so it did not made in into my Top3.</p> <h2>Tale of Tales</h2> <p>The <em>Tale of Tale</em> by Matteo Garrone (<a href="http://www.imdb.com/title/tt3278330/">IMDB</a>) classic fantasy film which interweaves three stories about nighbouring late medivial kingdoms. Three stories about love and romance; about queens and kings; princes and princesses, about monsters and fleas--and about the prices one has to pay for the fullfillment of ones yearnings. By no means fairy-tales and not neccessary suited for all audience (<em>youtube even has an age check for the trailer...</em>) but a wonderful story told by a marvelous story teller.</p> <div class="youtube" align="center"><iframe width="420" height="315" src="https://www.youtube.com/embed/qOwRpCt1VS8" frameborder="0"></iframe></div> <h2>Extraordinary Tales</h2> <p>Five of the tales by Edgar Allen Poe told together in the <em>Extraordinary Tales</em> by Raul Garcia (<a href="http://www.imdb.com/title/tt3454574/">IMDB</a>). Each of the tales animated in a different style embedded in the last dialogue between Poe and Death herself. Lovely made.</p> <div class="youtube" align="center"><iframe width="420" height="315" src="https://www.youtube.com/embed/rWxJaBZcQl8" frameborder="0"></iframe></div> <h2>Possessed</h2> <p><em>Possessed</em> by Samuel Ortí Mart (<a href="http://www.imdb.com/title/tt3740416/">IMDB</a>) is a hillariously funny stop-motion film. He took all the <em>Exorcism / Posession</em> masterpieces, packed them together in a giant mountain of modeling clay and created a masterpiece on its own dancing on the shoulders of its predecessors and leaving the autience laughing several times in the cinema.</p> <div class="youtube" align="center"><iframe width="420" height="315" src="https://www.youtube.com/embed/9P1KJ4BjdJU" frameborder="0"></iframe></div>Tobias DiekershoffMon, 10 Aug 2015 08:25:00 +0200tag:diekershoff.net,2015-08-10:2015/08/fantasyfilmfest_2015/fff2015berlincinemafantasyanimationshortfilmCold Coffeehttp://diekershoff.net/2015/06/cold_coffee/<p>This is going to be <em>just another recipe for <a href="https://en.wikipedia.org/wiki/Cold_brew">cold-brew coffee</a></em> (just fire up your <a href="https://duckduckgo.com/?q=cold+brew+coffee&amp;ia=about">fav search engine</a> there is a billion and one recipe out there). It took me almost 2 years of experimentation to get the recipe right <em>for me</em> so don't give up after the 1st brew does not taste.</p> <p>Most experimentation is needed for the non-coffee incredients to meet your taste. I've tried cocoa, chokolate fix, salt and sugar; settling with brown sugar as flavour enhancer.</p> <p><strong>What you need for brewing</strong></p> <ul> <li>a <a href="https://en.wikipedia.org/wiki/French_press">french press</a> coffee machine (mine takes 900ml water)</li> <li>cold water</li> <li>grinded coffee</li> <li>brown sugar</li> <li>some 24h time, at least 12h</li> </ul> <p>I settled down with a pre-grinded coffee from the local supermarked, which alone is a reason for holy wars... You need to experiment a bit, but don't let the taste of hot-brewed coffee guide your decision. Cold brew coffee is sweater then it's hot brother due the lower acidity and has a totally different flavour.</p> <p>Same rule applies for the flavour enhancers. You need to test it for yourself. One teaspoon more or less makes a totally different taste.</p> <p><strong>What to do</strong></p> <p>Take your french press and fill it to a 3rd with water. Put 5 <a href="https://de.wikipedia.org/wiki/Kaffeelot">lot</a> (approx 30g) grinded coffee into the machine and add 4 teaspoons of sugar. Stirr the water until the coffee and sugar are compleately diffused. Then fill the rest of the french press with water and place some cling film over the opening.</p> <p><em>Wait for 24 hours</em> and let the brew rest at room temperature. Give or thake some hours depending on your need for cold coffee.</p> <p>Press the coffee and fill the <em>sirup</em> in a jug. Best use an extra filter when refilling the sirup to get some escaped grinds of coffee out of it. The sirup is ready to server, though I like it cooled down a bit more. If you put the jug into the fringe, apply cling film again to avoid contamination of the taste.</p> <p><strong>Savouring the Coffee</strong></p> <p>Serving the sirup is easy. Either put it into a glass with some vanilla ice cream or ice cubes, of if you are more the milk person like I am, add milk to it. I usually do so, taking same parts of milk and sirup leading to a total of 1.8l cold coffee to enjoy.</p>Tobias DiekershoffSat, 06 Jun 2015 17:37:00 +0200tag:diekershoff.net,2015-06-06:2015/06/cold_coffee/coffeecoldbrewsummerrecipeMoinMoin Jollahttp://diekershoff.net/2015/05/moinmoin_jolla/<p><img src="http://diekershoff.net/images/jolla_moinmoin.png" style="padding: 10px; float: right;"> I was looking for a note taking application for the Jolla the other day, but did not really find anything fitting my needs. Like formatting the texts, include images in the notes, interlinking notes... you know what I mean.</p> <p>Finally the realization dawned <em>that thing is a Linux computer, just use it</em> so instead of looking for an app that fits my needs I started to look for a standalone wiki software at the <a href="http://www.wikimatrix.org/">Wikimatrix</a> and ended up with <a href="https://moinmo.in">MoinMoin</a>.</p> <p>MoinMoin is a wiki engine written in python and python is shipped with the <a href="http://sailfishos.org">SailfishOS</a> running on the Jolla. So all that is to do is installing MoinMoin on the phone and run the script.</p> <p>And it really was that simple. Download the zip file with the current stable MoinMoin release and extract it (I put it on the SD card of the phone, plugged in the desktop computer for setup). Then I've put <a href="https://moinmo.in/ThemeMarket/memodump">memodump</a> (a bootstrap based responsive theme) into the correct places of the package tree and the installation is <em>ready</em>.</p> <p>There is a program in the Warehouse called <a href="https://openrepos.net/content/acce/shellex">ShellEx</a> which can be used to execute commands on the shell from an app. So I've put in the command</p> <div class="highlight"><pre><span></span>cd /media/sdcard/&lt;some numbver here&gt;/moinmoin &amp;&amp; python2 ./wikiserver.py </pre></div> <p>to start the wiki. It is now listening at <code>localhost:8080</code> by default which needs to be accessed with the browser. For easy access I've put a bookmark for the URL and placed it as a starter in the application overview.</p> <p><strong>Done</strong> note taking application ready for usage.</p>Tobias DiekershoffMon, 11 May 2015 09:20:00 +0200tag:diekershoff.net,2015-05-11:2015/05/moinmoin_jolla/jollamoinmoinwikinotesflossGood bye OwnCloudhttp://diekershoff.net/2015/05/good_bye_owncloud/<p>It's time for me to say good bye to something I really like, from the idea behind and the features it offers down the the interface (more or less): <a href="http://owncloud.org">OwnCloud</a>. But it just makes more hazzle then I get back from it.</p> <p>I had massive problems with the updating process back in the OC5 or OC6 days (I really cant remember as it got much better). But the update towards the latest stable just shot down my personal installation into uselessness. Contacts and calendars entries, which are the main feature of OC I used, got lost from the (SQLite) database. Half of the few files vanished from the web-interface, just to return some days later.</p> <p>So I tried the process again from the backup. With the same result. Tried to convert the SQLite DB to a MySQL DB--<em>maybe the database got too big for a </em>small instance<em>, even though it's a single user instance?</em>--but no luck with that either. Same rate of success with a fresh installation and import of the existing data.</p> <p>In the end, after three weekends work, I had an OwnCloud that looked functional, but it just throwed out errors whenever a new entry was added to the calendars or contacts. So I exported them to ics and vcf files and set out looking for an alternative.</p> <p>What I settled with is <a href="http://radicale.org/">Radicale</a></p> <blockquote> <p>A SIMPLE CALENDAR AND CONTACT SERVER</p> <p>Presentation The Radicale Project is a complete CalDAV (calendar) and CardDAV (contact) server solution.</p> <p>Calendars and address books are available for both local and remote access, possibly limited through authentication policies. They can be viewed and edited by calendar and contact clients on mobile phones or computers</p> </blockquote> <p>which is a python application, running on my $HOME server, only accessible via the local network, that serves CardDAV and CaöDAV and let me sync my contacts and calendar entries for a month now without any problems between my phone and the desktop. It is possible to make it use a nice URL with Apache, but I've opted to don't use that and stick with funny port numbers behind the local IP address of the server.</p> <p><img src="http://diekershoff.net/images/khal.png" style="padding: 10px; float: left;" title="screenshot of khal"> On the desktop I use <a href="https://github.com/geier/khal">khal</a> and <a href="https://github.com/scheibler/khard">khard</a>, two well crafted CLI applications to access the data. Stored on the desktop and synced using <a href="https://github.com/untitaker/vdirsyncer">vdirsyncer</a> with the Radicale server. On the Jolla I use <a href="https://openrepos.net/content/ovekaaven/syncevolution">SyncEvolution</a> which is available in the OpenRepos. I should have started using khal and khard long time ago, and not stick with the GUI calendars.</p> <p>Configuration of Radicale, vdirsyncer, khal and khard is a bit tricky, but it was a rather successful afternoon after which it worked. For access management Radicale offers various alternatives one can choose from; I've selected good old <a href="https://httpd.apache.org/docs/current/programs/htpasswd.html">htpasswd</a> granting every user only access to their own contacts and calendar data.</p> <p>Example configuration files for vdirsync, khal and khard can be found in the repositories of the projects: <a href="https://github.com/untitaker/vdirsyncer/blob/master/example.cfg">vdirsyncer</a>, <a href="https://github.com/geier/khal/blob/master/khal.conf.sample">khal</a> and <a href="https://github.com/scheibler/khard/blob/master/khard.conf.example">khard</a>. They are rather straight forward for a configuration like I use, with one set of contacts and one calendar. The tricky part was to identify the locations the four parts of the chain listen to each other.</p> <p>One of the more time consuming tasks that afternoon was to get my old contact information into the new chain. Until I realized that all I need to do was split the backup vcf file from OwnCloud, which contains all contacts, into one vcf file for each contact. Luckily I found a little <a href="http://www.zedt.eu/tech/linux/split-multi-contact-vcf-file-individual-vcfs/">python script</a> at www.zedt.eu for that task.</p> <p><a href="http://fsfe.org"><img src="https://fsfe.org/contribute/promopics/thereisnocloud-v2-preview.png" style="float: right; width: 200px; padding: 10px;"></a> <em>But wait</em> what about WebDAV? Putting files into the cloud. That was actually the most easy task to find an alternative for OwnCloud: the <a href="https://redmatrix.me">red#matrix</a> has WebDAV functionality. With installed <a href="http://savannah.nongnu.org/projects/davfs2">davfs2</a> just add one line to your<code>/etc/fstab</code>:</p> <div class="highlight"><pre><span></span>https://example.com/cloud /home/user/reddav davfs user,noauto,uid=tobias,file_mode=600,dir_mode=700 0 1 </pre></div> <p>which is more or less the same as for your OwnCloud share and you have an direct access from your desktop to the cloud drive in the matrix. But remember to check access of your contacts to the directories in your cloud. For the magical details I'll just point out the <a href="https://redmatrix.me/help/dav_mount">documentation</a> of the red#matrix.</p>Tobias DiekershoffSun, 10 May 2015 09:08:00 +0200tag:diekershoff.net,2015-05-10:2015/05/good_bye_owncloud/owncloudradicalekhalkhardpythonredmatrixflossFriendica 3.3.3http://diekershoff.net/2015/02/friendica_3.3.3/<p>The Friendica project has released version 3.3.3 of Friendica <a href="http://friendica.com/node/67">today</a>. Among other things this release included support for the <a href="http://sharetodiaspora.github.io/about/">advanced sharer for diaspora*</a> which I have now enabled here for the blog entries, so you can share entries in Friendica and diaspora* now more easily[ref]and I don't think that I put in more share buttons ;-)[/ref].</p> <p>Since 3,3,3 was branched off from the development branch for testing a month ago, development for the 3.4 went along steady. It's looking good so far (according to gource) but I wont promise April 1st being a fixed date.</p> <p><img alt="gource visualization of the friendica sources" src="/images/friendica_gource_333.png" /></p>Tobias DiekershoffTue, 24 Feb 2015 10:45:00 +0100tag:diekershoff.net,2015-02-24:2015/02/friendica_3.3.3/friendicaUpgrading from Wheezy to Jessiehttp://diekershoff.net/2015/02/upgrading_from_wheezy_to_jessie/<p>I ran out of disk space on one of my Linux boxes recently and, just for playing around and doing it, I decided to put in the new disk space as <a href="http://en.wikipedia.org/wiki/Btrfs">btrfs</a> RAID1. Too minimize the problems on the real thing I started on a VirtualBox fresh installed <a href="http://debian.org">Debian</a> Wheezy with two virtual harddisks following the <a href="file:///home/tobias/.zotero/zotero/z567f1ka.default/zotero/storage/X4S7QX5I/install-debian-directly-with-btrfs-raid1.html">description</a> by Daniel Pocock. 1st thing I noticed was, the kernel shipping with Wheezy[ref]That would be 3.2 from the Debian 7.7 install image[/ref] was too old for doing btrfs balancing. So it became <em>new harddisk setuo</em> and <em>upgrade from Wheezy to Jessie</em> in one go. But after the upgrade to Jessie and installing the latest available kernel, following the descriptions went smoothly. Lets see how it will turn out in the future.</p> <p>Now upgrading from Wheezy to Jessie also brings some incompatibilities in components like... the Apache webserver. I knew before and had bookmarked <a href="https://httpd.apache.org/docs/2.4/upgrading.html">Apache webserver from 2.2 to 2.4</a>, but it cost me 2h to adopt my old rules to the new anyway. Having the compatibility module active did sadly not help. It might be <em>nice</em> to get multible lines in the config file combined into one - but it's a hazzle to find all</p> <div class="highlight"><pre><span></span>Order deny,allow deny from all allow from 192.168.0.* </pre></div> <p>occurrences and replace them by a fitting</p> <div class="highlight"><pre><span></span>Require... </pre></div> <p>rule just to be stuck in the end with an extra</p> <div class="highlight"><pre><span></span>AllowOverwrite None </pre></div> <p>line in <code>/etc/apache2/apache2.conf</code>.</p> <p>A surprise was, that running the <a href="http://sourceforge.net/projects/ipdetect/">ipdetect.sh</a> script[ref]yepp it's a dynamic dns setting we have at this box[/ref] refused to work with the following complain:</p> <div class="highlight"><pre><span></span><span class="n">grep</span><span class="o">:</span> <span class="n">character</span> <span class="kd">class</span> <span class="n">syntax</span> <span class="k">is</span> <span class="o">[[:</span><span class="n">space</span><span class="o">:]],</span> <span class="n">not</span> <span class="o">[:</span><span class="n">space</span><span class="o">:]</span> </pre></div> <p>Right. After a little search I found <a href="https://tigr.net/3515/2014/11/03/egrep-character-class-syntax-is-space-not-space/">this blog entry</a> by Tigr which got me on the right track. Line 58 of the ipdetect.sh script needs to be</p> <div class="highlight"><pre><span></span><span class="nt">COMMENT_REGEX</span><span class="o">=</span><span class="s1">&#39;^</span><span class="cp">[</span><span class="err">[</span><span class="p">:</span><span class="nx">space</span><span class="p">:</span><span class="cp">]</span><span class="s1">]*</span><span class="cp">[</span><span class="err">#</span><span class="p">;</span><span class="cp">]</span><span class="s1">{1}.*&#39;</span><span class="o">;</span> </pre></div> <p>and the script seems to be running fine again.</p> <p>These little things are really fun... I'll keep an eye open for them and eventually update this posting when I find something interesting.</p>Tobias DiekershoffMon, 23 Feb 2015 08:30:00 +0100tag:diekershoff.net,2015-02-23:2015/02/upgrading_from_wheezy_to_jessie/linuxdebianwheezyjessieI ❤ FLOSShttp://diekershoff.net/2015/02/i_love_floss/<p><a href="http://ilovefs.org"><img src="http://fsfe.org/campaigns/ilovefs/artwork/graphics/ilovefs-button-small-en.png" style="border: 0 !important; float: right; padding:10px; width: 160px;" alt="I love Free Software!"></a> I wish you all a happy <a href="http://ilovefs.org/">I ❤ Free Software</a> day; thanks for all the hard work for anybody who is contributing to the FLOSS micro-cosmos, making it a better place. Thank you for writing code, doing translations, reporting and fixing bugs and have some helping advise for new users.</p> <p>In particular I'd like to thank all the people working on tools making my daily communication with people all around the world possible with a grain of privacy to enjoy. Thank you Hiroyuki Yamamoto for your wonderful <a href="sylpheed.sraoss.jp/en/">Sylpheed</a> and Werner Koch for <a href="http://gnupg.org">GnuPG</a>.</p> <p>Thank you Evan Prodromou for good old <a href="http://gnu.io">Laconica</a> getting me hooked on the idea of <em>decentralized social networks</em> in the first place and Mike Macgirvin for <a href="http://friendica.com">Mistpark</a> providing a real federated platform. And thanks to all of your hard work to improve friendica Benow, Fabio, Hauke, Michael, Silke, Thomas and all the other contributors I've missed ;-)</p> <p>And last but not least, thanks to the <a href="www.merproject.org">Mer project</a>, the <a href="http://jolla.com">sailors</a> of Jolla, the wonderful <a href="http://together.jolla.com">community</a> around them and the <a href="http://f-droid.org">f-droid</a> project, providing alternatives to proprietary apps running on the small computer in my pocket.</p> <p>I ❤ FLOSS</p>Tobias DiekershoffSat, 14 Feb 2015 09:29:00 +0100tag:diekershoff.net,2015-02-14:2015/02/i_love_floss/FLOSSfriendicasylpeedgnupgjollailovefsNew Color Presets for friendicas Clean themehttp://diekershoff.net/2015/01/lime_and_orange_clean/<p>I've added two new color presets to the <a href="https://bytebucket.org/tobiasd/clean/">clean theme</a> for <a href="http://friendica.com">friendica</a>. The new <em>Lime and Orange</em> and <em>Shades of Pink</em> are now selectable in the theme settings alongside <em>Midnight</em>, <em>Bootstrap</em>, <em>GeoCities Retro</em> and the default preset.</p> <p><img alt="shades of pink" src="https://bytebucket.org/tobiasd/clean/raw/45991f055adaf33090dc73f883fda52f6b76953a/img/clean-pink.jpg" /></p> <p><img alt="lime and orange" src="https://bytebucket.org/tobiasd/clean/raw/45991f055adaf33090dc73f883fda52f6b76953a/img/clean-lime.jpg" /></p> <h2>How to install the theme</h2> <ol> <li>download the files for the theme from my bitbucket repository <a href="https://bitbucket.org/tobiasd/clean/downloads">bitbucket.org/tobiasd/clean</a></li> <li> <p>put them into your friendica installation tree into a directory called clean</p> <div class="highlight"><pre><span></span>/view/theme/clean/ /bs/ /img/ /icons/ /presets/ /templöates/ /config.php /default.php /README.md /screenshot.jpg /style.css /style.php /theme.php </pre></div> </li> <li> <p>go to your admin panel and activate the theme</p> </li> </ol> <p>Instead of downloading the themes compressed archive you can also clone the mercurial repository directly:</p> <div class="highlight"><pre><span></span> hg clone ssh://hg@bitbucket.org/tobiasd/clean /path/to/your/friendica/view/theme/clean </pre></div> <h2>Contributing</h2> <p>If you like to contribute a new <em>preset</em> or generally anhance the theme, please feel free to either make pull requests at bitbucket or send me the changes directly via email.</p> <p>Or just point out things that I have overlooked or you think which should be better. The theme is <em>always</em> work in progress and as I am not a designer by trade I'm always open for suggestions leading to improvements of the theme.</p>Tobias DiekershoffThu, 15 Jan 2015 09:25:00 +0100tag:diekershoff.net,2015-01-15:2015/01/lime_and_orange_clean/friendicacleanAftershows and Kickoffhttp://diekershoff.net/2015/01/kickoff_2015/<p>Yesterday was the first bi-weekly fellowship meeting of <a href="http://fsfe.org">FSFE</a> in Berlin in 2015, Tuesday the <a href="https://digitalegesellschaft.de/2015/01/massenabmahnungen-klage/">32nd Netpolitical Evening</a> of the <a href="https://de.wikipedia.org/wiki/Digitale_Gesellschaft">Digitale Gesellschaft</a>. Both somewhat after-show party for 31c3 and kickoff 2015, both with interesting talks. Just a short resume...</p> <p>The talks from Tuesday are <a href="https://digitalegesellschaft.de/2015/01/videos-vom-32-netzpolitischen-abend/">online</a>. I think the 2nd is worth watching. The speaker had actually <em>something to say</em> about <em>Colonial Remnants</em> in Pakistan, the <em>Tribal Area's of Pakistan and the Conflict Within</em>. Enlightening the situation in the border region towards Afghanistan and the results of the <em>Global war on terror</em> a bit. The talk about the slowness of European politics on the example of <em>Mass law suits in Germany</em> and an eventual end of those was, at least for me, just a bit too... narcotic--although the topic in itself is interesting. And if true a nice success for DigiGes.</p> <p>Thursday evening then we got a short introduction to the new campaign of the <a href="https://de.wikipedia.org/wiki/Forum_InformatikerInnen_f%C3%BCr_Frieden_und_gesellschaftliche_Verantwortung">FIfF</a> they launched only last years November at their congress in Berlin: <a href="https://cyberpeace.fiff.de/">cyberpeace</a>. It's an attempt to get together different campaigners, techies and peace activists, as most of the current problems seem to involve both aspects, but the <em>specialists</em> of both don't know nothing about the other aspect. To come up with an alternative draft to the spiral of <strong>cyberwar</strong> that seems so popular in western politics these days. As the campaign is still fresh, no solutions, but they look for input at their wiki (in a hidden section as far as I could find, hence no link here :-P ).</p> <p>A vivid discussion emerged about, how far this as anything to do with FLOSS at all? and what everyone of us. Does a FLOSS world helps at all in this situation? Should be throw away our digital live? Can we close <em>Pandoras box</em> again or was Orwell just a bit too optimistic? Fun evening but a bit too long discussion for my taste, not even Kolle mate could keep me <em>awake enough</em>. There is a more detailed <a href="https://blogs.fsfe.org/majestyx/2015/01/09/cyberpeace-krieg-muss-man-schwanzen-die-fsfe-schwanzt-mit-%E2%80%A6/">blog entry</a> by the speaker (majestyx).</p> <p>I was really glad to hear that the FSFE assembly at 31c3 was a huge success and fun for everyone involved. I had initially planned for helping there, but then 2014 was so totally screwed up that I opted for peace between the years instead.</p>Tobias DiekershoffFri, 09 Jan 2015 15:00:00 +0100tag:diekershoff.net,2015-01-09:2015/01/kickoff_2015/fsfefiffdigigestalkscyberpeaceMarkdown addon for Friendicahttp://diekershoff.net/2015/01/markdown-addon-for-friendica/<p>For some reason, some people dislike BBCode, which is i<a href="https://snarl.de/help/BBCode">natively used</a> by <a href="http://friendica.com">friendica</a>, but prefere <a href="http://daringfireball.net/projects/markdown/">Markdown</a> which is a more limited markdown language that is use by e.g. Diaspora or github[ref]or in fact me right now writing this posting...[/ref].</p> <p>For all morkdown enthusiast out there, I've written a small <a href="https://bitbucket.org/tobiasd/friendica-markdown">addon</a> that is in my bitbucket for now. Once it got some testing, I will add it to the projects addon repository though.</p> <p>If you want to try it, please do. Just download the <a href="https://bitbucket.org/tobiasd/friendica-markdown/get/tip.zip">zip archive</a> with the latest code from bitbucket and extract it into a directory called ''markdown'' below the addon directory of your friendica installation. The file structure should then look like</p> <div class="highlight"><pre><span></span>/friendica /addon /markdown markdown.php README.md /templates settings.tpl </pre></div> <p>After that just activate it like any other addon you use. And feel free to let me know of any glitches and incompatibilities during the paring. I have it activated at home for testing, and so far <em>it works</em>.</p> <p>Note, once you send your posting to friendica, it will be converted to BBCodeode for storage. Meaning if you <em>edit</em> the posting afterwards, you will have it in BBCode.</p> <p>Have fun!</p>Tobias DiekershoffSun, 04 Jan 2015 20:12:00 +0100tag:diekershoff.net,2015-01-04:2015/01/markdown-addon-for-friendica/friendicadiasporamarkdownbbcodeTypgogrify and IndiWebhttp://diekershoff.net/2014/12/typgogrify-and-indiweb/<p>Skimming through the plugins for pelican[ref]http://<a href="http://getpelican.com">getpelican.com</a>[/ref] I've decided for the following list of things that sound useful from their <a href="https://github.com/getpelican/pelican-plugins">addon directory</a> at github:</p> <ul> <li>optimize_images</li> <li>pelican_youtube and pelican_vimeo</li> <li>simple_footnotes</li> <li>sitemap</li> <li>render_math.</li> </ul> <p>Which summs up all the tools I can currently think of that I need to write content for this page. The last is the most obvious one, isn't it? Something like </p> <div class="math">$$\frac{R_{BLR}}{10\text{lt~days}} = (2.23{\pm}0.21)\left(\frac{{\lambda}L_{\lambda}(5100Å)}{10^{44}\text{ergs}~s^{-1}}\right)^{0.69{\pm}0.05}$$</div> <p> just needs a propper way to be displayed. I mean <a href="https://de.wikipedia.org/wiki/LaTeX">LaTeX</a> and <a href="http://www.mathjax.org/">MathJax</a> are just cool and a must have. Though I have to admit, that the other five plugins are just as obvious...</p> <p>Furthermore I have activated the <a href="https://github.com/mintchaos/typogrify">Typgogrify</a> functionality of pelican, which is just as cool as the above.</p> <p>The other thing, I will most likely employ further, with this relaunch is stuff by the <a href="https://indiewebcamp.com/">IndiWebCamp</a>. Not shure yet how far it will go, but for now I included a hcard, have prepared for <a href="https://indieauth.com/">IndieAuth</a> and might opt for the <a href="http://www.kryogenix.org/days/2014/11/29/enabling-webmentions/">webmentions</a> as well. I like those ideas.</p> <p>Cherry picking time :-)</p> <script type="text/javascript">if (!document.getElementById('mathjaxscript_pelican_#%@#$@#')) { var align = "center", indent = "0em", linebreak = "false"; if (false) { align = (screen.width < 768) ? "left" : align; indent = (screen.width < 768) ? "0em" : indent; linebreak = (screen.width < 768) ? 'true' : linebreak; } var mathjaxscript = document.createElement('script'); var location_protocol = (false) ? 'https' : document.location.protocol; if (location_protocol !== 'http' && location_protocol !== 'https') location_protocol = 'https:'; mathjaxscript.id = 'mathjaxscript_pelican_#%@#$@#'; mathjaxscript.type = 'text/javascript'; mathjaxscript.src = location_protocol + '//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'; mathjaxscript[(window.opera ? "innerHTML" : "text")] = "MathJax.Hub.Config({" + " config: ['MMLorHTML.js']," + " TeX: { extensions: ['AMSmath.js','AMSsymbols.js','noErrors.js','noUndefined.js'], equationNumbers: { autoNumber: 'AMS' } }," + " jax: ['input/TeX','input/MathML','output/HTML-CSS']," + " extensions: ['tex2jax.js','mml2jax.js','MathMenu.js','MathZoom.js']," + " displayAlign: '"+ align +"'," + " displayIndent: '"+ indent +"'," + " showMathMenu: true," + " messageStyle: 'normal'," + " tex2jax: { " + " inlineMath: [ ['\\\\(','\\\\)'] ], " + " displayMath: [ ['$$','$$'] ]," + " processEscapes: true," + " preview: 'TeX'," + " }, " + " 'HTML-CSS': { " + " styles: { '.MathJax_Display, .MathJax .mo, .MathJax .mi, .MathJax .mn': {color: 'inherit ! important'} }," + " linebreaks: { automatic: "+ linebreak +", width: '90% container' }," + " }, " + "}); " + "if ('default' !== 'default') {" + "MathJax.Hub.Register.StartupHook('HTML-CSS Jax Ready',function () {" + "var VARIANT = MathJax.OutputJax['HTML-CSS'].FONTDATA.VARIANT;" + "VARIANT['normal'].fonts.unshift('MathJax_default');" + "VARIANT['bold'].fonts.unshift('MathJax_default-bold');" + "VARIANT['italic'].fonts.unshift('MathJax_default-italic');" + "VARIANT['-tex-mathit'].fonts.unshift('MathJax_default-italic');" + "});" + "MathJax.Hub.Register.StartupHook('SVG Jax Ready',function () {" + "var VARIANT = MathJax.OutputJax.SVG.FONTDATA.VARIANT;" + "VARIANT['normal'].fonts.unshift('MathJax_default');" + "VARIANT['bold'].fonts.unshift('MathJax_default-bold');" + "VARIANT['italic'].fonts.unshift('MathJax_default-italic');" + "VARIANT['-tex-mathit'].fonts.unshift('MathJax_default-italic');" + "});" + "}"; (document.body || document.getElementsByTagName('head')[0]).appendChild(mathjaxscript); } </script>Tobias DiekershoffThu, 25 Dec 2014 14:27:00 +0100tag:diekershoff.net,2014-12-25:2014/12/typgogrify-and-indiweb/diekershoff.netpelicanwebtoolsreclaim the webindiwebFriendica 3.3.2http://diekershoff.net/2014/12/friendica_332/<p>The <a href="http://friendica.com">friendica</a> project has a little, mostly bug fixing, gift for the holidays--version <a href="http://friendica.com/node/66">3.3.2</a> of the social network server. <strong>Happy Holidays everyone</strong> hope to see you within the federation 2015!</p>Tobias DiekershoffWed, 24 Dec 2014 14:30:00 +0100tag:diekershoff.net,2014-12-24:2014/12/friendica_332/friendicasoftwarefederationPelican Themehttp://diekershoff.net/2014/12/1st_steps_on_the_pelican_theme/<p>After gathering some more ideas about <em>how the page should look</em> and me settling agin for something unfancy but hopefully functional. It will emplay <a href="http://getbootstrap.com">bootstrap</a>, just to get this page into the mobile friendly age. The overall layout inspired by a theme by <a href="http://www.bootstrapzero.com/bootstrap-template/affix-sidebar">Bootply</a> combined with the <a href="http://bootswatch.com/sandstone/#">Sandstone</a> color schema by bootswatch.</p> <p>Once the overall design was settled down, all that was left was to put it into blocks of <a href="http://jinja.pocoo.org/">Jinja</a> templates and tell pelican to use the new theme. Within a couple of minutes the index page was done and some hours after that the blogging aspect of the new design was done as well. \o/ I had feard for more complications and me throwing the plan out of the window again... But the opposite is the case. Pelican being based on python feels comfortable and is well documented. The missing pieces in the documentation (or me being to lazy to look it up) fills in logically from my python knowledge. Like </p> <div class="highlight"><pre><span></span>{% for month, articles in date_year|groupby(&#39;date.month&#39;)|reverse %} </pre></div> <p>for getting the blog archives in reversed order. Where the other pelican themes I tried (and I did not try all of them) had the oldest entries first on the archive page. Once it is done, the theme will most likeley fond it's way into my bitbucket.</p> <p>So basically there is only the "static" content left to migrate from HTML files to markdown and link it properly into pelicans directory structure. Hopefully I'll find the time over the holiday s to convert it--best in a link preserving way--but I'm not yet sure how and which content will be preserved at all.</p>Tobias DiekershoffMon, 22 Dec 2014 19:35:00 +0100tag:diekershoff.net,2014-12-22:2014/12/1st_steps_on_the_pelican_theme/pelicanrelaunchdiekershoff.netSomething new, this time for realhttp://diekershoff.net/2014/10/relaunch%20using%20pelican/<p>I have a <em>new design</em> for diekershoff.net on my harddisk from each year since '10 or so. Mostly it's just playing around with HTML and <em>cool ideas</em> that loose their coolness after some days... But this time for real, I will relaunch the page for real--using <a href="[http://getpelican.com">pelican</a> for "content management" and page generation.</p> <p>Pelican is a static site generator powered by <a href="http://python.org">python</a>, which is exactly the thing I need. Till now my static site generator was a HTML template file I filled with content by <a href="http://vim.org">vim</a>. Now I will use vim to write <a href="http://daringfireball.net/projects/markdown/">markdown</a> files. These will then be combined with the theme files by pelican to build the webpage. So in case I want to play around again and change the entire layout, I just need to create a new template and <code>make html</code>again.</p> <p>In theory that is. Now I just need to create a theme for pelican, most likely adjusting an existing one and get the content over to markdown files.</p>Tobias DiekershoffSat, 11 Oct 2014 15:26:00 +0200tag:diekershoff.net,2014-10-11:2014/10/relaunch using pelican/pelicandiekershoff.netrelaunch