I’m using this odd weather day in Tokyo to do some maintenance on this site. I’m afraid I’m going to post some light weight stories and ephemera and whatnots while I work to improve things.
For those tormented by the outages of this site and PVC Security, they are restored.
When we’re out of commission, please check:
- for prjorgensen.com, go to tokyogringo.myjp.net (← I’m Tokyo Gringo here) or on archive.org.
- got gopher? Check out this link in your browser or this one in your gopher client. ← I’m Tokyo Gringo here, too!
- for pvcsec.com, check this out on archive.org (also mixed into the links above)
UPDATE: Both sites are destined for a new location. Stay tuned, but if Paul does it right you won’t know.
UPDATE2: Paul won’t fix it right the first time so you, Dear Friend, will provide your own resilience. Keep the above links in your read-it-later or browser bookmarking solution of choice.
Sadly my hosting provider upgraded my WordPress to version 5 today. Classic Editor to the partial and temporary rescue. Still vulnerable to the bug filled new editor’s security problems.
The WordPress folks decided a new post editing metaphor, one copied from many other services, is the future of WordPress. It’s called Gutenberg with no sense of irony or semblance of modesty.
I am playing with Gutenberg in case I might like it or find value in it.
At face value, there’s an audience for Gutenberg that is not me. It takes the pieces of Medium with which I disliked interacting and used them to replace the fine tuned control of my content in WordPress’ admittedly 90’s era editing interface.
My content is not toy blocks.
WordPress’ marketing on this move is markedly tone deaf. There is nothing from Matt & the team that actually explains what problem they endeavor to solve with the change.
The thing is, the current editing metaphor is easy to understand. It’s not sexy. It works. There is room for improvement, especially in removing formatting. For example, I have on particular iOS integration that makes quoting content look terrible. I have to manually edit the HTML to clear it out. Posting tight, clean HTML (and CSS and …) should be goal #1 assuming content is king.
Anyway, please stay tuned to what happens here. I am running the test for a spell.
Our dearly departed podcast project is drifting into the dark recesses of the collective mind, so the time arrives for some archiving.
The pvcsec twitter account is disabled & on its way to deletion. I will be going through to make sure all of our other social media bits are similarly retired – Facebook, Google+, and so on.
I am not sure if the web site will move over here as a subsection or if I will let the Internet Archive have its way with it. I’m also considering a plain text archive on gopher, but that might be more work than I want.
Anyway, this will be thought about and done over the next 2 to 4 weeks or so. Stay tuned?
With a bit of python, lynx, and tidy I was able to pull very clean plain text versions of my WordPress posts. The sparse HTML can be found at http://tokyogringo.myjp.net and the markdown text version can be found on my gopher site at gopher://sdf.org:70/0/users/tokyogringo/
How did I do it? This site has full text RSS for everyone’s enjoyment. No one has to actually visit https://www.prjorgensen.com in order to consume the high value content I generate. The feed contains everything needed for this plain text life. How to make use of it?
I fumbled through my first in a long time python script relying heavily on the very powerful feedparser module.
This Just In: python’s documentation is terse almost to the point of incomprehension While accurate, the documentation does not help beginning (and maybe middling) python coders get to solving problems. Oddly, the Reddits and StackExchange sites are also of limited utility as the answers there often point back to or copy the documentation.
Anyway, taking a very Unix approach I decided not to do everything in python. I know tidy for making valid HTML. I know lynx for terminal-based web browsing, and the ‘-dump’ option produces markdown versions of web pages.
Once I got the script to the point of providing the website data in a reliable and eventually parse-able way, then I turned to getting all my posts.
I cranked the RSS feed of prjorgensen.com up to 20,000 to make sure the feed briefly included all of my posts. I moved my parsing script to my MacBook Pro because I didn’t want to choke the sdf.org servers with my madness. I installed modules and localized the script to run on the MBP.
I ran the script. I checked my email. I then got up to … hmmm. The script finished in under two minutes. Suddenly I had all of my posts back to 2011 in both very clean HTML and in plain text. I synced them to their proper home. I reset my website feed back to a more reasonable number.
There are any number of improvements I can make:
- My script does not grab images
- I capture categories and tags from WordPress but don’t do anything useful with them
- I need to include modifying my gophermap and my index.html (as appropriate)
- A full text RSS feed of the plain HTML site
- A full text RSS feed of the gopher site
- Maybe use a static web site generator like Jekyll for the plain HTML site
- Maybe use this for tokyogringo.com and PVCSec.com? If so, then I need to handle …
- Media enclosures
Watch this space for the link to my script on GitHub. Which is here!
I want to start by clearly stating that I am not “rage quitting” my social media. I am reducing my footprint and reliance on them. To that end …
I removed the share buttons for social media from my site. I do not like how they call home even if you chose not to share my post. It’s rude. And the buttons row on my posts is ugly. I might reverse my decision at any point.
I removed the automatic post sharing on social media. Blasting my posts across the Social Media with no tailoring is inconsiderate at best. While all my written gems are exactly that, it is not my place – after this post – to demand your attention on every utterance. I might reverse my decision at any point.
“How will I follow your crazy shenanigans“, you ask?
The best way to track my site is to subscribe to the full text RSS feed．If you’re not interested in every one of my whims, each category has its own RSS feed as well. If you’re my parents and siblings, your email updates will not change.
If you, Dear Reader, would like an email newsletter of some kind, please leave a comment on this post to let me know.
Another note for the more technically interested in website hosting, I am playing with removing CloudFlare from my site. I experienced odd behaviors I thought my CDN caused. Turns out that my site was no longer redirecting to the HTTPS page, maybe due to the service.
In other news, all requests are once again going to the HTTPS version of my site. I don’t know when, why, or how my old .htaccess file changed, but it is again serving up the correct version of my site.
If you have questions, comments, or concerns, please leave a comment on this post.
Go here: When posting I get ‘Lisp error: (wrong-type-argument listp t)’ #216 for the history on this issue.
For fun, here are some Unicode characters: ” ‘ & 🗾 😄
Here is my current slim emacs config to get org2blog working:
(setq load-prefer-newer t) (package-initialize) (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (package-refresh-contents) (unless (package-installed-p 'package+) (package-install 'package+)) (add-to-list 'load-path "~/src/org-mode/lisp") (add-to-list 'load-path "~/src/metaweblog") (add-to-list 'load-path "~/src/org2blog") (add-to-list 'load-path "~/src/xml-rpc-el") (add-to-list 'load-path "~/src/pretty-mode") (add-to-list 'load-path "~/src/use-package") (require 'org) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (global-set-key "\C-cc" 'org-capture) (global-set-key "\C-cb" 'org-iswitchb) (require 'xml-rpc) (require 'metaweblog) (require 'org2blog-autoloads) (require 'auth-source) (setq auth-sources '( "~/.authinfo.gpg" ) epa-file-cache-passphrase-for-symmetric-encryption t auth-source-debug 'trivia ) (setq org2blog/wp-blog-alist `( ("PRJ" :url "https://www.prjorgensen.com/xmlrpc.php" :username ,(car (auth-source-user-and-password "prjorgensen.com")) :password ,(cadr (auth-source-user-and-password "prjorgensen.com")) :default-title "Hello, World!" :default-categories ("Uncategorized" "org2blog") ) ) ) (require 'use-package) (use-package htmlize :ensure t)
I created local git clones for xml-rpc-el, org-mode, org2blog, metaweblog, pretty-mode, and use-package.
This is done in order to post a draft of this blog. Then I will publish it.
Wish me good times!
While Medium.com works for many it does not work for me. My several month test of the platform left me less than impressed.
While it is nice when someone else takes care of the plumbing, I am not comfortable with the exchange.
Thus I bring my musings and ditherings and blatherings and occasional cogent insights back to my personal site.
Share and Enjoy!
This is a test of the Social Media update plugins for prjorgensen.com.
Thank you for your patience.