03 Jun '13, 4pm

@jayroh Thank you for this, sir: Was a big help to us at @dribbble.

February 9, 2013 jayroh ruby RSpec TDD Fight back UTF-8 Invalid Byte Sequences Chances are, some of you have run into the issue with the invalid byte sequence in UTF-8 error when dealing with user-submitted data. A Google search shows that my hunch isn’t off. Among the search results are plenty of answers—some using the deprecated iconv library—that might lead you to a sufficient fix. However, among the slew of queries are few answers on how to reliably replicate and test the issue. In developing the Griddler gem we ran into some cases where the data being posted back to our controller had invalid UTF-8 bytes. For Griddler, our failing case needs to simulate the body of an email having an invalid byte, and encoded as UTF-8. What are valid and invalid bytes? This table on Wikipedia tells us bytes 192, 193, and 245-255 are off limits. In ruby’s string literal we can represen...

Full article: http://robots.thoughtbot.com/post/42664369166/fight-back-...

Tweets

QWeekly - I'm back

QWeekly - I'm back

bongqiuqiu.blogspot.com 09 Jun '13, 6am

Just very chillax and comfortable cox the daybed is perfect to nua-sai haha. And the whole attic loft thing is so like.. U...

Oh gosh, this isn't satire, is it? :-( Let Us F...

mca-marines.org 31 May '13, 1pm

A point by point response to explain the nuance of Marine warfighting philosophy, the role of police in society, and the p...

Is the PAP government going back to its old ways?

sgpolitics.net 02 Jun '13, 10pm

Is the PAP government going back to its old ways? June 3, 2013 by Ng E-Jay Filed under: Current Affairs and Politics , Dr ...

June is PTSD Awareness month. Learn the signs, get help:

June is PTSD Awareness month. Learn the signs, ...

va.gov 03 Jun '13, 2pm

'Take the Step' to Make a Difference by Hans Petersen, VA Staff Writer Monday, June 3, 2013 Help Raise PTSD Awareness June...

US offers $23 million for AQIM, Boko Haram boss...

sg.news.yahoo.com 03 Jun '13, 6pm

In an unprecedented move, the United States on Monday posted up to $23 million in rewards to help track down five leaders ...

Big Brand SEO & Penguin 2.0

searchengineland.com 03 Jun '13, 12pm

The machine cannot understand a website’s intent. However, what the machine can understand is what a user’s search query i...

Beijing creates hefty gasoline pollution tax to fight massive smog problem ($6/gallon)

Beijing creates hefty gasoline pollution tax to...

treehugger.com 03 Jun '13, 4pm

If you want less of something, you can tax it*. The government of Beijing seems to have finally caught up on its economics...