So, I gather the Valley gets up to taj mahal levels of batshittery on the weekends.
Archives: Notes
-
-
Interesting this produces a truthy or falsy string
<?php wp_localize_script( 'pwcc-functions', 'pwccConfig', array( 'isSingle' => is_single(), ) );but this is all lovely and boolean.
<?php wp_localize_script( 'pwcc-functions', 'pwccConfig', array( 'is' => array( 'single' => is_single(), ) ) );It’s an abuse of the localisation function so I can see why it expects a string.
Coincidently, a related trac ticket was opened a few hours after this post.
-
Spending next week in Brisbane & attending the WordPress Meetup. Who’s around?
-
Couples shopping together and arguing about which tomatoes to buy.
❤️ -
Finally managed to make it through the Tavern’s oembed post’s comments without closing the browser and not-so-silently judging people.
I accidentally became involved in the feature after I looked at the code to find out how I could replace the WP logo with the PW logo.
I noticed there were a few things around the edges that needed massaging for older browsers. Just call me old man internet.
Discussion for the feature started in earnest on July 18 on Make and in late May on trac. The merge proposal was published on September 30. The time for expressing reservations was then.
I didn’t hold a strong opinion about this feature either way. Once it, and any other feature, is set to go into core – the best thing I can do is to help improve the feature.
There were also some interesting puzzles to solve and I like Sudokus.
Comparing Lead and Core developers to Mao and Hitler because you missed a five month window to discuss a proposed feature doesn’t help anyone. Certainly not yourself.
I never thought I’d become a regular contributor to WordPress Core. I am glad I did, if nothing else it has given me an opportunity to work with some really passionate people.
Regular contributor. Never thought I’d say that.
-
Was so impressed with Docklands Library yesterday, I’m planning on spending a few days down there this week.
-
Does the turndown service at buzzconf put milk or dark chocolate on your pillow?
-
How many hats does the restaurant at buzzconf have in the good food guide? I’m assuming there’s one at the buzzconf Sofitel.
-
wp$ git checkout bdbf9156727dbeb74f2290c4753f3cc04a9e7b19
wp$ cd ../
pwcc.cc$ git commit -m “Upgrade to WP 4.4-beta2” wp -
Supremely jealous of my friends conferring in various parts of the country this week. Y’all enjoy yourselves.
-
I’m really proud of the responsive work we’ve been doing on @exari DocGen 7.0 this year. Three demo docs at http://www.exari.com/resource/document-generation-live-demo/
-
Remember when Weeds finished after three series when Agrestic burnt down. That was a good show.
Seriously, never watched another episode.
-
All white-space accurate combinations of WordPress widgets in Pattern Lab at http://underscorespatterns.peterwilson.cc/
Code: https://github.com/peterwilsoncc/underscores-pattern-lab -
I am making a pattern library, part of which includes other people’s HTML.
-
My reckoning is the #a8cgm costs Automattic around $8-10K per person (3.1-3.9mil). Worth it for team unity.
-
A three year set up comes to fruition in a few hours. http://martymcflyinthefuture.tumblr.com
-
Thinking about a compressed CSS style with a secondary aim of avoiding merge conflicts if it’s committed. Thoughts?
/*!tab indents*/ .sel1{prop:value;prop:value} .sel2,.sel3{prop:value;prop:value} /*!preserved comment*/ @media(min-width:1px){ .sel4,.sel5{prop:value;prop:value} } .sel6{prop:value;prop:value} -
CSS Comb looks pretty sweet. https://github.com/csscomb/csscomb.js/blob/master/doc/options.md
Need to decide what to use, CSSO can be too eager and remove legacy fallbacks. -

Docklandia
-
vagrant up && eat –early –dinner
-
I’d like to know how many gigabytes of node modules are downloaded daily because cp & rm are not cross-platform.
-

-
Hey ninjas! You’re the fucking problem.
-
Something claiming to be a ninja has followed me. It personifies the masculine dev bullshit I hate in one place. http://floate.com.au/2013/03/no-ninjas-here/
-

All in one Melbourne.
-

Ice in an alley.
-
The Exari Melbourne office is expanding, included in the roles on offer at the moment is a front-end dev. http://www.seek.com.au/job/29544222?pos=1&type=standard&engineConfig=control&tier=no_tier&whereid=
-
This was the effect on Wikipedia after Doctor Who told people to google Bootstrap Paradox.

-
Let’s phrase this in terms of the current landscape: IE was the Safari of yesteryear.
-
Conclusion: the HTML5 document structure will never be implemented. It’s another dead spec. It was a nice idea.
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Sections_and_Outlines_of_an_HTML5_document -
They call me Mr Pop Culture for a reason.
-
So, Gravity is pretty good.
-
I especially love open-source when I wake up to discover someone else has done the first thing on my todo list. ?
-
The road to feature detection is paved with the tears of puppies and kittens.
-
Watching the WP Slack yesterday, it was really sweet to see the core & lead devs excited as the REST API infrastructure was committed.
-
#NRAfamily never offers practical tips on how to teach a five year-old to play dead during a mass shooting.
-
Speaking of back in the day, here’s some thoughts on browser support from long ago, s/ie6/ie8+. https://peterwilson.cc/euthenasing-internet-explorer-6/
-
Thank you for attending this-morning’s session of rants by the mildly frustrated. Problem solved by remembering back to the day.
-
Like it or not, a web devs job is to support browsers a site’s users need. As is widely said, supporting and optimising for differ.
-
Stack Overflow is hilarious:
Q: How do I do this in IE8?
A: whywouldyoudothat and dontsupportie8.
#justusejquery -
Protip: IE8 can go die in a ditch.
-
The Audio element fires some odd events. I keep forgetting that I’ve turned off wifi to trigger an error and thinking MDN is down.
-
CSSO changes the compressed CSS’s source order. I trust the Yandex team but still it makes me nervous. https://en.bem.info/tools/
-
URLs are precious. Four-ten is not to be thrown around lightly.
-
Oh wow, Android 4.1.1 is frustrating, wow. On the upside, work’s big responsive project works on phones that should be crushed like a bug.
-
I won’t lie, I am pretty pleased with this perf trick.
https://github.com/ResponsiveImagesCG/wp-tevko-responsive-images/blob/46dfaf24b2ca494694a1a4fe18e194357e304ca8/wp-tevko-responsive-images.php#L312-L326 -
React: doomed.
-
AngularJS: no theme song. Nothing more to be said.
-
The secret of jQuery’s success: having a theme song.
-
Not enough open-source projects have a theme song.