ghstyle.de
events, multimedia, webdesign, programming, traveling, volunteering, writing, books, politics,…

Mrz
03

Mostly developed in 2o11 already, version 0.8a of the parsefile project is online now. In 2o11, I also programmed two additional algorithms for the project, parsing the massive Wikileaks leak about the Iraq war and showing unit movements on a map. Finally, I want to share how to do this.

What we need

For parsing, we need the CSV data, of course. It’s the Wikileaks CSV file (iraq-war-diary-redacted.csv), which can be found e.g. on The Pirate Bay (no link provided here).

For visualizing, we need the Iraq map as published by the U.S. Government in 2003, in the resolution 2000×2161 pixels (if it’s not in the right resolution, make sure to resize it before you use it!).

On the software side, we need the parsefile project, of course, and these two additional algorithms, programmed by me: war_units and war_units_iraq. The algorithm package (including source code) can be found here (tar.gz, 45,2 KB) - just copy all of the included files into the “parsefile” directory, using the same folder structure as created inside the package.

Parsing the CSV data

The algorithm “war_units” will be used to parse the original CSV data and create two output files, one for the movements (war_units_moves.txt) and one for the list of the units (war_units_table.txt).

Make sure you added the “war_units” algorithm and downloaded the CSV data to put it into the “input” folder of parsefile. Rename it into “iraq.csv”.

Start parsefile and type the following commands:

addfile input/iraq.csv

addalgo war_units

set war_units.filter=5

start

The CSV file will be parsed and the two output files will be created in the “ourput” folder. The filter has been set to only parse units with at least 5 actions. Warning: Parsing will take a very long time!

Visualizing the movement data

The algorithm “war_units_iraq” uses these two files to show a map with the visualized unit movements. Make sure you added the “war_units_iraq” algorithm and parsed the CSV file. Now start “parsefile” and run the following commands:

addalgo war_units_iraq

start

After a while sorting the data, the interactive map will be shown. On the right side you can select one of the parsed units and on the map the movement profile of the selected unit will be shown.

Screenshots

starting the parsing

(starting the parsing)

parsing the data

(parsing the data)

visualised data

(visualized data on map)

Jan
18

It’s the day of online protest agains SOPA/PIPA/ACTA and similar censorship initiatives world wide. The global movement of Pirate Parties is joining Wikipedia (English version) and others in blacking out their sites. Here’s a list of official pirate party webpages, participating in the #blackout:

Pirate Parties International (PPI): http://www.pp-international.net/
Argentinia: http://www.partidopirata.com.ar/
Australia: http://pirateparty.org.au/
Belgium: http://pirateparty.be/
Brazil: http://partidopirata.org/
Catalonia: http://grumets.pirata.cat/
Czech Republic: http://www.pirati.cz/
France: http://www.partipirate.org/
Italy: http://www.partito-pirata.it/
Kazakhstan: http://pirateparty.kz/
Luxemburg: http://piratepartei.lu/
Netherlands: http://piratenpartij.nl/
New Zealand: http://pirateparty.org.nz/
Romania: http://www.partidulpirat.ro/
Russia: http://pirate-party.ru/
Serbia: http://www.piratskapartija.com/
Slovakia: http://www.piratskastrana.sk
Spain: https://www.partidopirata.es/
Sweden: http://www.piratpartiet.se/
Switzerland: http://www.piratenpartei.ch/
United Kingdom: https://www.pirateparty.org.uk/

U.S.
Florida: http://fl.pirate.is/
Massachusetts: http://www.masspirates.org
Georgia: http://www.piratepartyofgeorgia.org/

Germany
Germany: http://www.piratenpartei.de/
Baden-Württemberg: http://www.piratenpartei-bw.de/
Bavaria
> Augsburg: http://piraten-augsburg.de/
> Swabia: http://www.piraten-schwaben.de/
Berlin: http://berlin.piratenpartei.de/
Brandenburg: http://www.piratenbrandenburg.de/
Bremen & Bremerhaven: http://bremen.piratenpartei.de/
Hamburg: http://www.piratenpartei-hamburg.de/
Hesse: http://www.piratenpartei-hessen.de/
Mecklenburg-Vorpommern: http://piratenpartei-mv.de/
Lower Saxony: http://www.piratenpartei-niedersachsen.de/
North Rhine-Westphalia: http://piratenpartei-nrw.de/
> Aachen: http://www.piratenpartei-aachen.de/
> Bergisches Land: http://www.piraten-bergisches-land.de/
> Bonn: http://piratenpartei-bonn.de/
> Dortmund: http://www.piratenpartei-dortmund.de/
Rhineland-Palatinate: http://www.piraten-rlp.de/
Saarland: http://saar.piratenpartei.de
Saxony: http://www.piraten-sachsen.de/
> Chemnitz: http://www.piraten-chemnitz.de/
Schleswig-Holstein: http://www.piratenpartei-sh.de/
Thuringia: http://www.piraten-thueringen.de/
> Erfurt: http://www.piraten-erfurt.de
> Jena: jena.piraten-thueringen.de/
and many more…

