Fixing the Blog

Hammer and bent nails on a wood block

Thank you Jetpack Support

First of all, Jetpack support is amazing. Automattic is known for its customer service oriented culture, and it shows. I was running into an issue where Jetpack would not connect to my site, so I reached out to their support team. They were responsive in helping me figure out the tech at all hours of the day, and they even researched how to solve a problem with a non-Automattic product. Great stuff, I appreciate it!

Here’s the link if you need help with Jetpack.

WordPress and Site Address URL

The first issue has been with the site since day one. For custom WordPress installs, the WordPress Address and Site Address URLs should be the same (both set to https://ryancropp.com in this case) no matter what they say:

Site Address (URL):

Enter the address here if you want your site home page to be different from your WordPress installation directory.

Just don’t try to manually update WordPress and Site address to your custom domain from wp-admin dashboard. You will get locked out.

To fix the issue you need to FTP into your site and update the siteurl in the functions.php file for your installed theme:

update_option('siteurl','https://ryancropp.com');
update_option('home','https://ryancropp.com');

Refresh WordPress admin and then remove the update_option code.

Clear site cache

Just for good measure, clear the Project Nami blob cache so no old site configurations are left hanging around. The instructions are in the readme of the Blob-cache download (why!?).

An aside on Cron expressions

They’re kind of fun, but how are these still a thing? I guess we have Unix to thank. I need to use them 0 0 0 0 0 ? 2018/2 or 0 0 0 0 0 ? 2018/3 at best. Here are some docs from Oracle and Quartz to figure out what that means.

Jetpack and Project Nami

Turns out everything up to this point had nothing to do with getting Jetpack to work. It certainly didn’t hurt, but attempting to link Jetpack still showed the error “Verification secrets not found”.

Jetpack verification secrets error message

On a whim I decided to look into the compatibility issues with Jetpack and Project Nami, the caching mechanism for WordPress on Azure. And what do you know, Issue #237 on the Project Nami GitHub had the answer.

One should now be able to solve the issue by adding the following to the site’s wp-config.php:

define( ‘JETPACK_DISABLE_RAW_OPTIONS’, true );

See Automattic/jetpack#7875 for more info.

So finally, if you’re following along at home, disable Jetpack raw options for Project Nami…

And it works!

You can sign up for email subscriptions in the sidebar.

A red-herring extension

Turning off browser extensions may or may not have helped. I turned off Ghostery in the middle of the process, forgot about it, then realized it was still off some time later.

Happy blogging

Best Books I Didn’t Read in 2017

Open books laying in grass

 

Or books people told me to read in 2018…

I didn’t read as many books in 2017 as I did in 2016, but I still learned a lot from what I read this year. I did read Deep Work, and, with Klein, would highly recommend it. Titan by Ron Chernow was a brick of a good book and I would expect nothing less from Grant (in terms of both length and quality). And How to Get Filthy Rich in Rising Asia: A Novel by Mohsin Hamid was pretty good (even if I read it in 2016).

To start 2018, I’m reading You Are Not a Gadget by Jaron Lanier and Benjamin Franklin by Walter Isaacson. Lanier probably wouldn’t approve of this type of post (we should go for evergreen content instead of rehashing previous work), but I found it funny that so many people had these Best books posts. So this is mine! Looking forward, not back, to take what we learned in the past months and apply it to the present and future.

Here’s to another year of great books and learning.

Ezra Klein

  • Young Radicals by Jeremy McCarter
  • The Final Days by Bob Woodward and Carl Bernstein
  • Nothing Is True and Everything Is Possible by Peter Pomerantsev
  • Racecraft: The Soul of Inequality in American Life by Karen and Barbara Fields
  • Dawn of the New Everything: Encounters With Reality and Virtual Reality by Jaron Lanier
  • Norse Mythology by Neil Gaiman
  • Pachinko by Min Jin Lee
  • Deep Work by Cal Newport

Ryan Holiday

  • Bodyguard of Lies: The Extraordinary True Story of D-Day Vol I & Vol II by Anthony Cave Brown
  • The Hidden-Hand Presidency: Eisenhower as Leader by Fred I. Greenstein
  • Montaigne & Magellan by Stefan Zweig
  • We Are All Completely Beside Ourselves: A Novel by Karen Joy Fowler
  • Bright Shiny Morning by James Frey

Bill Gates

  • The Best We Could Do, by Thi Bui
  • Evicted: Poverty and Profit in the American City, by Matthew Desmond
  • Believe Me: A Memoir of Love, Death, and Jazz Chickens, by Eddie Izzard
  • The Sympathizer, by Viet Thanh Nguyen
  • Energy and Civilization: A History, by Vaclav Smil

Barack Obama

  • The Power by Naomi Alderman
  • Grant by Ron Chernow
  • Evicted: Poverty and Profit in the American City by Matthew Desmond
  • Janesville: An American Story by Amy Goldstein
  • Exit West by Mohsin Hamid
  • Five-Carat Soul by James McBride
  • Anything Is Possible by Elizabeth Strout
  • Dying: A Memoir by Cory Taylor
  • A Gentleman in Moscow by Amor Towles
  • Sing, Unburied, Sing by Jesmyn Ward
  • Coach Wooden and Me by Kareem Abdul-Jabbar and Basketball (and Other Things) by Shea Serrano

NY Times

  • Autumn By Ali Smith
  • Exit West By Mohsin Hamid
  • Pachinko By Min Jin Lee
  • The Power By Naomi Alderman
  • Sing, Unburied, Sing By Jesmyn Ward
  • The Evolution of Beauty: How Darwin’s Forgotten Theory of Mate Choice Shapes the Animal World — and Us By Richard O. Prum
  • Grant By Ron Chernow
  • Locking Up Our Own: Crime and Punishment in Black America By James Forman Jr.
  • Prairie Fires: The American Dreams of Laura Ingalls Wilder By Caroline Fraser
  • Priestdaddy By Patricia Lockwood

Wired

  • Betaball: How Silicon Valley and Science Built One of the Greatest Basketball Teams in History By Erik Malinowski
  • (Not) Getting Paid to Do What You Love: Gender, Social Media, and Aspirational Work By Brooke Erin Duffy
  • Ours to Hack and to Own Edited by Trebor Scholz and Nathan Schneider
  • Twitter and Tear Gas: The Power and Fragility of Networked Protest By Zeynep Tufekci
  • Technically Wrong: Sexist Apps, Biased Algorithms, and Other Threats of Toxic Tech By Sara Wachter-Boettcher
  • The Woman Who Smashed Codes: A True Story of Love, Spies, and the Unlikely Heroine Who Outwitted America’s Enemies By Jason Fagone

Some notable repeats are Pachinko (Klein and NYTimes), Grant (NYTimes and Obama), Evicted (Gates and Obama), Exit West (NYTimes and Obama). There are a lot of books out there to read in 2018. If you are looking for something, perhaps take a recommendation from the world’s thought leaders. Or, in the spirit of Lanier, go out on your own and read something no one else is talking about. In either case, keep curious.