rmrf

joined 1 year ago
[–] rmrf@lemmy.ml 1 points 1 week ago

I agree, but we're talking about a white Christian in rural america. They don't put effort into it because they aren't meaningfully affected by outcomes either way. The SAVE act might be the first time they directly experience an erosion of rights but even then, theyre wealthy enough to travel regularly so their passport is likely recent.

[–] rmrf@lemmy.ml 8 points 1 week ago (2 children)

Those things aren't known by everyone. My conservative MIL didn't vote for Trump having known about those things, but my SIL did. She was shocked when I told her about it.

Americans generally aren't as well educated as many other countries of its caliber and a bit part of that manifests in media literacy and general interest in anything, really. My SIL claims she made her decision to vote for him because his campaign page was more convincing about lowering prices and Karris' I kid you not.

Yeah this is a single anecdote about a single person, but this largely has been my experience.

[–] rmrf@lemmy.ml -1 points 1 week ago

I have no problem with people talking shit on AI, my comment is about the fact people are reacting to what they think the subject of the headline is as opposed to what is written in the article.

FYI "are you lost" is a pretty rude way to start a conversation. I wasn't trying to hurt you

[–] rmrf@lemmy.ml 9 points 1 week ago (4 children)

ITT: headline readers that judge with their full weight on minimal information

[–] rmrf@lemmy.ml 0 points 2 weeks ago (1 children)

Unless you're a researcher, a PoC, an immigrant, a poor person, a homeless person, a drug addict, an orphan, etc

[–] rmrf@lemmy.ml 28 points 2 weeks ago

I think potholes are way more meaningful to bicycles, scooters, and motorcycles than cars from a usability standpoint

[–] rmrf@lemmy.ml 4 points 3 weeks ago (1 children)

How much does your VPN cost?

Also, whatever Firefox puts out there is not gonna be slower than TOR which has 3x the encryption and routing overhead of a typical VPN and also has no SLA guarantees at all. There's a reason a middle-ground exists between no tunnel and mega 3x tunnel, and there's nothing wrong with saving a few bucks if all you want to do is not be as profitable to data aggregators

TL:DR; stop making shit up

[–] rmrf@lemmy.ml 1 points 3 weeks ago

Sounds like theyre on target?

[–] rmrf@lemmy.ml 0 points 3 weeks ago (2 children)

UnderpantsWeevil rails against shitty headlines, blasts brg for bad writing

[–] rmrf@lemmy.ml 14 points 3 weeks ago

Not just unix-like, MacOS is UNIX certified,

[–] rmrf@lemmy.ml 1 points 3 weeks ago

Thanks for this, I appreciate the effort :)

[–] rmrf@lemmy.ml 3 points 4 weeks ago (2 children)

I'll acquiesce, I don't fully agree this very second but I'm 90% sure I can be convinced so I'll just give it to ya lol

 

I'm wondering how I could make a good, privacy respecting public sign up system for an event that protects both the person signing up and myself. I'm hoping for something user friendly, but ultimately my safety is important. I'm not sure what's out there or if I'll need to roll my own, but I'd love some community brainstorming here!

TL;DR: What are some ways I can have a privacy-respecting public sign up for an event I want to host that protects me and the people signing up?

 

While thinking of ways I can enrich my local community, I figured I should host cookouts/potlucks as a venue to share some useful stuff with the world. I want to cover things like degoogling, basic computer skills, etc. as that's where my skill set is primarily, but I plan to host guest "host's" to cover a wider breadth of knowledge.

If you were one of my neighbors, what would you like to see covered or cover yourself?

 

Edit: In case it wasn't clear, I wasn't seeking advice and I'm more than familiar with all the preventative measures that exist. The post is called "What to do if you kill the wrong file" not "check your backups". There's a plethora of information about the latter, even in this post, but virtually nothing on the former. This is the only edit made to the post. The only edits made were this addition of this clarification, and the addition of "without a backup" to the title.

Yep... it happened to me. I killed a docker compose file with 550 lines of God-forsaken yaml less than a week before the project launch, and the most recent backup we had was nearly a month old and would have taken at least a day to get back up to speed. With a stroke of luck, I handled it about as well as I could have for on the feet thinking and I'd like to share my experience and lessons learned for anyone else that may ever find themselves in these smelly shoes:

Disclaimer! I'm a young engineer still growing my expertise and experience. Some stuff in here may be bad advice or wrong, like my assertion that using dd to pull data off of an unmounted drive doesn't risk data loss; I'm pretty damn sure of that, but I wouldn't stake my life (or your data) on it. I'll happily update this post as improvements are suggested.

IF YOU RM'D THE WRONG THING:

1. Stop all writes to that partition as quickly as possible.

this step has some optional improvements at the bottom

Up to this point I'd been keeping a lazy backup of the file deleted on another partition. In order to preserve the disk as well as possible and prevent overwriting the blocks with the lost file, I cd to the backup dir and run a docker compose down. There were a few stragglers, but docker stop $containerName worked fine.

2. Unmount the partition

The goal is to ensure nothing writes to this disk at all. This, in tandem with the fact that most data recovery tools require an unmounted disk, is a critical step in preserving all hopes of recovering your data. Get that disk off of the accessible filesystem.

3. Save what you have

Once your partition is unmounted, you can use dd or a similar tool to create a backup somewhere else without risking corruption of the data. You should restore to a different disk/partition if at all possible, but I know sometimes things aren't possible and /boot can come in handy in an emergency. It would have been big enough to save me if I wasn't working on a dedicated app-data partition.

4. Your sword of choice

It's time to choose your data recovery tool. I tried both extundelete and testdisk/photorec, and extundelete got some stuff back but not what I was looking for, while also running into seg faults and other issues. Photorec, on the other hand, was truly a gift from the cosmos. It worked like a dream, it was quick and easy, and it saved my sanity and my project.

5. The search for gold

Use "grep -r './restore/directory' -e 'term in your file'" to look through everything you've deleted on the part since the beginning of time for the file you need.

It was a scary time for me, and hopefully this playbook can help some of you recover from a really stupid, preventable mistake.

potential improvements

In hindsight, two things could have gone better here: 1. Quicker: I could have shut them down immediately if I was less panicked and remembered this little trick: docker stop $(docker ps -q) 2. Exporter running config: I could have used 'docker inspect > /path/to/other/partition' to aid in the restoration process if I ended up needing to reconstruct it by hand. I decided it was worth it to risk it for the biscuit, though, and choosing to shut the stack down as quickly as possible was worth the potential sacrifice.

If you fight to preserve a running config of some sorts, whether k8s docker or other, MAKE SURE YOU WRITE IT TO ANOTHER PARTITION. It's generally wise to give an application it's own data partition but hey, you don't have a usable backup so if you don't have a partition to spare consider using the /boot partition if you really want to save your running config.

If you're considering a donation to FOSS, join me in sending a few bucks over to CGSecurity.

remove, recurse, force wrong path, there is no backup desperate panic

view more: next ›