paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit dd4d919d8d4e6d23246adcaecfa6a39d208a9b30
parent b6d25f7420989117d2c10d44d2ec576a74dcfdc0
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Fri, 26 Jun 2020 23:40:39 -0400

Publish new blog post

Diffstat:
Mpages/blog.md | 1+
Apages/blog/use-syncthing-to-sync-things.md | 68++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mpages/home.md | 4++--
Mpages/links.md | 8++++++++
Mpublic/feeds/sitewide-feed.xml | 24++++++++++++++++++++++++
Apublic/img/syncthing-dashboard-thumb.png | 0
Apublic/img/syncthing-dashboard.png | 0
Mpublic/sitemap.xml | 1+
8 files changed, 104 insertions(+), 2 deletions(-)

diff --git a/pages/blog.md b/pages/blog.md @@ -20,6 +20,7 @@ href="https://social.paritybit.ca/@jbauer">Mastodon</a>. ### 2020 <ul> + <li>2020-06-26 <a href="blog/use-syncthing-to-sync-things">Use Syncthing to Sync Things</a></li> <li>2020-06-26 <a href="blog/why-dwm-swallowing-cant-swallow-tmux">Why dwm's Window Swallowing Patch Can't Swallow tmux</a></li> <li>2020-06-23 <a href="blog/switching-to-debian-sid">Switching to Debian Sid</a></li> <li>2020-06-22 <a href="blog/my-lwn-theme">My LWN Theme</a></li> diff --git a/pages/blog/use-syncthing-to-sync-things.md b/pages/blog/use-syncthing-to-sync-things.md @@ -0,0 +1,68 @@ +## Use Syncthing to Sync Things + +[//]: # "During this round of reinstalling the operating systems on all of my computers, I wanted a more convenient way to transfer and share files between them. I chose Syncthing and have been loving it." + +[//]: # "main.min.css" + +[//]: # + +<div class="byline"> +<b>Written By:</b> Jake Bauer | + <b>Posted:</b> 2020-06-26 | + <b>Last Updated:</b> 2020-06-26 +</div> + +During this round of reinstalling the operating systems on all of my computers, +I wanted a more convenient way to transfer and share files between them. +Previously, I would transfer things like my KeepassXC databases using a USB +stick which was cumbersome. I also didn't want something like a NAS because I +don't want having a network connection to be a requirement to access my files. +That left me with the option of using some kind of synchronization application +where I'd have the files on every computer I own and they would be kept +constantly in sync with each other. + +I chose to use [Syncthing](https://syncthing.net/), a program designed for the +sole purpose of synchronizing files and folders between computers. It's somewhat +comparable to Dropbox, just way, way better and not proprietary, commercial +garbage. All that is needed to get Syncthing to work is to install the client +application on two or more computers and to connect the computers by entering +their IDs into each other and telling them where the other computer can be +found. + +Let me re-iterate: No complicated server setup, no account creation, no +interaction with an external service; just install a client, run through some +simple configuration, and that's it. + +<figure> + <a href="/img/syncthing-dashboard.png"><img + src="/img/syncthing-dashboard-thumb.png"/></a> <figcaption>The Syncthing + dashboard on one of my computers.</figcaption> +</figure> + +I entered my desktop's ID into my laptop and vice-versa. I told both computers +to find each other at `https://<hostname>.paritybit.ca:22000` (hooray for +internal DNS), and off they went synchronizing the ~13.5 GiB I wanted to share. +Now I have a copy of all of my important data including music, PDFs, +screenshots, Newsboat database, KeepassXC databases, and more on both computers. +As long as they're both on and awake at the same time, they'll keep in sync with +each other and I don't have to worry about manually syncing my files. + +If I wanted something analogous to Dropbox with its ability to synchronize using +the Internet, I could set up a server running the Syncthing client which +operates with access to the Internet that my computers would synchronize with. +As far as Syncthing is concerned, there's nothing special about this client; it +would just be another computer synchronizing files. Another option would be to +set up a relay server so the computers can find each other behind NAT setups and +such. The downside to the relay server is that it's definitely slower than the +direct connection by IP/FQDN. Besides, syncing over the LAN is good enough for +me. + +Syncthing is probably the most painless experience I've had synchronizing files +between my devices. As Nikita said in his [blog post about +Syncthing](https://tonsky.me/blog/syncthing/), "It brings the joy of use and +makes you believe the collapse of civilization can be slowed down a bit." + +_This is my fifty-fifth post for the +[#100DaysToOffload](https://social.paritybit.ca/tags/100DaysToOffload) +challenge. You can learn more about this challenge over at +[https://100daystooffload.com](https://100daystooffload.com)._ diff --git a/pages/home.md b/pages/home.md @@ -20,6 +20,8 @@ extent)! Access through `gopher://paritybit.ca` or `gemini://paritybit.ca`. src="/img/feed-icon.png" width="15" height="15" alt="Click for RSS Feed"/> </a> </div> +2020-06-26 <a class="feed-item" href="blog/use-syncthing-to-sync-things">Use Syncthing to Sync Things</a> + 2020-06-26 <a class="feed-item" href="blog/why-dwm-swallowing-cant-swallow-tmux">Why dwm's Window Swallowing Patch Can't Swallow tmux</a> 2020-06-23 <a class="feed-item" href="blog/switching-to-debian-sid">Switching to Debian Sid</a> @@ -37,8 +39,6 @@ extent)! Access through `gopher://paritybit.ca` or `gemini://paritybit.ca`. 2020-06-16 <a class="feed-item" href="blog/my-beginnings-with-gentoo">My Beginnings with Gentoo</a> 2020-06-15 <a class="feed-item" href="blog/my-new-t420s">My New T420s</a> - -2020-06-14 <a class="feed-item" href="blog/announcing-kontaktb">Announcing kontaktdb</a> ### What is a Parity Bit? It is a bit (in the 1's and 0's sense) used in checking for errors in digital diff --git a/pages/links.md b/pages/links.md @@ -120,6 +120,10 @@ A talk by Richard Stallman, the founder of the Free Software movement, on how free software leads to a free society. +* [Clean Coders Hate What Happens to Your Code When You Use These Enterprise Programming Tricks](https://www.youtube.com/watch?v=FyCYva9DhsI) - + Kevlin Henney talks about programming anti-patterns and cargo cult + programming. + ### Programming * [Computers Can Be Understood](https://blog.nelhage.com/post/computers-can-be-understood/) @@ -155,6 +159,10 @@ * [My favourite Git commit](https://dhwthompson.com/2019/my-favourite-git-commit) - A short story about a really good git commit. +* [General-purpose OS, special-purpose OS, and now: vendor-purpose OS](https://drewdevault.com/2020/06/26/Vendor-purpose-OS.html) - + We used to have OSes that would allow users to solve problems. Now we're + seeing a rise in OSes designed around what vendors will allow users to do. + #### Vim * [Vim anti-patterns](https://sanctum.geek.nz/arabesque/vim-anti-patterns/) - diff --git a/public/feeds/sitewide-feed.xml b/public/feeds/sitewide-feed.xml @@ -7,6 +7,30 @@ <description>The feed that covers all notable additions, updates, announcements, and other changes for the entire paritybit.ca website.</description> <item> + <title>Use Syncthing to Sync Things</title> + <link>https://www.paritybit.ca/blog/use-syncthing-to-sync-things</link> + <guid>https://www.paritybit.ca/blog/use-syncthing-to-sync-things</guid> + <pubDate>Fri, 26 Jun 2020 23:17:36 -0400</pubDate> + <description><![CDATA[<h2 id="use-syncthing-to-sync-things">Use Syncthing to Sync Things</h2> +<div class="byline"> +<p><b>Written By:</b> Jake Bauer | <b>Posted:</b> 2020-06-26 | <b>Last Updated:</b> 2020-06-26</p> +</div> +<p>During this round of reinstalling the operating systems on all of my computers, I wanted a more convenient way to transfer and share files between them. Previously, I would transfer things like my KeepassXC databases using a USB stick which was cumbersome. I also didn’t want something like a NAS because I don’t want having a network connection to be a requirement to access my files. That left me with the option of using some kind of synchronization application where I’d have the files on every computer I own and they would be kept constantly in sync with each other.</p> +<p>I chose to use <a href="https://syncthing.net/">Syncthing</a>, a program designed for the sole purpose of synchronizing files and folders between computers. It’s somewhat comparable to Dropbox, just way, way better and not proprietary, commercial garbage. All that is needed to get Syncthing to work is to install the client application on two or more computers and to connect the computers by entering their IDs into each other and telling them where the other computer can be found.</p> +<p>Let me re-iterate: No complicated server setup, no account creation, no interaction with an external service; just install a client, run through some simple configuration, and that’s it.</p> +<figure> +<a href="/img/syncthing-dashboard.png"><img + src="/img/syncthing-dashboard-thumb.png"/></a> +<figcaption> +The Syncthing dashboard on one of my computers. +</figcaption> +</figure> +<p>I entered my desktop’s ID into my laptop and vice-versa. I told both computers to find each other at <code>https://&lt;hostname&gt;.paritybit.ca:22000</code> (hooray for internal DNS), and off they went synchronizing the ~13.5 GiB I wanted to share. Now I have a copy of all of my important data including music, PDFs, screenshots, Newsboat database, KeepassXC databases, and more on both computers. As long as they’re both on and awake at the same time, they’ll keep in sync with each other and I don’t have to worry about manually syncing my files.</p> +<p>If I wanted something analogous to Dropbox with its ability to synchronize using the Internet, I could set up a server running the Syncthing client which operates with access to the Internet that my computers would synchronize with. As far as Syncthing is concerned, there’s nothing special about this client; it would just be another computer synchronizing files. Another option would be to set up a relay server so the computers can find each other behind NAT setups and such. The downside to the relay server is that it’s definitely slower than the direct connection by IP/FQDN. Besides, syncing over the LAN is good enough for me.</p> +<p>Syncthing is probably the most painless experience I’ve had synchronizing files between my devices. As Nikita said in his <a href="https://tonsky.me/blog/syncthing/">blog post about Syncthing</a>, “It brings the joy of use and makes you believe the collapse of civilization can be slowed down a bit.”</p> +<p><em>This is my fifty-fifth post for the <a href="https://social.paritybit.ca/tags/100DaysToOffload">#100DaysToOffload</a> challenge. You can learn more about this challenge over at <a href="https://100daystooffload.com">https://100daystooffload.com</a>.</em></p>]]></description> + </item> +<item> <title>Why dwm's Window Swallowing Patch Can't Swallow tmux</title> <link>https://www.paritybit.ca/blog/why-dwm-swallowing-cant-swallow-tmux</link> <guid>https://www.paritybit.ca/blog/why-dwm-swallowing-cant-swallow-tmux</guid> diff --git a/public/img/syncthing-dashboard-thumb.png b/public/img/syncthing-dashboard-thumb.png Binary files differ. diff --git a/public/img/syncthing-dashboard.png b/public/img/syncthing-dashboard.png Binary files differ. diff --git a/public/sitemap.xml b/public/sitemap.xml @@ -3,6 +3,7 @@ <url><loc>https://www.paritybit.ca</loc></url> <url><loc>https://www.paritybit.ca/home</loc></url> <url><loc>https://www.paritybit.ca/blog</loc></url> + <url><loc>https://www.paritybit.ca/blog/use-syncthing-to-sync-things</loc></url> <url><loc>https://www.paritybit.ca/blog/why-dwm-swallowing-cant-swallow-tmux</loc></url> <url><loc>https://www.paritybit.ca/blog/switching-to-debian-sid</loc></url> <url><loc>https://www.paritybit.ca/blog/my-lwn-theme</loc></url>