Blog

Aachen Buses

Aachen yesterday is exactly what the term snow chaos was invented for. Sudden snow fall, slippery roads and winter services that just couldn’t keep up brought most of the city’s traffic to a halt in the afternoon. An especially nice touch were the many bus stops on steep grades, where the buses were unable to start after having stopped. Some of that did that in the Seffenter Weg road, at the Kastanienweg bus stop. Since surprisingly many people were interested in the pictures I posted of that on Twitter, I thought I’d post some pictures here as well, taken at the same time but with a real camera and tripod.

Three buses are standing at the crossroads, two of them have folded

I’m not sure how correct the displays on the buses are. The line 33 doesn’t run here normally, but some lines were redirected that day due to snow. If that was the case here, then this can well be considered a failure. Neither it nor the (not that well visible) 3B were able to get going on the incline. An interesting feature of pusher-style articulated buses is that they will fold in a way that makes them take up the most space possible in such a situation. From the looks of it 3A to the right apparently tried to pass them by going via the grass strip, which turned out to not work that well.

At the pedestrian crossing, a 3A and another bus are parking.

Cars still managed to get through, but buses had no chance, something that at least two of them did not realize in time, so they had to park and wait for it all to go away. Turning around is not really an option for these machines here.

A tow truck is standing in front of a bus with an open front. Some people are standing around it.

ASEAG, Aachen’s bus operator, has its own tow truck, presumably for stuff that like this. However, according to reports from other parts of the city, it had quite a lot of work that day, and took about two hours to arrive at the scene. Here, it has just freed the first bus (the 33) and is now ready to pull the second one up, for which they are currently putting the drawbar in place.

And it pulls the bus away.

Although a sanding truck was there and spraying salt on the area in front of the bus, the tow truck had enough problems with grip itself and had some serious wheel slip as it was starting. Nevertheless, it got the bus up to where it could drive on its own again.

The tow truck is standing in front of another bus, while yet another one is passing both.

So only the bus in the grass remained, and it could be pulled out without too much trouble. Meanwhile, the parked busses could already depart.

According to some rumors, ASEAG busses never use snow tires. I have no idea how much of a difference that actually makes with heavy city buses, but looking at this, they should probably think about investigating means of increasing grip.

A small image

I’m currently remodelling my homepage, together with a new database, so I’m not really into posting new stuff at the moment, since I’ll have to then put it in the new database by hand. This, however, is something I really wanted to show:

My iPhone railroad simulator is working inside the iPad simulator. The bars at the left and right are weirdly stretched.

It’s not very beautiful, but it was done extremely quickly (about ten minutes) and works as good as the normal iPhone version. So far, I haven’t played much with the iPad SDK (and even if I had, I’m not allowed to tell you anything of substance), but it does look interesting.

Of course, I will adapt the user interface to make it look less ridiculous. I guess this means entirely new controls for the iPad, as the screen is a great deal larger than what I had in mind when I designed this scheme. And since absolutely nobody ever got this system when looking at it to begin with, maybe I’ll think of something else for the iPhone version as well.

Ah, what the hell: You can find an in-progress version of the new homepage at http://ferroequinologist.de/newIndex.php/en/. It’s not done yet and will fail in various was, but if you’re interested… The links all lead back to the normal version, by the way.

Maintenance

Short notice: The site was just migrated to a new server and finally gets to use PHP 5 and MySQL 5.1. This is nice, but due to some subtle compatibility issues, there are some minor problems around. I’ll fix them soon enough, in the meantime, please don’t be surprised about them, I do know about it.

Bildungsstreik - Impressions

Today was the main day of the Bildungsstreik protests, and I happened to have some time for it, so I thought I’d post some pictures.

The Theaterplatz was quite full.

The event was shifted from the original location, the Elisenbrunnen, to the Theaterplatz because someone forgot to think about a market. What surprised me was the sheer number of people. The call did not resonate strongly (as far as I could tell) within the RWTH, but the AStA (the official executive of the student representation body) of the FH completely supported it. Police estimates talk about 2500 people, and that does not feel fully unrealistic to me.

Some guys raised signs.

Many protest signs were done in the style of comic speech bubbles, but there weren’t a lot of them in total.

They're starting to move.

About 13:30 the demonstration started their trek through Aachen’s city centre.

