<?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</title> <atom:link href="https://bogdan.org.ua/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>Kite AI coding assistant is saying farewell</title><link>https://bogdan.org.ua/2022/12/28/kite-ai-coding-assistant-is-saying-farewell.html</link> <comments>https://bogdan.org.ua/2022/12/28/kite-ai-coding-assistant-is-saying-farewell.html#comments</comments> <pubDate>Wed, 28 Dec 2022 16:08:46 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Machine learning]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Technologies]]></category> <category><![CDATA[copilot]]></category> <category><![CDATA[kite]]></category> <category><![CDATA[mutable]]></category> <category><![CDATA[tabnine]]></category> <guid
isPermaLink="false">https://bogdan.org.ua/?p=2578</guid> <description><![CDATA[I&#8217;m looking at AI/ML-powered coding assistants (such as mutable.ai, github&#8217;s CoPilot, tabnine, and even Alibaba AI assistant &#8211; but there everything was in Chinese so I didn&#8217;t proceed at all with it), and found &#8211; with sadness &#8211; that Kite, one of the longer-existing solutions (since 2014!) has gone out of business&#8230; Here is Kite&#8217;s [&#8230;]]]></description> <content:encoded><![CDATA[<p>I&#8217;m looking at AI/ML-powered coding assistants (such as <a
href="https://mutable.ai/pricing/" title="mutable.ai pricing" class="broken_link" rel="nofollow">mutable.ai</a>, <a
href="https://github.com/pricing" title="GitHub CoPilot pricing">github&#8217;s CoPilot</a>, <a
href="https://www.tabnine.com/pricing" title="tabnine pricing">tabnine</a>, and even Alibaba AI assistant &#8211; but there everything was in Chinese so I didn&#8217;t proceed at all with it), and found &#8211; with sadness &#8211; that Kite, one of the longer-existing solutions (since 2014!) has gone out of business&#8230;</p><p>Here is <a
href="https://www.kite.com/blog/product/kite-is-saying-farewell/" title="Kite farewell">Kite&#8217;s farewell</a> for you to read.</p><p>Kite did open-source many parts of <a
href="https://github.com/kiteco" title="Kite GitHub">their technology/software stack</a>, though I didn&#8217;t check how comprehensive those parts are, and if that is anywhere near enough to fork/continue their work.<br
/> I wonder if there already exists an open-source project focusing on ML-based code completion for e.g. Python &#8211; let me know in the comments if you know one!</p><p><span
id="more-2578"></span></p><p>Kite cites two reasons for a shutdown: <strong>1) technology not being quite there yet</strong>, and <strong>2) failure to monetize</strong>.<br
/> Kite had up to 500k daily developers using the platform, but apparently extremely few were willing to pay for it.<br
/> If you do look at current ML code assistants, there seems to always exist at least some free tier &#8211; I wonder if that is <em>forced</em> by the same lackluster, non-paying developers attitude as for Kite.</p><p>Kite&#8217;s farewell had another interesting number: <strong>18%</strong>.<br
/> That is by how much individual developer&#8217;s productivity could increase thanks to Kite&#8217;s assistance.<br
/> This isn&#8217;t bad at all; for a team of 5 largely independent developers, it&#8217;s almost one extra &#8220;affordable&#8221; developer.<br
/> Kite was striving to achieve a &#8220;10x improvement&#8221;, but at least to me the <strong>18% improvement</strong> sounds good enough for sales.</p><p>I&#8217;m very curious to try some of these assistants out.<br
/> I can imagine them to be very helpful for relatively experienced developers when starting to work with a new library/ecosystem &#8211; for example, OpenVision Python bindings.<br
/> Even the common autocomplete can significantly simplify &#8220;onboarding&#8221; to a new library &#8211; and a more intelligent autocomplete should be able to help with boilerplate code (that you usually don&#8217;t have when you begin), as well as with some <em>idiomatic</em> expressions and statements.</p><p>Have you already played with some of the <em>smarter</em> code assistants?<br
/> What was your experience?<br
/> Please share <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%2F2022%2F12%2F28%2Fkite-ai-coding-assistant-is-saying-farewell.html&amp;linkname=Kite%20AI%20coding%20assistant%20is%20saying%20farewell" 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%2F2022%2F12%2F28%2Fkite-ai-coding-assistant-is-saying-farewell.html&amp;linkname=Kite%20AI%20coding%20assistant%20is%20saying%20farewell" 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%2F2022%2F12%2F28%2Fkite-ai-coding-assistant-is-saying-farewell.html&amp;linkname=Kite%20AI%20coding%20assistant%20is%20saying%20farewell" 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%2F2022%2F12%2F28%2Fkite-ai-coding-assistant-is-saying-farewell.html&amp;linkname=Kite%20AI%20coding%20assistant%20is%20saying%20farewell" 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%2F2022%2F12%2F28%2Fkite-ai-coding-assistant-is-saying-farewell.html&amp;linkname=Kite%20AI%20coding%20assistant%20is%20saying%20farewell" 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%2F2022%2F12%2F28%2Fkite-ai-coding-assistant-is-saying-farewell.html&#038;title=Kite%20AI%20coding%20assistant%20is%20saying%20farewell" data-a2a-url="https://bogdan.org.ua/2022/12/28/kite-ai-coding-assistant-is-saying-farewell.html" data-a2a-title="Kite AI coding assistant is saying farewell"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2022/12/28/kite-ai-coding-assistant-is-saying-farewell.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Back online!</title><link>https://bogdan.org.ua/2022/10/02/back-online.html</link> <comments>https://bogdan.org.ua/2022/10/02/back-online.html#comments</comments> <pubDate>Sun, 02 Oct 2022 20:54:12 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Misc]]></category> <category><![CDATA[Web]]></category> <guid
isPermaLink="false">https://bogdan.org.ua/?p=2569</guid> <description><![CDATA[After an extremely long time offline, this blog is alive/online again! There&#8217;s still a ton of maintenance work needed, but at least it&#8217;s accessible again . The blog went offline in early April 2021 &#8211; because the trusty physical server at home, built sometime before 2008 from off-the-shelf components, finally malfunctioned badly enough to not [&#8230;]]]></description> <content:encoded><![CDATA[<p>After an extremely long time offline, this blog is alive/online again!</p><p>There&#8217;s still a ton of maintenance work needed, but at least it&#8217;s accessible again <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> .</p><p>The blog went offline in early April 2021 &#8211; because the trusty physical server at home, built sometime before 2008 from off-the-shelf components, <em>finally</em> malfunctioned badly enough to not be fixable remotely over ssh.<br
/> (Or maybe it was still fixable, but at 13+ years old I thought it&#8217;s better not to fix anymore.)</p><p>It had previously survived (and recovered from) several hardware failures:<br
/> <span
id="more-2569"></span></p><ul><li>(there might have been earlier failures that I no longer remember)</li><li>PSU: after showing higher-than-normal deviations from standard voltages (+.3V, 5V, and 12V), the PSU died with a puff of smoke. It was replaced with a comparably cheap ATX PSU, that served fine for many more years.</li><li>CPU fan failure: as the CPU heatsink was rather small, even with powersave CPU mode it was still getting too hot &#8211; so I had to shut it down and wait until I was able to replace the fan.</li><li>OS disk: the server started with an old 320GB Seagate. When SMART data started deteriorating (unreadable/remapped sectors), I have swapped it out for a small and cheap 60GB Kingston SSD.</li><li>Second CPU core: that server used a rather old dual-core AMD Athlon X2. I think it was old back when it was installed <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_biggrin.gif" alt=":D" class="wp-smiley" /> . At some point second core (#1) was showing 100% usage, and the server would restart within some minutes after booting. I am still surprised and impressed this was fixable remotely! Maybe the issue wasn&#8217;t too bad if the server could still boot and last for a few minutes. The fix was to disable the problematic core permanently from within Linux.</li></ul><p>That chapter is over now.<br
/> Will the new chapter bring more regular posting?<br
/> Other, non-text content?&#8230;</p><p>We&#8217;ll see <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%2F2022%2F10%2F02%2Fback-online.html&amp;linkname=Back%20online%21" 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%2F2022%2F10%2F02%2Fback-online.html&amp;linkname=Back%20online%21" 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%2F2022%2F10%2F02%2Fback-online.html&amp;linkname=Back%20online%21" 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%2F2022%2F10%2F02%2Fback-online.html&amp;linkname=Back%20online%21" 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%2F2022%2F10%2F02%2Fback-online.html&amp;linkname=Back%20online%21" 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%2F2022%2F10%2F02%2Fback-online.html&#038;title=Back%20online%21" data-a2a-url="https://bogdan.org.ua/2022/10/02/back-online.html" data-a2a-title="Back online!"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2022/10/02/back-online.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Sans Forgetica</title><link>https://bogdan.org.ua/2018/10/13/sans-forgetica.html</link> <comments>https://bogdan.org.ua/2018/10/13/sans-forgetica.html#comments</comments> <pubDate>Sat, 13 Oct 2018 20:10:12 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Links]]></category> <category><![CDATA[Misc]]></category> <category><![CDATA[font]]></category> <category><![CDATA[sans forgetica]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2540</guid> <description><![CDATA[This is unusual enough to blog about it. There is a special font, called Sans Forgetica, designed to better retain the text that you read&#8230; Wow. I can see how this may become abused &#8211; for example, for advertising Anyway, you can download the font, and even a Chrome extension to show any text chunk [&#8230;]]]></description> <content:encoded><![CDATA[<p>This is unusual enough to blog about it.</p><p>There is a special font, called <em>Sans Forgetica</em>, designed to better retain the text that you read&#8230; Wow.</p><p>I can see how this may become abused &#8211; for example, for advertising <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_biggrin.gif" alt=":D" class="wp-smiley" /></p><p>Anyway, you can download the font, and even a Chrome extension to show any text chunk in this <em>Unforgettable</em> font from the font&#8217;s website: <a
href="http://sansforgetica.rmit/" class="broken_link" rel="nofollow">http://sansforgetica.rmit/</a>.</p><p>Here&#8217;s my blog URL for you to remember, hehe <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> <a
href="http://bogdan.org.ua/"><img
src="http://bogdan.org.ua/wp-content/uploads/2018/10/sans_forgetica_bogdan_org_ua.jpg" alt="unforgettable bogdan.org.ua" width="259" height="42" title="unforgettable bogdan.org.ua" class="size-full wp-image-2541" style="vertical-align: middle;" /></a></p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2018%2F10%2F13%2Fsans-forgetica.html&amp;linkname=Sans%20Forgetica" 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%2F2018%2F10%2F13%2Fsans-forgetica.html&amp;linkname=Sans%20Forgetica" 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%2F2018%2F10%2F13%2Fsans-forgetica.html&amp;linkname=Sans%20Forgetica" 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%2F2018%2F10%2F13%2Fsans-forgetica.html&amp;linkname=Sans%20Forgetica" 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%2F2018%2F10%2F13%2Fsans-forgetica.html&amp;linkname=Sans%20Forgetica" 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%2F2018%2F10%2F13%2Fsans-forgetica.html&#038;title=Sans%20Forgetica" data-a2a-url="https://bogdan.org.ua/2018/10/13/sans-forgetica.html" data-a2a-title="Sans Forgetica"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2018/10/13/sans-forgetica.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Slow memory allocation due to Transparent Huge Pages (THP)</title><link>https://bogdan.org.ua/2018/08/06/slow-memory-allocation-due-to-transparent-huge-pages-thp.html</link> <comments>https://bogdan.org.ua/2018/08/06/slow-memory-allocation-due-to-transparent-huge-pages-thp.html#comments</comments> <pubDate>Mon, 06 Aug 2018 19:49:00 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[fragmentation]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[RAM]]></category> <category><![CDATA[THP]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2535</guid> <description><![CDATA[Your software needs tons of RAM, and runs a bit too slow on your super-duper HPC cluster? Read this: Slow memory allocation due to Transparent Huge Pages (THP)]]></description> <content:encoded><![CDATA[<p>Your software needs tons of RAM, and runs a bit too slow on your super-duper HPC cluster? Read this: <a
href="http://itscalledbioinformatics.blogspot.com/2018/07/slow-memory-allocation-due-to.html">Slow memory allocation due to Transparent Huge Pages (THP)</a></p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2018%2F08%2F06%2Fslow-memory-allocation-due-to-transparent-huge-pages-thp.html&amp;linkname=Slow%20memory%20allocation%20due%20to%20Transparent%20Huge%20Pages%20%28THP%29" 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%2F2018%2F08%2F06%2Fslow-memory-allocation-due-to-transparent-huge-pages-thp.html&amp;linkname=Slow%20memory%20allocation%20due%20to%20Transparent%20Huge%20Pages%20%28THP%29" 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%2F2018%2F08%2F06%2Fslow-memory-allocation-due-to-transparent-huge-pages-thp.html&amp;linkname=Slow%20memory%20allocation%20due%20to%20Transparent%20Huge%20Pages%20%28THP%29" 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%2F2018%2F08%2F06%2Fslow-memory-allocation-due-to-transparent-huge-pages-thp.html&amp;linkname=Slow%20memory%20allocation%20due%20to%20Transparent%20Huge%20Pages%20%28THP%29" 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%2F2018%2F08%2F06%2Fslow-memory-allocation-due-to-transparent-huge-pages-thp.html&amp;linkname=Slow%20memory%20allocation%20due%20to%20Transparent%20Huge%20Pages%20%28THP%29" 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%2F2018%2F08%2F06%2Fslow-memory-allocation-due-to-transparent-huge-pages-thp.html&#038;title=Slow%20memory%20allocation%20due%20to%20Transparent%20Huge%20Pages%20%28THP%29" data-a2a-url="https://bogdan.org.ua/2018/08/06/slow-memory-allocation-due-to-transparent-huge-pages-thp.html" data-a2a-title="Slow memory allocation due to Transparent Huge Pages (THP)"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2018/08/06/slow-memory-allocation-due-to-transparent-huge-pages-thp.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>World Cup&#8217;s mysterious path to Russia: the Daily podcast episode</title><link>https://bogdan.org.ua/2018/07/08/world-cup-mysterious-path-to-russia-podcast-episode.html</link> <comments>https://bogdan.org.ua/2018/07/08/world-cup-mysterious-path-to-russia-podcast-episode.html#comments</comments> <pubDate>Sun, 08 Jul 2018 18:32:39 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Links]]></category> <category><![CDATA[FIFA]]></category> <category><![CDATA[world cup]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2532</guid> <description><![CDATA[&#8230;is worth a listen: https://castbox.fm/episode/The-World-Cupâ€™s-Mysterious-Path-to-Russia-id463650-id81720904 The 2018 World Cup is now underway in Russia. The story of how it ended up there involves some names you might recognize: James Comey, Robert Mueller and Christopher Steele. Guest: Ken Bensinger, author of â€œRed Card: How the U.S. Blew the Whistle on the Worldâ€™s Biggest Sports Scandal,â€ who [&#8230;]]]></description> <content:encoded><![CDATA[<p>&#8230;is worth a listen: <a
href="https://castbox.fm/episode/The-World-Cupâ€™s-Mysterious-Path-to-Russia-id463650-id81720904" title="podcast episode on CastBox">https://castbox.fm/episode/The-World-Cupâ€™s-Mysterious-Path-to-Russia-id463650-id81720904</a></p><blockquote><p>The 2018 World Cup is now underway in Russia. The story of how it ended up there involves some names you might recognize: James Comey, Robert Mueller and Christopher Steele. Guest: Ken Bensinger, author of â€œRed Card: How the U.S. Blew the Whistle on the Worldâ€™s Biggest Sports Scandal,â€ who has written about this story for The New York Times.</p></blockquote><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2018%2F07%2F08%2Fworld-cup-mysterious-path-to-russia-podcast-episode.html&amp;linkname=World%20Cup%E2%80%99s%20mysterious%20path%20to%20Russia%3A%20the%20Daily%20podcast%20episode" 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%2F2018%2F07%2F08%2Fworld-cup-mysterious-path-to-russia-podcast-episode.html&amp;linkname=World%20Cup%E2%80%99s%20mysterious%20path%20to%20Russia%3A%20the%20Daily%20podcast%20episode" 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%2F2018%2F07%2F08%2Fworld-cup-mysterious-path-to-russia-podcast-episode.html&amp;linkname=World%20Cup%E2%80%99s%20mysterious%20path%20to%20Russia%3A%20the%20Daily%20podcast%20episode" 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%2F2018%2F07%2F08%2Fworld-cup-mysterious-path-to-russia-podcast-episode.html&amp;linkname=World%20Cup%E2%80%99s%20mysterious%20path%20to%20Russia%3A%20the%20Daily%20podcast%20episode" 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%2F2018%2F07%2F08%2Fworld-cup-mysterious-path-to-russia-podcast-episode.html&amp;linkname=World%20Cup%E2%80%99s%20mysterious%20path%20to%20Russia%3A%20the%20Daily%20podcast%20episode" 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%2F2018%2F07%2F08%2Fworld-cup-mysterious-path-to-russia-podcast-episode.html&#038;title=World%20Cup%E2%80%99s%20mysterious%20path%20to%20Russia%3A%20the%20Daily%20podcast%20episode" data-a2a-url="https://bogdan.org.ua/2018/07/08/world-cup-mysterious-path-to-russia-podcast-episode.html" data-a2a-title="World Cup’s mysterious path to Russia: the Daily podcast episode"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2018/07/08/world-cup-mysterious-path-to-russia-podcast-episode.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to merge Windows 10 &#8220;system reserved&#8221; and Recovery partitions</title><link>https://bogdan.org.ua/2017/09/03/how-to-merge-windows-10-system-reserved-and-recovery-partitions.html</link> <comments>https://bogdan.org.ua/2017/09/03/how-to-merge-windows-10-system-reserved-and-recovery-partitions.html#comments</comments> <pubDate>Sun, 03 Sep 2017 10:06:07 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[how-to]]></category> <category><![CDATA[merge]]></category> <category><![CDATA[recovery]]></category> <category><![CDATA[system reserved]]></category> <category><![CDATA[windows]]></category> <category><![CDATA[Windows 10]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2499</guid> <description><![CDATA[My initial reason for merging these two partitions was the need to have two more partitions on the disk &#8211; and with 3 primary partitions already in place (system reserved, windows 10 itself, and recovery) on the MBR disk that was only possible by adding an extended partition and then adding both new partitions to [&#8230;]]]></description> <content:encoded><![CDATA[<p>My initial reason for merging these two partitions was the need to have two more partitions on the disk &#8211; and with 3 primary partitions already in place (system reserved, windows 10 itself, and recovery) on the MBR disk that was only possible by adding an extended partition and then adding both new partitions to it &#8211; which is not what I wanted.</p><p>An additional reason appeared when I started researching the topic.<br
/> Apparently, Windows 10 no longer even creates the recovery partition during installation!<br
/> The entire <abbr
title="Windows Recovery Environment">WinRE</abbr> is now stored on that same <strong>system reserved</strong> partition, which contains your window&#8217;s <abbr
title="Boot Configuration Data">BCD</abbr>!<br
/> The recovery partitions should only be present on Windows 10 installations which were either upgrades from a previous Windows version, or (as in my case) were installed within about 6 months after Windows 10 became available.</p><p>These instructions are also useful if you wish to increase the size of your system reserved partition &#8211; for example, if Windows 10 updates are failing because of that partition&#8217;s lack of free space.</p><blockquote><p> <strong>WARNING</strong>: changing partition tables on your hard/solid-state disk may easily result in complete data loss!<br
/> Instructions below are provided as-is, to be used at your own risk. See full disclaimer on the About page.</p></blockquote><blockquote><p><strong>WARNING</strong>: although it is also possible to merge the system reserved partition and windows 10 partition (so that the entire Windows 10 uses only 1 primary partition), I do not (and will not) offer instructions to do so. In fact, I recommend that you <strong>don&#8217;t</strong> merge the system reserved and windows 10 partitions.</p></blockquote><p>Merging <strong>system reserved</strong> and <strong>recovery</strong> partitions, step by step.<br
/> <span
id="more-2499"></span></p><ol><li>First, we need a convenient partition manager; I have used a free <em>MiniTool Partition Wizard</em>, but other great free partition managers (like <em>AOMEI Partition Assistant</em> and I guess a few others) should be sufficient for us. Download and install one of those. It is impossible to use Window&#8217;s own Disk Manager for the steps below.</li><li>My starting state is this: <strong><pre>[ 189MB free space ] [ system reserved, 100MB ] [ windows 10, 100GB ] [ recovery, 450MB ] [ free space ]</pre><p></strong></li><li>Your starting state may look a bit simpler, like this: <strong><pre>[ system reserved, 100MB ] [ windows 10, 100GB ] [ recovery, 450MB ]</pre><p></strong> Presence or absence of free space at the beginning or end of the disk should not make any difference (unless your windows partition has very little free space).</li><li>Our goal state is: <strong><pre>[ system reserved, 900 MB ] [ windows, 100 GB ] [ free space ]</pre><p></strong></li><li><strong>Create a full disk backup!</strong> Yes, I really did that. I can highly recommend booting into Clonezilla (or your Linux, if you dual-boot), and performing a full disk-to-image backup. If anything at all goes wrong &#8211; you should be able to completely restore your system to the previous functional state.</li><li><strong>Verify that your full-disk backup can be restored</strong> (is readable/decompressible/whatever). Clonezilla has an option (enabled by default) to perform this check after disk imaging is complete &#8211; this was sufficient for me.</li><li><strong>Verify that you have a functional WinRE</strong>: start Administrator CMD (or PowerShell), and run <strong>reagentc /info</strong> &#8211; it should tell you that WinRE is enabled, and also tell you that it&#8217;s using partition 3. I&#8217;d also strongly suggest that you <strong>create a separate bootable USB with WinRE</strong> &#8211; Windows 10 has its own tool to do so.</li><li>(optional) If you, like me, had some free space at the beginning of the disk, before the system reserved partition &#8211; then it makes sense to first extend the system reserved partition there. Use your partition manager to do so &#8211; either as a one-click <strong>Extend partition</strong> operation (and then select the free space upstream, all of it), or as a <strong>Resize partition</strong> to move the left edge of system reserved to disk&#8217;s beginning. <strong>Reboot</strong>. This worked flawlessly for me. If your Windows 10 does not boot anymore &#8211; try fixing boot using your bootable WinRE, or the WinRE on your disk. If that fails &#8211; restore your disk backup, and look for a different solution&#8230;</li><li>When merging system reserved and recovery partitions, one has to keep in mind the <em>free space</em> requirements of these two partitions (for <a
href="https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions">UEFI</a>, for <a
href="https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-biosmbr-based-hard-drive-partitions">MBR</a>). They are a bit weird, so I picked <strong>900 MB as the target size</strong> for <em>system reserved</em>; with this size, at least 320 MB have to be free on that partition after we are done. After merging the free space (189 MB) and the sysres partition (100 MB) I already had 289 MB, and needed to add (900-289=) 611 MB. Start your partition manager again, <strong>Extend</strong> system reserved partition using your Windows 10 partition, and reboot again. If there is no option to extend: first shrink the windows partition from the left edge by the calculated number of MB (611 in my case), then extended sysres partition into the freed space &#8211; and reboot. After this step, the disk should look like this: <strong><pre>[ system reserved, 900 MB ] [ windows 10, ~100GB ] [ recovery, 450 MB ] [ free space]</pre><p></strong></li><li>Now we are going to <strong>move the WinRE from a dedicated partition to a sysres partition</strong>, in a few easy commands. Start Administrator CMD or PowerShell, check that your WinRE is still active: <strong>reagentc /info</strong>. Now disable it: <strong>reagentc /disable</strong>. Verify with another <strong>reagentc /info</strong>. <strong>If disabling failed</strong>, and you wish to have the WinRE functionality &#8211; <strong>do not proceed</strong>! I have no idea if proceeding after failure here would result in a functional WinRE. <strong>Do not reboot, keep the CMD/PowerShell open</strong>!</li><li>Delete the recovery partition, apply changes, do not reboot! (although it should actually be safe to&#8230;)</li><li>(possibly optional) Create an unformatted placeholder partition where your recovery partition used to be, to prevent Windows from creating it again when you re-enable WinRE. In my case, disk layout after this step is: <strong><pre>[ system reserved, 900 MB ] [ windows 10, about 100 GB ] [ Unformatted primary partition ]</pre><p></strong> Do not reboot.</li><li>Back to your elevated privileges CMD/PowerShell window: simply run <strong>reagentc /enable</strong>, and confirm with <strong>reagentc /info</strong>. As there is no other place to put WinRE now, <strong>reagentc</strong> should save it to the (now big enough) system reserved partition.</li><li>Delete the placeholder partition. Your final state should be similar to: <strong><pre>[ system reserved, 900 MB ] [ Windows 10, ~100 GB ] [ free space ]</pre><p></strong></li></ol><p>Congratulations, you have just successfully merged the <em>system reserved</em> and <em>recovery</em> partitions of <em>Windows 10</em>!</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2017%2F09%2F03%2Fhow-to-merge-windows-10-system-reserved-and-recovery-partitions.html&amp;linkname=How%20to%20merge%20Windows%2010%20%E2%80%9Csystem%20reserved%E2%80%9D%20and%20Recovery%20partitions" 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%2F09%2F03%2Fhow-to-merge-windows-10-system-reserved-and-recovery-partitions.html&amp;linkname=How%20to%20merge%20Windows%2010%20%E2%80%9Csystem%20reserved%E2%80%9D%20and%20Recovery%20partitions" 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%2F09%2F03%2Fhow-to-merge-windows-10-system-reserved-and-recovery-partitions.html&amp;linkname=How%20to%20merge%20Windows%2010%20%E2%80%9Csystem%20reserved%E2%80%9D%20and%20Recovery%20partitions" 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%2F09%2F03%2Fhow-to-merge-windows-10-system-reserved-and-recovery-partitions.html&amp;linkname=How%20to%20merge%20Windows%2010%20%E2%80%9Csystem%20reserved%E2%80%9D%20and%20Recovery%20partitions" 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%2F09%2F03%2Fhow-to-merge-windows-10-system-reserved-and-recovery-partitions.html&amp;linkname=How%20to%20merge%20Windows%2010%20%E2%80%9Csystem%20reserved%E2%80%9D%20and%20Recovery%20partitions" 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%2F09%2F03%2Fhow-to-merge-windows-10-system-reserved-and-recovery-partitions.html&#038;title=How%20to%20merge%20Windows%2010%20%E2%80%9Csystem%20reserved%E2%80%9D%20and%20Recovery%20partitions" data-a2a-url="https://bogdan.org.ua/2017/09/03/how-to-merge-windows-10-system-reserved-and-recovery-partitions.html" data-a2a-title="How to merge Windows 10 “system reserved” and Recovery partitions"><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/09/03/how-to-merge-windows-10-system-reserved-and-recovery-partitions.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <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>Midnight Commander: panelize or select all files newer than specified date</title><link>https://bogdan.org.ua/2017/02/03/midnight-commander-panelize-or-select-all-files-newer-than-specified-date.html</link> <comments>https://bogdan.org.ua/2017/02/03/midnight-commander-panelize-or-select-all-files-newer-than-specified-date.html#comments</comments> <pubDate>Fri, 03 Feb 2017 14:56:52 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[find]]></category> <category><![CDATA[mc]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2482</guid> <description><![CDATA[If you ever need to select lots (hundreds, thousands) of files by their modification date, and your directory contains many more files (thousands, tens of thousands), then angel_il has the answer for you: touch -d &#8220;Jun 01 00:00 2011&#8243; /tmp/.date1 enter into your BIG dir press C-x ! (External panelize) add new command like a [&#8230;]]]></description> <content:encoded><![CDATA[<p>If you ever need to select lots (hundreds, thousands) of files by their modification date, and your directory contains many more files (thousands, tens of thousands), then angel_il has the <a
href="https://midnight-commander.org/ticket/2718#comment:5">answer</a> for you:</p><blockquote><ol><li>touch -d &#8220;Jun 01 00:00 2011&#8243; /tmp/.date1</li><li>enter into your BIG dir</li><li>press C-x ! (External panelize)</li><li>add new command like a &#8220;find . -type f \( -newer /tmp/.date1 \) -print&#8221;</li></ol></blockquote><p>I&#8217;ve used a slightly different approach, specifying desired date right in the command line of External Panelize:</p><blockquote><ol><li>enter your directory with many files</li><li>press <code>C-x !</code> (External Panelize)</li><li>add a command like <code>find . -type f -newermt "2017-02-01 23:55:00" -print</code> (<code>man find</code> for more details)</li></ol></blockquote><p>In both cases, the created panel will only have files matching your search condition.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2017%2F02%2F03%2Fmidnight-commander-panelize-or-select-all-files-newer-than-specified-date.html&amp;linkname=Midnight%20Commander%3A%20panelize%20or%20select%20all%20files%20newer%20than%20specified%20date" 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%2F02%2F03%2Fmidnight-commander-panelize-or-select-all-files-newer-than-specified-date.html&amp;linkname=Midnight%20Commander%3A%20panelize%20or%20select%20all%20files%20newer%20than%20specified%20date" 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%2F02%2F03%2Fmidnight-commander-panelize-or-select-all-files-newer-than-specified-date.html&amp;linkname=Midnight%20Commander%3A%20panelize%20or%20select%20all%20files%20newer%20than%20specified%20date" 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%2F02%2F03%2Fmidnight-commander-panelize-or-select-all-files-newer-than-specified-date.html&amp;linkname=Midnight%20Commander%3A%20panelize%20or%20select%20all%20files%20newer%20than%20specified%20date" 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%2F02%2F03%2Fmidnight-commander-panelize-or-select-all-files-newer-than-specified-date.html&amp;linkname=Midnight%20Commander%3A%20panelize%20or%20select%20all%20files%20newer%20than%20specified%20date" 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%2F02%2F03%2Fmidnight-commander-panelize-or-select-all-files-newer-than-specified-date.html&#038;title=Midnight%20Commander%3A%20panelize%20or%20select%20all%20files%20newer%20than%20specified%20date" data-a2a-url="https://bogdan.org.ua/2017/02/03/midnight-commander-panelize-or-select-all-files-newer-than-specified-date.html" data-a2a-title="Midnight Commander: panelize or select all files newer than specified date"><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/02/03/midnight-commander-panelize-or-select-all-files-newer-than-specified-date.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to: enable metadata duplication on an existing btrfs filesystem</title><link>https://bogdan.org.ua/2016/12/30/how-to-add-enable-metadata-duplication-existing-btrfs-filesystem.html</link> <comments>https://bogdan.org.ua/2016/12/30/how-to-add-enable-metadata-duplication-existing-btrfs-filesystem.html#comments</comments> <pubDate>Fri, 30 Dec 2016 19:43:51 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[btrfs]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2474</guid> <description><![CDATA[Just one command: sudo btrfs balance start -v -mconvert=dup /toplevel/ where /toplevel/ is your mountpoint of the btrfs root, -v is there for verbosity (not too verbose, don&#8217;t worry), and -mconvert=dup literally says act on metadata only, convert data profile to DUP. This will duplicate both metadata and btrfs system data. Verify with: sudo btrfs [&#8230;]]]></description> <content:encoded><![CDATA[<p>Just one command: <code>sudo btrfs balance start -v -mconvert=dup  /toplevel/</code><br
/> where <code>/toplevel/</code> is your <a
href="http://bogdan.org.ua/2016/02/15/how-to-convert-your-vps-root-filesystem-to-btrfs-using-rescue-boot.html">mountpoint of the btrfs root</a>, <code>-v</code> is there for verbosity (not too verbose, don&#8217;t worry), and <code>-mconvert=dup</code> literally says <em>act on metadata only, convert data profile to DUP</em>.</p><p>This will duplicate both metadata and btrfs system data.<br
/> Verify with: <code>sudo btrfs fi df /toplevel</code>:</p><blockquote><p>Data, single: total=10.00GiB, used=3.88GiB<br
/> System, DUP: total=64.00MiB, used=4.00KiB<br
/> Metadata, DUP: total=512.00MiB, used=286.18MiB<br
/> GlobalReserve, single: total=96.00MiB, used=0.00B</p></blockquote><p>Explanation: on SSDs, mkfs.btrfs creates metadata in <em>single</em> mode (because of widely spread SSD deduplication algorithms negating duplicate entries). However, second copy of metadata increases recovery chances, especially so if your SSD does not deduplicate writes. Hence the desire to add metadata/systemdata duplication after the filesystem is created.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F12%2F30%2Fhow-to-add-enable-metadata-duplication-existing-btrfs-filesystem.html&amp;linkname=How%20to%3A%20enable%20metadata%20duplication%20on%20an%20existing%20btrfs%20filesystem" 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%2F30%2Fhow-to-add-enable-metadata-duplication-existing-btrfs-filesystem.html&amp;linkname=How%20to%3A%20enable%20metadata%20duplication%20on%20an%20existing%20btrfs%20filesystem" 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%2F30%2Fhow-to-add-enable-metadata-duplication-existing-btrfs-filesystem.html&amp;linkname=How%20to%3A%20enable%20metadata%20duplication%20on%20an%20existing%20btrfs%20filesystem" 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%2F30%2Fhow-to-add-enable-metadata-duplication-existing-btrfs-filesystem.html&amp;linkname=How%20to%3A%20enable%20metadata%20duplication%20on%20an%20existing%20btrfs%20filesystem" 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%2F30%2Fhow-to-add-enable-metadata-duplication-existing-btrfs-filesystem.html&amp;linkname=How%20to%3A%20enable%20metadata%20duplication%20on%20an%20existing%20btrfs%20filesystem" 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%2F30%2Fhow-to-add-enable-metadata-duplication-existing-btrfs-filesystem.html&#038;title=How%20to%3A%20enable%20metadata%20duplication%20on%20an%20existing%20btrfs%20filesystem" data-a2a-url="https://bogdan.org.ua/2016/12/30/how-to-add-enable-metadata-duplication-existing-btrfs-filesystem.html" data-a2a-title="How to: enable metadata duplication on an existing btrfs filesystem"><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/30/how-to-add-enable-metadata-duplication-existing-btrfs-filesystem.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Raspberry Pi Colocation service</title><link>https://bogdan.org.ua/2016/12/29/raspberry-pi-colocation-service.html</link> <comments>https://bogdan.org.ua/2016/12/29/raspberry-pi-colocation-service.html#comments</comments> <pubDate>Thu, 29 Dec 2016 21:32:07 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Links]]></category> <category><![CDATA[raspberry pi]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2472</guid> <description><![CDATA[Update: no longer offered, link removed&#8230; Exactly what the title says: Raspberry Pi colocation service, yay! At only 30 EUR/year as of this writing.]]></description> <content:encoded><![CDATA[<p><ins
datetime="2018-01-21T09:46:34+00:00">Update</ins>: no longer offered, link removed&#8230;<br
/></p><p>Exactly what the title says: <a
rel="nofollow">Raspberry Pi colocation service</a>, yay! At only 30 EUR/year as of this writing.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F12%2F29%2Fraspberry-pi-colocation-service.html&amp;linkname=Raspberry%20Pi%20Colocation%20service" 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%2F29%2Fraspberry-pi-colocation-service.html&amp;linkname=Raspberry%20Pi%20Colocation%20service" 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%2F29%2Fraspberry-pi-colocation-service.html&amp;linkname=Raspberry%20Pi%20Colocation%20service" 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%2F29%2Fraspberry-pi-colocation-service.html&amp;linkname=Raspberry%20Pi%20Colocation%20service" 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%2F29%2Fraspberry-pi-colocation-service.html&amp;linkname=Raspberry%20Pi%20Colocation%20service" 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%2F29%2Fraspberry-pi-colocation-service.html&#038;title=Raspberry%20Pi%20Colocation%20service" data-a2a-url="https://bogdan.org.ua/2016/12/29/raspberry-pi-colocation-service.html" data-a2a-title="Raspberry Pi Colocation service"><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/29/raspberry-pi-colocation-service.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>The sugar conspiracy</title><link>https://bogdan.org.ua/2016/06/19/the-sugar-conspiracy.html</link> <comments>https://bogdan.org.ua/2016/06/19/the-sugar-conspiracy.html#comments</comments> <pubDate>Sun, 19 Jun 2016 10:27:14 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Links]]></category> <category><![CDATA[Misc]]></category> <category><![CDATA[Science]]></category> <category><![CDATA[Society]]></category> <category><![CDATA[conspiracy]]></category> <category><![CDATA[sugar]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2446</guid> <description><![CDATA[A long but interesting read: The Sugar Conspiracy.]]></description> <content:encoded><![CDATA[<p>A long but interesting read: <a
href="https://www.theguardian.com/society/2016/apr/07/the-sugar-conspiracy-robert-lustig-john-yudkin">The Sugar Conspiracy</a>.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F06%2F19%2Fthe-sugar-conspiracy.html&amp;linkname=The%20sugar%20conspiracy" 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%2F06%2F19%2Fthe-sugar-conspiracy.html&amp;linkname=The%20sugar%20conspiracy" 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%2F06%2F19%2Fthe-sugar-conspiracy.html&amp;linkname=The%20sugar%20conspiracy" 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%2F06%2F19%2Fthe-sugar-conspiracy.html&amp;linkname=The%20sugar%20conspiracy" 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%2F06%2F19%2Fthe-sugar-conspiracy.html&amp;linkname=The%20sugar%20conspiracy" 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%2F06%2F19%2Fthe-sugar-conspiracy.html&#038;title=The%20sugar%20conspiracy" data-a2a-url="https://bogdan.org.ua/2016/06/19/the-sugar-conspiracy.html" data-a2a-title="The sugar conspiracy"><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/06/19/the-sugar-conspiracy.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to: install Windows 7 on a recent laptop/PC from a bootable USB drive</title><link>https://bogdan.org.ua/2016/06/12/how-to-install-windows-7-on-a-recent-laptop-pc-from-a-bootable-usb-drive.html</link> <comments>https://bogdan.org.ua/2016/06/12/how-to-install-windows-7-on-a-recent-laptop-pc-from-a-bootable-usb-drive.html#comments</comments> <pubDate>Sun, 12 Jun 2016 11:06:42 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[how-to]]></category> <category><![CDATA[bootable]]></category> <category><![CDATA[SSD]]></category> <category><![CDATA[USB3]]></category> <category><![CDATA[windows]]></category> <category><![CDATA[Windows 7]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2440</guid> <description><![CDATA[If you had ever seen the not-so-descriptive error message A required CD/DVD drive device driver is missing, then you have been trying to install Windows 7 (possibly using a bootable flash drive) on a recent laptop or desktop. There are two major obstacles for a somewhat-dated Windows 7 when it sees modern hardware: USB 3.0 [&#8230;]]]></description> <content:encoded><![CDATA[<p>If you had ever seen the not-so-descriptive error message<br
/> <strong>A required CD/DVD drive device driver is missing</strong>,<br
/> then you have been trying to install Windows 7 (possibly using a bootable flash drive) on a recent laptop or desktop.</p><p>There are two major obstacles for a somewhat-dated Windows 7 when it sees modern hardware:</p><ul><li>USB 3.0</li><li>SSDs and newer disk drives in general</li></ul><p>Fortunately, both problems are easy to fix.<br
/> Just follow the steps below; skip steps 1 and 2 if you already have a bootable Win7 flash drive.<br
/> <span
id="more-2440"></span></p><ol><li>Obtain/buy/create the Windows 7 ISO image.<br
/> On Linux, creating an ISO image is as easy as <code>dd if=/dev/sr0 of=/path/to/image.iso</code> &#8211; assuming that <code>/dev/sr0</code> is your DVD reader.</li><li>Create a bootable Windows 7 installation flash drive.<br
/> On Linux, WinUSB can handle this; on Windows, you can use Rufus, or Microsoft&#8217;s own tool for this.</li><li>To add USB 3.0 drivers to the Win7 on your flash drive, download and use this: <a
href="https://downloadcenter.intel.com/download/25476/Windows-7-USB-3-0-Creator-Utility" class="broken_link" rel="nofollow">Windows 7 USB 3.0 Creator Utility</a>:<ol><li>Run the utility as Administrator.</li><li>Depending on the speed of your USB stick, this may take up to 15 minutes.</li><li>Wait for a message along the lines of <em>Creation finished!</em> or <em>Upgrade finished</em>.</li></ol></li><li>The steps above fix the first obstacle: lack of USB 3.0 drivers in the Windows 7 installation image.<br
/> Now we are going to preemptively fix the second obstacle: not recognizing modern HDDs/SSDs.</li><li>Go to your hardware manufacturer&#8217;s website and locate the (model-specific) SATA/storage driver.<br
/> Using Dell&#8217;s hardware as an example:<ol><li>go to <a
href="http://downloads.dell.com/">downloads.dell.com</a></li><li>there, click Laptops (or Desktops), then find and click your hardware model</li><li>you will see a list of drivers for that model; search for &#8220;serial-ata&#8221; or &#8220;storage&#8221;</li><li>download the latest version of the driver that you have found (it would be <em>intel storage technology</em> in Dell&#8217;s example case)</li></ol></li><li>Depending on the manufacturer, drivers may need to be extracted from the (self-extracting) archive. In the case of Dell&#8217;s drivers,<ol><li>launch the downloaded executable file</li><li>it will usually present 2 options: Install and Extract; you should extract</li></ol></li><li>In the downloaded (and, possibly, extracted) drivers folder locate Windows7-specific drivers folder, and simply copy that folder to the USB stick with your Win7 installation.</li><li>Be sure to remember what is the driver&#8217;s folder name &#8211; if Windows fails to see your SSD, you will need to manually browse for these drivers during installation.</li></ol><p>That&#8217;s it!</p><p>Sources used:</p><ul><li>this <a
href="https://www.youtube.com/watch?v=yd37BJwTxiM">video</a> &#8211; or rather <a
href="https://www.youtube.com/watch?v=_PNmHnce5xY&#038;index=2&#038;list=PL1RkaknDn7v-Dn67p5RYuEyfVp28ElpGF">this one</a>;</li><li><a
href="https://downloadmirror.intel.com/25476/eng/Install-Win7-to-USB3.0-Computers-Readme.pdf" class="broken_link" rel="nofollow">Install Win7 to USB3.0 Computers Readme</a> &#8211; also has information on other methods of injecting USB 3.0 drivers into windows USB stick.</li></ul><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F06%2F12%2Fhow-to-install-windows-7-on-a-recent-laptop-pc-from-a-bootable-usb-drive.html&amp;linkname=How%20to%3A%20install%20Windows%207%20on%20a%20recent%20laptop%2FPC%20from%20a%20bootable%20USB%20drive" 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%2F06%2F12%2Fhow-to-install-windows-7-on-a-recent-laptop-pc-from-a-bootable-usb-drive.html&amp;linkname=How%20to%3A%20install%20Windows%207%20on%20a%20recent%20laptop%2FPC%20from%20a%20bootable%20USB%20drive" 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%2F06%2F12%2Fhow-to-install-windows-7-on-a-recent-laptop-pc-from-a-bootable-usb-drive.html&amp;linkname=How%20to%3A%20install%20Windows%207%20on%20a%20recent%20laptop%2FPC%20from%20a%20bootable%20USB%20drive" 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%2F06%2F12%2Fhow-to-install-windows-7-on-a-recent-laptop-pc-from-a-bootable-usb-drive.html&amp;linkname=How%20to%3A%20install%20Windows%207%20on%20a%20recent%20laptop%2FPC%20from%20a%20bootable%20USB%20drive" 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%2F06%2F12%2Fhow-to-install-windows-7-on-a-recent-laptop-pc-from-a-bootable-usb-drive.html&amp;linkname=How%20to%3A%20install%20Windows%207%20on%20a%20recent%20laptop%2FPC%20from%20a%20bootable%20USB%20drive" 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%2F06%2F12%2Fhow-to-install-windows-7-on-a-recent-laptop-pc-from-a-bootable-usb-drive.html&#038;title=How%20to%3A%20install%20Windows%207%20on%20a%20recent%20laptop%2FPC%20from%20a%20bootable%20USB%20drive" data-a2a-url="https://bogdan.org.ua/2016/06/12/how-to-install-windows-7-on-a-recent-laptop-pc-from-a-bootable-usb-drive.html" data-a2a-title="How to: install Windows 7 on a recent laptop/PC from a bootable USB drive"><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/06/12/how-to-install-windows-7-on-a-recent-laptop-pc-from-a-bootable-usb-drive.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>TSW-friendly task and note management software</title><link>https://bogdan.org.ua/2016/06/05/tsw-friendly-task-and-note-management-software.html</link> <comments>https://bogdan.org.ua/2016/06/05/tsw-friendly-task-and-note-management-software.html#comments</comments> <pubDate>Sat, 04 Jun 2016 23:39:43 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Links]]></category> <category><![CDATA[Misc]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[evernote]]></category> <category><![CDATA[GTD]]></category> <category><![CDATA[TSW]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2432</guid> <description><![CDATA[A while ago I was looking for GTD/TSW-compatible android app. I ended up using Trello, Keep, and Calendar. But I always keep looking for new/improved tools, as right now I feel the best one does not exist&#8230; (If the best one can exist at all &#8211; requirements and conditions change all the time, so there [&#8230;]]]></description> <content:encoded><![CDATA[<p>A while ago I was looking for <a
href="http://bogdan.org.ua/2015/03/13/looking-for-a-perfect-android-app-for-tsw-gtd-use.html">GTD/TSW-compatible android app</a>.<br
/> I ended up using Trello, Keep, and Calendar.</p><p>But I always keep looking for new/improved tools, as right now I feel the best one does not exist&#8230;<br
/> (If <em>the best one</em> can exist at all &#8211; requirements and conditions change all the time, so there is no fixed <em>perfect immovable target</em>.)</p><p>I have been contemplating trying out the TSW methodology, but neither Keep nor Trello are quite there yet.<br
/> I ended up using Evernote; after recent management changes and actually trying to become profitable it may as well last long enough.</p><p>Everything was fine and calm until I have found <a
href="https://workflowy.com/invite/394bbbe3.lnx" title="this is a referral link with non-material bonus for me :)">workflowy</a> yesterday.<br
/> In essence, it is very similar to the text-file-based system that I have been using for at least half a year.</p><p>Briefly, it is a web-based text editor on steroids, with possibly infinite nesting lists and seemingly full keyboard shortcuts control &#8211; no mouse needed.<br
/> I recommend that you try the demo &#8211; it seems to be fully functional, and there is no need to sign up.</p><p>This discovery made me read through pages and pages of this class of software tools.<br
/> Here is a very brief summary of my findings:<span
id="more-2432"></span></p><ul><li><a
href="http://orgmode.org/">org-mode for emacs</a>: taking notes, organizing to-do lists and projects, writing structured text; I can definitely see the benefits &#8211; especially for tasks/projects management; however, for rich content &#8211; with attached/embedded files/images &#8211; this probably won&#8217;t work that well; see also <a
href="http://www.orgzly.com/">orgzly</a>;</li><li><a
href="https://www.tagspaces.org/">TagSpaces</a> (also on <a
href="https://github.com/tagspaces/tagspaces">github</a>) is a tags-based files manager; cross-platform, offline, stores tags in filenames (in square brackets) &#8211; this is probably the least interfering/locking-in solution, the only things changing are file names; TagSpaces users are expected to synchronize the tag-controlled filesystem (which can be some specific directory tree) using 3rd-party tools such as [BT]Sync, SyncThing, Dropbox, Box, etc;</li><li>many kinds of Evernote-like tools and wikis, that people also use to take notes; the two most mature and usable and feature-rich are probably <a
href="https://laverna.cc/">Laverna</a> (looks great, uses markdown, can be self-hosted, unclear how to search by multiple tags) and <a
href="http://paperwork.rocks/">Paperwork</a> (same thing with multiple tags); <a
href="https://www.wiz.cn/">WizNote</a> also deserves a mention; among other tools: <a
href="https://github.com/charlesthomas/magpie">git-backed magpie</a>, <a
href="http://yipgo.com/" class="broken_link" rel="nofollow">yipgo</a>, <a
href="https://github.com/kiasaki/marks" class="broken_link" rel="nofollow">Marks</a>, <a
href="http://keepnote.org/">KeepNote</a>, <a
href="http://zim-wiki.org/">zim</a>, etc;</li><li><a
href="https://github.com/galfarragem/hamster-gtd">hamster-GTD</a> is a (yet another?) variation of TSW/GTD &#8211; not a tool, but a system;</li><li><a
href="http://artificer.jboss.org/">Artificer</a> (formerly Overlord S-RAMP), a system for <em>any kind of interconnected, hierarchical data</em>; see also <a
href="https://github.com/ArtificerRepo/artificer/tree/master/demos/end-to-end-use-case/getting-things-done">Artificer GTD example</a>;</li><li><a
href="https://github.com/eflynch/magnolial">magnolial</a>, workflowy clone (haven&#8217;t tried it yet); another clone is <a
href="https://github.com/abhshkdz/HackFlowy">HackFlowy</a> &#8211; trying its offline demo shows that only a basic list functionality is present.</li></ul><p>Now that I think of it, TagSpaces is a neat idea&#8230;<br
/> Especially for photos &#8211; assigning tags actually updates filenames, which is great for photos.<br
/> And you can easily search by those tags later in TagSpaces.<br
/> In fact, TagSpaces looks very interesting for organizing lots of directory/file-based data.</p><p>Laverna looks quite exciting! And seems to be actively developed.<br
/> But there seems to be nothing quite comparable to WorkFlowy&#8230; Need to test it some more.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F06%2F05%2Ftsw-friendly-task-and-note-management-software.html&amp;linkname=TSW-friendly%20task%20and%20note%20management%20software" 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%2F06%2F05%2Ftsw-friendly-task-and-note-management-software.html&amp;linkname=TSW-friendly%20task%20and%20note%20management%20software" 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%2F06%2F05%2Ftsw-friendly-task-and-note-management-software.html&amp;linkname=TSW-friendly%20task%20and%20note%20management%20software" 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%2F06%2F05%2Ftsw-friendly-task-and-note-management-software.html&amp;linkname=TSW-friendly%20task%20and%20note%20management%20software" 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%2F06%2F05%2Ftsw-friendly-task-and-note-management-software.html&amp;linkname=TSW-friendly%20task%20and%20note%20management%20software" 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%2F06%2F05%2Ftsw-friendly-task-and-note-management-software.html&#038;title=TSW-friendly%20task%20and%20note%20management%20software" data-a2a-url="https://bogdan.org.ua/2016/06/05/tsw-friendly-task-and-note-management-software.html" data-a2a-title="TSW-friendly task and note management software"><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/06/05/tsw-friendly-task-and-note-management-software.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Practical comparison of NGS adapter trimming tools</title><link>https://bogdan.org.ua/2016/06/01/practical-comparison-of-ngs-adapter-trimming-tools.html</link> <comments>https://bogdan.org.ua/2016/06/01/practical-comparison-of-ngs-adapter-trimming-tools.html#comments</comments> <pubDate>Wed, 01 Jun 2016 19:23:14 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Bioinformatics]]></category> <category><![CDATA[adapter]]></category> <category><![CDATA[NGS]]></category> <category><![CDATA[sequencing]]></category> <category><![CDATA[trim]]></category> <category><![CDATA[trimmer]]></category> <category><![CDATA[trimming]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2428</guid> <description><![CDATA[I used to work with sequencing providers who were giving me fairly clean data. It was already barcode-separated, and had no over-represented adapter sequences. The only thing I had to do was to (optionally) quality-trim the reads, and check for biological contamination. Recently, however, I have come across some real-world data, which not only had [&#8230;]]]></description> <content:encoded><![CDATA[<p>I used to work with sequencing providers who were giving me fairly clean data.<br
/> It was already barcode-separated, and had no over-represented adapter sequences.<br
/> The only thing I had to do was to (optionally) quality-trim the reads, and check for biological contamination.</p><p>Recently, however, I have come across some <em>real-world data</em>, which not only had contamination in it, but also quite a noticeable percentage of adapters.<br
/> I did a quick test of multiple tools to see if they fit my requirements:</p><ul><li>should be easy/logical to use: no arcane/convoluted command lines or config files</li><li>should detect adapters automatically, either using its own database or a provided plain FASTA file</li><li>should be reasonably fast</li><li>must leave no adapter traces behind: I prefer aggressive trimming</li></ul><p>I have tried the following tools:</p><ul><li>fastq-mcf from the ea-tools package</li><li><a
href="https://sourceforge.net/projects/skewer/">skewer</a></li><li>TrimmomaticPE</li><li>cutadapt: haven&#8217;t used it directly, but it is used by some of the compared tools</li><li>bbduk from <a
href="https://sourceforge.net/projects/bbmap/">BBMAP</a></li><li><a
href="https://github.com/optimuscoprime/autoadapt">autoadapt</a></li><li><a
href="http://www.bioinformatics.babraham.ac.uk/projects/trim_galore/">TrimGalore!</a></li></ul><p><span
id="more-2428"></span></p><p>As input, I have used 2 FASTQ files, each about 8.4 gigabytes<br
/> (or 3 785 687 KBytes together in 2 bzip2-compressed files, or 129 753 452 lines / 32 438 363 reads per file).<br
/> Time was measured with bash&#8217;s built-in <code>time</code>.<br
/> The all_adapters.txt is a plain FASTA file I took from FastQC distribution a long while ago,<br
/> and possibly added some more adapter sequences scavenged from the internet.</p><p><strong>fastq-mcf</strong> (ea-tools)<br
/> <code>fastq-mcf ~/bin/all_adapters.txt -o R1.clip.fastq -o R2.clip.fastq input_R1.fastq input_R2.fastq</code></p><ul><li>non-obvious way to specify 2 outputs for 2 inputs, but not complicated either</li><li>can be given a file with dozens of adapters: will auto-identify which adapters to trim</li><li>single-threaded, uses 315M RES and 380M VIRT</li><li>83.5 minutes on a loaded system</li><blockquote><p> Reads too short after clip: 137 684<br
/> Clipped &#8216;end&#8217; reads (input_R1.fastq): Count 895 775, Mean: 24.36, Sd: 17.32<br
/> Trimmed 2 072 551 reads (input_R1.fastq) by an average of 4.46 bases on quality < 7
Clipped 'end' reads (input_R2.fastq): Count 850 718, Mean: 25.70, Sd: 17.19
Trimmed 8 729 083 reads (input_R2.fastq) by an average of 4.44 bases on quality < 7</p></blockquote></ul><p><strong>skewer</strong><br
/> <code>skewer -x ~/bin/all_adapters.txt --mode pe --threads 8 input_R1.fastq input_R2.fastq</code></p><ul><li>looks much fancier: uses colors and has a text-mode progress bar</li><li>is multi-threaded, but appears to be extremely slow &#8211; <strong>much slower than single-threaded fastq-mcf</strong> &#8211; <ins
datetime="2016-06-15T12:24:23+00:00">update</ins>: it is incredibly fast if instead of 96 adapters you just give it 3 or so;</li><li>can read up to 96 adapters from the file&#8230; should be fine for most purposes</li><li>uses very little RAM (~4 megabytes RES, ~450M VIRT)</li><li>really slow: real 177m52.933s , user 1212m3.644s (7 threads)</li><blockquote><p> 32 438 363 read pairs processed; of these:<br
/> 12 339 ( 0.04%) short read pairs filtered out after trimming by size control<br
/> 94 409 ( 0.29%) empty read pairs filtered out after trimming by size control<br
/> 32 331 615 (99.67%) read pairs available; of these:<br
/> 934 379 ( 2.89%) trimmed read pairs available after processing<br
/> 31 397 236 (97.11%) untrimmed read pairs available after processing</p></blockquote></ul><p><strong>TrimmomaticPE</strong><br
/> <code>TrimmomaticPE -threads 8 -trimlog trimmomatic.log input_R1.fastq.bz2 input_R2.fastq.bz2 lane1_forward_paired.fq.gz lane1_forward_unpaired.fq.gz lane1_reverse_paired.fq.gz lane1_reverse_unpaired.fq.gz ILLUMINACLIP:/usr/share/trimmomatic/TruSeq3-PE-2.fa:2:40:15</code></p><ul><li>failed to start without <em>seemingly</em> optional arguments to ILLUMINACLIP with an uninformative error message</li><li>uses 1.5+GB RES, 7.8GB VIRT, and does not fully utilize all 8 threads (CPU load only at around 500%, where 100% means 1 core)</li><li>does not seem to be I/O bound, but log file is <em>huge</em>: contains all read identifiers<ul><li>it might be better to disable log file (do not specify <code>-trimlog</code>) for higher I/O speed</li></ul></li><li>comes bundled with some adapters already, but:<ul><li>does not detect adapters itself: you have to know which file to choose</li><li>adapter files are structured in a way preventing merging them into a single file: adapter names have special meaning to Trimmomatic</li></ul></li><li>real 19m39.431s, user 71m8.600s , sys 23m44.556s: much faster than either skewer or fastq-mcf</li><blockquote><p> Input Read Pairs: 32438363<br
/> Both Surviving: 31591307 (97.39%)<br
/> Forward Only Surviving: 750772 (2.31%)<br
/> Reverse Only Surviving: 8023 (0.02%)<br
/> Dropped: 88261 (0.27%)</p></blockquote></ul><p>NOT trying <strong>cutadapt</strong>:</p><ul><li>looks great based on reading the manual</li><li>only accepts adapters on the command-line, and does not come with adapter files to use</li><li>is in Python/Python3, so could be easier re-used from Python programs</li></ul><p><strong>BBMAP</strong><br
/> <code>bbduk.sh in=input_R1.fastq.bz2 in2=input_R2.fastq.bz2 out=bbduk_clean_1.fastq out2=bbduk_clean_2.fastq ref=~/bin/all_adapters.txt</code></p><ul><li>refused to load some JNI library:<br
/><blockquote>Error: Could not find or load main class utilities.bbmap.jni.</p></blockquote></li><li>changed into bbmap/jni and ran <code>export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 ; make -f makefile.linux</code>, but this didn&#8217;t help</li><li>failed to run</li></ul><p><strong>autoadapt</strong> (relies on FastQC and cutadapt)<br
/> <code>autoadapt.pl --threads=8 input_R1.fastq autoadapt_clean_1.fastq input_R2.fastq autoadapt_clean_2.fastq</code></p><ul><li>first runs FastQC to a temporary file (0.5GB RES, 4.8GB VIRT)<ul><li>fastqc is started with <code>--threads 8</code>, but only 1 file is fed to fastqc&#8230;</li></ul></li><li>auto-detected adapters, from FastQC&#8217;s output:<br
/><blockquote><p> Detected the following known contaminant sequences:<br
/> Illumina Single End PCR Primer 1 (AATGATACGGCGACCACCGAGATCTACACTCTTTCCCTACACGACGCTCTTCCGATCT)<br
/> TruSeq Adapter, Index 7 (GATCGGAAGAGCACACGTCTGAACTCCAGTCACCAGATCATCTCGTATGCCGTCTTCTGCTTG)</p></blockquote></li><li>used <strong>over 15 GB RAM! + swap!</strong></li><li>this is too much, killed and re-starting with 1 thread</li><li>uses cutadapt (<8M RES, <31M VIRT), looking for adapters anywhere (and not only at 3' like TrimGalore does); here's the generated command sample:
<code><pre>cutadapt --format fastq --match-read-wildcards --times 2 --error-rate 0.2
--minimum-length 18 --quality-cutoff 20 --quality-base 33
--anywhere=GATCGGAAGAGCACACGTCTGAACTCCAGTCACCAGATCATCTCGTATGCCGTCTTCTGCTTG
--anywhere=CAAGCAGAAGACGGCATACGAGATGATCTGGTGACTGGAGTTCAGACGTGTGCTCTTCCGATC
--anywhere=AATGATACGGCGACCACCGAGATCTACACTCTTTCCCTACACGACGCTCTTCCGATCT
--anywhere=AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTAGATCTCGGTGGTCGCCGTATCATT
--paired-output autoadapt/autoadapt.tmp.f_zxQr95/autoadapt_R2.fastq.tmp
-o autoadapt/autoadapt.tmp.f_zxQr95/autoadapt_R1.fastq.tmp
input_R1.fastq input_R2.fastq &#038;&#038; cutadapt --format fastq --match-read-wildcards
--times 2 --error-rate 0.2 --minimum-length 18 --quality-cutoff 20 --quality-base 33
--anywhere=GATCGGAAGAGCACACGTCTGAACTCCAGTCACCAGATCATCTCGTATGCCGTCTTCTGCTTG
--anywhere=CAAGCAGAAGACGGCATACGAGATGATCTGGTGACTGGAGTTCAGACGTGTGCTCTTCCGATC
--anywhere=AATGATACGGCGACCACCGAGATCTACACTCTTTCCCTACACGACGCTCTTCCGATCT
--anywhere=AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTAGATCTCGGTGGTCGCCGTATCATT
--paired-output autoadapt_R1.fastq -o autoadapt_R2.fastq
autoadapt/autoadapt.tmp.f_zxQr95/autoadapt_R2.fastq.tmp
autoadapt/autoadapt.tmp.f_zxQr95/autoadapt_R1.fastq.tmp</pre><p></code></li><li>uses its own directory for intermediate/temporary files, then moves to destination &#8211; not good&#8230;<ul><li>the problem is that program&#8217;s partition may not have enough space for all the intermediate data</li><li>actually, cutadapt is run twice:<ul><li>first to the temporary directory</li><li>then to the final destination, using temporary/intermediate files as inputs</li></ul></li></ul></li><li>ran out of space in /home&#8230; created a copy of cutadapt under ~/data volume</li><li><code>/usr/bin/time -f '%C: %e s, %M Kb' ~/data/autoadapt-tmp-copy/autoadapt.pl --threads=1 input_R1.fastq autoadapt_R1.fastq input_R2.fastq autoadapt_R2.fastq</code></li><li>over 1h CPU time already, and still about half-done&#8230; should try with <code>--threads=2</code> or 4, maybe RAM use will be somewhat better?</li><li>total time 9979.87 seconds (2.8 hours), max RAM 235 480 Kb</li><li>trying in 4 threads: again 15+ Gb RAM and 7+Gb swap, killed at this point;<ul><li>the problem seems to be somewhere in the read splitting code &#8211; apparently, it keeps reads in RAM (???) while splitting&#8230;</li><li>looking at the split files: they are all partial, so autoadapt.pl somehow attempts to parallel-split into all thread segments at once</li></ul></li><li>trying to edit <code>splitFile()</code> function to use GNU split command; hopefully, <code>mergeFile()</code> does not use gigabytes of RAM&#8230;<ul><li>for testing: hard-code tmp dir name; skip actual fastqc</li><li>this now works great! let&#8217;s wait for merging&#8230;</li><li><code>mergeFile()</code> still eats ~2.5Gb of RES</li></ul></li><li>because of all the splitting, temporary directory size easily jumps to about 3x the original file size, or ~48 GB for ~16 GB of input files</li><li>3007.68 s (50 minutes &#8211; this does not include the initial FastQC run), 2 523 952 Kb (this is mostly the file merging operation)</li><li>it does not show any stats at the end</li></ul><p><strong>Trim Galore!</strong><br
/> <code>trim_galore --fastqc --path-to-cutadapt /usr/bin/cutadapt3 --paired input_R1.fastq input_R2.fastq</code></p><ul><li>the trim_galore perl wrapper itself consumes just a few megabytes of RAM</li><li>uses cutadapt for actual work</li><li>auto-detects adapters, although somehow the Illumina adapter found is only a substring of what was found by autoadapt/FastQC&#8230;<br
/><blockquote><p> Found perfect matches for the following adapter sequences:<br
/> Adapter type    Count   Sequence        Sequences analysed      Percentage<br
/> Illumina        17429   AGATCGGAAGAGC   1000000 1.74<br
/> Nextera 0       CTGTCTCTTATA    1000000 0.00<br
/> smallRNA        0       TGGAATTCTCGG    1000000 0.00<br
/> Using Illumina adapter for trimming (count: 17429). Second best hit was Nextera (count: 0)</p></blockquote></li><li>can run FastQC itself on the processed data, if so instructed by a command-line option</li><li>trims and summarizes each file separately</li><blockquote><p> Total reads processed:              32,438,363<br
/> Reads with adapters:                 6,878,225 (21.2%)<br
/> Reads written (passing filters):    32,438,363 (100.0%)<br
/> Total basepairs processed: 3,276,274,663 bp<br
/> Quality-trimmed:              11,132,367 bp (0.3%)<br
/> Total written (filtered):  3,226,980,229 bp (98.5%)</p></blockquote><li>cutadapt processes about 4 million reads/minute on my work PC i7</li><blockquote><p> Total reads processed:              32,438,363<br
/> Reads with adapters:                 6,030,241 (18.6%)<br
/> Reads written (passing filters):    32,438,363 (100.0%)<br
/> Total basepairs processed: 3,276,274,663 bp<br
/> Quality-trimmed:              40,530,133 bp (1.2%)<br
/> Total written (filtered):  3,199,297,597 bp (97.7%)</p></blockquote><li>length is checked after cutadapt:<br
/><blockquote><p>Number of sequence pairs removed because at least one read was shorter than the length cutoff (20 bp): 145312 (0.45%)</p></blockquote></li><li>1955.49 s (32.6 minutes), 228 592 Kb (this is likely FastQC&#8217;s top RAM use)</li></ul><p><strong>How do I evaluate the quality of trimming?</strong><br
/> Notably, all trimmers removed the &#8220;Adapters detected&#8221; section from FastQC&#8217;s output.<br
/> For now, I&#8217;m simply choosing the smallest pair of processed read files<br
/> (under the assumption that the smallest is the most aggressively trimmed).</p><p>File sizes after trimming, R1+R2<br
/> 16&#8217;750&#8217;631 trimmomatic<br
/> 16&#8217;770&#8217;603 autoadapt, threads=1<br
/> 16&#8217;771&#8217;639 autoadapt, threads=8 // after swapping Perl splitter function for GNU split<br
/> 16&#8217;924&#8217;934 trimGalore<br
/> 16&#8217;963&#8217;937 fastq-mcf<br
/> 17&#8217;057&#8217;065 skewer</p><p>Looking at FastQC plots, major differences can be seen in read lengths distribution (which depends on how much of the sequence tail/head was trimmed),<br
/> per-tile quality (trimmomatic and skewer do not perform any kind of quality trimming by default, others do), and k-mer content.<br
/> For k-mer content, trimmomatic, trimGalore, and skewer look the most natural: there is a background of random-looking lesser spikes (up to 2-4),<br
/> and one or two bigger spikes (up to 12). For other tools (autoadapt, fastq-mcf) k-mer content looks like a flat line (but likely also 2-4)<br
/> with several huge spikes (up to 35-40). In fact, only autoadapt, trimgalore, and skewer got a &#8220;warning&#8221; on k-mer content &#8211; all others got an &#8220;error&#8221;.</p><p>Overall, Trimmomatic and trimGalore appear to be the two best adapter trimmers, both by aggressiveness+FastQC reports and by speed.<br
/> But trimGalore detected significantly shorter adapter, and also Trimmomatic produced a smaller, more aggressively trimmed file.<br
/> On the downside, Trimmomatic does not auto-detect adapters! This can be alleviated by first running FastQC on the input files,<br
/> then checking /usr/share/trimmomatic/ for matching adapter files &#8211; those which contain both adapters detected by FastQC.</p><p>Will use Trimmomatic for now.</p><p><ins
datetime="2016-06-10T16:47:12+00:00">Important update</ins>:</p><ul><li>It is possible to (quite easily) construct a file with all the adapters for <code>Trimmomatic</code>, and it will happily try to trim anything from that file; <code>Trimmomatic</code> is now my <em>sledgehammer</em> &#8211; give it anything, and it will crush it.</li><li><del
datetime="2016-06-11T16:37:53+00:00">I have just used <code>cutadapt</code> directly, on a peculiar case of Nextera transposon contamination throughout the length of reads. The advantage of <code>cutadapt</code> is that you can specify how many times to trim the adapter &#8211; by default it is just 1, but I&#8217;ve set it to 20 and got rid of all Nextera leftovers. <code>cutadapt</code> is now my <em>scalpel</em> &#8211; I use it in pathological cases, when I know what (and how much of it) to cut out.</del></li><li>Specifically for Nextera, I&#8217;m now using <a
href="https://github.com/sequencing/NxTrim">NxTrim</a> &#8211; a tool from Illumina, which examines the reads and splits them into several categories: proper MP, PE, single-end/overlapping reads, and <em>unknown</em>. After NxTrim, individual reads should still have other sequencing adapters clipped.</li></ul><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F06%2F01%2Fpractical-comparison-of-ngs-adapter-trimming-tools.html&amp;linkname=Practical%20comparison%20of%20NGS%20adapter%20trimming%20tools" 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%2F06%2F01%2Fpractical-comparison-of-ngs-adapter-trimming-tools.html&amp;linkname=Practical%20comparison%20of%20NGS%20adapter%20trimming%20tools" 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%2F06%2F01%2Fpractical-comparison-of-ngs-adapter-trimming-tools.html&amp;linkname=Practical%20comparison%20of%20NGS%20adapter%20trimming%20tools" 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%2F06%2F01%2Fpractical-comparison-of-ngs-adapter-trimming-tools.html&amp;linkname=Practical%20comparison%20of%20NGS%20adapter%20trimming%20tools" 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%2F06%2F01%2Fpractical-comparison-of-ngs-adapter-trimming-tools.html&amp;linkname=Practical%20comparison%20of%20NGS%20adapter%20trimming%20tools" 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%2F06%2F01%2Fpractical-comparison-of-ngs-adapter-trimming-tools.html&#038;title=Practical%20comparison%20of%20NGS%20adapter%20trimming%20tools" data-a2a-url="https://bogdan.org.ua/2016/06/01/practical-comparison-of-ngs-adapter-trimming-tools.html" data-a2a-title="Practical comparison of NGS adapter trimming tools"><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/06/01/practical-comparison-of-ngs-adapter-trimming-tools.html/feed</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Nobody wants higher-quality, complete bacterial genomes</title><link>https://bogdan.org.ua/2016/05/24/nobody-wants-higher-quality-complete-bacterial-genomes.html</link> <comments>https://bogdan.org.ua/2016/05/24/nobody-wants-higher-quality-complete-bacterial-genomes.html#comments</comments> <pubDate>Tue, 24 May 2016 15:18:07 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Bioinformatics]]></category> <category><![CDATA[Rant]]></category> <category><![CDATA[assembly]]></category> <category><![CDATA[bacteria]]></category> <category><![CDATA[basic income]]></category> <category><![CDATA[genome]]></category> <category><![CDATA[rant]]></category> <category><![CDATA[sequencing]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2424</guid> <description><![CDATA[This is a piece of rant. Disclaimer The story, all names, characters, genomes and incidents portrayed in this blog post are fictitious. No identification with actual persons (living, dead or undead), places, companies, and processes is intended or should be inferred. No animals were harmed in the making of this blog post. Let&#8217;s try answering [&#8230;]]]></description> <content:encoded><![CDATA[<p>This is a piece of rant.</p><p><strong>Disclaimer</strong></p><blockquote><p>The story, all names, characters, genomes and incidents portrayed in this blog post are fictitious.<br
/> No identification with actual persons (living, dead or undead), places, companies, and processes is intended or should be inferred.<br
/> No animals were harmed in the making of this blog post.</p></blockquote><p>Let&#8217;s try answering a question:</p><blockquote><p>why are there many incomplete/draft bacterial genomes, and much fewer complete genomes?</p></blockquote><p><span
id="more-2424"></span></p><p>The answer is simple: insufficient value/cost ratio.<br
/> This can also be summarized as the <em>good enough</em> principle: if something is <em>good enough</em>, it does not get improved.</p><p><strong>Sample scenario 1</strong>.<br
/> Players: Principal Investigator (<strong>PI</strong>), Bacterial Genome (<strong>BG</strong>), Biologist (<strong>B</strong>), Sequencing Company (<strong>SC</strong>), (optional) Bioinformatician (<strong>oBI</strong>), Genomes Database (<strong>GD</strong>).</p><p><strong>B</strong> is interested to work with <strong>BG</strong>, and gets <strong>PI</strong>&#8216;s approval to sequence it.<br
/> Biomaterial is sent to <strong>SC</strong>, which sequences and even assembles the <strong>BG</strong>.<br
/> <strong>BG</strong> looks overall great and comes in just a handful fragments.<br
/> <strong>oBI</strong> is (optionally) involved, to annotate and describe the <strong>BG</strong>.<br
/> <strong>B</strong> works happily with the <strong>BG</strong>, describing and characterizing all the interesting biosynthetic features it contains.<br
/> An article is prepared, and <strong>oBI</strong> is (optionally) involved again, to prepare and submit the <strong>BG</strong> to the <strong>GD</strong>.<br
/> Preparing the <strong>BG</strong>, <strong>oBI</strong> has to answer a question if this <strong>BG</strong> contains any plasmids.<br
/> Upon closer examination, <strong>oBI</strong> finds that one of the fragments is actually the complete chromosome, and all others are just unplaced fragments of it.<br
/> <strong>oBI</strong> knows that this genome could probably be merged into a single draft scaffold<br
/> using bioinformatics tools and manual examination in maybe a few days (or a week&#8230; or two? <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> ).<br
/> <strong>oBI</strong> also knows that with a little bit of <strong>B</strong>&#8216;s help (a few primer walking experiments) it should be possible to have the complete <strong>BG</strong> within a month or two.<br
/> However, <strong>BG</strong> stays a draft, and is not going to be complete any time soon.</p><p>Why?</p><p>Let&#8217;s look at motivations of all the players, and see if any of the players <em>wants</em> the complete <strong>BG</strong>:</p><ul><li><strong>PI</strong> wants publications; spending extra time/effort to make <strong>BG</strong> complete does not present any obvious benefits;</li><li><strong>BG</strong> wants to be left alone;</li><li><strong>B</strong> wants to publish exciting new findings; they are already supported by the draft <strong>BG</strong>, so there is clearly no need for a complete <strong>BG</strong>;</li><li><strong>SC</strong> was happy to get payment in time; <strong>SC</strong> is also proud to be able to provide genome assembly as an extra service with its (primary) sequencing offers;</li><li><strong>oBI</strong> has interest in finishing the <strong>BG</strong>: it will then be complete; however, there are 5 more other BGs awaiting processing, and the backlog of semi-written manuscripts only keeps growing&#8230; finishing this specific <strong>BG</strong> will not result in a perceived benefit to <strong>oBI</strong>;</li><li><strong>GD</strong> stores genomes; it doesn&#8217;t care much if the genome submitted could have been better.</li></ul><p><em>Surprise</em>!<br
/> Looks like <strong>none of the players sees benefits in actually finishing the BG</strong>,<br
/> simply because efforts spent (or time waited) does not bring any perceived benefits to any of the players.</p><p><strong>Sample scenario 2</strong>.<br
/> Players: Bacterial Genome (<strong>BG</strong>), Biologist (<strong>B</strong>), Sequencing Company (<strong>SC</strong>), non-optional Bioinformatician (<strong>noBI</strong>), Genomes Database (<strong>GD</strong>).</p><p>This time, <strong>B</strong> (who is interested in <em>quickly</em> publishing a short genome announcement) asks for <strong>noBI</strong>&#8216;s help from the moment the <strong>BG</strong> is provided by the <strong>SC</strong>.<br
/> <strong>noBI</strong> has a cursory look at the <strong>BG</strong>, and although there is a huge discrepancy between thousands of contigs on the one hand and insanely high coverage on the other,<br
/> the <strong>BG</strong> otherwise appears <em>good enough</em> for further work, especially after scaffolding; after all, this is <em>just</em> a genome announcement, not a full-blown <em>article</em>!<br
/> There is also some weirdness about the coverage distribution of the <strong>BG</strong>, but <strong>noBI</strong> carelessly ignores that.<br
/> The <strong>BG</strong> is worked on: annotated, examined, described, prepared for submission to the <strong>GD</strong>.<br
/> Meanwhile, the announcement article is also nearly complete.<br
/> Genome is submitted, and <strong>GD</strong>&#8216;s response comes back: some scaffolds contain <em>orangutan</em> and <em>human</em> DNA, and some scaffolds contain known <em>adapter sequences</em> in the middle&#8230;<br
/> &#8220;<em>Oh crap</em>&#8220;, thinks <strong>noBI</strong>, &#8220;<em>I should have checked the raw reads for adapters and contamination, in spite of having the <strong>BG</strong> assembly already</em>&#8230;&#8221;<br
/> The <strong>GD</strong> also kindly offers an easy way out: just remove the obviously-orangutan scaffolds, and remove/mask/discard adapter sequences.<br
/> This is the <strong>easy way</strong>, leading to a <em>quicker</em> genome announcement, and a slight bump to the personal publication records of both <strong>B</strong> and <strong>noBI</strong>.</p><p>The <strong>right way</strong> is, of course, to clean raw reads from adapters and contamination, re-assemble, re-scaffold, re-annotate, re-describe the BG,<br
/> then prepare again for submission. This can delay the <em>quick</em> genome announcement by about a week,<br
/> but will highly likely result in a more contiguous and more correct BG &#8211; although still not complete.</p><p>As we have learned from Scenario 1, perceived benefits of going the <em>right</em> way (as opposed to the <em>easy</em> way) are nearly non-existent&#8230;</p><p>There was a genome I have finalized manually a few years ago.<br
/> I had some good quality data, obtained a 300-something contigs initial assembly,<br
/> then scaffolded and manually finalized to about 10 scaffolds.<br
/> There was simply not enough evidence (data) to keep merging scaffolds, so I had to stop.</p><p>Nowadays, as <em>bacterial genome sequencing prices are akin to weekend supermarket shopping expenses</em>,<br
/> nobody is going the extra mile to produce a better quality, more contiguous, or even a complete genome.<br
/> And this feels sad&#8230;</p><p>On the other hand, consumer markets function like that for decades.<br
/> An old water heater with a failed heating element is not repaired: it is replaced by a new water heater,<br
/> because human time cost to repair the old one is higher than just buying a new one.</p><p>Funnily, universal basic income might change that: without the need to spend 40+ hours a week at work<br
/> (and thus being unable to repair that water heater on one&#8217;s own),<br
/> one might just order that heating element and fix it &#8211; instead of buying the new one.</p><p>Would universal basic income have the same effect on draft and incomplete bacterial genomes? I have no idea.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F05%2F24%2Fnobody-wants-higher-quality-complete-bacterial-genomes.html&amp;linkname=Nobody%20wants%20higher-quality%2C%20complete%20bacterial%20genomes" 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%2F24%2Fnobody-wants-higher-quality-complete-bacterial-genomes.html&amp;linkname=Nobody%20wants%20higher-quality%2C%20complete%20bacterial%20genomes" 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%2F24%2Fnobody-wants-higher-quality-complete-bacterial-genomes.html&amp;linkname=Nobody%20wants%20higher-quality%2C%20complete%20bacterial%20genomes" 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%2F24%2Fnobody-wants-higher-quality-complete-bacterial-genomes.html&amp;linkname=Nobody%20wants%20higher-quality%2C%20complete%20bacterial%20genomes" 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%2F24%2Fnobody-wants-higher-quality-complete-bacterial-genomes.html&amp;linkname=Nobody%20wants%20higher-quality%2C%20complete%20bacterial%20genomes" 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%2F24%2Fnobody-wants-higher-quality-complete-bacterial-genomes.html&#038;title=Nobody%20wants%20higher-quality%2C%20complete%20bacterial%20genomes" data-a2a-url="https://bogdan.org.ua/2016/05/24/nobody-wants-higher-quality-complete-bacterial-genomes.html" data-a2a-title="Nobody wants higher-quality, complete bacterial genomes"><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/24/nobody-wants-higher-quality-complete-bacterial-genomes.html/feed</wfw:commentRss> <slash:comments>2</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>Streptomyces morphogenesis regulation: overview presentation</title><link>https://bogdan.org.ua/2016/05/13/streptomyces-morphogenesis-regulation-overview-presentation.html</link> <comments>https://bogdan.org.ua/2016/05/13/streptomyces-morphogenesis-regulation-overview-presentation.html#comments</comments> <pubDate>Fri, 13 May 2016 09:18:44 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Science]]></category> <category><![CDATA[Actinobacteria]]></category> <category><![CDATA[AdpA]]></category> <category><![CDATA[BldA]]></category> <category><![CDATA[BldD]]></category> <category><![CDATA[BldH]]></category> <category><![CDATA[BldM]]></category> <category><![CDATA[hyphae]]></category> <category><![CDATA[morphogenesis]]></category> <category><![CDATA[mycelium]]></category> <category><![CDATA[regulation]]></category> <category><![CDATA[sporulation]]></category> <category><![CDATA[Streptomyces]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2408</guid> <description><![CDATA[Note: this post is just a placeholder/draft, it will be extended later. But it can already be useful Streptomyces Morphogenesis Streptomyces Morphogenesis notes Morphogenesis regulation poster]]></description> <content:encoded><![CDATA[<p>Note: this post is just a placeholder/draft, it will be extended later. But it can already be useful <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /><br
/> <span
id="more-2408"></span><br
/> <a
href="http://bogdan.org.ua/wp-content/uploads/2016/05/regulation-poster.png"><img
src="http://bogdan.org.ua/wp-content/uploads/2016/05/regulation-poster-500x353.png" alt="morphogenesis regulation" width="500" height="353" class="alignleft size-medium wp-image-2413" /></a><br
/> <a
href="http://bogdan.org.ua/wp-content/uploads/2016/05/Streptomyces-Morphogenesis.pdf">Streptomyces Morphogenesis</a><br
/> <a
href="http://bogdan.org.ua/wp-content/uploads/2016/05/Streptomyces-Morphogenesis-notes.pdf">Streptomyces Morphogenesis notes</a><br
/> <a
href="http://bogdan.org.ua/wp-content/uploads/2016/05/regulation-poster.pdf">Morphogenesis regulation poster</a></p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F05%2F13%2Fstreptomyces-morphogenesis-regulation-overview-presentation.html&amp;linkname=Streptomyces%20morphogenesis%20regulation%3A%20overview%20presentation" 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%2F13%2Fstreptomyces-morphogenesis-regulation-overview-presentation.html&amp;linkname=Streptomyces%20morphogenesis%20regulation%3A%20overview%20presentation" 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%2F13%2Fstreptomyces-morphogenesis-regulation-overview-presentation.html&amp;linkname=Streptomyces%20morphogenesis%20regulation%3A%20overview%20presentation" 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%2F13%2Fstreptomyces-morphogenesis-regulation-overview-presentation.html&amp;linkname=Streptomyces%20morphogenesis%20regulation%3A%20overview%20presentation" 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%2F13%2Fstreptomyces-morphogenesis-regulation-overview-presentation.html&amp;linkname=Streptomyces%20morphogenesis%20regulation%3A%20overview%20presentation" 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%2F13%2Fstreptomyces-morphogenesis-regulation-overview-presentation.html&#038;title=Streptomyces%20morphogenesis%20regulation%3A%20overview%20presentation" data-a2a-url="https://bogdan.org.ua/2016/05/13/streptomyces-morphogenesis-regulation-overview-presentation.html" data-a2a-title="Streptomyces morphogenesis regulation: overview presentation"><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/13/streptomyces-morphogenesis-regulation-overview-presentation.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Evernote web-interface beta: how to fix: saved searches are crossed out and do not work</title><link>https://bogdan.org.ua/2016/05/09/evernote-web-interface-beta-how-to-fix-saved-searches-are-crossed-out-and-do-not-work.html</link> <comments>https://bogdan.org.ua/2016/05/09/evernote-web-interface-beta-how-to-fix-saved-searches-are-crossed-out-and-do-not-work.html#comments</comments> <pubDate>Mon, 09 May 2016 10:30:10 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[how-to]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[evernote]]></category> <category><![CDATA[fix]]></category> <category><![CDATA[problem]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2403</guid> <description><![CDATA[Another symptom is a message along the lines of the notebook you are searching in has been moved or renamed since the saved search was created (which is not true). I had this problem, and found a solution. Go to your Evernote on a client where you can edit saved searches (Windows for me), edit [&#8230;]]]></description> <content:encoded><![CDATA[<p>Another symptom is a message along the lines of</p><blockquote><p>the notebook you are searching in has been moved or renamed since the saved search was created</p></blockquote><p>(which is not true).</p><p>I had this problem, and found a <strong>solution</strong>.</p><p>Go to your Evernote on a client where you can <strong>edit saved searches</strong> (Windows for me),<br
/> edit all the searches, and make sure that <strong>notebook name is quoted</strong> in the search (and also, possibly, with all <strong>proper letter cases</strong>).</p><p>I found this solution by first creating a search from the web-beta interface, it looked like this: <code>notebook:"Mynotebook" tag:1-now</code><br
/> All the crossed-out searches (despite working totally fine on Windows) looked like this: <code>notebook:Mynotebook tag:1-now</code><br
/> or even like this (note the lower-case 1stÂ letter of the notebook name): <code>notebook:mynotebook tag:1-now</code>.</p><p>After editing saved searches and synchronizing, they all appear (and work) just fine in the beta web-interface.</p><p>If you cannot edit your searches right now, there is <strong>another workaround</strong>: all the saved searches <strong>work fine</strong> for me <strong>from the ShortcutsÂ menu</strong> (a star in the left panel).</p><p>Hope this helps!</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F05%2F09%2Fevernote-web-interface-beta-how-to-fix-saved-searches-are-crossed-out-and-do-not-work.html&amp;linkname=Evernote%20web-interface%20beta%3A%20how%20to%20fix%3A%20saved%20searches%20are%20crossed%20out%20and%20do%20not%20work" 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%2F09%2Fevernote-web-interface-beta-how-to-fix-saved-searches-are-crossed-out-and-do-not-work.html&amp;linkname=Evernote%20web-interface%20beta%3A%20how%20to%20fix%3A%20saved%20searches%20are%20crossed%20out%20and%20do%20not%20work" 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%2F09%2Fevernote-web-interface-beta-how-to-fix-saved-searches-are-crossed-out-and-do-not-work.html&amp;linkname=Evernote%20web-interface%20beta%3A%20how%20to%20fix%3A%20saved%20searches%20are%20crossed%20out%20and%20do%20not%20work" 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%2F09%2Fevernote-web-interface-beta-how-to-fix-saved-searches-are-crossed-out-and-do-not-work.html&amp;linkname=Evernote%20web-interface%20beta%3A%20how%20to%20fix%3A%20saved%20searches%20are%20crossed%20out%20and%20do%20not%20work" 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%2F09%2Fevernote-web-interface-beta-how-to-fix-saved-searches-are-crossed-out-and-do-not-work.html&amp;linkname=Evernote%20web-interface%20beta%3A%20how%20to%20fix%3A%20saved%20searches%20are%20crossed%20out%20and%20do%20not%20work" 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%2F09%2Fevernote-web-interface-beta-how-to-fix-saved-searches-are-crossed-out-and-do-not-work.html&#038;title=Evernote%20web-interface%20beta%3A%20how%20to%20fix%3A%20saved%20searches%20are%20crossed%20out%20and%20do%20not%20work" data-a2a-url="https://bogdan.org.ua/2016/05/09/evernote-web-interface-beta-how-to-fix-saved-searches-are-crossed-out-and-do-not-work.html" data-a2a-title="Evernote web-interface beta: how to fix: saved searches are crossed out and do not work"><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/09/evernote-web-interface-beta-how-to-fix-saved-searches-are-crossed-out-and-do-not-work.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to: easily add swap partition to a live system on btrfs</title><link>https://bogdan.org.ua/2016/04/14/how-to-easily-add-swap-partition-to-a-live-system-on-btrfs.html</link> <comments>https://bogdan.org.ua/2016/04/14/how-to-easily-add-swap-partition-to-a-live-system-on-btrfs.html#comments</comments> <pubDate>Thu, 14 Apr 2016 13:09:23 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[btrfs]]></category> <category><![CDATA[filesystem]]></category> <category><![CDATA[partition]]></category> <category><![CDATA[resize]]></category> <category><![CDATA[swap]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2397</guid> <description><![CDATA[Recently I had a need to add a swap file to my Debian installation. However, I am now using btrfs, and &#8211; as with any other COW filesystem &#8211; it is not possible to simply create a swap file and use it. There are workarounds (creating a file with a COW attribute removed, and then [&#8230;]]]></description> <content:encoded><![CDATA[<p>Recently I had a need to <a
href="http://bogdan.org.ua/2010/07/16/linux-how-to-label-swap-partition-without-losing-swap-uuid.html">add a swap file</a> to my Debian installation.<br
/> However, I am now using btrfs, and &#8211; as with any other <abbr
title="Copy On Write">COW</abbr> filesystem &#8211; it is not possible to simply create a swap file and use it.<br
/> There are workarounds (creating a file with a COW attribute removed, and then loop-mounting it), but I just did not like them.</p><p>So I have decided to add a swap partition.<br
/> It worked amazingly (and very easily), there was even no need to reboot &#8211; at all.<br
/> I still did restart, just to make sure the system is bootable &#8211; and all was perfectly fine.</p><p>My initial setup is very simple: a single /dev/sda1 partition on the /dev/sda disk, fully used by btrfs.<br
/> Different important paths/mountpoints are btrfs subvolumes, using <a
href="http://bogdan.org.ua/2016/02/15/how-to-convert-your-vps-root-filesystem-to-btrfs-using-rescue-boot.html">flat hierarchy</a>.<br
/> For this example, let us assume that /dev/sda (and /dev/sda1) is 25GB large, and that I want to add a 2GB swap /dev/sda2 after /dev/sda1.</p><p>Brief explanation before we start:</p><ol><li>shrink btrfs <em>filesystem</em> by more than 2GB;</li><li>shrink btrfs <em>partition</em> by 2GB;</li><li>create new 2GB partition for the swap;</li><li>resize btrfs <em>filesystem</em> to full size of its new-size <em>partition</em>;</li><li>initialize swap and turn it on.</li></ol><p>Here are the very easy steps! Just make sure you do not make mistakes anywhere <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /><br
/> <span
id="more-2397"></span></p><ol><li>If your btrfs volume with ID 5 (top level) is a separate mountpoint: mount it now, e.g. <code>sudo mount /toplevel</code>.</li><li>Take note of your current partition label and UUID: <code>sudo blkid</code>.</li><li>Resize btrfs filesystem <strong>down</strong> (shrink) with a <strong>good</strong> margin; for example, if I want to add a 2 GB swap, then I can <code>sudo btrfs fi resize -3g /toplevel</code> &#8211; here, I&#8217;m shrinking btrfs <em>filesystem</em> by about a gigabyte more than necessary. The process is very quick if you have free space, so you can even use a larger margin &#8211; say, <code>sudo btrfs fi resize -5g /toplevel</code>.</li><li><code>sudo parted</code>, then <code>print</code> to make sure what is the number of your btrfs <em>partition</em>, then <code>resizepart 1</code> (where <strong>1</strong> is the partition number), and answer a few questions: <code>yes</code>, <code>new_size_here</code> (in our example: 23.0GB), <code>yes</code>. You can also create a swap partition from parted, then quit parted with <code>q</code> and Enter.</li><li><code>sudo partprobe</code> to let the OS know that partitions have changed.</li><li>I have used <strong>cfdisk</strong> to create a 2GB swap partition: it has a very simple ncurses UI, and is very intuitive. After creating swap partition, do run <code>sudo partprobe</code> again.</li><li>Resize btrfs <em>filesystem</em> back up to take all of the <em>partition</em>: <code>sudo btrfs fi resize max /toplevel</code>.</li><li>Simply to be sure, run a scrub: <code>sudo btrfs scrub start -B -r /toplevel</code>.</li><li>Initialize swap; you can specify uuid and/or label which you may already have in your fstab: <code>mkswap --label=swap --uuid=your1234-your-uuid-1234-youruuid1234 /dev/sda2</code>.</li><li><code>sudo blkid</code> to make sure your /dev/sda1 UUID stayed the same (or to get swap uuid/label if you haven&#8217;t specified any).</li><li>Optionally, add the swap line to your /etc/fstab. Then turn on swap with <code>swapon -a</code>.</li></ol><p>That&#8217;s it! Amazing, isn&#8217;t it? On-the-fly filesystem and partition resizing!</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2016%2F04%2F14%2Fhow-to-easily-add-swap-partition-to-a-live-system-on-btrfs.html&amp;linkname=How%20to%3A%20easily%20add%20swap%20partition%20to%20a%20live%20system%20on%20btrfs" 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%2F04%2F14%2Fhow-to-easily-add-swap-partition-to-a-live-system-on-btrfs.html&amp;linkname=How%20to%3A%20easily%20add%20swap%20partition%20to%20a%20live%20system%20on%20btrfs" 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%2F04%2F14%2Fhow-to-easily-add-swap-partition-to-a-live-system-on-btrfs.html&amp;linkname=How%20to%3A%20easily%20add%20swap%20partition%20to%20a%20live%20system%20on%20btrfs" 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%2F04%2F14%2Fhow-to-easily-add-swap-partition-to-a-live-system-on-btrfs.html&amp;linkname=How%20to%3A%20easily%20add%20swap%20partition%20to%20a%20live%20system%20on%20btrfs" 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%2F04%2F14%2Fhow-to-easily-add-swap-partition-to-a-live-system-on-btrfs.html&amp;linkname=How%20to%3A%20easily%20add%20swap%20partition%20to%20a%20live%20system%20on%20btrfs" 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%2F04%2F14%2Fhow-to-easily-add-swap-partition-to-a-live-system-on-btrfs.html&#038;title=How%20to%3A%20easily%20add%20swap%20partition%20to%20a%20live%20system%20on%20btrfs" data-a2a-url="https://bogdan.org.ua/2016/04/14/how-to-easily-add-swap-partition-to-a-live-system-on-btrfs.html" data-a2a-title="How to: easily add swap partition to a live system on btrfs"><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/04/14/how-to-easily-add-swap-partition-to-a-live-system-on-btrfs.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>