A prolific writer, and prodigious groper of women.
Category Archives: Technology and Society
Climate Event Attribution
Three rules for judging its validity.
Your Television
How to stop it from spying on you.
My solution to this is to not give it my wifi password. As far as I’m concerned, our screen is nothing but a video monitor.
Email Problem?
I’ve got a file containing all my sent email for the past decade in date order. I want to find it for the years 2011 and 2012. My bash (or perl?) scripting skills are pretty rusty, but here is the pseudocode for what I need to do:
******************************
Open original text file read only
Open new file for writing
Set Printflag to “false”
For each line of file
If match regular expression “Date: .* 2011” set Printflag to “true.”
If match regular expression “Date: .* 2013” set Printflag to “false.”
If Printflag, copy line to new file
Close both files.
******************************
Note that the regular expression may have to be a little more specific (like maybe include a match for [Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec] between “Date:” and the year). The format for a full line would be
“Date: Fri, 02 Oct 2009 14:41:31 -0400”
The idea is to scan the file until 2011 begins, start echoing lines to the new file, and stop doing it when 2013 begins. Maybe exit at that point so it doesn’t waste time or cycles going through the rest of it.
[Update a while later]
Never mind, I got the answer from Twitter.
[Saturday-morning update]
For those curious, here’s the solution to the problem:
$ perl -ne “print if /Date:.*2011/../Date:.*2013/” $oldfile >> $newfile
The Space Force
Its establishment is just the end of the beginning.
Another Anti-Science Cabal
Now it’s Alzheimer’s. It is infuriating, and tragic. In nutrition, in climate, and in medicine in general, the peer-review system is so broken, it would be better to just get rid of it entirely.
[Thursday-morning update]
How Tom Steyer and Michael Bloomberg corrupted climate science.
[Update a while later]
Tuberculosis vaccine found to be effective against Alzheimer’s. It seems, to the degree that it’s effective at all, to be more prophylactic than a cure.
Happy 2020
Looking forward to the New Year will all of my readers. I expect it to be an exciting year for the space industry.
The Beauty Of Nature
The Global Launch Industry
Bob Zimmerman has a year-end assessment. I expect next year to be a very exciting one, perhaps the most so since 1969.
Galaxy Quest
An interesting history of why the best Star Trek movie ever made wasn’t a bigger hit.
[Afternoon update]
Now that I’ve read the whole thing, I’d like to see a director’s cut with the missing Rickman scenes, and get Weaver to dub in the right word.