musiXmatch API library for NodeJS

I’ve just published my first NPM package, and it’s called musixmatch. With this library you can easily use the musiXmatch API with a few lines of javascript. Install it with NPM:

»
Author's profile picture Andrea Franz

web-app-theme 0.6.1 for rails 3

The new version of web-app-theme finally supports Rails 3. Check out the repository on github. It also supports Haml template generation using html2haml, like devise does.

UPDATE: the version 0.6.2 fixes a bug in the Haml generation when you use form_for blocks.

»
Author's profile picture Andrea Franz

Ruby library for the musiXmatch API

If you want to search for lyrics and tracks with Ruby using the musiXmatch API, check out my repository at http://github.com/gravityblast/musix_match

»
Author's profile picture Andrea Franz

Don't abuse NSLog in your iPhone game

I’m working on a simple game for iPhone based on cocos2d. Yesterday I installed it on my old iPhone3G and it was veeeeeeeery slow. After a lot of refactoring I found a NSLog call inside my game loop. It basically logged all the collision detection of the player with all the tiles in the map. After removing that it’s even faster then before. So, if you want to log something, do it, but remember to remove all these logging calls later.

»
Author's profile picture Andrea Franz

Using CouchDB from Air applications with CouchDB Flex

In the last weeks I played a lot with CouchDB and I love it. I always used it from ruby but yesterday I tried to use it with flex. I started a new Actionscript project called CouchDB Flex, you can browse the source from github. The implementation is inspired by couchrest, but it’s asynchronous because I use URLLoader internally. Since the flash player doesn’t support the PUT and DELETE HTTP methods, you must create an AIR project if you want to try the library. You can find a compiled swc here, put it in your libs folder and you are ready to go. Here a small example, but it’s still in development, and a lot of functionality are not implemented yet.

»
Author's profile picture Andrea Franz