<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>cyberia</title>
    <link>https://blog.cyberia.club/cyberia/</link>
    <description>An account for the club to post official updates. Includes historical posts from previous blog</description>
    <pubDate>Fri, 03 Apr 2026 21:52:08 +0000</pubDate>
    <item>
      <title>Capsul Maintenance Upgrades</title>
      <link>https://blog.cyberia.club/cyberia/capsul-maintenance-upgrades</link>
      <description>&lt;![CDATA[---&#xA;Imported from https://cyberia.club/blog&#xA;Originally published: 2021-12-17&#xA;---&#xA;&#xA;rumors of my demise have been greatly exaggerated&#xA;&#xA;Forest                                         2021-12-17&#xA;&#xA;                     WHAT IS THIS?&#xA;&#xA;If you&#39;re a wondering &#34;what is capsul?&#34;, see:&#xA;&#xA;https://capsul.org&#xA;&#xA;Here&#39;s a quick summary of what&#39;s in this post:&#xA;&#xA;cryptocurrency payments are back&#xA;&#xA;we visited the server in person for maintenance&#xA;&#xA;most capsuls disks should have trim/discard support &#xA; now, so you can run the fstrim command to optimize&#xA; your capsul&#39;s disk. (please do this, it will save us&#xA; a lot of disk space!!)&#xA;&#xA;we updated most of our operating system images and&#xA; added a new rocky linux image!&#xA;&#xA;potential ideas for future development on capsul&#xA;&#xA;exciting news about a new server and a new capsul fork &#xA; being developed by co-op cloud / servers.coop&#xA;&#xA;                        ~&#xA;&#xA;  WHAT HAPPENED TO THE CRYPTOCURRENCY PAYMENT OPTION?&#xA;&#xA;Life happens. Cyberia Computer Club has been hustling&#xA;and bustling to build out our new in-person space in&#xA;Minneapolis, MN: &#xA;&#xA;https://wiki.cyberia.club/hypha/cyberiahq/faq&#xA;&#xA;Hackerspace, lab, clubhouse, we aren&#39;t sure what to call &#xA;it yet, but we&#39;re extremely excited to finish with the &#xA;renovations and move in!&#xA;&#xA;In the meantime, something went wrong with the physical&#xA;machine hosting our BTCPay server and we didn&#39;t have &#xA;anywhere convenient to move it, nor time to replace it,&#xA;so we simply disabled cryptocurrency payments &#xA;temporarily in September 2021. &#xA;&#xA;Many of yall have emailed us asking &#34;what gives??&#34;, &#xA;and I&#39;m glad to finally be able to announce that &#xA;&#xA;&#34;the situation has been dealt with&#34;,&#xA;&#xA;we have a brand new server and the blockchain syncing&#xA;process is complete, cryptocurrency payments in bitcoin, &#xA;litecoin, and monero are back online now!&#xA;&#xA;    --  https://capsul.org/payment/btcpay   &lt;--&#xA;&#xA;                        ~&#xA;&#xA;  THAT ONE TIME CAPSUL WAS ALMOST fsync()&#39;d TO DEATH&#xA;&#xA;Guess what? Yall loved capsul so much, you wore our disks &#xA;out. Well, almost.&#xA;&#xA;We use redundant solid state disks + the ZFS file system&#xA;for your capsul&#39;s block storage needs, and it turns out &#xA;that some of our users like to write files. A lot. &#xA;&#xA;Over time, SSDs will wear out, mostly dependent on how &#xA;many writes hit the disk. Baikal, the server behind &#xA;capsul.org, is a bit different from a typical desktop&#xA;computer, as it hosts about 100 virtual machines, each &#xA;with thier own list of application processes, for over 50 &#xA;individual capsul users, each of whom may be providing &#xA;services to many other individuals in turn.&#xA;&#xA;The disk-wear-out situation was exacerbated by our &#xA;geographical separation from the server; we live in &#xA;Minneapolis, MN, but the server is in Georgia. We wanted &#xA;to install NVME drives to expand our storage capacity &#xA;ahead of growing demand, but when we would mail PCI-e to &#xA;NVME adapters to CyberWurx, our datacenter colocation &#xA;provider, they kept telling us the adapter didn&#39;t fit &#xA;inside the 1U chassis of the server.&#xA;&#xA;At one point, we were forced to take a risk and undo the &#xA;redundancy of the disks in order to expand our storage &#xA;capacity and prevent &#34;out of disk space&#34; errors from &#xA;crashing your capsuls. It was a calculated risk, trading&#xA;certain doom now for the potential possibility of doom &#xA;later.&#xA;&#xA;Well, time passed while we were busy with other projects,&#xA;and those non-redundant disks started wearing out. &#xA;According to the &#34;smartmon&#34; monitoring indicator, they &#xA;reached about 25% lifespan remaining. Once the disk &#xA;theoretically hit 0%, it would become read-only in order &#xA;to protect itself from total data loss. &#xA;So we had to replace them before that happened. &#xA;&#xA;https://picopublish.sequentialread.com/files/smartmondec2021.png&#xA;&#xA;We were so scared of what could happen if we slept on &#xA;this that we booked a flight to Atlanta for maintenance.&#xA;We wanted to replace the disks in person, and ensure we &#xA;could restore the ZFS disk mirroring feature.&#xA;&#xA;We even custom 3d-printed a bracket for the tiny PCI-e &#xA;NVME drive that we needed in order to restore redundancy&#xA;for the disks, just to make 100% sure that the &#xA;maintenance we were doing would succeed &amp; maintain&#xA;stability for everyone who has placed thier trust in us &#xA;and voted with thier shells, investing thier time and &#xA;money on virtual machines that we maintain on a volunteer&#xA;basis.&#xA;&#xA;https://picopublish.sequentialread.com/files/silly-nvme-bracket2.jpg&#xA;&#xA;Unfortunately, &#34;100% sure&#34; was still not good enough, &#xA;the new NVME drive didn&#39;t work as a ZFS mirroring partner&#xA;at first ⁠— the existing NVME drive was 951GB, and the &#xA;one we had purchased was 931GB. It was too small and ZFS&#xA;would not accept that. f0x suggested:&#xA;&#xA;  [you could] start a new pool on the new disk, &#xA;  zfs send all the old data over, then have an &#xA;  equally sized partition on the old disk then add &#xA;  that to the mirror&#xA;&#xA;But we had no idea how to do that exactly or how long it &#xA;would take &amp; we didn&#39;t want to change the plan at the &#xA;last second, so instead we ended up taking the train from&#xA;the datacenter to Best Buy to buy a new disk instead.&#xA;&#xA;The actual formatted sizes of these drives are typically &#xA;never printed on the packaging or even mentioned on PDF&#xA;datasheets online. When I could find an actual number&#xA;for a model, it was always the lower 931GB.&#xA;So, we ended up buying a &#34;2TB&#34; drive as it was the only&#xA;one BestBuy had which we could guarantee would work.&#xA;&#xA;So, lesson learned the hard way. If you want to use ZFS &#xA;mirroring and maybe replace a drive later, make sure to&#xA;choose a fixed partition size which is slightly smaller &#xA;than the typical avaliable space on the size of drive &#xA;you&#39;re using, in case the replacement drive was &#xA;manufactured with slightly less avaliable formatted &#xA;space!!!&#xA;&#xA;Once mirroring was restored, we made sure to test it&#xA;in practice by carefully removing a disk from the server &#xA;while it&#39;s running:&#xA;&#xA;https://picopublish.sequentialread.com/files/zfsdiskreplacement/&#xA;&#xA;While we could have theoretically done this maintenance &#xA;remotely with the folks at CyberWurx performing the &#xA;physical parts replacement per a ticket we open with &#xA;them, we wanted to be sure we could meet the timeline&#xA;that the disks had set for US. That&#39;s no knock on &#xA;CyberWurx, moreso a knock on us for yolo-ing this server &#xA;into &#34;production&#34; with tape and no test environment :D&#xA;&#xA;The reality is we are vounteer supported. Right now&#xA;the payments that the club receives from capusl users &#xA;don&#39;t add up to enough to compensate (make ends meet for) &#xA;your average professional software developer or sysadmin,&#xA;at least if local tech labor market stats are to be &#xA;believed.&#xA;&#xA;We are all also working on other things, we can&#39;t devote&#xA;all of our time to capsul. But we do care about capsul,&#xA;we want our service to live, mostly because we use it &#xA;ourselves, but also because the club benefits from it.&#xA;&#xA;We want it to be easy and fun to use, while also staying &#xA;easy and fun to maintain. A system that&#39;s agressively&#xA;maintained will be a lot more likely to remain maintained &#xA;when it&#39;s no one&#39;s job to come in every weekday for that.&#xA;&#xA;That&#39;s why we also decided to upgrade to the latest &#xA;stable Debian major version on baikal while we were&#xA;there. We encountered no issues during the upgrade &#xA;besides a couple of initial omissions in our package &#xA;source lists. The installer also notified us of several&#xA;configuration files we had modified, presenting us with&#xA;a git-merge-ish interface that displayed diffs and &#xA;allowed us to decide to keep our changes, replace our&#xA;file with the new version, or merge the two manually.&#xA;&#xA;I can&#39;t speak more accurately about it than that, as&#xA;j3s did this part and I just watched :)&#xA;&#xA;                        ~&#xA;&#xA;               LOOKING TO THE FUTURE&#xA;&#xA;We wanted to upgrade to this new Debian version because&#xA;it had a new major version of QEMU, supporting virtio-blk&#xA;storage devices that can pass-through file system discard &#xA;commands to the host operating system.&#xA;&#xA;We didn&#39;t see any benefits right away, as the vms &#xA;stayed defined in libvirt as their original machine types,&#xA;either pc-i440fx-3.1 or a type from the pc-q35 family.&#xA;&#xA;After returning home, we noticed that when we created &#xA;a new capsul, it would come up as the pc-i440fx-5.2 &#xA;machine type and the main disk on the guest would display &#xA;discard support in the form of a non-zero DISC-MAX size &#xA;displayed by the lsblk -D command:&#xA;&#xA;localhost:~# sudo lsblk -D&#xA;NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO&#xA;sr0         0        0B       0B         0&#xA;vda       512      512B       2G         0&#xA;&#xA;Most of our capsuls were pc-i440fx ones, and we upgraded &#xA;them to pc-i440fx-5.2, which finally got discards working &#xA;for the grand majority of capsuls.&#xA;&#xA;If you see discard settings like that on your capsul,&#xA;you should also be able to run fstrim -v / on your &#xA;capsul which saves us disk space on baikal:&#xA;&#xA;welcome, cyberian ^(;,;)^&#xA;your machine awaits&#xA;&#xA;localhost:~# sudo lsblk -D&#xA;NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO&#xA;sr0         0        0B       0B         0&#xA;vda       512      512B       2G         0&#xA;&#xA;localhost:~# sudo fstrim -v /&#xA;/: 15.1 GiB (16185487360 bytes) trimmed&#xA;&#xA;^ Please do this if you are able to!&#xA;&#xA;You might also be able to enable an fstrim service or&#xA;timer which will run fstrim to clean up and optimize &#xA;your disk periodically.&#xA;&#xA;However, some of the older vms were the pc-q35 family of &#xA;QEMU machine type, and while I was able to get one of &#xA;ours to upgrade to pc-i440fx-5.2, discard support still &#xA;did not show up in the guest OS. We&#39;re not sure what&#39;s&#xA;happening there yet.&#xA;&#xA;We also improved capsul&#39;s monitoring features; we began&#xA;work on proper infrastructure-as-code-style diffing &#xA;functionality, so we get notified if any key aspects of&#xA;your capsuls are out of whack. In the past this had been&#xA;an issue, with DHCP leases expiring during maintenance&#xA;downtimes and capsuls stealing each-others assigned IP &#xA;addresses when we turn everything back on. &#xA;&#xA;capsul-flask now also includes an admin panel with &#xA;1-click-fix actions built in, leveraging this data: &#xA;&#xA;https://git.cyberia.club/cyberia/capsul-flask/src/commit/b013f9c9758f2cc062f1ecefc4d7deef3aa484f2/capsulflask/admin.py#L36-L202&#xA;&#xA;https://picopublish.sequentialread.com/files/admin-panel.jpg&#xA;&#xA;I acknowledge that this is a bit of a silly system,&#xA;but it&#39;s an artifact of how we do what we do. Capsul&#xA;is always changing and evolving, and the web app was &#xA;built on the idea of simply &#34;providing a button for&#34; &#xA;any manual action that would have to be taken, &#xA;either by a user or by an admin. &#xA;&#xA;At one point, back when capsul was called &#34;cvm&#34;,&#xA;everything was done by hand over email and the &#xA;commandline, so of course anything that reduced the &#xA;amount of manual administration work was welcome, &#xA;and we are still working on that today.&#xA;&#xA;When we build new UIs and prototype features, we learn &#xA;more about how our system works, we expand what&#39;s &#xA;possible for capsul, and we come up with new ways to &#xA;organize data and intelligently direct the venerable &#xA;virtualization software our service is built on. &#xA;&#xA;I think that&#39;s what the &#34;agile development&#34; buzzword from&#xA;professional software development circles was supposed to&#xA;be about: freedom to experiment means better designs &#xA;because we get the opportunity to experience some of the &#xA;consequences before we fully commit to any specific &#xA;design. A touch of humility and flexibility goes a &#xA;long way in my opinion.&#xA;&#xA;We do have a lot of ideas about how to continue &#xA;making capsul easier for everyone involved, things&#xA;like:&#xA;&#xA;Metered billing w/ stripe, so you get a monthly bill &#xA;   with auto-pay to your credit card, and you only pay &#xA;   for the resources you use, similar to what service &#xA;   providers like Backblaze do.&#xA;&#xA;   (Note: of course we would also allow you to &#xA;   pre-pay with cryptocurrency if you wish)&#xA;&#xA;Looking into rewrite options for some parts of the &#xA;   system: perhaps driving QEMU from capsul-flask &#xA;   directly instead of going through libvirt,&#xA;   and perhaps rewriting the web application in golang&#xA;   instead of sticking with flask.&#xA;&#xA;JSON API designed to make it easier to manage capsuls&#xA;   in code, scripts, or with an infrastructure-as-code &#xA;   tool like Terraform.&#xA;&#xA;IO throttling your vms:&#xA;   As I mentioned before, the vms wear out the disks &#xA;   fast. We had hoped that enabling discards would help&#xA;   with this, but it appears that it hasn&#39;t done much&#xA;   to decrease the growth rate of the smartmon wearout&#xA;   indicator metric. &#xA;   So, most likely we will have to enforce some form of &#xA;   limit on the amount of disk writes your capsul can&#xA;   perform while it&#39;s running day in and day out. &#xA;   80-90% of capsul users will never see this limit,&#xA;   but our heaviest writers will be required to either&#xA;   change thier software so it writes less, or pay more&#xA;   money for service. In any case, we&#39;ll send you a&#xA;   warning email long before we throttle your capsul&#39;s&#xA;   disk.&#xA;  &#xA;&#xA;And last but not least, Cybera Computer Club Congress&#xA;voted to use a couple thousand of the capsulbux we&#39;ve &#xA;recieved in payment to purchase a new server, allowing &#xA;us to expand the service ahead of demand and improve our &#xA;processes all the way from hardware up. &#xA;&#xA;(No tape this time!)&#xA;&#xA;https://picopublish.sequentialread.com/files/baikal2&#xA;&#xA;Shown: Dell PowerEdge R640 1U server with two &#xA;10-core xeon silver 4114 processors and 256GB of RAM.&#xA;(Upgradable to 768GB!!)&#xA;&#xA;                        ~&#xA;&#xA;                    CAN I HELP?&#xA;&#xA;Yes! We are not the only ones working on capsul these &#xA;days. For example, another group, https://coopcloud.tech&#xA;has forked capsul-flask and set up thier own instance at&#xA;&#xA;https://yolo.servers.coop&#xA;&#xA;Thier source code repository is here &#xA;(not sure this is the right one):&#xA;&#xA;https://git.autonomic.zone/3wordchant/capsul-flask&#xA;&#xA;Having more people setting up instances of capsul-flask&#xA;really helps us, whether folks are simply testing or &#xA;aiming to run it in production like we do.&#xA;&#xA;Unfortunately we don&#39;t have a direct incentive to&#xA;work on making capsul-flask easier to set up until folks&#xA;ask us how to do it. Autonomic helped us a lot as they &#xA;made thier way through our terrible documentation and &#xA;asked for better organization / clarification along the &#xA;way, leading to much more expansive and organized README &#xA;files.&#xA;&#xA;They also gave a great shove in the right direction when&#xA;they decided to contribute most of a basic automated &#xA;testing implementation and the beginnings of a JSON API &#xA;at the same time. They are building a command line tool&#xA;called abra that can create capsuls upon the users &#xA;request, as well as many other things like installing&#xA;applications. I think it&#39;s very neat :)&#xA;&#xA;Also, just donating or using the service helps support &#xA;cyberia.club, both in terms of maintaing capsul.org and&#xA;reaching out and supporting our local community. &#xA;&#xA;We accept donations via either a credit card (stripe)&#xA;or in Bitcoin, Litecoin, or Monero via our BTCPay server:&#xA;&#xA;https://cyberia.club/donate&#xA;&#xA;For the capsul source code, navigate to:&#xA;&#xA;https://git.cyberia.club/cyberia/capsul-flask&#xA;&#xA;As always, you may contact us at:&#xA;&#xA;mailto:support@cyberia.club&#xA;&#xA;Or on matrix:&#xA;  &#xA;services:cyberia.club&#xA;&#xA;For information on what matrix chat is and how to use it,&#xA;see: https://cyberia.club/matrix&#xA;&#xA;Forest                                         2021-12-17&#xA;&#xA;(c) Attribution-ShareAlike 4.0 International&#xD;&#xA;    Cyberia Computer Club 2020-∞]]&gt;</description>
      <content:encoded><![CDATA[<hr>

<p>Imported from <a href="https://cyberia.club/blog" rel="nofollow">https://cyberia.club/blog</a>
Originally published: 2021-12-17</p>

<hr>

<p>rumors of my demise have been greatly exaggerated</p>

<p>Forest                                         2021-12-17</p>

<p>                     WHAT IS THIS?</p>

<p>If you&#39;re a wondering “what is capsul?”, see:</p>

<p><a href="https://capsul.org" rel="nofollow">https://capsul.org</a></p>

<p>Here&#39;s a quick summary of what&#39;s in this post:</p>
<ul><li><p>cryptocurrency payments are back</p></li>

<li><p>we visited the server in person for maintenance</p></li>

<li><p>most capsuls disks should have trim/discard support
now, so you can run the fstrim command to optimize
your capsul&#39;s disk. (please do this, it will save us
a lot of disk space!!)</p></li>

<li><p>we updated most of our operating system images and
added a new rocky linux image!</p></li>

<li><p>potential ideas for future development on capsul</p></li>

<li><p>exciting news about a new server and a new capsul fork
being developed by co-op cloud / servers.coop</p>

<p>                    ~</p></li></ul>

<p>  WHAT HAPPENED TO THE CRYPTOCURRENCY PAYMENT OPTION?</p>

<p>Life happens. Cyberia Computer Club has been hustling
and bustling to build out our new in-person space in
Minneapolis, MN:</p>

<p><a href="https://wiki.cyberia.club/hypha/cyberia_hq/faq" rel="nofollow">https://wiki.cyberia.club/hypha/cyberia_hq/faq</a></p>

<p>Hackerspace, lab, clubhouse, we aren&#39;t sure what to call
it yet, but we&#39;re extremely excited to finish with the
renovations and move in!</p>

<p>In the meantime, something went wrong with the physical
machine hosting our BTCPay server and we didn&#39;t have
anywhere convenient to move it, nor time to replace it,
so we simply disabled cryptocurrency payments
temporarily in September 2021.</p>

<p>Many of yall have emailed us asking “what gives??”,
and I&#39;m glad to finally be able to announce that</p>

<p>“the situation has been dealt with”,</p>

<p>we have a brand new server and the blockchain syncing
process is complete, cryptocurrency payments in bitcoin,
litecoin, and monero are back online now!</p>

<p>    —&gt;   <a href="https://capsul.org/payment/btcpay" rel="nofollow">https://capsul.org/payment/btcpay</a>   &lt;—</p>

<p>                        ~</p>

<p>  THAT ONE TIME CAPSUL WAS ALMOST fsync()&#39;d TO DEATH</p>

<p>Guess what? Yall loved capsul so much, you wore our disks
out. Well, almost.</p>

<p>We use redundant solid state disks + the ZFS file system
for your capsul&#39;s block storage needs, and it turns out
that some of our users like to write files. A lot.</p>

<p>Over time, SSDs will wear out, mostly dependent on how
many writes hit the disk. Baikal, the server behind
capsul.org, is a bit different from a typical desktop
computer, as it hosts about 100 virtual machines, each
with thier own list of application processes, for over 50
individual capsul users, each of whom may be providing
services to many other individuals in turn.</p>

<p>The disk-wear-out situation was exacerbated by our
geographical separation from the server; we live in
Minneapolis, MN, but the server is in Georgia. We wanted
to install NVME drives to expand our storage capacity
ahead of growing demand, but when we would mail PCI-e to
NVME adapters to CyberWurx, our datacenter colocation
provider, they kept telling us the adapter didn&#39;t fit
inside the 1U chassis of the server.</p>

<p>At one point, we were forced to take a risk and undo the
redundancy of the disks in order to expand our storage
capacity and prevent “out of disk space” errors from
crashing your capsuls. It was a calculated risk, trading
certain doom now for the potential possibility of doom
later.</p>

<p>Well, time passed while we were busy with other projects,
and those non-redundant disks started wearing out.
According to the “smartmon” monitoring indicator, they
reached about 25% lifespan remaining. Once the disk
theoretically hit 0%, it would become read-only in order
to protect itself from total data loss.
So we had to replace them before that happened.</p>

<p><a href="https://picopublish.sequentialread.com/files/smartmon_dec2021.png" rel="nofollow">https://picopublish.sequentialread.com/files/smartmon_dec2021.png</a></p>

<p>We were so scared of what could happen if we slept on
this that we booked a flight to Atlanta for maintenance.
We wanted to replace the disks in person, and ensure we
could restore the ZFS disk mirroring feature.</p>

<p>We even custom 3d-printed a bracket for the tiny PCI-e
NVME drive that we needed in order to restore redundancy
for the disks, just to make 100% sure that the
maintenance we were doing would succeed &amp; maintain
stability for everyone who has placed thier trust in us
and voted with thier shells, investing thier time and
money on virtual machines that we maintain on a volunteer
basis.</p>

<p><a href="https://picopublish.sequentialread.com/files/silly-nvme-bracket2.jpg" rel="nofollow">https://picopublish.sequentialread.com/files/silly-nvme-bracket2.jpg</a></p>

<p>Unfortunately, “100% sure” was still not good enough,
the new NVME drive didn&#39;t work as a ZFS mirroring partner
at first ⁠— the existing NVME drive was 951GB, and the
one we had purchased was 931GB. It was too small and ZFS
would not accept that. f0x suggested:</p>

<blockquote><p>[you could] start a new pool on the new disk,
zfs send all the old data over, then have an
equally sized partition on the old disk then add
that to the mirror</p></blockquote>

<p>But we had no idea how to do that exactly or how long it
would take &amp; we didn&#39;t want to change the plan at the
last second, so instead we ended up taking the train from
the datacenter to Best Buy to buy a new disk instead.</p>

<p>The actual formatted sizes of these drives are typically
never printed on the packaging or even mentioned on PDF
datasheets online. When I could find an actual number
for a model, it was always the lower 931GB.
So, we ended up buying a “2TB” drive as it was the only
one BestBuy had which we could guarantee would work.</p>

<p>So, lesson learned the hard way. If you want to use ZFS
mirroring and maybe replace a drive later, make sure to
choose a fixed partition size which is slightly smaller
than the typical avaliable space on the size of drive
you&#39;re using, in case the replacement drive was
manufactured with slightly less avaliable formatted
space!!!</p>

<p>Once mirroring was restored, we made sure to test it
in practice by carefully removing a disk from the server
while it&#39;s running:</p>

<p><a href="https://picopublish.sequentialread.com/files/zfs_disk_replacement/" rel="nofollow">https://picopublish.sequentialread.com/files/zfs_disk_replacement/</a></p>

<p>While we could have theoretically done this maintenance
remotely with the folks at CyberWurx performing the
physical parts replacement per a ticket we open with
them, we wanted to be sure we could meet the timeline
that the disks had set for <strong>US</strong>. That&#39;s no knock on
CyberWurx, moreso a knock on us for yolo-ing this server
into “production” with tape and no test environment :D</p>

<p>The reality is we are vounteer supported. Right now
the payments that the club receives from capusl users
don&#39;t add up to enough to compensate (make ends meet for)
your average professional software developer or sysadmin,
at least if local tech labor market stats are to be
believed.</p>

<p>We are all also working on other things, we can&#39;t devote
all of our time to capsul. But we do care about capsul,
we want our service to live, mostly because we use it
ourselves, but also because the club benefits from it.</p>

<p>We want it to be easy and fun to use, while also staying
easy and fun to maintain. A system that&#39;s agressively
maintained will be a lot more likely to remain maintained
when it&#39;s no one&#39;s job to come in every weekday for that.</p>

<p>That&#39;s why we also decided to upgrade to the latest
stable Debian major version on baikal while we were
there. We encountered no issues during the upgrade
besides a couple of initial omissions in our package
source lists. The installer also notified us of several
configuration files we had modified, presenting us with
a git-merge-ish interface that displayed diffs and
allowed us to decide to keep our changes, replace our
file with the new version, or merge the two manually.</p>

<p>I can&#39;t speak more accurately about it than that, as
j3s did this part and I just watched :)</p>

<p>                        ~</p>

<p>               LOOKING TO THE FUTURE</p>

<p>We wanted to upgrade to this new Debian version because
it had a new major version of QEMU, supporting virtio-blk
storage devices that can pass-through file system discard
commands to the host operating system.</p>

<p>We didn&#39;t see any benefits right away, as the vms
stayed defined in libvirt as their original machine types,
either pc-i440fx-3.1 or a type from the pc-q35 family.</p>

<p>After returning home, we noticed that when we created
a new capsul, it would come up as the pc-i440fx-5.2
machine type and the main disk on the guest would display
discard support in the form of a non-zero DISC-MAX size
displayed by the <code>lsblk -D</code> command:</p>

<p>localhost:~# sudo lsblk -D
NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
sr0         0        0B       0B         0
vda       512      512B       2G         0</p>

<p>Most of our capsuls were pc-i440fx ones, and we upgraded
them to pc-i440fx-5.2, which finally got discards working
for the grand majority of capsuls.</p>

<p>If you see discard settings like that on your capsul,
you should also be able to run <code>fstrim -v /</code> on your
capsul which saves us disk space on baikal:</p>

<p>welcome, cyberian ^(;,;)^
your machine awaits</p>

<p>localhost:~# sudo lsblk -D
NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
sr0         0        0B       0B         0
vda       512      512B       2G         0</p>

<p>localhost:~# sudo fstrim -v /
/: 15.1 GiB (16185487360 bytes) trimmed</p>

<p>^ Please do this if you are able to!</p>

<p>You might also be able to enable an fstrim service or
timer which will run fstrim to clean up and optimize
your disk periodically.</p>

<p>However, some of the older vms were the pc-q35 family of
QEMU machine type, and while I was able to get one of
ours to upgrade to pc-i440fx-5.2, discard support still
did not show up in the guest OS. We&#39;re not sure what&#39;s
happening there yet.</p>

<p>We also improved capsul&#39;s monitoring features; we began
work on proper infrastructure-as-code-style diffing
functionality, so we get notified if any key aspects of
your capsuls are out of whack. In the past this had been
an issue, with DHCP leases expiring during maintenance
downtimes and capsuls stealing each-others assigned IP
addresses when we turn everything back on.</p>

<p>capsul-flask now also includes an admin panel with
1-click-fix actions built in, leveraging this data:</p>

<p><a href="https://git.cyberia.club/cyberia/capsul-flask/src/commit/b013f9c9758f2cc062f1ecefc4d7deef3aa484f2/capsulflask/admin.py#L36-L202" rel="nofollow">https://git.cyberia.club/cyberia/capsul-flask/src/commit/b013f9c9758f2cc062f1ecefc4d7deef3aa484f2/capsulflask/admin.py#L36-L202</a></p>

<p><a href="https://picopublish.sequentialread.com/files/admin-panel.jpg" rel="nofollow">https://picopublish.sequentialread.com/files/admin-panel.jpg</a></p>

<p>I acknowledge that this is a bit of a silly system,
but it&#39;s an artifact of how we do what we do. Capsul
is always changing and evolving, and the web app was
built on the idea of simply “providing a button for”
any manual action that would have to be taken,
either by a user or by an admin.</p>

<p>At one point, back when capsul was called “cvm”,
<em>everything</em> was done by hand over email and the
commandline, so of course anything that reduced the
amount of manual administration work was welcome,
and we are still working on that today.</p>

<p>When we build new UIs and prototype features, we learn
more about how our system works, we expand what&#39;s
possible for capsul, and we come up with new ways to
organize data and intelligently direct the venerable
virtualization software our service is built on.</p>

<p>I think that&#39;s what the “agile development” buzzword from
professional software development circles was supposed to
be about: freedom to experiment means better designs
because we get the opportunity to experience some of the
consequences before we fully commit to any specific
design. A touch of humility and flexibility goes a
long way in my opinion.</p>

<p>We do have a lot of ideas about how to continue
making capsul easier for everyone involved, things
like:</p>
<ol><li>Metered billing w/ stripe, so you get a monthly bill
with auto-pay to your credit card, and you only pay
for the resources you use, similar to what service
providers like Backblaze do.</li></ol>

<p>   (Note: of course we would also allow you to
   pre-pay with cryptocurrency if you wish)</p>
<ol><li><p>Looking into rewrite options for some parts of the
system: perhaps driving QEMU from capsul-flask
directly instead of going through libvirt,
and perhaps rewriting the web application in golang
instead of sticking with flask.</p></li>

<li><p>JSON API designed to make it easier to manage capsuls
in code, scripts, or with an infrastructure-as-code
tool like Terraform.</p></li>

<li><p>IO throttling your vms:
As I mentioned before, the vms wear out the disks
fast. We had hoped that enabling discards would help
with this, but it appears that it hasn&#39;t done much
to decrease the growth rate of the smartmon wearout
indicator metric.
So, most likely we will have to enforce some form of
limit on the amount of disk writes your capsul can
perform while it&#39;s running day in and day out.
80-90% of capsul users will never see this limit,
but our heaviest writers will be required to either
change thier software so it writes less, or pay more
money for service. In any case, we&#39;ll send you a
warning email long before we throttle your capsul&#39;s
disk.</p></li></ol>

<p>And last but not least, Cybera Computer Club Congress
voted to use a couple thousand of the capsulbux we&#39;ve
recieved in payment to purchase a new server, allowing
us to expand the service ahead of demand and improve our
processes all the way from hardware up.</p>

<p>(No tape this time!)</p>

<p><a href="https://picopublish.sequentialread.com/files/baikal2" rel="nofollow">https://picopublish.sequentialread.com/files/baikal2</a></p>

<p>Shown: Dell PowerEdge R640 1U server with two
10-core xeon silver 4114 processors and 256GB of RAM.
(Upgradable to 768GB!!)</p>

<p>                        ~</p>

<p>                    CAN I HELP?</p>

<p>Yes! We are not the only ones working on capsul these
days. For example, another group, <a href="https://coopcloud.tech" rel="nofollow">https://coopcloud.tech</a>
has forked capsul-flask and set up thier own instance at</p>

<p><a href="https://yolo.servers.coop" rel="nofollow">https://yolo.servers.coop</a></p>

<p>Thier source code repository is here
(not sure this is the right one):</p>

<p><a href="https://git.autonomic.zone/3wordchant/capsul-flask" rel="nofollow">https://git.autonomic.zone/3wordchant/capsul-flask</a></p>

<p>Having more people setting up instances of capsul-flask
really helps us, whether folks are simply testing or
aiming to run it in production like we do.</p>

<p>Unfortunately we don&#39;t have a direct incentive to
work on making capsul-flask easier to set up until folks
ask us how to do it. Autonomic helped us a lot as they
made thier way through our terrible documentation and
asked for better organization / clarification along the
way, leading to much more expansive and organized README
files.</p>

<p>They also gave a great shove in the right direction when
they decided to contribute most of a basic automated
testing implementation and the beginnings of a JSON API
at the same time. They are building a command line tool
called abra that can create capsuls upon the users
request, as well as many other things like installing
applications. I think it&#39;s very neat :)</p>

<p>Also, just donating or using the service helps support
cyberia.club, both in terms of maintaing capsul.org and
reaching out and supporting our local community.</p>

<p>We accept donations via either a credit card (stripe)
or in Bitcoin, Litecoin, or Monero via our BTCPay server:</p>

<p><a href="https://cyberia.club/donate" rel="nofollow">https://cyberia.club/donate</a></p>

<p>For the capsul source code, navigate to:</p>

<p><a href="https://git.cyberia.club/cyberia/capsul-flask" rel="nofollow">https://git.cyberia.club/cyberia/capsul-flask</a></p>

<p>As always, you may contact us at:</p>

<p>mailto:support@cyberia.club</p>

<p>Or on matrix:</p>

<p><a href="/cyberia/tag:services" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">services</span></a>:cyberia.club</p>

<p>For information on what matrix chat is and how to use it,
see: <a href="https://cyberia.club/matrix" rel="nofollow">https://cyberia.club/matrix</a></p>

<p>Forest                                         2021-12-17</p>

<p>© Attribution-ShareAlike 4.0 International
    Cyberia Computer Club 2020-∞</p>
]]></content:encoded>
      <guid>https://blog.cyberia.club/cyberia/capsul-maintenance-upgrades</guid>
      <pubDate>Fri, 17 Dec 2021 23:13:04 +0000</pubDate>
    </item>
    <item>
      <title>COVIDaware MN app investigation</title>
      <link>https://blog.cyberia.club/cyberia/covidaware-mn-app-investigation</link>
      <description>&lt;![CDATA[                   COVIDaware MN app investigation&#xA;&#xA;---&#xA;Imported from https://cyberia.club/blog&#xA;Originally published: 2020-11-27&#xA;---&#xA;&#xA;starless                                    2020-11-27&#xA;&#xA;        Greetings to Netizens and Minnesotans!&#xA;&#xA;It&#39;s your friendly neighborhood Cyberians here with an&#xA;update on the new COVIDaware app as announced by the&#xA;Governor.&#xA;&#xA;You might be wondering: &#34;Hey, how bullshit is this app?&#xA;Will it track me when I sleep, will it tell the cops&#xA;where I am for no good reason, will it take my firstborn&#xA;son?&#34;&#xA;&#xA;We were wondering these things, too. We&#39;re hard at work&#xA;finding answers to all these questions and more, and due&#xA;to the urgent nature of the pandemic, wanted to give you&#xA;an update.&#xA;&#xA;Recently, the state of Minnesota released an app to help&#xA;manage COVID-19 contact tracing, The COVIDaware MN app is&#xA;based on an open source foss app for something called&#xA;&#39;contact tracing&#39;, which helps people backtrack the&#xA;places they&#39;ve been in the last two weeks, should they&#xA;later learn that they were contagious but pre-symptomatic&#xA;for COVID-19. Due to the delicate nature of this sort of&#xA;app, we reached out to the folks who wrote the open&#xA;source app that COVIDaware MN is based on, and got a&#xA;handful of helpful replies back.[1] We also reached out&#xA;to the state of Minnesota, but haven&#39;t gotten a response&#xA;yet.[2]&#xA;&#xA;The app that COVIDaware is based on is very&#xA;privacy-friendly and the company behind it seems to have&#xA;good values, but we still don&#39;t know exactly how much&#xA;that source code was customized before it was released&#xA;for use by Minnesotans.  It&#39;s likely that the state&#39;s IT&#xA;folks just added the appropriate assets to customize&#xA;links to the local health department and that sort of&#xA;thing, but we won&#39;t know that for sure without a response&#xA;to our inquiry. There&#39;s a chance they&#39;ve inadvertently&#xA;done more than that, too-- we&#39;d love to read over the&#xA;source code and check the modifications the state of&#xA;Minnesota made to the FOSS base app.&#xA;&#xA;We&#39;ll let you know when we hear back from the state, but&#xA;for now, the base app looks very promising.&#xA;&#xA;Additionally, should it become feasible (likely dependent&#xA;on the state of Minnesota releasing the source code for&#xA;the app), we&#39;re already hoping to be an alternative&#xA;source for the official app, should you prefer something&#xA;that&#39;s built on hardware not managed by the state of&#xA;Minnesota.&#xA;&#xA;We hope to hear back from our fair state government soon,&#xA;and until then, wish you all a warm &amp; safe holiday season!&#xA;&#xA;[1]:&#xA;https://lists.cyberia.club/~cyberia/etc/%3Cfa938b37178d184b7367d33db83ec4f3%40c3f.net%3E&#xA;[2]:&#xA;https://lists.cyberia.club/~cyberia/etc/%3C597a7c3d-2be8-ba0a-dd89-f1d32354b5b4%40riseup.net%3E&#xA;&#xA;source code: https://github.com/Path-Check/gaen-mobile&#xA;&#xA;(c) Attribution-ShareAlike 4.0 International&#xD;&#xA;    Cyberia Computer Club 2020-∞]]&gt;</description>
      <content:encoded><![CDATA[<p>                   COVIDaware MN app investigation</p>

<hr>

<p>Imported from <a href="https://cyberia.club/blog" rel="nofollow">https://cyberia.club/blog</a>
Originally published: 2020-11-27</p>

<hr>

<p>starless                                    2020-11-27</p>

<p>        Greetings to Netizens and Minnesotans!</p>

<p>It&#39;s your friendly neighborhood Cyberians here with an
update on the new COVIDaware app as announced by the
Governor.</p>

<p>You might be wondering: “Hey, how bullshit is this app?
Will it track me when I sleep, will it tell the cops
where I am for no good reason, will it take my firstborn
son?”</p>

<p>We were wondering these things, too. We&#39;re hard at work
finding answers to all these questions and more, and due
to the urgent nature of the pandemic, wanted to give you
an update.</p>

<p>Recently, the state of Minnesota released an app to help
manage COVID-19 contact tracing, The COVIDaware MN app is
based on an open source foss app for something called
&#39;contact tracing&#39;, which helps people backtrack the
places they&#39;ve been in the last two weeks, should they
later learn that they were contagious but pre-symptomatic
for COVID-19. Due to the delicate nature of this sort of
app, we reached out to the folks who wrote the open
source app that COVIDaware MN is based on, and got a
handful of helpful replies back.<a href="https://lists.cyberia.club/~cyberia/etc/%3Cfa938b37178d184b7367d33db83ec4f3%40c3f.net%3E" rel="nofollow">1</a> We also reached out
to the state of Minnesota, but haven&#39;t gotten a response
yet.<a href="https://lists.cyberia.club/~cyberia/etc/%3C597a7c3d-2be8-ba0a-dd89-f1d32354b5b4%40riseup.net%3E" rel="nofollow">2</a></p>

<p>The app that COVIDaware is based on is very
privacy-friendly and the company behind it seems to have
good values, but we still don&#39;t know exactly how much
that source code was customized before it was released
for use by Minnesotans.  It&#39;s likely that the state&#39;s IT
folks just added the appropriate assets to customize
links to the local health department and that sort of
thing, but we won&#39;t know that for sure without a response
to our inquiry. There&#39;s a chance they&#39;ve inadvertently
done more than that, too— we&#39;d love to read over the
source code and check the modifications the state of
Minnesota made to the FOSS base app.</p>

<p>We&#39;ll let you know when we hear back from the state, but
for now, the base app looks very promising.</p>

<p>Additionally, should it become feasible (likely dependent
on the state of Minnesota releasing the source code for
the app), we&#39;re already hoping to be an alternative
source for the official app, should you prefer something
that&#39;s built on hardware not managed by the state of
Minnesota.</p>

<p>We hope to hear back from our fair state government soon,
and until then, wish you all a warm &amp; safe holiday season!</p>

<p>source code: <a href="https://github.com/Path-Check/gaen-mobile" rel="nofollow">https://github.com/Path-Check/gaen-mobile</a></p>

<p>© Attribution-ShareAlike 4.0 International
    Cyberia Computer Club 2020-∞</p>
]]></content:encoded>
      <guid>https://blog.cyberia.club/cyberia/covidaware-mn-app-investigation</guid>
      <pubDate>Fri, 27 Nov 2020 23:13:04 +0000</pubDate>
    </item>
    <item>
      <title>rollin&#39; onwards with a web application</title>
      <link>https://blog.cyberia.club/cyberia/rollin-onwards-with-a-web-application</link>
      <description>&lt;![CDATA[---&#xA;Imported from https://cyberia.club/blog&#xA;Originally published: 2020-05-20&#xA;---&#xA;&#xA;Forest                                         2020-05-20&#xA;&#xA;                WHAT&#39;S NEW IN CAPSUL?&#xA;&#xA;Capsul has been operated by hand so far, with business &#xA;conducted via email. Obviously, this isn&#39;t the best &#xA;user experience. If no one is on the other end at the &#xA;time, the user might feel as if they are shouting into &#xA;the void.&#xA;&#xA;Ideally, users could pay for service, create and destroy&#xA;capsuls, and monitor their capsul&#39;s status at any time. &#xA;&#xA;So we set out to create an application enabling that,&#xA;while keeping things as simple as possible. As of today,&#xA;you can experience it firsthand!&#xA;&#xA;            --  https://capsul.org/   &lt;--&#xA;&#xA;      WHAT IS CAPSUL? WHY WOULD ANYONE DO THAT?&#xA;&#xA;Capsul started out as a &#34;for fun&#34; project to host &#xA;multiple VMs with different operating systems on the same&#xA;physical server. &#xA;&#xA;A cloud compute provider experiment to find out:&#xA;&#xA; How hard is it to build basic compute-as-service&#xA;   functionality that has been mythologized and &#xA;   commoditized by some of the biggest software &#xA;   businesses of all time.&#xA;&#xA; What problems have to be solved in order to do&#xA;   this at a small scale?&#xA;&#xA; And last but not least, &#xA;   how much better-than-the-big-boys can we do? :P&#xA;&#xA;I heard about Capsul and I thought, cool, why not.  &#xA;&#xA;At first, I was slightly dismissive of the project --&#xA;why re-invent the wheel? There are lots of established &#xA;tools for creating cloud services already out there, &#xA;surely they would be hard for us to measure up to.&#xA;&#xA;Of course, you could argue, that&#39;s not the point.&#xA;It&#39;s all about the journey, popping the hood and learning&#xA;how things are put together. &#xA;&#xA;But on the other hand, Capsul is something that we want &#xA;to use, not just a pet project.&#xA;&#xA;               Can I depend on it? &#xA;&#xA;            /⁀\                 /‾⁀|,&#xA;         (‾‾__‾‾)        |      xx . .|&#xA;            /  \           |       [     )    &#xA;           /    \          |       ‶` ‾&#xA;                           |               &#xA;      I WANT TO BELIEVE    |    (X)  DOUBT&#xA;&#xA;Whether excited or doubtful, the tone of the question&#xA;expresses the real utility and risk associated with DIY.  &#xA;&#xA;We have to make our own seat belts for this, an&#xA;experience and practice that I personally feel is highly&#xA;under-rated. &#xA;&#xA;I don&#39;t want to give up and just leave it to the experts.&#xA;&#xA;I want to build the confidence necessary to make my own&#xA;systems, and to measure thier stability and efficacy. &#xA;&#xA;                        (\/)&#xA;                        [. .]&#xA;                       ==.==&#xA;   &#xA;                 &#34; Anyone can Cook &#34;&#xA;&#xA;It probably helps that I&#39;ve never seen a friend get hurt &#xA;because of a flaw in something I designed, but even if&#xA;I had, I&#39;d like to think that I&#39;d continue believing&#xA;in the idea that technology is never &#34;beyond&#34; us. &#xA;I could never make it through Technoholics Anonymous,&#xA;because I&#39;d never be able believe a Higher Power will&#xA;restore sanity to the machine and save us from ourselves.&#xA;&#xA;           ABOUT THE DEVELOPMENT PROCESS&#xA;&#xA;First step was to chose a language and framework. &#xA;We made this decision (Python 3, Flask) almost entirely &#xA;based on which language was the most commonly known in &#xA;our group. I was the only one who had never used Python &#xA;before, and I felt up to the task of learning a language &#xA;as a part of this process. &#xA;&#xA;Next, we had to decide how the system would work. &#xA;&#xA;How would we secure user&#39;s accounts?  How would users &#xA;pay for capsuls?  Would it be like a subscription, &#xA;would you buy compute credits, or a receive a bill at&#xA;the end of the month?&#xA;&#xA;In the interest of simplicity, we opted to use a &#xA;tumblr-style magic-link login instead of requiring &#xA;the user to provide a password. So, you have to&#xA;receive an email and click a link in that email&#xA;every time you log in. &#xA;&#xA;We also decided to go with the &#34;purchase credits, then &#xA;create capsul&#34; payment workflow, because it was the &#xA;easiest way we could accept both credit card and &#xA;cryptocurrency payments, and we believed that requiring &#xA;the user to pay first was an appropriate level of &#xA;friction for our service, at least right now.&#xA;&#xA;I had never worked on a project that integrated &#xA;with a payment processor or had a &#34;dollars&#34; column in a &#xA;database table before. I felt like I worked at the&#xA;Federal Reserve, typing &#xA;&#xA;INSERT INTO payments (account, dollars) VALUES&#xA;    (&#39;forest&#39;, 20.00);&#xA;&#xA;into my database during development. &#xA;&#xA;The application has three backends:&#xA;&#xA; a postgres database where all of the payment and &#xA;   account data is stored&#xA;   &#xA; the virtualization backend which lifecycles the &#xA;   virtual machines and provides information about them&#xA;   (whether or not they exist, and current IP address)&#xA;&#xA; Prometheus metrics database which allows the&#xA;   web application to display real-time metrics for each&#xA;   capsul.&#xA;&#xA;All of the payments are handled by external payment &#xA;processors Stripe and BTCPay Server, so the application&#xA;doesn&#39;t have to deal with credit cards or cryptocurrency&#xA;directly. What&#39;s even better, because BTCPay Server &#xA;tracks the status of invoices automatically, we can&#xA;accept unconfirmed transactions as valid payments and&#xA;then rewind the payment if we learn that it was a&#xA;double-spend attack. No need to bother the user about &#xA;Replace By Fee or anything like that. &#xA;&#xA;The initial development phase took one week. Some days&#xA;I worked on it for 12+ hours, I think. I was having a &#xA;blast. I believe that the application should be secure&#xA;against common types of attacks. I kept the OWASP&#xA;Top 10 Web Application Security Risks in mind while I was&#xA;working on this project, and addressed each one.&#xA;&#xA;Injection&#xA;We use 100% parameterized queries, and we apply strict&#xA;validation to all arguments of all shell scripts.&#xA;&#xA;Broken Authentication&#xA;We have used Flask&#39;s session implementation,&#xA;we did not roll our own sessions.&#xA;&#xA;Sensitive Data Exposure&#xA;We do not handle particularly sensitive data such as&#xA;cryptocurrency wallets or credit card information.&#xA;&#xA;XML External Entities (XXE)&#xA;We do not parse XML.&#xA;&#xA;Broken Access Control&#xA;We have added the user&#39;s email address to all database&#xA;queries that we can. This email address comes from the &#xA;session, so hopefully you can only ever get information&#xA;about YOUR account, and only if you are logged in.&#xA;&#xA;Security Misconfiguration&#xA;We made sure that the application does not display error&#xA;messages to the user, we are not running Flask in&#xA;development mode, we are not running Flask as the root&#xA;user, the server it runs on is well secured and up to &#xA;date, etc.&#xA;&#xA;Cross-Site Scripting (XSS)&#xA;We apply strict validation to user inputs that will be &#xA;represented on the page, whether they are path variables,&#xA;query parameters, form fields, etc. &#xA;&#xA;Insecure Deserialization&#xA;We use the most up-to-date json parsing from the &#xA;Python standard library.&#xA;&#xA;Using Components with Known Vulnerabilities&#xA;We did check the CVE lists for any known issues with the&#xA;versions of Flask and psycopg2 (database connector), &#xA;requests, and various other packages that we are using, &#xA;although automating this process would be much better &#xA;going forward.&#xA;&#xA;10. Insufficient Logging &amp; Monitoring&#xA;We may have some room for improvement here, however,&#xA;verbose logging goes slightly against the &#34;we don&#39;t &#xA;collect any more data about you than we need to&#34; mantra.&#xA;&#xA;If you would like to take a peek at the code, it&#39;s&#xA;hosted on our git server:&#xA;&#xA;https://git.cyberia.club/cyberia/capsul-flask&#xA;&#xA;(c) Attribution-ShareAlike 4.0 International&#xD;&#xA;    Cyberia Computer Club 2020-∞]]&gt;</description>
      <content:encoded><![CDATA[<hr>

<p>Imported from <a href="https://cyberia.club/blog" rel="nofollow">https://cyberia.club/blog</a>
Originally published: 2020-05-20</p>

<hr>

<p>Forest                                         2020-05-20</p>

<p>                WHAT&#39;S NEW IN CAPSUL?</p>

<p>Capsul has been operated by hand so far, with business
conducted via email. Obviously, this isn&#39;t the best
user experience. If no one is on the other end at the
time, the user might feel as if they are shouting into
the void.</p>

<p>Ideally, users could pay for service, create and destroy
capsuls, and monitor their capsul&#39;s status at any time.</p>

<p>So we set out to create an application enabling that,
while keeping things as simple as possible. As of today,
you can experience it firsthand!</p>

<p>            —&gt;   <a href="https://capsul.org/" rel="nofollow">https://capsul.org/</a>   &lt;—</p>

<p>      WHAT IS CAPSUL? WHY WOULD ANYONE DO THAT?</p>

<p>Capsul started out as a “for fun” project to host
multiple VMs with different operating systems on the same
physical server.</p>

<p>A cloud compute provider experiment to find out:</p>
<ul><li><p>How hard is it to build basic compute-as-service
functionality that has been mythologized and
commoditized by some of the biggest software
businesses of all time.</p></li>

<li><p>What problems have to be solved in order to do
this at a small scale?</p></li>

<li><p>And last but not least,
how much better-than-the-big-boys can we do? :P</p></li></ul>

<p>I heard about Capsul and I thought, cool, why not.</p>

<p>At first, I was slightly dismissive of the project —
why re-invent the wheel? There are lots of established
tools for creating cloud services already out there,
surely they would be hard for us to measure up to.</p>

<p>Of course, you could argue, that&#39;s not the point.
It&#39;s all about the journey, popping the hood and learning
how things are put together.</p>

<p>But on the other hand, Capsul is something that we want
to use, not just a pet project.</p>

<p>               Can I depend on it?</p>

<p>            /⁀\                 _<strong>/‾⁀|</strong>,
         (‾‾____‾‾)        |      xx . .|
            /  \           |       [   &gt;)<br>
           /    \          |       ‶` ‾
                           |<br>
      I WANT TO BELIEVE    |    (X)  DOUBT</p>

<p>Whether excited or doubtful, the tone of the question
expresses the real utility and risk associated with DIY.</p>

<p>We have to <strong>make our own seat belts</strong> for this, an
experience and practice that I personally feel is highly
under-rated.</p>

<p>I don&#39;t want to give up and just leave it to the experts.</p>

<p>I want to build the confidence necessary to make my own
systems, and to measure thier stability and efficacy.</p>

<p>                        (_/)
                        [. .]
                       ==&lt;.&gt;==</p>

<p>                 “ Anyone can Cook “</p>

<p>It probably helps that I&#39;ve never seen a friend get hurt
because of a flaw in something I designed, but even if
I had, I&#39;d like to think that I&#39;d continue believing
in the idea that technology is never “beyond” us.
I could never make it through Technoholics Anonymous,
because I&#39;d never be able believe a Higher Power will
restore sanity to the machine and save us from ourselves.</p>

<p>           ABOUT THE DEVELOPMENT PROCESS</p>

<p>First step was to chose a language and framework.
We made this decision (Python 3, Flask) almost entirely
based on which language was the most commonly known in
our group. I was the only one who had never used Python
before, and I felt up to the task of learning a language
as a part of this process.</p>

<p>Next, we had to decide how the system would work.</p>

<p>How would we secure user&#39;s accounts?  How would users
pay for capsuls?  Would it be like a subscription,
would you buy compute credits, or a receive a bill at
the end of the month?</p>

<p>In the interest of simplicity, we opted to use a
tumblr-style magic-link login instead of requiring
the user to provide a password. So, you have to
receive an email and click a link in that email
every time you log in.</p>

<p>We also decided to go with the “purchase credits, then
create capsul” payment workflow, because it was the
easiest way we could accept both credit card and
cryptocurrency payments, and we believed that requiring
the user to pay first was an appropriate level of
friction for our service, at least right now.</p>

<p>I had never worked on a project that integrated
with a payment processor or had a “dollars” column in a
database table before. I felt like I worked at the
Federal Reserve, typing</p>

<p>INSERT INTO payments (account, dollars) VALUES
    (&#39;forest&#39;, 20.00);</p>

<p>into my database during development.</p>

<p>The application has three backends:</p>
<ul><li><p>a postgres database where all of the payment and
account data is stored</p></li>

<li><p>the virtualization backend which lifecycles the
virtual machines and provides information about them
(whether or not they exist, and current IP address)</p></li>

<li><p>Prometheus metrics database which allows the
web application to display real-time metrics for each
capsul.</p></li></ul>

<p>All of the payments are handled by external payment
processors Stripe and BTCPay Server, so the application
doesn&#39;t have to deal with credit cards or cryptocurrency
directly. What&#39;s even better, because BTCPay Server
tracks the status of invoices automatically, we can
accept unconfirmed transactions as valid payments and
then rewind the payment if we learn that it was a
double-spend attack. No need to bother the user about
Replace By Fee or anything like that.</p>

<p>The initial development phase took one week. Some days
I worked on it for 12+ hours, I think. I was having a
blast. I believe that the application should be secure
against common types of attacks. I kept the OWASP
Top 10 Web Application Security Risks in mind while I was
working on this project, and addressed each one.</p>
<ol><li><p>Injection
We use 100% parameterized queries, and we apply strict
validation to all arguments of all shell scripts.</p></li>

<li><p>Broken Authentication
We have used Flask&#39;s session implementation,
we did not roll our own sessions.</p></li>

<li><p>Sensitive Data Exposure
We do not handle particularly sensitive data such as
cryptocurrency wallets or credit card information.</p></li>

<li><p>XML External Entities (XXE)
We do not parse XML.</p></li>

<li><p>Broken Access Control
We have added the user&#39;s email address to all database
queries that we can. This email address comes from the
session, so hopefully you can only ever get information
about YOUR account, and only if you are logged in.</p></li>

<li><p>Security Misconfiguration
We made sure that the application does not display error
messages to the user, we are not running Flask in
development mode, we are not running Flask as the root
user, the server it runs on is well secured and up to
date, etc.</p></li>

<li><p>Cross-Site Scripting (XSS)
We apply strict validation to user inputs that will be
represented on the page, whether they are path variables,
query parameters, form fields, etc.</p></li>

<li><p>Insecure Deserialization
We use the most up-to-date json parsing from the
Python standard library.</p></li>

<li><p>Using Components with Known Vulnerabilities
We did check the CVE lists for any known issues with the
versions of Flask and psycopg2 (database connector),
requests, and various other packages that we are using,
although automating this process would be much better
going forward.</p></li>

<li><p>Insufficient Logging &amp; Monitoring
We may have some room for improvement here, however,
verbose logging goes slightly against the “we don&#39;t
collect any more data about you than we need to” mantra.</p></li></ol>

<p>If you would like to take a peek at the code, it&#39;s
hosted on our git server:</p>

<p><a href="https://git.cyberia.club/cyberia/capsul-flask" rel="nofollow">https://git.cyberia.club/cyberia/capsul-flask</a></p>

<p>© Attribution-ShareAlike 4.0 International
    Cyberia Computer Club 2020-∞</p>
]]></content:encoded>
      <guid>https://blog.cyberia.club/cyberia/rollin-onwards-with-a-web-application</guid>
      <pubDate>Wed, 20 May 2020 22:13:04 +0000</pubDate>
    </item>
    <item>
      <title>Cyberia Services Update</title>
      <link>https://blog.cyberia.club/cyberia/cyberia-services-update</link>
      <description>&lt;![CDATA[---&#xA;Imported from https://cyberia.club/blog&#xA;Originally published: 2020-05-01&#xA;---&#xA;&#xA;Subject: Cyberia Services Update: 2020-04&#xA;From: j3s&#xA;Date: 01/05/2020&#xA;&#xA;Ohai,&#xA;&#xA;A lot has happened in services-land this month, and I&#39;m&#xA;hoping to pack as much of it as I can into this email. I&#xA;will try to be brief, as there is a lot to cover. I&#39;ll&#xA;also probably miss some stuff, woops!&#xA;&#xA;Capsul&#xA;&#xA;We added many new subscribers and many new features to&#xA;Capsul this month, both technical and financial.&#xA;&#xA;OpenBSD 6.6 support&#xA;  Hello puffy! We now fully support OpenBSD 6.6 as an&#xA;operating system choice on Capsul, and will support&#xA;future releases of OpenBSD as well.&#xA;&#xA;Streamlined BTC/XMR payments&#xA;  Pay with bitcoin or monero? There is now a simple&#xA;payment processor you may use to make donations or pay&#xA;for Capsuls. See https://cyberia.club/donate for details.&#xA;&#xA;Guix System 1.1.0 support&#xA;  Guix System support is very near completion! There is one&#xA;bug left to squash before it&#39;s available as a fully&#xA;supported option! :D&#xA;&#xA;IPv6-only support&#xA;  Soon, you will be able to purchase IPv6-only Capsuls at&#xA;a $2 per month discount from IPv4 prices.&#xA;&#xA;Cheaper base prices&#xA;  Pricing will very soon be heavily revised, and all&#xA;Capsuls will be cheaper. Existing customers will be&#xA;refunded the difference between the price they paid and&#xA;the new Capsul price.&#xA;&#xA;À la carte disk size selection&#xA;  All instances will start with a fully backed-up 10GB&#xA;root volume.&#xA;  We will be capable of taking variable disk size&#xA;requests at 0.2c per GB per month! You are no longer&#xA;stuck with the disk size your instance came with.&#xA;  These additional disks are not covered by our backup&#xA;schedule, otherwise we&#39;d run out of disk space almost&#xA;instantly :D we may offer a paid backup system for these&#xA;additional disks in the future.&#xA;&#xA;A huge thank you to our early Capsul users, I hope that&#xA;everything has been running smoothly for you.&#xA;&#xA;Nullhex&#xA;&#xA;I have not focused on Nullhex much throughout April, but&#xA;I do have some exciting ideas to share. Hit me up if&#xA;you&#39;re interested.&#xA;&#xA;Reputation&#xA;  Nullhex emails are no longer marked as spam by&#xA;Protonmail or Gmail, our domain reputation has grown&#xA;substantially.&#xA;&#xA;Matrix&#xA;&#xA;Matrix has cemented itself as the center of our&#xA;communication platform. If you aren&#39;t there already, feel&#xA;free to register at https://matrix.cyberia.club and join&#xA;the conversation.&#xA;&#xA;If you don&#39;t like Matrix for some other reason, email me&#xA;directly and we can figure out a way to bridge you into&#xA;our conversations.&#xA;&#xA;Backend updated&#xA;  The backend has been updated &amp; now supports cross-signing.&#xA;Bridging&#xA;  We are considering bridging specific Matrix rooms with&#xA;specific Discord rooms; more to come on this front.&#xA;&#xA;Riot&#xA;&#xA;End to end encryption by default&#xA;  Riot-web is receiving an update next week(tm) that&#xA;enables end to end encryption and cross-signing by&#xA;default for all private conversations. Please prepare&#xA;thyselves! More deets:&#xA;https://lists.cyberia.club/~cyberia/ops/%3C126414c4-80bc-1d49-570e-cf3eba9e8362%40c3f.net%3E&#xA;&#xA;New preferences&#xA;  There are two new potentially userful riot-web&#xA;preferences, in case you may have missed them:&#xA;  sort rooms alphabetically&#xA;  auto-syntax-highlight-detection&#xA;&#xA;Forge&#xA;&#xA;Forge is our development and project tool. It is intended&#xA;to be used by anyone in the Cyberia community to host&#xA;their projects, and Cyberia will eventually use it&#xA;exclusively to host our group projects.&#xA;&#xA;Forge is approaching the end of the alpha phase. There is&#xA;still a bit of rockiness, but we&#39;ve mostly settled on it&#xA;as a full-fledged service, supported by Cyberia Services.&#xA;&#xA;Forge handles the following (for now):&#xA;&#xA;git repositories&#xA;mailing lists&#xA;ticket trackers&#xA;git-driven wiki pages&#xA;paste service&#xA;&#xA;Forge may handle the following in the future, if we have&#xA;need for it:&#xA;&#xA;builds&#xA;continuous integration&#xA;mercurial repositories&#xA;&#xA;Registration is now open to the public, sign up today!&#xA;https://forge.cyberia.club&#xA;&#xA;Mailing Lists&#xA;&#xA;There are now three important mailing lists that people&#xA;might consider subscribing to:&#xA;&#xA;announce@cyberia.club = general announcements like this&#xA;ops@cyberia.club = services branch discussion&#xA;operational stuff = etc@cyberia.club - everything else&#xA;&#xA;See them and read about them on the Forge:&#xA;https://lists.cyberia.club/&#xA;&#xA;If you have questions or comments about this announcement&#xA;letter, feel free to email ops@cyberia.club and ask us&#xA;about it :)&#xA;&#xA;Misc&#xA;&#xA;Prometheus awareness&#xA;  We monitor our systems with Prometheus - like&#xA;everything else Cyberia does, we operate it publically.&#xA;Check it out at https://prometheus.cyberia.club&#xA;&#xA;Grafana awareness&#xA;  We recently set up Grafana, and fack has been hacking&#xA;on some dashboards. It&#39;s available at&#xA;https://grafana.cyberia.club for public consumption. If&#xA;you&#39;d like a read-write account, email me and I&#39;ll set&#xA;one up for you.&#xA;&#xA;misc@c3f.net deprecated&#xA;  The misc@c3f.net list has been moved to the&#xA;etc@cyberia.club list. I moved all previous misc@c3f.net&#xA;subscribers to the new list, no action is required.&#xA;&#xA;Infra Hackathon&#xA;  There are thoughts about hosting a huge infra hackathon&#xA;to move our systems from Debian to Alpine, with a giant&#xA;laundry list of crap to do. We will be targeting a full&#xA;weekend in the future. Just a heads up.&#xA;&#xA;Operations Handbook&#xA;  We have decided that a monorepo for all of our&#xA;operational-related things is appropriate. See the&#xA;handbook here:&#xA;https://git.cyberia.club/services/ops-handbook/about&#xA;&#xA;A final note: our services would be useless without the&#xA;community that makes use of them. Thanks for all of your&#xA;valuable feedback and discussion. You&#39;re all wonderful.&#xA;Let&#39;s open the next world together.&#xA;&#xA;Your lovely head of services,&#xA;&#xA;j3s&#xA;&#xA;(c) Attribution-ShareAlike 4.0 International&#xD;&#xA;    Cyberia Computer Club 2020-∞]]&gt;</description>
      <content:encoded><![CDATA[<hr>

<p>Imported from <a href="https://cyberia.club/blog" rel="nofollow">https://cyberia.club/blog</a>
Originally published: 2020-05-01</p>

<hr>

<p>Subject: Cyberia Services Update: 2020-04
From: j3s
Date: 01/05/2020</p>

<p>Ohai,</p>

<p>A lot has happened in services-land this month, and I&#39;m
hoping to pack as much of it as I can into this email. I
will try to be brief, as there is a lot to cover. I&#39;ll
also probably miss some stuff, woops!</p>

<p>Capsul
======</p>

<p>We added many new subscribers and many new features to
Capsul this month, both technical and financial.</p>
<ul><li><p>OpenBSD 6.6 support
Hello puffy! We now fully support OpenBSD 6.6 as an
operating system choice on Capsul, and will support
future releases of OpenBSD as well.</p></li>

<li><p>Streamlined BTC/XMR payments
Pay with bitcoin or monero? There is now a simple
payment processor you may use to make donations or pay
for Capsuls. See <a href="https://cyberia.club/donate" rel="nofollow">https://cyberia.club/donate</a> for details.</p></li>

<li><p>Guix System 1.1.0 support
Guix System support is very near completion! There is one
bug left to squash before it&#39;s available as a fully
supported option! :D</p></li>

<li><p>IPv6-only support
Soon, you will be able to purchase IPv6-only Capsuls at
a $2 per month discount from IPv4 prices.</p></li>

<li><p>Cheaper base prices
Pricing will very soon be heavily revised, and all
Capsuls will be cheaper. Existing customers will be
refunded the difference between the price they paid and
the new Capsul price.</p></li>

<li><p>À la carte disk size selection</p>
<ul><li>All instances will start with a fully backed-up 10GB
root volume.</li>
<li>We will be capable of taking variable disk size
requests at 0.2c per GB per month! You are no longer
stuck with the disk size your instance came with.</li>
<li>These additional disks are not covered by our backup
schedule, otherwise we&#39;d run out of disk space almost
instantly :D we may offer a paid backup system for these
additional disks in the future.</li></ul></li></ul>

<p>A huge thank you to our early Capsul users, I hope that
everything has been running smoothly for you.</p>

<p>Nullhex
=======</p>

<p>I have not focused on Nullhex much throughout April, but
I do have some exciting ideas to share. Hit me up if
you&#39;re interested.</p>
<ul><li>Reputation
Nullhex emails are no longer marked as spam by
Protonmail or Gmail, our domain reputation has grown
substantially.</li></ul>

<p>Matrix
======</p>

<p>Matrix has cemented itself as the center of our
communication platform. If you aren&#39;t there already, feel
free to register at <a href="https://matrix.cyberia.club" rel="nofollow">https://matrix.cyberia.club</a> and join
the conversation.</p>

<p>If you don&#39;t like Matrix for some other reason, email me
directly and we can figure out a way to bridge you into
our conversations.</p>
<ul><li>Backend updated
The backend has been updated &amp; now supports cross-signing.</li>
<li>Bridging
We are considering bridging specific Matrix rooms with
specific Discord rooms; more to come on this front.</li></ul>

<p>Riot
====</p>
<ul><li><p>End to end encryption by default
Riot-web is receiving an update <strong>next week</strong>™ that
enables end to end encryption and cross-signing by
default for all private conversations. Please prepare
thyselves! More deets:
<a href="https://lists.cyberia.club/~cyberia/ops/%3C126414c4-80bc-1d49-570e-cf3eba9e8362%40c3f.net%3E" rel="nofollow">https://lists.cyberia.club/~cyberia/ops/%3C126414c4-80bc-1d49-570e-cf3eba9e8362%40c3f.net%3E</a></p></li>

<li><p>New preferences
There are two new potentially userful riot-web
preferences, in case you may have missed them:</p>
<ul><li>sort rooms alphabetically</li>
<li>auto-syntax-highlight-detection</li></ul></li></ul>

<p>Forge
=====</p>

<p>Forge is our development and project tool. It is intended
to be used by anyone in the Cyberia community to host
their projects, and Cyberia will eventually use it
exclusively to host our group projects.</p>

<p>Forge is approaching the end of the alpha phase. There is
still a bit of rockiness, but we&#39;ve mostly settled on it
as a full-fledged service, supported by Cyberia Services.</p>

<p>Forge handles the following (for now):</p>
<ul><li>git repositories</li>
<li>mailing lists</li>
<li>ticket trackers</li>
<li>git-driven wiki pages</li>
<li>paste service</li></ul>

<p>Forge may handle the following in the future, if we have
need for it:</p>
<ul><li>builds</li>
<li>continuous integration</li>
<li>mercurial repositories</li></ul>

<p>Registration is now open to the public, sign up today!
<a href="https://forge.cyberia.club" rel="nofollow">https://forge.cyberia.club</a></p>

<p>Mailing Lists
=============</p>

<p>There are now three important mailing lists that people
might consider subscribing to:</p>

<p>announce@cyberia.club = general announcements like this
ops@cyberia.club = services branch discussion
operational stuff = etc@cyberia.club – everything else</p>

<p>See them and read about them on the Forge:
<a href="https://lists.cyberia.club/" rel="nofollow">https://lists.cyberia.club/</a></p>

<p>If you have questions or comments about this announcement
letter, feel free to email ops@cyberia.club and ask us
about it :)</p>

<p>Misc
====</p>
<ul><li><p>Prometheus awareness
We monitor our systems with Prometheus – like
everything else Cyberia does, we operate it publically.
Check it out at <a href="https://prometheus.cyberia.club" rel="nofollow">https://prometheus.cyberia.club</a></p></li>

<li><p>Grafana awareness
We recently set up Grafana, and fack has been hacking
on some dashboards. It&#39;s available at
<a href="https://grafana.cyberia.club" rel="nofollow">https://grafana.cyberia.club</a> for public consumption. If
you&#39;d like a read-write account, email me and I&#39;ll set
one up for you.</p></li>

<li><p>misc@c3f.net deprecated
The misc@c3f.net list has been moved to the
etc@cyberia.club list. I moved all previous misc@c3f.net
subscribers to the new list, no action is required.</p></li>

<li><p>Infra Hackathon
There are thoughts about hosting a huge infra hackathon
to move our systems from Debian to Alpine, with a giant
laundry list of crap to do. We will be targeting a full
weekend in the future. Just a heads up.</p></li>

<li><p>Operations Handbook
We have decided that a monorepo for all of our
operational-related things is appropriate. See the
handbook here:
<a href="https://git.cyberia.club/services/ops-handbook/about" rel="nofollow">https://git.cyberia.club/services/ops-handbook/about</a></p></li></ul>

<p>A final note: our services would be useless without the
community that makes use of them. Thanks for all of your
valuable feedback and discussion. You&#39;re all wonderful.
Let&#39;s open the next world together.</p>

<p>Your lovely head of services,</p>

<p>j3s</p>

<p>© Attribution-ShareAlike 4.0 International
    Cyberia Computer Club 2020-∞</p>
]]></content:encoded>
      <guid>https://blog.cyberia.club/cyberia/cyberia-services-update</guid>
      <pubDate>Fri, 01 May 2020 22:13:04 +0000</pubDate>
    </item>
    <item>
      <title>Simple trusted compute: Announcing Capsul</title>
      <link>https://blog.cyberia.club/cyberia/simple-trusted-compute-announcing-capsul</link>
      <description>&lt;![CDATA[---&#xA;Imported from https://cyberia.club/blog&#xA;Originally published: 2020-03-11&#xA;---&#xA;&#xA;Subject: Simple trusted compute: Announcing Capsul&#xA;From: j3s&#xA;Date: 11/03/2020&#xA;&#xA;+------------------------------------------------------+&#xA;|                                                                                        |&#xA;|                 ANNOUNCING CAPSUL                             |&#xA;|                                                                                        |&#xA;+------------------------------------------------------+&#xA;&#xA;https://capsul.org&#xA;&#xA;Over the last year we&#39;ve moved at light speed. Cyberia&#xA;Computer Club is now an entity. A formal nonprofit&#xA;organization with a democratic structure.&#xA;&#xA;We organized and bought a server. We crowdfunded, and&#xA;spent countless nights testing different configurations.&#xA;We strived to make the service very simple, and very&#xA;maintainable. We&#39;re very proud of what we&#39;re announcing&#xA;today. We think it&#39;s a very unique service.&#xA;&#xA;Capsul is a service that provides people with compute in&#xA;the form of virtual machines. All machines run on very&#xA;fast solid state storage, and have direct T3 network&#xA;access on a shared link. We do not collect user data&#xA;(besides your email address), and discard as many logs as&#xA;we feasibly can. Every VM is automatically backed up&#xA;A more official privacy policy and TOS are coming soon.&#xA;&#xA;To get you excited, here&#39;s a list of initially supported&#xA;operating systems:&#xA;&#xA;          operating system  supported&#xA;          ----------------  ---------&#xA;          alpine            yes&#xA;          ubuntu18          yes&#xA;          debian10          yes&#xA;          centos7           yes&#xA;          centos8           yes&#xA;          OpenBSD 6.6       planned&#xA;          GuixSD 1.0.1      planned&#xA;          Windows           no, never&#xA;          AIX               whyyyy&#xA;&#xA;Our prices start at ~$5.99 a month:&#xA;&#xA;        type    yearly cost  cpus  memory  ssd&#xA;        ------  -----------  ----  ------  ----&#xA;        f1-s    $70          1     512M    10G&#xA;        f1-m    $120         1     1024M   25G&#xA;        f1-l    $240         1     2048M   55G&#xA;        f1-x    $480         2     4096M   80G&#xA;        f1-xx   $960         4     8096M   160G&#xA;        f1-xxx  $1920        8     16G     320G&#xA;&#xA;Capsul is very easy to use - no signup or registration is&#xA;necessary. Simply send an email to capsul@c3f.net with&#xA;your requirements, and you&#39;ll have VMs that you can ssh&#xA;into within a day or so.&#xA;&#xA;Capsul machines are currently paid for on a yearly basis,&#xA;and we&#39;ll make every effort to remind you of payment&#xA;before your year expires. Capsul is very price-similar to&#xA;services like Vultr or Digital Ocean.&#xA;&#xA;  What sets Capsul apart?&#xA;&#xA;Simply: our organization and our morality.&#xA;&#xA;Cyberia Computer Club values privacy, simplicity,&#xA;transparency, accessibility, and inclusion.  We have no&#xA;shareholders, investors, or loaners, therefore every&#xA;change we make is directly beneficial to you. We actually&#xA;care about your experience, and it will only get better&#xA;with time - never worse.&#xA;&#xA;We have a lot more coming for Capsul. The next planned&#xA;features include:&#xA;private networking&#xA;openbsd support&#xA;monthly payments&#xA;instant provisioning and decoms&#xA;ipv6 support (with a reduced price instance type)&#xA;a storage service (for those who want pictures)&#xA;&#xA;That&#39;s all for now! Send us an email and get started with&#xA;Capsul today! :)&#xA;&#xA;love,&#xA;&#xA;j3s&#xA;&#xA;additional resources;&#xA;&#xA;Check out the Capsul website: https://capsul.org&#xA;Check out our bylaws here: https://cyberia.club/bylaws&#xA;Donate to the cause: https://cyberia.club/donate&#xA;All of our source code: https://git.cyberia.club&#xA;Chat with us on Matrix: #cyberia:cyberia.club&#xA;Chat with us on IRC: #cyberia on freenode&#xA;&#xA;(c) Attribution-ShareAlike 4.0 International&#xD;&#xA;    Cyberia Computer Club 2020-∞]]&gt;</description>
      <content:encoded><![CDATA[<hr>

<p>Imported from <a href="https://cyberia.club/blog" rel="nofollow">https://cyberia.club/blog</a>
Originally published: 2020-03-11</p>

<hr>

<p>Subject: Simple trusted compute: Announcing Capsul
From: j3s
Date: 11/03/2020</p>

<p>+———————————————————————————+
|                                                                                        |
|                 ANNOUNCING CAPSUL                             |
|                                                                                        |
+———————————————————————————+</p>

<p><a href="https://capsul.org" rel="nofollow">https://capsul.org</a></p>

<p>Over the last year we&#39;ve moved at light speed. Cyberia
Computer Club is now an entity. A formal nonprofit
organization with a democratic structure.</p>

<p>We organized and bought a server. We crowdfunded, and
spent countless nights testing different configurations.
We strived to make the service very simple, and very
maintainable. We&#39;re very proud of what we&#39;re announcing
today. We think it&#39;s a very unique service.</p>

<p>Capsul is a service that provides people with compute in
the form of virtual machines. All machines run on very
fast solid state storage, and have direct T3 network
access on a shared link. We do not collect user data
(besides your email address), and discard as many logs as
we feasibly can. Every VM is automatically backed up
A more official privacy policy and TOS are coming soon.</p>

<p>To get you excited, here&#39;s a list of initially supported
operating systems:</p>

<p>          operating system  supported
          ————————  ————-
          alpine            yes
          ubuntu18          yes
          debian10          yes
          centos7           yes
          centos8           yes
          OpenBSD 6.6       planned
          GuixSD 1.0.1      planned
          Windows           no, never
          AIX               whyyyy</p>

<p>Our prices start at ~$5.99 a month:</p>

<p>        type    yearly cost  cpus  memory  ssd
        ———  —————–  ——  ———  ——
        f1-s    $70          1     512M    10G
        f1-m    $120         1     1024M   25G
        f1-l    $240         1     2048M   55G
        f1-x    $480         2     4096M   80G
        f1-xx   $960         4     8096M   160G
        f1-xxx  $1920        8     16G     320G</p>

<p>Capsul is very easy to use – no signup or registration is
necessary. Simply send an email to capsul@c3f.net with
your requirements, and you&#39;ll have VMs that you can ssh
into within a day or so.</p>

<p>Capsul machines are currently paid for on a yearly basis,
and we&#39;ll make every effort to remind you of payment
before your year expires. Capsul is very price-similar to
services like Vultr or Digital Ocean.</p>

<blockquote><p>What sets Capsul apart?</p></blockquote>

<p>Simply: our organization and our morality.</p>

<p>Cyberia Computer Club values privacy, simplicity,
transparency, accessibility, and inclusion.  We have no
shareholders, investors, or loaners, therefore every
change we make is directly beneficial to you. We actually
care about your experience, and it will only get better
with time – never worse.</p>

<p>We have a lot more coming for Capsul. The next planned
features include:
– private networking
– openbsd support
– monthly payments
– instant provisioning and decoms
– ipv6 support (with a reduced price instance type)
– a storage service (for those who want pictures)</p>

<p>That&#39;s all for now! Send us an email and get started with
Capsul today! :)</p>

<p>love,</p>

<p>j3s</p>

<p>additional resources;</p>

<p>Check out the Capsul website: <a href="https://capsul.org" rel="nofollow">https://capsul.org</a>
Check out our bylaws here: <a href="https://cyberia.club/bylaws" rel="nofollow">https://cyberia.club/bylaws</a>
Donate to the cause: <a href="https://cyberia.club/donate" rel="nofollow">https://cyberia.club/donate</a>
All of our source code: <a href="https://git.cyberia.club" rel="nofollow">https://git.cyberia.club</a>
Chat with us on Matrix: <a href="/cyberia/tag:cyberia" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">cyberia</span></a>:cyberia.club
Chat with us on IRC: <a href="/cyberia/tag:cyberia" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">cyberia</span></a> on freenode</p>

<p>© Attribution-ShareAlike 4.0 International
    Cyberia Computer Club 2020-∞</p>
]]></content:encoded>
      <guid>https://blog.cyberia.club/cyberia/simple-trusted-compute-announcing-capsul</guid>
      <pubDate>Wed, 11 Mar 2020 22:13:04 +0000</pubDate>
    </item>
    <item>
      <title>How to write a blog post for Cyberia</title>
      <link>https://blog.cyberia.club/cyberia/how-to-write-a-blog-post-for-cyberia</link>
      <description>&lt;![CDATA[---&#xA;Imported from https://cyberia.club/blog&#xA;Originally published: 2020-02-25&#xA;---&#xA;&#xA;UPDATE 2023-05-24: This is a historical document for the previous blog system for Cyberia. The new blogging system, writefreely, has a web editor that is simpler to approach without this excellent writeup. However, it does not have the classic Cyberia asthetics of the original (white text on a black background. You can still visit the old blog at https://cyberia.club/blog&#xA;&#xA;Subject: How to write a blog post for Cyberia&#xA;From: j3s&#xA;Date: 25/02/2020&#xA;&#xA;Hi everyone! The new site design is live! Mad inspiration&#xA;taken from https://k1ss.org&#xA;&#xA;In this blog post, I&#39;ll be walking through how to add a&#xA;new blog post to the site, but first: specific&#xA;requirements for formatting your blog post.&#xA;&#xA;Tools&#xA;&#xA;git and git send-email (https://git-send-email.io/)&#xA;a text editor&#xA;&#xA;Requirements (in the form of commandments)&#xA;&#xA;thou post shalt be written in plain text&#xA;    posts appear exactly as written&#xA;no line of thy post shalt be wider than 57 characters&#xA;    this breakeths the smol phones&#xA;    this rule isn&#39;t firm, but is a best practice&#xA;&#xA;So, with the above in your head, you&#39;re ready to write a&#xA;blog post. You have questions! Naturally. Let me&#xA;preemptively answer them.&#xA;&#xA;+==================+&#xA;| WHY NOT MARKDOWN?|&#xA;+==================+&#xA;because everybody knows&#xA;plain text&#xA;&#xA;+====================+&#xA;| WHAT ABOUT TABLES? |&#xA;+====================+&#xA;the beauty of plain ascii is that&#xA;you get to decide how to do your own&#xA;tables.&#xA;&#xA;for example:&#xA;&#xA;+------------------------------------+---------+&#xA;|               Col1                 |  Col2   |&#xA;+------------------------------------+---------+&#xA;| trash                              | Value 2 |&#xA;| garbage                            | cols    |&#xA;| This is a pretty traditional table |         |&#xA;+------------------------------------+---------+&#xA;&#xA;or:&#xA;&#xA;┌──────────────────────────────────┬─────────┬&#xA;│               Col1               │  Col2   │&#xA;├──────────────────────────────────┼─────────┼&#xA;│ Value 1                          │ Value 2 │&#xA;│ Separate                         │ cols    │&#xA;│ This is a row with only one cell │         │&#xA;└──────────────────────────────────┴─────────┴&#xA;&#xA;or, simply:&#xA;&#xA;           random text               header &#xA; ---------------------------------- --------&#xA;  awihfiweoifj owiefj w              strange&#xA;  Big blah blah time                 things &#xA;  Blah blah blah&#xA;&#xA;The choice is yours! Just keep them under 57 chars wide!&#xA;If you need wider tables, consider linking to an external&#xA;source or linking to a picture.&#xA;&#xA;---THE PROCESS---&#xA;Before you put text to document, let&#39;s make things easy&#xA;on you - I&#39;ve written a script to generate a new blog&#xA;post! It&#39;s very simple. Let&#39;s go through the steps&#xA;together.&#xA;&#xA;-  cd ~/projects&#xA;-  git clone git@cyberia.club:services/website&#xA;-  cd website/blog&#xA;-  ./mkblog title-of-blog-post&#xA;-  ls -l # discover the new blog posts name&#xA;&#xA;Now you can open the new blog post in the text editor of&#xA;your choice! Proceed with writing it.&#xA;&#xA;...&#xA;&#xA;...&#xA;..&#xA;&#xA;...&#xA;&#xA;...&#xA;&#xA;..&#xA;&#xA;..&#xA;..&#xA;&#xA;.&#xA;..&#xA;&#xA;......&#xA;&#xA;Now that you&#39;re finished writing, it&#39;s time to submit&#xA;your blog to a maintainer for approval! The simplest way&#xA;of doing this is via email. We use the process built into&#xA;git for this - git-send-mail.&#xA;&#xA;First, if you aren&#39;t subscribed to the misc@c3f.net&#xA;mailing list yet, be sure to subscribe.&#xA;&#xA;mailto:ml@c3f.net?subject=subscribe%20misc&#xA;&#xA;After you have received confirmation that you were&#xA;subscribed to the mailing list, send us a patch!&#xA;&#xA;-  git add .&#xA;-  git commit -m &#39;Add blog post about unicorns&#39;&#xA;-  git send-email --to=&#34;misc@c3f.net&#34; HEAD^&#xA;&#xA;Tah dah! That&#39;s it, your patch has been submitted.&#xA;&#xA;~&#xA;LA FINALE&#xA;~&#xA;Now that you have submitted your own blog post, it is&#xA;time to wrap up!&#xA;&#xA;I&#39;ve used several different header and writing styles&#xA;throughout this document to give you an idea of how you&#xA;can write your own posts. Hopefully that is helpful and&#xA;inspiring!&#xA;&#xA;I hope that you will see that plain text can be a&#xA;liberating and artistic format! The only limitation is&#xA;the character width :]&#xA;&#xA;Now go forth and write your own post about unicorns, or&#xA;games, or something even slightly related to Cyberian&#xA;interests, (like how narwhals don&#39;t exist) and submit it!&#xA;Make a little project out of it! It&#39;s a good way to&#xA;broadcast branch happenings, meetings, or personal&#xA;projects. Or talk about your new RPG system, or&#xA;philosophy, or opinion!&#xA;&#xA;That&#39;s all for now. As always, this post is the result of&#xA;much thought, from your humble head of services.&#xA;&#xA;Love,&#xA;&#xA;^(;,;)^ j3s ^(;,;)^&#xA;&#xA;(c) Attribution-ShareAlike 4.0 International&#xD;&#xA;    Cyberia Computer Club 2020-∞]]&gt;</description>
      <content:encoded><![CDATA[<hr>

<p>Imported from <a href="https://cyberia.club/blog" rel="nofollow">https://cyberia.club/blog</a>
Originally published: 2020-02-25</p>

<hr>
<ul><li>UPDATE 2023-05-24: This is a historical document for the previous blog system for Cyberia. The new blogging system, <a href="https://writefreely.org" rel="nofollow">writefreely</a>, has a web editor that is simpler to approach without this excellent writeup. However, it does not have the classic Cyberia asthetics of the original (white text on a black background. You can still visit the old blog at <a href="https://cyberia.club/blog" rel="nofollow">https://cyberia.club/blog</a></li></ul>

<p>Subject: How to write a blog post for Cyberia
From: j3s
Date: 25/02/2020</p>

<p>Hi everyone! The new site design is live! Mad inspiration
taken from <a href="https://k1ss.org" rel="nofollow">https://k1ss.org</a></p>

<p>In this blog post, I&#39;ll be walking through how to add a
new blog post to the site, but first: specific
requirements for formatting your blog post.</p>

<p>Tools
============
* git and git send-email (<a href="https://git-send-email.io/" rel="nofollow">https://git-send-email.io/</a>)
* a text editor</p>

<p>Requirements (in the form of commandments)
============
* thou post shalt be written in plain text
  &gt; posts appear exactly as written
* no line of thy post shalt be wider than 57 characters
  &gt; this breakeths the smol phones
  &gt; this rule isn&#39;t firm, but is a best practice</p>

<p>So, with the above in your head, you&#39;re ready to write a
blog post. You have questions! Naturally. Let me
preemptively answer them.</p>

<p>+==================+
| WHY NOT MARKDOWN?|
+==================+
because everybody knows
plain text</p>

<p>+====================+
| WHAT ABOUT TABLES? |
+====================+
the beauty of plain ascii is that
you get to decide how to do your own
tables.</p>

<p>for example:</p>

<p>+——————————————————+————–+
|               Col1                 |  Col2   |
+——————————————————+————–+
| trash                              | Value 2 |
| garbage                            | cols    |
| This is a pretty traditional table |         |
+——————————————————+————–+</p>

<p>or:</p>

<p>┌──────────────────────────────────┬─────────┬
│               Col1               │  Col2   │
├──────────────────────────────────┼─────────┼
│ Value 1                          │ Value 2 │
│ Separate                         │ cols    │
│ This is a row with only one cell │         │
└──────────────────────────────────┴─────────┴</p>

<p>or, simply:</p>

<p>           random text               header</p>

<hr>

<p>  awihfiweoifj owiefj w              strange
  Big blah blah time                 things
  Blah blah blah</p>

<p>The choice is yours! Just keep them under 57 chars wide!
If you need wider tables, consider linking to an external
source or linking to a picture.</p>

<p>—-THE PROCESS—-
Before you put text to document, let&#39;s make things easy
on you – I&#39;ve written a script to generate a new blog
post! It&#39;s very simple. Let&#39;s go through the steps
together.</p>

<p>–&gt; cd ~/projects
–&gt; git clone git@cyberia.club:services/website
–&gt; cd website/blog
–&gt; ./mkblog title-of-blog-post
–&gt; ls -l # discover the new blog posts name</p>

<p>Now you can open the new blog post in the text editor of
your choice! Proceed with writing it.</p>

<p>...</p>

<p>...
..</p>

<p>...</p>

<p>...</p>

<p>..</p>

<p>..
..</p>

<p>.
..</p>

<p>......</p>

<p>Now that you&#39;re finished writing, it&#39;s time to submit
your blog to a maintainer for approval! The simplest way
of doing this is via email. We use the process built into
git for this – git-send-mail.</p>

<p>First, if you aren&#39;t subscribed to the misc@c3f.net
mailing list yet, be sure to subscribe.</p>

<p>mailto:ml@c3f.net?subject=subscribe%20misc</p>

<p>After you have received confirmation that you were
subscribed to the mailing list, send us a patch!</p>

<p>–&gt; git add .
–&gt; git commit -m &#39;Add blog post about unicorns&#39;
–&gt; git send-email —to=“misc@c3f.net” HEAD^</p>

<p>Tah dah! That&#39;s it, your patch has been submitted.</p>

<pre><code>~~LA FINALE~~
</code></pre>

<p>Now that you have submitted your own blog post, it is
time to wrap up!</p>

<p>I&#39;ve used several different header and writing styles
throughout this document to give you an idea of how you
can write your own posts. Hopefully that is helpful and
inspiring!</p>

<p>I hope that you will see that plain text can be a
liberating and artistic format! The only limitation is
the character width :]</p>

<p>Now go forth and write your own post about unicorns, or
games, or something even slightly related to Cyberian
interests, (like how narwhals don&#39;t exist) and submit it!
Make a little project out of it! It&#39;s a good way to
broadcast branch happenings, meetings, or personal
projects. Or talk about your new RPG system, or
philosophy, or opinion!</p>

<p>That&#39;s all for now. As always, this post is the result of
much thought, from your humble head of services.</p>

<p>Love,</p>

<p>^(;,;)^ j3s ^(;,;)^</p>

<p>© Attribution-ShareAlike 4.0 International
    Cyberia Computer Club 2020-∞</p>
]]></content:encoded>
      <guid>https://blog.cyberia.club/cyberia/how-to-write-a-blog-post-for-cyberia</guid>
      <pubDate>Tue, 25 Feb 2020 23:13:04 +0000</pubDate>
    </item>
  </channel>
</rss>