Learn grep by using it to solve Wordle! Here's one from a few days ago. I have a favorite starting word and I see it has two letters in the wrong position. My wordle-grep cheat sheet (see snapshot) tells me how to build a command line. I build it and…
…ew, 120 words is way too many. My gf looks over my shoulder saying "what if there's an S at the end?" so I insert a grep command to give me those. Picking through the responses we agree on "farms" and I go for it. As you can see…
This time I add "fms" to the wrong letters and I insist on "a" in the second position. I *also* decide to include "i" on a #hunch because it's the next vowel in line. I build the command line and 19 words emerge. I never saw "radio" because "rabid" jumped out at me…
So I add "bd" to the wrong letters. I also make sure "r" can't be in the first position and "i" can't be in the fourth position (you'll need another grep if/when letters overlap a position). Then I run the command. It returns three words and we've got three tries… TA DA!
Here's another Wordle from a few days ago. I use my favorite starting word to find it has two letters in the correct position and one appears elsewhere. I use my wordle-grep cheat sheet (see snapshot) to build a command line, including the next vowel "i" on a #hunch…
My command returns 4 words. Four! We could start at the beginning with "brain" but hey, I like trains! Then my gf says "no no no, use 'drain' instead.' And I'm pretty much like Jules Winnfield: I kinda gotta follow my gf's ideas. We go with "drain" and…
Welp, I'm going to win thanks to grep because I've got three words left with three tries left. I tell my gf "you picked 'drain' so I'm picking 'train'" and TA DA!
Okay, now let's use hunches with grep to solve what *looks* like a difficult Wordle. Again I use my favorite starting word and … 🤔. I use my wordle-grep cheat sheet (see snapshot) to build a command line. On a #hunch I include vowels "i" & "o" with an "s" at the end…
My command line returns four words. Perusing the list I settle on "lions" and my hunch begins to pay off!
I add "io" to the wrong letters. Of course "l" and "s" need attention. But I definitely need a vowel so I trial-case "u" vs. "y" in different command lines and…
"y" returns nothing while "u" returns two words. I choose the first word, "slung," to learn more about where the letters "lsu" don't belong — and TA DA!
🥴 Stupid me: having isolated the solution to one vowel, my hunch *should* be "it's one of these two words."
So, that's how you can learn grep by using it to solve Wordle! See also blog.gravitywall.net/2022/02/17/sol… for a great blog on using grep in Wordle.
PS: you can shorten command lines by storing five-letter words in a new file (see snapshot). Enjoy!
• • •
Missing some Tweet in this thread? You can try to
force a refresh
…the 1970s when the rebound effect from the U.S. Civil Rights Movement seeped into imperialist nations' territories.¹
First-world college students don't learn about HK's societal…
_____
¹ study 40yr-old U.S. military theses to "appreciate" 😳 the recent history of imperialism
…standing 25yrs post-WWII because it's DISGUSTING and "certainly not fit for undergrads."
In a nutshell: HK's 1970s industrialization proved so good that London dropped their leash and let HK roam free inside their dog park.²
_____
² yep, another reference to HK as dogs 😑
@Doctrine_Man I'm going to seriously oversimplify when I say "China's nat'l psychology has the unique advantage of communications technology to leap over what other first-world nations needed in terms of time."
So let's delve in.
US & China both emerged from an agricultural society to...
@Doctrine_Man become an industrialized society. We led the world thanks to acreage & raw minerals, and of course two world wsrs that consumed faster than we could produce.
By the 1970s we shifted to a service-based economy, similar to England's in the early 1800s, less than a hundred years...
@Doctrine_Man after they created street lamps to provide cities with nighttime maneuverability. (You'll think "Jack The Ripper" here but it's really more like Scrooge throwing a coin at a boy to get him some food.)
England's middle class, such as it was, enjoyed & paid for services...
Back then we had no truant officers because Bolingbrook was on its final year of "45-15 track" where students get 45 days on, 15 days off of a full yearly schedule
1/12
It's election day and heaven knows we all need a good laugh, right?
Here's a story about President Clinton, Air Force One...
...and two nervous USAF air traffic controllers!
2/12
Let me begin this story by stating I'm a retired Air Force Enlisted Historian (AFSC 3H091) and I was assigned to the Air Force base in question and I interviewed one of the two air traffic controllers involved in this story.
Okay ... let's get into it!
3/12
It's the 1990s. President Clinton has flown to St. Louis in Air Force One ("AF1") and he's got an identical VC-25 aircraft just in case AF1 breaks down. Let's call it "AF1-Alt." It's sitting quietly across the river on the tarmac at Scott AFB, Illinois.
1/11
In the spring of 1995 I had some Illinois Veterans Grant left and I decided to take a certain philosophy course. My military supervisor adjusted my lunch schedule.
On day 1 the prof asks everyone to introduce themselves...
2/11 I'm pondering my one-minute intro when a young man unloads on the class:
"My name is {name} and I'm {age} and I'm taking this class because my degree requires it and I don't even know why I'm here 'cuz all this 'deep thought' is just a waste of my time blah blah blah"...
3/11 This jerk has the class stunned
I shift gears immediately
Mind you, I'M IN UNIFORM
It finally gets around to me
"My name is Rob and I'm 32 and I want to tell that idiot over there <pointing> that I know for a fact I DON'T KNOW SHIT AT MY AGE!"