Avoid Choregraphe dropping connection to NAO when running in a VM

The easiest way to provide a defined work environment when organising a Hackathon around the NAO robot is to prepare a Virtual Machine with all software preinstalled (Choregraphe, git, documentation, Python, etc.). Personally, I use Mint Linux  running in a Virtual Box (Ubuntu gives me this bad Google/Facebook feeling).

While installing Choregraphe is easy, you will quickly get blocked by the repeated disconnection of Choregraphe from NAO.

Normally, this indicates a firewall problem, but neither deactivating the firewall with “sudo ufw disable“, nor emptying the iptables defaulting it to “all open” with “sudo iptables -F“, nor explicitly defining “all open” rules with “sudo iptables -P INPUT ACCEPT / sudo iptables -P OUTPUT ACCEPT / sudo iptables -P FORWARD ACCEPT” helps preventing the disconnections.

Still, the reason is a port blocking problem. While Choregraphe is able to connect to a target outside the VM’s host operating systems, inbounding connections reaching the host systems are not reaching the VM’s guest system.

This leads us to the easy solution: defining a port forward rule from the host OS to the guest VM.

In Virtual Box, this is done via the VirtualBox main menu “Devices”, “Network”, “Network Setting”, Adapter 1, [Port Forwarding]. Here, we add the Choregraphe’s main ports (54010-540nn, depending how many instances you have running) and the most important: the NAOqi port 9559.

If you are not sure about the ports, simply display the debug log files in Choregraphe to make the concerned ports visible (see screenshot above).

Once the port forwarding confirmed, the connection with the NAO root should be stable, without even restarting the VM.

Jake Appelbaum reads his Homeland afterword

The net activists Aaron Swartz (RIP) and Jacob Appelbaum contributed to Cory Doctorow‘s book Homeland by writing an afterword on freedom and all-present surveillance. Now, Jacob’s text has been recorded as part of the audio book release and it has been published by Cory Doctorow on his blog.

Just take 6 minutes of your time and listen to what he had to say. I provide the Alec Empire‘s vocoder mix, which simply sounds mega cool :-) The original is available on Cory’s blog post.

More audio extracts (read by Noah Swartz and Wil Wheaton) are available here: http://craphound.com/homeland/

License: Copyright CorDoc-Co, Ltd (UK), 2013.;\\ License: Creative Commons Attribution-NonCommercial-NoDerivs 3.0

.

Afterword by Jacob Appelbaum, Wikileaks

“Utopia is impossible; everyone who isn’t a utopian is a shmuck.”

Cory asked someone to write to the children of the newest generation and to say something to inspire them. To write something that would encourage them to take up the cause of bettering the world. That’s you or someone you love – when you’re finished, please pass this book on to the person who needs it most.

Everything good in the world comes from the efforts of people who came before us. Every minute that we are able to enjoy in a society that is not ruled by senseless violence is a minute given to us by the hard work of people who dedicated their lives for something better. Every person we meet is carrying his own burdens. Each person is the center of her own universe. There is so much left to be done, so many injustices to right, so much suffering to relieve, so many beautiful moments to be lived, an endless amount of knowledge to uncover. Many secrets of the universe wait to be uncovered.

The deck from which our hands are dealt need not be stacked against us; it is possible to create societal structures that are just and capable of reasoned compassion for everyone. It is possible to change the very nature of our lives. It is possible to redesign the entire deck, to change the very face and count of the cards, to rewrite the rules and to create different outcomes.

We live in the golden era of surveillance; every phone is designed to be tapped, the Internet passes through snooping equipment of agencies that are so vast and unaccountable that we hardly know their bounds. Corporations are forced (though some are willing enough!) to hand over our data and data of those whom we love. Our lives are ruled by networks and yet those networks are not ruled by our consent. These networks keep us hooked up but it is not without costs that they keep us hooked together. The businesses, the governments, and the individuals that power those networks are incentivized to spy, to betray and to do it silently. The architecture of the very systems produces these outcomes.

This is tyranny.

The architecture of our systems and of our networks is not the product of nature but rather the product of imperfect humans, some with the best of intentions. There is no one naturally fit to survive in these unnatural systems, there are some who are lucky, others who have adapted.

