High Tech Sorcery

Development

Storing hierarchical (tree) data in SQL using Ruby on Rails

by on Jul.06, 2011, under Development

I have a Ruby On Rails project with a fair amount of hierarchical data.  I have already tried a few different techniques of managing this data.  Nested sets and materialized paths sound good in theory but in practice they didn’t work out so well.  Here are some thoughts thus far.

(continue reading…)

Leave a Comment more...

Fixing netbeans in ubuntu

by on May.20, 2011, under Development, Ruby On Rails

Netbeans has some issues in Ubuntu 10.10 and 11.04.  One of the most serious is that javascript syntax highlighting does not work.  Another is that Rails 3 applications do not run or debug correctly.  I found the solution to be going to “Tools – Plugins -Settings” and enabling the “Netbeans” update center.  Then by going to “Updates” and clicking “Reload Catalog” I got an update for the update system.  After that was installed an netbeans was restarted I got a lot more updates for plugins (15 or so).  Once updated everything seemed to work as it should.

More information:

1 Comment more...

playing with ruby gui frameworks

by on Apr.19, 2011, under Development

Trying to figure out how easy it is to use ruby to write a desktop application.  It would be nice to have something cross-platform.  At the moment I’m playing with qt4, gtk2, and wxwidgets.

(continue reading…)

Leave a Comment more...

fixing a bug in simple-rss

by on Apr.05, 2011, under Development

Just walking through some bug fixing.

(continue reading…)

Leave a Comment more...

Working with google maps, rails, jquery, microformats

by on Apr.05, 2011, under Development

Lots’ of work moving to unobtrusive mapping using googe maps and jquery, storing location data as hcard microformat.

(continue reading…)

Leave a Comment more...

Git: Untracked working tree file would be overwritten by merge

by on Mar.23, 2011, under Development

I ran into a merge conflict when a branch had changed a file and I was merging in another branch where the file had been deleted and placed in gitignore.   Some suggestions on handling this here:

I used:

  • git checkout <your-branch> -f

I then need to “git rm” the file in the branch where it had been modified.  I’m not sure what exactly happened to the file since I didn’t care much about it.

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...