Categories
About Aaron Current Events mostly pointless.

Top 10 posts I didn't publish this decade

Over the last 10 years, I’ve not published a lot. By that I mean I’ve started drafting a post 198 times and left it in purgatory. I also have 4 that have sat for over a decade. Some of those are things I’m working on, but the vast majority of those will never see the light of day. Here are 10 excerpts of things I should delete, but haven’t.

14 posts with no title

Some of these are clearly me testing out bugs, others are me playing with Gutenberg as it started to take shape, but the one that stood out to me was about air travel and I last worked on it 14 December 2011. It’s one that has this as the last written paragraph

The story I grew up hearing of my grandparents first date was that they went to Midway Airport to watch the planes take off (and that my grandfather invited his future in laws to tag along). Going to the airport was something that people would look forward to doing. It was something special. It is something i worry I will never experience again.

A child theme developers guide to Post Formats

This post has no content, but it feels like it could have been interesting to write. It’s also from 2011, only much earlier: 27 February. It’s also much less relevant today, so it should likely go in the trash.

Accessability

6 different posts about Accessibility that I didn’t write

Accessibility is about making the web usable for everyone.
Accessibility is about understanding other people.
Accessibility is about
Accessibility is about people.
Therefore Accessibility is important.
Happy Global Accessibility Awareness Day.

I started drafting this one in 2015 right around Global Accessibility Awareness Day. I am guessing that I stopped and din’t publish it when I couldn’t think of a good third beat. That or I saw a squirrel.

Axioms For The Web

I have two different drafts intitled Axioms for the web. Both are fundemently the same: they are based on a talk I gave at a Big WP NYC in 2014. This is one I would love to actually finish and publish. It starts:

Axioms are ideas we use to start our reasoning that are so fundamentally true, we use them to define what is true. They come from a Greek term that roughly translates to ‘that which commends itself as evident.’ They are phrases as simple as:
A + B = B + A

One version is 1079 words and the other is 1377 words, so hopefully this is something I can actually do. Maybe 2020 is the year I finish this 6 year old post.

Can WordPress 5.0/Gutenberg be released in 2018?

This was a potential roadmap to getting Gutenberg into WordPress core in 2018. I wrote this post up at the tail end of September of 2018 and while I was getting feedback on it, the post announcing the 5.0 release came out. My post was going to propose releasing on December 4th which ended up only being 2 days off when WordPress 5.0 came out.

Degrassi still goes there

I didn’t know that Degrassi: Next Class season 3 was premiering on netflix yesterday, but when I sat down intending to veg out after a hectic week with little sleep, It was there and I couldn’t have been more excited.

That’s the one and only paragraph of my love letter to Degrassi. I just rewatched all four seasons of Next Class and it made me wish the show never left the air

Introducing Slidedown.js

This was a nodejs presentation tool that I worked on for a few years that never really got beyond the point that only I could use it. I stopped using it soon after I finished it, since I can’t seem to actually stick with a single JavaScript library for building slideshows. The repo is still public if someone wants to use it. My goal was to have a set of themes, each named after a bar. The first one being named after my college bar, Remies.

The Situation in Mali

Back when I was the simulation director of a security council simulation, I did a lot of reading and writing about situations happening in the world. This included conflicts that didn’t get much attention, such as this March 2013 post about when the Tuareg declared independence for the region of Azawad. Sadly, this is a conflict that still persists to this day, but one that you need to search for information if you want to stay informed.

WordPress and PWA

The emergence of Progressive Webapps are one of the most exciting development for the open web.

That’s as far as I got. Despite having built aaron.jorb.in as a PWA, I haven’t taken many further steps. I do think that many parts of PWA have a lot of potential to improve WordPress, but haven’t written them down. Maybe this is another 2020 post?

Rejected Taglines for WordPress 4.6

A little bit of humor that I must not of thought was funny enough. Here are the 3 taglines I had written. I’m guessing I was hoping to add more before publishing it.

WordPress 4.6 is living in the future so the present is it’s past

WordPress 4.6 has a pikachu hidden inside.  Take a look inside for it

