Skip to content

Christopher James Willcock

Enjoy Kaizen

Tag: IndieWeb

My Keyboard

The daily duo; my keyboard and mouse.

I acquired my Ergodox kit from Massdrop.

I have Colemak at power-on, Qwerty-toggle on the top-outermost index position on each hand, and a third layer, which I seldom use, for the right-hand numpad. It was 5 hours of soldering for an out-of-practice fellow like me. The hundred-and-some SMD diodes should be thrown far into the woods gave me some years back on my technique.

This purchase amounted to 350 USD in 2015.

Once the Ergodox was programmed and in daily use, I found no need to favour sore wrists.

After a short time spent considering how this fit in with my desk, my mouse snuck in between the two halves. There wasn’t room to the right, but that desk-estate in the middle there is lucky.

A larger desk, like my 2016 office desk would be better.

Also five keys for each hand and attached to my chair would be handy closer at hand handsome good for my posture.

I could type in sexagesimal chords.

On second thought, it would be six keys per hand, there being a palm button.

Better yet, palm trackball on the right with palm masher on the left (-click)!

Are you an aficionado of human-machine interaction builds? Post about your keyboard, etc. and mention this post so I can hear about yours.

mf2bench – Parse all the things (with all the parsers)

My Microformats2 parser passed all the tests a short while ago. After that milestone, I was wondering if it’s fast. That needs some context because fast compared to what? All the other Microformats2 parsers. Have they been measured? The answer to that one is: not before now as far as I can tell.

I took a little time to make mf2bench, a benchmarking tool that compares the performance of all (is it all?) the Microformats2 parsers out there. My work on the php-extension, mf2, came in second place in terms of speed, behind the Microformats2-parser for Go. I’m pretty happy with this, because I have been concentrated on coding to pass tests, to demonstrate that the parser meets the living specifications at microformats.org. Making it run fast, or as fast as is fun to make it, is still a little bit away.

I’ll next get mf2bench to provide some measure of what the parse from each parser is for the various samples. That will be neat.

 

========== UPDATE ==========

The above screenshot uses the default of three (3) parses per parser. It was captured for the sake of taking a picture, rather than of comparison between parsers, etc. Here is the same thing, with one hundred (100) parses per parser.

Versions of each parser tested:

Parser Version
ruby/microformats-ruby 4.1.0
python/mf2py 1.1.2
php/php-mf2 0.4.6
php/php-mf2 (w/ Masterminds\HTML5) 0.4.6 (2.5.0)
php-ext/mf2 unreleased
node/microformats-parser 2.0.1
go/microformats 0.1.26
perl/microformats2 0.5
elixir/microformats2 0.2.1
haskell/microformats2-parser 1.0.1.9

https://cjwillcock.ca/2019/02/10/1004/

https://cjwillcock.ca/2019/02/10/972/

https://cjwillcock.ca/2019/01/28/822/

My microformats2 parser has reached a milestone. All of the mf-test-suite microformats2 tests now pass.

138 commits, 107 passing tests – source

I’ll complete the current mf-test-suite tests before moving on to expanding on those tests alongside the parser. Next up is backcompat parsing.

https://cjwillcock.ca/2019/01/14/753/

Now at thirty (30) thirty-one (31) passing tests for my microformats parser.Total includes twenty-four (24) twenty-five (25) core tests and six (6) from the microformats-test-suite.

https://cjwillcock.ca/2019/01/13/748/

My Microformats parser now has fifteen (15) passing tests, parses rels & rel-urls from the web, from local disk (via URI), and from code string.

https://cjwillcock.ca/2019/01/12/743/

Working on a new project, a microformats parser. Follow along at code.cjwillcock.ca. Discussion in #microformats on irc.freenode.net.

Progress on WordPress Theme: Pancakes

I’m still working away on my WordPress Theme, Pancakes. I’m doing some work now in a different part of the stack than the WordPress theme (still pancakes 😛 ). More on this soon.

https://cjwillcock.ca/2018/12/10/585/

Testing micropub via Quill.

Pancakes!

Time to make a new theme for cjwillcock.ca.

