chromakode

@chromakode@mastodon.social

Black Lives Matter. JS / Communities / 🏃 / 🚴 / Security / Art. Currently building Discord and https://coalesce.audio. 💜 https://dice.camp/@konahart

This profile is from a federated server and may be incomplete. Browse more on the original instance.

chromakode, to random

Yesterday morning, I pulled open my laptop to send a quick email. It had a frozen black screen, so I rebooted it, and… oh crap.

My 2-year-old SSD had unceremoniously died.

This was a gut punch, but I had an ace in the hole. I'm typing this from my restored system on a brand new drive.

In total, I lost about 10 minutes of data. Here's how. (Spoilers: )

chromakode,

@problame To rebuild my system, I followed the OpenZFS guide for setting up a filesystem from scratch via Ubuntu 22.04 live USB:

https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2022.04%20Root%20on%20ZFS.html#step-4-system-configuration

This was a priceless resource for getting back up and running. It’d intimidated me in the past, but it’s so thorough, and I learned a ton going through the process. This is the best hand-on guide I’ve seen for modern partitioning and chrooting in a Debian environment.

chromakode,

@problame The end result was a beautiful moment: my laptop booted back up to right where I’d left it. Even my browser tabs restored my unfinished work from the previous night.

There’s this classic series of Chromebook ads from 12 years ago where computers are repeatedly destroyed in elaborate ways, and the host picks up a new machine and picks up where they left off, with no data lost:

https://www.youtube.com/watch?v=lm-Vnx58UYo

chromakode,

To automate taking snapshots and sending them to my NAS, I’m using a really cool piece of software called zrepl (by @problame). I configured it to snapshot and send my entire filesystem every 10 minutes.

Since the snapshots are incremental, this is fine to run in the background on my home network to keep the replica up to date. The last run took 14 seconds to transfer and sent about 64 MiB.

chromakode,

@problame Restoring the system was a learning process, and unfortunately quite manual. I let the 625 GiB ZFS receive operation run overnight.

My snapshots are encrypted by the original computer (this is cool because the NAS can’t read them!). So I also needed to restore the encryption “wrapper key” to be able to use the backups.

Not gonna lie, it was pretty terrifying until I had my first confirmation I could decrypt the data.

chromakode,

I don’t back up my drives, I replicate them.

Last winter, I set up my first serious home network storage. Part of this project was setting up periodic backups of the computers I do creative work on. After surveying the options, one approach stood out: ZFS incremental replication.

One of the flagship features of ZFS is the ability to take efficient point-in-time snapshots while it’s running. You can then send only the changed data to other machines...

chromakode,