This letter to you, from your perhaps recent past, was written with Free Software written as a labor of love by someone who wished to help the children of Uganda while flying over an expansive ocean at difficult to understand heights, it was composed while running under a kernel written by scores of people across every national line, across every racial, sexual and gender line by a socially and politically agnostic engineer, it was sent through multiple anonymity networks built by countless volunteers acting in solidarity through mutual aid and it was received by an author who published it for a purpose.

What is the common purpose of all of these people? It is for the whole of our efforts to be more than the sum of our parts — this creates a surplus for you — to give breathing room to others, so that they may take the torch of knowledge, of reason, of justice, of truth telling, of sunlight — to the next step, wherever it may lead us.

There was a time when there were no drone killings, societies have existed without armed policemen, where peace is not only possible but actually a steady state, where mass surveillance was technically and socially infeasible, where fair and evenhanded trials by impartial juries were available for everyone, where fear of identification and arrest was not the norm but the exception. That time was less than a generation ago and much more has been lost in the transition from one generation to the next.

It’s up to you to bring those things back to our planet. You can do this with little more than cooperation, the Internet, cryptography, and willingness. You might do this alone or you might do it in a group; you might contribute as a solitary person or as one of many. Writing Free Software empowers every person, without exception, to control the machines that fill our lives. Building free and open hardware empowers every person, without exception, to construct new machines to free us from being slaves to machines that control us. Using free and open systems allows us to construct a new basis by which we may once again understand as a whole, the systems by which we govern ourselves.

We are on the edge of regaining our autonomy, of ending total state surveillance, of uncovering and holding accountable those who commit crimes in our names without our informed consent, of resuming free travel without arbitrary or unfair restriction. We’re on the verge of ensuring that every person, not one human excluded, has the right to read and the right to speak. Without exception.

It’s easy to feel hopeless in the face of the difficult issues that we face everyday — how might one person effectively resist anything so much larger than herself? Once we stop acting alone, we have a chance for positive change. To protest is to stop and say that you object, to resist is to stop others from going along without thinking and to build alternatives is to give everyone new choices. Omission and commission are the yin and yang of personal agency.

What if you could travel back through time and help Daniel Ellsberg leak the Pentagon papers? Would you take the actions required, would you risk your life to end the war? For many it is easy to answer positively and then think nothing of the actual struggles, the real risk or the uncertainty provided without historical hindsight. For others, it’s easy to say no and to think of nothing beyond oneself.

But what if you didn’t need to travel back through time?

There are new Pentagon Papers just waiting to be leaked; there are new wars to end, new injustices to make right, fresh uncertainty that seems daunting where success seems impossible, new alternatives need to be constructed, old values and concepts of justice need to be preserved in the face of powerful people who pervert the rule of law for their own benefit.

Be the trouble you want to see in the world, above nationalism, above so-called patriotism, above and beyond fear and make it count for the betterment of the planet. Legal and illegal are not the same as right and wrong — do what is right and never give up the fight.

This is one idea out of many that can help you and your friends free our planet from the tyranny that surrounds us all. It’s up to you now – go create something beautiful and help others to do the same. Happy hacking,

Anonymous
000000/002012/00/00/00:00:00:00

Free Java at FOSDEM 2014

FOSDEM is approaching quickly. The 1st and 2nd of February is the big weekend! This year there is again the Free Java dev room (K.4.201), unfortunately only for one day and not two like the other years.

Despite of this fact, some of the major players in the Java and Free Java (OpenJDK) world will be present, talking and discussion, and of course handshaking :) Starring: Mark Reinhold (Chief Architect, Java Platform Group, Oracle), Andrew Haley (Member of the OpenJDK Governing Board, Red Hat), Roman Kennke, Ian Rogers (Google), Robert Lougher (maker of the FOSS JamVM), Charles Nutter (JRuby), Mani Sarkar (AdoptAnOpenJDK and AdoptAJSR evangelist), Dalibor Topic (OpenJDK board, Oracle), Mario Torre, Doug Lea (Executive Committee JCP, Book author) and more!

Btw, the FOSDEM team is still looking for volunteers. If you are fancy to spend a hour or two helping out, have a look here: https://volunteers.fosdem.org.

Why privacy matters?

Want to be impressed? Then have a look at this:

1) Alessandro Acquisti at TED (EN)

Picture + Algorithm = ?

http://www.ted.com/speakers/alessandro_acquisti.html

 

2) Was geht mich denn Datenschutz an? – Jung & Naiv: Folge 103 (DE)

