Skip to content

{ Category Archives } languages

Development languages

python ide

I think it’s important to understand how your applications work without the aid of an IDE.  But man, oh man.  It sure is nice to have a good IDE while you are trying to be productive in a language.  I installed PyDev today now that I feel very comfortable with how python applications are built [...]

Error when configuring to use the EJB interceptor binding API. JAX-RS EJB support is disabled.

I’ve gotten this error twice while using Glassfish inside eclipse.  I’m not sure of the root cause but after hours of searching both times, I thought I should document how to get around this error.  After I shut down the glassfish server and restarted eclipse, the error went away.

Rails Rumble 2010

Wow, that was incredible fun.  Andrew Kavanaugh and I holed up in a Vegas hotel for the entire weekend to crank out a Rails application www.transcriptify.com for Rails Rumble. We were http://railsrumble.com/teams/double-down. We were so busy, we still haven’t put one penny in a slot machine yet.  This was also my very first rails application.  We created [...]

Mule 3.0 Restful Webservice

Mule 3.0 was recently released. Restful web services are now fully supported. You can hot deploy the application now. It is much easier to deploy an application. Unfortunately, as I write this, the documentation is not yet up to date.  The configuration for a restful web service has changed. The configuration file looks like the [...]

blenderfarmers.com

My brother Doug went to Full Sail film school and has recently gotten me into the hobby of making shorts in our fun time (www.simplemindedstudios.com).  Currently, we are making a short using my children as the actors.  We don’t have access to very many interesting places to film so we decided to create most of the sets [...]

Ruby ‘here document’

Ruby has a cool feature that allows you to embed a document inside your source code.  This is known as a ‘here document’.  The traditional way of defining a string is to assign a variable as follows: def myfunc mystring = “Here’s a great quote: \n\n\”We hold these truths to be self-evident, that all men [...]

Compiling wxruby on Snow Leopard

I am trying to compile wxruby on Snow Leopard.  I am running into issues because wxwidgets 2.8 which wxruby 2.0.1 is based upon only compiles in 32bit mode.  I can compile wxwidgets 2.8.11 using 32 bit mode.  When I try to compile wxruby, I get errors.  I’m not quite sure what I need to do [...]

Native Looking Mac App with Ruby

Ruby is really popular to make websites because of Rails, but I want to write a native looking application using Ruby.  I’ve discovered wxruby which is a really cool cross platform GUI library for use with Ruby.  It is built on wxWidgets which is a C++ library for making cross platform GUIs that appear native because [...]

Ruby on Rails Plugins

Not sure if this is worth doing or not since these ruby plugins change so frequently, but here are a list of plugins that I find interesting as a java guy coming up to speed in ruby on rails. Referential Integrity script/plugin install http://svn.hasmanythrough.com/public/plugins/validates_existence/ From “Learning Rails” by O’Reilly.  Page 149 Scaffolding ActiveScaffold.com Geo Coding [...]

HTML Dom in Ruby with Nokogiri

I recently needed to do a screen scrape of a website.  The page I’m trying to parse is marked as an “XHTML 1.0 Transitional”.  XHTML?  Should be easy.  Parse the doc, use XPath and I’ll be done. If you search “xml parser ruby”, the first result you will get is REXML.   I’ve read comparisons that [...]