They're moving on.

The leaders.

Signs advertise the revolution.

I’m not quite certain whether this sign (which asks for a revolution) was meant seriously, or whether I just couldn’t read it properly, but it did seem rather odd to me. But then, left-wing parties were very quick to embrace this all…

A sign calling for rich parents.

Of all the signs protesting against the german tuition fees, this one (calling for rich parents) and it’s variations were my favorite.

A sign with typical comic swear words

My absolute favorite protest sign. And people who like photographers.

We're still at Posthof.

The rear end. Not that interesting, but someone has to take that picture. For bus enthusiasts, notice the doubly articulated bus in the background.

I had to leave about then, for a lecture (yes, I’m not on strike, I’m just observing), but I did get back in time for the final demo in front of the cathedral.

The mobile stage had been set up by the FH.

There wasn’t much New in terms of content. However, the occupation of Fo3 did end this morning, as the university fulfilled the request of the protesters to give them a room for debating once a wekk.

In other news, there’s also an occupation in Brunswick. Sorry that I can’t permalink.

Besetzung oder Kaffeekränzchen

Seit gestern hat auch die RWTH Aachen einen besetzten Hörsaal wo Leute für bessere Studienbedingungen demonstrieren, also dachte ich mir, ich gehe mal hin und dokumentiere, was ich dort so sehe.

An das Kármánn-Auditorium wurde ein Banner gehängt, auf dem Bildungsstreik steht

Außerhalb des Hörsaals ist praktisch nichts los, außer dem Banner natürlich. Der tatsächliche Bildungsstreik findet am 17. November statt, in Aachen mit Kundgebung um 13:00 am Elisenbrunnen, wenn ich das richtig mitbekommen hab. Mal schauen, ob ich davon auch berichten werde. Erst mal was anderes aber.

Als Hörsaal für die Besetzung hat man sich den Fo3, einen der vielen im Kármánn-Auditorium, ausgesucht. Das halte ich persönlich fü eine schlechte Wahl, denn der Hörsaal ist recht klein und seine Besetzung stört nur wenige Leute.

Fo2 hat drei mal so viele Sitzplätze, Fo1 fast das sechsfache

Quelle: Hörsaalübersicht der RWTH Aachen für Bereich Mitte

Der Hintergrund davon ist anscheinend, dass die Fachschaft 7/I eine außerordentliche Vollversammlung angemeldet hatte und dafür diesen Hörsaal erhielt und dann einfach dort blieb. Das macht zwar Sinn, aber trotzdem wirkt es etwas komisch, wenn man alle 20.000 Studenten der RWTH aufruft, sich in solch eine Sardinenbüchse zu zwängen.

Und so sieht das ganze dann in echt aus:

Die Wände sind mit gelben Plakaten dekoriert. Ein Sofa und ein Haufen Snacks sind auf dem Rednerpult. Die allermeisten Sitze sind leer. Auf die Tafeln sind ein paar Slogans gemalt

Als ich da war war nichts los, mit Ausnahme von einigen Leuten (wie mir) die immer mal wieder hineinschauten, sich wunderten und dann wieder gingen. Laut aktuellen Nachrichten auf Twitter wurde in dem Saal bevor ich da war und nachdem ich wieder gegangen bin viel wichtige Arbeit und Diskussionen geführt, da hatte ich wohl gerade Pech.

Was soll man nun davon halten? Ich halte davon relativ wenig. Grundideen wie die Abschaffung von Studiengebühren, bessere Studienorganisation, weniger überfüllte Hörsäle und mehr Stipendien, dagegen habe ich nichts einzuwenden. Aber ist das beste Mittel dafür wirklich, die anderen Kommilitonen zu nerven? Es gibt tatsächlich Leute, die dann noch darauf kommen, sich darüber zu beschweren, dass manche Studenten in dem Hörsaal lieber etwas lernen würden. Ist überhaupt Lehre nicht allgemein besser als gar keine Lehre?

Dass die Hochschulleitung der RWTH das Problem kennt sollte ja eigentlich auch bekannt sein. Betrachten wir doch das Beispiel der überfüllten Hörsäle mal: Die Baustelle hinterm Super-C, das werden neue Hörsäle, und es ging gerade ein Architekturwettbewerb für ein neues Hörsaalzentrum in unmittelbarer Nähe zum Audimax zu Ende. Das Problem ist Geld, welches vom Land kommt, und dass heißt im Zweifelsfall in Düsseldorf protestieren.

Aber selbst, wenn man meint, man hätte am meisten Erfolg die Lehre zu verbessern in dem man sie gewaltig stört: Mir fällt es schwer, eine so furchtbar kleine Aktion wie diese hier (im Vergleich zur Größe der Uni) ernst nehmen zu nehmen.

Update

In den Kommentaren wurde behauptet, dass keine Veranstaltungen durch das sogenannte Dauerplenum ausgefallen sind. Allerdings gibt es Berichte von Veranstaltungen, die tatsächlich ausgefallen sind, und auch die Kármán-Hochschulzeitung berichet von einer Höhere-Mathematik-Übung, die so nicht statt finden konnte und deren Teilnehmer und Dozenten statt dessen zu einer Debatte eingeladen wurden. Das betrachte ich persönlich auch als eine Störung der Lehre.

Single Instruction, Multiple Data

A quite interesting technology for video games is SIMD, spelled out Single Instruction Multiple Data, meaning that one computer instruction processes more than one value. This may be best illustrated by an example. A normal piece of code that every game needs will look vaguely like this:

positionX += time * velocityX;
positionY += time * velocityY;
positionZ += time * velocityZ;

The += means increase the value to the left by the value on the right. So we have six calculations, consisting of three additions and three multiplications, and we can approximately say that they take six units of time. With SIMD, though, the pseudocode looks as follows:

position += toVector(time) * velocity

Here, the two variables are both vectors consisting of multiple components (by default four). Not counting the toVector-method (which can often be removed by some means) we are down to only two operations. The result is still the same, but the additions and multiplications are now happening in parallel.

Different versions of SIMD are known as Altivec on PowerPC CPUs, various versions of SSE on Intel and, interestingly, NEON on ARM CPUs. ARM CPUs are not as well known as those by Intel, but are used for just about everything, including as the CPUs in iPhones and iPod touches. The first two generations of either (up the iPhone 3G) have a so-called ARMv6 CPU, without NEON, but the iPhone 3GS and the third-generation iPod touch both have an ARMv7 “Cortex” CPU which does feature this SIMD extension.

Apple doesn’t acknowledge this anywhere, neither for users nor for developers, but if you follow the instructions on http://monkeystylegames.com/?p=82 then it is possible to write NEON code that works on an iPhone. If you also happen to have a non-NEON-version (as I already did for my rail simulator), then you can create code for both plain ARMv6 and the extensions of the ARMv7 and get, as in the days of the PowerPC to Intel transition, an universal binary that’ll run on both. I did test that with my railroad simulator and it works

Whether I’ll actually use that, though, is a different question. It does make the application slightly larger (about 80 kB at the moment, but I plan on writing more code, increasing this difference), and I have to test on both. Since I don’t actually plan to develop two versions of the game at the moment, though, I have no actual advantage, because the iPhone 3GS is much faster than an older device without such tricks already. Finally, it doesn’t really matter either: Most of the performance-critical work my game does is drawing things, which is of course done by the completely separate GPU. The parts that I did optimize with NEON never were important for the performance in any way. In the end, it is a nice research project for me, but not truly useful.

The Switches are Lined Up

University is fully active again, so my progress is now somewhat slower and will remain so. Still, I was able to implement a number of nice (as in essential) features, which means it’s time for a new Video!

Making this video and getting it to work in all browsers was a great deal more involved than I had thought, so if it happens to fail to work, please tell me! As before, it was taken from the simulator only because I don’t know how to make a good video from the iPhone, but it does run there.

So what are the changes precisely?

  • Driving in general works, including around curves (which turned out to be a great deal more difficult than you’d expect). There’s no physics at all behind it yet, though.
  • There are also fully functional switches, including signs indicating their directions.
  • On the graphics side, there is now a real sky (using a skybox) instead of the old gray.
  • In addition to that, I’ve changed texturing: The color is now combined from a large texture without much detail for the general colors, and a small, highly detailed but extremely often repeated texture modifying it, to give the impression of far more detail than I have or want (obviously not my idea, lots of games that render large landscapes have that).

I’m pretty content now, but obviously still a long way from done.