Skip to content

Updates

Drones for good, pirates in the sky

You’re enjoying a sunny day in the park with some friends. You get out your smart phone to find that piece of music your friends really should hear, and all of a sudden, a flock of colourful mini helicopters appears out of nowhere, and perform a gracious dance in the sky above you while the music plays. Then they disappear again.

Sounds futuristic? Yeah, even still looked futuristic when I saw this at the GLOW Festival in Eindhoven, last November:

Science fiction is quickly loosing its fiction part and is becoming reality. The Electronic Countermeasures installation was a proof of concept of the technology, but now the Pirate Bay is preparing for the next step: using these flying robots to build a “low orbit network of server drones”. Let the robots in the sky help you share, independent of providers and regulators.

The military are building drones for “ Non-cooperative, Biometric Tagging, Tracking, facial recognition to follow people in a crowd, so why not use the same tools for to monitor police operations in demonstrations?

http://youtu.be/9vOor1xmVDs

Although still relatively expensive, the drones are a nice addition to the $100 Satellites, using balloons and kites to make maps and asses situations, for instance in the aftermath of the Deepwater Horizon disaster, or working with communities in Peru:

ed7e0b78fe65cad28d00841bacf4b882_MD5.jpg

Lets build Drones For Good!

Deploying a website with lftp

a3e419a79945282c3a90deb03218793f_MD5.png There still are web hosting providers offering only ftp access to your website files. No fun if you’re used to version control systems and shell access.

I had to deal with that situation, and used Linux’s strength: combining several small tools.

I have a laptop running Ubuntu, a website in WordPress, git for version control, and use Eclipse as my development environment. I first looked at Aptana and other options for Eclipse, but I wanted a more light-weight solution that I could also use outside Eclipse.

lftp

Ubuntu comes with lftp, an ftp client that can be scripted and has a “mirror” command to basically get a target location synchronised to a source.

(It actually can do a lot more, and work over http or bittorrent too, but that’s outside the scope of this post.)

.gitignore

Not all files need to be uploaded. Typically, the.gitignore file already has a list of files and directories that are not under version control and wouldn’t go live when using git to update a server.

The lftp mirror command lets you exclude files and directories too, but curiously has no option to read a list of exclusions from a file. Martin Boze wrote how he fixed that, by using sed and tr.

scripting

I didn’t want to write a series of lftp commands, but instead would prefer to connect once, then run a series of transfers, inside a single script.

Specifically for WordPress, I also like to have a local mirror of images and documents uploaded on the live site.

It is possible use lftp as the shell to run a script, but unfortunately, it’s not possible to use environment variables or Martin’s “sed” trick in such scripts.

But it’s not to hard to do using the Heredoc syntax.

git branches

I use branches in git to separate my development version from a preview and a live version. By adapting the upload script in each branch, I can simply call “deploy” to upload the files to the right place.

#!/bin/bash
lftp <<EOF
user ftp-username ftp-password
open ftp.provider.com

# "mirror" from local copy to server, use .gitignore to excude files (sed, tr), delete remote files if needed
mirror -R -e -v -x \.git.+ -x scripts \`sed 's/^/-X /' .gitignore | tr '\n' ' '\` /var/www/dev_sites/website.org /www

# wordpress-specific
# "mirror" uploaded images on live back to local, don't delete local files if not on remote
mirror -v /www/wp-content/uploads/ /var/www/dev_sites/website.org/wp-content/uploads/
EOF

The only thing left to desire is a way to speed up ftp deployment…

Captchas and crowdsourcing

What if… you can help 100 million people to learn a new language, and let them help translate the web in return?

TEDxCMU — Luis von Ahn — Duolingo: The Next Chapter in Human Computation (by TEDxTalks)

Newsletter February 2012

In this newsletter:

  • a wrap-up of the past Open Tea and announcement of the next one.
  • an update on international aid data networking
  • current developments on the IATI NGO working group

Open Tea

On December the 8th the Open for Change network had its first Open Tea at the Amlab in Amterdam, to look back at the past year and discuss where we will be heading in 2012.

Mark Tiele Westra from Akvo presented openaid.nl, an initiative that makes open data on Dutch development aid visualized and searchable.
Marijn Rijken from TNO informed  and invited us to participate on a research project on the effects of open data for the development sector.

We discussed the organization of the Open for Change network. Evident in the discussion was the important role the Open for Change network holds in connecting, exchanging and supporting open data initiatives and knowledge in the development sector. How this role should be filled in is something we are working on in 2012.

We want to thank the 1%CLUB, Akvo and TextToChange for hosting the open tea in the gorgeous Amlab, and hope to see you there again at the next Open Tea: March 8th, 15:00- 17:00 and after that Open drinks!

International networking

At various meet-ups at conferences in 2011, we discussed ways to strengthen the international network of open aid data activists.

In November, we submitted a proposal for a European Aid Data Network to the EuropeAid budget line of the European Commission, led by AidInfo in the UK, with Partos (NL), FORS (CZ), ACEP (PT), IGO (PL) and the Open Knowledge Foundation (UK). We hope to hear by early March whether we are invited to submit a full proposal.

In the meantime, AidInfo has asked Claudia Schwegmann of OpenAid.de to continue building out this emerging European network. We had a first conference call last Tuesday, and plan to have the next one on March 2nd.

To create joint channels of communication, we invite you all to:

  1. Join the open-development mailing list to discuss international open aid data: http://lists.okfn.org/mailman/listinfo/open-development
  2. Track our guide of open aid data-related events, and submit yours: http://lanyrd.com/guides/open-aid-data/

IATI and NGOs

The IATI NGO Working Group is a CSO-led forum that was created with the approval of the IATI Steering Committee to discuss the application of the IATI Standards to the work of CSOs and to present practical proposals on CSO-specific approaches to publication of IATI compatible data.

The CSO Working Group is co-chaired by Beris Gwynne, representing the International NGO Charter of Accountability Company, and Brian Tomlinson, representing the CSO Open Forum.

Both Partos and Open for Change are represented in the group, and we’re aiming to organise an “intervision meeting” for Dutch NGOs in March.

The next peer reference meeting is planned for beginning of March. The first general consultation will hopefully take place in April 2012. Read more on our blog!

Got news?

If you want to bring in subjects or interesting news for next newsletter, you are more than welcome: send your contributions to info@openforchange.info