Preserve combinators that are not surrounded by white space by cjwillcock · Pull Request #14 · ThomasWeinert/PhpCss (GitHub)
I found with selectors that include a pseudo-class followed by a combinator (other than descendant combinator), with no space in between those two tokens,, such as "a:hover>span", the ...
One more little contribution to the useful PhpCss selector parser by Thomas Weinert. In this case, the regular expressions were greedily including combinators in pseudo-class literals, instead of seeing the end of the token.

Before: it saw a:hover>span and errored, saying “there is no such pseudo-class as :hover>span.”

After: it sees a:hover>span and putters along happily with element a, pseudo-class :hover, child combinator >, and element span.

Linus Torvalds did not author the ls command · Issue #41 · knpuniversity/behat (GitHub)
The opening page Behat/Using Behat proposes a scenario that Linus Torvalds requests help building ls. I understand this is a thought experiment and a made-up scenario, but perhaps a note in the scr...
Students of programming should learn their history. At the very least, not be given an alternative, misrepresentation of history. As important as where you are going, is where you have been. Standing on the shoulders of giants and all that.
Allow for pseudo-class position with repeat > 9n, no additional offset by cjwillcock · Pull Request #13 · ThomasWeinert/PhpCss (GitHub)
I found with selectors that include a pseudo-class with position, such as :nth-child(10n), the parser generates a token mismatch if the NUMBER is more than one digit. I traced this Scanner/Patterns...
I have found the PhpCss library from Thomas Weinert very useful. I used it so much, I found a bug and fixed it. It’s nice that this library has unit tests so I could quickly create a new pattern and expected output, then make my little correction.

Typical programming mistake, a missing plus (+)!

A little adventure begins here

A Classical MetronomeMetronomes are interesting little devices are they not? All they do is tick and tock, back and forwards, in a steady beat. Well, technically they may be not doing that at any given time while still being a metronome: if they are on the shelf unused at the time or being used as a cudgel or something! But if they do anything other than sit there unmoving, it’s likely they are a-tick-tocking. In the classical metronome, there is an arm extending from a base. A small weight on the arm is adjusted farther up, away from the base to slow the beat or closer down to speed it along. Metronomes have been around for a very long time- records of early attempts at the metronome go back to the 800s1.

I have a soul full of music. Which is to say, there is a mystery in me. I know of it because when I hear a steady tick and tock, I can’t help but add something. It may come as whistle or tap, lyrics or hum. Sometimes a tune springs forth from nowhere, fully-formed and affable! My children surely enjoy it. This has gone on so long now, that even an unmoving metronome has an effect. As I listen very carefully, when the dull roar of a beard growing is not so loud in my head, I can sometimes hear a little thump-a-thump in the chest that reminds me of a metronome. I am a devout listener to this sort of thing, so I tend to feel this productive vibe much of the time.

I have a head full of technology and science. Which is to say, I believe in empirical truths about the nature of the world and my place in it. I am a utilitarian in many things, eschewing novelty in favour of diligence and productivity as a matter of course. My chosen career in software development requires an evidence-based modus operandi2 which I have occasionally applied to the subjective experiences of my daily living. It makes for some interesting Gedankenexperiment3 space, to think for myself about the cultural history of peoples and nations!

I have a little space of my own on the Internet where things I have had in mind from time-to-time are recorded for others to consider in their own quiet moments. Where I can participate in a unique culture like the world has never seen before. There are records of where I have been and what I have accomplished. Yes, it is more or less empty at the time of this writing and it appears I have done nothing whatsoever.

But oh how empty! What a sweet slice of nothing I have. How superbly light and free from cruft; from advertising; from surveillance; from usurpation; from the not-me-ness that is in-your-face in some other places online where we may go together.

Speaking of together, have you heard of the IndieWeb yet? I do recommend you have a look, for yourself.

“There are going to be times when we can’t wait for somebody. Now, you’re either on the bus or off the bus. If you’re on the bus, and you get left behind, then you’ll find it again. If you’re off the bus in the first place — then it won’t make a damn.”Ken Kesey (1968)4

Tick-tock friendly stranger.

  1. Metronome,
  2. Modus operandi,
  3. Gedankenexperiment,
  4. The Electric Kool-Aid Acid Test, Ken Kesey,