UBXDDEV Vol. 3.6
Sept. 26, 2014
Ruby Kaigi writeups - Murray
Write ups of the Ruby Kaigi conference by Godfrey Chan. Unlike most of the ruby conferences I read about or attend, Ruby Kaigi seems to be more focussed on the development of ruby itself rather than development with ruby. It's really interesting to see what is coming in future versions of ruby that might make the language more performant. I also liked the sound of Matz's talk from the day 2 write up; it's encouraging to see that ruby is far from stagnant.
Vertical align CSS property - Neil
An in-depth look at the CSS vertical-align property, how it works, and why it might not behave as you expect.
Overkill - Karl
This talk by Katrina Owen presents a simple problem that provides a good training exercise for some best practices. She covers:
- Sandi Metz's “squint test”
- single responsibly principle
- race conditions
- code “smells”
- how best to name things for the problem domain and not the primitives they’re represented in.
Overall It’s a nicely paced, smooth and well rehearsed talk. Worth a watch!
A tuple OVER window functions - Pedro
These two articles go over using Postgres window functions: the first introduces the concept, including useful links to PG docs; and the second is a more practical example of using in the context of a rails app. I created a demo rails to check performance on this, using FactoryGirl to generate thousands of records, and was quite impressed by the performance gain.
Some new frontend tools - Tom S
A jQuery plugin for a “sticky” vertical navigation. Works by adding data attributes to an existing navigation rather than building a new using JS (as some other plugins do).
PerfectPixel (Chrome extension)
A chrome extension that allows you to overlay images to a webpage, a perfect addition to the front end toolkit. Best used when trying to match up to design layouts (web pages shouldn’t be pixel perfect, a responsive page is much more important!)