Thanks for Updating.  WordPress 4.6 is humble with a little bit of Kanye

Random Thoughts

Conference Badges, Scaling, WordPress Contributor Retention, Half Baked Ideas, committing to WordPress Core, Gutenberg…seven weeks in, Why I contribute to WordPress, WordCamp Lancaster.

What do those have in common? All are things I started a random thoughts post on but never finished it. Maybe one of these will join the 15 random thoughts posts I have written.


Overall, I published more than I let waste away in draft, but I should take my own advice from Always Press Publish from when I was blogging every day

It’s easy to fall in the trap of wanting something to be perfect before you share it. It’s similar to the “one more feature” trap that hurts the ability for software to be released. By having a deadline of every single day something needs to be published, I force my self to understand that perfect is the enemy of complete.

What do you have sitting in your draft pile from the last decade? I’m sure you have some good stuff there

Categories
mostly pointless. WordPress

An adventure with a super useless one-liner to find the most common words in WordPress commit messages

I read some insight into Drupal committing and they had a chart of the most common words in drupal commit messages. I thought it would be interesting to do something like that with WordPress Core, so I through together a bash one-liner to find this. It’s not the most eloquent solution, but it answers the question that I had. Here is what I initially came up with.

svn log http://develop.svn.wordpress.org/trunk -rHEAD:1 -v --xml | xq '.log.logentry | .[].msg' | sed 's/.$//' | sed 's/^.//' | sed 's/\\n/ /g' |  tr ' \t' '\n' | tr '[:upper:]' '[:lower:]' | sort | uniq -c | sort -nr | head -n 25

Let’s walk through this since there is enough piping going on, that it may not be the easiest to follow.

svn log http://develop.svn.wordpress.org/trunk -rHEAD:1 -v --xml

I start by getting an xml version of the SVN history, starting at the first changeset and going until the current head.

xq '.log.logentry | .[].msg'

Next, I use xq which takes xml and allows me to run jq commands on it. It’s a handy tool if you ever need to use xml data on the command line. In this case, I am taking what is inside <log><logentry> and then for each sub element, extracting the msg. At this point, the messages are on a single line wrapped in quotation marks with \n to signify newlines. So I run three seds to fix that up.

 sed 's/.$//' | sed 's/^.//' | sed 's/\\n/ /g'

I’m sure there is a better way to do this, but the first one removes the last character, the next one removes the first character, and the last one converts new lines to spaces. Since words are what we are aiming to look at, we need to get all the words onto their own lines.

 tr ' \t' '\n'

tr is a powerful program for doing transforms of text. In this case, I am taking whitespace and turning it into actual newlines (rather than just the new line charachters). There is likely a more elegant way to have solved this, but my goal isn’t the best solution it’s the working one.

tr '[:upper:]' '[:lower:]'

Word and word are not equal, so we need to make everything a single case. In this case, I am again using tr, but now I am transforming upper case characters to lowercase.

sort | uniq -c | sort -nr | head -n 25

Counting things on the command line is something I have done so many times, I have an alias for a version of this. Sort puts everything in alphabetical order, uniq -c then counts how many uniq values there are and outputs it along with how many of each it counted. uniq requires things common things to be in adjacent lines, hence the initial sort. Next up, we want to sort based on the number and we want high numbers first. Finally, we output the top 25.

 28997 the
 27463 
 20429 fixes
 17844 to
 17818 props
 15251 for
 15189 in
 14441 see
 10856 and
 10272 a
 7549 of
 5594 is
 5227 when
 5133 add
 4444 from
 4143 fix
 3847 *
 3821 on
 3489 use
 3320 that
 3267 this
 3064 with
 3043 remove
 2983 be
 2766 as 

That’s not super helpful. The isn’t my idea of interesting. So I guess I need to remove useless words. Since I have groff on this machine, I can use that and fgrep

 fgrep -v -w -f /usr/share/groff/1.19.2/eign

I also noticed that the second most common word is whitespace. Remember when we used to put two spaces between sentences? WordPress Core commit messages remember. So let’s add another sed command to the chain:

