HNHacker News
TopNewBestAskShowJobs

transmit101

1,207 karma · joined July 2, 2007

https://netflux.io
submissionscomments
transmit101··on When to Redis
Redis is particularly useful for implementing simple message queueing systems where the full functionality or power of something like RabbitMQ is not required.

For example, when parsing incoming data into a database, push incoming data onto one end of a Redis list, and have a seperate worker process popping them off the end and into CouchDB, MySQL or whatever.

The fact that Redis list operations are atomic mean that multiple worker processes (possibly on seperate physical boxes) can process jobs simultaneously.

Result: the internet is entirely decoupled from both the hard drive and the database, and extremely high performance is possible.

Twitter Streaming API, anybody?..

transmit101··on Shazam: not magic after all
The article and comments seem to suggest that the use of Matlab or R is a prerequisite for performing calculations such as this. However, MIR (Music Information Retrieval) libraries exist for a number of languages, including Java[1] and Ansi C[2], amongst others. A good dynamic language for experimenting with this sort of thing is SuperCollider[3].

By the way, the psycho-acoustically spectral measurements referred to in the article are called MFCCs[4] - basically an FFT reading weighted according to the sensitivity of our ears. They are often used in both music and (especially) speech recognition because they tend to accurately sum up the timbre we perceive in a given sound. Timbre is much easier to extract from a digital audio file than pitch or vocal information, hence why it tends to be successful in applications such as this.

Shazam is still pretty cool too

[1] http://jmir.sourceforge.net/

[2] http://libxtract.sourceforge.net/

[3] http://supercollider.sourceforge.net/

[4] http://en.wikipedia.org/wiki/Mel-frequency_cepstrum

transmit101··on Ask HN:Artificial Neural Networks for electronics engineers
This is slightly more centred on evolutionary electronics, but nevertheless you might find some interesting papers here: http://www.cogs.susx.ac.uk/users/adrianth/ade.html
transmit101··on Heroku: Announcing Huge Growth and New CEO
That's quite a significant itch that they're scratching then. Look at the figures - 36,000 deployed apps speak for themselves, and the quality of the platform suggests that the big spike is still to come.
transmit101··on Objective-C's niche: why it survives in a world of alternatives
This is the result of Objective-C's Smalltalk ancestry: similar design patterns are elegant to achieve in other Smalltalk-inspired languages as well, for example SuperCollider[1] and (to perhaps a lesser extent) Ruby.

[1] http://supercollider.sourceforge.net

transmit101··on Ask HN: Please name two of your most favorite books.
The unbearable lightness of being - fabulous novel with some deep wisdom
transmit101··on Major bug in Snow Leopard deletes all user data
The point of an OS is that it abstracts away these details, so that I don't have to bother about them. I just want my OS to work, regardless of whether it's open source or not.
transmit101··on Please review KartMe
I found the design to be pretty confused, and I suspect that most visitors will leave immediately because of this. You need to communicate what the site is useful for, and how to start using it simply. For example, I wasn't sure whether to start by searching for an item, or clicking the 'Start KartMe' button on the right.

Maybe the design mirrors the fact that the site is trying to do quite a lot of stuff. It's a pretty impressive feat technology/coding-wise, but it might be worth tweaking the homepage (and maybe moving some stuff off it) to help ease the new-user experience.

transmit101··on MacRuby 0.5 beta 1 Released
Rails compatibility is apparently on the long-term roadmap, but I believe it is a long way off yet.

Using 0.4, I was unable to get any of the mainstream testing libraries (especially RSpec, and including Test::Unit) to work properly, and I struggled with simpler alternatives such as Bacon. Not sure how 0.5 will fare with these yet.

transmit101··on Ask HN: Review my startup - Chords!
This would be a real money spinner, if it could be made to work. The problem, assuming you are using an analysis algorithm to attempt to extract the harmonic information, is that you are attempting to solve the problem of polyphonic transcription, which is one of the holy grails of computer music research - and is definitely an unsolved problem, especially when the analysed song is complex or unpredictable (jazz chords, hendrix tunings etc.), or when there is a lot of noise, as is the case with almost all popular music.

It is quite straight-forward to use a Fourier transform to discover the energy contained at certain audio frequencies, but extracting musical structure from this data is terribly difficult, partly because of the perceptual ambiguities in the human hearing system, and partly because it is basically impossible to confidently separate the identity of the constituent instruments within the audio spectrum. What instrument emitted this or that harmonic at 1800hz? The answer is crucial to identifying the chords, and nobody really knows how to reliably and programatically determine that, on an arbitrary recording, just yet...

transmit101··on Ask YC: PhD, yes or no?
Surely a PhD is best undertaken by those with a deep love for the subject area they will be researching. 3-5 years doing something you're only half interested in isn't a good idea (especially given the comments about wages here). But if I found one which I knew I would love doing - I'd jump at the chance.
← PreviousPage 4 of 4