BlackFade.com is coming down.

1

Posted by Rob | Posted in Misc | Posted on 18-01-2012

After a few years of me failing to update this site, and wasting money with UKHost4U (whom I would personally, NOT recommend for any of your hosting needs), I will be taking BlackFade down.  I will be making a copy of the wordpress site and re-publishing it sometime in the near future, so the two subjects which have proved popular (Scott Pilgrim and MooTools) will be back up and running sometime in the future but under a new domain.

I haven’t decided what that domain will be just yet, but I’m hoping it will be a more professional name so that I can actually do some work on it, and not feel embarrassed every time I give out my email address to a client.

If anyone has any requests of me, please comment or send me an email.  It was fun while it lasted :) .

The site will be going down sometime after the 1st of February (depending how long it takes my host to take it down).

Opera, rewriting the Web one site at a time

0

Posted by Rob | Posted in BBC, Browsers, Javascript, Opera, Work | Posted on 13-09-2011

Tags: , ,

Opera Web Browser

Opera Web Browser

I work for the BBC and we work very hard to make sure anything that the public see is of the highest standard, and we’re always working to improve that methodology over time. Yes, like any live and evolving website, the occasional bug does slip through the net. We do our very best to prevent it, having a dedicated team of User Experience and Functionality testers, along side a team of people writing automated tests and software. But bugs can occasionally happen.

When we do find a bug, especially with a new feature, we identify and fix the problem as quickly as possible. This is where I come in. As a developer, part of my job is to do the finding and fixing.

So I was handed a bug to look at. The video was not appearing for some Opera users. I talked over the situation with our QA manager, and discussed just how long the fix should take, how we’re going to roll it out and what impact it will have on users until then.

That having been sorted, I started work on my side of the problem. When I finished, I found my fix only served to create another problem. And another appeared. And another, and another.

By chance, I switched off a setting called “Browser JavaScript”. Suddenly, everything starts working. I just sat there stunned. “What just happened?” I started asking myself. I switch Browser JS back on, and it breaks again. So I started running around the office looking for anyone with Opera to test out this problem.

I found that roughly 50% of users are seeing the same results as I was. The other 50% haven’t got a problem.

So I start reading up about browser JS and start having a look at the file directly. Lo and behold, there is a direct mention of BBC iPlayer. They’re rewriting a core browser JS function. “What the hell?”, you could rightly ask.

} else if(hostname.indexOf('bbc.co.uk')>-1 && pathname.indexOf('/iplayer')>-1){ // PATCH-426, Add to favourites fails on BBC iPlayer because of script loading/parsing timing issue
	document.getElementsByTagName=function(n){
		var elms=getElementsByTagName.call(this, n);
		if(elms.length==0 && n=='body')return [document.documentElement];
		return elms;
	}
	if(self==top)postError.call(opera, 'Opera has modified the JavaScript on '+hostname+' (Add to favourites fails on BBC iPlayer because of script loading/parsing timing issue). See browser.js for details');

They’re rewriting a core function, built into the browser, and it’s worth noting that this isn’t a problem with iPlayer that they’re fixing. It’s a problem with Opera that they’re working around for only iPlayer.

I did a little research and found this blog, my.opera.com/core/blog/show.dml/3130540 (Update: Can anyone tell me why this only loads in Opera?) from Opera, stating:

“Opera has more experience with site-specific patches than other browser vendors, since we’ve been patching the web since Opera 8.01. I believe our solution is also by far the most advanced one”.

Did I just read that right?  Opera are better at developing websites that anyone? That’s an unbelievable statement to make.

What about GreaseMonkey, you might ask. GreaseMonkey is a great little tool for letting users add functionality to websites that they think is missing. Opera are taking that idea and forcing it onto their users by default. It’s not even opt in.

Conclusion: I’ve met some of the Opera people before today. Bruce Lawson is a particularly fine chap. Which is why I’m confused why they would think that as a software development company, not only do they know web development better than web developers, but that they have a duty to edit those sites which fail in their browser.  The correct course of action, for me, would have been to contact us directly and report the issue.  I just hope they do this in future.

Update: We got an apology my.opera.com/sitepatching/blog/2011/09/12/why-we-broke-2 from Opera which was extremely nice of them.

Update: The apology managed to get to #10 on Hacker news :)

BlackBerry Database Hacked

0

Posted by Rob | Posted in Misc | Posted on 09-08-2011

Hackers have responded to BlackBerry‘s press release stating they will help police by releasing all information about their customers to help flush out rioters.

TeaMp0isoN
This hack is a response to this statement by RIM:

“We feel for those impacted by this weekend’s riots in London. We have engaged with the authorities to assist in any way we can. As in all markets around the world Where BlackBerry is available, we cooperate with local telecommunications operators, law enforcement and regulatory officials. Similar to other technology providers in the UK we comply with The Regulation of Investigatory Powers Act and co-operate fully with the Home Office and UK police forces.”

Dear Rim;
You Will _NOT_ assist the UK Police because if u do innocent members of the public who were at the wrong place at the wrong time and owned a blackberry will get charged for no reason at all, the Police are looking to arrest as many people as possible to save themselves from embarrassment…. if you do assist the police by giving them chat logs, gps locations, customer information & access to peoples BlackBerryMessengers you will regret it, we have access to your database which includes your employees information; e.g – Addresses, Names, Phone Numbers etc. – now if u assist the police, we _WILL_ make this information public and pass it onto rioters…. do you really want a bunch of angry youths on your employees doorsteps? Think about it…. and don’t think that the police will protect your employees, the police can’t protect themselves let alone protect others….. if you make the wrong choice your database will be made public, save yourself the embarrassment and make the right choice. don’t be a puppet..

p.s – we do not condone in innocent people being attacked in these riots nor do we condone in small businesses being looted, but we are all for the rioters that are engaging in attacks on the police and government…. and before anyone says “the blackberry employees are innocent” no they are not! They are the ones that would be assisting the police

- TriCk – TeaMp0isoN -
- Greets To: iN^SaNe – Hex00010 – MLT – BlackHacker

- Knowledge is Power . . . . .
#FuckTheFeds

Twitter: @TeaMp0isoN_

Disneyland Paris – Tilt Shift

0

Posted by Rob | Posted in Misc | Posted on 22-05-2011

Adobe Flash Player is required to view the video.
I love this film style. I’ve been looking for a nice demonstration of it for a while, and I just stumbled upon this one today.

Re-post: All the tenants I interview aren’t good enough

0

Posted by Rob | Posted in Misc | Posted on 05-12-2010

I found this on CraigsList a long time ago, and it’s gone, so I thought I would re-post it for someone else to get a good laugh from.

It was originally found here: http://vancouver.en.craigslist.ca/rnr/964514051.html. Enjoy :)

I am a born again Christian. Why is this a problem for people????! I have a house that’s MINE and I PAID FOR IT. I also have a basement apartment for rent. It’s a great space for I’m charing very little for it, $480 monthly, for the right tenant. I know it’s ILLEGAL to require a Christian in the apartment, against the human rights. That’s why I NEVER put this in my ad. Why then does it keep getting taken down?
Read the rest of this entry »