“WordPress’s implementation of SSL is kind of a botch” but I managed to get it working

TL;DR: The site is now SSL, but it was a real pain in the donkey to get there.

Long version: As of about an hour ago, Rant Roulette is now accessible via SSL. You may have noticed today that the URL now starts with https instead of http. This is for many reasons, but the main one is so that Google won’t start down-ranking search results starting in January. Even if I were to say “to hell with Google” (which, for the reason I’m about to explain, I came damned close to doing) it’s likely that most other search engines out there will eventually follow suit.

I have often made the joke that I know two languages: clean English, and profanity in English. (Technically, I know a small amount of Spanish as well, including some profanity, but I don’t normally mention this.)

So here’s a summary of what I went through to get here:

December 1, around 19:00 or so: I start looking into Certbot on the EFF site. The main obstacle before is that Certbot really wants to run on the web server, and it also wants root. This makes getting SSL on shared hosting mostly a non-starter, until I find out there’s a way to run it on my own machines and upload the certificates manually. I do this and find out my host (nearlyfreespeech.net) now has a way to just upload all the certificates into a web form. (Turns out there was an even easier CLI tool for doing this which I didn’t find out about until later.) I do this, and realize even though technically the site still comes up, I’m getting no stylesheet and no images. Changing the Project Wonderful ad banners over to https doesn’t help (but it needed to be done anyway).

The next couple hours, off and on: I start by changing the URLs in WordPress to https instead of http. I’m greeted by a redirect loop. Even worse, it’s a redirect loop that affects the entire site, including the WordPress dashboard. So I have to manually go in and edit the URLs back to http using phpMyAdmin. I utter some profanity and chug the half glass of Coca-Cola I had poured a few minutes prior, then go edit the database. Site is at least back up but still half-broken. I ask in two different IRC channels, one of them being #wordpress on Freenode. Nobody has any useful advice.

(Somewhere in here I also fix the botched upgrading of the Project Wonderful ad box code, but that’s kind of a minor thing compared to the whole site being down.)

Later: I try disabling NFSN’s “canonical SSL” redirect, as well as the canonical name redirect, in an attempt to break the redirect loops. No joy. I have to manually edit the database several more times, but I don’t utter nearly as much profanity upon doing so because I’m getting fast at it. The profanity is reserved strictly for my frustrations, and for the moment I run out of Coke.

Early morning hours of December 2, from midnight up until about 02:00 or so: I try putting in a redirect in .htaccess, which still brings up the redirect loop. Finally, I stumble upon this gem in the NFSN forums, posted by someone using the forum name ‘lovekylie’:

if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
        $_SERVER['HTTPS']='on';

Adding this right above the “That’s all, stop editing!” comment in wp-config.php fixes everything. I’m able to change the URLs to start with https like they should be, and most everything appears to work. I am still getting the little yellow triangle with the padlock, but that’s because some images in posts are not https links.

I’ve already added that code snippet to my other WordPress blog at skqrecordquest.com even though I have not upgraded it to SSL yet (it does nothing if it’s not forwarding an SSL request, and arguably should be part of the WordPress internals).

Anyway, the title quote comes from later in the post from ‘lovekylie’ which I, unfortunately, kind of agree with after going through all that. Going forward, of course I hope that it’s no longer true. At the time I write this, 4.6.1 is current with 4.7 in “release candidate” status, meaning it’s going to be an actual release Sometime Really Soon. For all I know, that fix is already in there, but after all the downtime this week (there was a few hours of downtime a couple of days ago due to another blunder I made) I’m a bit leery of installing a version of WordPress that’s not an actual release (as opposed to beta or release candidate).

Starbucks shuts down criticism of its holiday cup design

Well, looks like I goofed. In a previous post I called the Starbucks cup design the holiday re-design and apparently it was not. That design was more election-related, though most of what I wrote about Starbucks being in the center of controversy stands.

Grubstreet recently reported on the real Starbucks holiday cup design, and while “critic-proof” is by no means an absolute, it is interesting how they arrived at the 2016 holiday season designs.

