opsitive

@opsitive@floss.social

As a trainer, coach and mentor, I help engineering teams of one to ten deliver results faster, better and more reliably.

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

opsitive, to ruby

"Tests provide the only reliable documentation of design. The story they tell remains true long after paper documents become obsolete and human memory fails. Write your tests as if you expect your future self to have amnesia. Remember that you will forget; write tests that remind you of the story once you have." (Sandi Metz, "Practical Object-Oriented Design")

opsitive, to ruby

"An understanding of object-oriented design, good refactoring skills, and the ability to write efficient tests form a three-legged stool upon which changeable code rests. Well-designed code is easy to change, refactoring is how you change from one design to the next, and tests free you to refactor with impunity." (Sandi Metz, "Practical Object-Oriented Design")

xahteiwi, (edited ) to random
@xahteiwi@mastodon.social avatar

If you're reading an English text out loud and it contains the initialism "e.g.", how are you most likely to render it verbally?

opsitive,

@xahteiwi I didn’t take eight years of Latin to then not say “ee gee”. 🧐

opsitive, to opensource

Zulip is absolutely underrated as a chat platform for teams. Its automatic threading makes it so much easier to catch up on previous conversations than with Slack, Teams or Discord. In my opinion, Zulip is ideal for distributed teams who prefer to work and communicate asynchronously -- like my team, for example.

And it's 100% !

Check it out at https://zulip.com/!

opsitive, to linux

After a week of running my home server on a second-hand Dell workstation, I wonder if I'll ever buy a new desktop or laptop to run on again.

opsitive, to random

My default web browser is Firefox. It works nicely, follows the latest standards, has a thriving extension ecosystem, and, most importantly, the organization that develops it isn’t into surveillance capitalism. I highly recommend you give it a try!

https://www.mozilla.org/firefox/

vwbusguy, to random
@vwbusguy@mastodon.online avatar

I got new glasses this week. My wife said I reminded her of someone while wearing them and produced pictures of Walter White and Commissioner Gordon (Gary Oldman).

That's it. I officially look like a middle aged white man.

opsitive,

@vwbusguy That settles it. I’m getting Lasik.

opsitive, to random

Adding heikkiket/gallery to my list of projects I want to try. https://github.com/heikkiket/gallery

nixCraft, to random
@nixCraft@mastodon.social avatar

So... it has come to this. 🥲

opsitive,

@nixCraft Tune in to next week's episode, "What's a scuzzy, and why are there two of them?"

opsitive, to linux

Do you need Linux skills for your job? If you'd like to learn everything important about the operating system, its tools and how to use it in everyday work, this is the course for you.

https://www.linuxmastercourse.com/community

opsitive, to linux

There's something about Rust that inspires developers to build modern replacements for traditional Unix/Linux commands. One example is bat, a "cat clone with wings". It adds quite a few nifty features like syntax highlighting and line numbers.

I made a short video about bat here: https://www.youtube.com/watch?v=-jFoZ4RSMAU

opsitive, to linux

If you want to raise your shell scripts to a new level, give shellcheck a try! It'll give you valuable feedback on the style of your shell code and on possible issues with it.

https://www.shellcheck.net/

opsitive,

@isotopp IDD. Beyond a certain point, even shellcheck won't help you write maintainable automation code much anymore.

I'd just s/Python/Ruby/. 😄

opsitive,

@isotopp What do you think how I ended up liking Ruby? 🤣 Camels and lamas, I’m telling you, they change your life.

thelinuxcast, to random
@thelinuxcast@fosstodon.org avatar

Honestly my favorite part of the #AppleEvent was the Mother Nature sketch. That was funny at least.

But, I guess I will be buying a new iPhone. Basically the same price. Still too expensive, but I won't be buying another until 2027 at the earliest.

opsitive,

@sebian @thelinuxcast Apart from reliability and long-term support, they do have a decent level of sustainability and privacy going for them. Perhaps I'll let myself be tempted to replace my iPhone 13 next year.

thelinuxcast, to random
@thelinuxcast@fosstodon.org avatar

So I'm really hoping that Apple doesn't raise prices too much today. I need a new phone and I've decided to go iPhone this time. Android's battery life has been shit for me on the last three devices and I'm just done with it.

opsitive,

@thelinuxcast I’m sold on Linux, but I’ve yet to see a phone that would make me stop buying iPhones. I can afford expensive hardware, but I can’t afford wasting my time.

opsitive, to linux

"Crap, I was in the wrong directory when I untarred that package, and now it's full of stuff." Well, you can clean up just as quickly by using the list of files from the tarball:

tar tzf /path/to/ball.tar.gz | xargs -d'\n' rm -rfv

opsitive,

@xahteiwi @isotopp Happy to. :D

First of all, I worked with Kris in the past, and follow his work closely, so there are no hard feelings to begin with.

Second, I agree 100% that you should get off the shell script train as soon as possible. It's not a long-distance vehicle.

Third, the -d approach felt off from the start, but I was in a hurry and made the mistake of ignoring that gut feeling. The result was shoddy advice.

You both improved on my post, and I do appreciate it!

opsitive,

@xahteiwi I just did some research like I should have done earlier.

And, handing even more fuel to @isotopp :D, your suggestion won't do what you thought it did either. The --null option in tar only works on input data, very similar to xargs -0. It does not, however, output a NUL-delimited file name list. See https://www.gnu.org/software/tar/manual/html_node/nul.html

I'll try to salvage this and find a robust solution tomorrow when my brain has recharged.

opsitive, to random

I just installed Zeal, a documentation browser similar to the Dash app I used before I switched from macOS to Linux. Going through the list of available docsets and selecting one after another almost made me angry that I didn't discover this app before I went traveling last month. It would have been really useful during flights or other offline periods.

https://zealdocs.org/

hirad, to linux
@hirad@hirad.it avatar

My least favorite Linux command, by far, is du.

opsitive,

@popey @hirad Also, dust. Written in... well, you know.

vwestlife, to random
@vwestlife@mastodon.social avatar

Every keyboard needs to have a "Don't Care" key.

opsitive,

@vwestlife I bought many keycap sets but this one rules them all.

vwbusguy, to Ansible
@vwbusguy@mastodon.online avatar

It seems that most people who manage with have given up on the RFC recommendation for SOA serials YYYYMMDDxx and just use epoch time, which means that since it's a 32-bit unsigned value per RFC1035, there are going to be a lot of problems for domain names that are still operating in the year 2106.

opsitive,

@vwbusguy If in the year 2106, you're still using BIND, you might have a whole host of other issues.

opsitive,

@vwbusguy You're right, of course. I was being facetious. Mostly. 😁

I guess people use Unix time because the date pattern with the increment at the end is hard to auto-generate in configuration management software. In that case, maybe YYYYMMDDhh might be a more reliable, albeit simplistic pattern with the only downside that you can only update once per hour.

thelinuxcast, to random
@thelinuxcast@fosstodon.org avatar

Don't normally respond to these, but this time I had to. ffs

opsitive,

@thelinuxcast My answer would have been "Hole pizza? The term you're looking for is bagel."

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines