In the beginning of November I had the amazing opportunity to take part in the ATHENS programme, a program that brings together students from Europe’s leading Technical Universities for one week intensive courses on a variety of subjects.
For me that meant spending a week in Paris and attending a course on Information Extraction at Telecom ParisTech.
After a first meeting organized by our local coordinator at TUM and a trip to the airport the day before because of the flight attendants’ strike it was off to the airport for me. I happened to be on the same flight with three other students that study at TUM as well and with only a slight delay we made it to CISP Kellermann (a hostel in the south of Paris), that was gonna be our home in Paris for a week.
After unpacking my stuff, I walked around the neighborhood with a few fellow students when all of us started receiving phone calls and texts because of the ongoing terrorist attacks in Paris. Back at the CISP all of us had a lot of questions but no answers, so after convincing friends and family that we were safe we decided that there wasn’t much we could do on that day anyway so we called it a night.
Usually, the hosting university organizes tours and visits for the incoming students, but in our case those had to be cancelled, so we organized our own program for the weekend which consisted of prolonged walks around the city, a lot of good food and obscenely many group-selfies.
Back in 2009, the first website for Easy Feed Editor was at easy-feed-editor.bplaced.net. But since that URL is really long and not very trustworthy, I thought about getting a TLD: Now you have to remember that I was still a high school student back then and I didn’t want to waste any money on a proper domain for a project that might just live for a few more months.
So I kind of went the middle way and got a .tk-Domain. The advantage of those are that they are free. The deal however is that you need to renew your registration once a year or the domain will become available to everyone again.
Being busy with other stuff I forgot to do this last year. A few hours too late I noticed and tried to renew the registration, hoping the no one else had registered it already. Which luckily no one had. However the domain was now considered a Premium Domain and no longer available for free (probably due to having actual traffic). Continue reading .tk OR If you wait long enough, your free domain is free again→
Since I just came back from the Way of St. James (Jakobsweg), I thought I’d share some pictures with you. But don’t expect too much, it’s mostly landscape since I didn’t want to ask all my travel companions for their approval before uploading this.
Today I had a little too much free time on my hand, but didn’t want to start anything that I couldn’t finish before the start of my vacation on Monday. Since I know I will teach two tutorial groups for the intro course on databases at TUM next term, I decided to write a little program that might be helpful when it comes to learning about the canonical cover.
The problem appeared to be very mathematical, so I decided to do it in Haskell. The program itself is kind of boring: You enter a set of functional dependencies and get back the canonical cover. The only usecase I can think of is somebody trying to learn the algorithm and checking if their result is correct.
But writing it sure was a lot of fun! The source code is on Github, a binary for Linux is here.
What it does is detect left, right and middle clicks on a mouse that’s connected to a phone or tablet via Bluetooth or a USB OTG cable.
Or at least that’s what it does on most phones and tablets. On the Galaxy Note 10.1 however it doesn’t: It works fine for right clicks (if you keep in mind that this tablet maps them to the back-button even if you indicate you consumed the event and think of filtering out any back-buttons coming from the mouse in onKeyUp(…) ) and middle clicks (with the caveat that middle clicks map to the home button and will minimize your app).
For left clicks, however nothing happens. That’s odd. Well there must be another event that is fired than. ACTION_DOWN maybe? No. Turns out there is actually no event associated with a left click that gets passed to the onGenericMotionListener. At all. (The only events you get are ACTION_HOVER_MOVE and right/middle clicks).
The only way to find out if there was a left click is to use another method (like onTouch(…)) which is inconsistent at least and annoying if you need to debug an app and don’t have any device that behaves like this (like I did this week).
As I have been kind of busy with classes and some project work, I didn’t have that much time to update this blog. However, I am planning to write a longer article based on a 10 page report I did for a seminar on code quality as soon as the grading process is finished. (I don’t want to be accused of plagiarizing my own stuff.) It will very likely also include some samples of code of poor quality that I refactored in Easy Feed Editor a few days ago.
In the meanwhile, I leave you with this link to an article about “languages” that became Turing complete without anyone ever aiming for that. The one that surprised me the most was MediaWiki Templates…
During our stay in Texas, we did a short talk at the Innovation Underground together with Nils, our instructor.
Nils gave a general introduction to the Android Practical Course while we introduced the crowd to our project and
They uploaded that talk now, in case you want to have a look!
During the last few days I had the amazing opportunity to travel to Texas in the US for a project I have been doing together with Michele Bertoni – a fellow student who came to Munich from Italy for an Erasmus semester, Ryan Lindeman, Maithaa Alhousani, Chris Castro and Jose Contreras (all 4 students of Texas A&M University) and their project sponsors Gazoo Inc. and Texas Engineering Experiment Station.
The project involved the creation of an app and a hardware device. Without going too much into technical details, the vision is to be able to use any computer from remote from any middle-class Android smartphone or tablet. In order to do this, the user connects a hardware box to the HDMI and USB ports of the computer. This box that the American part of the team is developing then acts as a bridge between the app and the computer. While there is software that offers similar capabilities, with our solution there would be little to no complicated configuration before you can start using it.
In total, there were 5 of us traveling there: Nils Kannengießer, a PhD candidate at the Chair for Operating Systems at TUM in his last year who is the instructor for the Android Practical Course, Philipp Fent and Benjamin Sautermeister, two German students of the upcoming term of the course that will be working on a different project with Texas A&M University, and finally my teammate Michele and me.
I chose to take the cheapest flight possible that literally took me an hour in the wrong direction to Istanbul and then – after a stop-over of 2 hours – to Houston.
Having gone through an extremely tedious passport control in Istanbul before getting on the plane (one of the security men actually followed me onto the plane to look at my passport one last time) I arrived in Houston a few hours late and was greeted by all the other German students, our instructor and two of the American students.
After a drive of some one-and-half hours we arrived where Michele and me were staying: Thanks to the hospitality of Ryan’s parents we did not have to stay at a hotel but could stay privately instead.
I am currently migrating the webpage for Easy Feed Editor to a new domain (More on that some other time).
Since registration is apparently taking ages, I wanted to make sure that everything is properly set up on the webspaces (Sourceforge Project Web and Bplaced). However, I have mod_rewrite rules that redirect you to the proper 2nd-level domain if you enter subdomain.bplaced.net or subdomain.sourceforge.net:
So I can’t test anything until I turn all these rules off (One .htaccess per directory; No access to httpd.conf).
This linkdump does not really have any predominant topic but it consists mostly of stuff that I came across in the past few days, that I felt I should share. Most of it does not really fit into any particular category, but I am gonna go ahead and share it anyway: First a few links that you should skip if you don’t speak German because they are entirely about this language.
A video tutorial [~1:30h] about gender in German (der/die/das) that is really quite interesting. The author attempts to construct a gender machine that explains why certain nouns have a certain grammatical gender. [German only]
While we’re on the topic of language, there is really good blog that deals with neologisms and the way language is used to manipulate thought. The authors that are all affiliated with the Chaos Computer Club also do a podcast from time to time, that can be found on the same site. They are quite frequent speakers at the Chaos Communication Congress as well, for example Martin Haase with an in-depth analysis [~1h] of the digital agenda of the German Government. [German only]
Welcome back, dear English speaker ! After I shared some links on programming language design last week, here some more links that poke fun at specific programming languages as well but are not necessarily about language design so they didn’t fit with the stuff in the last linkdump:
I came across a hilarious blog posting that is actually a few years old, that attempts to reconstruct the history of programming languages. It It is fittingly titled A Brief, Incomplete, and Mostly Wrong History of Programming Languages. It is full of gems such as:
In spite of its lack of popularity, LISP […] remains an influential language in “key algorithmic techniques such as recursion and condescension”
Originally, I wanted to link to an old posting from a newsgroup here, that is titled Programming Languages Are Like Women. But upon rereading it, I felt it was sexist, so maybe I should include a short disclaimer. Which got me thinking if it really was a good idea to link to it in the first place. So I found a similar article comparing programming languages to weapons, that is even funnier and avoids insulting anyone except maybe some language evangelists.