Archive for the ‘Computer Programming’ Category

Browsing iTunesU without intalling iTunes

The problem
More and more universities publish courses as podcasts on iTunesU and neglect to give a direct access to their content. This hinders sharing of knowledge, because of the obligatory Apple’s iTunes application needed to access iTunesU.
The solution
Emulating the iTunes client: the script can be tested at
http://www2.unil.ch/itunesu/index.groovy?handle=[itunesU url]
It only needs the url which would open [...]

Slowness with localhost on Vista and seaside/squeak in firefox

While testing seaside when loading the pages locally in firefox I had a long delay. After some digging,
it turns out that the slowness is caused by an IPv6 issue with DNS and can easily be resolved by turning IPv6 support off in Firefox while doing localhost testing. To make the change, type about:config in [...]

Think you know JAVA?

Think again!
Advanced Topics in Programming Languages: Java Puzzlers, Episode VI – Google Tech Talks July 23, 2007

Many other interesting talks at: Google Video Tech Talks

amfPHP & PHP 5.2.2 solved!

After upgrading php to version 5.2.2 amfPHP or cakeamfphp stopped working!
Thankfully i found a quick fix on sourceforge
sourceforge.net
You only need to add this code at the top of gateway.php

if (!isset($HTTP_RAW_POST_DATA)){
$HTTP_RAW_POST_DATA = file_get_contents(‘php://input’);
}