1. My favourite progressive-enhancement+AMD requirejs abstraction: enhanceEach

    It covers what is for me an extremely common use-case, of

    “I have a bunch of elements with some class which means that I want to progressively-enhance them, only loading the code required to do so in to pages which contain the elements”

    var enhanceEach = function (selector, dependencies, callback) {
        var elements = document.querySelectorAll(selector);
        if (elements.length > 0) {
            require(dependencies, function () {
                var args = Array.prototype.slice.call(arguments);
                Array.prototype.forEach.call(elements, function (element) {
                    var innerArgs = args.slice();
                    callback.apply(callback, innerArgs);

    A typical example, activating CodeMirror on textareas with class|=codemirror if there are any on the page:

    enhanceEach('textarea.codemirror', ['codemirror/lib/codemirror', 'codemirror/mode/htmlmixed/htmlmixed'], function (el, CodeMirror) {
        var config = {
            indentUnit: 1,
            tabSize: 2
        if (el.hasAttribute('data-codemirror-mode')) {
            config['mode'] = el.getAttribute('data-codemirror-mode');
        var codemirror = CodeMirror.fromTextArea(el, config);

    (A fan of minimal, useful javascript abstractions, and the thought processes behind them? You may enjoy A Minimal Javascript HTTP Abstraction)

  2. Alternative, smaller, simpler logo based on super-helpful feedback from Aaron Parecki, Brian Suda, Brennan Novak, Kartik Prabhu:

    I kept the multi-stranded green connection as I couldn’t find a single green which looked effective on it’s own, and the whole thing was so much flatter without the extra depth they give.

    Also, an alternative version with randomly truncated segments – symbolising sites with different levels all interacting happily

    which was worth a try, but I think it lacks balance. Probably going to stick with the first one.

  3. Initial draft of a logo:

    Got stuck for inspiration (trees are cliché and, in the UK, ironically associated with the conservatives) so looked on wikipedia, and found this beautiful photo by Stephen Ausmus:

    So made a stylised version for a laugh, and actually really like it. It shares some colours with the indiwebcamp logo

    whilst remaining stylistically separate and visualises a lot of principals: a centralised node split up into a more diverse ecosystem, but still connected by the green strands of standards (many of which are , also associated with the colour green).

    Still a WIP though — thoughts?

  4. A far greater culinary challenge awaits, though: what to do with a jar of the far less tasty by-product of : “Chocolatey oil with bits of burnt batter and granola floating in it”.

    (yes I tried deep-frying . It’s part of my job as Granola Science Strategist at @rvkgranola)

  5. Kitchen disaster strikes! It turns out that the low melting point of chocolate in the mixture causes it to melt and flow out of the batter whilst frying, resulting in some vaguely chocolatey batter shells and guilty-looking chocolatey oil.

    Paying more attention to the second batch results in some passable fried chocolate milk. Looks like success here is a matter of very thick filling and precise frying timing.

  6. Tonight I shall be combining my two favourite @sumendirest recipes to create the single most unhealthy thing I’ve ever cooked: Fried Chocolate Milk!

    I made the main mixture yesterday and it’s been cooling in the fridge. Now for the fun part: frying.

  7. Learning about umw.domains, a project to give UMW students+faculty their own personal domains. It’s a great project!

    My own has been a place of experimentation and self-expression for years now and I’ve learnt a lot, and connected with many people through it. Anything which makes personal domains more accessible is a move in the right direction.

  8. Literally cleaned out the cobwebs on my favourite bouldering routes last night, catching the last of the good weather before it started to rain

  9. Marcus Povey: This game looks fascinating... how accurate are the physics involved in terms of success? Do you have to hit escape velocity/learn orbital mechanics to rendezvous with the space station etc?

    Oops, sorry for not replying — I didn’t see your mention for some reason! Yep, KSP is an amazing game. You do indeed have to hit escape velocity, from a planet 1/10th the size of earth but with equivalent acceleration due to gravity, and yes you have to learn orbital mechanics to rendezvous, or get to other planets. Highly recommended, but watch out — there’s a steep learning curve but once you get it it sucks you in :)

    Oh, and the fan community is amazing. So many tutorials, fan videos and mods. Example:


  10. php-mf2 users: requesting your feedback for Mf2\fetch() microformats-from-URL function just added to dev-master. I want to get this nice and polished before adding it to a versioned release, and would appreciate feedback, specifically on the documentation and debugging support.

  11. The conclusion has been reached, and independently verified: I look Finnish. Apparently the fix is to shorten my hair.