Okt
27

The politicians, police and other officials - once again - gave a shit about the German constitution and intruded into private computers, even making them unsafe with their own, very badly programmed, trojan horse software.

The only political party which is really outraged about it, is the German Pirate Party (Piratenpartei), which got 8.9 percent in the Berlin state elections, and is on its way to get seats in the national parliament in the next federal election, which is - unfortunately - not until 2013.

I helped to write their press release for the current issue of the state trojan (in German).

It’s time to change politics once and for all - by bringing more pirate parties into parliament. More information about the international pirate party movement (PPI).

Okt
27

The parsefile project is still in alpha state, missing any online functionality, but you can already use it offline, e.g. for counting strings inside a file. For more information see the “algos/count_strings_readme.txt” inside the complete package. It can also parse binary files now, see the “readme” file for the binary mode.

The beta version with online functionality will follow some time, when I’ve got internet again. Then it will get really useful, even social network compatibility (e.g. parsing pages inside your facebook account) is planned.

Sep
14

Because of my volunteer life in Bulgaria (and without own internet) I wasn’t able to update this blog over the last months. But in the mean time I started to program a small but flexible tool for the parsing of text files, e.g. HTML files.

Check out the parsefile project website for more information.

Dez
03

How to access Wikileaks while it’s under attack

Because of the current events in the U.S., France and worldwide, here are some infos about mirrors and domains of the whistle-blowing website Wikileaks:

French IP
http://213.251.145.96/
(Note: The French government already threatened to remove all content hosted by Wikileaks in France.)

Swedish IP
http://46.59.1.2/

Additional mirror
http://213.251.145.96.nyud.net/ (changing hosting countries)

www.mein-parteibuch.org.nyud.net/cablegate/ (cablegate releases only, seems to have problems with the browsing)

Domains
They following domains are usually using the two IPs mentioned above.
www.wikileaks.org (official, not available at the moment)
sunshinepress.org (official)
www.wikileaks.de
www.wikileaks.ch (by the Swiss Pirate Party, NA at the moment)
www.wikileaks.nl
www.wikileaks.fi
www.wikileaks.eu
www.wikileaks.is
wikileaks.piratenpartei.de (by the German Pirate Party)
ljsf.org

The current cables can also be found at the Guardian’s website, hosted in the United Kingdom. You can also search the cables on cablesearch.org, and on elpais.com (Spanish website), both hosted in Germany.

At the Anti War Blog, US-American Daniel Ellsberg, famous for leaking the Pentagon Papers, called for a boycott of book-seller Amazon, because it removed the Wikileaks content in an overnight action from their servers.

Keep spreading the truth and fighting for the freedom of opinion!

Nov
02

In the light of recent events I collected some links for learning Bulgarian online (for free, of course). You can find them there:

Learning Bulgarian online for free / Online kostenlos Bulgarisch lernen

I’m also working on my own bilingual guide to the Bulgarian language (in German and English), but this will take some time…

Aug
30

For my time in Bulgaria, I created my first Drupal page, which was a very interesting experience, even when it took some time.

There will be a German blog about life in Bulgaria at bg.ghstyle.de.

I also added a Flattr connection to both blogs.

Flattr is a new micropayement service for Internet users. I really recommend it, because it makes it very easy to give everybody, who publishes content on the web that you really like, a little bit money.

It works this way: Every month you will pay an amount between 2 and 100 euro. When you are surfing around the web, there are Flattr! buttons everywhere, getting more every day.

You click on the Flattr buttons of stuff you like (you “flattr it”) and in the end of the month, your monthly money will be divided between all the things you flattred for.

Flattr keeps 10% of your money for itself, but this sounds quite fair to me. Of course, you can create Flattr buttons for your own stuff, too! So start registering now at Flattr!

Aug
29

I’m working on an small overview of possible legal problems and laws web masters and hosters have to face in different countries worldwide.

Depending on my time, it will grow a little bit every few months.

Feel free to add your own experience, tips and opinions by using the feedback form provided!

Aug
27

“Freedom instead of Fear!”, a large demonstration for the protection of personal rights and against the totalitarianism movement inside many governments worldwide, is taking place in Berlin on September 11th, 2010 again.

More information: www.freiheitstattangst.de (German)



using Wordpress with SunBurn Theme by Jim Whimpey