sugree's blog

AllPeers in Ubuntu Dapper #1

Hooray! After waiting for so long, I got my activation code for AllPeers. This is news of the day for me. I would like to try it out right now. The version that I tried is AllPeers Beta 0.39. I choosed Linux 32-bit with libstdc++ version 6 that is default for my Dapper box. Installation went fine and next to restart to activate the installation.

Result of Fighting back SPAM

It has been about 2 weeks since I turned on [spam v2][1] in this site to [fight back SPAM][2]. I just want to report the success of this action. After the installation, the module worked intelligently to unpublish lots of comment SPAMs everyday without any training for a few days. By the way, it turned out that SPAMers changed their patterns so the module could not classify them as SPAM correctly. So I manually marked 4 comments

Advanced Recording X Window and Audio via VNC

Now I know about ffmpeg with x11grab patch, xvidcap, and ScreenKast. From all these three alternatives, ScreenKast is the best one in feature comparison. By the way, it is totally based on KDE while my desktop is GNOME. I don't want to run KDE application in GNOME environment because I have to waste lots of main memory to hold 2 low-level desktop interface.

Open Source YouTube

Everyone knows what or is. Most of them might use to waste a period of time in this kind of service. I'm one of them. I also wonder how it works. Technically, upload video service like YouTube and Google Video is very similar in underlying technology. In particular, all uploaded videos are automatically converted to Flash Video or FLV. The FLVs are stored in the file server. However, the FLVs is nevered shown directly on your browser. Instead, the FLVs are played inside Flash Video Player written in Flash itself. As a result, you can view a video immediately after getting only some part of the full-length video. In other words, Flash Video Player and FLV are the best couple for on-demand video streaming.

If you think it is too complex and too difficult to implement XXXTube by yourself, I will summarize everything you need to know and to have.

  1. You need a Flash Video Player,
  2. Uploading system,
  3. Video conversion system,
  4. Big storage and
  5. Bandwidth

Generate technorati tag with Interwiki

One reason that I like Post2Blog is the way of link creation, especially tag link, e.g. Technorati and Wikipedia. This functionality is not available in Firefox yet or Drupal yet. So I have to find a good replacement and finally I found Interwiki module. Anyway, this module doesn't support Technorati tag in nature but there is a patch to make it support rel attribute. However, that patch can't be applied against latest code in CVS due to new form api in Drupal 4.7 and lots more (Interwiki is a bit old). Luckily, everything is opensource so I patched them manually. My patch is posted here.

Web Application and SELinux

One of my friend would like to set up a personal web for controlling BTQueue backend through web interface using PHPBTque. It is a good idea in case of you don't like ssh and command line. Unfortunately, he got some weird problem like "permission denied (13)". This error message was not ejected by BTQueue for sure. So where it came from is the key to fix this problem. Since the system he is running is Fedora Core 5, I guessed it should be SELinux and it is. SELinux is great in security but it is very difficult and too complicate to configure in general purpose server. Usually, I disabled SELinux in my all FC instances. By the way, other may like SELinux enough to configure SELinux for maximum security.