Archive for November 2009


The XKCD book page numbering explained (or skew binary explained)

November 24th, 2009 — 5:06pm

We got the XKCD book “volume 0″ here at work yesterday, and I have of course skimmed through it many times already. I quickly found the solution to the page numbering scheme, but wanted to see if I could find a simple conversion formula from real number to XKCD page number and vice versa.

Continue reading »

5 comments » | General, JavaScript, Trends

Link sharing spam on Facebook

November 23rd, 2009 — 3:25pm

I just saw a link on Facebook, that I somehow had to interact with – it featured a not-that-dressed girl and said “Wanna C Something Hot?”/”Want 2 C Something Hot?” or variations of this. Well, clicking the link sent to me to an external site featuring a single button and the same image urging me to click it. When clicked, I came to some porn site. But why would several of my friends post links to this site, which incidentally sent me to a porn site? Well, as I soon after saw on Facebook, I had just posted the same link on my wall for all my friends to see. How?

It is a “simple” case of “click-jacking” and the site tricks you to click a Facebook share button, but disguises this as some other button. Please read on for full description.

UPDATE 2009-12-2: “Press the button or dog dies”/”Push the button or this dog dies” (located at pressthebuttonordogdies.com, but don’t go there) is a new such site. The target website is “thisblogrules.com” and the measures used are a little different but all in all the same anyway.

Furthermore, I have used bit.ly for tracking how much these links have been used so far on Facebook – it is pretty inflicting: The “hot” girl has been shared almost 59,000 times and the poor dog has been shared 5,309 times as of this writing. You can see the direct stats from the Facebook link.getStats API here: Somthing Hot and Or Dog Dies

Continue reading »

Comment » | General, HTML, Security, Trends

The iPhone developer boycott in the works

November 23rd, 2009 — 12:13pm

Being a set of talented web developers in a trendy, cutting-edge digital agency, we have wanted to create and thus pitched on many an iPhone application – as the iPhone is just the slickest, meanest, coolest, hottest and most alluring device on the market. It has been so for a long time and it will be so for some time to come (but not that long).

But that craving for getting hands on building something for the iPhone is gone – completely. I’m sorry Apple, you might not miss me, but as things stand right now, I won’t miss you either. And I am certainly not alone – there is a large front in the developer community building up resentment against the policy of the App Store review process. A veritable boycott is brewing.

Continue reading »

Comment » | General, Programming, Trends

100,000 spam comments fought off

November 6th, 2009 — 12:04am

My blog just turned a huge corner – Akismet has now protected me from 100,000 spam comments in total.

Continue reading »

Comment » | General

Advanced E4X – Assignment to XMLLists

November 4th, 2009 — 12:22pm

I was playing around with E4X last night working on an upcoming blog post about the capabilities of E4X. While playing, I was thoroughly reading the ECMA-357 standard, and found that there are some special rules about assignment and compound assignment, that produce truely unexpected results.

I will try to summarize common pitfalls and provide valid work-arounds.

Continue reading »

Comment » | AS3, E4X

Back to top

Get Adobe Flash playerPlugin by wpburn.com wordpress themes