What or Why

The more I mess about with Docker and Kubernetes and the tooling associated with it, the more it reminds me of playing around with OSes in the 1980s: Everything is manual. Nothing is settled and predictable. It’s not easy to tell what’s happening or why. The networking and security are poor while the performance is atrocious.

Why anyone thought this was better I haven’t a clue. Seems like mass delusion to me as we retreat into abysmal performance and unpredictable behavior.

Shrinking

This will only work on the Mac, and has only been tested with an app called Context Menu1, and requires Imagemagick and other tools installed via Homebrew, and other things I’m probably omitting, but this is a little script I wrote that will work in the Mac context menu to automatically resize any image type you specify and output it with “-smaller” appended.

Here’s how it looks in my right-click menu:

And here’s my glorious code:

#!/bin/bash

for f in "$@"
do
# Get the width and height of the original image
dimensions=$(sips -g pixelWidth -g pixelHeight "$f")
width=$(echo "$dimensions" | awk '/pixelWidth:/ { print $2 }')
height=$(echo "$dimensions" | awk '/pixelHeight:/ { print $2 }')

if [ "$width" -gt 1200 ] || [ "$height" -gt 1200 ]; then
# Get file name without extension and the extension
filename="${f%.*}"
extension="${f##*.}"

# Output file name
output="${filename}-smaller.${extension}"

# Copy original to new file first
cp "$f" "$output"

# Resize and set DPI using mogrify
/opt/homebrew/bin/mogrify -resize 1200x1200\> -density 96 -units PixelsPerInch "$output"

else
# Show dialog with custom icon if image is too small
osascript <<EOF
set iconFile to POSIX file "/Users/quoderat/icons/10112-crying-cat-face-icon.png" as alias
display dialog "Image is too small, home slice." buttons {"OK"} default button "OK" with icon iconFile
EOF
fi
done

It should be noted that if you attempt to resize an image that is smaller than 1200 pixels width/height the script will pop up a dialog box that says, “Image is too small, home slice.”

Tune that puppy how you want. It has comments and it’s pretty obvious what it’s doing and how.

  1. Though it can be easily adapted to Mac Quick Actions as it it’s just a Bash script with a little Applescript. Or might just work. I haven’t checked.

Macro Lacking

The more I learn about Kubernetes, Docker, microservices and the like the more it’s clear that it was all designed by people who knew absolutely nothing about networking, the impact of latency, what true scalability would or should look like, usability, or already-existing technologies.

It’s all just clown-level stuff. No wonder it took over.

Direct

Everywhere in my field wants you to be a developer now.

It’s sad to see. And pointless. They’re different disciplines. A lot of roles these days expect you to be an expert developer, an experienced manager and a great sysadmin, while doing 10-20 other things as well.

This is just not possible. And I have absolutely no interest in being a developer, which is about all that seems to be valued anymore for whatever reason.

It’s a terrible time in tech.

A Large DOS

Most dreaded question: how many years of Microsoft experience do you have.

Pretty much all of them. I first used MS-DOS sometime in 1981, shortly after it was released. That’s 42 years of experience.

If professional office experience, then 31 years; the time, it do fly.

I assume this question means “Microsoft Office” or something as it’s too broad to really answer well, but I’ve used just about every major application MS has ever made and a whole lot of their minor ones too. Alas.

Volution

Why is everything so convoluted these days?

In the tech world, everything has become difficult and convoluted because all is now becoming aimed at experienced developers instead of any users or sysadmins.

And it’s just become more complex in general. When I started you could do the job with a 110 IQ. Now you need 130 at least — more like 140+ to do it well. At some point we’ll reach an upper limit to being able to find humans to do the work as those with 140 IQ and above are only 0.48% of the population.

Will AI help with this? Maybe. But the base knowledge has to be generated by humans first. In tech and in many other areas, we’ve created a civilization too complex for most of the people who live and work in it to begin to understand.

Devit

Most of you won’t care about this, but Microsoft Graph is aimed at developers.

And that makes it nearly useless for sysadmin types like me. As are many other tech companies, Microsoft took away anything that made administration easy and is transitioning everything into a shitty development role. So now you have to write a thousand lines of code for what used to be a single-line command (not exaggerating; it really is that bad).

There’s no motherfucking way I’m going to start writing C# code just so I can add a few users to Active Directory. Fuck Microsoft and any clown who had anything to do with Graph.

It’s another example of making everything easy for developers but far more difficult for anyone who actually needs to be productive rather than sitting in front of the little code box and typing your little codes.

No Del

If they are at all a competent company, they have immutable backups that can’t be deleted. Where I work our safest backups I cannot even delete. In fact, no one can; they are object locked and literally cannot be deleted. No ransomware, admin, or user can nuke them. (In other words, even a takeover of my highest-level admin account would not be enough to delete these backups. The attacker would actually have to hack AWS itself, a vastly more difficult proposition.)

To delete our backups, as mentioned above someone would have to hack into AWS itself (very, very difficult), and then hack the object lock mechanism (nearly impossible) and then manually delete the data from all 20-30 datacenters it’s replicated across. This is something even a state-level actor with millions in funding would find just about impossible.

Any business that does not do something like the above is operating at clown level as it’s so cheap and easy.

Tech Path

Recruiter accidently emailed me her secret internal selection guidelines.

It’s sad to see tech starting to become like doctor/lawyer type careers. The professionalization of the field means less innovation, and that I never could’ve entered it as I did back in the day.

That working your way up path is closed now. Unless you attended a top 10 school if you’re just getting started, forget a decent job. Requiring a CS degree for fucking around with CSS is like requiring a Master’s Degree for being a receptionist — but that’s the way the world is moving.

Soon, there will be the rich and the connected. And then all the rest.

Searchers

One of the most confusing things about modern life. Practically every search function on a large website returns seemingly random results now.

It’s not just websites; search does not work anywhere. Not in email. Not for the local filesystem. Not in calendars or notes. And search is not all that hard, contrary to what you have been told. One developer alone writes a search tool that’s better than any other one I’ve used and works absolutely flawlessly. So it can be done.

For some reason, these companies just do not want to have working search. In most cases, I can’t even imagine why.

BBQ Grill

How are you dealing with your company using the IT Department as a catch-all?

This is always going to happen because the IT department has the largest single population of people who can think through a problem and follow tasks step by step. In IT, that’s maybe 40% of the people present. Nowhere near the majority, to be clear.

But outside of IT, that is maybe 1-2% of people in the average department.

Because of this, IT becomes the dumping ground anything that is more complex than folding a piece of paper in half. I’ve seen it over and over again.

I don’t foresee this ever not occurring. So IT will be assembling barbecue grills and doing training until the sun goes red giant.

Tick Tech

Where has the left’s technological audacity gone?

They have gone clownishly degrowther even though tech is the only way out of our current predicament and is the only path to any sort of livable future or the non-extinction of humanity. Also, eventually, the species will have to become multiplanetary and that is going to take tech we can barely even dream about yet.

No, it’s not impossible (no matter what you might read that is now a nearly-ubiquitous opinion). Yes, it is very very hard. But who gives a fuck? Metallurgy is hard. Harder than we give it credit for. Reading and writing is hard. Building an airplane is hard. And despite all that, we have cars, widespread literacy and A320s — all things that would have been claimed to be something “impossible” in various time periods.

It does not matter even a little bit about what current dipshit mooks think about what the future will be like. They’ll have (over the long time span) no say in building it. Their opinions are irrelevant chaff. Building is what matters, and we should do that.

Early Onset Alzheimer’s

Smartphones and social media are enormous cognitohazards that are now actually destroying intelligence too. Not surprising, but more than alarming.

Phone addicts, cry harder.