Category Archives: defauBlog 2

Closing time – once again :)

I’ll finally do it. I’ll move this blog to m@rk’s great spaces platform! I’ve explained the reasons for this in (I think) great detail here. Boom! There it is.

That said, let me wrap this up by saying THANK YOU! Thank you for following this blog, thank you for your comments, thank you for all advice on how to improve this blog, thank you for your feedback. I really hope you continue to enjoy my posts, the funny stuff I found in the depths of the WWW, my restaurant reviews (will-be-coming-soon™), my thoughts about programming, code poetry and web technologies and what ever I’ll be posting 😀

During the next few days/weeks, I’ll be merging all posts and comments from this blog to the new one, so don’t be surprised when you found lots of old crap over there. I don’t want to launch a new blog but instead really move and transform this one.

Oh. Almost forgot: Please update your bookmarks!

The “new” blog can be found here: http://spaces.nordblog.net/defaude/
The RSS feed is: http://spaces.nordblog.net/defaude/feed/

Random bullshit before christmas

First of all: I love this cap: http://www.engrish.com/2010/12/extra-chuuse-pleuse/

Then: I also loved this windbag:

And finally: I really love it when I – eventually – get in the mood for the holidays! Merry Christmas to all of you (wow, this sounds so cheesy…)!

Some promised pictures

Because I took so long since my last real post, here are some facts and some pics! First the facts:

  • Moved to the new appartment
  • Had some exhausting weeks at work (but liked it)
  • Went to Croatia for holidays (that’s where I am right now – and maybe I only find the time for posting this because I’m so far away from home, from the job etc. 😉 )

And now, some random pics:

WPTouch rocks!

As some of you might know, I installed the WPTouch plugin to make the site easier to read on mobile phones. While this is awesome enough to praise it, it now has a very cool feature that allows people to send me free live messages to my phone directly from my site 😎 So if you happen to be reading this from a mobile phone, you can click on the “Message” button at the top to get to a form for sending me instant messages:

New highslide-integration plugin

Yaay! After months years of waiting, the highslide-integration plugin I’m using here finally got a major update. The new unobtrusive way the JavaScript magic is now done rocks!

The old version hooked into the image uploading dialog of the post creation page to apply the “highslide” CSS class and the JavaScript onclick event to all thumbnails in content. That automatically lead to the unattractive situation that this purely technical, not-content-related class=”highslide” onclick=”hs.expand(this); return false;” got saved to the database instead of applying the class dynamically via jQery when the document loaded in the browser. That had the big drawback that this information would stay inside the content – even if I decided to exchange the plugin or maybe the JavaScript library itself! Another issue was that this hook only worked for single images but not for galleries because they are generated from a magic tag… I worked around this by writing my own small hack that actually used jQuery and Marc’s header-include plugin to attach the stuff from above to each image in the generated gallery. Back then, I contacted Christoph, the creator of the highslide-integration plugin, and proposed my way of doing it as a completely new approach for the whole plugin and that he could get rid of all that hooking into the actual blogging / content thing. He reacted really cool and friendly and thanked me for this idea. Unfortunately, he seems to be busy as hell, too, so the release of the new version with the new way of doing it was nowhere to be seen. 😉

However, since highslide.js has cool gallery features, I always wanted to improve or re-write my hack so that the viewer can navigate through all images of a given post at once (and also preloading speeds up the experience!!) I knew all along that it might not be a big deal, frankly, but I just never found the damn time to actually DO IT. Anyways, the new plugin is now out and all’s well, finally 😀 But still I had to customize it, again, mostly because I’m a dumb fuck that enjoys coding more than sleeping… :mrgreen:

Zebrahead

Just came home from the Zebrahead concert here in Munich and it was totally rad :mrgreen: Wanted to let you folks know that I’m still alive and kicking. I promise to get better about having my blog more up-to-date! Will upload the pictures from Shiho’s and Freddy’s visit soon, promised! But for know I gotta get some sleep for I gotta get up in roughly six hours… 😀

PS: Have I mentioned that my job rocks? Well, it does! 😎

Testing the syntax highlighting

Just installed a new plugin and want to test it. And what could be better than testing it in several programming languages at once?

# Language: Ruby
# This is so cool because it demonstrates how the String class itself gets opened and augmented
class String
     def say
         puts self
     end
 end
 'Hello, world!'.say
Language: Brainfuck
This is just weird (but funny!)
++++++++++[>+++++++>++++++++++>+++>+<<<<-]
>++.>+.+++++++..+++.>++.<<+++++++++++++++.
>.+++.------.--------.>+.>.
// Language: Objective-C
/*
Hmm... I don't really like this language but it's amazing that most parts
of Snow Leopard, Apple's latest operating system is written in this one
(or at least I think so)
*/
#import <stdio.h>
#import <objc/Object.h> 
 
@interface Hello : Object
{
}
- hello;
@end 
 
@implementation Hello
- hello
{
   printf("Hello, world!\n");
}
@end 
 
int main(void)
{
   id obj;
   obj = [Hello new];
   [obj hello];
   [obj free];
   return 0;
}
// Language: JAVA
// A classic
 public class HelloWorld
 {
      public static void main(String[] args) 
      {
           System.out.println("Hello, world!");
      }
 }
// Language: C#
// Looks almost like JAVA, feels kind of like JAVA, has a really bad IDE - in contrast to JAVA
class HelloWorldApp
{
    static void Main()
    {
        System.Console.WriteLine("Hello, world!");
    }
}
// Language: C
// What should I say? Almost everyone learns programming here!
 #include <stdio .h>
 
 int main(void)
 {
    printf("Hello, world!\n");
    return 0;
 }

Deactivated the old blogs

Alright. It’s done! My old blogs are finally down. The whole content is included in this one already and so I finally deleted the old, now redundant, wordpress installations and databases. http://defaude.info will – for the time being – just display a small message pointing to this blog. Just FYI 🙂

This is just another test of the trackback feature

So don’t really care about this post 😀 But if you happen to have your own wordpress-based blog, just pingback to this post by putting a link to https://blog.defaude.info/2009/10/this-is-just-another-test-of-the-trackback-feature/ directly into the content of one of your posts or by explicitly linking to https://blog.defaude.info/2009/10/this-is-just-another-test-of-the-trackback-feature/trackback/ in the “Send Trackbacks” field in the edit form.

Move complete

As I mentioned once and twice, I’ve been moving the pictures from the old blogging systems to this new, unified one. During this process, I realized that finally the pingback and trackback feature seems to work! (Me and this feature have had quite some differences in the past…) Anyways, the move’s complete now and all posts, pictures, videos etc. should be up and running! All kinds of uploads should either be located at http://defaude.info/wordpress/uploads/etc or be hosted at Google’s picture service Picasa. If you stumble upon an anomaly, please let me know 🙂