<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ReSnap on clouds' Blog</title><link>https://cloudsftp.de/tags/resnap/</link><description>Recent content in ReSnap on clouds' Blog</description><generator>Hugo</generator><language>en-us</language><managingEditor>fabian.weik@protonmail.com (Fabian Weik)</managingEditor><webMaster>fabian.weik@protonmail.com (Fabian Weik)</webMaster><lastBuildDate>Sun, 01 Oct 2023 20:59:56 +0200</lastBuildDate><atom:link href="https://cloudsftp.de/tags/resnap/index.xml" rel="self" type="application/rss+xml"/><item><title>How Auto-formatters Save Lives</title><link>https://cloudsftp.de/posts/auto-formatter/</link><pubDate>Sun, 01 Oct 2023 20:59:56 +0200</pubDate><author>fabian.weik@protonmail.com (Fabian Weik)</author><guid>https://cloudsftp.de/posts/auto-formatter/</guid><description>&lt;p&gt;I know what you are thinking.
How in the world should an auto-formatter safe lives.
Well, maybe I exaggerated a little &amp;mdash; But I think auto-formatters reduce many bugs without running the program.
&amp;ldquo;How should they do this if they do not change the semantics,&amp;rdquo; you may ask.
Well, let me explain.&lt;/p&gt;
&lt;h3 id="a-shell-formatter-anecdote"&gt;A Shell-formatter anecdote&lt;/h3&gt;
&lt;p&gt;Recently, I did some maintenance on the &lt;a href="https://github.com/cloudsftp/reSnap"&gt;reSnap&lt;/a&gt; project.
A user had opened a &lt;a href="https://github.com/cloudsftp/reSnap/pull/14"&gt;pull request&lt;/a&gt; fixing screenshots on newer version of the reMarkable software.
I looked at the changes on my phone, since I was not at my computer.
As far as I could tell, the changes were good &amp;mdash; they even updated the documentation in the &lt;code&gt;README.md&lt;/code&gt;.
But one thing bugged me.
In the following part of the diff, they used &lt;code&gt;byte_correction&lt;/code&gt; and &lt;code&gt;byte&lt;/code&gt; as a boolean variable, which probably should have been the same.&lt;/p&gt;</description></item><item><title>reSnap Maintenance</title><link>https://cloudsftp.de/posts/snap-dark/</link><pubDate>Sun, 30 Jul 2023 15:02:11 +0200</pubDate><author>fabian.weik@protonmail.com (Fabian Weik)</author><guid>https://cloudsftp.de/posts/snap-dark/</guid><description>&lt;p&gt;I have this script called &lt;a href="https://github.com/cloudsftp/reSnap"&gt;reSnap&lt;/a&gt;.
It is a tool to take screenshots of your &lt;a href="https://remarkable.com/"&gt;reMarkable&lt;/a&gt; tablet over SSH.
This way you can use it over Wi-Fi.
The main inspiration and source of most code and ideas was &lt;a href="https://github.com/rien/reStream"&gt;reStream&lt;/a&gt;, a script to live stream what is being displayed on the tablet over SSH.&lt;/p&gt;
&lt;p&gt;The script makes use of &lt;a href="https://github.com/lz4/lz4"&gt;lz4&lt;/a&gt;, a fast compression algorithm.
To install this on the reMarkable tablet, one would use &lt;a href="https://toltec-dev.org/"&gt;Toltec&lt;/a&gt;, a package manager for the reMarkable tablet.
Installing this disables the automatic updates on your tablet.
Which is a good thing, because just a week ago someone brought to my attention, that using Toltec with never versions of the reMarkable software might brick your tablet.
&lt;a href="https://github.com/cloudsftp/reSnap/issues/12"&gt;Here is the issue&lt;/a&gt;.
Basically new users can&amp;rsquo;t use the script, because they have no supported way of installing lz4 on the tablet.&lt;/p&gt;</description></item></channel></rss>