janitha

Joined 18 years ago

Karma
1,882
Submissions
477
Member since
Aug 22
I'm Janitha and I Convert Tea Into Ideas & Code. My ramblings can be read at https://janitha.com

Location: Austin, TX / Los Angeles, CA

Drop me a line at [email protected] if you have something to talk about

#--hackrtrackr:z0zfrO8MC5bQsROWpv2LCko5al0sRR#

[ my public key: https://keybase.io/janitha; my proof: https://keybase.io/janitha/sigs/GsifrQ48ZPfegD3cJMdiOFHkPVYbeQIizibKRShKN08 ]

meet.hn/city/30.2711286,-97.7436995/Austin

Socials:

- github.com/janitha - instagram.com/psynack - linkedin.com/in/janitha - janitha.com

View on Hacker News

Recent submissions

Comment · 9 months ago
Comment · 4 years ago
Racing/Freestyle FPV Drones. It's a wonderful fusion of building them, electronics, software (betaflight is open source), cinematography, and just tinkering in general.
Comment · 4 years ago
Profitability?

A cheap one time procedure (ie. vasalgel) is far less lucrative than a pill that need to be bought repeatedly.

Comment · 4 years ago
How is the container version crippled?

An anecdotal data point, but I've been running the home-assistant container image on k8s without any issue, and I have a lot of integrations.

Comment · 4 years ago
Ah gotcha, I haven't done full restore of my main dataset.

I've only verified with a smaller test dataset to validate the workflow on s3 deep archive (retrieval is $0.02/GB). I've done full backup/restore with the zfs send/gpg/recv workflow successfully (to a non aws s3 destination), and used s3 for quite a long time for work and personal without issue, so personally I have high confidence in the entire workflow.

Comment · 4 years ago
Pretty much the exact reverse of backing it up https://news.ycombinator.com/item?id=29541729

    aws s3 cp s3://... - | gpg -d ... | zfs recv ...
When restoring the order of restores matters, you first need to restore the full snapshot, and then the subsequent incremental ones in order.
Comment · 4 years ago
No intermediate directory/file at all, all done on the fly.

    sudo zfs send -i <LAST_BACKUPED_SNAPNAME> <CUR_SNAPNAME> | gpg -e -r <YOURKEY> --compress-algo none -v | pv | aws s3 cp --storage-class DEEP_ARCHIVE - s3://<PATH_TO_DEST>.zfs.gpg
The very first time you do it, you will need to do a full backup (ie. without the `-i <...>` option). Afterwards, subsequent backups can be done with the -i, so only the incremental difference will be backed up.

I have a path/naming scheme for the .zfs.gpg files on s3 which include the snapshot from/to names. This allows to determine what the latest backed up snapshot name is (so the next one can be incremental against that). And also use when backing up, since the order or restore matters.

Comment · 4 years ago
S3 Glacier Deep Archive, $0.00099 per GB per month.

I have a ZFS based NAS. And periodically do a incremental backup (zfs send) of the entire dataset, encrypt it gpg and pipe it straight up to S3 deep archive. Works like a charm.

The catch with S3 deep archive is if you want to get the data back... It's reliable, but you will pay quite a bit more. So as a last resort backup, it's perfect.

Comment · 5 years ago
Nostalgia! This was my first (and only) technic set I got when I was a kid. The most impressive here is the actual functional mechanical systems, all wheel steering, all wheel drive, differentials, gearbox, suspension, etc.
Comment · 5 years ago
Comment · 5 years ago
Came here to post this. Also, vacuum insulated mugs and tumblers for hot/cold drinks as well.
Comment · 5 years ago
This is exactly what VMware Horizon VDI does to create desktop VMs very quickly, called Instant Clone (aka VM Fork), and has been around for several years now.

With that, you don't even need to do deduplication after the fact, it comes for free. When a new VM is forked, it's memory and disk are copy-on-write from the source/parent VM.

Comment · 5 years ago
> Unless they mean it'll instantly show a loading screen, I'll bet it doesn't.

You absolutely can. I am not sure what tech Microsoft is using, but a similar experience can be had with VMware Horizon VDI product with something called Instant Clone, which is essentially forking an already booted up Desktop VM. On each esxi hypervisor host, you would have one of these parent/seed VMs that is booted up and ready in a frozen state, and when a new desktop VM is needed, it's created from the seed/parent using copy-on-write memory/disk and runtime state less than a second.

Comment · 5 years ago
Comment · 6 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton