Rote Loading

With this specific application, we can import data, but there are limitations due to its 2000-era handling of XML files.

  1. HTML forms uploading files have to…
    1. Have all the packets be received by the server.
    2. Process the file with the browser connection still open.
    3. The server has to tell the browser everything was received and is done.
  2. All this has to happen as one action within a 5 minute window.

A better method would allow just uploading the files to a page. Background processes would monitor that location and process the files independent of the browser. Notifications can be sent to alert the user the processing is done.

Or… recognize the echo XML file because you took too long and prevent it from being loaded or remove the data.

I ended up figuring out that if we split the files at about 5,000 records, then it should take about half the 5 minute window. I am pleased that for most I have seen that is true and about one in ten take so much longer that if I had cheated and gone with closer to the 5 minutes, I would be deleting duplicates. (This last is because some files are 50MB and others 100MB.)

The grumbling of this post is that I am on the 25th of 58 files. This is tedious. I am lamenting not creating a curl script to do this part for me. Automation is perfect for things like this.

 

List AD Group Members

Team lead of a group was curious which of his people have access to a certain system. I know the information is in an Active Directory Group. I knew where to find the group.

So, I pulled up the AD Users and Computer, found the group and was dismayed because I was looking at three screenshots to get the information because the Properties box is not expandable by size. That bothered me quite a bit. See, I would live with one

Enough so, that I decided it would be worth writing a Powershell script to dump the data. I am sure other coworkers have one. But, I did a quick Google and found something that looked way too easy. The last time I tried to do this, I had to script connecting to the AD server, searching through the forest, etc. This was one command. I added a couple options to make it better presentable.

Get-ADGroupMember <group_name> | Select-Object -exp name | Sort-Object

 

arzE

Ezra is a weird name. Reversing the letters does not really make it more or less weird.

Ezra vs Arze

There is a famous musician named Ezra Koenig (from Vampire Weekend). His Twitter account is @arzE.

His use of this name suggests to me he did the same thing as me, possibly also in his teens, of using arzE. I played around with it starting around eleven through high school. Also, playing D&D, I played around with names, including even a code to convert normal names into fantasy ones.

Wonder if people with other names reverse it?

Koenig also joined Twitter well after I did. I went with my usuals (first sneezypb and later ezrasf). Pretty sure if I’d not moved on, I might have registered that username before him.

P.S. I briefly made the title @arze which when the WordPress Jetpack posts it to Twitter probably would trigger the mention feature to alert him to this post. So, yeah, I am a chicken for not bringing it to his attention to get a response.

Thrawn

thrawn-zahn-tall-435x375In the 90s, Lucasfilm strongly pushed the Star Wars novels. Timothy Zahn wrote the Thrawn Trilogy. I probably bought as many as 50 Star Wars books wanting to read about what what happened next, before, and during the movies.

I suspect the strength of all our interest is what made Episodes I-III possible. And Disney seeing the continued strength of the brand made VII-IX plus Rogue One and the coming Solo movies appeared obviously good moves.

However, I dunno what to think about Thrawn.

When Disney bought Star Wars from Lucasfilm with the intent to make more movies, we fans in the early days thought “Heir to the Empire” starring Mitth’raw’nuruodo (aka Grand Admiral Thrawn) was not likely the next story because it took place five years after Return of the Jedi. That movie should have been released around 1988.  We figured back then on a Jacen and Jaina Solo (the force sensitive twins of Han and Leia) story. Then Disney dissolved all this material into the Legends. Fan theories show people still want to believe in the old material.

Thrawn is evidence why we continue to have faith some of the old Expanded Universe stuff is not permanently dead. Disney brought him back for the Rebels series foreshadowing and expanding on Rogue One. They have expanded his character so much they even tasked Timothy Zahn to write a novel chronicling his rise. First he was the future, then he was banished, and now he is back.

So… Bring back Mara Jade!

Autopet

Luna, the cat, likes to hang out in this window.

2017-03-05 11.44.20

Since she is young, she runs and jumps up to the seat and jumps again to the back. As she does, I stick my hand out and let it glide across her back. She gets to watch what I call “cat tv.” I get a brief pet out of her.

And… she is extremely disappointed the bag of pecan pieces are not treats. No, disappointed is not the word… Uh… It is more “you deceptive asshole!”

Resolution Progress 2017: First Quarter

(Original ; Half ; Three-Quarters ; Final)

For the first quarter, I should have progressed about 25%. So, let’s see where I am.

Intellectual humility

Adam Grant pointed to How ‘Intellectual Humility’ Can Make You a Better Person which I found intriguing.

We all have a tendency to overestimate how much we know — which, in turn, means that we often cling stubbornly to our beliefs while tuning out opinions different from our own. We generally believe we’re better or more correct than everyone else, or at least better than most people — a psychological quirk that’s as true for politics and religion as it is for things like fashion and lifestyles. And in a time when it seems like we’re all more convinced than ever of our own rightness, social scientists have begun to look more closely at an antidote: a concept called intellectual humility… which has to do with understanding the limits of one’s knowledge. It’s a state of openness to new ideas, a willingness to be receptive to new sources of evidence, and it comes with significant benefits: People with intellectual humility are both better learners and better able to engage in civil discourse. Google’s VP in charge of hiring, Laszlo Bock, has claimed it as one of the top qualities he looks for in a candidate: Without intellectual humility, he has said, “you are unable to learn.”

I wonder how my wanting to explain things tied in with my Imposter Syndrome derails the above overestimations. There is a thing in the back of my head looking to find fault in myself. So in going to explain something and realizing my weaknesses, my confirmation bias is to think, “Of course, I don’t understand it as well as I ought.”

Let Me Explain; Let Me Sum Up

There is a great quote from The Princess Bride

Westley: Who are you? Are we enemies? Why am I on this wall? Where is Buttercup?
Inigo Montoya: Let me explain.
[pause]
Inigo Montoya: No, there is too much. Let me sum up. Buttercup is marry Humperdinck in little less than half an hour. So all we have to do is get in, break up the wedding, steal the princess, make our escape… after I kill Count Rugen.

It is what I thought of while reading Mike Caufield’s The Power of Explaining to Others.

I like discussions about things because in talking about it, I have to…

  1. Judge how much the other person knows.
  2. Judge how much I know.
  3. Figure out the best way to provide additional value.

In going through this, I figure out that what I know is usually less than I originally thought. Which makes me more curious, so I will seek more information. Many of my times getting lost down the rabbit hole of the Internet is trying to clean up the holes of my understanding from some recent conversation. There is an obsession to better know things, so I found it interesting that my habit of explaining books, articles, or whatever is on my mind ties to well into countering false information.

The conclusion to Gotcha Jerks Part II

Not long ago, it gave me a warm fuzzy feeling for a very conservative coworker to call me the only liberal he knows that he can discuss things. We disagree, but we respect each other enough to discuss things. I am not hurt by our disagreements. And as much as he tries to act radical, I suspect a lot of it is poker bluff acting.

My motivation in talking with him is in part understanding what I do and do not know. He provides a perspective I normally probably would not see. He uses keywords I can search for to find more about those views. And… He is not seeking to convince me (nor I him) to the “right” side. We just talk to explain what we know to better understand. So, I hope in explaining to me, he is getting the same benefit I am.

 

Review: Philip K. Dick Is Dead, Alas

Philip K. Dick Is Dead, Alas
Philip K. Dick Is Dead, Alas by Michael Bishop
My rating: 5 of 5 stars

An excellent Dickian story in the irreverence that he would appreciate. The current fear, uncertainty, and doubt about the current environment made this a compelling read. The parallels between the Richard Nixon character and US politics reminded me of the fears about where we are headed to day.

Also, the inclusion of so many places in Georgia amused me.

View all my reviews

Tinkering

Another Rands In Repose gem.

Tinkering is a deceptively high-value activity. You don’t usually allocate much time to tinkering because the obvious value of tinkering is low. You don’t start tinkering with a goal in mind; you start with pure curiosity. I’ve heard about this thing, but I’ve never used it. How does this thing work? I’ve always wanted to know about more about X. Downtime is an easy time to tinker. Nothing is pressing, so these acts of mental wandering are acceptable.

This is how things get done. This is my life.

I think Dopamine is related to why I tinker. There is a definite expectation to getting something out of it. And that is all the motivation I need.

The dopamine from the ventral tegmental area… usually sends dopamine into the brain when animals (including people) expect or receive a reward. That reward might be a delicious slice of pizza or a favorite song. This dopamine release tells the brain that whatever it just experienced is worth getting more of. And that helps animals (including people) change their behaviors in ways that will help them attain more of the rewarding item or experience.

My reward is learning something about a gadget. Similar to how reading rewards me with learning about science, history, motivations, or behavior.