When I signed in this morning Micha greets me with his status of eliminating the first pot of coffee. Very interesting… So we decided to start twittering ;)
I already registered an account about ten months ago, just to see how it works, but now I’ll try to show some activity and tweet a lot of boring things..
First of all I developed a little script that tweets my messaged via curl:
Just call it with your message, it will ask for a passphrase to your account.. Just download it and use it like
./tweet.sh yeah it works .
And of course I’ve written a script that dumps all news to my console. To parse the XML I’m using Perl:
A little bit more code, but easy to use! Just download and run it with
./twitstat.pl [MAX_NUMBER_OF_TWEETS] . (You may need some additional Perl libs)
So let’s see how long I keep going on.. You can follow me at http://twitter.com/binfalse
I often check what our canteen offer for lunch before we leave our building. The website that presents this portfolio is one of the worst I’ve ever seen and meanwhile I noticed that my private walking Mensa planer has still some bugs, so I had to think about an alternative solution and developed a little Perl script…
My initial idea was to read the website, parse the XML code and print the meals. Not a bit of it! The code of this site is nothing like valid! They invent new tags I’ve never heard about, they close nowhere opened paragraphs or table cells, I do not find the html-closing tag (the document ends with closing it’s body) and so on… It’s to much to mention all it’s unique features, but let me blame the producer: Peinhardt IT Systeme. Seems to be professionals… (A notice has left my mailbox, looking forward to their answer)
How ever, XML parsing fails, solving the bugs also fails, to much of it… So I’m now just grabbing the HTML-code, to extract the interesting content, with a more or less ugly regex, and print them to console… Here is the code:
So if somebody is also joining the Mensa Weinberg, you can copy this code or download it.
The other canteens are also available, just change the value of the variable
$mensa to your preferred one. The numbers can be found in the source code of this stupid website. Ok, to save you from trouble here are the numbers:
- Cafeteria Brandbergweg
- Cafeteria Burg
- Mensa Bernburg
- Mensa Dessau
- Mensa Franckesche Stiftungen
- Mensa Harz
- Mensa Köthen
- Mensa Neuwerk
- Mensa Tulpe
- Mensa Weinberg
Well, that’s it! Now you can decide within seconds whether it’s worthy to go to lunch or better stay hungry ;)
On Tuesday I went to Penny to buy some usual stuff. This week they also offered digital microscopes. One was left, so I had to purchase!
I did not expect any great hardware, but I’m astonished! First because it works on my sidux without any driver or manual work, just had to connect it to my USB port! And secondly I did not thought that 200 times magnification is such a high zoom rate..
How ever, I already had a lot of fun with it and prepared a puzzle. Here are some zoomed images and you can try to guess where it came from. Suggestions can be posted via comment, those of you who found a right solutions are invited to drink a beer with me ;)
An easy one to start…
Solution: Wood guessed by Martin S.
You use it nearly every day, don’t you!?
Solution: Backside of a German Euro coin guessed by Martin S.
Girls have to know it :P
Solution: Paper Towels guessed by Michael Rennecke
Maybe you’ll find it in your office…
Solution: Ball pen guessed by Martin S.
Not mine, but nevertheless very nice ;)
Solution: Watch guessed by Martin S.
(Unfortunately it’s Maria’s, I don’t have a real image of it yet… Comming soon)
If you can directly tell me where it comes from I’m impressed!
Solution: Novell animal guessed by Maria
Nice and old one! We use it to decrease the noise.
Solution: Mousepad guessed by Martin S.
Teachers may know it.
Solution: Whiteboard marker guessed by Michael Rennecke and Christoph R.
It’s a small zoom rate and very easy, but it looks nice.
Solution: DVI-Connector guessed by Michael Rennecke
Done with a tool from previous image.
Solution: Painted Whiteboard guessed by Michael Rennecke
(Unfortunately with a hint…)
It’s a mini computer.
Solution: Chipcard chip guessed by Martin S.
I don’t really like it, maybe I’m the only one who doesn’t…
Solution: Sugar guessed by Christoph R.
Also easy I think..
Solution: Screw guessed by Norman
Solution: Ammo for stapler gun guessed by Martin S.
From the refrigerator.
Solution: Sausage guessed by Steffi
You are using it at the moment! Thanks to Rumpel!
Solution: (Mona Lisa) Harddrive guessed by Michael Rennecke
At least one of it is actually running in every bigger machine.
Solution: Fan guessed by Michael Rennecke
Ok, thats difficult, I’m wondering if anyone can find the right answer. I’ve already blogged about it…
Solution: Look through a SUN-Ray guessed by Michael Rennecke
Small zoom and simple to guess.
Solution: Crinkled cardboard guessed by Martin S.
Also for teachers.
Solution: Chalk guessed by Martin S.
Sportsmen know such things.
Solution: Rumpel’s scab ;) guessed by Martin S.
You’ll find one in nearly every office.
Solution: Pencil guessed by Christoph R.
Also not mine ;)
Solution: Shaved beard guessed by Michael Rennecke
Mmmh, disgusting, isn’t it?
Solution: Kiwi guessed by Maria and Norman
Also disgusting I think.
Solution: Dried Strawberry guessed by Maria
Germans should know it!
Solution: Print media guessed by Martin S.
(Wow, c’t identified! It’s written on the CD)
Oh nice colors.
Solution: Display guessed by Martin S.
Something like a kaleidoscope?
Solution: Condensed water guessed by Michael Rennecke
Mmh, that is tasty, ask your doc!
Solution: Apple stem guessed by Maria
Yes, that is mine!
Solution: Unshaved beard guessed by Michael Rennecke
Tomorrow I’ll provide some more images, but not for puzzling because to some of the images I don’t have a right solution or I don’t know an exact name. So be patient ;)
Update: As promised the album.
Ubuntu, you all should know, isn’t my preferred operating system. It’s very nice for linux beginners and may decrease some manual work at private machines, but when I’ve heard about the actual bug I’m very confused why we still have to use Ubuntu in our PC pools and why some work groups are emphatic about this system and why we have to administrate their server and local machines with Ubuntu.
I’m still wondering why simple users in Ubuntu systems can out of the box read all log files or the shadow.. That is not that kind of security I’m dreaming about ;)
The actual bug is very simple (via):
Now you’ve owned the shadow file and you are able to modify roots pass phrase! It’s just too easy…
By the way I tried it by myself and got a funny message:
And my friend Rumpel also tried this exploit and after lunch I just heard him saying
fuck, bolted out, by my self...
not able to disable his screensaver. Maybe he changed a little bit to much in his shadow file!? ;)
Fortunately the patch is released, so have a lot of fun while updating your systems. You should reboot after the update, otherwise the bug is still enabled…
The last few days my feeds were out of date. I manage them with Google’s solution called feedburner, you may have recognized it.
It seems that the developer of this project changed some stuff, anyway, they did not actualize my feeds. The last days (or weeks) I did not had the time to care about, but today I found some minutes.
When I tried to resync my feeds manually I got this nice red error (see also the picture):
There is an issue that must be addressed with your source feed for the feed "binfalse" sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This is caused by my Apache redirect directive that redirects all visitors looking for an insecure URL at port 80 to my SSL encrypted content at port 443:
So you see I’m caring about security ;)
This method works for a long time, but now feedburner tries to verify the certs and because of a lack of money I signed my certs by myself. So feedburner denies the access and doesn’t reread my own feeds to update its database. To repair this problem I’m just redirecting my real content and not the feeds, so feedburner is happy and why should I care about the secure connection of feedburner to my site..
Nevertheless it is not my preferred solution.