Monday, 28 February 2011
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:
The plan:
- Update to dojo 1.5
- refresh design
- extract common components
- 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
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
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...
I was getting error:
Looking at using amazon simple db
Nice set of examplesI 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 838The 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
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
- Fixed search (which was broken by last set of changes)
- Found nice dojo widget tutorial
- Upgraded Amazon SimpleDB PHP Class to version 0.81
Adding php and microseconds
$now = microtime(); $date = date("Y-m-d\tH:i:s\.u", $now); echo $date;
Sunday, 13 February 2011
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
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.
http://www.semanticoverflow.com/questions/3031/are-dbpedia-classes-in-the-http-dbpedia-org-resource-namespace-deprecated
http://labrosa.ee.columbia.edu/millionsong/
discogs
http://dev.exil.org/DiscogsApiXmlSchema.htmldbpedia
sparql for dbpediahttp://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
playlist search
added search widget, not working. new css
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
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
Subscribe to:
Posts (Atom)