Monthly Archive for July, 2006

Remove the tourists from your photos

I was curious when I came across Snapmania’s Tourist Remover. I thought now how on earth can they guess what is behind the tourist and fill it in.
The system actually relies upon you having several (for a better result) photos of the same place. This way it takes the photos and uses each to patch together a final photo without the unwanted tourists walking by like here when you could be taking a picture of a Ferrari :

Ferrari with Tourist

Or like this :

Ferrari with Tourist 2

And after using the Tourist Remover Service, voilà, your final photo without a single tourist in site :

Ferrari without tourists

Check out the free service for yourself

Image flicker in IE 6

I’d had this problem before and it still seems to come back and bite you. Internet Explorer 6 is still going to be around for a while so you can’t just ignore it.

I was at one of my best mates, showing him a personal site I’m working on.
As you can see below the initial state of the menu is all grey. When you move it’s supposed to bring the menu to life with colours ;)
However from State 0 (initial state) to State 2 (expected effect) there is an intermediary state in IE 6 State 1, where the little (icon) column preceding the menu elements is not visible, but should be!

Initial state (0):
Initial State before mouse hover

Mouse over effect (2):
Mouseover effect

IE6 flicker effect (1):
IE6 flicker Effect

The flicker effect in IE is consistent. Every time you hover over the image it calls the server to download a the hover state image once again. So if you go up and down a menu with 5 elements twice IE 6 will go and fetch the hover image 20 times !

I initially started with the column, preceding the menu elements, slightly smaller. Then I tried to do a cross type icon for elements with sub menus. The problem was that it looked like a RIP symbol so I moved back to a square type icon. I realised I liked the taller column (without the horizontal line) and kept a smaller (square type) one for the ‘active’ click by mistake. The active effect, moving from the tall to the square column, looks nice so I kept it like that.

Active, mouse down effect (3)
active mouseover

I remembered having come across a fix for this on a previous site that required a few lines of code in the httpd.conf or .htaccess

This is the code that needs to be added :
BrowserMatch "MSIE" brokenvary=1
BrowserMatch "Mozilla/4.[0-9]{2}” brokenvary=1
BrowserMatch “Opera” !brokenvary
SetEnvIf brokenvary 1 force-no-vary

You can also add this :
ExpiresActive On
ExpiresDefault A18000
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000

And as a comment on hicksdesign.co.uk explains you can also use this :
ExpiresActive On
ExpiresDefault A18000
ExpiresByType image/gif "access plus 4 hours"
ExpiresByType image/jpeg "access plus 4 hours"
ExpiresByType image/png "access plus 4 hours"

You can also use “access plus 1 month” for example…

If you have access to the httpd.conf (I couldn’t get this to work via a vhost file) then you can add :
LoadModule expires_module modules/mod_expires.so

This ’should’ stop the constant calls to the server. There may be an initial case of the image missing on the first hover (before it has loaded the image) but then it should no longer call the server for each hover.

Code was found at Dean Edwards, the IE guru and a comment posted on Jon Hicks blog in an article about a menu that wasn’t behaving

A word of advice : if you are developing a site, test this and then comment it out until the site is finished. It’s highly likely you will ‘have’ to refresh the page by using a force refresh page each time you change any images. And sometimes you forget and then discover the changes when you restart the browser. Although that seems to be necessary in Opera 9 all the time anyway ! PS : Opera 9 is still my preferred browser, maybe until FireFox 2 ?

One other thing I noticed with Opera is that the animated gifs that have been defined to cycle though the frames in the animation say seven times like the one above start all over again if you page down and then back to the animation. It’s a kind of now you see it, now you don’t thing that cleans the slate of the animation. Not really always desirable and I feel it counteracts the whole concept of defining how many times an animated gif should loop !

Our Evolution explained

There is a fascinating article about human evolution at the washingtonpost.com that explains how human genome research has helped understand specific changes in the human DNA around the world :

Europeans seem to be adapting to the increased availability of dairy products, with genetic changes that allow the enzyme lactase, which breaks down lactose in milk, to be available throughout life, not just in infancy. Similarly, East Asians show genetic changes that affect the metabolism of the sugar sucrose, while the Yoruba people in sub-Saharan Africa show genetic changes that alter how they metabolize the sugar mannose.

This quote hit home with me since I sometimes feel I’m the odd one out with everybody being really intent on a ‘nice tan’. Frying under the sun is not something I really participate in that much :