sed '/^$/d'

And now the final command to see the 25 most used words in WordPress Core Commit messages:

svn log http://develop.svn.wordpress.org/trunk -rHEAD:1 -v --xml | xq '.log.logentry | .[].msg' | sed 's/.$//' | sed 's/^.//' | sed 's/\\n/ /g' | tr '[:upper:]' '[:lower:]' | tr ' \t' '\n' | fgrep -v -w -f /usr/share/groff/1.19.2/eign | sed '/^$/d' | sort | uniq -c | sort -nr | head -n 25

And since you’ve made it this far, here is the list

 20429 fixes
 17818 props
 15189 in
 5594 is
 5133 add
 4143 fix
 3847 *
 3320 that
 3267 this
 3064 with
 3043 remove
 2766 as
 2435 an
 2432 it
 2109 post
 2103 if
 2080 are
 1889 don't
 1793 update
 1735 -
 1688 twenty
 1523 more
 1500 make
 1471 docs:
 1416 some 

Have an idea for another way to do this with the command line? I would love to hear it.

Categories
mostly pointless. Uncategorized

You should read What If

I just finished reading What If?: Serious Scientific Answers to Absurd Hypothetical Questions by Randall Munroe.  I expected a funny book with interesting information and it exceeded expectations.  Much like the What If Blog, the book answers absurd questions in a completely serious manner and does scientific reasoning to answer them. This seems like a great way to introduce scientific reasoning to a kid while remaining highly entertaining for adults.

It’s not just walls of text though, the simple cartoons that first made Randall well known are in the book as well.  They often illustrate the absurdity ideas in the answers to completely ridiculous questions.

The bite size format of the book made it perfect for commuting and travel.  I was never more than a few moments away from finishing a chapter. Each chapter provided a natural break point, though I always wanted to read just one more.

Categories
mostly pointless. Uncategorized

Chewbacca Slippers

I’m not saying these are the best slippers, but they are pretty damn close.  I bet they keep you warm like the inside of a Tauntaun.

Categories
mostly pointless. Uncategorized

Clarendon Whole Foods pays customers to drive – Greater Greater Washington

Clarendon Whole Foods pays customers to drive – Greater Greater Washington.

Categories
mostly pointless. Uncategorized

Testing Dictation in Mountain Lion

Actual Text:

The feature about OS X Mountain Lion that excites me the most is dictation. It allows me speak and have it automatically transcribed into text. This is me testing it out right now. So how did it do?

Transcribed Text:

The future about sex
Ours is dictation
To speak and have it automatically transfer that this is me testing it out right now so how did it

Not horrible, but still not something I can use for anything of importance. Double tap the function key while you are focused on a text area to try it for yourself.

Categories
mostly pointless. Uncategorized

The Best Starship

Dr. Tyson uses a brilliant analogy, how we judge baseball players across eras, to demonstrate which Starship is the greatest of them all.


Dr. Neil deGrasse Tyson Loves The Starship Smackdown – Watch More Funny Videos

Dr. Neil deGrasse Tyson Loves The Starship Smackdown Video.

Hat Tip: Joe

Categories
mostly pointless. Uncategorized

Bacon Typography: A Delicious Use of Oink And Paper | Co. Design

If you’ve always wanted to meet someone who brings home the bacon, look no further than Henry Hargreaves. And this has nothing to do with Hargreave’s successful career as a model for famous fashion houses including Prada, Yves Saint Laurent, and Jil Sander. The model-turned-photographer simply decided one day to dabble in pork fat and create a bacon alphabet.

via Bacon Typography: A Delicious Use of Oink And Paper | Co. Design.

Categories
mostly pointless. Uncategorized

This info graphic speaks to me

 

 

 

 

 

Source:  I Love Charts – miscelletc: Doctor Venn by Loldwell Classic..

Hattip (Daryl)

Categories
mostly pointless. Uncategorized

Why I don’t read the @washingtonpost

If they can't properly configure an SSL certificate, how can I trust the content?

Want to see some failure for yourself? Visit The Washington Post so you to can not read anything.