I like last.fm, I like Pandora and now there’s a way to combine those two. For those of you who might not know pandora check out their site. A very worthily effort to tag music with the results of a style analysis done by professional musicians. They provide a radio service similar to the radio system in last.fm just with the difference that the music played is not influenced by recommendations but by the analysis results of pandora. Works very good after entering some favourite tracks the pandora radio plays a lot of nice music.
Anyway, a guy at Audioscrobbler forums recently presented a way to submit the music heard on pandora to last.fm. To try it out simply go to http://pandorafm.real-ity.com/. You can even download the source from that site and run a server on your own.
Archive for October, 2006
Pandora and last.fm
Friday, October 27th, 2006I neeeeed this one!
Thursday, October 26th, 2006Standalone MP3, WMA, Ogg and even Internet radio Streams via WLAN. Additionally a veerry smooth design…
Santa, please bring me a Squeezebox!
It’s all about stereotypes
Thursday, October 26th, 2006Although I hate it if my country is narrowed to Weisswurst, Bier and Schuhplattler i had to post this one. Class A commercial with one of the best Neue Deutsche Welle cover version i’ve ever heard
Zend Framework in subdirs
Wednesday, October 18th, 2006It took me some time to find this out so maybe it’s useful for you aswell…
I went through the very good tutorial written by Chris Shiflett concerning Zend Framework and was confontend with a little problem. Everything worked fine except the redirection by the Controller objects, I always was redirected to the noRouteAction. The problem is that I installed the application in a vhost subdirectory (http://devserver/subdir/) and it kept redirecting me to the server root. To “fix” this issue one have to make use of the Zend_Controller_RewriteRouter class. The following code snippet shows the usage:
< ?php
include 'Zend.php';
Zend::loadClass('Zend_Controller_Front');
Zend::loadClass('Zend_Controller_RewriteRouter');
$controller = Zend_Controller_Front::getInstance();
$controller->setControllerDirectory(
'/path/to/controller_classes');
Zend::register('controller', $controller);
$router = new Zend_Controller_RewriteRouter();
$controller->setRouter($router);
$controller->dispatch();
?>
Zend Framework
Wednesday, October 18th, 2006I dealt with PHP first time since ages the last days and did some evaluation work on frameworks. The most promising candidate for future projects is the Zend Framework of which a first stable release is expected during the next weeks.
Most important feature is a MVC implementaion which looks quite similar to Struts. Other neat little features include PDF creation, XMLRPC support, RSS feed handling and many more. The most exciting thing with Zend Framework is the very flexible and “non-invasive” integration opportunity. All features are based on a “can do” basis and it seems to be very easy to integrate 3rd party modules. E.g. integration of Smarty tpl engine and Propel O/R mapping is done in no time (Howtos can be found here and here). I can’t wait for the stable release to come and I’ll definitely give it a try for some upcoming projects. Looks like this could become a Spring for PHP…
Integrate PostgreSQL Data Source in Websphere Application Server
Thursday, October 12th, 2006A quite unusual configuration but this short guidance might be useful for some persons (like me):
- Open Integrated Solution Console
- Navigate to “Resources -> JDBC -> JDBC Providers”
- Select the right scope for your application
- Click “New”
- Select “User-defined” from “Database Type” dropdown
- Insert “org.postgresql.ds.PGConnectionPoolDataSource” at “Implementation class name” field
- Provide a name and a descriotion of your choice and click “next”
- If you haven’t done so before download the JDBC Driver from http://jdbc.postgresql.org/download.html which suits your needs (should be JDBC3 driver for your DB version) and save it at some local library path (e.g. {WAS_HOME}/lib)
- Insert the path and jar file name in the next dialog, click “next” and “finish” afterwards
- Navigate to “Resources -> JDBC -> Data sources”
- Again select the right scope and click “new”
- Provide a Data source and a jndi name (e.g. jdbc/myPGdb)
- On step 2 dialog select your already created JDBC provider
- Just leave step 3 at default values and finish creation, that’s it!
Tested on Websphere Application Server 6.1