@thomastospace Beyond the restore process, a few things which have taken time and mindspace:

  • Managing encryption on boot and saving backup copies of wrapper keys (not specific to ZFS)
  • Setting up zrepl on several hosts and monitoring it in case it breaks
  • Re-learning how to fix grub w/ ZFS root
  • My wife's system has had intermittent zpool scrub failures which I spent a bunch of time debugging but haven't figured out
  • My NAS seems to have some failure modes where the kernel panics :(
chromakode,

@s31bz @frameworkcomputer It is! The NAS is actually a framework as well: I repurposed my old mainboard 😁

https://mastodon.social/@chromakode/109385742918733517

chromakode,

That ad has been in my imagination for over a decade. I finally achieved my dream of having a similar disaster recovery plan. And it worked!

Setting ZFS up initially had a really high starting cost: it took a full filesystem swap. Maintaining it takes fairly knowledge-heavy and manual processes. But it certainly has unique benefits.

This is the first time I can recall losing an SSD in over 15 years of using them. It was fantastic luck that I’d set up replication before my first one failed. 😇

chromakode,

Btw, if you’re curious, the offending drive was a WD_BLACK SN850 from my original Framework order. I’d heard unsettling stories on the Framework forums of this drive spontaneously dying or becoming unbootable. I guess it was my turn to roll some unlucky numbers.

Amazon shipped me a new SK Hynix P41 SSD and a Sabrent NVMe enclosure in about 3 hours yesterday, which was phenomenal. I usually try not to order tech from there if I can avoid it, but credit where credit’s due.

matrix, to random
@matrix@mastodon.matrix.org avatar

Element informed the Foundation that it will be forking Synapse and Dendrite: https://matrix.org/blog/2023/11/06/future-of-synapse-dendrite/

We'll do our best to answer your questions, address concerns, and find a path forward together.

chromakode,

@matrix This seems like a reasonable way for Element to continue to sustainably fund development. The CLA gives Element unique power to sell exemptions from the AGPL copyleft requirements for these projects. If Element uses this privilege to grow Matrix as a whole, it seems like a win overall.

seldo, to random

"We laid off 7,000 people and now we want to hire 3,300 people because we could not for the life of us figure out how to do a reorg" is a really weird flex, Salesforce. https://www.linkedin.com/news/story/salesforce-wants-to-rehire-staff-5772244/

chromakode,

@seldo "Please give us the opportunity to lay you off again"

chromakode, to random

Installed a Coral M.2 accelerator in my @frameworkcomputer server last night for https://frigate.video. Works perfectly in the wifi slot and much easier to VM passthrough than the USB stick! #FrameworkLaptop

chromakode, to random
chromakode, to random

Last night I added automatic sentence splitting to Coalesce. It was easy to implement using pySBD and works surprisingly well!

It's much nicer to edit with one sentence per line instead of a wall of text, especially when there's only a single speaker. 😁

https://github.com/chromakode/coalesce/commit/4dc34217c1f2565b7c3a89cf672c81b8e3696421

chromakode, to random

This year we put a few potatoes and limes in our Halloween candy basket.

I thought this would be a joke to give a sense of contrast, but kids loved them!

Many kids preferentially chose the potatoes, even when they had a limited number of pieces to take 🤣

chromakode, to random

I've been working on adding drag'n'drop uploading and transcription to my audio editor, Coalesce.

It's been a long couple weekends of hacking, but it's almost here! I wrote a little redis queue worker to wrap the ML bits in Python, and a websocket backend to manage project state using Deno.

My goal is to make it possible to install your own copy of Coalesce, drag in some audio, and play. Almost there! 😀

seldo, to random

As a September birthday-haver I resent the way September in the US is steamrolled in the mad rush to October and Halloween. Let September be its own thing, dammit. Great weather, reasonably long nights, it's a great month.

chromakode,

@seldo As someone born the day before a US holiday, there's some nice aspects to a birthday month where few folks are away traveling!

chrisjrn, to random
@chrisjrn@social.coop avatar

I'm in a hotel in NZ drinking coffee from a cup labelled Australian Fine China.

It's definitely China.

chromakode,

@chrisjrn Check out page 18 of the ALCC country of origin claims doc: https://www.accc.gov.au/system/files/Country%20of%20origin%20claims%20and%20the%20ACL_2022.pdf

It looks like generally companies are not required in Australia to have a country of origin mark for non food products but there's a specific exception for cases that may be misleading... and the example is a company called "The Aussie Carpet Company" which sells imported goods...

chromakode,

@chrisjrn That is so funny. And a little sketchy.

chromakode,

@chrisjrn Oh dear. I also appreciate "Made in China" goes from the smallest text to "PRC" in giant sans serif character. 🙃

chromakode,

@chrisjrn Does the PRC at the bottom there indicate it was made in China?

chromakode,
josh, to random
@josh@josh.tel avatar

deleted_by_author

  • Loading...
  • chromakode,

    @josh Is this a low key matrix reference 😂

    chromakode, to random
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • tacticalgear
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • provamag3
  • ethstaker
  • GTA5RPClips
  • modclub
  • tester
  • Leos
  • osvaldo12
  • cisconetworking
  • everett
  • cubers
  • normalnudes
  • anitta
  • megavids
  • lostlight
  • All magazines