Europeans, for example, show strong changes over the past 10,000 years in genes that affect skin color — as humans moved into northern Europe, where there was less ultraviolet light, there was a strong evolutionary advantage to having lighter skin to allow in more ultraviolet light, which is needed to synthesize Vitamin D.

I find it incredible to read information about myself that is so profound, you’ve really got to love Internet for that…

The impact we have on our environment is a hot debate. Scientists, like those that lead research into human evolution quoted in the article, have alerted us to the disastrous effect we have and are having on the world and environment we live in. It seems that our body is far more intelligent than we thought. It is adapting to these occasionally drastic changes. I’m not sure whether the idea of our bodies adapting to the decrease in physical exercise and the increase in food consumption is good. Turning that trend around might be a far better idea !

On a humorous note (which can be expected over at blogjam.com) there may be a solution to the English hangover issues. This is not really evolutionary since the English have been drinking for a long time and this hasn’t really changed much, LOL ;) As explained above it seems a good idea since it also takes into account the evolution of Europeans with the availability of the enzyme lactase!

Brainwaves replacing the mouse

In a futuristic article, Fortune discusses the way research in to reading and interpreting brainwave activity, has lead to conclusive initial experiences that allow the brain to replace the mouse for basic functions.

Science Fiction Novels have often given us images of a future with voice controlled and complex computer systems providing valuable services and functions. Fewer have portrayed humans interfaced with computers via brainwave patterns alone. It is true that the thought of having to have a chip implanted in your brain to do so is a pretty scary thought. The idea that such an interface could be accessed by computers other than the one(s) intended, chills you to the bone. The mere notion of a virus capable of creating havoc with a human brain through such an interface is a nightmare.

But the advantages that can be gained, as well as less obtrusive methods that are appearing without the need for implants is fascinating:

Last year, Sony took out a patent on a game system that beams data directly into the mind without implants. It uses a pulsed ultrasonic signal that induces sensory experiences such as smells, sounds and images.

There are also far more useful examples in the article where quadriplegic patients can communicate via such systems and a chip that could be able to “process thoughts as fast as speech - 110 to 170 words per minute - by 2012″.
“Stu Wolf, one of the top scientists at Darpa”, describes the mind enabled systems like these : “network-enabled telepathy” which is disturbingly close to the storyline of the film ‘Matrix’.
Let’s hope that the top scientists and researchers alike provide us with safe and useful devices that will make our lives easier and secure.

A related article at the washingtonpost.com explains how “scientists at Stanford University hope to allow patients one day to complete actions without even having to think about the action itself.”

This obviously all sounds beneficial on the whole and far better than the reports that have been published about how cell phones affect the brain.

Office 2007 in your Web browser

If you downloaded the previous beta versions of Office 2007 then it replaced any previous installed versions potentially creating compatiblity issues with documents from earlier versions of Office. The solution as discussed on ComputerWorld is to have the program(s) running in your browser and voilà ! no more those issues…

Among the programs availble to test from Microsoft Office 2007 are Access, Excel, InfoPath, OneNote, Outlook, PowerPoint, Project Professional, Publisher, Visio, Word…

As the article says this is a first in browser-based Office beta !

Superman Returns

Superman ReturnsWell, I remember having watched some ceremony where the latest batman actor jabbed at Superman and proclaimed himself the “bad ass” superhero! Yes batman everybody envies a “bad ass”, not! I have yet to see the batman movie (watched 20 minutes once and had to stop for some reason), but Superman Returns was good. I enjoyed and really felt like watching the movie upon reading a critic that said it was for insecure men. With such a dumb comment I thought this film is probably going to be good.

The film actually reminded me of the Marvel comic that I used to read. Superman is portrayed as an average guy on one side and flip the coin to find a real superhero. So there is part of him that you can associate with whoever you are. That’s probably what lead to the dumb comment above, from an insecure critic that didn’t like the feeling. The world (humanity) is portrayed as having affected Superman in a good way. He’s the type of guy you’d like to have around in the real and chaotic world we live in. It seems to stray somewhat from the ongoing need for all actors to be shinny and beautiful like in Desperate Housewives where the odd ones out are not the top model type, talk about a desperate life…

I think that it is also one of the reasons why I also like Spiderman, not because I used to be a ‘That 70s Show’ fan. The fact that Spiderman’s beloved knows who he really is, brings some reality into it. A factor (reality) that is really preposterous sometimes in Superman with his mask/glasses. It’s often played out with the audience thinking that the woman of his heart, Lois “should” realise who he is, because she’s close to him. But come on, all the others around him also need their eyes checking for not figuring it out ! I wonder whether the feeble attempt at a mask is why people feel closer to him and that lead to Superman being such a success.
Have you noticed that they never seem to have anything more than a senator in Superman (ie Clark’s dad in the TV series Smallville). There is no president and you sometimes see the army but not much.

