hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

Balloon #

by why in inspect

Create new scripts from the home page.

Add gems, code from Subversion, libraries from HTTP.

Run other scripts (like the Tepee wiki).

The important thing here is that Gems are installed into temporary directories under ~/.balloon. So you can serve the current directory or fire up a wiki with a single command.

said on

Oh huh whoa yes maybe hmm is? okay.

said on

I keep getting:

** Loading balloon.rb...
-e:1: (eval):16: (eval):7: undefined method `require__' for module `Kernel' (NameError)

no matter what balloon I try. I do have gems installed, and my RUBYOPT does load them… Any ideas?

said on

That sounds like an open-uri issue. Can’t find the original require it overrode somehow.

said on

Uh, wait, no. open-uri doesn’t dick with require. The quality of my posts is really slipping.

said on

Uh, wait, no. open-uri doesn’t dick with require. The quality of my posts is really slipping.

said on

Uh, yay double-posting? I think I will take my leave from the internets for a while.

said on

Yeah, sorry, RUBYOPT='-rubygems' kind of messes things up. But I think I’ve got it. Give it another go, lukfugl.

said on

People keep scratching itches I didn’t know I had

Why yes, I would love to quickly try out a web application with little setup on my behalf

said on

I know it’s nice that balloon is all temporary and self contained, but it would be really swell if, for instance, serve.rb could figure out I already have mongrel installed as a gem and just use that.

said on

I might end up doing that. At least, I’ll probably have flags or a ~/.balloonrc to allow that.

For now, if you run serve.rb a second time, it’ll use the same Mongrel fetched the first time.

said on

why, how do you manage to be so infuriatingly productive? I’ve never seen anyone churn out so much cool stuff so quickly…

said on

@why: Thanks, working now!

said on

I was wondering when this would be announced. The last time why posted about storing libraries in the ether, I started a little project to do something remarkably similar, but with sandboxing.

said on

Wow. This is a beautiful thing. Such a neat idea, too. Yay why!

said on

I get “uninitialized constant Balloon” on all the ones I try, but I think I’m probably missing something :) Looks very cool though.

said on

Peter Cooper: What OS? What Ruby version? And what is your RUBYOPT ?

said on

i also get peter cooper prob. XP 1 .84 (RUBYOPT is the default from 1 click install)

said on

andrea@fiction$ uname -a FreeBSD fiction 6.0-RELEASE FreeBSD 6.0-RELEASE #x: xxx xxx x xx:xx:xx xxx xxxx root@fiction.xxxxxx.xxx:/usr/src/sys/i386/compile/FICTION i386 andrea@fiction$ ruby -v ruby 1.8.4 (2005-12-24) [i386-freebsd6] andrea@fiction$ echo $RUBYOPT

