| manveru | rene-: you may be interested in http://scrubyt.org/ |
| action | apeiros needs a good DSL for animated text... independend instructions for translocation, scaling, color/alpha changes and stuff |
| apeiros | needs a good DSL for animated text... independend instructions for translocation, scaling, color/alpha changes and stuff |
| manveru | hmm |
| apeiros | keyed to ticks (tick 0 is start of animation) |
| manveru | text1 = anim 'lobster' |
| rene- | manveru: hmmm i just need to login to a web site and submit a form, since i am controlling a device (a sip phone) i am not actually doing any scrapping i guess |
| manveru | text1.grow 100, :pixel, :delay => 1.second rene-: ah rene-: well, i'm sorry, but i don't know about mechanize itself |
| rene- | i guess http auth should be in net/http |
| manveru | hmm if it wasn't for some bugs i would recommend simple_http but yeah i'm sure there is information how to use it for auth on the ML |
| rene- | i am going to try passing a http://user:pass@somesite.com and see what mechanize does |
| teferi | doesn't net/http do http auth? |
| rene- | teferi: it does but i need to submit a form i think net/http might be all that is needed i am here: http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html |
| teferi | yeah |
| manveru | hmh |
| teferi | if all you need to do is a POST, just use net/htpt http |
| rene- | k |
| manveru | rene-: http://pastie.caboo.se/42791 this is my bugfixed version of simple_http all you need to do with that is http = SimpleHttp.new('http://user:pass@foo.bar.com') then you're free to http.post 'whatever' => 'you', 'wanna' => 'post' |
| rene- | cool |
| manveru | you could strip out all the comments and use it |
| rene- | thanks man |
| manveru | np |
| rene- | sweet |
| apeiros | manveru, more like: http://pastie.caboo.se/42795 (late answer to your proposal) :) |
| teferi | what is gosu? |
| apeiros | a game engine |
| teferi | ah |