Krass! Die letzen paar Wochen sind soooo schnell vergangen, sodass ich nicht zum bloggen gekommen bin. Der Stoff an der Uni verlangt mir wirklich alles ab - ich komm kaum dazu, den Kopf so richtig abzuschalten... trotz EM 2008.
Die Übungsblätter in diesem Semester übersteigen die Bearbeitungszeit der letzten Blätter bei weitem! An LA2 sitzt man extrem lang dran, weil der Umfang einfach überdimensional groß ist. Die Freizeit geht für quasi für die Uni drauf... ja gut - die Uni ist mein Job - ABER so ein bisschen Zeit zum ausspannen wäre dann doch ganz gut.
Zumindest kann ich es im Moment bei diesem Pensum nicht. Es verbleiben noch knappe 5 Wochen bis zu den schriftlichen Prüfungen... die muss ich jetzt noch durchhalten, danach hab ich 1-2 Wochen zum entspannnen.
Weil in den "Ferien" muss ich ein Programmierpraktikum absolvieren und auf die mündlichen Prüfungen lernen... yeah - ich freu mich drauf -.-
Ich hoffe, ich genießt eure Freizeit ;-)
So long
Passi
current stream: ZDF - Frankreich 0:1 Italien
Aus gegebenem Anlass las man ja in letzter Zeit einiges über Südafrika in den Zeitungen.
Ein Artikel in der FAZ beschäftigte sich unter anderem mit der Kriminalität in Südafrika:
Fünfzig Morde, sechsundfünfzig versuchte Morde, hundertfünfzig Vergewaltigungen und fünfhundertdreißig Raubüberfälle
- täglich! (FAZ 123/08, Seite R 8)
Das hört sich jetzt auf den ersten Blick nach ziemlich viel an (ist es auch), aber ich habe mir zum Spaß mal die "Polizeiliche Kriminalstatistik PKS 2007" angeschaut:
Bei uns würde sich der Satz folgendermaßen lesen:
Zwei Morde, sechs versuchte Mordem zwanzig Vergewaltigungen und hundertfünfundvierzig Raubüberfälle
- täglich! (PKS 2007 vom BKA)
Gut, natürlich gibt es hier einen Unterschied, nur sollte man bedenken, dass Südafrika zwar nur ungefähr halb so viele Einwohner (43,7 mio) wie Deutschland (82,2 mio) hat, aber dafür ungefähr dreieinhalb mal so groß ist!!!
Aber eines muss man den Südafrikanern lassen: sie morden effizienter.
Die deutschen Mörder sind nur zu 26,65 % erfolgreich, was 2020 Menschen im Jahr oder 5,53 pro Tag mit einem lebenslangen Trauma zurücklässt.
In Südafrika hingegen vollenden 47,17 % der Mörder ihr Geschäft mit Erfolg. Das lässt zwar immer noch 56 Leute pro Tag in einem völligen Schock-Zustand, aber immerhin sind die Chancen besser, dass wenn man einem Mörder begegnet wenigstens nicht so lange Qualen erleidet, oder?
:D
Noch ein Tip für Katastrophen-Touristen oder solche, die im Urlaub mal was anderes erleben möchten: In Deutschland passiert nur alle 10 Minuten ein Raubüberfall. In Südafrika sind es immerhin nur 2 Minuten 45 Sekunden zwischen zwei Raubüberfällen.
Aber um eine allzu einseitige Berichterstattung zu vermeiden, möchte ich an dieser Stelle anmerken, dass man als Tourist in stark von Touristen frequentierten Gegenden (Krüger-National-Park, Kapstadt, etc) vergleichsweise sehr gut aufgehoben ist und, wenn man sich an bestimmte Regeln hält, ohne Zwischenfall einen wunderbaren Urlaub in einem wunderschönem Land mit einzigartiger Natur erleben kann.
Eigentlich habe ich mir ja vorgenommen gehabt, wieder regelmäßiger zu bloggen...
aber daraus wurde bekanntlich nichts, weil ich (einige wissen es bereits) seit ungefähr 3 Wochen auf eigenen Füßen stehe!
Kurz, ich wohn nicht mehr zuhause, aber auch nicht allzu weit weg. Inzwischen fühl ich mich auch wirklich daheim, und habe mir die Wohnung schön wohnlich eingerichtet (Ihr seid gerne eingeladen, mich mal zu besuchen, jedoch wäre eine Anmeldung empfehlenswert, damit ich da bin^^).
Es hat sich auch sonst einiges getan. Eigentlich bin ich voll im Klausuren-Stress (9 Stück diese Woche, einschl. 3 Klausuren am Samstag!), aber mir gehts blendend. Wenn Deutschland heute abend noch über Österreich siegt, ists perfekt! Ansonsten könnte man sich ja für ein Jahr oder so nicht mehr über die Grenze wagen...
Die erste Klausur war heute: Marketing. Der Prof ist eigentlich ganz cool gewesen, ein steinalter (>70) Russe, der aber seit 17 jahren in Amerika (New South Wales University) unterrichtet und schon in über 60 Ländern Vorlesungen gehalten hat. Er hat wenig über Marketing gesprochen (das durften wir uns anhand des 400-Seiten-Skripts selbst erarbeiten), aber ansonsten allerlei Interessante Dinge erzählt. Es war halt alles (skript + Vorlesungen) auf Englisch, aber das war nicht mal für die weniger Englisch-Begabten in meinem Kurs ein größeres Problem.
Achso, zur Klausur heute: wir hatten 60 Minuten Zeit für 25 Multiple-Choice-Fragen (entweder 5 Auswahlmöglichkeiten oder ja/nein) der Kategorie: "Online-Befragungen sind deutlich teurer als wenn man traditionelle Umfrage-Methoden benützt. Richtig/Falsch"
Um 08:09 war ich das erste mal durch, um 08:18 hab ich abgegeben...
Wenn diese Woche rum ist, hab ich erst mal 2 Wochen Urlaub, werde aber nicht groß weg gehen, sondern mich um die Dinge kümmern, die bis jetzt aufgrund der Klausuren liegen geblieben sind.
Ansonsten hab ich mal zum Spaß ne kleine Event-Agentur gegründet: Kiwi.Events
Erste Aufträge z.B. von StudyNelson (www.studynelson.co.nz) sind schon eingegangen und werden gerade ausgeführt.
Wenn von euch mal jemand Hilfe bei der Organisation einer Party oder sonstigen Veranstaltung braucht, einfach ne mail an "kiwi.events [at] gmx.de" schicken!
Kiwi.Events - Einfach organisiert
Drop your productivity as fast as the tetrominoes fall!
If you think Tetris is a simple game, let me refer you to TetrisConcept, a wiki which aims “to compile every Tetris detail known to mankind.” Due to tricks like t-spins and other tactical rotations, the game becomes rather delicate.
Reading Tetris the Grand Master: A gameplay essay is a good way to learn about this.
Heboris Unofficial expansion is the best and most flexible version of Tetris I ever saw. It supports nine different rotation systems and a magnitude of different modes (especially really fast ones), while almost everything can be configured.
It was a bit tricky to get running on OS X, so here are the instructions:
Acquire hebo0019.zip. This version works fine on Windows.
Acquire the OS X binary.
From MacPorts, install libsdl-framework, libsdl_mixer-framework, and libsdl_image-framework.
Copy Heboris.app from the latter .zip into the former’s exe/ directory.
Edit heboris.ini and change it to “english = 1;” to replace most of the japanese.
Run Heboris.app and enjoy! By default, the cursor keys move and Z/Y, X, C are the action buttons (No idea where Hold is, rebind it to V maybe).
If you want to play against CPU, you need to define key bindings, enable the CPU for the second player in the Option menu and then configure the second player using his keys—the CPU will just play for it.
NP: Liars—Plaster Casts of Everything
Practical REST on Rails 2 Projects
by Ben Scofield.
Apress, Berkeley 2008.
284 pages.
[Full disclosure: I have received a copy of the book in exchange for this review.]
The book, targeted at intermediate and advanced Rails users, starts with a chapter “Why REST?” that tries to explain how REST helps interconnect applications and reflects the structure of the web. As examples for such connectivity a few mashups are presented. The author states that APIs can make web applications much more useful and interesting, but costly to develop. He contrasts REST with XML-RPC and SOAP. Finally, the basics of REST are outlined: It is a client/server architecture based on stateless requests that describe and transform resource representations. The author argues that REST makes it easier to develop clients and servers and extend these applications in the future, last but not the least because REST is implemented well in Rails 2.
After demonstrating the use of (deprecated) ActiveWebService, the author shows how these ideas are expressed nowadays in Rails 2, outlining the history of simply_restful. He continues by explaining the new styles of URI routing that also dispatch on the HTTP method like map.resources/map.resource/nesting and map.namespace. The author also addresses Rails’ support for multiple output formats and new helpers related to routing. Scaffolding is discussed and will be used in the book. At last, there is a mention of ActiveResource to use RESTful Rails applications together.
The third chapter develops the main application of the book dubbed MovieList. It is used throughout the rest of the book. MovieList, a site that informs about movies and their releases, lets users express their interests and displays when new movies with the same actors are released. The code is not developed test-first, but the downloadable code contains a test suite. Occasionally the code is pretty weird, for example it defines setters that are merely called for their side-effects using #update_attributes. In some places, explicit iteration over ActiveRecords would have been solved better by doing it in the database. Also, the generated HTML is partly unsemantic and hard to scrape (which is not that bad if the data can be reached by the API, you may argue). The author explicitly defines notifications and interests for the movies to belong to the logged-in singleton user (they reside at /user/interests, not /users/:id/interests), supposedly so one cannot see other people’s interests. In later chapters, he decides however to at least revert this for notifications—it would have been better to properly design it in first place, as it actually is a nice feature and more RESTful anyway (can you speak of “current users” in a stateless request, really?) and show how to protect the page for users that don’t want to allow it to be seen. The author mentions at the end of the chapter that a “great deal of planning, testing and other work has gone undescribed”; wouldn’t it have been useful to have these parts in the book as well? The actual architectural concerns of REST applications are not really mentioned in the book.
The next four chapters deal with accessing the MovieList applications from other technology. Chapter 4 uses JavaScript to provide a widget users can embed on their homepage and shows how to do full-fledged access to the application using AJAX after extending it to support JSON. Chapter 5 shows how to access the site using the PHP framework Squidoo. During this, a feature is added to allow users to display the movie releases within a time frame. This is the code used to parse the relative time, and I’m not kidding:
raw_time = params[:time] || '1 month'
time = eval("#{raw_time.sub(/ /, '.')}.from_now")
How this gaping remote code injection hole passed any kind of technical review is a miracle to me. Ironically, the next section is called “Injection Flaws”, and addresses SQL injection and so-called “HTML injection”, which actually is passing anything you want as parameters. The author then decides to “fix” it by checking the time parameter in the PHP script calling the Rails application. Duh.
Chapter 6 builds an client for the iPhone, optimized to its interface constraints: a small screen, popup keyboard and lower bandwidth. It uses the commonly used approach of defining a new Rails format that is triggered by a special subdomain or by user agent sniffing. The chapter shows how to use iUI to make the interface look native, too.
Chapter 7 shows how to embed the application to Facebook either by using iframes or the FBML. I have no idea how the contents of this chapter are related to REST, especially since the FBML approach actually calls everything using POST.
Chapter 8 is called “Dealing with success” and is about making the application faster and more robust. Apart from the classic caching approaches (which work very well in REST due to the idempotency of GET, but see below) and foreshadows of denormalization, it contains a few general hints on Rails and database performance. It also addresses throttling access to the API by using API keys and setting up auditing to monitor the site.
Finally, Chapter 9 tries to place “Rails in the enterprise” and explains the chances, but also the problems of REST and Rails in the enterprise. It contains a small example of how to create a RESTful interface for a SOAP backend.
Conclusion: Generally, I found the book lacking. Instead of shifting focus to the design and architecture of real-world REST applications and showing up the patterns that can be used to help development, the book shows how to combine a simple CRUD application with half a dozen of buzzword loaded Web 2.0 stuff. The semantics of REST are only half-heartedly addressed (a third of page 13 discusses what the HTTP methods mean), the idempotency of GET merely assumed (it’s actually in a parenthesized half-sentence on page 72), and the actual means of applying REST (proper status codes, correct/multiple content types) are not made explicit. Instead of wasting over 15 pages on screenshots unrelated(!) to the application and another 2 pages on showing a WSDL that is very much useless, the reader would have had more benefit from a table of HTTP status codes and content types. Also, writing a REST client in Ruby is not addressed by means other than (the limited, non-general) ActiveResource.
I think this sounded too negative, please bear with me: The book is okay. It’s well written, and if you like a whirlwind tour of Web 2.0 things one can do it’s a good read. It’s just not really about REST, or at least not what I’d expect of a book about REST.Rating: 3.5 of 5 points.
NP: Dandi Wind—Hostages
These are my personal notes from the Workshop on Self-sustaining Systems (S3).
[A quick note beforehand: The descriptions make use of a metric called “lines of code” (LOC), which widely is regarded as being insufficient for measuring program size. Due to lack of better means, I decided to mention them nevertheless. Take them with a grain of salt.]
The conference started after lunch, but we got there earlier so we had the chance to socialize with the HPI people already.
Ian Piumarta gave the first invited talk on his Late-bound lambda object architecture, wherein he decided to fight the fact that software tends to become too complex by finding out how much you can say with how little. He started by contrasting the three cubic miles of paper that is the US case law to Maxwell’s four tiny equations which are able to fully explain all electromagnetic phenomena.
Moving to software, he showed the source code line counts of some popular projects, and we could see, for example, that OpenOffice.org has more lines of code than the entire FreeBSD operating system. Comparing lines of code with the size of literary categories, he decided that 20kLOC, which roughly resemble a 400 page roman, are the maximum size of a program a programmer has the chance of fully understanding.
He continued explaining how it is possible to get much done in such a limited amount of code by showing off how simple things like shape rendering, which only consists of a few elementary transformations, is enough to render fonts and essentially provide a full graphical interaction system.
He gave a quick tour of other interesting ideas to be further investigated, such as multiple subjective perspectives, which result from the realization that objects have several roles, or regarding computation as “fields” (re)acting on particles, a concept which makes it easy to specify complex interactions between many objects.
Since predicting anything is difficult, he argues that it highly important to be as dynamic as possible, by using the fewest minimal abstractions that allow for any possible feature/paradigm to be added to the language/system.
His design combines functions and objects into the foundation of his system, COLA. Functions, represented as s-expressions provide the proto-behavior, while proto-structure expresses form by providing objects that messages are sent to. They provide the dichotomic base, since without function, form cannot be animated while function has no representation without form. This results in a self-describing structure.
(Actually, after the talk he told me they are trying to unify functions and objects into one thing, I’m very curious about the result.)
His talk was larded with memorable insight such as looking at GTK+ and noticing “C is highly deficient and wasteful” or encouraging the students to look at the “old” papers where technology was severely limited because “sometimes progress is behind you”.
The next talk was by Christophe Rhodes, who spoke on SBCL – A sanely bootstrappable Common Lisp. After a short overview of Common Lisp, he summarized the history of SBCL, which started as a fork of CMUCL in 1998. The main reason of the fork was that CMUCL was horrible to bootstrap and it actually wasn’t possible to compile CMUCL without already having the last version of CMUCL before that.
Christophe Rhodes emphasized the importance of a system being able to rebuilt itself from a “blueprint” since it makes the result a lot clearer, easier and predictable. He showed an example of a bug in a core data structure which was easily fixed by changing the structure and recompiling the system—without the ability to rebuilt from scratch, magic hackery would have been required to modify the existing structures to be compatible enough until they could replace themselves.
SBCL nowadays can be compiled using half a dozen of different CL implementations and does, once built, not any dependencies on the build environment.
This unusual level of self-sustainability has many benefits: it is more fun, enables quicker turnaround, makes the system more future-proof, and doesn’t limit improving the core of the system to hackers with magic abilities. Instead, every developer can work on the code because in the end it’s just another big Lisp program. Because of this, more people can help with the system and maintain it, thereby having more control over the destiny of the system as a whole.
Charlotte Heerzel was the next, presenting Reflection for the masses, in which she showed how to implement 3-Lisp using CLOS. She noticed that programming languages are made powerful by abstractions, but there are cases where one wants to get rid of them, for example if you need access to the current continuation.
Reflexive languages, on the other hand, allow the programmer to control internalization, normalization, and externalization within the language.
She showed lots of code, implementing a small Lisp interpreter in CPS
and then adding structural reflection by exposing the internal data
structures as abstract data types and behavioral reflection by
introducing reflective-lambda, which has access to the current
continuation, environment and code. For example, this allows to
implement when as a first-class function.
The first day ended with two social events: first, there was a boat trip around Potsdam, where I had the great luck to sit on a table next to Richard P. Gabriel and Pascal Constanza. We had a long interesting discussion with them about the lack of (helpful?) limitations in programming, what designers really do, how Java became popular, the danger of the obvious and demonising copy and paste programming. I learned one thing about how rpg decides which poems to publish, which I cannot keep back:
Richard P. Gabriel writes a poem each day, and once a year, he needs to select six of them for publishing (six seems to be the usual amount the publisher wants). So how does he do it? Using a computer, he randomly picks sets of six, until all of them don’t suck. Then he sits down and revises them.
We crystallized this as the essence of design: to choose the things that don’t suck.
Afterwards, we had a dinner buffet on a restaurant boat until night.
The next day started with Daniel H. H. Ingalls (say it in German!) demonstrating The Lively Kernel – a self-supporting system on a web pagex. He admitted that web programming is complicated, but implementing Morphic in JavaScript seemed like an easy thing to do. While he explicitly mentioned that he is not proud of the code, he thinks it’s easy enough and works well.
The whole Lively Kernel is rendered using dynamically generated SVG and doesn’t include any (visible) HTML at all. All drawn stuff are vector objects. In good Smalltalky manner, the system uses MVC extensively.
After a short demonstration with some turtle graphics and live-code editing, he pointed out some of the non-obvious features of it: For example, to support multiple people working on it, they introduced a change-set format for JavaScript which allows to check in modified parts of the system into version control. Also, they have a pretty sophisticated system for profiling by dynamic method rewriting to insert measuring code.
The whole Lively system at the moment is a mere 10kLOC of JavaScript and already includes many details such as rich-text-boxes.
On the topic of security, Dan Ingalls proclaimed that his security philosophy was like this: “Make it work, then make it secure, and I hope someone else does step 2.”
Carl Friedrich Bolz presented a joint-work of eight Pythonists and Squeakers titled Back to the future in one week – Implementing a Smalltalk VM in PyPy which they started in October during a five day sprint.
PyPy, initially a Python implementation in Python, but now moving towards a general compiler tool-chain, enables one to write highly flexible language implementations because most things are late-bound. Therefore, garbage collection, object layout and the threading system can be exchanged easily and allow for lots of experimentation. PyPy aims to autogenerate dynamic compilers from interpreters written in a reduced set of Python called RPython with nevertheless allows full-fledged compile time metaprogramming.
They already implemented all Squeak bytecodes and most of the primitives. The resulting system, SPy, can load unmodified Squeak images and run simple benchmarks. It is roughly 10x slower than Squeak itself, and they plan to support the graphical builtins in the future as well.
The team continued hacking on SPy in a sprint in Berlin just after the S3.
Guillermo Adrián Molina next introduced Huemul, a Smalltalk implementation that directly generates native code. It is a very small system of only 4.5kLOC since it doesn’t try to do everything but instead reuse existing code. For example, he uses libc, pthreads, setjmp/longjmp, GTK+ for the UI and OpenGL. The system is MIT-licensed and inspite of lacking real optimizations already pretty fast: It runs roughly 832 million bytecodes/s and therefore is comparable to the performance of commercial Smalltalk systems.
Huemul looks very interesting and certainly is a thing that deserves more attention.
Are bytecodes an atavism?, Theo d’Hondt wondered when he noticed that people are fixated on virtual machines: They think it’s the only way to write a fast system.
However, interpreters are the simplest way to express the semantics of a language.
After a glimpse of the history of bytecode from BCPL over Pascal-P to Smalltalk, Self and Java, he presented Pico, a tiny language implemented using CPS that is smaller than Scheme that was roughly as fast as PLT Scheme (as of 2004)
Based on his experience with Pico, he decided to write PicoScheme, which is written in a subset of C and works by compiling s-expressions into an abstract syntax tree that then is interpreted. Soon he realized that “Scheme isn’t all that simple to implement”, but now he has a very promising implementation of the most parts of Scheme (nothing really relevant is missing) that is as fast as PLT by now. It also is very compact: the GC only has 150 LOC.
After the talk, he promised to open PicoScheme to the public in the future.
The last talk was called On Sustaining Self by Richard P. Gabriel. I only can recommend to take any chance to hear him speaking because he’s doing excellent presentations—I’m unable to do his audio-visual impressions justice, so please excuse the rough sketches: The talk started off with playing Hogni Lisberg’s cover of “All along the watchtower” while Noble and Biddle’s eternal words of their Manifesto in “Notes on Post-Modern Programming” appeared on the screen. “There must be some way out of here!”
The ultimate goal of all computer science is the program. The performance of programs was once the noblest function of computer science, and computer science was indispensable to great programs. Today, programming and computer science exist in complacent isolation, and can only be rescued by the conscious co-operation and collaboration of all programmers.
There are three ways to build self-sustaining systems according to Gabriel: First, Designed Perfection, which is what most people try to do today; it is very efficient, but entropy will get you. Second, Instinctual Adaption, which is resilient and flexible. Third, Learning, which is costly, but gives the best results in a highly dynamic environment.
A poem assembles on the screen; to brilliant guitar music there appears:
slowly
dawning
is
night
and it morphs into:
slowly
dawning
insights
He proclaims:
Abstraction ignores the relevant,
therefore it requires ignorance!
He does a case-study on Levittown, which overcame the limitations and plannedness of itself and turned into a non-designed suburb.
He presented a case of artificial evolution showing the FPGA evolution experiment that generates very effective chip designs that nobody really understands how they work.
Finally he enters an dialogue with himself asking “How are cities designed?” At first look, they look modular, but they are so full of interconnected dependencies that they are impossible to modualize really. Also, the nature of the city is not planned.
In the end, the recognizance: Design is an illusion.
(I highly recommend you to watch the video when it is online.)
Summary: Attending the conference has been a great pleasure. Although being rather short and small (only one-and-a-half days and maybe 50 attendees), there were top-notch invited talks and many important people (and also many unknown, but friendly, clever and interesting ones!) around that everyone simply could talk to. The social events were well organized (free dinner, free beer) and actually allowed to socialize.
I seriously hope S3 can turn into a periodic conference because I’d really like to attend it again.
[Let’s also mention the not-that-good-stuff, just for the sake of completeness and so you see there’s not much to dislike: introductionary marketing speeches; the “Workshop” in the name misrepresents the conference; occasional WiFi failure.]
NP: Bob Dylan—I Believe In You
Tomorrow I take the train to Potsdam to attend the Workshop on Self-sustaining Systems (S3), which means I get the chance of meeting rpg and many other people that worked on Lisp, Self and related cool stuff in real life.
The stuff I’m working on got not finished by far, but maybe I can write down enough on the train to explain it to interested parties.
If you want to hook up, don’t hesitate to contact me. I’m there until Saturday morning.
Anarchaia and chris blogs will resume publishing Sunday, May 18.
NP: Manu Chao—Politik Kills
Der nächste Umzug war angesagt. Mein Rootserver (Hetzner DS 2000) war für meine Zwecke einfach der Overkill und mit 39€ im Monat etwas teuer. Deshalb bin ich jetzt bei Server4you und hab einen vServer ENTRY X2 gemietet - das erste Jahr kostet mich hier so viel wie 2 Monate Hetzner-Root-Server…
Wordpress-Um(laut)zug
Meine Wordpress-Installation auf den neuen Server zu hauen wäre auch fast schiefgegangen, als ich den Dump mit mysql -p wordpress < wordpress.sql wieder einspielen wollte, waren nämlich alle Umlaute kaputt (anstatt ä, ö, ü, Ä, Ö, Ü, ß war alles mit ä, ö, ü, Ä, Ö, Ü, ß voll). Bei einer Drupal-Installation habe ich mal versucht, das Problem dadurch zu beheben, dass ich alle kaputten Umlaute in phpmyadmin gesucht und durch die richtigen Buchstaben ersetzt habe. Dauert ewig und es werden garantiert ein paar kaputte Zeichen übersehen, und garantiert gehen dann auch Links oder Skripte kaputt. Dabei ist die Lösung so einfach:
- In der Shell:
# file backup.sql
backup.sql: UTF-8 Unicode English text, with very long lines # mysql –default-character-set=utf8 -p database < backup.sql- Juhu!
Deine Röhre
Empfehlenswert: http://www.youtube.com/user/plueschtux und http://youtube.com/user/medna87, besonders das Burner-Video
Dazu wollte ich auch schon lang was schreiben. Ich empfehle generell die BASE-/E-Plus-Internet-Flatrate für 25€/mo, weil nicht ortsgebunden und für eine Flatrate ziemlich günstig. Nachteile sind fehlendes HDSPA (also maximal 384kb/s) und anscheinend seit neuestem auch willkürliche Kündigungen (siehe dazu auch die neue c’t). Zu so einem Vertrag passt nur ein UMTS-Handy, keine Einsteckkarte oder USB-Modem, weil ein normaler Laufzeitvertrag fürs Telefonieren mit monatlicher Grundgebühr Voraussetzung ist. Überall online ist aber außer praktisch (Handytickets in Verkehrsverbünden und bei der Bahn!) einfach cool
Ein UMTS-Handy als Modem fürs Laptop funktioniert natürlich auch unter Linux, und zwar wesentlich zuverlässiger und komfortabler als unter Windows - wenn man das Ganze konfiguriert bekommt. Die folgende Anleitung basiert auf einem Nokia E61 und meinem Ubuntu-Schleppie, sollte aber mit jedem Handy bzw. Laptop mit Bluetooth und USB sehr ähnlich einzurichten sein, eine generell funktionierende BT/USB-Konfiguration auf dem Rechner und funktionierendes UMTS auf dem Handy vorausgesetzt.
USB:
- Handy einstecken
dmesg |grep ACMsollte etwas in dieser Art ausgeben:
cdc_acm 2-1:1.10: ttyACM0: USB ACM device- kppp (o.Ä.) starten, auf “Einrichten …” klicken, zum Reiter “Modems” wechseln, auf “Neu …” klicken
- Auf dem Geräte-Reiter dem Modem einen sinnvollen Namen (z.B. “USB”) geben, bei “Modemgerät” das Gerät aus der dmesg-Ausgabe einstellen und die Geschwindigkeit auf 921600 stellen und dann alles mit “OK” bestätigen.
- Auf den “Zugänge”-Reiter wechseln und einen neuen Zugang erstellen (”Manuelle Einrichtung” auswählen, falls danach gefragt wird) - zum Beispiel namens “UMTS”
Als Telefonnummer *99# eintragen. Rest kann (zumindest bei E-Plus) so bleiben. - Alles mit “OK” bestätigen und auf “Verbinden” klicken (Benutzername und Passwort sind bei E-Plus nicht nötig, für andere Anbieter siehe teltarif.de). Herzlichen Glückwunsch - wenn alles funktioniert. Probleme einfach in die Comments schreiben, vielleicht fällt mir ja was ein…
Bluetooth:
- Bluetooth auf Laptop und Handy aktivieren
sdptool search 0x1103ausführen, Ausgabe beispielsweise:
Class 0x1103
Inquiring ...
Searching for 0x1103 on 00:11:22:33:44:55 …
Service Name: Dial-Up Networking
Service RecHandle: 0×10047
Service Class ID List:
“Dialup Networking” (0×1103)
Protocol Descriptor List:
“L2CAP” (0×0100)
“RFCOMM” (0×0003)
Channel: 2
Language Base Attr List:
code_ISO639: 0×454e
encoding: 0×6a
base_offset: 0×100
Profile Descriptor List:
“Dialup Networking” (0×1103)
Version: 0×0100
- Das rfcomm-Modul muss geladen sein (
lsmod |grep rfcommmüsste etwa
“rfcomm 42136 4” ausgeben), sonst mitmodprobe rfcommladen bzw. beim Start automatisch laden (rfcommin eine neue Zeile an die /etc/modules anhängen). - Eine /etc/bluetooth/rfcomm.conf mit folgendem Inhalt erstellen:
Device-Adresse und Channel müssen geändert werden, siehe die fett markierten Abschnitte im vorherigen Schritt. Danach das rfcomm-Modul neu laden bzw. den Rechner neu starten.
rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device 00:11:22:33:44:55;
# RFCOMM channel for the connection
channel 2;
# Description of the connection
comment "Nokia E61";
- Im kppp ein neues Modem erstellen (siehe USB-Anleitung), einziger Unterschied: Das Gerät heisst /dev/rfcomm0 anstatt /dev/ttyACM0. Herzlichen Glückwunsch - Probleme in die Comments.
Nun habe ich am Sonntag ein Interview geben dürfen und komme in ein Extra-Heft der Juni-Ausgabe des "Spiesser", das heißt, ich bin einer der 100 am engagiertesten Jugendlichen Deutschlands!
Ist das gut? Ich weiß es nicht.
Die letzte Woche hat mich vollends kaputt gemacht, war ich doch die letzten anderthalb Monate schon stressmäßig relativ gut ausgelastet.
"Ich & Ich" haben meine Situation in ihrem Song "Stark" ganz gut beschrieben:
ist alles nur Fassade, schau mal genauer hin!
Du bildest dir ein ich weiß wie alles geht.
Du denkst ich hab alles im griff und kontrollier was geschieht,
aber ich steh nur hier oben und sing mein lied.
Aber es wird sich einiges Ändern für meine Mitmenschen in nächster Zeit. Sie werden sicher vermehrt auch einige Aufgaben übernehmen müssen. Denn: Ich tue egoistisch/reell gesehen genug, nicht wegen Rumsitzen bin ich einer der engagiertesten Jugendlichen Deutschlands.
Es gibt genügend andere, die ruhig auch mal etwas tun können.
So baut man nicht nur ein neues Gebäude in Ravensburg um, nein, man plant auch noch ein Parkhaus für die armen Studenten, die in Ravensburg einen Parkplatz suchen (das ist aber auch echt schwierig! vor allem da, wo man parken könnte, darf man es nicht).
Aber das Beste: Jeder Student bekam eine Office2007 Student-Edition Vollversion geschenkt!
Nur das mit dem WLAN in unserem Klassenraum (fast der einzigste ohne) hat noch nicht geklappt... aber immerhin bekommen wir Unterricht in SAP und sind dann zertifiziert (solange die Server nicht abschmieren, wie letzten Donnerstag^^ ).
…oder: Wie verschlüsselt man ein Passwort für die /etc/passwd oder /etc/shadow.
Wenn man einen Server mietet und auf dem Anmeldeformular das gewünschte Passwort angeben soll, empfiehlt es sich, es vorher zu verschlüsseln - vielleicht liest Schäuble ja mit
Um den Hash herauszufinden, kann man entweder umständlich lokal einen neuen User hinzufügen, das Passwort aus der /etc/passwd bzw. /etc/shadow kopieren und den User wieder löschen, oder makepasswd oder openssl verwenden:
echo "password" |makepasswd --clearfrom=- --crypt-md5 oder
openssl passwd -1 password für md5-gehashte Passwörter, für den Standard-Unix-Algorithmus
echo "password" |makepasswd --clearfrom=- --crypt bzw.
openssl passwd password.
PIN-Codes r teh suck
Ich hab heute ein altes (1996) Original-Telekom-Telefon ausgegraben - das Speech AB mit Sprachsteuerung und digitalem Anrufbeantworter. Leider habe ich in meiner Genialität natürlich vor langer, langer Zeit einen PIN-Code eingestellt und vergessen. Um beim T-Com Speech AB den PIN-Code zurückzusetzen, muss man
- das Telefon vom Netz, vom Telefonnetz und auch vom Hörer trennen,
- die 4 Schrauben auf der Unterseite des Telefons lösen und den Boden abnehmen,
- bei der zum Vorschein gekommenen Platine von den gelb markierten Punkten mit einem Messer o.Ä. die Lackschicht entfernen,

