@helpimnotdrowning@lemmy.sdf.org avatar

helpimnotdrowning

@helpimnotdrowning@lemmy.sdf.org

helpimnotdrowning.net (eternally unfinished)

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

How are you parsing JSON on the command line?

I want to extract and process the metadata from PNG images and the first line of .safetensors files for LLM’s and LoRA’s. I could spend ages farting around with sed or awk but formats of files are constantly changing. I’d like a faster way to see a summary of training and a few other details when they are available.

helpimnotdrowning,
@helpimnotdrowning@lemmy.sdf.org avatar

Big fan of running cat file.json | ConvertFrom-Json and just being able to do things quickly!

helpimnotdrowning,
@helpimnotdrowning@lemmy.sdf.org avatar

Yep, I’ve just ordered another 8tb to copy to and avoid the headache that could be a drive failure. And it’ll certainly be faster, gparted is still giving a 13 hour ETA for the first resize! Thanks for the help!

helpimnotdrowning,
@helpimnotdrowning@lemmy.sdf.org avatar

What’s the advantage in btrfs over ext4? I’ve kept hearing about it since I started with Linux but the only advantage I can see with it is the snapshot rollback feature, which while useful looking, I don’t think would be something I would use

helpimnotdrowning,
@helpimnotdrowning@lemmy.sdf.org avatar

unfortunately I was, lol

I’ve already bought another drive to avoid this funky shuffling, so I should be fine now

helpimnotdrowning,
@helpimnotdrowning@lemmy.sdf.org avatar

Decided to buy another drive instead of doing any more harm than I needed to, no worries

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fightinggames
  • All magazines