Thomas M. Alisi home of Grudelsud

23Jun/110

Range Rover Evoque Interactive Installation – phases and pictures

So the Range Rover Evoque "Sounds of the City" project went live in Madrid at the beginning of June, and it has been a long and interesting path that eventually lead to a red carpet in Kensington, London.

range rover evoque in kensington - red carpet

I was involved as interactive producer for the installation and microsite, working with the amazing guys at The Rumpus Room for the agency The Brooklyn Brothers. We designed, developed and built all the interaction for the interactive installation and relative microsite, then shipped and attended to the events in Madrid and London with our buddies at Connect Live, who took care of the physical build of the plinth and all the logistic.

Below is the story of the installation development and deliver through a sequence of images.

17Jun/110

Anonymous functions with PHP / Eclipse

Eclipse is a great IDE, I don't know how could I live without it, but when it comes to PHP development, the PDT plugin shows some flaws unfortunately. It may happen that you need to declare an anonymous function and get a "compiler" error, as shown below:

php fake errors in eclipse pdt

just ignore it, the code is working perfectly well, so declaring an anonymous function will not give any problem, you just need to cope with the little red error message until the end of the project (or declare the callback as an identified function).

Below the code to declare the inner function for array_filter:

foreach( $sem_clusters as $sem_cluster ) {
	$terms = explode(';', preg_replace('/\"/', '', $sem_cluster->terms_meta));
	$terms = array_filter( $terms, function($value) { return strlen($value) > 2; });
	$tf_idf = array_merge( $tf_idf, $terms );
}
Tagged as: No Comments