HNHacker News
TopNewBestAskShowJobs

manlon

6 karma · joined August 3, 2009

submissionscomments
manlon··on The single most useful Emacs feature
This vim plugin seems to do most of what you describe by wrapping the matchadd() vimscript function:

http://www.vim.org/scripts/script.php?script_id=2666

<Leader>r (regex) to add matches to the set of highlighted groups.

manlon··on Spine -- A lightweight framework for building JavaScript web applications
This is true, but because Backbone made a poor naming choice. Backbone Views are what one normally thinks of as "controllers" (coordinating presentation and models), and the view/presentation layer is not handled by Backbone per se but by something like Underscore templating. Backbone Controllers really are just some helpers to deal with URL hashes.

In my experience Backbone Views become the "top level" of a client-side app, but that is appropriate because they encapsulate controller logic.

manlon··on Mathematical explanation of music and white/black notes in a piano
If you start with the 12 chromatic tones and start addding notes to a scale going up a circle of fifths, there are two natural stopping points where you have spanned the octave with a complete-sounding set of notes with relatively equal spacing and no gaps: five notes, which gives whole-step and minor-third intervals; and seven notes, which gives whole-step and half-step intervals. These two scales correspond to the spacing of the black notes and the white notes, which are mirror images of each other around the circle of fifths. Any other choice of scale size would have gaps, I believe.
manlon··on Computer program writing great, original works of classical music
The MIDI samples were a really poor choice to introduce the program's compositions, but those snippets do sound a lot like Bach chorales stylistically, perhaps at the level a competent (if uninspiring) student of harmony.

The chorales exist online in machine-readable formats at http://www.jsbchorales.net/ (a great resource for doing comprehensive analysis on chorale harmony -- wouldn't doubt if the same data served as input for the Emmy program).

manlon··on Ask HN: Please, review wordoid.com, a smart naming webapp
Agree. "Naturally sounding" isn't.