I was trying to migrate a table in my Rails app and got this error: undefined method `deep_symbolize_keys’ for nil:NilClass It’s a strange error, and there weren’t very many hits on Google. A lighthouse ticket provided a clue. The problem wasn’t one of my plugins or gems — it was i18n itself. Upgrading from 0.4.1 …
Author Archives: paulschreiber
The FCC just sold you out
The case of the dirty validator (why web filters suck)
Web developers, be warned! Your secret page-validating habit has been found out: This nonsense proudly brought to you by PurePages, providers of nonsense filters use by mmmuffins wifi at Toronto Union Station.
Fixing the mysterious “Element script is missing required attribute src” error
Suppose you're using the W3C validator to validate HTML5. Here's a sample document: <!doctype html> <html lang="en" xml:lang="en"> <head> <meta charset="utf-8" /> <title>Hello</title> <script type="text/javascript" charset="utf-8"> //<![CDATA[ var foo = 1; //]]> </script> </head> <body> </body> </html> Everything looks right, but you get this mysterious error: Line 6, Column 48: Element script is missing required …
Continue reading "Fixing the mysterious “Element script is missing required attribute src” error"
Tighten up those keys, team
Math is hard
TSA news roundup from Bruce Schneier
Bruce has done a fantastic job summarizing the backlash to the TSA’s plan to take naked pictures of and/or molest you as a precondition of boarding an airplane: There’s humour, outrage, and just a wee bit o’ corruption: Michael Chertoff, former Department of Homeland Security secretary, has been touting the full-body scanners, while at the …
MediaTemple is bad at security
Using Google refine to produce a list of Ontario’s private schools
Last week, I excitedly read the announcement and watched the screencasts of Google Refine 2.0. Today, I used it to transform this hot mess of HTML: Into this structured data goodness: