A little lesson on testing.

I got my new UPS today. I intend for it to supply my internet gear (modem, router, mesh, storage).
I plugged it into the wall, plugged everything in.

Note: this could have been planned better - some of my cables are too short so I need a higher shelf for the unit, but we worked through that.

Everything is working okay... or so it seems.
Plugging every item in one at a time helped me ensure I have all the right cords to the right things. This is rather like industriallogic.com/blog/test-driv…
All is good.

I did the self-test, and it passed. Grand.
Next morning, I pull the plug and all the devices go dark. What? Huh? How could that be?

Spin it around -- in my hurry and poor lighting I didn't plug devices into battery ports but just the surge protectors.

Sigh. Relocate the plugs. Try again.
Pull the plug - all the devices go dark including the UPS (again).

WHAT?
Check the manual - I plugged the UPS in, and it charged its battery and passed power through to the outlets, but I never TURNED IT ON.

There's a button on the front. You have to turn it on.

When you do, an "online" indicator lights. Sheesh.
When I first put the UPS in, I didn't realize that some family members were streaming video. I interrupted their streams. I thought I'd let them know, but maybe they didn't really hear me or understand that I meant "right now."

So I made the new tests safe-to-fail: nobody on!
Okay, devices on, no people using them, all clear.
UPS online. Self-test passes. Battery is fully charged (or close enough I can't tell).
Pull the plug.
BEEP! "On battery power" "180 Minutes Remaining"
No devices lose connection to the internet.
All is well.
Plug it all back in, everything is fine.

Had I not tested, I would have had a rather false sense of security. It was passing a happy-path tests (plugged in, AC to house is good, devices on) but I wasn't plugged into the right ports and the device wasn't even actually ON.
A bit of testing (preferably safe testing) and now I have earned confidence in the system. I don't know that I'll really get 180 minutes of power, but that's more than I typically need anyway. If our neighborhood power goes out (rare occasion), it's rarely for an hour.
But there I had to relearn a stepwise approach, safe testing, and negative-case tests with debugging.

I'm now more prepared for disaster, but wiser about careful assembly and reading instructions - it would have saved time for me to know what I'm doing and do it carefully.
My rush job got a desired immediate effect (the network was up) but if I'd stopped there I would not have achieved my real goal - my $200 UPS was just acting like a $15.00 power strip.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with "Agile Otter" Tim Ottinger

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @tottinge

3 Jan
This is such a simple idea. People often want to break up the three things, though.
#objectoriented @IndustrialLogic
The name is key here. What is this object for? Why would anyone look for it, or use it? When I'm programming, and I need a skiplist where can I find it, and what is it called there? What if it's not called skiplist?
Sometimes this is simple, like python 'datetime' contains 'date', 'time' 'datetime', 'timedelta', and more.

The name 'date' is scoped, so the name is really 'datetime.date' which is important to realize.
Read 5 tweets
29 Dec 21
Readability is a relationship between an artifact and an audience, and we all know that. It's not just the artifact, but here is a funky example.
I got a great new overdrive pedal for Christmas. It looks like this:
The weird bit is that usually the bass/treble EQ controls are together, and the volume/gain controls are together.
This time they're not and that was confusing to me.
Why such a weird order?
Read 11 tweets
29 Dec 21
so, OO, right?
What people are doing with Java typically is nothing like OO.
Imagine you're creating your own language specific to your problem domain and solution domain.
That's a beginning.
A language in which you can solve your problems in your domain and stack.
It doesn't exist, btw. Java, JS, Python, C#, Smalltalk -- they're not it. They're the language you build your language in. You don't implement the solution in Java. You implement your solution in the language you've built in Java.
The problem is that you have two locations in space, a bunch of roads, and you want to route a path from one place to the other.
Don't do that in ints, strings, functions, and doubles.
Do it in places, paths, and routes.
Read 9 tweets
27 Dec 21
The American superhighway system: 🧵
In other countries where you drive on the left, the rule is "say left except to pass" and this works. In the US (where we drive on the right) we don't do that. Cars are in all the lanes. There IS a system though.
The far-right lane (remember we drive on the right) is the "ramp lane." People are always slowing to get off the highway, or coming on slow and speeding up.
You'll be always accelerating/decelerating there, so don't drive this one. Go left.
Read 10 tweets
22 Dec 21
Including delivery/deployment in the definition of done I'm told is unfair because teams aren't in control of what gets delivered or when.
🧵
"Their work might be completed, but be only a fraction of some larger scatter-gathered effort, so it's not their fault."
"They may be dependent on work from another group, say FE or BE or database, or something, so it's not their fault the work isn't done."
Read 16 tweets
10 Dec 21
If I'm involved in a task and it's not completed yet, then people may want to talk to me about it or ask questions.

Eventually it's done, and there is less reason for people to need my attention on that topic.
So, the more work I have in progress and incomplete, the more reasons people have to talk to me.
When I have a lot of work in flight, and I'm trying to work on something else, then all those conversations will be felt as interruptions in the work I'm doing now.
Read 10 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(