Yes, it was a good one. Thanks everyone!

The gem I talked about for running external processes and working with IO is:
    https://github.com/chrisberkhout/pvc

The example I mentioned of running one command, throwing away stderr
and piping stdout to another command, and logging the final stdout and
stderr together is as simple as:

    PVC.new("shp2pgsql", ...).
      to("psql", ...).with_err.lines_tap { |l| Log.add l }.
      run

Since the block parts are run in separate threads, it won't wait for
shp2pgsql to finish before it starts logging.

I'd love to hear any thoughts that people have about it.

Cheers,
Chris



On Fri, Mar 1, 2013 at 12:25 AM, Justin French <[email protected]> wrote:
> News & Events:
>
> * Ruby Conf Awesome
> * Better errors is better
> * Ruby 2.0
> * Rails 4b1
> * Rubygems 2.0
> * Bundler (boo) 1.3
> * ALL PASSWORDS ARE PLAIN TEXT
> * Travis coffee meet-up somewhere secret
> * RailsCamp Melbourne June 21–24 (they'll sell slow, don't bother rushing)
>
> New Organisers!
>
> * Ivan Vanderbyl
> * Mario Visic
>
> Who's Hirin':
>
> * Envato – mid/senior Ruby, Ops, UX
> * ReInteractive – Front End/JS, Marketing
> * Zendesk – mid JS and Rails
> * REA – Rails and everything
>
> Who's lookin':
>
> * David Carlin – Ruby, Rails
> * Matthew Tomlinson – Ruby (ex Java)
>
> Talks:
>
> Gareth Townsend – Test n stuff
> Josh Kalderimis – Travis & New Zealanders
> Rohan Mitchell – Community Rails Projects
> Alex Bayley – Grow Stuff
> Andy Kitchen – Quines
> Chris Berkhout – PVC Gem
>
> Sponsors:
>
> * Thanks to Inspire9 for the awesome venue! http://inspire9.com
> * Thanks to Envato for filling us with delicious pizza! http://envato.com
> * Thanks to ZenDesk for the tasty beverages! http://zendesk.com
>
> Justin (& Dave & Mario & Ivan)
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby or Rails Oceania" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/rails-oceania?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rails-oceania?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to