Mit dem Europaabgeordneten der Grünen, Jan Philipp Albrecht. Warum ist Privacy so wichtig und warum brauchen wir eine EU-weite Regelung.

https://www.facebook.com/jungundnaiv

http://www.janalbrecht.eu

TEDx Brussels 11.2013 – How the NSA betrayed the world’s trust — Time to act

Recent events have highlighted, underlined and bolded the fact that the United States is performing blanket surveillance on any foreigner whose data passes through an American entity — whether they are suspected of wrongdoing or not. This means that, essentially, every international user of the internet is being watched, says Mikko Hypponen.

Some quotes:

  • We are brutally honest with search engines. The search engines know more about you than your family.
  • If there is no right to privacy, there can be no true freedom of expression and opinion, and therefore no effective democracy. (Ms Dilma Roussef)
  • The United States is right now treating the Internet as it would be treating one of its colonies. So we are back to the age of colonization, and we, the foreign users of the Internet, we should think about Americans as our masters. (Marcus Ranum)
  • The solution is Open Source ../.. one country only has to make a small wave, but those small waves together become a tide, and the tide will lift all the boats up at the same time, and the tide we will build with secure, free, open-source systems, will become the tide that will lift all of us up and above the surveillance state. (Haroon Meer)

http://mikko.hypponen.com/

https://twitter.com/mikko

Happy New Year 1984!

Devoxx4Kids Belgium 2013

D4K BE ’13 is a wrap. During the two weekends of the 6th and the 12th of October, the team held one session in French and one in Dutch.

This year, NAO was not only entertainer, but actually there to work. Finally, we had workshops about NAO programming, Lego Mindstorms, Scratch, Greenfoot and Arduino. Both events were booked with around 45 kids.

Pictures can be found here:

A huge special thank you goes to Daniel de Luca, which coordinated the project this year! Amazing work!

http://devoxx4kids.org/ – Join us!

NAO at the Kids Entertainment Fair Anima’Art 2013

The Anima’Art fair happened September the 14th and 15th 2013 in Charleroi, Belgium.

The theme was “Kid Entertainment” and the different art forms around this topic. Since the organisers are good friends of mine, we were present with NAO.

Needless to say that the little one was an eye catcher for both kids and adults and … *sight* … NAO dancing the Gangnam Style always brought a smile on the audiences face :)

Personally, I’m very happy about the fact that we certainly inspired a lot of kids, which are normally not exposed to technology by geeky parents, to get interested in robotics. If only one of these kids would study robotics and build the robots of our future, I would count this weekend as a huge personal success.

Both organisers trying to look smart :)

NAO gets its own balloon pet!

NAO gets its own balloon pet!

Show time!

Show time!

NAO get adopted by his new friends!

NAO get adopted by his new friends!

Photo sessions everywhere...

Photo sessions everywhere…

Balloon Saloon

Balloon Saloon

NAO's new fall protection system: an air bag!

NAO’s new fall protection system: an air bag!

Devoxx 4 Kids project wins Duke Choice Award 2013

In conjunction with JavaOne San Francisco 2013, Oracle and the Java Community did recognize Devoxx4Kids for their creative and innovative uses of Java technology and awarded the entire Devoxx4Kids team, all over the world, with a Duke’s Choice Award 2013. Congratulations to all D4K activists world-wide.




JavaOne 2013 Community Keynote where Stephan presenting Devoxx4Kids: (see it starting around the 10:00 mark)


NAO sur Seine – NAO Hackathon 2013

During Futur en Seine, a ten days festival presenting the latest digital innovations, a NAO hackathon was organized by the Parisian user group NAO sur Seine, who decided to bring NAO developers and fans together to develop a multitude of apps.

You can find a detailed resumé on Aldebaran Robotic’s blog: https://community.aldebaran-robotics.com/blog/2013/6/2013-nao-sur-seine-hackathon-review/

Project demonstrations

And … Action!

Inspiring discussions with Aldebaran Robotics developers

More NAOs waiting for things to do…

To complete, I add more interesting pictures from the Futur en Seine technology exposition. A lot of cool gadgets so see!

Not only NAO can play soccer :)

Not only NAO can play soccer :)

Modern dance performance with NAO

Modern dance performance with NAO

Self-made 3D printer in action

Self-made 3D printer in action

Self-made 3D printer under construction

Self-made 3D printer under construction

