Hi5 social network – a trick how to uncheck all your contacts from thirdparty address book

Hello!

Just got an invitation to hi5 social network and accepted it.

After that I decided to find which of my friends are already there and imported all contacts from GMail address book.

Threre were more than 500 contacts but only 30 were already registered in hi5.

And, the worst news, ALL of them were checked! This is unfair because there no any possibility to uncheck them all.

To uncheck them all you need to do the following steps (assume that you use Firefox with Firebug addon):

1. Select “manually send invitations” (instead of automatically sending) and you’ll see the list of all your contacts.

2. Take a look in hi5 html page source code and and make sure they are using JQuery there.

3. Open console in Firebug and execute the following code:


$("INPUT[type='checkbox']").attr('checked', false)

All checkboxes became unchecked.

4. Manually check all necessary contacts and press submit.

This is minus for hi5 developers – there MUST be a possibility to uncheck all contacts!

From Symfony to Grails!

Few weeks ago I started learning Grails framework.

For me this is new world but it smells like Symfony sometimes – almost the same approaches with domain (Symfony: model) management, CRUD generator (Symfony: Admin generator) here excites as much as in Symfony.

“Leaving” PHP world for Groovy-Grails-Java was quite hard on start and I still stuck in researches. But I have smart enough guru in the stretched hand distance, please let me introduce Alex, The Grails Guru.

If you are Symfony developer you’d love this framework. You’ll see there similar things you’ve used to use in Symfony:

  • mvc: domain classes + controller classes + view in GSP pages
  • routing: you can define any route rule in a special routing construction
  • configuration: there no any YAML configuration files but .properties files instead
  • partials: are also present in Grails like includes
  • and so on, I can’t remember on a spot. I’ll be adding this list with new features.

BUT started developing Grails applications you’ll get all Java development advantages:

  • Continuous integration development
  • Maven 2, dependencies management (management of so many libraries becomes easiest task)
  • Reliable, useful  and fast IDE IntelliJ IDEA (you can try it for 30 days)
  • Professional TDD (saying the truth, not all PHP developers using it, but in Java world things become better)

On other hand you can try work with Grails on Ubuntu Linux, it is faster then Windows machines.

I’ll be posting my achievements and research results here while learning this amazing tool.