#ruby-lang - Sun 25 Feb 2007 between 00:00 and 00:24



manverurene-: you may be interested in http://scrubyt.org/
actionapeiros needs a good DSL for animated text... independend instructions for translocation, scaling, color/alpha changes and stuff
apeirosneeds a good DSL for animated text... independend instructions for translocation, scaling, color/alpha changes and stuff
manveruhmm
apeiroskeyed to ticks (tick 0 is start of animation)
manverutext1 = 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
manverutext1.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
manveruhmm
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
teferidoesn'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
teferiyeah
manveruhmh
teferiif all you need to do is a POST, just use net/htpt
http
rene-k
manverurene-: 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
manveruyou could strip out all the comments and use it
rene-thanks man
manverunp
rene-sweet
apeirosmanveru, more like: http://pastie.caboo.se/42795 (late answer to your proposal) :)
teferiwhat is gosu?
apeirosa game engine
teferiah

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 

IrcArchive