Rails 2.0 on Leopard

I wanted to try out some of the new Ruby on Rails 2.0 features in Leopard, so I may as well blog my notes here for future reference. 1. Update Gems Use this if you haven't ugpraded your system to Rails 2.0 yet. sudo gem update --system # Update "gems" itself sudo gem install rails... Continue Reading →

Leopard UNIX Links

Since someone else asked, I figured I'd capture a list of UNIX-related resources for Leopard (Mac OS X v10.5).  Apple - Mac OS X Leopard - Technology - UNIX UNIX Development on Mac OS X Apple - Open Source Apple - Mac OS X Server - Technology - Xgrid Apple - Mac OS X Leopard... Continue Reading →

LOP-ing Off Language-Oriented Programming

I've been fascinated by Domain-Specific Languages (DSLs) and metaprogramming for a while (particularly in Ruby), but just encountered the larger concept of Language-Oriented Programming (LOP). As someone who's been an OOP weenie since the late 1980's, I am intrigued by the question whether LOP and Language-Driven Development (LDD) will prove to be a similarly transformational... Continue Reading →

Nested Data Parallelism in Haskell

[More unedited notes from OSCON] Nested Data Parallelism in Haskell by Simon Peyton-JonesAppeared in the mid-1990's, but not yet available in a mainstream language. cf. Flat data parallel (MPI, map/reduce, *C, OpenMP) -> chunking mechanism (not "N" threads) -> great for distributed memory systems (MPI) "do X to A[i]" X is sequential in NDP, X... Continue Reading →

Eben Moglen: Public Policy in the “Free” World

Yesterday Eben Moglen made headlines during the O'Reilly Radar at OSCON with a (somewhat) surprising attack on "Open Source" in general, and (more surprisingly) Tim O'Reilly in particular: Eben Moglen Wacks Tim O'ReillyEben Moglen Challenges Tim O'Reilly to Join the ConversationEben Moglen Berates Open SourceToday Eben had the stage to himself, to share his thoughts... Continue Reading →

Sproutin’ Ideas

I had the pleasure of recently meeting Charles Jolley, best known for his work as CEO of Sproutit. This gave birth to a hot new JavaScript framework/Rails plug-in known as Sproutcore, which for some reason never showed up on the Google searches.  Hopefully this blog post will help raise its profile. 🙂

ActiveRecord Refactoring Project

I am excited that Zach Dennis has taken up last year's cause of ActiveRecord Refactoring, since I never made much progress on my ActiveData efforts. Still, to help him out I've posted my pre-alpha ActiveData code, which builds on my earlier non-SQL ActiveRecord. I've pasted some excerpts below (Read More).

Restful Rails 1.2

One of the coolest new features of Rails 1.2 is the RESTful routing. In particular, the new scaffold_resource generator makes it really easy to mockup a basic resource-oriented web app with trivial amounts of code. Check it out. # rails 1.2.1# mongrel 1.0.1$ rails restful$ cd !$$ script/generate scaffold_resource Entry title:string content:text published:date# can now... Continue Reading →

Great JavaScript-in-Ruby (RJS) Tutorial: What I Learned

My colleague Luke Burton has posted a wonderful RJS Tutorial. [Read more] for a short list of the new things it taught me. ? You can insert RJS calls in RHTML documents, not just RJS documents ? The relevant documentation is ActionView::Helpers::PrototypeHelper and ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods ? RJS handles (most) error catching for me ? You can... Continue Reading →

Blog at WordPress.com.

Up ↑