PseudoSpock

@PseudoSpock@lemmy.dbzer0.com
1 Post – 532 Comments
Joined 11 months ago

I'm picturing Daffy Duck and Bugs Bunny swapping hunting signs on a tree... "Linux season!" "GNU season!", back and forth. The rest of us just watching like Elmer Fud.

Don't know about everyone else, but here are some of mine:

  • Stick to posix compliance shell code, wherever possible
  • Please wrap your variables with { }. Just please.
  • Global variables being exported in all caps
  • Local variables in lower case
  • $() instead of ` `
  • Comment anything complicated, comment what section, comment usage
  • Include usage output if options are not recognized
  • Use case instead of if / elif, where possible
  • 80 characters or less per line, where possible
  • HERE docs in designated section, marked by comment blocks
  • Comment your functions immediately above it's definition
  • Add comment "#End of function Xyz" at line immediately below a function, with replacing Xyz with name of that function
  • 2 space indentation
  • Multi-line strings: First line open with quote and first line of string, followed by a backslash , subsequent lines properly indented and backslashed. Last line, properly indented and close quoted.
  • Break up multiple piping of commands with |\ and a new line where it makes sense to look nice, assisting readability
  • Echo what the script is doing once in a while if the user will be waiting for a while
  • Please don't do shar archives, or byte located binary extractions, make a script and a separate tarball - Helps a ton if we have to change it, like say... swapping out a bundled java runtime built for x86_64 with one for aarch64
  • If the script will run for a very long time, check for tmux or screen and also the TMOUT variable... Give a warning to the user their connection might time out before the script is done if they don't unset TMOUT, and try using tmux or screen to allow the script to continue in the background, even if you do get disconnected
  • Make use of logger
  • I try to organize a script this way: 1. Shebang, 2. Initial variable definitions, 3. Functions, 4. runtime execution code, which might be best outside of a function, and calling functions. 5. Clean-up (remove pid and lock files, tmp files, etc etc.)
4 more...

Isn't it illegal to screw with the military actions of the U.S. ... and its allies?!!?

8 more...

Warning: No matter what anyone tells you, do not use any rm command with the -r option and/or any wildcard charachers like * and ?, unless you understand the command fully.

4 more...

If you need Adobe, just don't bother with linux on your primary work / study machine. Save linux for another system.

2 more...

The "TLDR" is sub heading is completely misleading. Cinnamon devs see they have to move, that's the reason. "Begging to work" on Wayland is not at all what the article says. Before you downvote, read it. Nothing in that article or the link to one dev's blog says anything even remotely like that.

2 more...

This was no accident. They want you to install apps via their walled garden snap store.

In their general rules:

Any pictures of food containing animal products, including but not limited to meat, cheese, or egg, must be tagged nsfw along with food discussion content warnings (CW: Food).

Animal Liberation is essential to any leftist movement, including platforms like Hexbear. Volunteers, comments, and posts, should not be anti-vegan, although users and volunteers are not required to be vegan.

Wow. Just wow. That is so far beyond leftist.

17 more...

Cant follow the money to see who owns him if there are no accounts. For any adult with a roof over their head, to not have at least one bank account is very odd, and for a politician, very sus.

2 more...

Sure, if it's a native Linux port. If it requires WINE, forget it.

For one, the snap version is 115 instead of 116, so it's reverting me to an older version, which makes firefox want to wipe my profile. Not ok. Two, I was purposely using the Mozillateam PPA to get non snap installations, and they up and changed that on us with no warning. Then there is the matter that firefox as a snap is slower. And finally, I can't add the Widevine for arm64 plugin to the snap.

Snap for browsers is a terrible idea.

That's so fetch!

2 more...

You still have sd devices? /s

Take that Ubuntu and your PPA that use to not drive people to your snap package!

5 more...

No no, give him to Ukrain, where they can charge and try him. Hopefully end up with life in prison or something better (worse?). Giving him to Russia just makes him more of a Russian asset.

7 more...

I like that... I'll take it. Thank you for putting it that way.

It happens naturally or not at all.

This is one of those many posts that leaves me wondering, "Why do you want to know?" "What are you going to do with the information?"

2 more...

You get what you vote for.

Oh god, she is NOT a help. She's how we got Trump in the first place. We really need her to stay out of the news from now on.

Every dream I've ever had. Far as I know, I am the only one to survive them ending.

About dang time the Wayland crew did this and stopped blaming NVidia.

1 more...

Previous job. They sold off our main product in one industry so they could focus on the more demanding other product for another industry. The first product end users actually wanted. The second product, end users did not want it, but the manufacturers did... because it gave them all that wonderful spying on you data to sell. Then the company died during the shutdowns. The stupid apps they gave people didn't entice anyone to use them.

The rock64 version likely is the same, except for boot loader stuff. Often times these SBC's require custom boot software, firmware, or configuration. The rest of the distro should be straight up debian.

Haha. Anyone staying there at this point is getting what they deserve.

Hence me now moving off of it.

2 more...

Not long now until we're eating the rich. I can't wait!

1 more...

ACAB, plain and simple.

It's more incestuous than that... It's a Motherboard with a Daughterboard. 😲

2 more...

Then he can tell it to judge.

Yeah, defederating **right wing ** extremists is important to me.

3 more...

“You are just like your mother.”

Sokath, his eyes open.

Working from home.

Thank you, everyone. Found my new home. What was odd was that this thread I created (Hi, I'm also HR_Pufnstuf) experienced the same problem with all threads in the Technology community... where I can't see any of the comments except my own. Luckily I was able to find all your comments in my inbox. After visiting all your wonderfull suggestions, save for the kbin's, I've chosen to settle here. I'll keep the lemmy.world around as a backup.

Also, wanna say the default theme here is pretty slick

Again, thanks everyone. I appreciated the feedback!

PseudoSpock / HR_Pufnstuff

Edit: I had a typo in my sig of PseudoSpock I just fixed. That typo had made it offensive and I am VERY sorry!

1 more...

I don't like snaps, but dude... Do you even know what fstab is?

3 more...

Never give power to those who seek it.

Let us see, shall we?

ssh root@cyberwolfie.com

❯ cowsay Uh-oh
 _______ 
< Uh-oh >
 ------- 
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

;)

Doesn't help when you have a moderator for a community as big as KDE that tells users looking for help to learn to code. Looking at you, @Bro666@lemmy.kde.social. Suppose to be a support community, and if anyone reports an issue or concern, he calls them rude and dismisses them with a repost of his article to go code it yourself. That's helpful to no one. If I were new to Lemmy and KDE, that would have made me leave both. Toxic mods are a problem.

8 more...

Depends... you didn't write ReiserFS, did you?