Those who wanted to saw the gradient/ombre cups of 2015 as a “war on Christmas.” They even discarded the reality that most of the symbols people associate with Christmas were appropriated from earlier pagan festivals such as Saturnalia to arrive at this conclusion. I think I’ve said plenty about the alleged “war on Christmas” already but I think some of it bears repeating. There are many different observances between the American Thanksgiving and the beginning of the new year: Hanukkah, Kwanzaa, Grav-mass/Newtonmas, Yule, Yalda, Boxing Day, Dongzhi Festival, Quaid-e-Azam’s Day, Chalica, Soyal, Pancha Ganapati, Festivus… just to name a few.

Anyway, before I go too far off on that tangent, Starbucks took 13 of the best designs drawn on the 2015 cups, and used them as designs for the 2016 cups. The 2016 cups don’t appear to have the actual ombre/gradient background from 2015, though (I happen to be at a Starbucks as I write this so I can glance over and look). Even more interesting, Starbucks has made a winter design for the clear plastic cups used for cold drinks, since those still get ordered down south in cities like Houston (and not just by the weirdo geek writing this that orders iced tea at Starbucks 10½ to 11 months out of the year).

The assertion of “critic-proof” has yet to be proven. But to those who are going to call a “war on Christmas” based on not including things like snowflakes, trees, or other symbols of wintertime: make a note of where they come from. Even Santa Claus has his origins in Yule, not Christmas.

Maybe it’s time I call a “war on Yule and Saturnalia” given that so much of what we now call “Christmas” decorations have been appropriated from those two holidays.

The reaction to the results of the 2016 election: protests and more

The Daily Kos reports on protests in response to the election results. Admittedly, protests of some sort are something we don’t see that often in the US.

Given how divisive this election was, we were virtually guaranteed a reaction of this sort regardless of the eventual winner. If there was an ever an election where I felt like I was choosing “the lesser of two evils” this was it. I voted for Hillary Clinton, but it was a more of a vote against Donald Trump. I toyed with the idea of voting third-party but that went out the window the moment some polls indicated Texas was a toss-up state (our 38 electoral votes wound up going to Trump, alas).

So, personally, it’s hard to blame all these people who (presumably) voted for Hillary Clinton (or someone else) who are out there protesting. The preliminary popular vote totals indicate that Hillary actually won the popular vote–meaningless in the grand scheme of things because it’s the Electoral College vote that really matters, but symbolic in that there were more actual people who wanted Hillary to be our next president. Given a lot of the things that Donald Trump said during the campaign, and some things that came to light including blatant misogyny in the form of the “grab ‘em by the (vaginal area)” recording with Billy Bush (which eventually cost the latter his most recent job as host of Today despite the fact the recording was from over a decade ago), the protests aren’t much of a surprise to me.

The First Amendment is a powerful thing. It protects many vital freedoms, including freedom of assembly, freedom of speech, and freedom of the press. These include the right to protest peacefully, and it is this last point that protesters must remember. Once violence is added to the mix, it’s not really a protest anymore, but a riot. I get that people are pissed off. Heck, I’m still pretty pissed off, and the election was three days ago.

That said, violence won’t solve anything. The problem is definitely not that too few people think that everyone who voted for Clinton (or Johnson, Stein, McMullin, etc), and who is upset enough to protest, has the intelligence and temper of an uncaged wild animal. In addition, there’s just no need for violence to establish that you are unhappy with the election of Donald Trump and all that he stands for. Violence also gives law enforcement a quite legitimate reason to arrest someone.

Blurring the line: ABC News crew gets busted staging a shot

In a rare opportunity, CNN got to report on an apparent gaffe by its competition:

ABC News correspondent Linsey Davis stood in a field in Woodruff, South Carolina, and relayed the gruesome details of how a 30-year-old woman had been held captive in a storage container allegedly by a registered sex offender.

Behind her, yellow police tape with the words “SHERIFF’S LINE DO NOT CROSS” flapped in the wind, indicating the scene of the crime.

In fact, the police tape was tied to ABC News’ own equipment just off-camera, a photograph obtained by CNNMoney shows. Sources with knowledge of the matter say the tape was placed there by ABC News for the purpose of its inclusion in the live shot.

Of course the tape was placed there just for the shot, why else would a news crew who couldn’t actually film in front of the real crime scene put up crime scene tape in the background?

At the point where a crew is putting up props in the background to suggest that a reporter is standing in front of the actual crime scene when that is not the case, that crew isn’t doing news anymore, they are reporting fiction. And fiction has no place in news. Period. You want to work on a drama or a “reality” TV show, then you go do that, but leave news to journalists who care about the facts.