- die beiden Punkte mit einer Drahtbrücke, Pinzette o.Ä. überbrücken,
- die Stromversorgung einstecken und die Überbrückung einige Sekunden halten, und
- wenn die LED neben dem Taster für den Hörer permanent aufleuchtet (d.h. PIN-Code erfolgreich zurückgesetzt), Telefon wieder zusammenbauen (das Plastikteil für den Hörer nicht vergessen!) und freuen.
(Bild geklaut von http://www.wasser.de/telefon-alt/forum/index.pl? …)
Guten Acht.
Wieder unsere supergeniale Abiband mit Wonderwall
Der Unverwechselbare Mowe/Moe/Mo mit seinem Puddingwitz - Teil 1
Und hier -20 min später- mit dem zweiten Teil:
Achso: Ich bin der Bassist :D
Die Stabü
verkauft wieder ihre altenwenig verliehenen
Bücher zu “Pfundspreisen”.
Ergo ergattert (bzw. “vor dem Papiercontainer gerettet”):
Christine Wolfinger, Keine Angst vor UNIX/Linux. 10. Auflage.
Dirk Engel, Klaus Spreckelsen, Das Einsteigerseminar Ruby. 1. Auflage.
Ludwig Feuerbach, Anthropologischer Materialismus. Ausgewählte Schriften, Band I und II. Herausgegeben und eingeleitet von Alfred Schmidt.
Paul Feyerabend, Wider den Methodenzwang. (Hurra!)
Bertrand Russell, Skepsis.
Benoît B. Mandelbrot, Die fraktale Geometrie der Natur.
Oswald Spengler, Der Untergang des Abendlandes. Band I und II. Eignet sich auch, um Leute totzuschlagen.
Summa summarum 145€ gespart. Lohnt sich!
NP: Cat Power—Woman Left Lonely
Als ich aus dem Zug aussteigen wollte, drängten erst mal zwei Männer in "ziviler" schwarzer Lederbekleidung in den Zug.
Erst mal draußen aus dem Zug, rannten vier weitere "zivil" gekleidete Männer mit gezogenen Waffen am Zug vorbei über die Gleise in Richtung Freiburger Str. Allen voran ein Polizeihund und ein fünfter Mann trug ein Funkgerät bei sich und gab just in diesem Moment das Kommando "Jetzt! Zugriff!".
Ich hielt erstmal nach den Fernseh-Kameras ausschau, aber es war wohl doch nicht der neue Tatort "Mord in Biberach"...
Auf dem Nachhause-Weg begegneten mir noch einige Autos bayrischen Fabrikats mit den schicken Blaulichtern zum aufs-Dach-stellen, sowie einige Polizei-Autos.
Heute stand dann in der Zeitung zu lesen: "Polizei und Staatsanwaltschaft legen Diebesbande das Handwerk".
Ich weiß nicht, ob die Operation am Bahnhof zu dieser Aktion gehört oder nicht, aber ein Erlebnis war es allemal^^
Also in der Woche vom 24.März war ich sowohl Mittwoch als auch Donnerstag im Pub bzw bei Dave mit den andern Iren. Am Freitag war ich dann bei Darragh und wir haben DVD geschaut. Samstag war dann wieder recht lustig. Zuerst sind Darragh und ich nur rumgefahren, weil wir nicht wussten, was wir tun sollten. Irgendwann hat er dann auch mcih fahren lassen, was er wahrscheinlich danach bereut hat*gg*. Ist nämlich garnicht so einfach auf der falschen Seite zu fahren oder gar falschrum in den Kreisel reinzufahren. Das schwierigste war aber das Schalten mit der linken Hand, weil man sich da soo sehr konzentrieren musste, dass dann garnix mehr geht;) naja sehr lustig und ist ja nix passiert. Danach haben wir dann seine Schwester nach Dalkey gefahren, was sehr lustig war, da diese leicht betrunken war und ununterbrochen geredet hat. Anschließend sind wir noch zu Andy und dann zu Zoe, wo sich alle zum weggehen fertig gemacht haben. Letztendlich sind wir dann bei Dave gelandet, wo auch Rob, Francesca und die ganzen andren waren, die nicht in die Stadt wollten.
Der Abend war wirklich noch sehr lustig und sehr lang und irgendwann hat mich der Darragh dann heimgefahren.
Am Sonntag hatte ich dann mit meinen Mädels Abschiedsessen im Ragazzi in Dalkey. War sehr witzig und sehr lecker. Irgendwann gegen 11 hab ich mich dann noch mit Darragh, Meg und Steve im "Inn" in Dalkey getroffen. Darraghs Schwester war auch noch am Start mit ihren Mädels. Aber an nem Sonntag sind die Pubs nicht so lang offen, weshalb wir dann so gegen 12 heim sind.
Montag war dann Abschiedsessen mit meiner Gastfamilie angesagt und da war ich also mal wieder im Ragazzi zu Besuch;). Dann musste ich dann noch zur Schule und danach war groß packen angesagt, weil ich vorher noch nicht wirklich Zeit dazu hatte.
An meinem letzten Abend war ich zuerst bei der Familie, wo ich immer gebabysittet hab. Da haben wir dann noch fleißig Fotos gemacht und Gecshenke hab ich auch noch gekriegt. Anschließend war ich dann bei Darragh wo wir darauf gewartet haben, dass uns jmd einen "Lift" zum Pub gibt. Dann waren wir also im Pub und anschließend mal wieder bei Dave.
Und am nächsten Tag, am Mittwoch bin ich dann also heimgeflogen und daheim haben mich dann Illi, Carina, Heike, Kaddi und meine Family mit ner kleinen Willkommensparty überrascht. Hab mich voll gefreut, weil ich nichts erwartet hatte und ich erst so spät ankam. Danke ihr Schätzles!!
So, die Woche drauf am Donnerstag, man will es nicht glauben, aber da gings schon wieder nach Irland. Meine Gastfamilie hat mcih nämlich zur Taufe vom kleinen Morgan eingeladen. Flüge haben sie mir auch bezahlt, sehr nett alles.
Donnerstag bin ich also dort angekommen und hab mittags mit Anna gespielt, weil ich sie doch ziemlich vermisst hatte. Abends war ich dann zuerst mit den Iren mal wieder im Bakers Corner und anschließend bei Dave, was unglaublich witzig war.
Freitag hab ich mich dann so gegen 11 mit Katharina und Clara getroffen, d.h. sie haben mich mit dem Auto abgeholt und wir sind dann zusammen zum Lunch und danach zu Katha heim. Abends bin ich dann zu Daves Haus, wo cih mich mit Francesca und Uffy getroffen habe um in die Stadt wegzugehn. Wir haben uns dann sort alle zusammen fertig gemacht und sind dann ab ins City Center. Das war der beste Abend überhaupt in Dublin, sehr witzig und einfach unglaublich.
Samstag war dann die Taufe. Es war eine schöne kleine Zeremonie in der Kirche und danach gabs lecker Essen. Abends bin ich dann noch mit Darragh, Sam, Meg, Sarag, Francesca und Uffy in die Stadt aber irgendwie war ich zu müde und deshalb bin ich nicht so lang geblieben. Und am nächsten Tag bin ich ja dann schon wieder heim.
So das wars jetzt für die nächste Zeit.
Bis irgendwann dann mal wieder. (spät. Juli, da bin ich wieder in Dublin;))
Um auf den voherigen Post schnell einzugehen - es war nicht schwer, meine Absichten zu durchschauen, wenn man das Datum beachtet. Allerdings sind einige auf meinen Aprilscherz reingefallen ;)
Morgen beginnt nun mein 2. Fachsemester pünktlich um 12 Uhr mit der Analysis II Vorlesung. Ich freue mich auf den geregelten Unialltag, weniger aber auf den Stress der anfällt. Viel mehr aber freue ich mich auf die Leute :)
Allerdings soll in diesem Post auch mein Valenciakurzurlaub nicht unerwähnt bleiben.
Dienstag, 08.04.2008 - Anreise
Wir mussten zum Teil schon um 4 Uhr aufstehen, denn um 5 Uhr war die Abfahrt zum Airpark Baden-Karlsruhe geplant. Nach einer längeren Autofahrt kamen wir relativ früh dort an, sodass wir gemütlich frühstücken konnten (das 2. Mal :). Der Airpark überwältigte uns wegen seine Größe. Soviel ich in Erinnerung habe, besitzt jener satte 6 Gates - also ein Riese unter den Flughäfen.
Was ebenfalls noch erwähnt werden sollte ist, dass die Deutschen wohl mitunter die sinnloseste Sicherheitsbestimmungen haben. Alena konnte eine gefährliche Nagelfeile ohne Probleme in der Jackentasche durch den Detektor schleusen und ich musste hingegen sogar mein Gürtel ausziehen, worauf ich dem Personal entgegnete "Die Hose auch?".
Nach knappen 2h Flug landeten wir sicher in Valencia/Spanien. Den Tag nutzen wir effektiv aus, indem wir die Stadt besichtigten und zum Schluss in nur 30 Minuten (was dann aber knappe 3 Stunden waren, wegen einer Fehlkalkulation meinerseits :P) am Strand waren. Das Mittelmeer war arschkalt und nur die Härtesten, Stärksten in unseren Reihen trauten sich ins Wasser. Marco und ich schwammen nicht allzulang, jedoch lang genug, damit man die Kälte sogar ablesen konnte :D
Den Abend verbrachten wir in unserem genialen Hostel! Das Preis-Leistungs-Verhätlnis erfreut ein jedes Schwabenherz. Das internationale Publikum machte die ganze Sache umso interessanter, denn man unterhielt sich auf Englisch, sodass ich mein Englisch unter Realbedingungen mal testen konnte... I've to improve my english!
Mittwoch, 09.04.2008 - L'Oceanographic
An diesem Tag wollten wir die City of Arts and Science anschauen. Die Eindrücke kann man kaum in Worte fassen... einfach unglaublich. Architektonisch eine Meisterleistung und mit keinen Gebäuden aus Deutschland zu vergleichen... einfach unbeschreiblich.
Das L'Oceanographic ist eine Mischung aus Aquarium und Museum, welches ein gelungenes Konzept dar bietet. Die Delphinshow ist mit keiner zu vergleichen, der ich bisher beiwohnen durfte. Sie umfasste knappe 30 Minuten voller atemberaubenden Figuren!
Allerdings schauten wir an diesem Tag nicht nur das L'Oceanographic an, sondern saßen in einem IMAX-Kino. Schon allein das Gebäude ist - wie alle anderen Gebäude in der City of ARTS - ebenfalls imposant! Der Film war nur ein bisschen langweilig, denn einige von uns nickten während der Vorstellung einfach ein.
Direkt gegenüber lag ein großes Einkaufszentrum, in welchem wir für das Abendessen einkaufen wollten... ich habe noch nie solange für einen Einkauf gebraucht und soviel diskutiert. Das Ende vom Lied war, dass wir knappe 2 Stunden für dein Einkauf gebraucht haben und an der Kasse der Einwand kam, wir könnten doch einfach ein Fertiggericht nehmen. Wir waren alle ziemlich genervt, die einen mehr, die anderen weniger... und ich war sehr genervt!
Am Abend wollten wir eigentlich daheim bleiben, jedoch machten sich Desi, Antje, Ronald und ich noch mit welchen aus dem Hostel auf den Weg, das valencianische Nachtleben erkunden. Wir landeten dann in einem sehr... komischen Schuppen und fragten uns, wie die anderen auf solch eine Location gekommen sind. Allerdings war es eine Erfahrung!
Donnerstag, 10.04.2008 - Paella Valenciana
Leider kann ich mich an diesen Tag kaum erinnern. Vielleicht liegt es daran, dass ich mit diesem Tag eine negative Erinnerung in Verbindung bringe... Ahh genau, wir sahen uns einige Sehenswürdigkeiten an, wie zum Beispiel die riesen Markthalle. Marco und Alena kapselten sich dann ab, sodass wir Valencia mit 2 Gruppen erkundeten. Die einen sind zum Strand und wir haben Sight-Seeing gemacht.
Gegen Abend trafen wir uns dann alle, um gemeinsam zum Essen in ein Straßenrestaurant zu gehen. Ich habe noch NIE, ich wiederhole, noch NIE so mieserable äußere Umstände in einem Restaurant erlebt. Die Gläser waren total dreckig, das Essen miserabel und das Personal dermaßen inkompetent, dass es schon weh tut.
Einige beschwerten und weigerten sich, den kompletten Preis zu zahlen, was zu dem Ergebnis führte, dass wir ein Gericht nicht zahlen hätten müssen. Gut - ich wollte die Rechnung übernehmen, da ich noch genügend Bargeld dabei hatte.
Plötzlich steht die Bedienung mit ihrer Chefin neben mir und schreit mich auf spanisch an, wovon ich kein Wort verstanden habe... oh doch - ein Wort konnte ich heraushören - polica! "Gut, okay!" dachte ich mir, und bezahlte alle Gerichte. Wir mussten uns dann von der Bedienung anhören lassen, dass wir nicht nach Spanien kommen sollen, wenn wir die Sprache nicht könnten. Als ob dies nicht genügen würde, wurde ich weiterhin angeschrien. Wir flüchteten regelrecht und ich musste mir anhören lassen, warum ich denn den gesamten Betrag gezahlt habe... naja - daran sieht man, dass manche verschiedene Moralvorstellungen haben. Ein Erlebnis mehr... yeah!
Freitag, 11.04.2008 - Pascal allein in Valencia
Dieser Tag war für mich, neben dem zweiten Tag, wohl der Spannendste! Denn am Morgen mussten wir das Zimmer räumen. Danach machten sich Desi, Alena und Marco mit zwei anderen Deutschen aus unserem Hostel auf dem Weg zum Strand - Antje, Domi, Ronald und ich wollten die Stierkampfarena und den Botanischen Garten besichtigen. Als gemeinsamer Treffpunkt war der Strand ausgemacht, also wollten wir nachkommen. Gegen 14 Uhr wollte ich dann alleine zum Strand gehen, da die anderen noch zu einem anderen Garten wollten und ich keine Lust mehr verspürte.
Ich stieg zunächst in die falsche Metro ein und bemerkte es - zum Glück - relativ schnell. Da ich kein spanisch kann und es kaum Spanier gibt, die Englisch beherrschen war es ein echtes Erlebnis, alleine durch die Metro zu irren.
Jedoch kam ich bald am Strand an, doch niemand von uns war zu sehen. Ich spazierte alleine am Strand entlang und genoss die Ruhe und das Meer. Nach einer Stunde entschloss ich dann - da ich kein Handy hatte und mit niemand in Kontakt treten konnte - zum Hostel zurückzukehren und darauf zu hoffe, die anderen dort zu treffen. Mein Gefühl hat mich nicht enttäuscht und wir konnten noch ein paar Stunden im Hostel bleiben um dann mit der vorletzen Metro zum Flughafen zu fahren.
Freitag, 11.04.2008 - Abreise
Wir hatten die letze Nacht kein Hostel gebucht, weil wir uns entschlossen, die Nacht auf dem Flughafen zu verbringen. Jetzt kann ich endlich behaupten: "Hey, ich hab schon eine Nacht auf einem Flughafen übernachtet" :)
Domi, Antje und ich blieben wach, um auf unser Gepäck aufzupassen. Domi und ich machten zur jeden vollen Stunde einen Rundgang, um das Gelände zu observieren!
Um 6:50 Uhr ging dann der Flug in Richtung Heimant, wo uns ein Stau auf der A8 erwartete... um 13 Uhr war ich dann endgültig in Ulm.
Fazit
Ein absolut genialer Urlaub mit super Wetter! Obwohl es den ein oder anderen Zeitpunkt gab, der mir die Nerven geraubt haben, war unsere Gruppe doch recht harmonisch. Soviel erlebt in so kurzer Zeit... deshalb kann es gut sein, dass ich hier viel vergessen habe! Bilder gibt es bald im StudiVZ!
current song: Jack Johnson - All at once
Edit: Achja, ich bin auch um ein Jahr gealtert... man bin ich jetzt alt -.-
DJ 55 Fun, next big thing, really. Tritt bestimmt nach der Karriere als Gitarrist bei der Bundeswehr bald bei The Dome etc. auf. Man beachte den ausgefeilten Melodieverlauf und die rhythmischen Wendungen. (Zu viel Zeit beim Bund? Neee…)
The latest and greatest Wordpress (2.5) runs this show. Keine spektakulären Änderungen festzustellen, das Admin-Interface ist nicht mehr ganz so nervig.
Safari unter Vista ist gar nicht so schlecht, wurde mir mit dem letzten iTunes-Update untergeshoben. Eyecandy ftw, bisher auch ziemlich stabil und kein RAM-Fresser wie der FF.
Schade, dass es keine Siemens-Handys mehr gibt… Ich hab meinen alten totgeflashten SK65-Prügel mit viel Bastelei, Dioden und Widerständen wieder reanimiert. Läuft einfach besser und schneller als die Symbian-Kacke, wenn auch natürlich nicht mit so vielen Features. Spiele grad mit dem Gedanken, mir einen chinesischen iPhone-Klon zu kaufen (z.B. das CECT 599)…
Jetzt sind meine Daumengelenke verschlissen. Tippen auf dem E61 macht doch nicht so viel Spaß.
Gesammelte Werke der Stufe 13. Ein alternativer Planet mit mehr Usern findet sich unter http://chneukirchen.org/wgabi2007.



