Blog posts dated 2012 – Posts 1..5 of 14 posts found:

2012-12-08: Facebook privacy, what really changes?

Posted at 2012-12-08 20:35:58 by SHD

On Monday, Facebook intends to revise its SRR and Data Use Policy. They are inviting users to vote on them. That is a sham, really, as for the vote to be binding, 30% of users would have to vote, which is obviously not going to happen. The comments on that page includes tens of thousands of people posting the same bogus message. Those people are such clueless and gullible morons that they deserve all the spam in the world. For the people who are really interested in what's going on, even if the vote is a sham, they should read on.

2012-12-03: Bugfix for handling of Flash content in OpenX

Posted at 2012-12-03 18:15:33 by SHD

Advertising server software OpenX is reasonably user friendly to work with, but also quite insecure and buggy. One of the bugs I came across was that it misidentified Flash banners compiled with Flash version 11.4 as requiring Flash Player 17 (which doesn't exist). Since OpenX checks the version of the Flash plugin against its perceived minimum requirements, this meant that a few ads simply wouldn't display. Here's the fix to the OpenX code.

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: