Random Tech

Apropos to, well, nothing.

There’s a more effective regex you could use.

c=abcdefg; egrep -i “^[$c]{2,${#c}}$” dictionarylist

Another random bit of randomness, while I hammered out that example var, the only thing I could think of was that maddening commercial from the 1970s for Hooked on Phonics. How did they start off? Weren’t they some over-energetic woman doing a voice-over at the beginning of the commercial starting with the borderline, somewhat musical, “Learn to read!”

Great campaign, really. Memorable.

But wouldn’t it seem strange that your telephone number still said “One Eight-hundred A-B-C-D-E-F-G!” — so, you have to understand letters and reading well-enough to, you know, learn to read?

Yep, Hukt On Fonix werkt fer me!

Still Funny

We’re using Hubot for very limited automation and integration with our messaging apps. We’ve renamed it from “hubot” to “alfred”.

To make a request, you simply begin with “alfred …” Like, for example, you need it to build a cluster, the instruction might be alfred build <region> <name> Of course, the ‘region’ and ‘name’ are variables that you’ll define when running it. You could even just do alfred help to get a complete list of every defined process that it’s capable of. Really simplistic, honestly.

But the confusion that arises just from the bot’s name is amusing. People mistakenly (accidentally on purpose?) type things like:

  • albert build us-west-2 devcluster
  • alvin build eu-west-1 mycluster
  • althea help
  • alexa do the build

Heh… remember that SNL skit from a couple of years ago? Same thing, really:

Work + Reality = Entertainment

So, we’re approaching tax season here in the USA. The company’s HR team sends out an update to the company via email.

Somebody replies to the sender with an innocent-enough request of, “Hey, my form is incorrect. How can I get it changed?”

The originator replied… and… I readied some popcorn to enjoy the show.

Then all hell broke loose.

People hit Reply-All — hundreds of them — and insisted on being removed from the distro, making snarky remarks and comments about the originator, or about the entirely mundane tax issue. Still more people even hit Reply All and warned everyone to not hit Reply All.

How could it be prevented?

It can’t.

Well, not unless you were to ensure that people sending out company-wide emails obscured all recipient names from each other[1] or we eliminated email[2] or learned how to not fan the flames[3] that would feed trolls[4], or…

Obviously, somebody made a harmless mistake. No blood. No foul. It’s a good lesson, I think: “Ah, right. As we learned 40-ish years ago about email, be careful not to do that.” But for an education company, there are a surprising number of employees who seem rather intent on ignoring the educational opportunity that this has presented.

…like not hitting Reply All then demonstrating to the entire company what an inconsiderate asshole you’ve turned in to.

[1] – We work together. We already know your email address.

[2] – and email isn’t going to “go away”.

[3] – there was that one time that a parent yelled at her kids to tell them to stop yelling.

[4] – because the trolls were going to eat their free cookies.