Blog posts dated November 2012 – 4 posts found:

2012-11-26: Magento: Loading a category or product by URL key

Posted at 2012-11-26 19:08:43 by SHD

Sometimes you want to load a specific category (or product) in Magento. It's easy enough to load an object by its ID number, but magic numbers are bad. Besides, the number could differ between your development environment and the live production site. Fortunately, it is also possible to load an object by its url_key.

2012-11-24: Browser tip: Keep video full screen with multiple monitors (Firefox)

Posted at 2012-11-24 22:46:28 by SHD

If you have multiple monitors and use Firefox to view a HTML5 video (using the <video> tag, such as in the YouTube HTML5 player) or perhaps have a WebGL game that runs full-screen, you will find that the moment you click away to another window on the other monitor, Firefox leaves full-screen mode. This makes it completely useless for watching video while doing something else. There is a fix for it.

2012-11-19: Donation made, but the challenge continues

Posted at 2012-11-19 19:53:47 by SHD

This weekend, I posted a brainteaser, promising to pay $100 to whomever solved it. Although the decoding algorithm has not yet been discovered, Mr. Batuhan Bozkurt, who found my puzzle through Reddit, did manage to figure out what the second landmark was. He generously suggested that I donate the prize money to Doctors Without Borders. That is an excellent destination for the money, so I was only too happy to oblige:

2012-11-17: Puzzle - First to solve wins

Posted at 2012-11-17 02:35:21 by SHD

For years I've had an idea in my head about a way to hide some information in a bunch of numbers. I actually got around to coding an implementation and figured I'd run a competition. The first person who figures out what the famous landmark is described by the second set of numbers below and posts the correct answer in the comments wins $100.