Lifeblogimage


Es kann so hart sein

This is a lifeblog post.

-> Displays adsense ads

-> keeps spam out of my comments

-> Embeds MP3 files with a nice flash player interface

-> helps to embed videos from various sites (youtube, google video, …)

-> Adds the ability to create votes in my posts

-> creates sitemaps for better indexation thourgh google

-> notifies me though jabber when a new comment is added to one of my posts

-> I once embedded a quicktime video into my blog. These are the remains (nice for e.g. movie trailers.)

-> lots of statistics in your blog admin interface

-> makes adding tags more easy

-> adds the nifty digg, stumbleupon, mrwong … buttons at the end of posts

-> allows users who commented to something to receive an email when someone else commented on that post

-> transforms stuff like "1 slash 2"; into 1/2

-> "1 click"; wordpress update

-> whenever you're too lazy to use phpmyadmin

-> hmm… don't really remember when I used that one :) But apparently "This plugin eases insertion of Jeroen Wijerings FLV Video Player";

-> the little stars you can use to rate posts

-> "The wpSEO plugin rewrites your blog title, META-description, META-keywords and META-robots so these are more user and search engine friendly.";

-> That's what I use to embed my GPS traces (.gpx/.kml files)

Lifeblogimage


Ich habs gegessen… Mal schauen was nun passiert

This is a lifeblog post.

http://en.wikipedia.org/wiki/Magic_SysRq_key

The magic SysRq key is a key combination in the Linux kernel which allows the user to perform various low level commands regardless of the system's state using the SysRq key. It is often used to recover from freezes, or to reboot a computer without corrupting the filesystem.


Magic commands:

The key combination consists of Alt, SysRq and another key, which controls the command issued:
0 through 9 sets the console log level, which controls the types of kernel messages that are output to the console.


Example (Emergency Reboot):



  1. Alt + SysRq + R – takes the keyboard out of raw mode.

  2. Alt + SysRq + E – terminates all processes (except init).

  3. Alt + SysRq + I – kills all processes (except init).

  4. Alt + SysRq + S – synchronizes the disk.

  5. Alt + SysRq + U – remounts all filesystems read-only.

  6. Alt + SysRq + B – reboots the machine.

Here's an overview of the possible keys and their actions:

Pretty nifty thing.

Current coral usage


Picture: Currently working Coral Clusters (more maps over here)

If you have a page and are about to be hit by millions of requests (e.g. the slashdot effect), coral cache could be your webservers last solution.

Simply append ".nyud.net:8080"; to the URL (e.g. http://blog.marc-seeger.de.nyud.net:8080) and the distributed coral cache network will "copy"; the page and it will be able to take the load of your server.

From their homepage:

CoralCDN is a decentralized, self-organizing, peer-to-peer web-content distribution network. CoralCDN leverages the aggregate bandwidth of volunteers running the software to absorb and dissipate most of the traffic for web sites using the system. In so doing, CoralCDN replicates content in proportion to the content's popularity, regardless of the publisher's resources—-in effect democratizing content publication.


You might ask yourself "how can this help my server, people will still go directly to my domain!";. The answer can be found in the coral cdn wiki.

you could e.g. use mod_rewrite and use this nifty rule:

RewriteEngine on

RewriteCond %{HTTP_USER_AGENT} !^CoralWebPrx

RewriteCond %{QUERY_STRING} !(^|&)coral-no-serve$

RewriteRule ^/images/foo(.*)$ http://foo.bar.nyud.net:8080/images/foo$1 [R,L]


You could also rewrite inline links, such as for images, to have Coralized absolute URLs.

Updated my blog to the current v 2.2… didn't even damage something this time :)