freaking code code code … I wish I knew what I was doing wrong ?

29Nov/091

Popcorn hour C200

I got my new media streamer today: the popcorn hour C200.

I'm streaming all content from a windows home server (I've iso-ed all the kids movies - mostly to protect them since they will get scratched) from where I stream the iso and avi files through the C200. admittedly I've only had the device 1 hour but I noticed (or rather my daughter did) that the streaming (via SMB) can halt from time to time (I'm still finding out why), I think this has to do with the CPU load on the WHS machine, it seems to spike from time to time and judging from the network traffic from the WHS machine it seems to dip inline with CPU load ...

Update: I've been using the PCH for some time now and I'm really happy, the quality is great and its very easy to use, the remote control is radio based, so no line-of-sight is needed, which means I've put the device in a closed cabinet (I don't have  HDD or blu-ray player so the device doesn't get too hot and I don't need to access it).

I've also figured out that the YAMJ (Yet Another Media Library) is a great tool to show the kids movie collection ...  so I've spend the last week/weekend to encode all the 70+ kids DVDs to ISO and get the album art correct, but the result is fantastic !!

Update: the best tool to copy your DVDs from DVD to ISO: anyDVD ... Nero also does a good job. If you really need to convert it to a AVI/MKV format (or the likes), use FairUse, its one of the few tools where I get a consistently playable file (i.e. playable on the kids Archos' devices)

22Nov/090

Securing wordpress blogs for home/family use

So I've been trying to secure my family blog (blog.hilbrink.org) ... my sister (and others) have expressed concerns that the content is a little too private, more so since the various kids are mentioned on the blog. So I looked into the problem and found and "Authenticator" plugin (link - its in german), it basically redirect anybody who wants to view the blog to a login page.

its good to make a littel change to the plugin though, arrond line 20 I replaced:

header('Location: ' . get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode($_SERVER['REQUEST_URI']));

with

header('Location: ' . get_option('siteurl') . '/wp-login.php?redirect_to=index.php');<br />

This way it puts the main blog site infront of the user once they are logged in. At the same time I'm allowing people to register themselves (but I get notified) and I'm planning to put a whitelist of sort in place to avoid people logging from gmail and hotmail accounts (since there are not linked to ADSL accounts they are much harder to vet when it comes to abuse).

22Nov/090

bluewin TV Box

Interesting, I started a port scanner from my mac (stroke) and I found two ports (8080 and 8086) and then the box reset itself in an infinite loop ... hmmm, then i tried to use firefox to connect to port 8080 (after it came back up again) and the rental movie that played on TV stopped and all sound went away.
Apart from some angry noises from my daughter it all seems to work fine now but it almost looks like there is some build in security (ping-ing the box is fine, not disturbance)

17Nov/090

VMware Sizing

Found this article / presentation on VMware sizing of IBM server (x-series) equipment:

  • download3.vmware.com/vmworld/2006/tac4057.pdf

basically it seems that on a loaded (X3850M2 with maxed-out memory (128 or 256) the system is CPU constraint. I think you can run over 40 VMs on such a box without interference (24 cores)

16Nov/090

Quad Core on a P5B

The weekend project ... how to update my ASUS P5B (dual core 2.6Ghz) to a Quad-core (Q9550) ... here's what i did

  • change the CPU, reboot the machine  (windows 7 - 64 bit)
  • forget the thermal paste and don't notice it
  • after a heavy session of DVD conversion (24 hour) I finally installed a CPU temperature monitor ... oops almost 100 degrees for the last 24 hours ... I guess the Intel chips can handle it :-)
  • buy thermal paste and shutdown the machine
  • apply the past and reboot  ==> system won't reboot
  • utter a few words in Dutch, French and English ... try again ... still no luck ==> Panic, think about the financial crisis and how you might just have to contributed to it (in a positive way ...)
  • Finally notice that your memmory is running at 675 Mhz (odd number !), the systems board at 333 Mhz and the multiplier is 8.5 ... so by reducing the systems board to 270 the memory (2.5 x 270 = 675) but the machine is running a little slower 8.5 x 270 = 2.2 Ghz
  • be happy that you don't have to explain this little stupid stunt to your financial controller ... 
  • buy new 800 Mhz DDR2 memory ... this is for next week
10Nov/090

Ruby Soap Client

Now I'm playing with soap calls (to the webservices of Akamai and Limelight) from a ruby program. Here are some note on using SOAP Webservices with RUBY (as a client):

  • install soap4r (link) - or simply type 'sudo gem install soap4r'
  • install http-access2 (link) - I've noted that the gem install of soap4r also installs the httpclient
  • example: a good article can be found on Brendon Wilson's blog (link)

more to come

Tagged as: , , No Comments
2Nov/093

Adobe log format vs. Limelight Flash Log Format

For my information: the limelight flash log file format is almost the same as the flash media player 3.5 log format (the last fields have no equivalence in the LUX log format.) for the adobe log format see: link

after the break there is a full table and I've added a zero-based index number (easier to parse the logs). as a final note: the LUX log is tab delimited so its easy to split it :-)