apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
Junkyardhands has joined #ruby-lang
synthetix has quit [Read error: Operation timed out]
smook4 has quit [Ping timeout: 255 seconds]
dingus_khan has quit [Ping timeout: 264 seconds]
andrewvos has quit [Ping timeout: 248 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
gregmoreno has quit [Ping timeout: 252 seconds]
torrieri has quit [Quit: Leaving...]
Junkyardhands has quit [Remote host closed the connection]
ChinggizKhan has quit [Quit: ZZzzzZZZzzzZZZZzz]
kstuart has quit [Ping timeout: 256 seconds]
ruurd has joined #ruby-lang
malev has quit [Quit: Leaving]
fedesilva has quit [Ping timeout: 268 seconds]
tylersmith has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
hogeo has joined #ruby-lang
pw3 has joined #ruby-lang
tkuchiki has joined #ruby-lang
NemesisD has quit [Ping timeout: 276 seconds]
elia has quit [Quit: Computer has gone to sleep.]
vbatts has quit [Ping timeout: 246 seconds]
tylersmith has joined #ruby-lang
fedesilva has joined #ruby-lang
estsauver has quit [Ping timeout: 250 seconds]
erichu has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
ruurd has quit [Quit: Leaving...]
torrieri has joined #ruby-lang
banister_ has quit [Read error: Connection reset by peer]
gregmoreno has joined #ruby-lang
GeissT has joined #ruby-lang
andrewvos has joined #ruby-lang
duph has joined #ruby-lang
arubin has joined #ruby-lang
Aaaarg has joined #ruby-lang
andrewvos has quit [Ping timeout: 252 seconds]
gregmore_ has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
marr has quit [Ping timeout: 256 seconds]
mdedetrich has joined #ruby-lang
gregmoreno has quit [Ping timeout: 240 seconds]
torrieri has quit [Quit: Leaving...]
towski has quit [Remote host closed the connection]
<zenspider>
I just figured mine out earlier in sq meters ... so I'm ready for this :P
kalleth has joined #ruby-lang
gnufied1 has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
<gnufied>
andrewvos: move to Leeds or something
postmodern has quit [Quit: Leaving]
<injekt>
I dont understand presenters, or maybe it's why people use them how they do
Johz has joined #ruby-lang
smook4 has joined #ruby-lang
Domon_ has quit [Ping timeout: 240 seconds]
Domon has joined #ruby-lang
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
smook4 has quit [Ping timeout: 255 seconds]
barttenbrinke has quit [Remote host closed the connection]
sush24_ has joined #ruby-lang
wudofyr___ has quit [Remote host closed the connection]
<gnufied>
I don't as well. but I don't listen to them
sush24 has quit [Ping timeout: 264 seconds]
<gnufied>
on serious note, they has a use probably. for example yesterday when we were talking about polymorphic urls
<gnufied>
can't put in models, gets too complicated in helpers
<gnufied>
so I put them in presenters
<gnufied>
but they are not for every project I think.
wudofyr___ has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
<zenspider>
ah. finally... figured out how to do a SIMPLE fucking test in factor properly(? I hope)
<zenspider>
goodnight
<injekt>
gnufied: I just keep seeing people use them in every place a model instance would be, including before an update_attributes call
nazty has quit [Ping timeout: 256 seconds]
<andrewvos>
gnufied: Hell no
mdedetrich has quit [Quit: Computer has gone to sleep.]
sharma__ has joined #ruby-lang
nazty has joined #ruby-lang
Linkedipsoul has joined #ruby-lang
sush24_ has quit [Ping timeout: 264 seconds]
duph has quit [Quit: Leaving.]
Domon has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
mytrile has joined #ruby-lang
nazty has quit [Ping timeout: 264 seconds]
nazty has joined #ruby-lang
cdelo_ has joined #ruby-lang
alekst has joined #ruby-lang
ezkl has quit [Quit: Computer has gone to sleep.]
ezkl has joined #ruby-lang
skade has quit [Ping timeout: 264 seconds]
cdelo has quit [Ping timeout: 268 seconds]
skade has joined #ruby-lang
krz has quit [Ping timeout: 252 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
nazty has quit [Ping timeout: 276 seconds]
nazty has joined #ruby-lang
krz has joined #ruby-lang
nazty has quit [Read error: Connection reset by peer]
shireesh has quit [Ping timeout: 246 seconds]
wudofyr___ has quit [Remote host closed the connection]
wudofyr___ has joined #ruby-lang
toretore is now known as ludofyr
shireesh has joined #ruby-lang
ludofyr is now known as toretore
<toretore>
wudofyr___: do you actually do judo?
<yorickpeterse>
He judo's Ruby
<mdedetrich>
in Soviet Russia, you ruby judo
verto has joined #ruby-lang
<yorickpeterse>
man, managing about 61 repositories written in 5 different languages is tricky
<yorickpeterse>
especially with me forgetting random small things from time to time (e.g. including generated files in Gemspecs)
<mdedetrich>
thats why you need gnomes
<yorickpeterse>
mdedetrich: slavery is illegal here
<mdedetrich>
:(
<mdedetrich>
gnomes aren't real people!
<yorickpeterse>
I think people used to say the same about slaves :>
<mdedetrich>
slaves tended to be human, iirc
<gnufied>
LOL
<yorickpeterse>
either way, gnomes wouldn't be a bad idea
sharma__ has quit [Read error: Connection reset by peer]
<yorickpeterse>
Santa gets away with it
<gnufied>
I have been spawning slaves for awhile now and yet to get arrested
<gnufied>
spawning and making them work me. i.e
<yorickpeterse>
hurrhurr
<injekt>
61 repos D:
<yorickpeterse>
that's for just one big project we're doing
<yorickpeterse>
our own account has ...
<yorickpeterse>
136 repos
<injekt>
is everyone at your work as crazy as you?
<yorickpeterse>
pretty much
<injekt>
wow
<injekt>
do you all do the durgs together?
barttenbrinke has joined #ruby-lang
<gnufied>
before starting the day, YES
sharma__ has joined #ruby-lang
<injekt>
"morning yorick, i had a dream last night about a unicorn fighting a mounty who was riding a turtle, it gave me an awesome idea for a project, wanna hear it?"
<gnufied>
so come 62 repo written in brainfuck into being
<gnufied>
comes*
Aaaarg has joined #ruby-lang
skade has quit [Ping timeout: 264 seconds]
<gnufied>
if they use github. github must love them
<yorickpeterse>
injekt: actually we used to outsource some stuff in the early days. As a result we have quite a few small repos that we give limited access to
skade has joined #ruby-lang
<yorickpeterse>
that way these folks can't mess with the more important stuff
<yorickpeterse>
and the 61 other repos are a collection of repos for 8 different companies in the EU
joshuawscott has joined #ruby-lang
vgoff has quit [Ping timeout: 260 seconds]
ldnunes has joined #ruby-lang
vgoff has joined #ruby-lang
jxweng has joined #ruby-lang
jsullivandigs has joined #ruby-lang
joshuawscott has quit [Quit: joshuawscott]
krz has quit [Quit: krz]
mytrile has quit [Remote host closed the connection]
jsullivandigs has quit [Ping timeout: 256 seconds]
GarethAdams has quit [Quit: Leaving...]
sharma__ has quit [Quit: This computer has gone to sleep]
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
sush24 has joined #ruby-lang
jxweng has quit [Quit: Lost terminal]
<whitequark>
druuuuugs
alekst has quit [Quit: Computer has gone to sleep.]
Linkedipsoul has quit [Quit: This computer has gone to sleep]
andrewvos has quit [Ping timeout: 252 seconds]
<yorickpeterse>
hmpf, something I don't like doing: sending a basic auth username/password in plain text to a mailing list
ezkl has quit [Quit: Computer has gone to sleep.]
sandbags has quit [Remote host closed the connection]
<whitequark>
talking about drugs
<whitequark>
ACM Sigplan Notices 29, 4 (April 1994), 58-63. "A garbage collector is a refrigerator, thermodynamically speaking."
<whitequark>
I want some of his.
ruurd has quit [Ping timeout: 256 seconds]
dhruvasagar has quit [Ping timeout: 248 seconds]
smook4 has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
mdedetrich has quit [Quit: Computer has gone to sleep.]
glebm has joined #ruby-lang
Guest78735 is now known as hashkey
jsullivandigs has joined #ruby-lang
ditto572 has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
smook4 has quit [Ping timeout: 255 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 246 seconds]
mdedetrich has joined #ruby-lang
mytrile has joined #ruby-lang
yorickpeterse is now known as yorick-buildbot
mytrile has quit [Remote host closed the connection]
<crankharder>
eval, Class.new fun in the morning: https://gist.github.com/anonymous/b25e9447755ec611d87e -- Why is it that all of these dynamically created classes have last url value in the PAGES hash? Also, why does Barrons::URL exist - as far as I can tell it shouldn't... some scope issue? Can this be corrected somehow?
<crankharder>
Also, don't judge me.
<crankharder>
coworkers judged me immediately. :/
bradland has joined #ruby-lang
yorick-buildbot is now known as yorickpeterse
tomzx_mac has joined #ruby-lang
mistym has joined #ruby-lang
MaddinX__ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
nathanstitt has joined #ruby-lang
<GarethAdams>
crankharder: you're creating and then changing a constant inside a loop
<GarethAdams>
oh no wait, that's not a .each do
<crankharder>
a) there are no warnings about that. b) why isn't URL scoped inside the Class.new block ?
sluukkonen has left #ruby-lang [#ruby-lang]
<GarethAdams>
Class.new is not the same as class...end
Smol has joined #ruby-lang
<crankharder>
well... hrmm? say more :)
<Smol>
crankharder: you need to use self::URL
<Smol>
i.e. change line 19 to self::URL = url
<GarethAdams>
ok, listen to Smol, I was rambling out loud
<Smol>
constant lookup works a bit surprisingly inside class_eval, which Class.new uses
tylersmith has joined #ruby-lang
<crankharder>
well, neato. that works
<crankharder>
any ideas how I can lose the eval but still keep my named classes?
smook4 has joined #ruby-lang
pipework has joined #ruby-lang
<Smol>
const_set
dhruvasagar has joined #ruby-lang
jonahR has joined #ruby-lang
<crankharder>
ty :)
scampbell has joined #ruby-lang
<Smol>
anyone what's up with the modes on this channel? I couldn't even change my nick (and then identify to the nickserv) while I was this channel
<Smol>
just got a very unhelpful "#ruby-lang :Cannot change nickname while banned on channel" message
<yorickpeterse>
you need to be registered
<Oak>
nick identification has nothing to do with this or any channel. it's up-to freenode.
<yorickpeterse>
people have complained about it before but it hasn't changed yet
<crankharder>
I get that from a variety of channels if I ever get ghosted to a different name
jxie has joined #ruby-lang
glebm has quit [Ping timeout: 248 seconds]
newbie has joined #ruby-lang
newbie is now known as Guest51842
jsullivandigs has joined #ruby-lang
Asher1 has quit [Ping timeout: 268 seconds]
barttenbrinke has quit [Remote host closed the connection]
Guest51842 has left #ruby-lang [#ruby-lang]
ruby-lang249 has joined #ruby-lang
tomzx_mac has quit [Quit: tomzx_mac]
ruby-lang249 has quit [Client Quit]
mdedetrich has quit [Quit: Computer has gone to sleep.]
jsullivandigs has quit [Ping timeout: 248 seconds]
tomzx_mac has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
<andrewvos>
Another day, another tpope plugin installed.
mdedetrich has joined #ruby-lang
wallerdev has joined #ruby-lang
glebm has joined #ruby-lang
vbatts|work has quit [Quit: MeSoChatty 0.3.8]
<yorickpeterse>
50 minutes later and I finally got all my Gems uploaded
<yorickpeterse>
stoopid internet
tonni has quit [Remote host closed the connection]
jds__ has quit [Remote host closed the connection]
<cout>
yorickpeterse: I'm sure your internet is better than mine
<gnufied>
25 mbps apparently.
<gnufied>
i know more about yorick than he does.
<gnufied>
which is weird.
<yorickpeterse>
my upload speed was around 70kb/sec
<yorickpeterse>
size around 185MB
<yorickpeterse>
this would've taken lik 10 seconds back home :/
<injekt>
MyChickenNinja: ask away if you have a question
ffio has joined #ruby-lang
gregmoreno has joined #ruby-lang
izuriel has joined #ruby-lang
bastilian has joined #ruby-lang
izuriel has quit [Client Quit]
Linkedipsoul has quit [Quit: This computer has gone to sleep]
jinie_ is now known as jinie
carloslopes has quit [Remote host closed the connection]
Asher has joined #ruby-lang
Asher has quit [Client Quit]
Asher has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
Aaaarg has quit [Quit: Aaaarg]
fsvehla has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
GarethAdams|Work has joined #ruby-lang
justinmburrous has joined #ruby-lang
Johz has quit [Ping timeout: 240 seconds]
GarethAdams has quit [Disconnected by services]
GarethAdams|Work is now known as GarethAdams
fedesilva has quit [Remote host closed the connection]
mbj has quit [Ping timeout: 246 seconds]
stamina has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
dr_bob has quit [Quit: Leaving.]
Aaaarg has joined #ruby-lang
carloslopes has joined #ruby-lang
arooni-mobile has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
glebm has quit [Quit: Computer has gone to sleep.]
<MyChickenNinja>
got a ruby script that scans ips looking for a specific page. when it hits an ip that doesnt work, I get this bugger: Connection refused - connect(2) (Errno::ECONNREFUSED)
<ericwood>
sounds about right
justinmburrous has joined #ruby-lang
<MyChickenNinja>
i can rescue to nil but it breaks the loop
<ericwood>
it shouldn't if you wrote the loop correctly
<MyChickenNinja>
how can I tell it to try the next in the list?
<ericwood>
use "continue" instead of return
fragamus has joined #ruby-lang
<MyChickenNinja>
First time Ive heard of continue. how do I implement it? continue Errno::ECONNREFUSED ?
<ericwood>
continue is a standard programming concept, it basically says "skip over whatever is next and go back to the next iteration of the loop"
<gnufied>
there is "next" as well
<ericwood>
I haven't used that one, actually
<gnufied>
in fact ruby doesn't have continue
<gnufied>
it is called next
<MyChickenNinja>
ok, so next if Errno::ECONNREFUSED ?
<ericwood>
oh damnit
<gnufied>
MyChickenNinja: ye
<MyChickenNinja>
would i keep it in the same place i would use return?
<ericwood>
MyChickenNinja: begin; # do shit; rescue Errno::ECONNREFUSED; next; end
<ericwood>
use it instead of return
<MyChickenNinja>
ahh I see
<ericwood>
man, I just realized I never write while or for loops in ruby
<ericwood>
>.<
<zzak_>
hi
<MyChickenNinja>
Im not using while either
barttenbrinke has quit [Remote host closed the connection]
gregmoreno has quit [Remote host closed the connection]
<injekt>
hai
krohrbaugh has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
r0bby has joined #ruby-lang
ffio_ has joined #ruby-lang
ffio has quit [Ping timeout: 268 seconds]
glebm has joined #ruby-lang
r0bby has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
krohrbaugh has joined #ruby-lang
enebo has quit [Quit: enebo]
vbatts has quit [Ping timeout: 264 seconds]
r0bby has joined #ruby-lang
jondot has joined #ruby-lang
<jondot>
hello, any server_engine user here?
vbatts has joined #ruby-lang
ruby-lang911 has left #ruby-lang [#ruby-lang]
symm- has joined #ruby-lang
dc5ala has joined #ruby-lang
JpC0utur3 has quit [Ping timeout: 248 seconds]
dingus_k_ has joined #ruby-lang
towski_ has joined #ruby-lang
hhatch has quit [Ping timeout: 252 seconds]
ViperMaul has joined #ruby-lang
wnd_ has joined #ruby-lang
wang_ has joined #ruby-lang
NikkyJr has joined #ruby-lang
wasnotrice has joined #ruby-lang
adambeynon has joined #ruby-lang
SubSpawnLnx has joined #ruby-lang
whitequa1k has joined #ruby-lang
znouza_ has joined #ruby-lang
snarfmas_ has joined #ruby-lang
adambeynon has quit [Client Quit]
JoelMcCracken has joined #ruby-lang
heftig has quit [Quit: Quitting]
smook4 has quit [*.net *.split]
towski has quit [*.net *.split]
snarfmason has quit [*.net *.split]
dingus_khan has quit [*.net *.split]
DarkBushido has quit [*.net *.split]
Rizzle has quit [*.net *.split]
whitequark has quit [*.net *.split]
wnd has quit [*.net *.split]
SubSpawn has quit [*.net *.split]
vivekrai has quit [*.net *.split]
nikky has quit [*.net *.split]
wang has quit [*.net *.split]
shinh has quit [*.net *.split]
beawesomeinstead has quit [*.net *.split]
znouza has quit [*.net *.split]
wasnotrice_ has quit [*.net *.split]
GarethAdams has quit [Quit: Leaving...]
<JoelMcCracken>
Is there a way to use bundler with a single file which has all its depenencies declared?
<JoelMcCracken>
sorry, that was vague. I want to do something like "require 'bundler'", and then list all of the gems I want. when the file is run, depenencies are read from that file itself, and downloaded/compiled
<JoelMcCracken>
(for bonus points, the gemfile.lock contents would be inside the script itself, say, as __DATA__)
<yxhuvud>
maybe the bundler test suite could have some inspiration for you?
JpC0utur3 has joined #ruby-lang
atmosx has joined #ruby-lang
<yxhuvud>
(no, I havn't looked at it)
<JoelMcCracken>
interesting
<JoelMcCracken>
but you haven't seen anything like this before?
<yxhuvud>
havn't had the need.
<JoelMcCracken>
cool
<JoelMcCracken>
yeah, mostly I want to have freedom in the one-off scripts I write
<yxhuvud>
not really. I mostly have the problem of having a zillion of files and no obvious way to organize it
JpC0utur4 has joined #ruby-lang
JpC0utur4 has quit [Client Quit]
<JoelMcCracken>
yeah, that's another problem, too
shinh has joined #ruby-lang
<JoelMcCracken>
thanks sir! good idea.
gr4yscale has joined #ruby-lang
philnyc has quit [Read error: Operation timed out]
andrewvos has joined #ruby-lang
heftig has joined #ruby-lang
JpC0utur4 has joined #ruby-lang
JpC0utur4 has quit [Client Quit]
Aaaarg has quit [Quit: Aaaarg]
gr4yscale has quit [Quit: Computer has gone to sleep.]
kstuart has quit [Ping timeout: 260 seconds]
JpC0utur4 has joined #ruby-lang
JpC0utur4 has quit [Client Quit]
barttenbrinke has joined #ruby-lang
justinmburrous has joined #ruby-lang
JpC0utur4 has joined #ruby-lang
zmike123 has quit [Ping timeout: 268 seconds]
stamina has quit [Ping timeout: 248 seconds]
skade has joined #ruby-lang
JpC0utur4 has quit [Client Quit]
JpC0utur4 has joined #ruby-lang
ledestin has quit [Quit: ledestin]
torrieri has quit [Ping timeout: 240 seconds]
crudson has quit [Quit: Leaving.]
JpC0utur3 has quit [Ping timeout: 264 seconds]
JohnBat26 has joined #ruby-lang
JpC0utur4 has quit [Quit: leaving]
vlad_starkov has joined #ruby-lang
DomKM has quit [Quit: Leaving.]
justinmburrous has quit [Remote host closed the connection]
andrewvos has quit [Quit: leaving]
zmike123 has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
sepp2k has joined #ruby-lang
JpC0utur3 has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
jonahR has joined #ruby-lang
gr4yscale has joined #ruby-lang
JoelMcCracken has quit [Read error: No route to host]
barttenbrinke has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
benanne has joined #ruby-lang
JpC0utur4 has joined #ruby-lang
JpC0utur4 has quit [Client Quit]
mrsolo has joined #ruby-lang
Johz has joined #ruby-lang
cstrahan has joined #ruby-lang
JpC0utur4 has joined #ruby-lang
JpC0utur4 has quit [Client Quit]
JpC0utur4 has joined #ruby-lang
DomKM has joined #ruby-lang
gr4yscale has quit [Quit: Computer has gone to sleep.]
gr4yscale has joined #ruby-lang
nertzy2 has quit [Quit: This computer has gone to sleep]
krohrbaugh has quit [Quit: Leaving.]
JpC0utur4 has quit [Quit: leaving]
rikai has quit [Read error: Connection reset by peer]
duph has joined #ruby-lang
JpC0utur4 has joined #ruby-lang
rikai has joined #ruby-lang
halorgium has left #ruby-lang [#ruby-lang]
bradland has quit [Quit: bradland]
JpC0utur4 has quit [Client Quit]
JpC0utur4 has joined #ruby-lang
JpC0utur4 has quit [Client Quit]
JpC0utur4 has joined #ruby-lang
DomKM has quit [Quit: Leaving.]
mbj has joined #ruby-lang
stamina has joined #ruby-lang
crudson has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
JpC0utur4 has quit [Quit: Lost terminal]
malev has quit [Remote host closed the connection]
gregmoreno has quit [Ping timeout: 248 seconds]
cirenyc has joined #ruby-lang
dingus_k_ has quit [Remote host closed the connection]
malev has joined #ruby-lang
kvs has quit [Read error: Connection reset by peer]
sepp2k1 has joined #ruby-lang
kvs has joined #ruby-lang
JpC0utur3 has quit [Ping timeout: 260 seconds]
gregmoreno has joined #ruby-lang
sepp2k has quit [Ping timeout: 246 seconds]
isomorphismes has joined #ruby-lang
cstrahan has quit [Ping timeout: 260 seconds]
JpC0utur3 has joined #ruby-lang
JpC0utur3 has quit [Client Quit]
JpC0utur3 has joined #ruby-lang
Mon_Ouie has quit [Quit: WeeChat 0.4.1]
geopet has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
mbj has quit [Quit: leaving]
<geopet>
Hi there.
<geopet>
I'm working on a project using open-uri and the weather underground api
<geopet>
I'm having a strange issue, though.
<geopet>
The api call works fine using MRI 1.9.3, but when I use 2.0.0 I'm getting a Zlib::DataError.
<geopet>
I was wondering if anyone could help shed some light on this for me?
<geopet>
I have a gist I put together to document the issue, too.
<geopet>
The reason why I'm unclear where the issue might be is that since it works well with 1.9.3 it seems strange that it wouldn't work at all with 2.0.0
gregmoreno has joined #ruby-lang
torrieri has joined #ruby-lang
Linkedipsoul has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
bgant has quit [Quit: Leaving.]
carloslopes has quit [Remote host closed the connection]
bgant has joined #ruby-lang
pskosinski has joined #ruby-lang
x0f has quit [Ping timeout: 268 seconds]
bgant has quit [Client Quit]
x0f has joined #ruby-lang
gregmoreno has quit [Ping timeout: 240 seconds]
JpC0utur4 has joined #ruby-lang
gregmoreno has joined #ruby-lang
banaan has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
benanne has quit [Ping timeout: 264 seconds]
cstrahan has joined #ruby-lang
atmosx has quit [Quit: And so the story goes…]
adwhit has quit [Ping timeout: 240 seconds]
smook4 has joined #ruby-lang
x0f has quit [Ping timeout: 264 seconds]
x0f has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
tdy has quit [Read error: Connection reset by peer]
Criztian has quit [Remote host closed the connection]
bgant has joined #ruby-lang
x0f has quit [Read error: Operation timed out]
tdy has joined #ruby-lang
zmike123 has quit [Quit: Выходжу]
gr4yscale has quit [Quit: Computer has gone to sleep.]
x0f has joined #ruby-lang
mantono has joined #ruby-lang
<injekt>
geopet: try decompressing it yourself
<geopet>
injekt: I'm not exactly sure how I would do that.
<injekt>
geopet: can you show some basic code to reproduce this issue?
<injekt>
oh
<injekt>
sorry you did
<injekt>
I'm tired
<geopet>
injekt: No problem!
gr4yscale has joined #ruby-lang
x0f has quit [Ping timeout: 252 seconds]
<injekt>
uh I'll need an api key? balls
<geopet>
injekt: You found the gist I linked to?
<geopet>
injekt: Yeah. Sorry about that.
<injekt>
ah ok it works without
<geopet>
injekt: LOL Does it?
<injekt>
well I can reproduce the error
adwhit has joined #ruby-lang
<geopet>
Oh. Cool.
yalue has quit [Quit: Leaving]
gr4yscale has quit [Client Quit]
JpC0utur4 has quit [Ping timeout: 264 seconds]
<injekt>
drbrain: didn't we see this before with mechanize?
<injekt>
I can't remember, it looks familiar though
<injekt>
Looks like it works fine in rest-client, which uses net/http under the hood
<injekt>
then they rescue the DataError a few lines down, notice their comment "broken web servers"
<geopet>
Yeah!
lcdhoffman has joined #ruby-lang
<geopet>
So is 2.0 doing something different than 1.9.3 in net/http now?
<geopet>
Or is this something that I should be doing a rescue on in my own apps and running the Zlib::Inflate like rest-client does?
<injekt>
you could do that, and yeah that's what appears has happened
ruby-lang921 has joined #ruby-lang
<geopet>
Interesting.
llaskin has quit [Quit: Leaving.]
ruby-lang921 has left #ruby-lang [#ruby-lang]
Mon_Ouie has quit [Read error: Operation timed out]
<geopet>
I'll definitely start doing that, but do you have any suggestions on how I might be able to find out what changes happened there between versions? I suspect that if this is creeping up with something as simple as this code that it is going to pop up elsewhere too as 2.0 gets more adoption.
<geopet>
And thank you, injekt! That was super helpful.
<injekt>
not sure though. It looks like drbrain has done a lot of work on this, he could probably help you out more when he's around
justinmburrous has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 248 seconds]
<geopet>
That definitely looks like a good place to check stuff out.
x0f has joined #ruby-lang
<injekt>
interestingly enough mechanize handles this
<geopet>
How so?
<injekt>
checking it out
dingus_khan has quit [Ping timeout: 248 seconds]
cored has quit [Ping timeout: 256 seconds]
<injekt>
yeah so we pretty much do the same thing in mechanize as rest-client does, it'll attempt a decode and if there's an issue it'll try a raw inflate
cored has joined #ruby-lang
cored has joined #ruby-lang
<geopet>
Okay. Great to know.
rippa has quit [Ping timeout: 248 seconds]
<geopet>
I suppose there would be a reason to introduce this change in 2.0. A performance gain by going this way instead of the 1.9.3 way?
krohrbaugh has joined #ruby-lang
adambeynon has joined #ruby-lang
<jondot>
isn't 2.0 *not* performing better than 1.9.3 due to the utf8 changes?
x0f has quit [Read error: Operation timed out]
x0f has joined #ruby-lang
havenwood has joined #ruby-lang
gr4yscale has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
thiagoborges has joined #ruby-lang
bgant has quit [Quit: Leaving.]
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
cirenyc has quit [Read error: Connection reset by peer]