If you're working with Active Record and PostgreSQL, you may want to be aware of a pair of SQL injection vulnerabilities publicized by Rafael Mendonça França. According to his mailing list email, the vulnerabilities affect PostgreSQL versions above 2.0, and rely on unconventional data types found in Postgres.
One of my favourite features of SASS is the ability to use loops to dynamically create your CSS classes. A good example of this is when you want to make a set of classes to use for changing the text colours and background colours of elements you would normally have to write CSS like this.
We are collectively making the step into network based storage. We should also make the step to run this effectively with maximum performance and minimal interference on a single network. It really can be pretty simple…
Which is more readable? releaseVersion = version.substring(0, version.indexOf('-SNAPSHOT')) or
releaseVersion = version[0..-10] ? I'm going to go with the first one because it’s easier to understand if/when something goes wrong.
If networking really is on the cusp of changing over, user experience has to be an input into the design process. This is a radical change in how products are conceived, built, and ultimately brought to market.
To separate logic of accessing data from the routes, we create separate modules to handle the task of data access. When I started learning Node.js, a common pattern that I saw in some samples to separate the data access logic from routing was as follows:
I led a session about improving our writing skills. I wanted to gather more ideas to supplement my talk and my article on "Writing an Excellent Programming Blog". A half-dozen smart people showed up with tips and links. Here are my notes.
As you might have read it already: for the new semester we plan the next generation of Sumo Robots: still based on the Pololu Zumo Chassis, but instead using the FRDM board with the processor, we directly put a Kinetis K20 processor on the board :-).