Author Archive

I can now start using Safari, ClickToFlash FTW

Tuesday, October 6th, 2009

For a long time my "browser of choice" was Firefox because of fantastic Flashblock add-in. Today I found out that there is similar add-in for Safari called ClickToFlash. Here is a nice article describing what it can do and here is the link to a github project. Pefect!

ColdFusion compiler is broken

Tuesday, September 22nd, 2009

Following on a tweet from Sean Corfield, I couldn’t believe it is possible to create a function called if, else, while and so on as well as declare variable called var. Here is the code that may hurt your head: [sourcecode lang="cf"] <cffunction name="if"> <cfargument name="val1" /> <cfargument name="val2" /> <cfif val1 eq val2> <cfreturn [...]

Greasemonkey script to remove unwanted results from Google

Tuesday, September 15th, 2009

For myself, for future reference: [sourcecode lang="js"] // ==UserScript== // @name Expert blocker // @namespace my // @description Eliminate Experts Exchange results from Google searches. // @include http://*.google.com/search?* // @include http://*.google.co.uk/search?* // ==/UserScript== var results = document.getElementsByTagName("a"); for ( var i=0; i<results.length; i++ ) { if ( results[i].href.indexOf("http:/ /www.experts-exchange.com") == 0 || results[i].href.indexOf("http:/ /swik.net") == [...]

ColdFusion to Flex serializer needs better error messages

Wednesday, September 2nd, 2009

I’m using Flex with ColdFusion for a long time now but sometimes I really can’t stand these two products together. I’m sending nested CFCs through the remote object back to Flex so ColdFusion has to serialize them to the form that may be understood by Flex. But I’ve got an error, somewhere I have an [...]

Flex DateFormatter bug, missing January 1970 month name

Thursday, June 18th, 2009

Today, while working on a small piece of code I discovered something that appears to be a DateFormatter bug. I was using following DateFormatter: [sourcecode lang='as3'] private var formatter:DateFormatter = new DateFormatter(); … formatter.formatString = “MMMM”; [/sourcecode] to display just the month names. I didn’t really care about the year when constructing new Date so [...]

Flex DataGridColumn width set to the longest value of that column

Tuesday, June 16th, 2009

There was an interesting question on stackoverflow.com today. Some unnamed user asked: Can we change the width of the datagrid column dynamically by clicking on the border of the column in order to display the complete string which is too long to be displayed and needs to be scrolled ? If so, How ?Also, how [...]

XMLSocket.send / Socket.writeUTFBytes doesn’t work?

Thursday, June 11th, 2009

Disclamer In first words – no, of course it is not broken, it is working fine. But there is a specific issue with these two methods when the socket server is implemented incorrectly. I noticed I’ve been looking for the solution using these phrases and that’s why the post it titled like that. I just [...]

Google Wave – Microsoft OneNote anyone?

Monday, June 1st, 2009

Right… just before SotR09 London I can’t get sleep. I just watched the Google Wave recording from Google I/O. After 5 minutes I had this feeling I’ve seen it somewhere already…, think, think! And BING ;) It was Microsoft OneNote. All that real-time typing capabilities, dropping images, commenting is already in OneNote. Until I see [...]

Why crossdomain.xml is even more than a good thing

Friday, May 22nd, 2009

For a long time I couldn’t really understand what crossdomain.xml is for. Today, after finishing one the Flex projects I finally figured it out. At least one of two reasons. About 4 years ago Martijn de Visser described one of them – defending your internal network from the attacks. But there is another way reason why crossdomain.xml [...]

Adobe and feeds.adobe.com team, please accept my apology

Sunday, May 17th, 2009

It’s been a long time since I last blogged, I’ve been on holiday and following week was kind of busy. It turned out that in my last post, Thank you Adobe for removing me from feeds.adobe.com, I accused Adobe/feeds.adobe.com team of doing something that never happened. As johnb and Big Mad Kev pointed out the [...]