{"id":3959,"date":"2014-11-03T10:30:16","date_gmt":"2014-11-03T18:30:16","guid":{"rendered":"http:\/\/blog.mozilla.org\/webdev\/?p=3959"},"modified":"2014-11-05T09:50:00","modified_gmt":"2014-11-05T17:50:00","slug":"beer-and-tell-october-2014","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/","title":{"rendered":"Beer and Tell &#8211; October 2014"},"content":{"rendered":"<p>Once a month, web developers from across the Mozilla Project get together to debate which episode is the best episode of Star Trek: The Next Generation. Between screaming matches, we generally find time to talk about our side projects and drink, an occurrence we like to call &#8220;Beer and Tell&#8221;.<\/p>\n<p>There&#8217;s a <a href=\"https:\/\/wiki.mozilla.org\/Webdev\/Beer_And_Tell\/October2014\">wiki page available<\/a> with a list of the presenters, as well as links to their presentation materials. There&#8217;s also a <a href=\"https:\/\/air.mozilla.org\/webdev-beer-and-tell-october-2014\/\">recording available<\/a> courtesy of Air Mozilla.<\/p>\n<h2>Peter Bengtsson: django-html-validator<\/h2>\n<p>Our first presenter, <a href=\"https:\/\/mozillians.org\/u\/peterbe\/\">peterbe<\/a>, has created a small library called <a href=\"https:\/\/github.com\/peterbe\/django-html-validator\">django-html-validator<\/a> that helps perform HTML validation via either a middleware that runs on every request, or a test request client that you can replace the default <code>TestCase<\/code> client with. It validates by sending the HTML to <a href=\"http:\/\/validator.nu\/\">validator.nu<\/a>, but can also be set up to use <code>vnu.jar<\/code> locally to avoid spamming the service with validation requests.<\/p>\n<h2>Peter Bengtsson: Pure JS Autocomplete<\/h2>\n<p>Previously, peterbe showed an autocomplete engine based on JavaScript that called out to a search index stored in Redis. This time he shared some new features:<\/p>\n<ul>\n<li>No dependencies on jQuery or Bootstrap.<\/li>\n<li>Tab-triggered autocomplete.<\/li>\n<li>Preview of the autocompleted word.<\/li>\n<\/ul>\n<p>There&#8217;s no library for the engine yet, but a demo is up on <a href=\"http:\/\/www.peterbe.com\/autocomplete\/tester\">peterbe&#8217;s webpage<\/a> and the code is located in the <a href=\"https:\/\/github.com\/peterbe\/django-peterbecom\">Github repository for his personal site<\/a>.<\/p>\n<h2>Matthew Claypotch: flight-status<\/h2>\n<p>Uncle <a href=\"https:\/\/mozillians.org\/u\/potch\/\">potch<\/a> had a very simple command-line program to show us called <a href=\"https:\/\/github.com\/potch\/flight-status\">flight-status<\/a>. It pulls the current status of a flight by scraping the <a href=\"http:\/\/flightaware.com\/\">FlightAware<\/a> webpage for a flight using <a href=\"https:\/\/github.com\/request\/request\">request<\/a> and <a href=\"https:\/\/github.com\/cheeriojs\/cheerio\">cheerio<\/a>.<\/p>\n<h2>Matthew Claypotch: stylecop<\/h2>\n<p><a href=\"https:\/\/github.com\/potch\/stylecop\">stylecop<\/a> was born from potch&#8217;s need to enforce some interesting style guidelines against the CSS used in <a href=\"https:\/\/github.com\/mozbrick\/brick\/\">Brick<\/a>. stylecop parses CSS and allows you to specify interesting rules via JavaScript code that normal CSS linters can&#8217;t find, such as ensuring all classes start with a specific namespace, or that any tag selectors are used as direct descendants.<\/p>\n<h2>Pomax: Bezier.js<\/h2>\n<p>In a continuing trend of useful and math-y libraries, <a href=\"https:\/\/mozillians.org\/u\/Pomax\/\">Pomax<\/a> showed off <a href=\"https:\/\/github.com\/Pomax\/bezierjs\">Bezier.js<\/a>, a library for computing B\u00e9zier curves, their inflection points, intersections, etc. The library is based of his work for &#8220;<a href=\"http:\/\/pomax.github.io\/bezierinfo\/\">A Primer on B\u00e9zier Curves<\/a>&#8221; and <a href=\"http:\/\/pomax.github.io\/bezierjs\/\">a demo and documentation for the library<\/a> is available.<\/p>\n<h2>Robert Helmer: freebsdxr<\/h2>\n<p><a href=\"https:\/\/github.com\/mozilla\/dxr\">DXR<\/a> is a code search and navigation tool that Mozilla develops to help navigate the <a href=\"http:\/\/dxr.mozilla.org\/mozilla-central\/source\/\">Firefox source code<\/a>. <a href=\"https:\/\/mozillians.org\/u\/rhelmer\/\">rhelmer<\/a> shared his work-in-progress of adapting DXR to index the <a href=\"http:\/\/www.freebsd.org\/\">FreeBSD<\/a> source code. It brings the goodness of DXR, such as full-text searching and structural queries (e.g. &#8220;Find all the callers of this function&#8221;) to FreeBSD. rhlemer&#8217;s work is available as a <a href=\"https:\/\/github.com\/rhelmer\/dxr\/tree\/freebsd\">branch on his Github repo<\/a>.<\/p>\n<h2>Chris Lonnen: leeroybot<\/h2>\n<p>Finally, <a href=\"https:\/\/mozillians.org\/u\/lonnen\/\">lonnen<\/a> stopped by to share some info about <a href=\"https:\/\/github.com\/Lonnen\/leeroybot\">leeroybot<\/a>, a customized version of <a href=\"https:\/\/hubot.github.com\/\">Hubot<\/a> used by the Release Engineering team. Along with alterations to the plugins that normally come with Hubot, leeroybot is updated and deployed by <a href=\"https:\/\/travis-ci.org\/\">TravisCI<\/a> automatically whenever a change is pushed to the master branch.<\/p>\n<hr \/>\n<p>If we&#8217;ve learned anything this week, it&#8217;s that you should never allow someone to bring a Bat&#8217;leth to a Star Trek debate.<\/p>\n<p>If you&#8217;re interested in attending the next Beer and Tell, sign up for the <a href=\"https:\/\/lists.mozilla.org\/listinfo\/dev-webdev\">dev-webdev@lists.mozilla.org mailing list<\/a>. An email is sent out a week beforehand with connection details. You could even add yourself to the wiki and show off your side-project!<\/p>\n<p>See you next month!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once a month, web developers from across the Mozilla Project get together to debate which episode is the best episode of Star Trek: The Next Generation. Between screaming matches, we generally find time to talk about our side projects and &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/\">Continue reading<\/a><\/p>\n","protected":false},"author":445,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20263],"tags":[],"coauthors":[28315],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Beer and Tell - October 2014 - Mozilla Web Development<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Kelly\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/\",\"url\":\"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/\",\"name\":\"Beer and Tell - October 2014 - Mozilla Web Development\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/#website\"},\"datePublished\":\"2014-11-03T18:30:16+00:00\",\"dateModified\":\"2014-11-05T17:50:00+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/#\/schema\/person\/c5d68eef83c0e4e0ae60176f557c1941\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/webdev\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Beer and Tell &#8211; October 2014\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/#website\",\"url\":\"https:\/\/blog.mozilla.org\/webdev\/\",\"name\":\"Mozilla Web Development\",\"description\":\"For make benefit of glorious tubes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.mozilla.org\/webdev\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/#\/schema\/person\/c5d68eef83c0e4e0ae60176f557c1941\",\"name\":\"Michael Kelly\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/webdev\/#\/schema\/person\/image\/835c2c0db4a21fa347206563231f3e71\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a414aea4a5b11c6e2e00f760e96b85ab?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a414aea4a5b11c6e2e00f760e96b85ab?s=96&d=mm&r=g\",\"caption\":\"Michael Kelly\"},\"description\":\"Michael Kelly is a developer on the Web Engineering team at Mozilla. He works on tools that help engineers get things done. He also helps run a lot of the Webdev group activities!\",\"sameAs\":[\"http:\/\/mkelly.me\",\"https:\/\/x.com\/Osmose\"],\"url\":\"https:\/\/blog.mozilla.org\/webdev\/author\/mkellymozilla-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Beer and Tell - October 2014 - Mozilla Web Development","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/","twitter_misc":{"Written by":"Michael Kelly","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/","url":"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/","name":"Beer and Tell - October 2014 - Mozilla Web Development","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/webdev\/#website"},"datePublished":"2014-11-03T18:30:16+00:00","dateModified":"2014-11-05T17:50:00+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/webdev\/#\/schema\/person\/c5d68eef83c0e4e0ae60176f557c1941"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/webdev\/2014\/11\/03\/beer-and-tell-october-2014\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/webdev\/"},{"@type":"ListItem","position":2,"name":"Beer and Tell &#8211; October 2014"}]},{"@type":"WebSite","@id":"https:\/\/blog.mozilla.org\/webdev\/#website","url":"https:\/\/blog.mozilla.org\/webdev\/","name":"Mozilla Web Development","description":"For make benefit of glorious tubes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.mozilla.org\/webdev\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.mozilla.org\/webdev\/#\/schema\/person\/c5d68eef83c0e4e0ae60176f557c1941","name":"Michael Kelly","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/webdev\/#\/schema\/person\/image\/835c2c0db4a21fa347206563231f3e71","url":"https:\/\/secure.gravatar.com\/avatar\/a414aea4a5b11c6e2e00f760e96b85ab?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a414aea4a5b11c6e2e00f760e96b85ab?s=96&d=mm&r=g","caption":"Michael Kelly"},"description":"Michael Kelly is a developer on the Web Engineering team at Mozilla. He works on tools that help engineers get things done. He also helps run a lot of the Webdev group activities!","sameAs":["http:\/\/mkelly.me","https:\/\/x.com\/Osmose"],"url":"https:\/\/blog.mozilla.org\/webdev\/author\/mkellymozilla-com\/"}]}},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/posts\/3959"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/users\/445"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/comments?post=3959"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/posts\/3959\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/media?parent=3959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/categories?post=3959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/tags?post=3959"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blog.mozilla.org\/webdev\/wp-json\/wp\/v2\/coauthors?post=3959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}