<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Autarchy of the Private Cave &#187; Comparison</title> <atom:link href="https://bogdan.org.ua/categories/comparison-2/feed" rel="self" type="application/rss+xml" /><link>https://bogdan.org.ua</link> <description>Tiny bits of bioinformatics, [web-]programming etc</description> <lastBuildDate>Wed, 28 Dec 2022 16:09:04 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>https://wordpress.org/?v=3.8.27</generator> <item><title>Lenovo P2 vs Honor 6X: Honor wins?</title><link>https://bogdan.org.ua/2017/08/29/lenovo-p2-vs-honor-6x-honor-wins.html</link> <comments>https://bogdan.org.ua/2017/08/29/lenovo-p2-vs-honor-6x-honor-wins.html#comments</comments> <pubDate>Tue, 29 Aug 2017 18:59:30 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Comparison]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[Android]]></category> <category><![CDATA[smartphone]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2494</guid> <description><![CDATA[On paper, these two devices are very similar: both have 4GB RAM, both are upgradable to Android 7, both have octacore CPUs. It seems as if the only differences are: camera: Honor has an extra low-res &#8220;depth&#8221; camera, while Lenovo doesn&#8217;t frame/body: Lenovo has a metal unibody design and performed ok in the scratch/burn/bend test, [&#8230;]]]></description> <content:encoded><![CDATA[<p><em>On paper</em>, these two devices are very similar: both have 4GB RAM, both are upgradable to Android 7, both have octacore CPUs.<br
/> It seems as if the only differences are:</p><ul><li>camera: Honor has an extra low-res &#8220;depth&#8221; camera, while Lenovo doesn&#8217;t</li><li>frame/body: Lenovo has a metal unibody design and performed ok in the scratch/burn/bend test, while Honor has a plastic body, easy to scratch screen, and did not perform as good as Lenovo in the test</li><li>Lenovo has a bigger battery</li></ul><p>For about the same price (Lenovo P2 being a bit more expensive) one can buy a 4GB/32GB Lenovo P2 or a 4GB/64GB Honor 6X.</p><p>After using both phones for a while, I feel that Honor is a much better value overall.<br
/> Here&#8217;s a brief comparison, based on my use.</p><p><span
id="more-2494"></span></p><h2 class="tablepress-table-name tablepress-table-name-id-6">Lenovo P2 vs Honor 6X: practical use impressions</h2><table
id="tablepress-6" class="tablepress tablepress-id-6"><thead><tr
class="row-1 odd"><th
class="column-1"><div>&nbsp;</div></th><th
class="column-2"><div>Lenovo P2</div></th><th
class="column-3"><div>Honor 6X</div></th></tr></thead><tbody
class="row-hover"><tr
class="row-2 even"><td
class="column-1">Upgrade to Android 7</td><td
class="column-2">Updating is possible only after going through the initial configuration.</td><td
class="column-3">Feels streamlined: the phone actually checks for updates before allowing to configure it. As a result, there is absolutely no need/reason to factory-reset after updates.</td></tr><tr
class="row-3 odd"><td
class="column-1">Kernel</td><td
class="column-2">version 3.18</td><td
class="column-3">version 4.something</td></tr><tr
class="row-4 even"><td
class="column-1">Regional settings</td><td
class="column-2">Usual, free selection of region and language.</td><td
class="column-3">Language is defined by your region. If you select Germany, then phone's language is set to German.</td></tr><tr
class="row-5 odd"><td
class="column-1">RAM</td><td
class="column-2">After updating, had ~2GB free without any programs running. The highest value seen was ~2.3GB. However, the phone already had a few dozen apps installed. Some system pages show that 3.5GB RAM is available to the system. There is a single unconfirmed mention in the internet which claims that 0.5GB is reserved for the GPU.</td><td
class="column-3">Usually about 2.6-2.7GB are reported as free. Compared per-program RAM use between Honor and Lenovo, Lenovo core (android, ui, etc) are reported consuming more RAM than their Honor counterparts.</td></tr><tr
class="row-6 even"><td
class="column-1">Screen</td><td
class="column-2">Yes, AMOLED, but that honestly doesn't look like a lot of an advantage anymore... Maybe except for glorious black/dark themes combined with potential energy savings that they bring.</td><td
class="column-3">Great screen.</td></tr><tr
class="row-7 odd"><td
class="column-1">Battery life</td><td
class="column-2">Yes, big battery. Subjectively, it feels like sometimes the phone is losing charge without much reason. But at the same time it also lasts very long under load. The side "ultra power savings" switch is good, but does not seem strictly necessary, a soft switch would work as good as a hardware switch - but there is no soft switch.</td><td
class="column-3">Very good battery life, I'd even say comparable to Lenovo's. Ultra power savings possible with a soft switch.</td></tr><tr
class="row-8 even"><td
class="column-1">Camera</td><td
class="column-2">Images are fine, sometimes a little dark. Yes, there is a problem with focusing/sharpness, but it's not too bad. Some people say that other camera apps (such as Open Camera) help get better results. However, what I could not find a solution for, is the problem of video recordings visibly re-focusing every once in a while - no matter which app is used... The native camera app looks simpler than Honor's, but does have a smart composition assistant.</td><td
class="column-3">There's a lot of praise for Honor's camera, but I personally do not quite like it: it overexposes almost all the images taken. On the software side, the camera app is great.</td></tr></tbody></table><p>Honestly, regarding cameras, I feel that LG G2 mini and Samsung S4 mini had better cameras&#8230;<br
/> Fewer megapixels, no 4K video recording &#8211; but great photos, and no problems with videos.<br
/> This is probably a single major disappointment.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2017%2F08%2F29%2Flenovo-p2-vs-honor-6x-honor-wins.html&amp;linkname=Lenovo%20P2%20vs%20Honor%206X%3A%20Honor%20wins%3F" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2017%2F08%2F29%2Flenovo-p2-vs-honor-6x-honor-wins.html&amp;linkname=Lenovo%20P2%20vs%20Honor%206X%3A%20Honor%20wins%3F" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2017%2F08%2F29%2Flenovo-p2-vs-honor-6x-honor-wins.html&amp;linkname=Lenovo%20P2%20vs%20Honor%206X%3A%20Honor%20wins%3F" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2017%2F08%2F29%2Flenovo-p2-vs-honor-6x-honor-wins.html&amp;linkname=Lenovo%20P2%20vs%20Honor%206X%3A%20Honor%20wins%3F" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2017%2F08%2F29%2Flenovo-p2-vs-honor-6x-honor-wins.html&amp;linkname=Lenovo%20P2%20vs%20Honor%206X%3A%20Honor%20wins%3F" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2017%2F08%2F29%2Flenovo-p2-vs-honor-6x-honor-wins.html&#038;title=Lenovo%20P2%20vs%20Honor%206X%3A%20Honor%20wins%3F" data-a2a-url="https://bogdan.org.ua/2017/08/29/lenovo-p2-vs-honor-6x-honor-wins.html" data-a2a-title="Lenovo P2 vs Honor 6X: Honor wins?"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2017/08/29/lenovo-p2-vs-honor-6x-honor-wins.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Mail-in-a-box, Sovereign, Modoboa, iRedMail, etc</title><link>https://bogdan.org.ua/2016/12/28/mail-in-a-box-sovereign-modoboa-iredmail-etc.html</link> <comments>https://bogdan.org.ua/2016/12/28/mail-in-a-box-sovereign-modoboa-iredmail-etc.html#comments</comments> <pubDate>Wed, 28 Dec 2016 14:43:17 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Comparison]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[mail-server]]></category> <category><![CDATA[self-hosted]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2465</guid> <description><![CDATA[Preparing to dismantle my physical server (and move different hosted things to one or more VPS), I&#8217;ve realized that an email server is necessary: to send website-generated emails, and also receive a few rare contact requests arriving at the websites. My current email server was configured eons ago, it works well, but I have no [&#8230;]]]></description> <content:encoded><![CDATA[<p>Preparing to dismantle my physical server (and move different hosted things to one or more VPS),<br
/> I&#8217;ve realized that an email server is necessary: to send website-generated emails, and also<br
/> receive a few rare contact requests arriving at the websites.</p><p>My current email server was configured eons ago, it works well,<br
/> but I have no desire to painfully transfer all the configuration&#8230;<br
/> Better install something new, shiny and exciting, right? <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /></p><p>I had 3 #self-hosted, #mail-server bookmarks:</p><ul><li><a
href="https://mailinabox.email/">Mail-in-a-box</a></li><li><a
href="http://www.iredmail.org/">iRedMail</a></li><li><a
href="https://modoboa.org/" class="broken_link" rel="nofollow">Modoboa</a></li><li><a
href="https://github.com/sovereign/sovereign">Sovereign</a></li></ul><p>(Sovereign, the 4th one, was addded after reading more about Mail-in-a-box.)</p><p>Here are my notes on what seemed important about these 4.<br
/> <span
id="more-2465"></span></p><ul><li><a
href="http://www.iredmail.org/">iRedMail</a></li><ul><li>has free and paid web-UIs</li><li>no DNSSEC, DMARC, HSTS</li><li>amavisd with clamav</li><li>has useful manual parts</li><li>containerized</li><li>not attractive</li></ul><li><a
href="https://modoboa.org/" class="broken_link" rel="nofollow">Modoboa</a></li><ul><li>less sophisticated than Sovereign or Mail-in-a-box</li><li>web-UI, also for amavisd filters</li><li>overall: focuses on better UI</li><li>has useful manual parts</li><li>recent (experimental?) LetsEncrypt support</li><li>has (some) unit tests</li><li>containerized</li><li>not that attractive</li></ul><li><a
href="https://github.com/sovereign/sovereign">Sovereign</a></li><ul><li>has more than I need, but components can be deactivated</li><li>has EncFS support (useful, but questionable because of reboots&#8230;)</li><li>no dedicated web-interface, configs are text</li><li>has proper testing against a vagrant virtual machine</li><li>can be dockerized using <a
href="https://github.com/kisamoto/dancible">github.com/kisamoto/dancible</a></li><li>attractive as &#8220;the next solution&#8221;, or to borrow EncFS support</li></ul><li><a
href="https://mailinabox.email/">Mail-in-a-box</a></li><ul><li>the most sophisticated email server (except for EncFS which is not used here)</li><li>simple but useful web-UI</li><li>no amavisd, clamav, UI for filters</li><li>has good relaying manual</li><li>more or less requires a separate machine (overwrites configs?)</li><li>has no well-established testing, not even for development; this is being worked on as of New Year 2017</li><li>problems with owncloud (which I don&#8217;t really need)</li><li><a
href="https://hub.docker.com/r/mtrnord/mailinabox/">hub.docker.com/r/mtrnord/mailinabox/</a> , <a
href="https://github.com/mail-in-a-box/mailinabox/blob/docker/containers/docker/run">github.com/mail-in-a-box/mailinabox/blob/docker/containers/docker/run</a></li><li><a
href="https://github.com/mail-in-a-box/mailinabox/issues/910">postscreen</a> is not yet configured, it is not obvious if it were beneficial</li><li>the most attractive; might be reasonable to fork and modify (e.g. drop owncloud?)</li></ul></ul><p><abbr
title="Mail-in-a-box">MIAB</abbr> appeared really attractive,<br
/> but then &#8211; do I really want to dedicate one of the VPS to the mail server only?<br
/> Not in my case &#8211; too low emails volume/traffic.</p><p>So running it in an <a
href="https://linuxcontainers.org/">LXC</a> (or some other) container would make sense.<br
/> And this is actually possible, some of the users over at MIAB&#8217;s <a
href="https://discourse.mailinabox.email/">discussion forum</a><br
/> have been running MIAB inside docker container for over a year now with no issues.<br
/> (An extra upside is that web-UI can be left unexposed, preventing external access to it.)<br
/> A possible long-term downside is, of course, lack of tests &#8211; Sovereign looks much better in this regard.</p><p>Sovereign looks very good overall. In fact, MIAB feels like<br
/> &#8220;Sovereign&#8217;s email component + webui for it&#8221; (MIAB was inspired by Sovereign).</p><p>One extra MIAB-specific feature is DNSSEC support.<br
/> MIAB takes on the role of your nameserver, and thus is able to setup (and refresh, when necessary)<br
/> all the DKIM/DNSSEC/etc-relevant DNS records for you.</p><p>As soon as I&#8217;ve started adding &#8220;containerization&#8221; to the mix, dozens of other projects entered my field of view:</p><ul><li><a
href="https://github.com/indiehosters/email">github.com/indiehosters/email</a>, inspired by MIAB, looks ok; lacks webmail, fail2ban, SPF, DANE, DNSSEC, but uses vimbadmin instead of a custom-coded MIAB UI</li><li><a
href="https://github.com/tomav/docker-mailserver">github.com/tomav/docker-mailserver</a> looks great! No UI, no SQL backend, only 2 text files (accounts and aliases) for all configuration &#8211; yay!</li><li><a
href="https://github.com/lava/dockermail">github.com/lava/dockermail</a>, much less active/polished, not really interesting</li><li><a
href="https://github.com/frankh/docker-compose-mailbox">github.com/frankh/docker-compose-mailbox</a> adds roundcube and vimbadmin containers; uses SQL; not sure why it has only 10 stars on github&#8230;</li><li><a
href="https://github.com/adaline/dockermail" class="broken_link" rel="nofollow">github.com/adaline/dockermail</a> &#8211; looks ok, less active and seems simpler than docker-mailserver</li><li><a
href="https://poste.io/">poste.io</a> : has free (downloadable) and 2 paid versions; packed with many features and containerized; there is no Dockerfile, but of course you can examine what&#8217;s inside the public image anyway; actually, looks good &#8211; not sure how posteio-specific the data directory structure is, though&#8230; still something to try</li><li><a
href="http://www.mailgun.com/">mailgun.com</a> &#8211; SMTP service with a more than sufficient free quota for a few low-traffic websites; can be coupled with some forwarding service to avoid any need in an email server; but not this time, I want a mail-server <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /></li><li><a
href="https://yunohost.org/">yunohost.org</a> : I&#8217;m not entirely sure why this is here, maybe it does have email support built-in? ok, yes it does &#8211; this is a debian-based &#8220;home-server&#8221; software, which also includes LDAP and SSO and XMPP and DNS and nginx. Hmm, not bad. I wonder how well it works out of the box.</li><li><a
href="https://kolab.org/">kolab.org</a> : groupware; looks interesting as well, but I have no group (yet) to have a use for a full groupware solution</li><li>not reviewed: <a
href="https://mailcow.email/">mailcow.email</a>, <a
href="https://mailcow.email/dockerized/" class="broken_link" rel="nofollow">mailcow.email/dockerized</a>, <a
href="https://github.com/andryyy/mailcow" class="broken_link" rel="nofollow">github.com/andryyy/mailcow</a></li></ul><p>Finally, one can build an own LXC container, either by following this <a
href="http://arstechnica.com/information-technology/2014/02/how-to-run-your-own-e-mail-server-with-your-own-domain-part-1/">ArsTechnica</a> series,<br
/> or after examining the install scripts of MIAB or Sovereign.<br
/> Then automate all of this, keep it well-maintained &#8211; and there you have it, one more mail-server solution! <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /></p><p>To re-cap:</p><ul><li>MIAB looks very good &#8211; feature-rich, easy to install, and just works &#8211; you should try it!</li><li>docker-mailserver looks great &#8211; I should try it!</li><li>poste.io, yunohost.org and kolab.org are also some interesting solutions to try, along with Sovereign</li></ul><p>Not much of a summary, but this is definitely an accurate reflection of reality.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F12%2F28%2Fmail-in-a-box-sovereign-modoboa-iredmail-etc.html&amp;linkname=Mail-in-a-box%2C%20Sovereign%2C%20Modoboa%2C%20iRedMail%2C%20etc" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F12%2F28%2Fmail-in-a-box-sovereign-modoboa-iredmail-etc.html&amp;linkname=Mail-in-a-box%2C%20Sovereign%2C%20Modoboa%2C%20iRedMail%2C%20etc" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F12%2F28%2Fmail-in-a-box-sovereign-modoboa-iredmail-etc.html&amp;linkname=Mail-in-a-box%2C%20Sovereign%2C%20Modoboa%2C%20iRedMail%2C%20etc" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F12%2F28%2Fmail-in-a-box-sovereign-modoboa-iredmail-etc.html&amp;linkname=Mail-in-a-box%2C%20Sovereign%2C%20Modoboa%2C%20iRedMail%2C%20etc" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F12%2F28%2Fmail-in-a-box-sovereign-modoboa-iredmail-etc.html&amp;linkname=Mail-in-a-box%2C%20Sovereign%2C%20Modoboa%2C%20iRedMail%2C%20etc" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2016%2F12%2F28%2Fmail-in-a-box-sovereign-modoboa-iredmail-etc.html&#038;title=Mail-in-a-box%2C%20Sovereign%2C%20Modoboa%2C%20iRedMail%2C%20etc" data-a2a-url="https://bogdan.org.ua/2016/12/28/mail-in-a-box-sovereign-modoboa-iredmail-etc.html" data-a2a-title="Mail-in-a-box, Sovereign, Modoboa, iRedMail, etc"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2016/12/28/mail-in-a-box-sovereign-modoboa-iredmail-etc.html/feed</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>WD Red price per terabyte in Europe in May 2016</title><link>https://bogdan.org.ua/2016/05/18/wd-red-price-per-terabyte-in-europe-in-may-2016.html</link> <comments>https://bogdan.org.ua/2016/05/18/wd-red-price-per-terabyte-in-europe-in-may-2016.html#comments</comments> <pubDate>Wed, 18 May 2016 19:29:32 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Comparison]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[capacity]]></category> <category><![CDATA[HDD]]></category> <category><![CDATA[Red]]></category> <category><![CDATA[TB]]></category> <category><![CDATA[terabyte]]></category> <category><![CDATA[WD]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2420</guid> <description><![CDATA[Prices were collected on May 18th, 2016, from amazon.de]]></description> <content:encoded><![CDATA[<p>Prices were collected on May 18th, 2016, from amazon.de</p><h2 class="tablepress-table-name tablepress-table-name-id-5">Price per terabyte of WD Red HDDs</h2><table
id="tablepress-5" class="tablepress tablepress-id-5"><thead><tr
class="row-1 odd"><th
class="column-1"><div>Capacity, TB</div></th><th
class="column-2"><div>Price, EUR</div></th><th
class="column-3"><div>EUR/TB</div></th></tr></thead><tbody
class="row-hover"><tr
class="row-2 even"><td
class="column-1">6</td><td
class="column-2">252</td><td
class="column-3">42</td></tr><tr
class="row-3 odd"><td
class="column-1">5</td><td
class="column-2">208</td><td
class="column-3">41.6</td></tr><tr
class="row-4 even"><td
class="column-1">4</td><td
class="column-2">158</td><td
class="column-3">39.5</td></tr><tr
class="row-5 odd"><td
class="column-1">3</td><td
class="column-2">116</td><td
class="column-3">38.(6)</td></tr></tbody></table><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F05%2F18%2Fwd-red-price-per-terabyte-in-europe-in-may-2016.html&amp;linkname=WD%20Red%20price%20per%20terabyte%20in%20Europe%20in%20May%202016" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F05%2F18%2Fwd-red-price-per-terabyte-in-europe-in-may-2016.html&amp;linkname=WD%20Red%20price%20per%20terabyte%20in%20Europe%20in%20May%202016" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F05%2F18%2Fwd-red-price-per-terabyte-in-europe-in-may-2016.html&amp;linkname=WD%20Red%20price%20per%20terabyte%20in%20Europe%20in%20May%202016" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F05%2F18%2Fwd-red-price-per-terabyte-in-europe-in-may-2016.html&amp;linkname=WD%20Red%20price%20per%20terabyte%20in%20Europe%20in%20May%202016" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F05%2F18%2Fwd-red-price-per-terabyte-in-europe-in-may-2016.html&amp;linkname=WD%20Red%20price%20per%20terabyte%20in%20Europe%20in%20May%202016" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2016%2F05%2F18%2Fwd-red-price-per-terabyte-in-europe-in-may-2016.html&#038;title=WD%20Red%20price%20per%20terabyte%20in%20Europe%20in%20May%202016" data-a2a-url="https://bogdan.org.ua/2016/05/18/wd-red-price-per-terabyte-in-europe-in-may-2016.html" data-a2a-title="WD Red price per terabyte in Europe in May 2016"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2016/05/18/wd-red-price-per-terabyte-in-europe-in-may-2016.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PGF vs PNG vs JPEG 2000 for long-term photo storage/archive</title><link>https://bogdan.org.ua/2015/05/26/pgf-vs-png-vs-jpeg-2000-for-long-term-photo-storage-archive.html</link> <comments>https://bogdan.org.ua/2015/05/26/pgf-vs-png-vs-jpeg-2000-for-long-term-photo-storage-archive.html#comments</comments> <pubDate>Mon, 25 May 2015 22:02:46 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Comparison]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Misc]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[comparison]]></category> <category><![CDATA[JPEG2000]]></category> <category><![CDATA[PGF]]></category> <category><![CDATA[photo]]></category> <category><![CDATA[PNG]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2285</guid> <description><![CDATA[I am using an excellent photo-management suite digiKam, which offers 3 lossless compressed formats for photos versioning and storage: PNG, JPEG 2000, and PGF. I wanted to know which one should I use, which urged me to perform this comparison. This post is not intended to be an in-depth comparison, but should be sufficient to [&#8230;]]]></description> <content:encoded><![CDATA[<p>I am using an <a
href="https://www.digikam.org/">excellent photo-management suite digiKam</a>, which offers 3 lossless compressed formats for photos versioning and storage: PNG, JPEG 2000, and PGF. I wanted to know which one should I use, which urged me to perform this comparison.</p><p>This post is not intended to be an in-depth comparison, but should be sufficient to choose one of the three file formats for your purposes. For more format details and history simply follow the links provided. File formats are reviewed roughly in &#8220;historical&#8221; order.</p><p><strong>PNG</strong> (<a
href="http://en.wikipedia.org/wiki/Portable_Network_Graphics">Portable Network Graphics</a>) was designed as <a
href="http://en.wikipedia.org/wiki/Graphics_Interchange_Format">GIF</a> replacement.</p><ul><li>It is lossless.</li><li>It is suitable for photos.</li><li>PNG is more space-efficient in the case of images with many pixels of the same color, such as diagrams/plots (as compared to PGF and JPEG2000). However, PNG photos are almost always larger than lossless PGF/JPEG2000 photos (real photo example: 9.9 MB in PNG, 7.0 MB in JPEG 2000).</li><li>PNG is fairly fast at (en|de)coding.</li><li>PNG is widely supported by web-browsers, image editors, and other software.</li><li>PNG uses CRCs internally for each data block, so if damage occurs only the damaged block(s) should be lost &#8211; theoretically. However, in practice, according to the <a
href="http://planets-project.eu/docs/papers/Heydegger_JustOneBit_ECDL2009.pdf">Just One Bit paper</a> (<a
href="http://bogdan.org.ua/wp-content/uploads/2015/05/Heydegger_JustOneBit_ECDL2009.pdf">local copy</a>), PNG is actually much less damage-resilient than JPEG 2000.</li></ul><p><span
id="more-2285"></span><br
/> <strong>JPEG 2000</strong> (<a
href="http://en.wikipedia.org/wiki/JPEG_2000">JPEG 2000</a>) was designed as <a
href="http://en.wikipedia.org/wiki/JPEG">JPEG</a> replacement.</p><ul><li>It has both lossless and lossy modes. Lossy mode is &#8220;better&#8221; (perceptually at the same file size) than JPEG.</li><li>Lossless mode is the smallest of all 3 file formats tested.</li><li>JPEG 2000 is slower at (en|de)coding than PGF and PNG.</li><li>JPEG 2000 has several associated ISO and other standards. Software support for JPEG 2000 is not as good as for PNG, but better than for PGF.</li><li>JPEG 2000 has good <a
href="http://www.dlib.org/dlib/july08/buonora/07buonora.html">bit errors resilience</a> (<a
href="http://bogdan.org.ua/wp-content/uploads/2015/05/A-study-on-JPEG2000-file-robustness.pdf">local copy</a>).</li></ul><p><strong>PGF</strong> (<a
href="http://en.wikipedia.org/wiki/Progressive_Graphics_File">Progressive Graphics File</a>) was also designed to replace/enhance <a
href="http://en.wikipedia.org/wiki/JPEG">JPEG</a>.</p><ul><li>PGF uses the same wavelet-based method as JPEG 2000, so it shares a lot of features with JPEG 2000, including support for lossless and lossy modes, with lossy being &#8220;better&#8221; than JPEG.</li><li>Lossless mode file is marginally larger than the same image in JPEG 2000 (real photo example: 7.0 MB in JPEG 2000, 7.4 MB in PGF).</li><li>It is much faster at (en|de)coding than JPEG 2000 (this is major difference #1 of 2).</li><li>Software support for PGF is not as good as for JPEG 2000 (this is major difference #2 of 2).<li>Being under-appreciated, PGF doesn&#8217;t seem to have received any error resilience testing, yet. However, one should expect error resilience similar to that of JPEG 2000, because essentially the same compression method is used (albeit with different &#8220;parameters&#8221;, resulting in a speed/size trade-off/gain). It is not clear if PGF has any <em>resilience features</em> like JPEG 2000.</li></ul><p><em>Fun fact #1</em> from the links above: best error resilience was observed for bitmap files.<br
/> <em>Fun fact #2</em>: after about 1% of data damage none of the compressed formats is able to reliably reproduce the original image.</p><p>I would be happy to use PGF for its speed, compression ratio, and features, but lacking software support is detrimental (in a self-reinforcing manner) to widespread adoption of PGF; being quite similar to the more popular (or better promoted) JPEG 2000, I do not know if PGF will gain sufficient traction to get e.g. browser support.</p><p>PNG has very good support, but produces noticeably larger files, and exhibits significantly lower error resilience than JPEG 2000.</p><p>So as of today my choice is JPEG 2000 (lossless, with resilience features).</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F05%2F26%2Fpgf-vs-png-vs-jpeg-2000-for-long-term-photo-storage-archive.html&amp;linkname=PGF%20vs%20PNG%20vs%20JPEG%202000%20for%20long-term%20photo%20storage%2Farchive" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F05%2F26%2Fpgf-vs-png-vs-jpeg-2000-for-long-term-photo-storage-archive.html&amp;linkname=PGF%20vs%20PNG%20vs%20JPEG%202000%20for%20long-term%20photo%20storage%2Farchive" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F05%2F26%2Fpgf-vs-png-vs-jpeg-2000-for-long-term-photo-storage-archive.html&amp;linkname=PGF%20vs%20PNG%20vs%20JPEG%202000%20for%20long-term%20photo%20storage%2Farchive" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F05%2F26%2Fpgf-vs-png-vs-jpeg-2000-for-long-term-photo-storage-archive.html&amp;linkname=PGF%20vs%20PNG%20vs%20JPEG%202000%20for%20long-term%20photo%20storage%2Farchive" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F05%2F26%2Fpgf-vs-png-vs-jpeg-2000-for-long-term-photo-storage-archive.html&amp;linkname=PGF%20vs%20PNG%20vs%20JPEG%202000%20for%20long-term%20photo%20storage%2Farchive" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2015%2F05%2F26%2Fpgf-vs-png-vs-jpeg-2000-for-long-term-photo-storage-archive.html&#038;title=PGF%20vs%20PNG%20vs%20JPEG%202000%20for%20long-term%20photo%20storage%2Farchive" data-a2a-url="https://bogdan.org.ua/2015/05/26/pgf-vs-png-vs-jpeg-2000-for-long-term-photo-storage-archive.html" data-a2a-title="PGF vs PNG vs JPEG 2000 for long-term photo storage/archive"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2015/05/26/pgf-vs-png-vs-jpeg-2000-for-long-term-photo-storage-archive.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Compressors galore: pbzip2, lbzip2, plzip, xz, and lrzip tested on a FASTQ file</title><link>https://bogdan.org.ua/2015/03/28/compressors-galore-pbzip2-lbzip2-plzip-xz-and-lrzip-tested-on-a-fastq-file.html</link> <comments>https://bogdan.org.ua/2015/03/28/compressors-galore-pbzip2-lbzip2-plzip-xz-and-lrzip-tested-on-a-fastq-file.html#comments</comments> <pubDate>Fri, 27 Mar 2015 23:34:14 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Comparison]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Misc]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[benchmark]]></category> <category><![CDATA[bzip2]]></category> <category><![CDATA[fastq]]></category> <category><![CDATA[lbzip2]]></category> <category><![CDATA[lrzip]]></category> <category><![CDATA[pbzip2]]></category> <category><![CDATA[plzip]]></category> <category><![CDATA[test]]></category> <category><![CDATA[xz]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2257</guid> <description><![CDATA[About 2 years ago I had already reviewed some parallel (and not) compressing utilities, settling at that time on pbzip2 &#8211; it scales quasi-linearly with the number of CPUs/cores, stores compressed data in relatively small 900k blocks, is fast, and has good compression ratio. pbzip2 was (and still is) a very good choice. Yesterday I [&#8230;]]]></description> <content:encoded><![CDATA[<p>About 2 years ago I had already <a
href="http://bogdan.org.ua/2013/10/17/favourite-file-compressor-gzip-bzip2-7z.html">reviewed some parallel (and not) compressing utilities</a>, settling at that time on <strong>pbzip2</strong> &#8211; it scales quasi-linearly with the number of CPUs/cores, stores compressed data in relatively small 900k blocks, is fast, and has good compression ratio. <strong>pbzip2</strong> was (and still is) a very good choice.</p><p>Yesterday I got somewhat distracted, and thus found <strong>lbzip2</strong> -</p><blockquote><p>an independent, multi-threaded implementation of bzip2. It is commonly the fastest SMP (and uniprocessor) bzip2 compressor and decompressor</p></blockquote><p>- as it says in the Debian package description. Is it really &#8220;commonly the fastest&#8221; one? How does it compare to <strong>pbzip2</strong>? Should I use <strong>lbzip2</strong> instead of <strong>pbzip2</strong>?</p><p>This minor distraction had grown into a full-scale web-search and comparison, adding to the mix <strong>plzip</strong> (a parallel version of <strong>lzip</strong>), <strong>xz</strong>, and <strong>lrzip</strong>. After reading thousands of characters, all of these were put to a simple test: compressing an about 2 gigabyte FASTQ file with default options.</p><p>All the external links and benchmarks, as well as my own mini-benchmark results, are provided below.</p><p><strong>The conclusion is that</strong> out of all the tested compressors <strong>lbzip2 is indeed the best one</strong> (for my <em>practical</em> use). It is only slightly better than the trusty <strong>pbzip2</strong>, which takes the second place. All the other compressors performed so poorly, that they do not get any place in my <em>practical</em> rating&#8230;</p><p>So, let us first ask internet wisdom/foolishness, <strong>if lbzip2 or pbzip2 is faster/better?</strong><br
/> <span
id="more-2257"></span></p><ul><li>this <a
href="http://askubuntu.com/questions/63224/what-should-i-rely-on-lbzip2-or-pbzip2">askubuntu question</a> shows that <strong>lbzip2</strong> is compressing faster (1:43) than <strong>pbzip2</strong> (2:34)</li><li>this <a
href="http://vbtechsupport.com/1614/">nice benchmark</a> also confirms that <strong>lbzip2</strong> is indeed faster at compressing; <strong>lbzip2</strong> also appears to use less RAM and a little bit less CPU during compression; during decompression, <strong>lbzip2</strong> (reportedly) uses much more RAM. <strong>lbzip2</strong> achieved at least as good (and even marginally better) compression ratios as <strong>pbzip2</strong>.</li><li><a
href="https://github.com/kjn/lbzip2">lbzip2 github</a> page and also <a
href="http://fibrevillage.com/sysadmin/81-parallel-compression-utilities-on-linux-lbzip2-pbzip2-and-pigz" class="broken_link" rel="nofollow">this unrelated page</a> both say that <strong>lbzip2</strong> is fully cross-compatible with <strong>bzip2</strong></li><li>probably most importantly, lbzip2 github readme says that even <strong>bzip2</strong>-compressed archives get a decompression speedup (which is definitely not the case with <strong>pbzip2</strong>)</li><li><strong>lbzip2</strong> also uses 100-900k blocks (900k by default)</li><li>it is not clear if <strong>lbzip2</strong> is somewhat less widely tested than <strong>pbzip2</strong></li><li><strong>lbzip2</strong>&#8216;s author has <a
href="https://lists.debian.org/debian-mentors/2009/02/msg00135.html">performed some testing</a> (back in 2009, mind you!), and these were the most important results:</li><ul><li><strong>lbzip2</strong> is better when decompressing from a pipe, no matter the producer, and also when the compressed input coming from a regular file is single stream</li><li><strong>pbzip2</strong> beats <strong>lbzip2</strong> when the compressed input is coming from a regular file and is multi-stream (yes, pbzip2 can decompress even lbzip2&#8242;s compressed output faster than lbzip2 itself, when it&#8217;s coming from a regular file) <em>note: if you check the vbsupport benchmark above, you&#8217;ll see that lbzip2 had probably fixed slight lagging behind pbzip2 for regular multi-stream files; this improvement is also confirmed by my testing</em></li></ul></ul><p>So, at least in theory <strong>lbzip2</strong> is indeed better than <strong>pbzip2</strong>, even if only at faster decompression of <strong>bzip2</strong>-compressed files.</p><p>While looking for benchmarks, I&#8217;ve found <a
href="https://aliver.wordpress.com/2010/06/22/huge-unix-file-compresser-shootout-with-tons-of-datagraphs/">this one</a> (old but good), which highly praises <strong>lzop</strong> compressor. Apparently, <strong>lzop</strong> is noticeably faster than even <strong>gzip</strong>, and compresses only a little bit worse. However, I am not really interested in a faster gzip: I need something with much better compression, but still fast enough for multi-gigabyte files.</p><p>Next, I have stumbled upon <a
href="http://www.nongnu.org/lzip/lzip.html">lzip</a> and <a
href="http://www.nongnu.org/lzip/plzip.html">plzip</a> (.lz). What are these compressors?</p><ul><li><strong>plzip</strong> is a parallel version of <strong>lzip</strong>, and fully lzip-compatible</li><li><strong>lzip</strong> is an LZMA compressor</li><li>reading the documentation leaves an impression that <strong>[p]lzip</strong> achieves better compression, is slower, and needs much more RAM than competing compressors</li><li>there is a special utility called <strong>lziprecover</strong>, which helps recover data from damaged lzip archives, by leveraging, on the one hand, CRC checksums of compressed blocks, and, on the other, multiple damaged copies of the archive (if available)</li><li>from the official website:<br
/><blockquote><p><strong>Lzip</strong> is a lossless data compressor with a user interface similar to the one of <strong>gzip</strong> or <strong>bzip2</strong>. <strong>Lzip</strong> is about as fast as <strong>gzip</strong>, compresses most files more than <strong>bzip2</strong>, and is better than both from a data recovery perspective.</p></blockquote></li><li>default &#8220;member&#8221; (compressed block/chunk) size is 4 <em>petabytes</em>, but can be set to a lower value (minimal 100kb), mimicking bzip2&#8242;s chunk size</li><li>supports multiple, independent volumes (loosing one volume will still allow recovering data from all other volumes)</li><li>with multiple cores, <strong>plzip</strong> creates multi-member files by default (but it is not clear, what is the size of these members? Default is said to be twice the dictionary size, but default for dictionary size is not specified in the manual &#8211; so lzip/plzip seem to require compression level -1&#8230;-9 specification)</li><li><a
href="https://aliver.wordpress.com/2010/06/22/huge-unix-file-compresser-shootout-with-tons-of-datagraphs/">here</a> <strong>lzip</strong> compresses a little bit better than <strong>xz</strong> without the <code>--extreme</code> option</li><li><strong>(l|p)bzip2</strong> should still be faster than either <strong>lzip</strong> or <strong>xz</strong></li><li>I started mentioning <strong>xz</strong>, because <strong>lzip</strong> and <strong>xz</strong> (at least historically) are competing LZMA-based compressors</li><li>a 1 year old <a
href="https://blogs.gentoo.org/mgorny/2014/02/22/a-few-words-on-lzip-compressor/">opinion</a> makes the following statements about lzip:</li><ul><li><strong>lzip</strong> is a marginal archiver with no real benefits since the appearance of <strong>xz</strong> (<em>note: <strong>xz</strong> is a successor of lzma-utils</em>)</li><li><strong>xz</strong> is more popular, more widely accepted</li><li><strong>xz</strong> has a community, while <strong>lzip</strong> has 1 author</li><li>performance of <strong>xz</strong> and <strong>lzip</strong> is comparable</li><li><strong>xz</strong> has more features</li><li>but <strong>lzip</strong> does indeed have a recovery utility that <strong>xz</strong> doesn&#8217;t</li></ul></ul><p>That doesn&#8217;t really tell us much on how <strong>plzip</strong>/<strong>lzip</strong> compare to, say, <strong>pbzip2</strong>. But before performance, let us pay some more attention to long-term storage features of <strong>lzip</strong>:</p><blockquote><p>The <strong>lzip</strong> file format is designed for data sharing and long-term archiving, taking into account both data integrity and decoder availability:</p><ul><li>The <strong>lzip</strong> format provides very safe integrity checking and some data recovery means. The <strong>lziprecover</strong> program can repair bit-flip errors (one of the most common forms of data corruption) in <strong>lzip</strong> files, and provides data recovery capabilities, including error-checked merging of damaged copies of a file.</li><li>The <strong>lzip</strong> format is as simple as possible (but not simpler). The <strong>lzip</strong> manual provides the code of a simple decompressor along with a detailed explanation of how it works, so that with the only help of the <strong>lzip</strong> manual it would be possible for a <em>digital archaeologist</em> to extract the data from a <strong>lzip</strong> file long after quantum computers eventually render LZMA obsolete.</li><li>Additionally, the <strong>lzip</strong> reference implementation is copylefted, which guarantees that it will remain free forever.</li></ul></blockquote><p>(I really liked the part about the <em>digital archaeologist</em>! And the copyleft, to a lesser extent.)</p><p>Looks really attractive! Because what I am using compressors for is, essentially, longer-term archiving, with unpredictable needs to sometimes decompress some of the files. And, of course, storage media will fail fully or partially, so recovering is important, too. But what is this <strong>xz</strong> compressor?.. I&#8217;ve seen it before, in the contexts with words &#8220;overtake the world&#8221; or similar&#8230;</p><p><strong>xz</strong></p><ul><li><strong>much</strong> more complex file format than <strong>lzip</strong>, but  maybe it has some benefits for client programs and/or recovery?</li><li>supports integrity checks and multiple compressed blocks</li><li>according to this <a
href="http://gcc.gnu.org/ml/gcc/2012-03/msg00549.html">post from 2012</a>, <strong>xz</strong> (single-threaded) both compressed and decompressed much faster than <strong>lzip</strong>&#8230; and <strong>lrzip</strong> (depends on settings, of course)</li><li><strong>lzip</strong> is older than <strong>xz</strong>, and was better than <strong>xz</strong> predecessor &#8211; <strong>lzma-utils</strong></li><li><strong>xz</strong> is adopted by some linux distributions and software projects for package compression</li><li><strong>xz</strong> does not seem to have an equivalent of <strong>lziprecover</strong></li><li><strong>tar</strong> supports both <code>--lzip</code> and <code>--xz</code>, also with <code>--auto-compress</code></li></ul><p>This hasn&#8217;t really added any clarity, has it? Moreover, we now have one more unknown &#8211; the <a
href="https://github.com/ckolivas/lrzip" title="long-range zip">lrzip</a> compressor. <strong>lrzip</strong> is a redundancy compressor with LZO, gzip, bzip2, ZPAQ and LZMA back-ends. It is highly efficient for highly redundant data, even if redundancies are separated with long stretches of other data. (FASTQ files are fairly redundant, though <strong>bzip2</strong> seems to utilize that fairly well already; can <strong>lrzip</strong> do better?)</p><p>However, what if a part of the archive is damaged? How much information is lost then? Is it at all possible to recover some of the data from damaged .lrz archives?<br
/> <a
href="http://ck.kolivas.org/apps/lrzip/README.benchmarks">Author&#8217;s benchmarks</a> showcase how good <strong>lrzip</strong> is at redundant data compression (although <strong>lrzip</strong> is multithreaded, so comparison in the benchmark to non-multithreaded algorithm implementations is not quite correct&#8230;). Damaged archive recovery concerns would have prevented me from using <strong>lrzip</strong> anyway, but I was really interested if a &#8220;long-range redundancy&#8221; compressor can do better than usual, &#8220;short-range redundancy&#8221; compressors.</p><p><strong>My testing setup</strong></p><blockquote><ul><li>Debian testing 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01) x86_64 GNU/Linux</li><li>Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz (4 physical cores with HT enabled: 8 hardware threads)</li><li>16GiB RAM</li><li>test file name: test.fastq</li><li>test file size: 2 223 860 346 bytes (a little over 2 gigabytes)</li><li>test file was copied once to RAM-mounted /tmp, to exclude any I/O bottleneck effects on compression speeds</li><li>bzip2: 1.0.6</li><li>lbzip2: 2.5</li><li>pbzip2: 1.1.9</li><li>xz: 5.1.0alpha</li><li>plzip: 1.2</li><li>lrzip: 0.616</li><li>command execution time and maximal process RSS memory were measured with <code>/usr/bin/time -f '%C: %e s, %M Kb' compressor arguments</code> (note: this is <strong>not</strong> bash&#8217;s built-in <strong>time</strong>); please note that memory measurement can be incorrect for multithreaded compressors</li></ul></blockquote><p>Below come testing results. I have not put them into a single table, but I do comment the results in a few places. Entire testing followed this pattern:</p><ul><li>compress test.fastq, deleting the original</li><li>test compressed archive (<em>note: this was done only for some compressors, not all</em>)</li><li>decompress archive back to test.fastq, delete archive</li><li>if 3 previous steps are fast enough: repeat 1-2 more times (but only show the best result below); otherwise continue</li><li>repeat with the next compressor</li></ul><p><strong>bzip2: 309 159 275 bytes</strong><br
/> <strong>bzip2</strong> was used as a baseline, to highlight speed benefits of both <strong>lbzip2</strong> and <strong>pbzip2</strong>.</p><blockquote><p> test.fastq:  7.193:1,  1.112 bits/byte, 86.10% saved, 2223860346 in, 309159275 out.<br
/> <strong>bzip2</strong> -v test.fastq: <strong>190.63 s</strong>, 7608 Kb<br
/> <strong>bzip2</strong> -v -d test.fastq.bz2: <strong>51.58 s</strong>, 4620 Kb</p></blockquote><p><strong>Bzip2</strong> is neither particularly slow, nor particularly fast. It also seems to have modest memory requirements.</p><p><strong>pbzip2: 310 462 610 bytes</strong><br
/> <strong>pbzip2</strong> is the currently used reference. For any other compressor to become a successor of <strong>pbzip2</strong>, that other compressor must be either a little faster (while compressing as good as <strong>pbzip2</strong>), or a little better compressor (while being as fast as <strong>pbzip2</strong>), or both. Note that compressed file size is only a tiny bit larger than with <strong>bzip2</strong>.</p><blockquote><p> &#8220;test.fastq.bz2&#8243;: compression ratio is 1:7.163, space savings is 86.04%<br
/> <strong>pbzip2</strong> -v test.fastq: <strong>46.22 s</strong>, 67436 Kb<br
/> <strong>pbzip2</strong> -dv test.fastq.bz2: <strong>19.80 s</strong>, 46672 Kb</p></blockquote><p>Interestingly, <code>pbzip2 --test</code> uses 1 thread only (but also consumes only 6MB RAM), resulting in decompression times similar to those of <strong>bzip2</strong>. <strong>lbzip2</strong> uses all 8 threads also during testing.</p><p><strong>lbzip2: 311 040 543 bytes</strong></p><blockquote><p> lbzip2: compressing &#8220;test.fastq&#8221; to &#8220;test.fastq.bz2&#8243;<br
/> lbzip2: &#8220;test.fastq&#8221;: compression ratio is 1:7.150, space savings is 86.01%<br
/> <strong>lbzip2</strong> -v test.fastq: <strong>22.67 s</strong>, 49812 Kb</p><p>lbzip2: decompressing &#8220;test.fastq.bz2&#8243; to &#8220;test.fastq&#8221;<br
/> lbzip2: &#8220;test.fastq.bz2&#8243;: compression ratio is 1:7.150, space savings is 86.01%<br
/> <strong>lbzip2</strong> -vd test.fastq.bz2: <strong>18.86 s</strong>, 46652 Kb</p></blockquote><p>I repeated <strong>pbzip2</strong> and <strong>lbzip2</strong> tests several times, and it was always that <strong>lbzip2</strong> compressed this same file about twice as fast&#8230; Wow! Decompression speed is about the same, compressed file size is marginally larger than with <strong>pbzip2</strong>. Overall, <strong>lbzip2</strong> does look like a new drop-in replacement of <strong>bzip2</strong>/<strong>pbzip2</strong> for me.</p><p><strong>xz -0 &ndash;&ndash;threads=8: 517 967 372 bytes</strong><br
/> I would call this one <em>major test disappointment</em>. Default setting, -6, was way too slow (estimated 28 minutes to compress!!!). Even the fastest -0 setting was still too slow! And here&#8217;s one of the reasons, straight from the <strong>xz</strong> man page:</p><blockquote><p> Multithreaded compression and decompression are not implemented yet, so this option has no effect for now. As of writing (2010-09-27), it hasn&#8217;t been decided if threads will be used by default on multicore systems once support for threading has been implemented.</p></blockquote><p>Also, I forgot to use the <code>--block-size=900k</code> option, but that seems to be of no concern with such results:</p><blockquote><p> 100 %     492.5 MiB / 2,120.8 MiB = 0.232    18 MiB/s       1:59<br
/> <strong>xz</strong> -0 -v test.fastq: <strong>119.25 s</strong>, 4780 Kb<br
/> <strong>xz</strong> &ndash;&ndash;test &ndash;&ndash;verbose &ndash;&ndash;threads=8 test.fastq.xz: <strong>36.00 s</strong>, 2568 Kb<br
/> 100 %     492.5 MiB / 2,120.8 MiB = 0.232    58 MiB/s       0:36<br
/> <strong>xz</strong> -d -v test.fastq.xz: <strong>36.54 s</strong>, 2500 Kb</p></blockquote><p><strong>xz -0</strong> was both slower and had significantly worse compression when compared to <strong>lbzip2</strong> and <strong>pbzip2</strong>. <strong>xz -0</strong> was faster than good old <strong>bzip2</strong>, but had significantly worse compression&#8230; Really, <em>major test disappointment</em>.</p><p><strong>plzip: between 407 696 562 and 498 708 539 bytes</strong><br
/> One more <em>major test disappointment</em>. (Or am I somehow using these compressors in a wrong way?&#8230;) I haven&#8217;t found a way to set block/member size (for <strong>lzip</strong>, that would be the <code>-b</code> option). Default speed setting -6 was also way too slow, but settings -1 to -3 were comparable to <strong>pbzip2</strong>, so I did all three.</p><p><strong>plzip -1: 498 708 539 bytes</strong></p><blockquote><p> test.fastq:  4.459:1,  1.794 bits/byte, 77.57% saved, 2223860346 in, 498708539 out.<br
/> <strong>plzip</strong> -1 &ndash;&ndash;verbose &ndash;&ndash;threads=8 test.fastq: <strong>30.27 s</strong>, 126360 Kb (this seems to be per-thread memory&#8230;)<br
/> <strong>plzip</strong> &ndash;&ndash;test &ndash;&ndash;verbose &ndash;&ndash;threads=8 test.fastq.lz: <strong>6.86 s</strong>, 11640 Kb<br
/> <strong>plzip</strong> -d &ndash;&ndash;verbose &ndash;&ndash;threads=8 test.fastq.lz: <strong>7.24 s</strong>, 11644 Kb</p></blockquote><p>Compression speed and ratio: both worse than <strong>lbzip2</strong>. But the fastest testing and decompression so far.</p><p><strong>plzip -2: 456 301 558 bytes</strong></p><blockquote><p> test.fastq:  4.874:1,  1.641 bits/byte, 79.48% saved, 2223860346 in, 456301558 out.<br
/> <strong>plzip</strong> -2 &ndash;&ndash;verbose &ndash;&ndash;threads=8 test.fastq: <strong>38.81 s</strong>, 193416 Kb<br
/> <strong>plzip</strong> &ndash;&ndash;test &ndash;&ndash;verbose &ndash;&ndash;threads=8 test.fastq.lz: <strong>6.26 s</strong>, 14828 Kb<br
/> <strong>plzip</strong> -d &ndash;&ndash;verbose &ndash;&ndash;threads=8 test.fastq.lz: <strong>6.38 s</strong>, 14736 Kb</p></blockquote><p>Compression time worse than <strong>lbzip2</strong>, a little better than <strong>pbzip2</strong>, but compression ratio worse than any one of these. But even faster testing and decompression.</p><p><strong>plzip -3: 407 696 562 bytes</strong></p><blockquote><p> test.fastq:  5.455:1,  1.467 bits/byte, 81.67% saved, 2223860346 in, 407696562 out.<br
/> <strong>plzip</strong> -3 &ndash;&ndash;verbose &ndash;&ndash;threads=8 test.fastq: <strong>63.74 s</strong>, 245756 Kb<br
/> <strong>plzip</strong> &ndash;&ndash;test &ndash;&ndash;verbose &ndash;&ndash;threads=8 test.fastq.lz: <strong>5.82 s</strong>, 18936 Kb<br
/> <strong>plzip</strong> -d &ndash;&ndash;verbose &ndash;&ndash;threads=8 test.fastq.lz: <strong>6.10 s</strong>, 18944 Kb</p></blockquote><p>Even faster testing and decompression! But compression ratio and speed are still worse than <strong>lbzip2</strong> and <strong>pbzip2</strong>.</p><p>And the final contestant, <strong>lrzip</strong>! All 5 back-ends were tested: LZO, gzip, bzip2, LZMA, ZPAQ.</p><p><strong>lrzip</strong> has several peculiarities, which hinder its use as a drop-in replacement for, say, <strong>bzip2</strong>. Most importantly, when a file is compressed, it is not deleted, unless a <code>-D</code> options is specified. Unlike <strong>pbzip2</strong> and <strong>lbzip2</strong>, which use all available CPUs/cores by default, <strong>lrzip</strong> only uses 2 by default (<code>-p 8</code> in the results below requests use of 8 cores). Another unusual feature is that during testing a file is uncompressed to a storage medium, and then deleted; almost all the other compressors only verify the decompressed data stream, which is then immediately discarded and never written to storage medium. Related feature is a <code>-c</code> option, which performs file verification after decompression by reading the decompressed file from storage medium and comparing it to the decompressed stream. <strong>lrzip</strong> also stores MD5 hashes of data, and allows verifying these. <strong>lrzip</strong> comes with several helper scripts &#8211; for example, one which allows tarballing and lrzipping a chosen directory in a single command. Actually, <strong>lrzip</strong> is more of an archive utility, and not just a compressor.</p><p><strong>lrzip -D -p 8: 334 504 383 bytes</strong><br
/> In this default (LZMA) mode, <strong>lrzip</strong> starts with 1 thread, but eventually uses more and more cores (though never all 8, or I haven&#8217;t noticed this). Decompressing seems to use more threads, but that also depends on the back-end used (the slower it is &#8211; the more threads will be used, e.g. ZPAQ versus LZO).</p><blockquote><p> test.fastq &#8211; Compression Ratio: 6.648. Average Compression Speed:  3.113MB/s.<br
/> Total time: 00:11:21.85<br
/> <strong>lrzip</strong> -D -p 8 test.fastq: <strong>681.84 s</strong>, 3331080 Kb</p><p>Decompressing&#8230;<br
/> 100%    2120.84 /   2120.84 MB<br
/> Average DeCompression Speed: 124.706MB/s<br
/> [OK] &#8211; 2223860346 bytes<br
/> Total time: 00:00:17.13<br
/> <strong>lrzip</strong> -t -p 8 test.fastq.lrz: <strong>17.21 s</strong>, 2567608 Kb</p><p>Decompressing&#8230;<br
/> 100%    2120.84 /   2120.84 MB<br
/> Average DeCompression Speed: 117.778MB/s<br
/> Output filename is: test.fastq: [OK] &#8211; 2223860346 bytes<br
/> Total time: 00:00:17.59<br
/> <strong>lrzip</strong> -d -p 8 -D test.fastq.lrz: <strong>17.67 s</strong>, 2567664 Kb</p></blockquote><p>In the default LZMA mode, lrzip is significantly slower than even bzip2, and has somewhat worse compression ratio. Yes, this is the 3rd <em>major test disappointment</em>.</p><p><strong>gzip back-end: lrzip -g -L 9 -D -p 8: 430 013 769 bytes</strong><br
/> Despite specifying <code>-p 8</code>, <strong>lrzip</strong> mostly operates in 1 thread, and only sometimes in 2 (probably invokes <strong>gzip</strong> library). Testing is also done with 1 thread only, but is very fast (but slower than <strong>plzip</strong>). The <code>-L 9</code> option is supposed to be translated into -9 for gzip; as this normally has nearly no effect, it wasn&#8217;t used in the following <strong>lrzip</strong> tests.</p><blockquote><p> test.fastq &#8211; Compression Ratio: 5.172. Average Compression Speed:  0.704MB/s.<br
/> Total time: 00:50:11.34<br
/> <strong>lrzip</strong> -p 8 -g -L 9 -D test.fastq: <strong>3011.34 s</strong>, 2745520 Kb</p><p>100%    2120.84 /   2120.84 MB<br
/> Average DeCompression Speed: 163.077MB/s<br
/> [OK] &#8211; 2223860346 bytes<br
/> Total time: 00:00:12.71<br
/> <strong>lrzip</strong> -t -p 8 test.fastq.lrz: <strong>12.79 s</strong>, 2577632 Kb</p><p>Decompressing&#8230;<br
/> 100%    2120.84 /   2120.84 MB<br
/> Average DeCompression Speed: 163.077MB/s<br
/> Output filename is: test.fastq: [OK] &#8211; 2223860346 bytes<br
/> Total time: 00:00:12.88<br
/> <strong>lrzip</strong> -d -p 8 -D test.fastq.lrz: <strong>12.95 s</strong>, 2577728 Kb</p></blockquote><p>And again, compression speed <strong>and</strong> ratio are worse than for <strong>bzip2</strong>&#8230;</p><p><strong>LZO back-end: lrzip -l -D -p 8: 766 520 776 bytes</strong></p><blockquote><p> test.fastq &#8211; Compression Ratio: 2.901. Average Compression Speed:  4.690MB/s.<br
/> Total time: 00:07:32.89<br
/> <strong>lrzip</strong> -l -D -p 8 test.fastq: <strong>452.88 s</strong>, 2714452 Kb</p><p>Decompressing&#8230;<br
/> 100%    2120.84 /   2120.84 MB<br
/> Average DeCompression Speed: 212.000MB/s<br
/> [OK] &#8211; 2223860346 bytes<br
/> Total time: 00:00:10.58<br
/> <strong>lrzip</strong> -t -p 8 test.fastq.lrz: <strong>10.66 s</strong>, 2582516 Kb</p><p>Decompressing&#8230;<br
/> 100%    2120.84 /   2120.84 MB<br
/> Average DeCompression Speed: 192.727MB/s<br
/> Output filename is: test.fastq: [OK] &#8211; 2223860346 bytes<br
/> Total time: 00:00:11.32<br
/> <strong>lrzip</strong> -d -p 8 -D test.fastq.lrz: <strong>11.39 s</strong>, 2582504 Kb</p></blockquote><p>No comments.</p><p><strong>bzip2 back-end: lrzip -b -D -p 8: 353 473 476 bytes</strong></p><blockquote><p> test.fastq &#8211; Compression Ratio: 6.291. Average Compression Speed:  4.473MB/s.<br
/> Total time: 00:07:53.95<br
/> <strong>lrzip</strong> -b -D -p 8 test.fastq: <strong>473.94 s</strong>, 2781104 Kb</p><p>Decompressing&#8230;<br
/> 100%    2120.84 /   2120.84 MB<br
/> Average DeCompression Speed: 68.387MB/s<br
/> [OK] &#8211; 2223860346 bytes<br
/> Total time: 00:00:30.69<br
/> <strong>lrzip</strong> -t -p 8 test.fastq.lrz: <strong>30.77 s</strong>, 2583156 Kb</p><p>Decompressing&#8230;<br
/> 100%    2120.84 /   2120.84 MB<br
/> Average DeCompression Speed: 66.250MB/s<br
/> Output filename is: test.fastq: [OK] &#8211; 2223860346 bytes<br
/> Total time: 00:00:31.92<br
/> <strong>lrzip</strong> -d -p 8 -D test.fastq.lrz: <strong>32.00 s</strong>, 2583108 Kb</p></blockquote><p>Hadn&#8217;t I done all of these simple tests myself, by now I&#8217;d think that this test was <em>rigged</em> to show how good <strong>pbzip2</strong> and <strong>lbzip2</strong> are at compressing FASTQ files <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_biggrin.gif" alt=":D" class="wp-smiley" /></p><p><strong>ZPAQ back-end: lrzip -z -D -p 8: 292 380 439 bytes</strong></p><blockquote><p> test.fastq &#8211; Compression Ratio: 7.606. Average Compression Speed:  2.804MB/s.%  7:100%<br
/> Total time: 00:12:36.51<br
/> <strong>lrzip</strong> -z -D -p 8 test.fastq: <strong>756.51 s</strong>, 3585740 Kb</p><p>Decompressing&#8230;<br
/> 100%    2120.84 /   2120.84 MB	1:100%  2:100%  3:100%  4:100%  5:100%  6:100%  7:100%<br
/> Average DeCompression Speed:  3.970MB/s<br
/> [OK] &#8211; 2223860346 bytes<br
/> Total time: 00:08:54.57<br
/> <strong>lrzip</strong> -t -p 8 test.fastq.lrz: <strong>534.65 s</strong>, 2583424 Kb</p><p>Decompressing&#8230;<br
/> 100%    2120.84 /   2120.84 MB	1:100%  2:100%  3:100%  4:100%  5:100%  6:100%  7:100%<br
/> Average DeCompression Speed:  3.759MB/s<br
/> Output filename is: test.fastq: [OK] &#8211; 2223860346 bytes<br
/> Total time: 00:09:24.27<br
/> <strong>lrzip</strong> -d -p 8 -D test.fastq.lrz: <strong>564.36 s</strong>, 2583460 Kb</p></blockquote><p><strong>Finally!!!</strong> We have compression better than <strong>bzip2</strong>! But it is also much slower than <strong>bzip2</strong> (and some 12 times slower than <strong>pbzip2</strong>), so not really an option. Alas. And decompression time is the worst in the test &#8211; almost <strong>10 minutes</strong> for what <strong>plzip</strong> does in under <strong>7 seconds</strong>! (I do realize that compression ratio is also different &#8211; but not <strong>that</strong> much.) I wonder if slow <strong>lrzip</strong> speeds have anything to do with test.fastq being effectively in RAM? I do not know if there are any performance penalties to <strong>mmap</strong>ing a file which is already on a RAM-mounted partition.</p><p>The test.fastq file that I&#8217;ve used was somehow really hard for the tested compressors to tackle as fast and as good as <strong>lbzip2</strong> and <strong>pbzip2</strong> could&#8230;</p><p>Questions? Comments? Improvements, including plots of these figures? Comment below.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F03%2F28%2Fcompressors-galore-pbzip2-lbzip2-plzip-xz-and-lrzip-tested-on-a-fastq-file.html&amp;linkname=Compressors%20galore%3A%20pbzip2%2C%20lbzip2%2C%20plzip%2C%20xz%2C%20and%20lrzip%20tested%20on%20a%20FASTQ%20file" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F03%2F28%2Fcompressors-galore-pbzip2-lbzip2-plzip-xz-and-lrzip-tested-on-a-fastq-file.html&amp;linkname=Compressors%20galore%3A%20pbzip2%2C%20lbzip2%2C%20plzip%2C%20xz%2C%20and%20lrzip%20tested%20on%20a%20FASTQ%20file" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F03%2F28%2Fcompressors-galore-pbzip2-lbzip2-plzip-xz-and-lrzip-tested-on-a-fastq-file.html&amp;linkname=Compressors%20galore%3A%20pbzip2%2C%20lbzip2%2C%20plzip%2C%20xz%2C%20and%20lrzip%20tested%20on%20a%20FASTQ%20file" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F03%2F28%2Fcompressors-galore-pbzip2-lbzip2-plzip-xz-and-lrzip-tested-on-a-fastq-file.html&amp;linkname=Compressors%20galore%3A%20pbzip2%2C%20lbzip2%2C%20plzip%2C%20xz%2C%20and%20lrzip%20tested%20on%20a%20FASTQ%20file" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F03%2F28%2Fcompressors-galore-pbzip2-lbzip2-plzip-xz-and-lrzip-tested-on-a-fastq-file.html&amp;linkname=Compressors%20galore%3A%20pbzip2%2C%20lbzip2%2C%20plzip%2C%20xz%2C%20and%20lrzip%20tested%20on%20a%20FASTQ%20file" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2015%2F03%2F28%2Fcompressors-galore-pbzip2-lbzip2-plzip-xz-and-lrzip-tested-on-a-fastq-file.html&#038;title=Compressors%20galore%3A%20pbzip2%2C%20lbzip2%2C%20plzip%2C%20xz%2C%20and%20lrzip%20tested%20on%20a%20FASTQ%20file" data-a2a-url="https://bogdan.org.ua/2015/03/28/compressors-galore-pbzip2-lbzip2-plzip-xz-and-lrzip-tested-on-a-fastq-file.html" data-a2a-title="Compressors galore: pbzip2, lbzip2, plzip, xz, and lrzip tested on a FASTQ file"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2015/03/28/compressors-galore-pbzip2-lbzip2-plzip-xz-and-lrzip-tested-on-a-fastq-file.html/feed</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Looking for a perfect Android app for TSW/GTD use</title><link>https://bogdan.org.ua/2015/03/13/looking-for-a-perfect-android-app-for-tsw-gtd-use.html</link> <comments>https://bogdan.org.ua/2015/03/13/looking-for-a-perfect-android-app-for-tsw-gtd-use.html#comments</comments> <pubDate>Thu, 12 Mar 2015 22:49:31 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Comparison]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Misc]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Calendar]]></category> <category><![CDATA[GTD]]></category> <category><![CDATA[Keep]]></category> <category><![CDATA[productivity]]></category> <category><![CDATA[project management]]></category> <category><![CDATA[RTM]]></category> <category><![CDATA[task management]]></category> <category><![CDATA[time management]]></category> <category><![CDATA[Trello]]></category> <category><![CDATA[TSW]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2250</guid> <description><![CDATA[I have recently realized that my planning habits are quite similar to what The Secret Weapon promotes. However, my planning is not as elaborate and detailed/structured as TSW, and I am using several tools: Google Keep, an awesome note-taking and to-do lists application with a really good web-interface, and free; Trello, convenient lists/projects/tasks management platform [&#8230;]]]></description> <content:encoded><![CDATA[<p>I have recently realized that my planning habits are quite similar to what <a
href="http://www.thesecretweapon.org/">The Secret Weapon</a> promotes. However, my planning is not as elaborate and detailed/structured as <abbr
title="The Secret Weapon">TSW</abbr>, and I am using several tools:</p><ul><li><a
href="https://play.google.com/store/apps/details?id=com.google.android.keep">Google Keep</a>, an awesome note-taking and to-do lists application with a really good web-interface, and free;</li><li><a
href="https://play.google.com/store/apps/details?id=com.trello">Trello</a>, convenient lists/projects/tasks management platform (especially for group work), and free;</li><li><a
href="https://play.google.com/store/apps/details?id=com.google.android.calendar">Google Calendar</a>, the <em>de facto</em> calendar standard for Android phones, and free;</li><li>my A5 format <a
href="http://www.amazon.de/weekview-compact-2015-clevere-Wochenplaner/dp/B00EDHZR9U">weekly paper planner</a>, and&#8230; the only not free component.</li></ul><p>It is easy to see that I am using too many tools.</p><p>In an effort to use less tools, and also to try some of the features of <abbr
title="The Secret Weapon">TSW</abbr>, I&#8217;ve performed a brief search for <abbr
title="Getting Things Done">GTD</abbr>/<abbr
title="The Secret Weapon">TSW</abbr>-compatible Android apps.</p><p><a
href="http://www.thesecretweapon.org/">TSW website</a> is built around the Evernote app. However, I am not sure if this would be a good solution for me, as I have been already using Evernote since several years for longer-term note-keeping, and thus already have a bunch of notepads, notes, and tags there. Moreover, Evernote&#8217;s website mentions something about &#8220;offline notes&#8221; in the Premium (non-free) tier for mobile apps; this hints at the requirement to have internet connectivity to be able to work with TSW+Evernote efficiently through the day.</p><p>Oh, before I forget: all the 4 tools that I am using have their purpose, with overlap between Keep and Trello.<br
/> My A5 format paper planner (weekview compact 2015) is not a simple weekly planner; it has a structure that stimulates goal-oriented planning.<br
/> More specifically, it provides means to plan:<br
/> <span
id="more-2250"></span></p><ul><li>the entire life, by specifying (succinct) goals in several categories (personal, work, family, social, and some others);</li><li>the next several years (there is enough space for just a few keywords for each year);</li><li>the entire current year (as an overview or a list of goals, without too many details);</li><li>each quarter of the current year (with more details: goals/tasks can have specific days or date ranges assigned, and have 3 priorities);</li><li>each week has 3 priorities for what you would like to accomplish;</li><li>there are also other important, useful, and well-designed elements, all with high attention to details.</li></ul><p>I mostly use the paper planner for quarter-level goals and tasks.</p><p>Trello is my primary project and task management tool, both for work and personal matters (using different boards).<br
/> It also really simplifies my weekly reports: I only have to check the <strong>Done</strong> list of the primary/project work board,<br
/> and show it to my supervisor &#8211; which (showing/sharing) is also easy with Trello.</p><p>I&#8217;m using Calendar for all the events which have specific dates/times, like meetings, deadlines, celebrations, etc.</p><p>Finally, I&#8217;ve started using Keep not that long ago as a to-do list and note-taking application. It is extremely easy and quick to use, which explains this new adoption. I use it mostly as a short-term buffer for quick (shorter than 2 hours) tasks. I have 3 separate lists: home, work, and shopping <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> The only component which is missing if I want to use TSW is tagging of individual checklist items, together with tags search. Other than that, Google Keep is plain perfect.</p><p>The first app I had a look at was <a
href="https://play.google.com/store/apps/details?id=com.dg.gtd.android.lite">DGT GTD (alpha)</a>:</p><ul><li>has &#8220;@-contexts&#8221;;</li><li>has tags;</li><li>has search for arbitrary tag combinations (both <strong>AND</strong> and <strong>OR</strong> logic);</li><li>no web interface, uses toodledo/dropbox/ftp for sync;</li><li>web-interface might be available through toodledo (which has its own limitations, see below);</li><li>overall: alpha, no easy-to-use web-interface, unclear future&#8230; though otherwise seems good.</li></ul><p>Next, I had a look at <a
href="https://play.google.com/store/apps/details?id=com.kiwlm.mytoodle">Toodledo</a>:</p><ul><li>has a free, but (seemingly quite strongly) limited version; in addition, it felt</li><li>somehow not easy to register, thus I have not tried it.</li></ul><p>Next was <a
href="https://play.google.com/store/apps/details?id=net.mylifeorganized.mlo">MyLifeOrganized</a>:</p><ul><li>way too commercial all over &#8211; you seem to need many pieces of (paid) software, (paid) cloud sync, (paid) plans&#8230;</li><li>no web-interface and no Linux support, only Win/Mac/iOS/Android, thus have not tried this one as well.</li></ul><p>I was leaving better contestants (like RTM, <a
href="https://play.google.com/store/apps/details?id=com.rememberthemilk.MobileRTM">Remember The Milk</a>) for later:</p><ul><li>nice, convenient, light, keyboard-friendly web-interface;</li><li>free version syncs with web, but only once every 24 hours;</li><li>has locations (GPS-based) and tags;</li><li>has inbox, personal, work, study, sent pre-defined lists of tasks; you can define your own (and delete 3 of the pre-defined, if you wish);</li><li>can search for multiple tags using brackets, logical operators, and multiple per-task attribute filters (like timeEstimate, dueDate, etc &#8211; many of these!);</li><li>can save searches as smart lists (at least in the Android app);</li><li>tasks cannot be ordered manually, they can only be sorted by priority, due date, or name.</li></ul><p>I can see myself using RTM, which feels like a quality tasks-management environment. Syncing once every 24 hours is the only free version limitation that I am sensitive to, because I tend to use web-versions (Trello, Keep) while at the computer. If you are using for planning your phone only, then RTM might be a very good fit for you.</p><p>Another detail which I find inconvenient is the inability to manually sort tasks. As I know from using Keep, manually sorting smaller tasks into their logical order by dragging is quick and easy. This RTM drawback could be worked around by sorting task list by name, and devoting the first 2 characters of the task text to its number (e.g. &#8217;06 start scaffolding&#8217;). I am still unsure about RTM.</p><p>Given the failure of the new contestants to fit my needs, I also had a quick formal look at the tools I am already using.</p><p><a
href="https://play.google.com/store/apps/details?id=com.evernote">Evernote</a>:</p><ul><li>recommended by TSW website;</li><li>has tags and saved tag searches;</li><li>not sure if it keeps all notes available offline &#8211; it likely needs connection to function; it may keep the most recent notes offline, though &#8211; still have to test this;</li><li>not exactly a to-do list, thus (much more?) cumbersome to use than Google Keep (again, this wasn&#8217;t tested yet &#8211; consider this a prejudice);</li><li>free version has a 60 MB/month data upload limit, which should be more than enough for tasks management.</li></ul><p>I am going to try Evernote with TSW, and see if that works good enough. I&#8217;ll update the post with the results.</p><p><a
href="https://play.google.com/store/apps/details?id=com.google.android.keep">Google Keep</a>:</p><ul><li>very easy and convenient to use checklists;</li><li>keeps all tasks local and always available; works offline, syncs when you have connection;</li><li>has an efficient, quick-to-use web-interface;</li><li>does not have tagging (only colors for notes);</li><li>lightweight in terms of size and resources needed.</li></ul><p>I&#8217;ll keep using keep, even if some other app becomes my primary for tasks management. It is simply too good not to use.</p><p><a
href="https://play.google.com/store/apps/details?id=com.trello">Trello</a>:</p><ul><li>has a fairly convenient web-interface (though more complicated than Keep because of more features);</li><li>allows easy collaboration;</li><li>supports multiple boards, containing task lists, containing tasks, containing checklists and other elements, which all together enable fairly complex project management;</li><li>phone app caches tasks/boards that you access while online, and can later show those while offline, but</li><li>phone app does not allow changes while offline &#8211; you must have connection for the changes to have effect;</li><li>has tags (labels), but these are board-specific, so it is impossible to get a flat list of all tasks from all boards filtered by some labels/criteria.</li></ul><p>Right now I have tons of tasks in Trello, so I am not going to abandon it any time soon (unless I find a perfect alternative solution). I have already seen recipes online to adapt Trello to TSW/GTD use. This will not fix the necessity for internet connection for the app to work, though. It is also quite possible that tags + global flat list of all tasks from all boards might get introduced as new features into Trello, as it is developing dynamically and new features do get added quite often&#8230; Maybe I should leave a feature request for the developers, together with a thank-you for their excellent product.</p><p>That&#8217;s it for now, I&#8217;ll update after some more app testing.</p><p><ins
datetime="2015-03-26T20:15:46+00:00">Update 1</ins>: Trello can be quite convenient as a general GTD-like (but not quite TSW-like) app. I&#8217;ve set up a separate <strong>GTD</strong> board, with lists <strong>inbox</strong>, <strong>now</strong>, <strong>next</strong>, <strong>later</strong>, 8 project/watching/reading lists, 2 goal lists (one for the current year, one with general goals), <strong>some day</strong>, <strong>contemplate</strong> (no clear decision if an item has to be done at all), <strong>waiting</strong>, <strong>done</strong>, and <strong>discarded</strong> (something from any of the other lists which is [no longer] worth doing).</p><p><ins
datetime="2015-03-26T20:15:46+00:00">Update 2</ins>: Google Keep now has labels (<abbr
title="also known as">aka</abbr> tags)! (It now also has recurring reminders, which is cool as well.) Tags seemed to be the only thing keeping (no pun intended) Keep from being a perfectly simple and lightweight GTD/TSW app! Or so I thought. Unfortunately, there does not appear to be any way to search by several labels right now. You can search by note colors, and can select a single label to list all notes that have it, but no multiple labels&#8230; One last step missing to perfection?</p><p>Leave comments if some of my statements seem wrong, or if you know a solution which would be capable of satisfying my needs <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /></p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F03%2F13%2Flooking-for-a-perfect-android-app-for-tsw-gtd-use.html&amp;linkname=Looking%20for%20a%20perfect%20Android%20app%20for%20TSW%2FGTD%20use" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F03%2F13%2Flooking-for-a-perfect-android-app-for-tsw-gtd-use.html&amp;linkname=Looking%20for%20a%20perfect%20Android%20app%20for%20TSW%2FGTD%20use" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F03%2F13%2Flooking-for-a-perfect-android-app-for-tsw-gtd-use.html&amp;linkname=Looking%20for%20a%20perfect%20Android%20app%20for%20TSW%2FGTD%20use" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F03%2F13%2Flooking-for-a-perfect-android-app-for-tsw-gtd-use.html&amp;linkname=Looking%20for%20a%20perfect%20Android%20app%20for%20TSW%2FGTD%20use" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2015%2F03%2F13%2Flooking-for-a-perfect-android-app-for-tsw-gtd-use.html&amp;linkname=Looking%20for%20a%20perfect%20Android%20app%20for%20TSW%2FGTD%20use" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2015%2F03%2F13%2Flooking-for-a-perfect-android-app-for-tsw-gtd-use.html&#038;title=Looking%20for%20a%20perfect%20Android%20app%20for%20TSW%2FGTD%20use" data-a2a-url="https://bogdan.org.ua/2015/03/13/looking-for-a-perfect-android-app-for-tsw-gtd-use.html" data-a2a-title="Looking for a perfect Android app for TSW/GTD use"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2015/03/13/looking-for-a-perfect-android-app-for-tsw-gtd-use.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Mini-review: offline navigators for Android</title><link>https://bogdan.org.ua/2014/10/18/mini-review-offline-navigators-for-android.html</link> <comments>https://bogdan.org.ua/2014/10/18/mini-review-offline-navigators-for-android.html#comments</comments> <pubDate>Sat, 18 Oct 2014 15:54:38 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Comparison]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[navigation]]></category> <category><![CDATA[offline]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2179</guid> <description><![CDATA[Sygic, Waze, Osmand, Navfree, Navigator, or (Nokia&#8217;s) Here Navigation beta: which is a better offline navigation solution for your Android? Sygic no way to store maps on the card navigation isn&#8217;t free (there is a 7-day trial) Waze not offline, needs internet has nice social features Osmand Allows maps on SD Free navigation Allows only [&#8230;]]]></description> <content:encoded><![CDATA[<p>Sygic, Waze, Osmand, Navfree, Navigator, or (Nokia&#8217;s) Here Navigation beta: which is a better offline navigation solution for your Android?</p><p><span
id="more-2179"></span><br
/> <strong>Sygic</strong></p><ul><li>no way to store maps on the card</li><li>navigation isn&#8217;t free (there is a 7-day trial)</li></ul><p><strong>Waze</strong></p><ul><li>not offline, needs internet</li><li>has nice <em>social</em> features</li></ul><p><strong>Osmand</strong></p><ul><li>Allows maps on SD</li><li>Free navigation</li><li>Allows only 10 maps; for Germany, this means only 10 federal lands</li></ul><p><strong>Navfree</strong></p><ul><li>Allows 1 country map for free</li><li>Not sure about SD support</li><li>Works good</li></ul><p><strong>Navigator</strong></p><ul><li>Unlimited maps on SD with payment</li></ul><p><strong>Here Navigation beta</strong></p><ul><li>stores maps on the SD card; voices are stored in the phone&#8217;s memory</li><li>navigation is free, both online and offline</li><li>you can download the entire Earth navigation maps for offline use (over 20 GB as of 2014-11-26)</li><li>navigation test: works, but in my case GPS signal was slow to acquire and lost for some seconds quite often; could be the device, though.</li></ul><p>Will update as soon as I am forced to really use any of these (usually I have my Garmin with me).</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2014%2F10%2F18%2Fmini-review-offline-navigators-for-android.html&amp;linkname=Mini-review%3A%20offline%20navigators%20for%20Android" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2014%2F10%2F18%2Fmini-review-offline-navigators-for-android.html&amp;linkname=Mini-review%3A%20offline%20navigators%20for%20Android" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2014%2F10%2F18%2Fmini-review-offline-navigators-for-android.html&amp;linkname=Mini-review%3A%20offline%20navigators%20for%20Android" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2014%2F10%2F18%2Fmini-review-offline-navigators-for-android.html&amp;linkname=Mini-review%3A%20offline%20navigators%20for%20Android" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2014%2F10%2F18%2Fmini-review-offline-navigators-for-android.html&amp;linkname=Mini-review%3A%20offline%20navigators%20for%20Android" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2014%2F10%2F18%2Fmini-review-offline-navigators-for-android.html&#038;title=Mini-review%3A%20offline%20navigators%20for%20Android" data-a2a-url="https://bogdan.org.ua/2014/10/18/mini-review-offline-navigators-for-android.html" data-a2a-title="Mini-review: offline navigators for Android"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2014/10/18/mini-review-offline-navigators-for-android.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>