andrea@fiction$ ruby -ropen-uri -e ‘eval(open(“http://balloon.hobix.com/parkplace”).read)’ -e:1: (eval):1: uninitialized constant Balloon (NameError)

said on

Okay, there we go. Thanks, Peter, jakdak, andrea.

said on

why: I get the same thing as Peter Cooper above. Running Ruby 1.8.4 on OS X 10 .4.6 (compiled from source). RUBYOPT is not set.

said on

Nevermind

/me meekly returns to the shadows

said on

Problem

Tried loading the ParkPlace Balloon. All the gems loaded and everything and it started up seemingly fine. Here are the final two lines of output:

  • No users found, creating the `admin’ user.
  • ParkPlace example is running at http://127.0.0.1:3002/

Thusly loading the above URL results in the following offensive XML snippet:

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<Resource>/</Resource>
<RequestId>1151712655</RequestId>
</Error>
said on

Uh, seems like the Preview pane renders differently than the actual comment renderer. I spent two whole minutes converting those angle bracks to some [gl]t action.

said on

I broke myself :/ http://balloon.hobix.com/~nil

said on

also, non-existant users cause camping problems also

said on

toby: ParkPlace is loaded, go to /control to see the control center. I’ll add a note.

nil: Thanks, nil. Your page should be okay.

said on

toby: Okay, the preview should be a bit better wrt to plusses and brackets.

said on

so… very… painful… under win32 :) mongrel and sqlite had ballons and win32 :)

said on

so… very… painful… under win32 :) mongrel and sqlite hate ballons and win32 :)

said on

_why, can you add in the ability to move around blocks? order of actions are important, so it’d be great, especially since i am planning on the fly ;)

said on

having some problems with dependencies on os x, but i favor the cut of your jib. nice jobby. job.

said on

I’ve been anxiously waiting for this to get rolling more since you spoke of it at your performance at RailsConf. I pulled it up during your show and it produced errors, so I hadn’t tried it since.

Thanks for being a creative force in the Ruby community, and giving us a creative benchmark of sorts! Sounds strange and nonsensical, but it’s true: we have aspirations of being like _Why and kicking Ruby ass with all kinds of awesome shit.

Now, I think I’ll go and look over what the RailsDay people kept on doing that was ugly to see if there’s something I can do to make life easier… here’s hoping I can!

Cheers,

M.T.

said on
said on

ooh this is nice! really really nice! i can now send scripty postcards to my grand ma ma

said on

Very nice _why! Why is the script showing design different from the front page though? It would be good if the script pages followed the fron page design!

said on

I would like to see Balloon support in TryRuby, as then I could send scripty postcards to my grand-ma-ma without having her install Ruby.

said on

Balloon in Try Ruby would be great !! Perhaps theres many securities issues that would need to be addressed. also the processing might require a serious amount of server processing power :)

said on

it would also be great if it could work out whether certain gems were already installed on the local machine

said on

I forgot to come back sooner, sorry! However, seems it all works fine now. Great job :)

said on

Works fine, when I do things like I’m supposed to. However, I just can’t resist trying different methods. I expected this to work but didn’t:

curl http://balloon.hobix.com/test|ruby

or

wget O http://balloon.hobix.com/test|ruby

Error:

Proceed (or L to list this script’s actions)? [y/N/l] NoMethodError: undefined method `strip’ for nil:NilClass (eval):108:in `start’ (eval):106:in `start’ -:20

said on

rixxon: STDIN is closed by the pipe. There’s a commented out line in balloon.rb which reopens, but I haven’t cared to test it on various shells.

said on

When I try to save a balloon, I get this:

Camping Problem!

Balloon::Controllers::Demo.POST

TypeError can’t convert String into Hash:

(eval):41:in `u’ (eval):41:in `qs_parse’ (eval):10:in `inject’ (eval):40:in `qs_parse’ (eval):22:in `initialize’ (eval):43:in `run’ /usr/local/lib/ruby/gems/1.8/gems/camping-1.4.115/lib/camping/fastcgi.rb:77:in `start’ /usr/local/lib/ruby/gems/1.8/gems/camping-1.4.115/lib/camping/fastcgi.rb:71:in `start’ /usr/local/lib/ruby/gems/1.8/gems/camping-1.4.115/lib/camping/fastcgi.rb:89:in `start’ /home/sites/hobix.com/balloon/lib/balloon.rb:37

said on

When I try to save a balloon, I get this:

Camping Problem!

Balloon::Controllers::Demo.POST

TypeError can’t convert String into Hash:

(eval):41:in `u’ (eval):41:in `qs_parse’ (eval):10:in `inject’ (eval):40:in `qs_parse’ (eval):22:in `initialize’ (eval):43:in `run’ /usr/local/lib/ruby/gems/1.8/gems/camping-1.4.115/lib/camping/fastcgi.rb:77:in `start’ /usr/local/lib/ruby/gems/1.8/gems/camping-1.4.115/lib/camping/fastcgi.rb:71:in `start’ /usr/local/lib/ruby/gems/1.8/gems/camping-1.4.115/lib/camping/fastcgi.rb:89:in `start’ /home/sites/hobix.com/balloon/lib/balloon.rb:37

said on

I keep getting the following.

MissingLibrary: /home/chris/.balloon/parkplace/gems/camping-1.4.135/lib/camping/db.rb:7: ActiveRecord could not be loaded (is it installed?): no such file to load—active_record

anyone know what the G.O. is with that ?

said on

Sigh… http://balloon.hobix.com is borked, so I can’t see a description of what balloon is. It’s not the first time I’ve been dumbfounded by a _why project. Why can’t there be a brief description accompanying the announcement on redhanded?

said on

Sorry guys, having some database issues.

Chris: I need to update Park Place to use the latest Camping gem.

said on DD Mon YYYY at HH:MM

* do fancy stuff in your comment.

PREVIEW PANE