Kevin Spacey is good but I thought he was better in other movies, it felt like he wasn’t too sure which way to play it, whereas he normally goes the whole nine yards, bridging on the performance of his life. Both Lois and Clark are well played and fit nicely in the roles. Special Effects : good and a few great parts. However for a Superman movie I would have scripted in some more superman ’special power’ sequences, but maybe that’s because we’re accustomed to too much of it elsewhere…

It’s even down as a family movie at the washintonpost.com : “Wonderfully entertaining, occasionally profound, gorgeously designed new spin on Superman yarn is reverent, yet fresh, exploring loneliness of heroes, even echoing New Testament in non-sectarian ways”

Don’t click it, no really, don’t click it

After having recently posted about the joke-site “don’t press the red button” I was amused to discover an extremely serious experience/study over at www.dontclick.it. Yes Don’t Click It, spelled the geeky way, in a domain name way.

The site is not only an experience for the creators, it’s a real and novel experience for the visitors. When a trigger happy, sorry, clicker happy person comes across a site like this, it is pretty difficult to withhold the natural click instincts that have set in over the years.

As you can see here, there are little sequences that require the user to understand how to navigate the site without clicking. The sequences are very professional and well thought out. As they say in French ‘chapeau’ (I take my hat off to you !)…

Dont Click It Ex1

This screenshot shows how you may be asked to say whether you miss clicking :

Don't Click It Ex2

But it’s all a trick, and I got caught. They ask you whether you were frustrated, not being able to use the click. So you click to say yes, and, damn you get told off, because you previously were asked not to click ! Clever, clever, this is starting to remind me of the “don’t push the red button” joke (also in Flash) LOL ;). Must be a Flash sense of humour thing !

Don't Click It Ex3

The site is really well designed, the idea is brilliant and the final product is superb. Now go take a look and let’s see how good you are :)

Go take a look at www.dontclick.it

George Bush Moments : Top 10 moments

Just take a look and laugh along with Letterman’s compilation :

So when the Neo conservatives in Washington think he’s losing it should the rest of us that despise what he is doing to the image of the US or didn’t even vote for him, be worried !?

When will this be taken seriously ?

I have spent at least five hours recently, over the phone and on site, fixing computers that have been infected, not by viruses because I have got family and friends to install antivirus software like NOD32, but by spyware !

Annoying pop-up messages that often sound scary to novices, “You have been infected by spyware” “you must download this software”… And they are real pains to get rid of. You either have to install Spyware removal software, that have twice in my experience crashed the computer, or manually search and destroy (sorry remove) !

I just don’t understand, like with Spam, why there isn’t more done against people that advertise through this medium. A practice that can also result in seriously damage people’s lives when hackers take advantage of this to take the issue one step further…

Ads can be served to you by reputable web sites, that are unaware of the malicious intent behind the spyware installing companies, engaging in this type of business. Ads like these suddenly pop-up on your computer sometimes before you have even typed anything in the browser :

ClickSpring Ad Example

An article at the washingtonpost.com’s Security Fix discusses a recent spyware campaign and does a great initial job of researching the people behind the so called DeckOutYourDeck ad. This extract explains how the iDefense analyst Michael La Pilla followed as far as possible the security flaw that comes from the images in the Windows Metafile format :

Using software that captures and analyzes Web traffic, La Pilla found that the installation program contacted a Russian-language Web server in Turkey that tracks how many times the program was installed, presumably because most of this adware is installed by third parties who get paid for each installation. The data there indicate that the adware was installed on 1.07 million computers, La Pilla said, adding that all seven of the Internet addresses contacted by the downloader Trojan appear to be inactive at this time.

News is new for 36 hours…

An article in the New York Times covers a study by Albert-László Barabási of the University of Notre Dame called “The Dynamics of Information Access on the Web,”. The study concludes that an article once published will generally be read by half the total readership it will get within 36 hours…

This has supposedly surprised many who thought that the online articles had a far shorter life expectancy. Obviously we all look at this in retrospect, but I think that most people don’t have the time to jump on articles the moment they are published. Doubled by the fact that life as we know it, hectic and often full of surprises doesn’t always allow for a so tightly scheduled reading of online newspapers.