stembolts

joined 2 years ago
[–] stembolts 14 points 1 week ago* (last edited 1 week ago) (6 children)

On CLI I figure out the command I need once.

Put it in a script.

Cron it if I want it to be daemonized.

Never think about it ever again.

Anti-CLI folks just have a bad workflow.

They see the script as the end, when in reality it's a foundation. I rarely look at my foundation. I build on it.

With this workflow I have dozens, hundreds, or thousand of automatic actions that "just work". Idk, works for me.

That said, if you prefer to click yourself to RSI to accomplish the same task, who am I to judge. I just watch and nod until I'm asked for a suggestion.

[–] stembolts 2 points 2 weeks ago* (last edited 2 weeks ago)

True, in the situation with a local history maybe it's worthwhile to --force to nuke an empty remote. In that case it is practical to do so. I just typically like to find non-force options.

[–] stembolts 8 points 2 weeks ago* (last edited 2 weeks ago) (4 children)

There are multiple solutions to this without using --force.

Move the files, clone, unmove the files, commit, push being the most straightforward that I can summon at this time.. but I've solved this dozens of times and have never use --force.

[–] stembolts 6 points 3 weeks ago

I assume it's temporary, with the introduction of a new tech it takes time to set regulations and norms for it. That said, I disagree with this stance if it's permanent, but I'm not nearly as cynical about this as most of this chat section.

The X-Games is a sporting event where folks risk their lives for our amusement. So giving competitors a few years to learn if a new technology, a technology with different centers of gravity and moments of inertia, can behave in a predictable manner while performing aerial stunts is a reasonable stance from my perspective.

Otherwise people may rapidly adopt the new tech in competition which could result in bodily harm, battery breaches etc. After all, we aren't talking about just riding the bikes, but hurling them through the air and slamming them onto the ground. I see a real possibility of a breached battery (an extremely high energy bomb with fast and slow release potential) and an unconscious rider creating real harm.

I'm curious of others' views on this take.

[–] stembolts 1 points 3 weeks ago (13 children)

Cable will reach anywhere. There is not such a place that cable "will not reach". Is there a profit incentive to serve you as a customer in a capitalist system? Maybe not. But cable will reach.

[–] stembolts 1 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I understand the debate perversion nitpicking you are engaging in, and it's a silly way to intentionally misunderstand someone.

The firefighters are all older men due to their profession and the nature of time. I understand their claim, you understand mine. I am not rejoicing in causing harm to others, and you are. I will gladly maintain an opposing view to people who think in that manner.

[–] stembolts 23 points 3 weeks ago (4 children)

First, don't stereotype. Many older men are anti-Trump.

Second, making help dependent on political views makes us no better than MAGA.

This is a reductionist statement that discards people based on a flawed and imposed perception of them.

Finally, and the least important point of all, many of the men you are talking about have social media histories which refute your claim. As I said, this doesn't matter because even MAGA chuds deserve healthcare.

This feels like 1 spite politics, or 2 bot propaganda to defend dehumanizing Republican actions.

Gross.

[–] stembolts 1 points 1 month ago

Both perspectives are valid.

[–] stembolts 1 points 1 month ago

I was multibooting operating systems on my home PC at 16, and Google and Stackoverflow didn't exist.

[–] stembolts 1 points 1 month ago

Will do, I've been working on un-hardcoding some dev stuff and getting it ready to be published for general use. I will post the update on this sub-lemmy when it's ready.

[–] stembolts 10 points 1 month ago* (last edited 1 month ago)

All hail Roko's Basilisk.

Bring about the upgrade to humanity!

[–] stembolts 2 points 1 month ago

As simple as what I'm about to suggest is, it is priceless.

This is an example when copy > paste. Copy the file content, perform the methods shared in this thread, then once you've verified that everything is running properly you can delete the original copy.

If it bunks and overwrites, no biggie, you planned for that.

I'd love to say that I'd never made the mistake of choosing CUT when I should have chosen COPY, but I guess sometimes we learn things the hard way. 💀

55
submitted 1 month ago* (last edited 1 month ago) by stembolts to c/[email protected]
 

I've been working on a small project to remote control (via ssh mostly) my qbittorrent client. It's going well and I've already taken care of the basic functions I set out to create.

pause all
resume all
set default parameters to all torrents
sort priority to mirror dl_limit
shutdown client

Obviously I'll add more.

Thought I'd stop by and ask if anyone knows of a similar project. I'd be open to sharing the code but for now just the question.

1
submitted 4 months ago* (last edited 4 months ago) by stembolts to c/[email protected]
 

Hello, someone used an entangle spell on my eagle artillery and it feels like this debris stays around for ages. Don't get me wrong, it's kind of neat and doesn't bother me at all, just curious.

How long until this bright green grass and thorns clear away? Tbh this makes me want to use the entangle spell more, knowing that the victim has to see thorns in their base for some duration afterwards, haha!

 

So I was thinking of silly things I've done that pseudo-broke my system, or made me think I had a broken system. Like the time I put the cmd :

exit

in my ~/.bash_aliases file and I had to open a text editor to fix it because that broke all the terminals on my machine.

I'm curious what other silly things users have done to confuse themselves.

 

I found this Python script a few years ago, it is simple enough that a non-programmer could understand 90% of it. I just remembered it had been running as a scheduled task all this time when I thought I had lost some saves.

Thought I'd post it here in case anyone can use it. Minor things are hard coded but they are few and easy to edit.

https://github.com/nonbhoward/backup_factorio_saves/blob/main/run.py

304
Kira (programming.dev)
submitted 9 months ago* (last edited 9 months ago) by stembolts to c/[email protected]
 
48
Deleted (self.programming)
submitted 1 year ago* (last edited 3 months ago) by stembolts to c/programming
 

.

view more: next ›