We trust the various news media to tell us the truth. Trust takes a long time to build, and can be lost in an instant. In that vein, after reading about this, I find it a lot harder to trust ABC News as a source of information. To be fair, quoting later in the story:

“This action is completely unacceptable and fails to meet the standards of ABC News,” Julie Townsend, the vice president of communications at ABC News, told CNNMoney. “As soon as it was brought to our attention, we decided to take the producer out of the field, and we’re investigating further.”

Ms. Townsend did what she had to do when her crew got caught breaking one of the most basic rules of journalism. But it should not even have come down to this; the linked story goes on to note another instance where another ABC News reporter got busted for faking part of a story. So, to put it bluntly, this isn’t their first rodeo by a long shot.

It makes me wonder, in the post-Peter Jennings era, just how big of an ethics problem there is over at ABC News. This is not only an affront to the legacy of Peter Jennings, but also that of Roone Arledge among others. I wish Ms. Townsend the best of luck cleaning up this mess; she’s going to need it.

(Sidenote: I write the posts in this blog based on actual news events. If I wanted to write fiction I’d just run off and do that. The faking of a news story shot by a news crew is a news event, even if the shot itself is fiction. In fact, this is the worst kind of news there is. Reporters should be reporting the news, not becoming the focus of it.)

Thoughts on the aftermath of the 2016 presidential election, and the path ahead

So it’s a little over half a day since the election results became final. President Barack Obama spoke about the election results earlier today (he gave an incredibly gracious and above-board speech about a president-elect committed to destroying his legacy), and Hillary Clinton also gave her concession speech (which I did finally watch in its entirety, as difficult as that was).

I didn’t even mention in the previous posts that President-elect Trump never released his tax returns. That was an important “highlight” I left out, along with some things like the “7-11” gaffe. Then again, what I did mention pretty much stands on its own. The only thing left to do now is hope that Mr. Trump is a better president than candidate. The entirety of his campaign left a lot to be desired. Mr. Trump’s campaign, from the beginning, seemed more like a joke campaign than an earnest campaign for president.

As I’ve said elsewhere (and which I’ll probably repeat), the White House is not the set of the next season of The Apprentice or some other reality TV show, this whole president thing is reality and reality is way different than a reality TV show. Reality television is more television than reality, and perhaps can be more accurately called reality-flavored television. The reality “flavoring” of reality TV can be compared to that artificial barbecue or sour cream and onion flavoring on potato chips. Those flavorings rarely, if ever, taste like actual barbecue or sour cream and onion; in much the same way, reality TV rarely if ever reflects the actual reality of what happened, especially when “creative editing” comes into play. It resembles reality just enough that some people mistake it for that.

We have a little over two months left before President Obama’s term officially ends. If Mr. Trump really intends to be a “president for all Americans” as he said in his victory speech, I certainly hope that he realizes just what Obama’s legacy means to all of us who voted for him, and to many of us who voted for Hillary Clinton in the hope that legacy would continue be honored.

I don’t know how many readers I have left from the early days, but you’ll notice I do tend to lean left on most issues. (If you’re just now finding this blog, I do keep the archives up for a reason.) The inauguration of Donald Trump as our 45th President on 2017 January 20 will also begin a new era for Rant Roulette, as it will be the first day this blog has existed in its current form under a Republican president. (There was a brief period for the first two months of this blog, before I settled into to the current format, where George W. Bush was still the sitting president prior to the inauguration of Barack Obama.)

This is not unlike the situation faced by, say, Rush Limbaugh after the inauguration of Bill Clinton. Far from being the end of Mr. Limbaugh’s infamous radio show, it was a new beginning (he was even on TV for a while). In the same vein, some may have thought, somewhat naïvely, that this is the end of Rant Roulette. Rest assured this is most definitely not the end of Rant Roulette, in fact in all likelihood it’s going to be a new beginning. Whether President-elect Trump fulfills his campaign slogan and truly “make[s] America great again” remains to be seen. But certainly, it’s going to be my goal over the next four years to make Rant Roulette worth reading again, and I will definitely have a lot more to write about come next January. I compare the election of Donald Trump to being handed a bucketful of lemons; there’s plenty of lemonade to be made in the years ahead.