I forked my Psymantic theme and made a new theme, Pancakes. I’ll install it here, then make it less ugly. It’s going to break things, but not for long I expect.

Pancakes is also free software, because software wants to be free! Enjoy.

Lastly, a screenshot of what once was, for posterity. Shout out and kudos to David Shanske, the provider of the twentysixteen-indieweb theme I have used until now.

Tab Quantizer Chrome Extension Beta

I authored and personally use this Tab Quantizer Chrome extension & companion server script, to record my browsing history from Chrome onto my own server. I publish some of the information I gather with this, to my Now page (near the bottom).

  • Keeps a running tab of active Chrome browser tabs across multiple devices and multiple windows.
  • Records a complete history of pageviews with time and URL
  • Records ‘walks’ – the series of pages viewed in a given tab, from the time it first opens, through each pageview until it closes

To make this work you need your own server for the script that records the data. Given that this extension is not coming from the built-in Play store (or whatever it is for Chrome) you’ll need to enable developer mode and load the unpacked extension manually. A consequence of this is after each Chrome update, the extension needs to be manually enabled.

I have been thinking of publishing this to the Play store (or whatever it is for Chrome). I haven’t done that before, so I have much to learn there.

I think all the bugs have been worked out. It works for me. This is my first Chrome extension work. It was made fast and cheap, so there is plenty of room for improvement as far as the code and user-experience goes.

Also there is no documentation whatsoever about using the collected data for some purpose. For now that remains an exercise for the reader.

Enjoy the Beta. Discussion in #indieweb-dev on irc.freenode.net.

an abstract expression in sepia on white

Psymantic – Open Source Theme Precursor for WordPress – First Release

I authored a WordPress theme for my blog. It’s not in use here because it isn’t meant for direct use. It’s over on my wp-theme-dev sub-domain with the WordPress theme test data in there (plus some random junk).

Wait – that looks gross!

— basically everyone

Weird huh? The precursor theme, Psymantic, is concentrated on producing plain old semantic HTML, POSH, and nothing else.

a screen-capture of a brutally simple WordPress blog
It’s brutally simple. Almost no styling at all. WP required stuff and a couple of clearing fixes.

I’m working through a resilient web design approach with this new-theme-for-me. Note the screen-reader-text, which is typically hidden, is used for headings of various sections. Many sections don’t need need a label like that, unless you consider, for example, how you interpret this web page with your eyes closed for the entire duration of your visit. These headings are normally presented only to those who use assistive technologies  while browsing the web. I can hide them all in one shot with the WordPress recommended screen-reader-text CSS rules.

It’s going to be difficult to understand why I have something worth sharing here, if you aren’t directly involved with your own website coding, nor in the business of online publishing in a technical role.

If we were making pancakes instead of WordPress themes, Psymantic would be a box of pancake mix. I still need to make the pancakes to actually eat them (ie: need to mix and cook a theme for my blog). I have a few more goals to cover before I get there, but this is a nice start.

More things to include (maybe in μF Psymantic and Indie Psymantic):

Early testers and constructive dialog/criticism is welcome! Please use GitHub for issues, #indieweb-wordpress on irc.freenode.net for chat.

What Am I Doing Now?

I made a little page that describes what I am doing now. It’s not what I am working on lately but is what I am doing at this moment, right now. See for yourself.

I decided not to reveal my precise location for privacy reasons. Instead, I show which watershed I am in. When away from home, this will also highlight my nearest community. It’s limited to my home Province of PEI for the moment.

https://cjwillcock.ca/2018/08/14/314/

I installed and activated the plugin from my WP Dashboard. After, I found my /feed/mf2/ urls are 404s. I flushed the rewrite rules (Dashboard -> Settings -> Permalinks -> Save Changes).

Works now.

https://cjwillcock.ca/2018/07/22/294/

Replied to

Rachel Willcock

Eating ice cream and making my first post on my first website my husband set up for me.

Citation

Rachel WillcockRachel Willcock (via rachel.willcock.ca)

Welcome to the IndieWeb Rachel!

https://cjwillcock.ca/2018/07/22/292/

Good luck with your first website buddy! Remember that I will help you figure out anything you want to do with it. Ask me questions about it anytime you want!