Blog posts dated November 2012 – 4 posts found:

Magento: Loading a category or product by URL key

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.
Read more

Browser tip: Keep video full screen with multiple monitors (Firefox)

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.
Read more

Donation made, but the challenge continues

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:
Read more

Puzzle - First to solve wins

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.
Read more