ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
macmartine has quit [Quit: macmartine]
brushbox has joined #ruby-lang
bryanl has quit [Ping timeout: 244 seconds]
byronb has joined #ruby-lang
bryanl has joined #ruby-lang
dfr|mac has joined #ruby-lang
s0ra_h is now known as sora_h
hahuang65 has quit [Quit: Computer has gone to sleep.]
msaffitz has quit [Quit: Computer has gone to sleep.]
havenn has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
saLOUt has quit [Quit: Konversation terminated!]
bryanl has quit [Ping timeout: 252 seconds]
sora_h is now known as s0ra_h
hagabaka has joined #ruby-lang
kyrylo has quit [Quit: WeeChat 0.3.7]
neocoin has joined #ruby-lang
fserb has quit [Quit: ttyl]
flowerpot has joined #ruby-lang
bryanl has joined #ruby-lang
<apeiros_> hm, any good name/symbol to indicate that an attribute is allowed to be nil? :nilable? (AR uses {allow_nil: true}, I'd prefer a flag instead of a switch)
tintin has joined #ruby-lang
<tintin> Will ruby 2 be a new version of ruby or will it be a new program?
<tintin> Will ruby2 be backward compatible with ruby 1.9.3 ?
macmartine has joined #ruby-lang
dreieins has quit [Ping timeout: 246 seconds]
tintin has left #ruby-lang [#ruby-lang]
dreieins has joined #ruby-lang
<seanstickle> Yup.
<drbrain> well… some things have been removed, like iconv, so it won't be perfectly compatible
<apeiros_> can still be made available, e.g. via gem
<seanstickle> More compatible than Python 3 -> Python 2, or Perl 6 -> Perl 5, though
<apeiros_> so the removal from stdlib should not be a deal breaker
<dominikh> fyi, tintin already left
fgomez has quit [Ping timeout: 244 seconds]
<dominikh> another fyi, tintin is a troll.
<apeiros_> how do you figure?
<dominikh> I've seen him in at least one other channel :)
<dominikh> and his behaviour there
wpaulson has joined #ruby-lang
<apeiros_> ah
dreieins has quit [Ping timeout: 240 seconds]
<apeiros_> you mean my question whether he's a troll was not subtle enough? :)
<dominikh> well, and wrt #r-l, he's just a cross poster
<drbrain> tintin seems to be a help vampire
<dominikh> the thing I do remember is that I banned him in my channel in advance…
<apeiros_> your channel?
<dominikh> the one of my main project (cinch), yeah
<apeiros_> ah
<apeiros_> I wished I had such a thing…
<dominikh> well...
<dominikh> you'd only have to actually finish one of your projects ;)
<apeiros_> I did!
<apeiros_> for varying degrees of "finish" :)
bhrgunatha has joined #ruby-lang
bryancp has joined #ruby-lang
<dominikh> heh
savage- has quit [Remote host closed the connection]
kvirani has joined #ruby-lang
dreieins has joined #ruby-lang
K0rnflake has joined #ruby-lang
postmodern has joined #ruby-lang
bhrgunatha has quit [Quit: ChatZilla 0.9.88.2 [Firefox 16.0a1/20120614030534]]
kvirani has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
igotnolegs has joined #ruby-lang
dreieins has quit [Ping timeout: 265 seconds]
qpingu has joined #ruby-lang
andrewhl has joined #ruby-lang
sailias has joined #ruby-lang
robotmay has joined #ruby-lang
rmascarenhas has joined #ruby-lang
ironcamel has quit [Quit: leaving]
ironcamel has joined #ruby-lang
dgs has quit [Ping timeout: 245 seconds]
hinbody has joined #ruby-lang
Z33K|Lux has joined #ruby-lang
Z33K|Lux has quit [Client Quit]
neoesque has joined #ruby-lang
sailias has quit [Quit: Leaving.]
hahuang65 has quit [Quit: Computer has gone to sleep.]
robotmay has quit [Remote host closed the connection]
dreieins has joined #ruby-lang
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
dgs has joined #ruby-lang
dreieins has quit [Ping timeout: 244 seconds]
dhruvasagar has joined #ruby-lang
awwaiid has quit [Ping timeout: 246 seconds]
wallerdev has quit [Quit: wallerdev]
awwaiid has joined #ruby-lang
nisstyre has joined #ruby-lang
akira989 has quit [Ping timeout: 245 seconds]
akira989 has joined #ruby-lang
oddmunds has quit [Ping timeout: 248 seconds]
x0F_ has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ is now known as x0F
dreieins has joined #ruby-lang
neoesque has quit [Quit: Bye!]
neoesque has joined #ruby-lang
umttumt has joined #ruby-lang
stardiviner has joined #ruby-lang
skinny_much has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby-lang
skinny_much has left #ruby-lang [#ruby-lang]
krz has joined #ruby-lang
woollyams has joined #ruby-lang
akira989 has quit [Ping timeout: 248 seconds]
jbsan_ has joined #ruby-lang
jbsan has quit [Ping timeout: 244 seconds]
jbsan_ is now known as jbsan
bryancp has quit [Remote host closed the connection]
akira989 has joined #ruby-lang
msaffitz has joined #ruby-lang
florentg2 has quit [Quit: florentg2]
bglusman has joined #ruby-lang
tomb_ has quit [Quit: Computer has gone to sleep.]
nuclearsandwich has quit [Read error: Connection reset by peer]
nuclearsandwich has joined #ruby-lang
bglusman has quit [Ping timeout: 248 seconds]
cored has quit [Quit: leaving]
flowerpot has quit [Ping timeout: 244 seconds]
samuelkadolph has quit [Quit: Quitting]
fgomez has joined #ruby-lang
fgomez has quit [Client Quit]
fgomez has joined #ruby-lang
samuelkadolph has joined #ruby-lang
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
qpingu has quit [Quit: Leaving.]
tintin has joined #ruby-lang
<tintin> Are these the bugs for ruby? http://bugs.ruby-lang.org/projects/redmine/issues?set_filter=1&f[]=status_id&op[status_id]=o&f[]=&c[]=tracker&c[]=status&c[]=priority&c[]=subject&c[]=assigned_to&c[]=updated_on&group_by=
mattonrails has joined #ruby-lang
<apeiros_> tintin: yes. I think you could figure that out on your own…
<tintin> There are only 18 open bugs ?
<apeiros_> I think you're not on the ruby project…
<apeiros_> the other is the bugs for the redmine version bugs.ruby-lang.org uses.
<tintin> 332 open / 3074
<tintin> 332 open bugs? all others are fixed?
<tintin> 332 open bugs? all others are fixed?
<seanstickle> Do please shut up.
<cmaujean> tintin: is that what it says?
<tintin> seanstickle: Why shut up?
<tintin> cmaujean: Yes
<tintin> cmaujean: Bug: 332 open / 3074 , http://bugs.ruby-lang.org/projects/ruby-trunk
slyphon has quit [Quit: WeeChat 0.3.7]
<apeiros_> tintin: do you really need us to read for you?
fayimora has joined #ruby-lang
<tintin> Actually i was amazed to read that statistics, 332 bugs is not a big number
<tintin> for a open source project
tintin has quit [Quit: tintin]
msaffitz has quit [Quit: Computer has gone to sleep.]
wpaulson has joined #ruby-lang
macmartine has quit [Quit: macmartine]
fgomez has quit [Quit: leaving]
fayimora has quit [Quit: Busy…..zzzzz]
apeiros_ has quit [Remote host closed the connection]
macmartine has joined #ruby-lang
mitchty has quit [Ping timeout: 252 seconds]
<zzak> does /ignore work for users?
<zzak> think i just solved a first world problem
fgomez has joined #ruby-lang
FastJack has quit [Ping timeout: 245 seconds]
idano has joined #ruby-lang
sepp2k1 has quit [Remote host closed the connection]
byronb has quit [Ping timeout: 240 seconds]
msaffitz has joined #ruby-lang
mattonrails has quit [Remote host closed the connection]
fayimora has joined #ruby-lang
qpingu has joined #ruby-lang
qpingu has quit [Client Quit]
savage- has joined #ruby-lang
FastJack has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
d3vic3 has quit [Ping timeout: 240 seconds]
flowerpot has joined #ruby-lang
d3vic3 has joined #ruby-lang
brianpWins has joined #ruby-lang
rippa has joined #ruby-lang
wpaulson_ has joined #ruby-lang
VGoff is now known as VGoff_afk
dhruvasagar has quit [Read error: Connection reset by peer]
wpaulson has quit [Ping timeout: 244 seconds]
wpaulson_ is now known as wpaulson
dhruvasagar has joined #ruby-lang
gsav has joined #ruby-lang
mistym has quit [Remote host closed the connection]
fayimora has quit [Quit: Busy…..zzzzz]
gsav has quit [Read error: Connection reset by peer]
pabloh has quit [Quit: Ex-Chat]
wmoxam has joined #ruby-lang
VGoff_afk is now known as VGoff
msaffitz has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
lsegal has joined #ruby-lang
umttumt has quit [Remote host closed the connection]
yxhuvud has joined #ruby-lang
seanstickle has quit [Quit: Nihil sub sole novum]
gsav has joined #ruby-lang
yxhuvud has quit [Read error: Connection reset by peer]
ruurd has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
gsav has joined #ruby-lang
yugui_zzz is now known as yugui
idano has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
savage- has quit [Remote host closed the connection]
yxhuvud has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
jayne has quit [Read error: Connection reset by peer]
jayne_ has joined #ruby-lang
dfr|mac has quit [Remote host closed the connection]
pip has quit [Read error: Connection reset by peer]
ttilley has joined #ruby-lang
ttilley has quit [Changing host]
ttilley has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 248 seconds]
krz has quit [Quit: krz]
mitchty has joined #ruby-lang
fentick has joined #ruby-lang
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
ryanf has joined #ruby-lang
fentick has quit []
fentick has joined #ruby-lang
macmartine has quit [Quit: macmartine]
fentick has quit [Client Quit]
sustainableweb has joined #ruby-lang
Axsuul has quit [Read error: Connection reset by peer]
kiddorails has joined #ruby-lang
mytrile has joined #ruby-lang
s0ra_h is now known as sora_h
gentz has quit [Ping timeout: 245 seconds]
ruurd has quit [Quit: Leaving...]
<mytrile> Hey, guys. How can I trace a method call ?
chimkan has joined #ruby-lang
chimkan has quit [Read error: Connection reset by peer]
chimkan_ has joined #ruby-lang
sustainableweb has quit [Quit: Linkinus - http://linkinus.com]
burgestrand has joined #ruby-lang
kiddorails has quit [Read error: Connection reset by peer]
Axsuul has joined #ruby-lang
rivaler has joined #ruby-lang
Asher1 has joined #ruby-lang
Asher has quit [Read error: Connection reset by peer]
charliesome has joined #ruby-lang
Asher1 has quit [Client Quit]
Asher has joined #ruby-lang
diegoviola has quit [Ping timeout: 244 seconds]
flori has quit [Read error: Operation timed out]
ryanf has quit [Ping timeout: 244 seconds]
ryanf has joined #ruby-lang
flori has joined #ruby-lang
dc5ala has joined #ruby-lang
kiddorails has joined #ruby-lang
igotnolegs has quit [Quit: Computer has gone to sleep.]
kiddorails has quit [Read error: Connection reset by peer]
_br_ has quit [Quit: Bye, thanks for all the fish.]
<bnagy> mytrile: check out 'caller'
<rue> Or, depending on what needs to be traced, rprofile, set_trace_func
Criztian has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
akira989 has quit [Remote host closed the connection]
dbck has joined #ruby-lang
_br_ has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
burgestrand has quit [Ping timeout: 244 seconds]
ruurd has joined #ruby-lang
ruurd has quit [Read error: Connection reset by peer]
ruurd_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
<mytrile> thanks bnagy
<mytrile> rue: I want to see the chain of methods, because I'm lazy and don't to read the source code of the library I'm using
<rue> Then, that.
chimkan_ has quit [Quit: chimkan_]
wallerdev has quit [Quit: wallerdev]
nevynxxx has joined #ruby-lang
zmack has joined #ruby-lang
umttumt has joined #ruby-lang
qwerxy has joined #ruby-lang
fserb has joined #ruby-lang
francisfish has joined #ruby-lang
fserb has quit [Client Quit]
fserb has joined #ruby-lang
woollyams has joined #ruby-lang
qwerxy has quit [Quit: offski]
yugui is now known as yugui_zzz
Fullmoon has joined #ruby-lang
woollyams has quit [Client Quit]
kitallis has quit [Quit: Computer has gone to sleep.]
kitallis has joined #ruby-lang
fserb has quit [Quit: ttyl]
selvakumaran has joined #ruby-lang
ryanf has quit [Ping timeout: 265 seconds]
fserb has joined #ruby-lang
fserb has quit [Client Quit]
robotmay has joined #ruby-lang
fjfish has joined #ruby-lang
francisfish has quit [Read error: Connection reset by peer]
d3vic3 has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
d3vic3 has joined #ruby-lang
gnufied has joined #ruby-lang
tomb_ has joined #ruby-lang
S1kx has joined #ruby-lang
hahuang65 has joined #ruby-lang
tekin has joined #ruby-lang
hahuang65 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
futurechimp has joined #ruby-lang
kaiwren has joined #ruby-lang
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
d3vic3 has quit [Ping timeout: 248 seconds]
d3vic3 has joined #ruby-lang
gentz has joined #ruby-lang
rolfb has joined #ruby-lang
ando has quit [Quit: Leaving...]
selvakumaran_ has joined #ruby-lang
workmad3 has joined #ruby-lang
selvakumaran has quit [Ping timeout: 265 seconds]
ttilley has quit [Remote host closed the connection]
ttilley has joined #ruby-lang
ttilley has quit [Changing host]
ttilley has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
benteaa has quit [Remote host closed the connection]
the-newsman has joined #ruby-lang
qwerxy has joined #ruby-lang
toretore has joined #ruby-lang
the-newsman_ has joined #ruby-lang
the-newsman has quit [Remote host closed the connection]
S1kx has quit [Ping timeout: 265 seconds]
kyrylo has joined #ruby-lang
benteaa has joined #ruby-lang
srbartlett has joined #ruby-lang
tekin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
tekin has joined #ruby-lang
kaiwren has quit [Quit: kaiwren]
ttilley has quit [Remote host closed the connection]
mytrile has quit [Read error: Connection reset by peer]
mytrile_ has joined #ruby-lang
S1kx has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
srbartlett has joined #ruby-lang
mytrile_ has quit [Read error: Connection reset by peer]
mytrile has joined #ruby-lang
flowerpot has quit [Quit: Ex-Chat]
srbartlett has quit [Remote host closed the connection]
oddmunds has joined #ruby-lang
neoesque has quit [Quit: Bye!]
the-newsman_ has quit [Ping timeout: 244 seconds]
ryez has quit [Ping timeout: 245 seconds]
kaiwren has joined #ruby-lang
bglusman has joined #ruby-lang
d3vic3 has quit [Ping timeout: 244 seconds]
bglusman has quit [Ping timeout: 244 seconds]
d3vic3 has joined #ruby-lang
tbuehlmann has joined #ruby-lang
Hakon|mbp has quit [Quit: Leaving...]
fayimora has joined #ruby-lang
cantonic_ has joined #ruby-lang
cantonic has quit [Ping timeout: 265 seconds]
cantonic_ is now known as cantonic
tekin has quit [Quit: Computer has gone to sleep.]
tekin has joined #ruby-lang
tekin has quit [Client Quit]
stamina has quit [Quit: Lost terminal]
tekin has joined #ruby-lang
rippa has quit [Ping timeout: 244 seconds]
futurechimp has quit [Ping timeout: 248 seconds]
futurechimp has joined #ruby-lang
apeiros_ has joined #ruby-lang
Facefox has quit [Ping timeout: 250 seconds]
futurechimp has quit [Ping timeout: 248 seconds]
zz_chrismcg is now known as chrismcg
Facefox has joined #ruby-lang
Facefox has quit [Max SendQ exceeded]
Facefox has joined #ruby-lang
Dreamer3__ has quit [Quit: Leaving...]
Dreamer3 has joined #ruby-lang
futurechimp has joined #ruby-lang
workmad3 has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
Facefox has quit [Ping timeout: 244 seconds]
dhruvasagar has joined #ruby-lang
workmad3 has joined #ruby-lang
Facefox has joined #ruby-lang
Facefox has quit [Max SendQ exceeded]
K0rnflake has quit [Ping timeout: 248 seconds]
matled has quit [Read error: Operation timed out]
Facefox has joined #ruby-lang
Facefox has quit [Max SendQ exceeded]
neoesque has joined #ruby-lang
Facefox has joined #ruby-lang
Facefox has quit [Max SendQ exceeded]
Facefox has joined #ruby-lang
Facefox has quit [Max SendQ exceeded]
Axsuul has quit [Ping timeout: 252 seconds]
Facefox has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
Facefox has quit [Max SendQ exceeded]
zzak has quit [Read error: Operation timed out]
futurechimp has quit [Ping timeout: 244 seconds]
umttumt has quit [Remote host closed the connection]
Facefox has joined #ruby-lang
dbck has quit [Quit: Bye!]
Guedes has joined #ruby-lang
futurechimp has joined #ruby-lang
woollyams has joined #ruby-lang
dalekurt has quit [Quit: Zzz...]
me has joined #ruby-lang
dalekurt has joined #ruby-lang
me has left #ruby-lang [#ruby-lang]
selvakumaran_ has quit [Ping timeout: 246 seconds]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
umttumt has joined #ruby-lang
postmodern has quit [Quit: Leaving]
futurechimp has quit [Quit: This computer has gone to sleep]
fgomez has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 244 seconds]
bryancp has joined #ruby-lang
futurechimp has joined #ruby-lang
tekin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
zzak has joined #ruby-lang
brushbox has quit [Quit: Leaving.]
umttumt has quit [Remote host closed the connection]
selvakumaran_ has joined #ruby-lang
matled has joined #ruby-lang
<andrewvos> HELLOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
umttumt has joined #ruby-lang
<yorickpeterse> nobody here, move along
<zzak> nothing like waking up to an ec2 outage first thing on a friday morning
CCD has joined #ruby-lang
jperry2 has joined #ruby-lang
selvakumaran_ has quit [Ping timeout: 265 seconds]
<andrewvos> yay clouds
<andrewvos> and stuf
<andrewvos> f
heftig has quit [Quit: leaving]
gouthamvel has joined #ruby-lang
riffraff has joined #ruby-lang
<andrewvos> nice!
<youngin> hehe
<youngin> wish i knew how y'all felt, aint nothing but tag clouds over here
<youngin> sunshine and app dev in the tropics
umttumt has quit [Remote host closed the connection]
yugui_zzz is now known as yugui
K0rnflake has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
dhruvasagar has joined #ruby-lang
srbartlett has joined #ruby-lang
tommyvyo has joined #ruby-lang
gix has quit [Ping timeout: 240 seconds]
CCD has quit [Remote host closed the connection]
umttumt has joined #ruby-lang
bastiaan has joined #ruby-lang
gix has joined #ruby-lang
yugui is now known as yugui_zzz
yugui_zzz is now known as yugui
rmascarenhas has quit [Ping timeout: 244 seconds]
CCD has joined #ruby-lang
CCD has quit [Client Quit]
rmascarenhas has joined #ruby-lang
gouthamvel has quit [Ping timeout: 244 seconds]
gouthamvel has joined #ruby-lang
Guedes has quit [Read error: Connection reset by peer]
Swimming_Bird has joined #ruby-lang
yugui is now known as yugui_zzz
jxie has quit [Quit: leaving]
carloslopes has joined #ruby-lang
vaelen has quit [Remote host closed the connection]
vaelen has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
hynkle has joined #ruby-lang
cek has joined #ruby-lang
cek has left #ruby-lang [#ruby-lang]
the-newsman has joined #ruby-lang
cek has joined #ruby-lang
yugui_zzz is now known as yugui
digitalbane has joined #ruby-lang
the-newsman has left #ruby-lang [#ruby-lang]
bryancp has quit [Remote host closed the connection]
dv310p3r has joined #ruby-lang
mistym has quit [Remote host closed the connection]
tcopp has joined #ruby-lang
kaiwren has quit [Quit: kaiwren]
mark_locklear has joined #ruby-lang
Jake232 has joined #ruby-lang
bglusman has joined #ruby-lang
denysonique has quit []
yugui is now known as yugui_zzz
denysonique has joined #ruby-lang
bglusman has quit [Ping timeout: 244 seconds]
bryancp has joined #ruby-lang
neoesque has quit [Quit: Bye!]
slyphon has joined #ruby-lang
stamina has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
yugui_zzz is now known as yugui
enebo has joined #ruby-lang
charliesome has quit [Read error: Connection reset by peer]
ttilley has joined #ruby-lang
ttilley has quit [Changing host]
ttilley has joined #ruby-lang
__viktor__ has joined #ruby-lang
ioga_wrk has quit [Ping timeout: 244 seconds]
rippa has joined #ruby-lang
yugui is now known as yugui_zzz
sailias has joined #ruby-lang
mistym has joined #ruby-lang
ruurd_ has quit [Quit: Leaving...]
yugui_zzz is now known as yugui
Boohbah has quit [Remote host closed the connection]
Boohbah has joined #ruby-lang
soahccc` is now known as soahccc
bastiaan has quit [Quit: Konversation terminated!]
countdigi has quit [Ping timeout: 244 seconds]
ruby-lang872 has joined #ruby-lang
ioga_wrk has joined #ruby-lang
ruby-lang872 has quit [Client Quit]
outoftime has joined #ruby-lang
heftig has joined #ruby-lang
jkprg has joined #ruby-lang
umttumt has quit [Remote host closed the connection]
<Defusal> i have found this post in many different places, including the nginx forums, but there are no responses... http://www.ruby-forum.com/topic/3252231
<Defusal> anyone know how to enable deflate or gzip for files served from nginx using x-accel-redirect?
Facefox has quit [Ping timeout: 248 seconds]
<apeiros_> Defusal: I'd guess #nginx exists
mytrile has quit [Remote host closed the connection]
<Defusal> apeiros_, sure does, but just as no one has responded to the post on nginx forums since december last year, no one has responded to my question over there
<Defusal> so i thought maybe someone here knows, since x-accel-redirect is real useful for ruby web apps
<apeiros_> …
<apeiros_> I'd try taking it on to #computers, maybe someone there knows…
<Defusal> ...
<apeiros_> on a more serious note - escalating to e.g. stackoverflow makes more sense.
<apeiros_> put out a bounty if necessary
<Defusal> rack has a x-accel-redirect implementation, maybe i over estimated the amount of ruby developers that use x-accel-redirect
ttilley has quit []
outsmartin has joined #ruby-lang
Facefox has joined #ruby-lang
sockmonk has joined #ruby-lang
ttilley_off is now known as ttilley
msaffitz has joined #ruby-lang
bglusman has joined #ruby-lang
dv310p3r has quit [Quit: Leaving]
Jake232 has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 265 seconds]
apeiros_ is now known as apeiros
apeiros is now known as apeiros__
apeiros__ is now known as shisohan
shisohan is now known as apeiros
apeiros has left #ruby-lang [#ruby-lang]
apeiros_ has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
andrewhl has joined #ruby-lang
heftig has quit [Quit: leaving]
yugui is now known as yugui_zzz
Facefox has quit [Ping timeout: 260 seconds]
kaiwren has joined #ruby-lang
Facefox has joined #ruby-lang
Facefox has quit [Max SendQ exceeded]
Facefox has joined #ruby-lang
Facefox has quit [Max SendQ exceeded]
Facefox has joined #ruby-lang
jayne_ is now known as jayne
rolfb has quit [Quit: crawling]
__viktor__ has quit [Quit: __viktor__]
wallerdev has joined #ruby-lang
akira989 has joined #ruby-lang
havenn has joined #ruby-lang
Constant_ has joined #ruby-lang
ConstantineXVI has quit [Read error: No route to host]
kaiwren has quit [Quit: kaiwren]
wpaulson has quit [Ping timeout: 244 seconds]
bfreeman has quit [Quit: bfreeman]
dreieins has quit [Ping timeout: 252 seconds]
gouthamvel has quit [Remote host closed the connection]
wpaulson has joined #ruby-lang
gouthamvel has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
adambeynon has joined #ruby-lang
cek has quit [Quit: жопа диридай диридиридай]
dreieins has joined #ruby-lang
carloslopes has quit [Ping timeout: 265 seconds]
yugui_zzz is now known as yugui
thone has joined #ruby-lang
cldwalker has joined #ruby-lang
jacobwg has joined #ruby-lang
thone_ has quit [Ping timeout: 265 seconds]
riffraff has quit [Quit: This computer has gone to sleep]
markborcherding has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
tr-808 has quit [Remote host closed the connection]
pbjorklu1d has quit [Quit: leaving]
asahi has joined #ruby-lang
tr-808 has joined #ruby-lang
pbjorklund has joined #ruby-lang
tr-808_ has joined #ruby-lang
kitallis has quit [Quit: Computer has gone to sleep.]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<asahi> anyone know how to get the text (without the html) of a Mechanize::Page object
ttilley is now known as ttilley_off
VGoff is now known as VGoff_afk
<asahi> or do I have to do something like Nokogiri::HTML(page.content).text
robotmay has quit [Remote host closed the connection]
macmartine has joined #ruby-lang
tr-808_ has quit [Ping timeout: 244 seconds]
tr-808 has quit [Ping timeout: 244 seconds]
tr-808 has joined #ruby-lang
Carnage\ has joined #ruby-lang
macmartine has quit [Read error: Connection reset by peer]
wpaulson has quit [Ping timeout: 265 seconds]
tr-808_ has joined #ruby-lang
VGoff_afk is now known as VGoff
macmartine has joined #ruby-lang
dfr|mac has joined #ruby-lang
macmartine has quit [Remote host closed the connection]
jkprg has quit [Quit: jkprg]
macmartine has joined #ruby-lang
imperator has joined #ruby-lang
tr-808 has quit [Ping timeout: 246 seconds]
<imperator> you can't use BEGIN inside a module now?
<imperator> module Process; BEGIN{ puts "hello" }; end => works in 1.8, fails in 1.9
tr-808 has joined #ruby-lang
tr-808_ has quit [Ping timeout: 252 seconds]
tr-808_ has joined #ruby-lang
mistym_ has joined #ruby-lang
flowerpot has joined #ruby-lang
tr-808 has quit [Ping timeout: 244 seconds]
msaffitz has joined #ruby-lang
tr-808 has joined #ruby-lang
tr-808_ has quit [Ping timeout: 245 seconds]
tr-808_ has joined #ruby-lang
msaffitz has quit [Client Quit]
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
tr-808 has quit [Ping timeout: 248 seconds]
toretore has quit [Read error: Connection reset by peer]
tr-808 has joined #ruby-lang
toretore has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
tr-808_ has quit [Ping timeout: 245 seconds]
tr-808_ has joined #ruby-lang
jacobwg has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
mistym_ has quit [Remote host closed the connection]
* imperator wonders why watir-classic ships with its own win32ole.so file
outoftime has quit [Quit: Leaving]
markborcherding has quit [Remote host closed the connection]
tr-808 has quit [Ping timeout: 246 seconds]
fjfish has quit [Remote host closed the connection]
tr-808 has joined #ruby-lang
savage- has joined #ruby-lang
tr-808_ has quit [Ping timeout: 245 seconds]
tr-808_ has joined #ruby-lang
tr-808 has quit [Ping timeout: 252 seconds]
tr-808 has joined #ruby-lang
Carnage\ has quit []
tr-808_ has quit [Ping timeout: 244 seconds]
nevynxxx has quit [Ping timeout: 245 seconds]
tr-808_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
tr-808 has quit [Ping timeout: 244 seconds]
tr-808 has joined #ruby-lang
<imperator> any watir users here? https://gist.github.com/2937369
tr-808_ has quit [Ping timeout: 244 seconds]
Facefox has quit [Ping timeout: 244 seconds]
tr-808_ has joined #ruby-lang
bfreeman has joined #ruby-lang
tr-808 has quit [Ping timeout: 245 seconds]
ruurd has joined #ruby-lang
tr-808 has joined #ruby-lang
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby-lang
havenn has quit [Remote host closed the connection]
yugui is now known as yugui_zzz
umttumt has joined #ruby-lang
tr-808_ has quit [Ping timeout: 248 seconds]
tr-808_ has joined #ruby-lang
tr-808 has quit [Ping timeout: 240 seconds]
sora_h is now known as s0ra_h
jperry has joined #ruby-lang
tr-808 has joined #ruby-lang
tomb_ has quit [Quit: Computer has gone to sleep.]
jperry has left #ruby-lang [#ruby-lang]
Facefox has joined #ruby-lang
nevynxxx has joined #ruby-lang
jperry2 has quit [Quit: Leaving.]
tr-808_ has quit [Ping timeout: 252 seconds]
tr-808 has quit [Ping timeout: 244 seconds]
brianpWins has quit [Quit: brianpWins]
nevynxxx has quit [Client Quit]
tr-808 has joined #ruby-lang
msaffitz has joined #ruby-lang
tr-808_ has joined #ruby-lang
jperry2 has joined #ruby-lang
fayimora has quit [Ping timeout: 248 seconds]
msaffitz has quit [Client Quit]
tr-808 has quit [Ping timeout: 265 seconds]
tr-808 has joined #ruby-lang
tr-808_ has quit [Ping timeout: 244 seconds]
tr-808_ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
ruurd has quit [Quit: Leaving...]
tr-808 has quit [Ping timeout: 244 seconds]
tr-808 has joined #ruby-lang
tr-808_ has quit [Ping timeout: 248 seconds]
tr-808_ has joined #ruby-lang
Facefox has quit [Ping timeout: 272 seconds]
fayimora has joined #ruby-lang
Facefox has joined #ruby-lang
<Where_Is_Void> can anyone tell me why I can't change the values in my struct? - http://pastie.org/4093336
tr-808 has quit [Ping timeout: 252 seconds]
<Where_Is_Void> I'm trying to insert a new node intp what will be a tree type thing
wmoxam has quit [Quit: leaving]
tr-808 has joined #ruby-lang
tr-808 has quit [Changing host]
tr-808 has joined #ruby-lang
tr-808_ has quit [Ping timeout: 244 seconds]
<apeiros_> Where_Is_Void: you should paste the error too
<Mon_Ouie> You used == instead of =
<Mon_Ouie> s['children'] == ['array with stuff in it', 'lost of stuf I want to put here']
<Where_Is_Void> oh I'm an idiot
<Where_Is_Void> I was staring at that for ages
<erikh> sometimes a fresh pair of eyes is all that's required
d3vic3 has quit [Quit: leaving]
<erikh> (I missed it too, fwiw)
tr-808_ has joined #ruby-lang
<Where_Is_Void> that makes me feel better hhaha
wmoxam has joined #ruby-lang
jtoy has joined #ruby-lang
slyphon has quit [Quit: WeeChat 0.3.7]
tr-808 has quit [Ping timeout: 246 seconds]
havenn has joined #ruby-lang
tr-808 has joined #ruby-lang
tr-808_ has quit [Ping timeout: 245 seconds]
tr-808_ has joined #ruby-lang
Facefox has quit [Remote host closed the connection]
havenn has quit [Read error: Connection reset by peer]
Facefox has joined #ruby-lang
Facefox has quit [Max SendQ exceeded]
havenn has joined #ruby-lang
brianpWins has joined #ruby-lang
tomb_ has joined #ruby-lang
Facefox has joined #ruby-lang
Facefox has quit [Max SendQ exceeded]
Hakon|mbp has quit [Quit: Leaving...]
tr-808 has quit [Ping timeout: 245 seconds]
tcopp has quit [Quit: Lost terminal]
tr-808 has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
tr-808_ has quit [Ping timeout: 244 seconds]
tr-808_ has joined #ruby-lang
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
Facefox has joined #ruby-lang
sailias has quit [Ping timeout: 245 seconds]
tr-808 has quit [Ping timeout: 246 seconds]
heftig has joined #ruby-lang
tr-808 has joined #ruby-lang
dreieins has quit [Ping timeout: 245 seconds]
benanne has joined #ruby-lang
workmad3 has quit [Ping timeout: 248 seconds]
qwerxy has quit [Ping timeout: 244 seconds]
francisfish has joined #ruby-lang
dfr|mac has quit [Remote host closed the connection]
digitalbane has left #ruby-lang [#ruby-lang]
<Where_Is_Void> OK this problem is much stranger. My search method won't return true even when the condition evaluates to true - http://pastie.org/4093485
<Where_Is_Void> when I do the first search for sam it works
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #ruby-lang
dreieins has joined #ruby-lang
brianpWins has quit [Remote host closed the connection]
carloslopes has joined #ruby-lang
brianpWins has joined #ruby-lang
<erikh> Where_Is_Void: brenda is a child of sam which is a child of jim
<erikh> you're not searching deeply enough.
<erikh> and then you return false if the search succeeds on your recursive searches.
<erikh> indent your code properly and you'd see that. :)
<Where_Is_Void> Yea I don't really understand recursion
<Where_Is_Void> I get the idea but it never works for me in practice
<erikh> well, you need to practice.
<erikh> start with something simpler.
<erikh> and having us debug your code for you is a horrible way to learn, if I may be so frank.
<Where_Is_Void> Sorry I don't mean to bug you guys
<Where_Is_Void> I did like factorials and simple recursion exersises
<erikh> you're not, i'm simply trying to teach you to fish instead of feeding them to you
<Where_Is_Void> haha fair enough
dreieins has quit [Ping timeout: 244 seconds]
<apeiros_> proper indentation++
<apeiros_> you can even get ruby to tell you about improper indents
<apeiros_> (don't ask me how, I always forget, I think with -W)
<erikh> I don't think it does it where $-w is true, but maybe on a specific integer
Swimming_Bird has joined #ruby-lang
<Where_Is_Void> Ok I cleaned up the code, but it still won't return true. I put a puts statement in after testing the names match and it excecutes, but if I try to return true it never works - http://pastie.org/4093535
tcopp has joined #ruby-lang
<Where_Is_Void> It goes through all the children and prints their names so recursion must be working
<erikh> ok, well, practice a bit.
<erikh> like I said, try something smaller/simpler.
lsegal has joined #ruby-lang
<erikh> work up to that.
<Where_Is_Void> ok no worries, back to the drawing board :)
<erikh> try to separate yourself from the goal. it may seem silly, but sometimes it's the best way to learn.
<asahi> I've got a string that looks like "\xCA" that has the encoding utf8. However, when I call downcase on it, I get ArgumentError: invalid byte sequence in UTF-8. can someone tell me why this is happening?
<asahi> or rather, what could cause this?
mrgreenfur has joined #ruby-lang
<erikh> \xCA is a continuation byte
<erikh> which IIRC is called a code point
<erikh> but don't hold me to that
<erikh> either way, you need more bytes yo
<erikh> for it to be valid utf8
<erikh> basically anything between \xC0 and \xFF is gonna require extra bytes in UTF8
<erikh> I may be off by a few bytes but that's close enough for horseshoes
<asahi> is there a way to strip invalid bytes from a string?
dreieins has joined #ruby-lang
<apeiros_> erikh: a codepoint is the integer representation of a character
<erikh> apeiros_: thanks. I wasn't sure about that.
<apeiros_> asahi: the proper way is to start out not having invalid sequences in your string in the first place. so how come you have them?
<erikh> asahi: there should be a slurp+rescue pattern you can use to gobble up the bytes and skip over any invalid utf8
pablo_ has joined #ruby-lang
<erikh> BUT
<erikh> I don't know what that is, and the other way is much harder.
<apeiros_> and yes, there are ways. encode accepts additional options to remove them.
<erikh> oh
<erikh> well shit
<erikh> apeiros_++
mattonrails has joined #ruby-lang
<asahi> apeiros_: I got the string from fetching a website
<apeiros_> s = "\xCA".force_encoding('binary'); s.encode('utf-8', replace: '') # => ""
<apeiros_> asahi: then you're probably doing it wrong.
Hakon|mbp has joined #ruby-lang
jtoy has quit [Ping timeout: 246 seconds]
<apeiros_> if your string contains invalid utf-8 sequences, then maybe it isn't encoded in utf-8 to begin with…
<erikh> this is the web we're talking about
<erikh> but I concur
M4g1c5t0rM has joined #ruby-lang
lopac1029 has joined #ruby-lang
jtoy has joined #ruby-lang
<apeiros_> erikh: true. there's far too many coders who utterly fail at encodings and the result is horribly broken output…
<erikh> eh, it was my job for the better part of a year to sort out encodings at a very large company
<erikh> two words: dream weaver
Hakon|mbp has quit [Read error: Connection reset by peer]
Boohbah has quit [Ping timeout: 276 seconds]
<apeiros_> two words: oh my god!
<erikh> hahaha
<erikh> I still don't get a lot of the encoding stuff.
Hakon|mbp has joined #ruby-lang
<apeiros_> o0
umttumt has quit [Remote host closed the connection]
<erikh> but yeah, these guys would use the charmap tool in windows and just paste in whatever
<apeiros_> I don't get why people don't get encodings. it's simply "byte sequence X represents character Y".
<erikh> well I get that
<erikh> but all the semantics around it, BOMs, etc
<apeiros_> BOM is only for utf-16 and higher
<erikh> right, but they are technically a part of encodings
Boohbah has joined #ruby-lang
<erikh> utf8 I have a pretty good grip on
<apeiros_> because then it matters whether "a" is represented by "\x00a" or "a\x00"
<erikh> but here's a doozy
<asahi> this is how I'm getting the invalid byte sequence
<erikh> given an arbitrary string of text, determine if it's us-ascii or cp1251
<apeiros_> wtf is that uvx param? the picture encoded in the url?
<apeiros_> erikh: impossible to do reliably
dfr|mac has joined #ruby-lang
<erikh> apeiros_: you can cheat a little because cp1251 has more printables than us-ascii does
<apeiros_> erikh: though if cp1251 is a proper extension to ascii, you can just always assume cp1251
<apeiros_> since then it is a superset
<apeiros_> erikh: for the fun of it, it's what I did last week
<apeiros_> write an importer for csv and excel files
<erikh> ah, you are a masochist
<asahi> oh, the web page is encoding SHIFT-JIS, which wasn't getting detected I guess
<apeiros_> and since our users are pretty much computer illiterates, I have to provide a guessing algorithm
<erikh> asahi: it's not going to
<erikh> see, your open-uri call isn't going to communicate the encoding to nokogiri
<erikh> *likely* because it's set in headers.
<asahi> erikh: guess I need to use something like Mechanize to detect the encoding
<erikh> right, something like that.
<apeiros_> erikh: I wanted to use chardet, but first I was hold up by 3 versions/forks of the gem not working, and then by it not being well suited for my task.
<erikh> Net::HTTP or RestClient would probably work flawlessly here too
<erikh> (and would probably be a lot simpler)
<erikh> unless you need to walk a ton of pages
<erikh> that's what mechanize is good at.
<apeiros_> erikh: for the moment I employ a very simplistic algorithm. I rule out charsets by spotting unmapped characters (macroman has all 256 possible values occupied, win1252 doesn't)
<apeiros_> and then I do a simple count on a couple of specific chars. simply because I know their likeliness to occur is higher than those of the others.
<apeiros_> but I have an easier game as only 3 charsets are to be expected - utf-8, win1252 and macroman.
<erikh> what do you need macroman for?
<apeiros_> our mac users
<erikh> er? are you on system 7 or something?
<apeiros_> stupid excel for mac defaults to macroman on csv exports
<apeiros_> haha, you'd wish
<erikh> oh wow
<apeiros_> seriously, m$ are fucktards about encodings
<apeiros_> also consider vcards - the standard *mandates* utf-8. but allows other encodings to be specified. yet outlook only, and only accepts win1252, no matter what.
<apeiros_> fucktards, really.
<erikh> eh it's years of being told nobody can touch you that fostered that
<erikh> there's some good tech in there still.
<apeiros_> also their "comma separated values" are separated by semicolons…
dfr|mac has quit [Read error: Connection reset by peer]
dfr|mac has joined #ruby-lang
<apeiros_> "The ource string for which the client wants to detect the code page." - never trust docs with typos :-p
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<erikh> couldn't sleep last night, got up at 3am, it's 11am now
<apeiros_> erikh: I'm really curious as to how well my approach will work out for our use-case…
<erikh> I'm pretty sleepy, and will be at work until 3-4pm
<apeiros_> I mean I'm auto-detecting pretty much everything
<erikh> you should push to standardize
<apeiros_> and our "customers" sadly do about everything that nobody would ever think of…
<apeiros_> impossibru!
<erikh> oh, outside
<erikh> yeah
<apeiros_> I mean we do provide them with templates and tell them what's mandatory
<erikh> couldn't you set the encoding in the templates?
<apeiros_> not for csv. and for excel it's luckily part of the metadata.
<erikh> ah yeah.
<apeiros_> but I'm fully prepared that at max. 70% will follow that and will be utterly upset if their stuff can't be imported :)
futurechimp has quit [Quit: Leaving]
butchanton has joined #ruby-lang
<apeiros_> you should see our database… I mean they manage to put *notes* into fields for phone numbers
<apeiros_> or gender into the name field
<apeiros_> it's seriously incredibly how much they're capable to fuck up data entry.
<apeiros_> *incredible
<apeiros_> (those input forms are not from us, I'm working on a more advanced way for data entry, which *hopefully* helps reduce the bullshit level)
<erikh> datatables.net? :)
<zzak> erikh: have any ec2 running in N.Virginia?
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
macmartine has quit [Quit: macmartine]
<asahi> so I have a Mechanize::Page and when I call page.content, the resulting string doesn't have the same encoding as page. Guess I need to check the encoding and then force it?
carloslopes has quit [Ping timeout: 240 seconds]
<asahi> it seems that page.content is getting the encoded incorrectly as ASCII
<darix> asahi: which ruby version?
<asahi> 1.9.3
jarred has joined #ruby-lang
<asahi> darix: ^^
<erikh> zzak: tons
<erikh> we weren't affected though
<apeiros_> erikh: we actually use a widget like that
<apeiros_> but I meant data entry
<erikh> aye
<apeiros_> like where it tells you that you probably chose the wrong gender. that the first name is probably misspelled etc.
<erikh> you could probably make datatables do it
<erikh> but it might not be worth the effort.
<apeiros_> that the phone number is not valid, the email address etc. etc. (the current input form does very very little validation)
<erikh> it can do ajax callbacks on form input and so forth
<apeiros_> mine is more sophisticated :-p
<apeiros_> still want to opensource it :-(
Swimming_Bird has joined #ruby-lang
djinni`_ has joined #ruby-lang
schroedinbug has joined #ruby-lang
tr-808 has quit [Quit: leaving]
saLOUt has joined #ruby-lang
<zzak> erikh: i cant get unicorn to boot now, but everything else is okay
<erikh> zzak: sorry :(
qpingu has joined #ruby-lang
<zzak> i can get thin/mongrel/webrick to boot but not proxy through nginx
<zzak> same problem on a few instances
imperator has quit [Ping timeout: 244 seconds]
tr-808_ is now known as tr-808
dfr|mac has quit [Remote host closed the connection]
achiu has joined #ruby-lang
fgomez has joined #ruby-lang
<zzak> pretty pissed off about it
zmack has quit [Remote host closed the connection]
<erikh> is your nginx config busted?
macmartine has joined #ruby-lang
<zzak> nginx is fine
<zzak> im starting a new instance with chef solo
jarred_ has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sailias has joined #ruby-lang
jarred has quit [Ping timeout: 240 seconds]
jarred_ is now known as jarred
imperator has joined #ruby-lang
amerine_ is now known as amerine
akira989 has quit [Remote host closed the connection]
fgomez has quit [Quit: leaving]
fgomez has joined #ruby-lang
carloslopes has joined #ruby-lang
rippa has quit [Ping timeout: 244 seconds]
saLOUt has quit [Quit: Konversation terminated!]
pablo_ has quit [Quit: Ex-Chat]
slyphon has joined #ruby-lang
retro|cz has quit [Ping timeout: 265 seconds]
rippa has joined #ruby-lang
kvirani has joined #ruby-lang
achiu has quit [Quit: WeeChat 0.3.7]
bryancp has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 246 seconds]
sailias has joined #ruby-lang
workmad3 has joined #ruby-lang
havenn has quit [Remote host closed the connection]
Fullmoon has quit [Quit: Fullmoon]
sailias has quit [Ping timeout: 246 seconds]
NeVeR_ has joined #ruby-lang
sailias has joined #ruby-lang
lopac1029 has quit [Quit: Leaving]
jtoy has quit [Quit: jtoy]
Boohbah has quit [Remote host closed the connection]
Boohbah has joined #ruby-lang
moos3 has joined #ruby-lang
bryancp has joined #ruby-lang
moos3 has quit [Client Quit]
andrewhl has joined #ruby-lang
mattonrails has quit [Remote host closed the connection]
Axsuul has joined #ruby-lang
achiu has joined #ruby-lang
havenn has joined #ruby-lang
achiu has quit [Client Quit]
lsegal has joined #ruby-lang
ruurd has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
achiu has joined #ruby-lang
bglusman has quit [Remote host closed the connection]
bglusman has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
bglusman has quit [Read error: Connection reset by peer]
bglusman has joined #ruby-lang
kaiwren has joined #ruby-lang
kaiwren has quit [Client Quit]
bglusman_ has joined #ruby-lang
bglusman has quit [Read error: Connection reset by peer]
<mrgreenfur> has anyone used beanstalkd the queueing service?
<cout> why does T_DATA use generic_ivar_get instead of using the same iv_tbl as a T_OBJECT?
<cout> oic
schroedinbug has quit [Ping timeout: 248 seconds]
sailias has quit [Quit: Leaving.]
gsav_ has joined #ruby-lang
stamina has quit [Quit: Lost terminal]
bryancp has joined #ruby-lang
gsav has quit [Ping timeout: 248 seconds]
* jaimef looks for a way to script some stuff to autorun on launching irb
<cout> jaimef: .irbrc
moos3 has joined #ruby-lang
<jaimef> what about like a one off?
<jaimef> nvm I see what you mean thanks
francisfish has quit [Remote host closed the connection]
akira989 has joined #ruby-lang
akira989 has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
akira989 has joined #ruby-lang
bnagy has quit [Ping timeout: 256 seconds]
bnagy has joined #ruby-lang
<cout> being evil is really hard
sepp2k has joined #ruby-lang
<cout> (trying to make two objects share the same iv table)
akira989 has quit [Remote host closed the connection]
rivaler has quit [Quit: rivaler]
<imperator> what evil are you up to?
akira989 has joined #ruby-lang
akira989 has quit [Read error: Connection reset by peer]
<cout> imperator: trying to build an instance_eval that's only for methods and not for instance variables
<cout> so you can call methods on an object without the 'obj.' prefix
<cout> ruby is changing RBASIC(self)->klass out from under me
<cout> ooh I got it
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<cout> now to write some tests for it
schroedinbug has joined #ruby-lang
<kith> i wish sublime text2 would add a comment at the end of each block... kind like def foo ... end # end of block def foo
flowerpot has quit [Ping timeout: 248 seconds]
akira989 has joined #ruby-lang
<kith> or is there a textmate bundle that does that?
<singpolyma> kith: you don't have a hotkey to do start/end matching?
sandbags has quit [Remote host closed the connection]
<imperator> cout, sounds evil
<kith> singpolyma: like press tab and it prints that automatically?
<singpolyma> kith: something. In vim, I just hit % and it shows me when the start/end of the block are
<kith> yeah but when i have many many many ends i still find that confusing
<kith> so i manually comment ends
<singpolyma> so don't nest things that deeply :P
<kith> hummm :S
<kith> and i think Ada does that right?
<kith> they clearly state what end an end is
<kith> i think... not sure
<singpolyma> sort of. so does shell
<singpolyma> if...fi and all that
<kith> yeah what Ada does... i like :)
<singpolyma> I find that when I find myself needing comments for my block-ends, it's a sign that I'm too deeply nested
<kith> hmm you think=?
<singpolyma> IME, YMMV
mark_locklear has quit [Quit: Leaving]
outsmartin has quit [Quit: Leaving.]
Criztian has quit [Remote host closed the connection]
rivaler has joined #ruby-lang
jperry2 has quit [Ping timeout: 240 seconds]
Constant_ has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
moos3 has quit [Quit: Computer has gone to sleep.]
chrismcg is now known as zz_chrismcg
carloslopes has quit [Ping timeout: 244 seconds]
rippa has quit [Ping timeout: 244 seconds]
enebo has quit [Quit: enebo]
qpingu has quit [Quit: Leaving.]
<drbrain> asahi: the page must be parsed before mechanize can determine the encoding
<drbrain> asahi: page.doc.encoding (and page.doc.to_s.encoding)
<drbrain> will be correct
qpingu has joined #ruby-lang
qpingu has quit [Client Quit]
qpingu has joined #ruby-lang
hynkle has quit [Quit: hynkle]
dontbecold_ has joined #ruby-lang
<dontbecold_> is it possible to upgrade the version of OpenSSL which MRI Ruby compiles against?
workmad3 has quit [Ping timeout: 245 seconds]
carloslopes has joined #ruby-lang
msaffitz has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
<apeiros_> drbrain: hu? no… that's what the content-type header is there for. no?
nuclearsandwich has quit [Ping timeout: 265 seconds]
<drbrain> apeiros_: it may also be indicated in the document through <?xml?> or <meta>
tcopp has left #ruby-lang [#ruby-lang]
<apeiros_> drbrain: afaik a user agent is supposed to ignore that if a content-type header is given… I may misremember that, though.
<drbrain> and sometimes the metadata is wrong and the encoding detected by libxml2 is different still
<apeiros_> would be worth an experiment, how current browsers handle contradicting information
<pabs> mozilla samples a bit of the content and uses a bayesian match to determine the character encoding
<pabs> i'll see if i can find a reference
<drbrain> there's also page.encoding
<drbrain> to match Mechanize::File and Mechanize::Download, #content will always be ASCII-8BIT
<drbrain> pabs: ironically, this page is full of replacement characters for me
<apeiros_> pabs: haha, got to love that. they state it was utf-8 and yet have invalid sequences in tha tpage
<pabs> drbrain: same
<apeiros_> anyway, it says it's outdated and from the archive
<pabs> it's not technically bayesian, but it is a classification scheme based on the content
<pabs> (in addition to the declared content type)
<apeiros_> I think the chardet gems use that algorithm
yxhuvud has quit [Ping timeout: 245 seconds]
andrewhl has quit [Remote host closed the connection]
<imperator> dang, somehow this facebook game doesn't like programmatic get requests via mechanize
<imperator> or rather, it seems to ignore them
<erikh> try spoofing the user agent yet?
bglusman_ has quit [Remote host closed the connection]
<imperator> maybe i need to do that
<erikh> likely.
<drbrain> mech.user_agent_alias = 'Mac Safari'
bglusman has joined #ruby-lang
sockmonk has quit [Ping timeout: 264 seconds]
<imperator> damn, that didn't do it
<drbrain> zzak: ping
stamina has joined #ruby-lang
<imperator> they must be checking for something else
soahccc is now known as soahccc`
<apeiros_> imperator: see whether the game works in a browser with js turned off
<imperator> apeiros_, it's just a get request
<apeiros_> imperator: programmatically maybe…
<imperator> basically, if i put a url in the browser manually i add a friend to my "elite guard"
sailias has joined #ruby-lang
<imperator> (this is Castle Age, btw)
sailias has quit [Client Quit]
<apeiros_> did you check what it does? it may well do more than just that get request in the browser…
<apeiros_> but anyway, just copy all the headers that your browser sent
bglusman has quit [Ping timeout: 265 seconds]
<apeiros_> (safari lets you view them, I'd bet chrome and ff do too)
<imperator> hm, looking at the dev pane on safari, not sure how to tell what headers i sent
<apeiros_> imperator: in the newer ones they hid it, also you need to redo the request :-S
<apeiros_> moment…
<apeiros_> it's in the network pane
<apeiros_> you click on one of the items
<apeiros_> you then get a different view, where you see request and response headers
<apeiros_> (that's as of safari 5.1 iirc, in 5.0 it was better IMO)
<apeiros_> it's two tabs, it might default on the content tab instead of the headers tab
<imperator> ok, looking, tons of stuff on left hand side
qpingu has quit [Quit: Leaving.]
<apeiros_> you can filter
<apeiros_> on the bottom
akira989 has quit [Remote host closed the connection]
<apeiros_> you likely want 'documents' (I'm on a german system, so I may miss-guess the translated labels)
qpingu has joined #ruby-lang
<asahi> drbrain: I may be confused but Mechanize::Page#encoding seemed to call the encoding correctly. However, if I did Mechanize::Page.content, I got a string that was not of the same encoding.
<drbrain> asahi: correct
<drbrain> use page.parser.to_s to get a string of the correct encoding
zmack has joined #ruby-lang
<asahi> drbrain: thanks. also, do you happen to know why, when I get this site, it returns a Mechanize::File? http://www.welchol.com/about-welchol/welchol-for-type-2-diabetes.htm
<drbrain> asahi: there's not Content-Type header for that page
Maidomax has joined #ruby-lang
<drbrain> asahi: mech.pluggable_parser.default = Mechanize::Page should fix it
akira989 has joined #ruby-lang
<asahi> drbrain: mech?
<asahi> oh, nevermind
<drbrain> whatever you call your Mechanize instance
<asahi> got it. thanks for your help
<imperator> apeiros_, ok, request header shows "Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" for the first document
<imperator> i'll try setting that first
<apeiros_> I'd go with a "binary search". plug in all headers. see if it works. plug out half etc.
diegoviola has joined #ruby-lang
<drbrain> imperator: … you logged in with Mechanize, right?
<imperator> drbrain, yeah
butchanton has quit [Quit: Leaving.]
<drbrain> just checking :D
havenn has joined #ruby-lang
<imperator> hm, just setting that didn't work
<imperator> apeiros_, what do you mean by "binary search" in this context?
<apeiros_> the process of throwing out half of the headers to see whether it still works
<apeiros_> and repeating that process until you have the required set of headers
<zzak> drbrain: pong
<drbrain> zzak: I have commit to racc, so if you want to make doc changes there go ahead
<drbrain> zzak: but be sure to use the 1-4-stable branch, not master
havenn has quit [Remote host closed the connection]
<zzak> drbrain: good to know, thanks! ill send you a PR when they're ready
ruurd has quit [Quit: Leaving...]
mitchty has quit [Quit: znc broke]
mitchty has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 265 seconds]
kvirani has quit [Remote host closed the connection]
jtoy has joined #ruby-lang
apeiros_ is now known as proc{|x|x[]}
proc{|x|x[]} is now known as proc{|x|x[y]}
DMKE has quit [Ping timeout: 244 seconds]
perry has quit [Ping timeout: 265 seconds]
perryh has joined #ruby-lang
soahccc` is now known as soahccc
andrewhl has joined #ruby-lang
mistym has quit [Remote host closed the connection]
DMKE has joined #ruby-lang
Taranis has quit [Read error: Connection reset by peer]
Taranis has joined #ruby-lang
asahi has left #ruby-lang [#ruby-lang]
bryancp has joined #ruby-lang
anekos has quit [Remote host closed the connection]
anekos has joined #ruby-lang
proc{|x|x[y]} is now known as apeiros
cout has quit [Ping timeout: 245 seconds]
cout has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
wmoxam has quit [Quit: leaving]
achiu has quit [Quit: WeeChat 0.3.8]
workmad3 has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
tbuehlmann has quit []
havenn has joined #ruby-lang
qwerxy has joined #ruby-lang
meise has quit [Ping timeout: 260 seconds]
mistym has joined #ruby-lang
meise has joined #ruby-lang
Devanon has joined #ruby-lang
<Devanon> hi all
<drbrain> hello
perryh is now known as perryh_away
msaffitz has quit [Quit: Computer has gone to sleep.]
imperator has left #ruby-lang ["Leaving"]
zmack has quit [Remote host closed the connection]
samuelkadolph has quit [Quit: Quitting]
benanne has quit [Quit: kbai]
samuelkadolph has joined #ruby-lang
qwerxy has quit [Quit: offski]
brianpWins has quit [Quit: brianpWins]
s0ra_h is now known as sora_h
diegoviola has quit [Ping timeout: 252 seconds]
qwerxy has joined #ruby-lang
S1kx has quit [Ping timeout: 246 seconds]
qwerxy has quit [Client Quit]
qwerxy has joined #ruby-lang
sora_h is now known as s0ra_h
stamina_ has joined #ruby-lang
stamina has quit [Ping timeout: 265 seconds]
macmartine has quit [Quit: macmartine]
s0ra_h is now known as sora_h
dalekurt has quit [Quit: Zzz...]
neocoin has quit [Remote host closed the connection]
dalekurt has joined #ruby-lang
<erikh> hi friends
cantonic has quit [Ping timeout: 245 seconds]
<drbrain> hello!
sailias has joined #ruby-lang