Breaking down Unicode characters encoded in UTF-8

Lately, I have been doing a lot of work with UTF-8 character conversions. I spent a good deal of time scratching my head trying to figure out how to convert database tables encoded in a latin1 charset with UTF-8 encoded data to a UTF-8 charset. I ended up accomplishing this by following the method described here:Converting Database Character Sets « WordPress Codex Essentially, you convert all text containing fields to their binary (BLOB) counterpart data-type (which has no charset), then convert them back to their normal data-type along with the desired charset. There is some nuance to this method if the charset of the table doesn’t match the charset of the data being saved to the table. I won’t go into that here, but just know that data loss could occur during those conversions if you are not careful. The article above describes how to get around that issue.

Continue reading

The shared courtyard never gets swept

“With DevOps, quality becomes everybody’s concern. In theory, that’s great news. However, there’s a great Chinese proverb which translates to “The shared courtyard never gets swept”. If something is everybody’s problem, then it’s really no one’s problem. And therein lies the danger.”

“DevOps is a worthy path to bring the whole business into making better software quicker, and one of the keys to success is test automation. Getting test automation right is one of the strongest indicators that you are a mature DevOps or agile operation and that you will be successful, despite the challenges. As Aristotle wrote, a couple of thousand years before DevOps arrived, “Quality is not an act, it is a habit.”

Excerpts from: by Heather Krebsbach

Pragmatic Programmers get the job done, and do it well.

“Programming is a craft. At its simplest, it comes down to getting a computer to do what you want it to do (or what your user wants it to do). As a programmer, you are part listener, part advisor, part interpreter, and part dictator. You try to capture elusive requirements and find a way of expressing them so that a mere machine can do them justice. You try to document your work so that others can understand it, and you try to engineer your work so that others can build on it. What’s more, you try to do all this against the relentless ticking of the project clock. You work small miracles every day.

It’s a difficult job.

Continue reading

“Make People Awesome”

“When we say “make people awesome,” some people think we mean “make people feel really great” instead of “give people the ability to do great things.”  I mean the latter. If I meant “make people feel great” I would say “make people feel awesome” and would not bother with actually creating any enablement. Feelings matter, but there is more to this than feelings.”

― Feeling Safe [Tim Ottinge]