RSS Polishing Ruby

http://blog.zenspider.com/

Musings on Ruby and the Ruby Community...

Last checked 5 months ago.

13 people have subscribed to this feed.

Feed frequency

post frequency (last month)

PostRank™ filter

latest 15 posts

« older items




Wednesday April 2nd, 2008

10

I'd die of typing

Polishing Ruby From Polishing Ruby, 9 months ago, 0 comments Comment

http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/server/src/main/java/org/apache/xmlrpc/server/RequestProcessorFactoryFactory.java?view=markup

just look at that url for a second... (if it doesn't go off screen, that is)

the domain... sure. whatever.
viewvc. yeah. k.
webservices/xmlrpc/trunk/server/src/main/java -- damn... we haven't even hit code yet!
org/apache/xmlrpc/server -- WE STILL haven't hit code yet!?!

and then... the kicker:

RequestProcessorFactoryFactory.java

wtf? ... wow. check it:

public interface RequestProcessorFactoryFactory { ... }

this thing declares an interface for a factory that produces other factories that produce things that process requests. processing requests... request processing. factory of factory of... I feel like the lawyer in Idiocracy. duuuh... errr. ummm.

How many freakin' levels of indirection does this world need? It's not even a class.

kill. me. now.

(Via Labnotes » Rounded Corners - 196.)

Thursday March 20th, 2008

1.0

test-unit version 1.2.3 has been released!

Polishing Ruby From Polishing Ruby, 9 months ago, 0 comments Comment

Test::Unit (Classic) - Nathaniel Talbott's originial test-unit, externalized from the ruby project as a gem (for tool developers).

Changes:

1.2.3 / 2008-02-25

1.0

Lookie! Test Status Matrix Thingy!

Polishing Ruby From Polishing Ruby, 9 months ago, 0 comments Comment









------>

(no silly... look in the blog, not the RSS feed!)

1.0

RubyInline version 3.6.7 has been released!

Polishing Ruby From Polishing Ruby, 9 months ago, 0 comments Comment

Ruby Inline is an analog to Perl's Inline::C. Out of the box, it allows you to embed C/++ external module code in your ruby script directly. By writing simple builder classes, you can teach how to cope with new languages (fortran, perl, whatever). The code is compiled and run on the fly when needed.

Using the package_inline tool Inline allows you to package up your inlined object code for distribution to systems without a compiler.

Changes:

3.6.7 / 2008-03-20

8.0

ZenTest version 3.9.2 has been released!

Polishing Ruby From Polishing Ruby, 9 months ago, 0 comments Comment

ZenTest provides 4 different tools and 1 library: zentest, unit_diff, autotest, multiruby, and Test::Rails.

ZenTest scans your target and unit-test code and writes your missing code based on simple naming rules, enabling XP at a much quicker pace. ZenTest only works with Ruby and Test::Unit.

unit_diff is a command-line filter to diff expected results from actual results and allow you to quickly see exactly what is wrong.

autotest is a continous testing facility meant to be used during development. As soon as you save a file, autotest will run the corresponding dependent tests.

multiruby runs anything you want on multiple versions of ruby. Great for compatibility checking!

Test::Rails helps you build industrial-strength Rails code.

Changes:

3.9.2 / 2008-03-20

  • 4 minor enhancements:

    • Added compatibility with miniunit differences.
    • Added emailnotify, jabbernotify, and rcov autotest plugins.
    • Updated rakefile to include examples automatically in exampledotautotest.
    • multiruby now outputs each command so you can grab it easily.
  • 5 bug fixes:

    • Ensure tests are run after reset.
    • Fixed all test/rails tests to run in any combo.
    • Fixed up growl.rb a bit... still buggy (growlnotify, not growl.rb).
    • Fixes for -f (fast start) and last_mtime in general.
    • Fixes for 1.9 and rubinius
  • http://www.zenspider.com/ZSS/Products/ZenTest/

  • http://rubyforge.org/projects/zentest/
  • ryand-ruby@zenspider.com

Friday March 14th, 2008

8.0

Removing duplicates from OmniFocus

Polishing Ruby From Polishing Ruby, 10 months ago, 0 comments Comment

Sometimes something (I suspect iSync) screws up and duplicates my tasks. This has proven useful:

tell application "OmniFocus"
  tell first document
    repeat with aContext in contexts
      set toDelete to {}
      set seen to {}
      repeat with aTask in tasks of aContext
        if seen contains name of aTask then
          set end of toDelete to id of aTask
        else
          set end of seen to name of aTask
        end if
      end repeat

      repeat with aTask in toDelete
        try
          delete (task id aTask)
        end try
      end repeat
      count of toDelete
    end repeat
  end tell
end tell

Wednesday March 12th, 2008

1.0

rubyforge version 0.4.5 has been released!

Polishing Ruby From Polishing Ruby, 10 months ago, 0 comments Comment

A script which automates a limited set of rubyforge operations.

  • Run 'rubyforge help' for complete usage.
  • Setup: For first time users AND upgrades to 0.4.0:
    • rubyforge setup (deletes your username and password, so run sparingly!)
    • edit ~/.rubyforge/user-config.yml
    • rubyforge config
  • For all rubyforge upgrades, run 'rubyforge config' to ensure you have latest.
  • Don't forget to login! logging in will store a cookie in your .rubyforge directory which expires after a time. always run the login command before any operation that requires authentication, such as uploading a package.

Changes:

0.4.5 / 2008-03-11:

Tuesday March 11th, 2008

10

Reason #437 why Phil Hagelburg rocks

Polishing Ruby From Polishing Ruby, 10 months ago, 0 comments Comment

One Line Multi-Stage Deployment for Vlad:

Kernel.load "config/deploy_#{ENV['to']}.rb" if ENV['to']

Making this elegant line possible:

% rake vlad:deploy to=qa

Coming Soon™ to a Vlad near you!

Wednesday March 5th, 2008

1.0

Current Status Report

Polishing Ruby From Polishing Ruby, 10 months ago, 0 comments Comment

I'm gonna try to keep pushing on this stuff and keep an status report up to date.
 1.8.41.8.51.8.6-p1111.9.0-0rubinius
rubyforgepassedpassedpassedpassedn/a
hoepassedpassedpassedfailedfailed
ZenTestpassedpassedpassedfailedfailed
miniunitpassedpassedpassedfailedfailed
ruby_parserpassedpassedpassedfailedfailed
RubyInlinepassedpassedpassedpassedfailed
ParseTreefailedfailedpassedn/an/a
ruby2rubypassedpassedpassedfailedfailed
hecklefailedfailedpassedfailedfailed

Generated 2008-03-04 22:49

10

hoe version 1.5.1 has been released!

Polishing Ruby From Polishing Ruby, 10 months ago, 0 comments Comment

Hoe is a simple rake/rubygems helper for project Rakefiles. It generates all the usual tasks for projects including rdoc generation, testing, packaging, and deployment.

Tasks Provided:

  • announce - Create news email file and post to rubyforge.
  • audit - Run ZenTest against the package.
  • check_manifest - Verify the manifest.
  • clean - Clean up all the extras.
  • config_hoe - Create a fresh ~/.hoerc file.
  • debug_gem - Show information about the gem.
  • default - Run the default tasks.
  • docs - Build the docs HTML Files
  • email - Generate email announcement file.
  • gem - Build the gem file hoe-1.5.0.gem
  • generate_key - Generate a key for signing your gems.
  • install_gem - Install the package as a gem.
  • multi - Run the test suite using multiruby.
  • package - Build all the packages
  • post_blog - Post announcement to blog.
  • post_news - Post announcement to rubyforge.
  • publish_docs - Publish RDoc to RubyForge.
  • release - Package and upload the release to rubyforge.
  • ridocs - Generate ri locally for testing.
  • test - Run the test suite.
  • test_deps - Show which test files fail when run alone.

See class rdoc for help. Hint: ri Hoe

Changes:

1.5.1 / 2008-03-04

  • 2 Minor Enhancements:

    • Removed install/uninstall tasks. Too buggy. Gems do a better job.
    • Added cleaning of rbc files to default list
  • 5 Bug Fixes:

    • Correctly deal with errors intuiting history and readme files. Thanks Aaron!
    • Fixed rdoc title. Thanks, Sander!
    • Fixed sow to match new Rakefile and History format. Thanks, me!
    • Moved test/unit to the front for rake test. Fixes use of miniunit.
    • Renamed shadowed variable.
  • http://rubyforge.org/projects/seattlerb/

  • http://seattlerb.rubyforge.org/hoe/
  • ryand-ruby@zenspider.com

Thursday February 28th, 2008

1.0

dropping 1.8.2 support

Polishing Ruby From Polishing Ruby, 10 months ago, 0 comments Comment

Effectively immediately I'm dropping support for 1.8.2. I never supported 1.8.3 so everything is 1.8.4 or above.

I only have tentative support for 1.9, but I'm working on both 1.9 and rubinius right now.

Friday February 15th, 2008

1.0

Softies on Rails: Rake is my new F5

Polishing Ruby From Polishing Ruby, 10 months ago, 0 comments Comment

From a less than inspired blog post comes an awesome comment:

"Autotest is like a super duper little build monkey who throws poo whenever your tests fail."

Thursday February 14th, 2008

1.0

hoe - remove un/install commands?

Polishing Ruby From Polishing Ruby, 11 months ago, 0 comments Comment

Does anyone have an opinion on this? Removing the install/uninstall commands would not prevent the tarball/zip from being created, it just wouldn't have a handy dandy install command.

Does anyone (sane) not use rubygems yet? And no, I don't consider foaming-at-the-mouth rpm fanatics as sane.

Wednesday February 13th, 2008

10

BusScheme is a lie!

Polishing Ruby From Polishing Ruby, 11 months ago, 0 comments Comment

I'm sitting next to Phil Hagelberg, author of BusScheme and he's working on it right now and he is not on the bus!

Lies I tell you! All Lies!

Friday February 1st, 2008

10

adding search engine feeds to netnewswire

Polishing Ruby From Polishing Ruby, 11 months ago, 0 comments Comment

This adds uniform search across blogdigger, yahoo, and google. findory is dead. feedster and daypop simply suck and weren't worth all the timeouts.

tell application "NetNewsWire"
  activate
  set search_terms to {"%22Eric+Hodel%22", "%22Ryan+Davis%22", "ImageScience", "ParseTree", "RubyInline", "ZenHacks", "autotest", "image_science", "ruby+heckle", "ruby+obfuscator", "ruby2c", "vlad+ruby", "zenspider", "zentest"}
  repeat with search_term in search_terms
    set the_url to "http://www.blogdigger.com/rss.jsp?queryString=" & search_term & "&sortby=date&days=20"
    subscribe to the_url

    set the_url to "http://news.search.yahoo.com/news/rss?p=" & search_term
    subscribe to the_url

    set the_url to "http://blogsearch.google.com/blogsearch_feeds?hl=en&tab=wb&q=" & search_term & "&ie=utf-8&num=10&output=rss"
    subscribe to the_url

    -- dead
    -- set the_url to "http://www.findory.com/rss/Blogs?q=" & search_term
    -- subscribe to the_url

    -- sucks
    -- set the_url to "http://feedster.com/search.php?q=" & search_term & "&sort=date&ie=UTF-8&limit=15&type=rss"
    -- subscribe to the_url

    -- sucks
    -- set the_url to "http://www.daypop.com/search?q=" & search_term & "&s=1&c=10&t=a&o=rss"
    -- subscribe to the_url
  end repeat
end tell

« older items