Monday 28 February 2011

cloud store

Looking for a cloud store with webdav support.
box.net webdav
git backup

Ubuntu mount webdav

Sunday 27 February 2011

Simpledb

Decided to modify sdb.php to add new method to return XML from select call. Then xslt transform to format suitable for dojo data source.

Thursday 24 February 2011

Places

Doing some work on the Kerala website. ...
The plan:
  1. Update to dojo 1.5
  2. refresh design
  3. extract common components
  4. create new Napflio site.


Tuesday 22 February 2011

AWS Free Usage Tier

The deal. My experience matches @turutosiya although the bill is only $0.01 so far. 
I will try: Reducing Disk IO By Mounting Partitions With noatime


Monday 21 February 2011

simpledb

Making some progress on php timestamps
microtime at stackoverflow
but beginning to think  sdb.php  is not the way to go. relay.php more complicated but better fit? Or this

Friday 18 February 2011

playlist

Search now working on title and artist...


Looking at using amazon simple db

Nice set of examples
I was  getting error:

Warning:  SimpleDB::putAttributes(): 60 error setting certificate verify locations:
  CAfile: /usr/share/curl/curl-ca-bundle.crt
  CApath: none
 in /c/website/playlists-0.5/login/sdb.php on line 838

The solution is to turn off verify
// create connection
 $sdb = new SimpleDB(awsAccessKey, awsSecretKey);  
 // apb for readynas
 $sdb->enableVerifyHost(false);
 $sdb->enableVerifyPeer(false);



Thursday 17 February 2011

Eclipse settings for xmlcalabash

main class:
com.xmlcalabash.drivers.Main

Program Arguments
-Eorg.apache.xml.resolver.tools.CatalogResolver
-Uorg.apache.xml.resolver.tools.CatalogResolver
"file:/${resource_loc}"

VM arguments
-Xms1024m -Xmx1024m
-Dcom.xmlcalabash.phonehome=false

classpath:
resolver.jar
tagsoup
metadata-extractor

Tuesday 15 February 2011

Tuesday

For later: How to format time in php, and location from ip
Adding php and microseconds


$now = microtime();
$date = date("Y-m-d\tH:i:s\.u", $now);
echo $date;


Sunday 13 February 2011

Playlist

Partial fix for css cloud issue. Start of widget for logging.

Wednesday 9 February 2011

progress

Changed the hash tag addressing for tracks from: the filepath key to a playlist and track number scheme. This fixes a bug where tracks appearing in more than one playlist did not display e.g:
HOT POTATOE Siren, kevin coyne Strange Locomotion

now #view=track;playlist=ab-ad4;track=13 and #view=track;playlist=ab-ad7;track=1

Remaining bugs
  • Why does search for kevin only return 2 of the 4 hits. 
  • Why multiple toasters?
  • The  Neil Young & Crazy Horse problem

Tuesday 8 February 2011

Using Musicdata APIs

Investigating music APIs. Looking at musicbrainz, discogs and dbpedia.

discogs

http://dev.exil.org/DiscogsApiXmlSchema.html

dbpedia

sparql for dbpedia
http://www.semanticoverflow.com/questions/3031/are-dbpedia-classes-in-the-http-dbpedia-org-resource-namespace-deprecated

http://labrosa.ee.columbia.edu/millionsong/

Thursday 3 February 2011

Wednesday 2 February 2011

Gadget shopping

Got a new battery for Laptop.
Laptop 1 of 6-cell Li-ion 10.80V 4400mAh High Quality Laptop Battery.
 Capacity shows 91.1%. Should that be 100%?


Also replacing Linksys router as it keeps dropping out.

Got a  TP-Link TD-W8960N

and matching wifi USB
TP-Link TL-WN821N
Wireless-not working with ubuntu 
Update drivers