More cool toys

More cool toys

Imifos at DEVOXX Paris 2013

C’est fini! The second edition of the DEVOXX France conference is bygone and what remains are souvenirs of a great time in Paris.

Meeting old friends and making new acquaintances, discover new and fascinating stuff in crowded conference rooms and passionate discussions during evening lunches, that was the conference for me. According to Nicolas, DEVOXX France 2013 was also “1478 badges, 180 speakers, a team of 18 volunteers, 9 audio-video technicians and globally 99% of satisfied attendees“.

Let me present a retrospective of the conference – in pictures, of course, telling more than thousands words…

Just a small regret that I have…. the fact that I missed DEVOXX UK this year. As member of the Paper Committee I was of course invited, but I opted for the full DEVOXX France version this time. Next year, I’ll very definitively prefer a 50/50 :-)

Enjoy!

The opening keynote… Paper Committee in the background, the DEVOXX France team and Antonio Gonclaves in pink!

Stephan Janssen, Dad of the DEVOXX family, at the opening keynote.

Martin Odersky, the dad of SCALA and Java Generics, at the opening keynote on “Objects and functions, conflict without a cause?”

As well at the opening keynote: Clarisse Herrenschmidt about “L’histoire des écritures”… starting with the historical origins of signs far in the past, she concluded with Alan Turing – that’s where “our” digital history begins… She received a standing-ovation!

“Winter is coming” by Aurélien Pelletier and Didier Girard. A IMHO rather flat rant on the Java Enterprise world. Could have been a great talk with a bit more finesse.

“Real-time Hadoop: Do it right now with Hadoop and Storm” by Ted Dunning. Machine learning principles explained for Dummies (like me :)

Caffeine bombs…

“Creating Games with WebGL and Three.js” by James Williams.

“Animez vos pages HTML5: un tour d’horizon complet des techniques d’animation en HTML5″ by Martin Gorner. One of the most stunning talks. Check the presentation out at this place – all HTML5 yeah!

I just took a picture through the open door, don’t know what this talk was about :)

“Domotique Low Cost, façon DIY” by Laurent Huet.

“Normal ou décaféiné?” by Alexis Moussine-pouchkine at the 2nd day keynote.

The Devoxx crowd at the 2nd day keynote.

Nicolas Martignole aka Le Touilleur Express, Devoxx France core team member, and Stephan “Dad” Janssen. A good example of “Synergy” – the interaction of multiple elements to produce an effect greater than their sum :)

Devoxx4Kids France BOF by the two organisers Audrey Neveu and Claude Falguière, having a life conference call with the Devoxx4Kids team in Belgium, here Daniel De Luca.

The French Java Duchesses in Action!

Thierry Wasylczenko and Jim Weaver, Oracle JavaFX evangelist, in an interview about, well, JavaFX.

Thierry Wasylczenko on JavaFX…

Stephan Janssen and Yolande Poirier, Oracle Community Outreach Manager, warming up for an interview session :)

Oracles interview session, a more artistic essay :)

“Java EE 7 en Détail” by David Delabassee, the last french speaking Oracle evangelist :) And Arun Gupta just sitting beside me *thumbs up*.

“JavaScript pour les développeurs Java: quels sont les pièges à éviter?” by Florian Boulay. Unfortunately only a quickie. A great session and a must see for all Java web developers around!

Mumpf…

The NAO robot controlled by a LEAP device prototype! Fun :-)

Devoxxians over and over…

Even more Devoxxians…

Most important: 0xCOFFEE!

*thumbs up*

SonarSouce on Sonar…

“Developing Modern Web Apps With Backbone.js” by Sylvain Zimmer, (co-)founder of Jamendo, Joshfire, TEDxParis and the dotJS conference. A real JavaScript genious!

“AngularJS, ou le futur du développement Web” by Thierry Chatel, the founder of the famous Frangular blog.

Thierry Chatel presenting the earliest AngularJS homepage from 2009, at this time in a nerdy geocities look :)

Jean-Laurent De Morlhon and Pierre Gayvallet interviewed by the Programatoo crew just before their session “Le fantome, le zombie et testacular, panorama des outils de tests pour application web moderne.”

And last but not least, the life Cast Codeurs session concluding Devoxx France edition 2013 with a lot of beer and fun!

After the conference is before the conference! See you next year!

More pictures (in hi-res):