MrJoy

Just a Coder, Carryin' On Cranky

Know What You're Actually Testing

Permalink

Getting At Awkward Code, For Great Testing

A couple days ago, I wound up helping out a colleague on a problem he was having coming up with an appropriate test case for a piece of code in a Rails app. It reminded me that I had wanted to talk about how structuring your code affects what you are actually testing, and how that related to what you want to test.

Shamir's Secret Sharing

Permalink

Shamir's Secret Sharing is a mechanism by which N people may each have a piece of of information, such that when any M people come together the pieces can be used to reproduce a secret – but if only M-1 pieces are brought together, you have zero bits of the secret.

Beyond Putting A Burger In Your Shell

Permalink

So I saw a blog post today titled “put a burger in your shell”, which showed how to use the emoji characters in Unicode 6.1 to put a cheeseburger in your terminal.

That got me to thinking: Icons can be a simple, quick-to-parse, compact means of conveying information. Perhaps some of the emoji could be used for a more practical purpose. So, I have put together a little project called BashFu to do just that.

Managing Technical Debt

Permalink

A Perspective on Technology Debt

(Cross-posted to the Cloudability Blog)

As engineers and managers we often speak of “technology debt” – the accumulated cruft and drag coefficient that make maintaining a system harder over time. Brittleness arises over time, as sure as the sun rises.

Zero Day Magento Ee Cache Poisoning Attack

Permalink

Summary

Magento Enterprise Edition is vulnerable to poisoning of its page cache under some configurations due to inappropriate trust of HTTP Host header values.

Impact

Users shopping at online stores driven by Magento EE can be redirected to arbitrary third party sites, allowing malicious entities to entice users to hand over their credit card information inappropriately.

Severity

Major – Exploit allows for content injection, and hijacking of users. Exploits have been observed in the wild.