apeiros changed the topic of #ruby-lang to: Ruby 1.9.3-p374: http://ruby-lang.org (ruby-2.0.0-rc1) || Paste >3 lines of text on http://gist.github.com
<andrewvos> drbrain: Are there any plans to protect against this in thee future?
<zenspider> rewrite everything in sinatra!
<andrewvos> :)
<andrewvos> Would that have even made a difference?
<manveru> gemspecs in sinatra? way more secure!
<andrewvos> I think I am getting trolled.
<drbrain> andrewvos: I think the patch for the YAML vector for this exploit was fixed before the infrastructure rebuild started
<drbrain> there was an aborted attempt to switch the infrastructure to AWS some months ago, so Evan and Nick decided to do that work now instead of delaying it further
<andrewvos> drbrain: This was no Rails issue though was it? I guessed rubygems was just parsing some yaml inside the gem files.
<drbrain> andrewvos: it was a combination of the Rails issue and YAML coming from .gem files
<andrewvos> Oh okay.
<drbrain> andrewvos: https://gist.github.com/75af5e0b071d247c08a8 is the exploit payload
<drbrain> … line 53 and on
chimkan has quit [Read error: Connection reset by peer]
<manveru> so will rubygems every start bitching about unsigned gems?
<andrewvos> Someone clever do a blog post? drbrain, zenspider etc. ?
<drbrain> manveru: that discussion is ongoing in #rubygems-trust
<drbrain> andrewvos: see http://tinyurl.com/anqa5s5 (which is linked from status.rubygems.org as well)
banister_ has joined #ruby-lang
robotmay has joined #ruby-lang
<andrewvos> drbrain: I seem to gave scolled past the information last I looked at that.
<drbrain> yeah, it's a big document
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
ulisescab has joined #ruby-lang
<andrewvos> It does seem strange that you can execute code inside a yaml document.
<andrewvos> Right?
<drbrain> andrewvos: you can't
zhul_mechanos has quit [Quit: zhul_mechanos]
<drbrain> what you can do is create an object that elsewhere calls eval or uses method_missing
tomzx has joined #ruby-lang
AntiTyping has joined #ruby-lang
jxie has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
<andrewvos> Ahh. So that rails controller class calls eval?
<zzak> andrewvos: have you used travis before?
imajes has quit [Excess Flood]
<andrewvos> zzak: Yeah sure
<zzak> think about .travis.yml
<andrewvos> zzak: To be fair, travis lets you do a lot more inside your rake tasks though :)
imajes has joined #ruby-lang
<zzak> travis was actually vulnerable up to a few days ago tho
sulo has quit [Remote host closed the connection]
<drbrain> andrewvos: yes
<drbrain> well, roughly speaking, yes
<zzak> from this same kind of attack
<andrewvos> drbrain: Is there any documentation that can explain that exploit? This stuff interests me.
<andrewvos> .travis.json
Rarrikins has joined #ruby-lang
<zzak> idk if that link will work, but its at the top of status.rubygems.org
Rarrikins_l has quit [Ping timeout: 244 seconds]
<andrewvos> zzak: Seen that a few times. Need more of a laymans explanation :)
<drbrain> travis parses .travis.yml before launching your VM for tests
<drbrain> so they had a similar exploit attempt
<zzak> oops, yah i just saw drbrain posted it
marr has quit [Ping timeout: 248 seconds]
schroedinbug has joined #ruby-lang
<drbrain> the kalzumeus link has links to the original rails exploit
idkazuma has joined #ruby-lang
<drbrain> I haven't read anything that explains it in depth, though
slyv has joined #ruby-lang
slyv has quit [Max SendQ exceeded]
mrsolo has quit [Quit: This computer has gone to sleep]
slyv has joined #ruby-lang
slyv has quit [Max SendQ exceeded]
slyv has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
slyv has quit [Max SendQ exceeded]
mrsolo has joined #ruby-lang
blazes816 has quit [Quit: blazes816]
blazes816 has joined #ruby-lang
blazes816 has left #ruby-lang [#ruby-lang]
<andrewvos> drbrain: That blog is terrifying!
<andrewvos> drbrain: Thank fuck I have never used Rails for anything.
tylersmith has joined #ruby-lang
drbrain_ has joined #ruby-lang
<andrewvos> Imagine how many servers you could add to your botnet with a simple script.
drbrain has quit [Ping timeout: 276 seconds]
idkazuma has joined #ruby-lang
<drbrain_> that's pretty much how botnets work :D
wyhaines has quit [Remote host closed the connection]
<andrewvos> My point is that there are surely a large amount of vulnerable rails sotes that will not get updated.
mrsolo has quit [Quit: Leaving]
AntiTyping has quit [Ping timeout: 245 seconds]
<andrewvos> sites*
<tylersmith> that's just the way of the world unfortunately. there are quite a few widely open phpBB 1.x installations still around
<andrewvos> Anyway, to hell with Rails anyway. Night all :)
yfeldblum has quit [Quit: Leaving]
AntiTyping_ has joined #ruby-lang
unlikely_monkey has joined #ruby-lang
shiro has joined #ruby-lang
BigFatFatty has left #ruby-lang [#ruby-lang]
ivanoats has quit [Remote host closed the connection]
AntiTyping_ has quit [Ping timeout: 252 seconds]
brimil01 has quit [Quit: Linkinus - http://linkinus.com]
cirenyc has quit [Quit: Leaving...]
gregmoreno has quit [Ping timeout: 276 seconds]
cirenyc has joined #ruby-lang
drbrain_ is now known as drbrain
sulo has joined #ruby-lang
sn0wb1rd has quit [Quit: I will be right back]
mjolk has quit [Quit: This computer has gone to sleep]
__butch__ has quit [Ping timeout: 256 seconds]
Banistergalaxy has quit [Ping timeout: 245 seconds]
jameshard has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
__butch__ has joined #ruby-lang
sulo has quit [Ping timeout: 276 seconds]
tomzx has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
ivanoats has joined #ruby-lang
tenderlove has joined #ruby-lang
techlife has quit [Ping timeout: 260 seconds]
thufir_ has quit [Remote host closed the connection]
techlife has joined #ruby-lang
sn0wb1rd has joined #ruby-lang
robotmay has quit [Ping timeout: 248 seconds]
<whitequark> yorickpeterse: ping
<whitequark> re rubygems-trust: sure
lun_ has quit [Remote host closed the connection]
ivanoats has quit [Remote host closed the connection]
_whitelogger has joined #ruby-lang
madish has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121026125834]]
AntiTyping has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
idkazuma has quit [Remote host closed the connection]
spuk has joined #ruby-lang
<whitequark> yorickpeterse: see #rubygems.
ryanv-raptor has joined #ruby-lang
idkazuma has joined #ruby-lang
idkazuma has quit [Read error: Connection reset by peer]
cirenyc has quit [Read error: Connection reset by peer]
ryanv-raptor has quit [Client Quit]
ryguy has joined #ruby-lang
ryguy has quit [Remote host closed the connection]
hahuang65 has quit [Quit: Computer has gone to sleep.]
sebasoga has quit [Quit: Computer has gone to sleep.]
<zenspider> woo! ~200 lines of code removed from minitest!!!
dams has quit [Ping timeout: 248 seconds]
<zzak> prove it
<zzak> tenderlove: nice work on ::safe_load!
dams has joined #ruby-lang
<zzak> zenspider: i didnt even know minitest could lose 200 lines
<zenspider> yeah. it's certainly got some cruft
<zzak> is that from the tu bridge?
<zenspider> no. tu bridge is entirely separate (and not maintained really)
<zzak> oh ok
<zenspider> this was assert_block and then a bunch of runtime hooks we added for spec
<zenspider> but tenderlove and I wound up reworking the entire lifecycle hooks so that rails would be cleaner
<zzak> always good to remove old code :)
<zenspider> nice. now I flog 909 less than test/unit
<zzak> when testing was brought up at burlington ruby, quite a few people favored minitest over rspec
<zenspider> interesting
<zzak> quite a few sinatra fans there too
<zenspider> aja gave a lightning talk aa while back and we were both surprised at how few people rose their hands when she asked who did tdd
<zenspider> double nice
<zzak> so my next talk might inevitably be, testing sinatra apps with minitest haha
<zzak> not specific to minitest, but thats what i plan to use
<zenspider> I'd like to see that
<zzak> you can do some neat stuff with Sinatra.new
kmlawson has quit [Quit: kmlawson]
<zzak> haha i just realized you had planned assert_block removed on this exact date
<zzak> zenspider: way to follow through and stand by your word +1
lcdhoffman has joined #ruby-lang
kmlawson has joined #ruby-lang
ReinH has quit [Read error: Connection reset by peer]
gregmore_ has joined #ruby-lang
kmlawson has left #ruby-lang [#ruby-lang]
tylersmith has quit [Quit: tylersmith]
gregmore_ has quit [Ping timeout: 276 seconds]
drbrain has quit [Ping timeout: 255 seconds]
OneWhoFrogs has joined #ruby-lang
Vektur has joined #ruby-lang
cardoni has quit [Quit: cardoni]
tenderlove has quit [Remote host closed the connection]
dzhulk has joined #ruby-lang
mercwithamouth has quit [Ping timeout: 252 seconds]
dous has joined #ruby-lang
mwjcomputing has joined #ruby-lang
krohrbaugh has joined #ruby-lang
rsl has quit [Quit: Computer has gone to sleep.]
benanne has quit [Quit: kbai]
dhruvasagar has joined #ruby-lang
dhruvasa1ar has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
mercwithamouth has joined #ruby-lang
JMcAfreak has quit [Ping timeout: 246 seconds]
tomzx_mac has joined #ruby-lang
shiro has quit [Remote host closed the connection]
cardoni has joined #ruby-lang
spuk has quit [Ping timeout: 264 seconds]
spuk has joined #ruby-lang
drbrain has joined #ruby-lang
cardoni has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby-lang
ulisescab has quit [Remote host closed the connection]
havenn has joined #ruby-lang
chimkan_ has joined #ruby-lang
alvaro_o has quit [Quit: Ex-Chat]
chimkan_ has quit [Read error: Connection reset by peer]
banister_ has quit [Read error: Connection reset by peer]
Rarrikins_k has joined #ruby-lang
Rarrikins has quit [Ping timeout: 256 seconds]
dustint has quit [Remote host closed the connection]
phlipper is now known as phlipper_
banister`sleep has joined #ruby-lang
havenn has quit [Remote host closed the connection]
mwjcomputing has quit [Ping timeout: 245 seconds]
cardoni has joined #ruby-lang
Rarrikins_k_c has joined #ruby-lang
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby-lang
imajes has quit [Excess Flood]
Rarrikins_k has quit [Ping timeout: 246 seconds]
imajes has joined #ruby-lang
Rarrikins has joined #ruby-lang
Rarrikins_k_c has quit [Ping timeout: 276 seconds]
bluepojo has quit [Remote host closed the connection]
bluepojo has joined #ruby-lang
cardoni has quit [Ping timeout: 276 seconds]
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby-lang
bluepojo has quit [Ping timeout: 246 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
dustint has joined #ruby-lang
dustint has quit [Read error: Connection reset by peer]
lcdhoffman has joined #ruby-lang
Rarrikins_z has joined #ruby-lang
dustint has joined #ruby-lang
swav has joined #ruby-lang
dustint has quit [Client Quit]
dustint has joined #ruby-lang
Rarrikins has quit [Ping timeout: 252 seconds]
dustint has quit [Client Quit]
dustint has joined #ruby-lang
noReligion has joined #ruby-lang
<noReligion> hi. I'm very new to Ruby (just finished a track of codeacademy and the first course on rubymond). I'm trying to get a feel for the existing ruby gems out there. I have gems installed. I'm having difficulties finding a list of existing gems with a short explanation of what they do. Any help?
<zzak> noReligion: there's essentially a gem for anything you want to do
<zzak> what do you want to do?
<noReligion> symbolic mathematics
<noReligion> zzak ?
<zzak> check out the symbolic gem
<noReligion> very cool.
<noReligion> thanks zzak
<noReligion> can you please tell me how you found it?
<zzak> i went to google and searched "symbolic mathematics ruby"
dcwu has joined #ruby-lang
<noReligion> I see (feeling sheepish).
<noReligion> so is there no centralized place to search for gems?
Nisstyre-laptop has joined #ruby-lang
banister`sleep has left #ruby-lang [#ruby-lang]
<zzak> rubygems.org when it is back online
postmodern has joined #ruby-lang
banisterfiend has joined #ruby-lang
<zzak> please see status.rubygems.org and #rubygems on freenode
<banisterfiend> also ruby-toolbox.com
<noReligion> ok, great. Thanks!
dhruvasagar has quit [Read error: Operation timed out]
dhruvasa1ar has quit [Read error: Operation timed out]
__butch__ has quit [Quit: Leaving.]
dhruvasagar has joined #ruby-lang
dhruvasa1ar has joined #ruby-lang
noReligion has quit [Quit: noReligion]
glebm has quit [Quit: Computer has gone to sleep.]
bzalasky has joined #ruby-lang
io_syl_ has joined #ruby-lang
io_syl has quit [Ping timeout: 245 seconds]
io_syl_ is now known as io_syl
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
dous has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
srbaker has joined #ruby-lang
dous has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby-lang
puq has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
bzalasky_ has joined #ruby-lang
bzalasky has quit [Read error: Connection reset by peer]
jbsan has joined #ruby-lang
ivanoats has joined #ruby-lang
cardoni has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
gouthamvel has joined #ruby-lang
puq has quit [Quit: Leaving]
lcdhoffman has quit [Quit: lcdhoffman]
gouthamvel has quit [Remote host closed the connection]
cardoni has quit [Ping timeout: 240 seconds]
naquad has quit [Ping timeout: 264 seconds]
bzalasky_ has quit [Remote host closed the connection]
lcdhoffman has joined #ruby-lang
My_Hearing has quit [Read error: Operation timed out]
My_Hearing has joined #ruby-lang
peppyheppy has joined #ruby-lang
<zzak> vbatts: ping! i replied to #7656 and assigned it to you, but your patch to debug.rb landed in r39019. thanks!
<banisterfiend> debug.rb is the scariest thing
ryanf has quit [Ping timeout: 246 seconds]
slyphon has quit [Quit: slyphon]
gokul has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 244 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
hakunin has quit [Ping timeout: 248 seconds]
Axsuul has quit [Read error: Connection reset by peer]
Averna has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
chendo_ has quit [Ping timeout: 256 seconds]
mistym has quit [Remote host closed the connection]
jonahR has joined #ruby-lang
lsegal has joined #ruby-lang
gouthamvel has joined #ruby-lang
hakunin has joined #ruby-lang
hakunin has quit [Excess Flood]
hakunin has joined #ruby-lang
chendo_ has joined #ruby-lang
chendo_ has quit [Changing host]
chendo_ has joined #ruby-lang
<zzak> banisterfiend: it could be worse
<zzak> zenspider: sent you a patch and some notes on minitest <3
noReligion has joined #ruby-lang
dous has quit [Remote host closed the connection]
dustint has quit [Remote host closed the connection]
peppyheppy has quit [Quit: peppyheppy]
<noReligion> I have a very basic question: How can I load a file containing, say, some code defining some classes into and irb session so that I can use the classes in the file?
dustint has joined #ruby-lang
cardoni has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 246 seconds]
dhruvasa1ar has quit [Ping timeout: 276 seconds]
dhruvasagar has joined #ruby-lang
dhruvasa1ar has joined #ruby-lang
dous has joined #ruby-lang
dous has quit [Changing host]
dous has joined #ruby-lang
hakunin has quit [Ping timeout: 245 seconds]
crackity_jones has joined #ruby-lang
hakunin has joined #ruby-lang
hakunin has quit [Remote host closed the connection]
lcdhoffman has joined #ruby-lang
cardoni has quit [Ping timeout: 245 seconds]
jimhardon_ has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
jameshard has quit [Ping timeout: 245 seconds]
peppyheppy has joined #ruby-lang
OneWhoFrogs has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
dhruvasa1ar has quit [Ping timeout: 245 seconds]
peppyheppy has quit [Client Quit]
crackity_jones has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dous has quit [Ping timeout: 240 seconds]
crackity_jones has joined #ruby-lang
Averna has quit [Quit: Leaving.]
dous has joined #ruby-lang
jimhardon_ has quit [Ping timeout: 245 seconds]
cardoni has joined #ruby-lang
sepp2k has joined #ruby-lang
dhruvasagar has joined #ruby-lang
dhruvasa1ar has joined #ruby-lang
noReligion has quit [Quit: noReligion]
lcdhoffman has quit [Quit: lcdhoffman]
ivanoats has quit [Remote host closed the connection]
shirokuro11 has joined #ruby-lang
lazywei has joined #ruby-lang
<lazywei> Morning all
cardoni has quit [Ping timeout: 255 seconds]
tbuehlmann has joined #ruby-lang
lazywei has left #ruby-lang [#ruby-lang]
gouthamvel has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
dous has quit [Ping timeout: 252 seconds]
swav has quit [Remote host closed the connection]
blacktulip has joined #ruby-lang
swav has joined #ruby-lang
dous has joined #ruby-lang
swav_ has joined #ruby-lang
swav has quit [Read error: Connection reset by peer]
ryanf has joined #ruby-lang
cardoni has joined #ruby-lang
gouthamvel has joined #ruby-lang
cardoni has quit [Ping timeout: 264 seconds]
xcombelle has joined #ruby-lang
lun_ has joined #ruby-lang
idkazuma has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby-lang
mistym has quit [Remote host closed the connection]
dhruvasa1ar has quit [Ping timeout: 244 seconds]
dhruvasagar has quit [Ping timeout: 244 seconds]
lun_ has quit [Ping timeout: 246 seconds]
toretore has joined #ruby-lang
srbaker has joined #ruby-lang
brianpWins has joined #ruby-lang
tbuehlmann has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
lun_ has joined #ruby-lang
solars has joined #ruby-lang
megha has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
jxie has quit [Quit: leaving]
mistym has quit [Remote host closed the connection]
shirokuro11 has quit [Remote host closed the connection]
shtirlic has joined #ruby-lang
shtirlic has quit [Remote host closed the connection]
nazty has quit [Read error: Connection reset by peer]
nazty has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
ryanf has quit [Ping timeout: 246 seconds]
idkazuma has joined #ruby-lang
ryanf has joined #ruby-lang
osaut has joined #ruby-lang
crackity_jones has quit [Quit: Computer has gone to sleep.]
spinagon has quit [Read error: Connection reset by peer]
rippa has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
mytrile has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
ryanf has quit [Ping timeout: 246 seconds]
cardoni has joined #ruby-lang
marr has joined #ruby-lang
xcombelle has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
cardoni has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby-lang
maxmanders has joined #ruby-lang
socialcoder has joined #ruby-lang
<socialcoder> puts 2 < 10- true puts '2' < '10 - false...why second is false?
<socialcoder> second - puts '2' < '10'
wallerdev has quit [Quit: wallerdev]
mihar has quit [Quit: ZNC - http://znc.in]
<socialcoder> Answer O' Ruby Monks
mihar has joined #ruby-lang
<certainty> socialcoder: because '2' isn't smaller than '1' lexicograpically
<certainty> socialcoder: try '1'.ord and '2'.ord and see for yourself
megha has quit [Quit: WeeChat 0.4.0]
<certainty> btw. that isn't ruby specific ... on the unix command-line try to ls a directory in which you have 2_test and 10_test and check which file comes first
Mon_Ouie has quit [Quit: WeeChat 0.3.9.2]
megha has joined #ruby-lang
<certainty> which uses glob(3) internally i believe
<socialcoder> certainty - because '2' isn't smaller than '1' lexicograpically u mean o comes before T or that 1 comes before 2?
<certainty> yes
<socialcoder> err...yes to?
<certainty> the char 1 comes before char 2
<socialcoder> ah ok
osaut has quit [Quit: osaut]
facest has quit [Read error: Connection reset by peer]
My_Hearing is now known as Mon_Ouie
faces has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
gustavnils has joined #ruby-lang
mytrile has quit [Ping timeout: 255 seconds]
hzx has joined #ruby-lang
banisterfiend has quit [Ping timeout: 245 seconds]
yxhuvud has quit [Quit: Nettalk6 - www.ntalk.de]
yxhuvud has joined #ruby-lang
agarie has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
gokul has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 244 seconds]
dc5ala has joined #ruby-lang
hzx has quit [Quit: hzx]
socialcoder has quit []
chendo_ has quit [Quit: Computer has gone to sleep.]
imajes has quit [Excess Flood]
maxmanders has quit [Ping timeout: 264 seconds]
imajes has joined #ruby-lang
mytrile has joined #ruby-lang
xcombelle has joined #ruby-lang
maxmanders has joined #ruby-lang
cardoni has joined #ruby-lang
madish has joined #ruby-lang
marr has quit [Ping timeout: 252 seconds]
maxmanders has quit [Ping timeout: 252 seconds]
cardoni has quit [Ping timeout: 255 seconds]
sulo has joined #ruby-lang
mercwithamouth has quit [Ping timeout: 264 seconds]
swav_ has quit [Remote host closed the connection]
dous_ has joined #ruby-lang
dous has quit [Ping timeout: 245 seconds]
Nisstyre-laptop has quit [Quit: Leaving]
maxmanders has joined #ruby-lang
gouthamvel has quit [Read error: Connection reset by peer]
gouthamv_ has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
megha has quit [Ping timeout: 245 seconds]
tbuehlmann has quit [Remote host closed the connection]
agarie has quit [Quit: Leaving...]
dous has joined #ruby-lang
banisterfiend has joined #ruby-lang
marr has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
dous_ has quit [Ping timeout: 245 seconds]
tbuehlmann has joined #ruby-lang
marr has quit [Ping timeout: 248 seconds]
apeiros_ has joined #ruby-lang
skade has joined #ruby-lang
rippa has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
megha has joined #ruby-lang
benanne has joined #ruby-lang
apeiros_ has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
toretore has quit [Quit: Leaving]
marr has joined #ruby-lang
cardoni has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
stardiviner has joined #ruby-lang
fsvehla has joined #ruby-lang
sulo has quit [Remote host closed the connection]
cardoni has quit [Ping timeout: 244 seconds]
yxhuvud has quit [Quit: Nettalk6 - www.ntalk.de]
yxhuvud has joined #ruby-lang
nkr has joined #ruby-lang
dzhulk has quit [Quit: Leaving.]
gouthamv_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
marr has quit [Ping timeout: 248 seconds]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
mytrile has quit [Ping timeout: 244 seconds]
jacktrick has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
rdw200169 has quit [Ping timeout: 260 seconds]
maxmanders has quit [Ping timeout: 252 seconds]
AndChat| has joined #ruby-lang
fsvehla has quit [Quit: fsvehla]
Banistergalaxy has quit [Ping timeout: 276 seconds]
megha has quit [Ping timeout: 264 seconds]
robotmay has joined #ruby-lang
Vektur has quit [Ping timeout: 272 seconds]
<zenspider> zzak: thanks!
glebm has joined #ruby-lang
idkazuma has joined #ruby-lang
<yorickpeterse> morning
tbuehlmann has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
tbuehlmann has joined #ruby-lang
AntiTyping has quit [Read error: Connection reset by peer]
AntiTyping has joined #ruby-lang
retro|cz has joined #ruby-lang
cardoni has joined #ruby-lang
workmad3 has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
cardoni has quit [Ping timeout: 245 seconds]
lcdhoffman has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
mytrile has joined #ruby-lang
lcdhoffman has quit [Client Quit]
dustint has quit [Ping timeout: 252 seconds]
EddiX has joined #ruby-lang
<charliesome> is there a way to make ruby not do rdoc bullshit when you compile it
Stilo has joined #ruby-lang
<charliesome> rdoc easily takes the longest out of the whole compile process
slaytanic has quit [Ping timeout: 255 seconds]
dcwu has quit [Quit: Leaving.]
<whitequark> --without-rdoc?
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
cardoni has joined #ruby-lang
<rking> zenspider: I used flog on a new codebase, and it got the assessment of the bad parts eerily accurate with the existing dev's assessment.
fromhet has joined #ruby-lang
Vektur has joined #ruby-lang
fromhet has quit [Client Quit]
<rking> I started day 1 ready to complain about the same code as everyone else. =)
mwjcomputing has joined #ruby-lang
sulo has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
banisterfiend has quit [Remote host closed the connection]
maxmanders has joined #ruby-lang
EddiX has quit [Quit: Leaving]
maxmanders has quit [Max SendQ exceeded]
cored has quit [Ping timeout: 260 seconds]
cardoni has quit [Ping timeout: 255 seconds]
maxmanders has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has joined #ruby-lang
megha has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
maxmanders has quit [Ping timeout: 245 seconds]
carloslopes has joined #ruby-lang
b1rkh0ff has quit [Read error: Operation timed out]
maxmanders has joined #ruby-lang
cardoni has joined #ruby-lang
Kreeki has joined #ruby-lang
Kreeki has quit [Client Quit]
postmodern has quit [Quit: Leaving]
ashleyis has joined #ruby-lang
b1rkh0ff has joined #ruby-lang
cardoni has quit [Ping timeout: 240 seconds]
kith_ has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
toretore has joined #ruby-lang
maxmanders has quit [Ping timeout: 264 seconds]
kith has quit [Ping timeout: 252 seconds]
AndChat| has quit [Quit: Bye]
Banistergalaxy has joined #ruby-lang
maxmanders has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
cored has quit [Read error: Operation timed out]
jacktrick has quit [Quit: Leaving]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
intellitech has joined #ruby-lang
carloslopes has joined #ruby-lang
<zzak> good morning!
lcdhoffman has joined #ruby-lang
intellitech has quit [Ping timeout: 245 seconds]
osaut has joined #ruby-lang
lun_ has quit [Remote host closed the connection]
arya has joined #ruby-lang
megha has quit [Quit: WeeChat 0.4.0]
maxmanders has quit [Ping timeout: 245 seconds]
cardoni has joined #ruby-lang
workmad3 has joined #ruby-lang
maxmanders has joined #ruby-lang
corundum has quit [Ping timeout: 245 seconds]
ddv has quit [Ping timeout: 240 seconds]
robotmay has quit [Remote host closed the connection]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
intellitech has joined #ruby-lang
cardoni has quit [Ping timeout: 246 seconds]
osaut has quit [Read error: Connection reset by peer]
corundum has joined #ruby-lang
osaut has joined #ruby-lang
<whitequark> someone just seriously used this in production: http://pastie.org/6029826
<whitequark> bonus points for not using named captures
<apeiros_> I like the /.*/'s
<whitequark> also useless LogLineCompiled
<whitequark> this guy obviously has no clue about how ruby works nor did he ever ran any benchmarks or even wrote proper tests
<whitequark> but sure he loves to pour metamagic here and there
<whitequark> having worked at this codebase for more than six months and rewriting significant parts of it, I just want to not see any of this anymore
<whitequark> fucking moron
arya has left #ruby-lang [#ruby-lang]
<zzak> at least he gave them discernable names
<whitequark> protip: don't let drug addicts anywhere near your codebase
<zzak> look at it this way
innohero has joined #ruby-lang
<whitequark> zzak: this is also broken by design in the parts you don't see.
<whitequark> everywhere.
<zzak> if everyone wrote great code all the time, the majority of us would be unemployed
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
<whitequark> but at least the world would be significantly better
<apeiros_> whitequark: oooh, didn't even notice that one. yes, Regexp.new(/foo/) is awesome :D
<whitequark> apeiros_: he writes *everything* like that
<whitequark> I sometimes plain go and delete blocks of code here and there, with no discernible changes in behavior
<apeiros_> whitequark: IME, 80-90% of coders write worse code than that. sad truth.
s1n4 has joined #ruby-lang
<apeiros_> at least the part you pasted
s1n4 has quit [Client Quit]
maxmanders has quit [Quit: Computer has gone to sleep.]
<apeiros_> I mean, many don't even know that you can compose regexen. or know about //x
Stilo has joined #ruby-lang
derekprior has quit [Quit: Textual IRC Client: www.textualapp.com]
<whitequark> I'm fairly sure this was stolen from somewhere on the web and then screwed up
<apeiros_> they'll copy & paste the next best regex that looks big and jaw-dropping from a google search :-/
<whitequark> with all the .*
workmad3 has quit [Ping timeout: 252 seconds]
<whitequark> yeah yeah exactly
<apeiros_> (and then they run to irc and ask for help by saying: "hey! I have this regex, it DOES NOT WORK!!! HELP!" - I love them)
chendo_ has joined #ruby-lang
<whitequark> once I've had to work at a particularly nasty piece of code.
<whitequark> it was basically several files of code which together composed to a very complex system doing nothing
chendo_ has quit [Changing host]
chendo_ has joined #ruby-lang
<whitequark> I just sit there and literally cried
havenn has joined #ruby-lang
<apeiros_> you did send it to thedailywtf? :)
<apeiros_> oh, nice quantifier in that regex: {0,1}
<zzak> apeiros_: that is just one of the hazards of this job
<whitequark> apeiros_: company policy, so no
<whitequark> but I was tempted to
<apeiros_> whitequark: d'aaaaw
<whitequark> it also does require a fair bit of ruby knowledge to understand, so probably it won't get accepted
maxmanders has joined #ruby-lang
dustint has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
jrafanie has joined #ruby-lang
vlad_starkov has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
intellitech has quit [Quit: intellitech]
solars has quit [Ping timeout: 245 seconds]
tdy has quit [Ping timeout: 276 seconds]
intellitech has joined #ruby-lang
jrafanie has quit [Quit: jrafanie]
alexander_ has joined #ruby-lang
tdy has joined #ruby-lang
tdy has quit [Client Quit]
alexander_ has quit [Client Quit]
jrafanie has joined #ruby-lang
tdy has joined #ruby-lang
dustint has quit [Remote host closed the connection]
solars has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
osaut has quit [Quit: osaut]
osaut has joined #ruby-lang
sullenel has joined #ruby-lang
maxmanders has joined #ruby-lang
sullenel has quit [Client Quit]
sullenel has joined #ruby-lang
jxie has joined #ruby-lang
cardoni has joined #ruby-lang
kurko_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
dhruvasa1ar has joined #ruby-lang
Kallikanzarid has quit [Ping timeout: 260 seconds]
Kallikanzarid has joined #ruby-lang
maxmanders has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby-lang
cardoni has quit [Ping timeout: 255 seconds]
maxmanders has joined #ruby-lang
mytrile has joined #ruby-lang
intellitech has quit [Quit: intellitech]
intellitech has joined #ruby-lang
imajes has quit [Excess Flood]
maxmanders has quit [Ping timeout: 252 seconds]
jbsan_ has joined #ruby-lang
jbsan has quit [Read error: Connection reset by peer]
jbsan_ is now known as jbsan
imajes has joined #ruby-lang
jrafanie has quit [Quit: jrafanie]
benanne has quit [Quit: kbai]
naquad has joined #ruby-lang
<yorickpeterse> Gah, fucking Marshal
<yorickpeterse> Marshal.dump(big hash) # => TypeError: can't dump hash with default proc
<yorickpeterse> Oh durr, that's probably because I'm using Hash.new { ... }
cardoni has joined #ruby-lang
jonahR has joined #ruby-lang
slaytanic has joined #ruby-lang
fsvehla has joined #ruby-lang
swav has joined #ruby-lang
osaut has quit [Quit: osaut]
dhruvasagar has quit [Ping timeout: 245 seconds]
dhruvasa1ar has quit [Ping timeout: 260 seconds]
swav_ has joined #ruby-lang
swav has quit [Ping timeout: 256 seconds]
sulo has quit [Remote host closed the connection]
cardoni has quit [Ping timeout: 248 seconds]
baniste__ has joined #ruby-lang
jrafanie has joined #ruby-lang
jrafanie has quit [Client Quit]
mantono has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 245 seconds]
dous_ has joined #ruby-lang
baniste__ has quit [Read error: Connection reset by peer]
intellitech has quit [Ping timeout: 264 seconds]
dous_ has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 248 seconds]
jrafanie has joined #ruby-lang
dous has quit [Ping timeout: 245 seconds]
dcwu has joined #ruby-lang
intellitech has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby-lang
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
dzhulk has joined #ruby-lang
peppyheppy has joined #ruby-lang
mercwithamouth has joined #ruby-lang
alexcp has joined #ruby-lang
ari1 has joined #ruby-lang
ari1 has left #ruby-lang [#ruby-lang]
tdy has joined #ruby-lang
unlikely_monkey has quit [Remote host closed the connection]
lun_ has joined #ruby-lang
TvL2386 has joined #ruby-lang
cardoni has joined #ruby-lang
_carloslopes has joined #ruby-lang
carloslopes has quit [Ping timeout: 245 seconds]
sulo has joined #ruby-lang
intellitech has quit [Ping timeout: 240 seconds]
enebo has joined #ruby-lang
sulo has quit [Ping timeout: 245 seconds]
Stilo has joined #ruby-lang
mistym has joined #ruby-lang
cardoni has quit [Ping timeout: 256 seconds]
alexcp has left #ruby-lang [#ruby-lang]
srbaker has joined #ruby-lang
<MrWGW-> hey there
<MrWGW-> can ruby gems be used to distribute and compile a C portion of your code?
<MrWGW-> i.e. if your code consists of some Ruby and some C, can the gem install the ruby part and then via rake, act as a makefile and build the C component?
<MrWGW-> and for that matter, can ruby gems be used to distribute portions of your code that might be written in other languages, such as python?
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
<whitequark> MrWGW-: google 'extconf.rb' and also check gem rake-compiler
<MrWGW-> I'm writing a program that has a significant python component but also has a ruby API
<MrWGW-> and I'd really like to make hte whole thing available via gems
<MrWGW-> not the least because gems is more widespread and easier to install and work with than python pip
jrafanie has quit [Quit: jrafanie]
mercwithamouth has quit [Ping timeout: 245 seconds]
jonahR has quit [Quit: jonahR]
jonahR has joined #ruby-lang
<hagabaka> people with rubygems don't necessarily have python though
ryanf has joined #ruby-lang
nkr has quit [Ping timeout: 244 seconds]
miraks has joined #ruby-lang
banisterfiend has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
cardoni has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
sulo has joined #ruby-lang
lun_ has quit [Read error: Connection reset by peer]
lun_ has joined #ruby-lang
mercwithamouth has joined #ruby-lang
swav_ has quit [Remote host closed the connection]
mwjcomputing has quit [Ping timeout: 260 seconds]
intellitech has joined #ruby-lang
cardoni has quit [Ping timeout: 260 seconds]
skade has quit [Quit: Computer has gone to sleep.]
mwjcomputing has joined #ruby-lang
firefux has joined #ruby-lang
<firefux> do I have to "require 'rubygems'" and "gem 'minitest'" for my programm to use the latest update version from "gem update" ?
mercwithamouth has quit [Ping timeout: 264 seconds]
mwjcomputing has left #ruby-lang ["Leaving"]
banisterfiend has joined #ruby-lang
Bearproof has joined #ruby-lang
rdw200169 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
sulo has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
malev has joined #ruby-lang
miraks has quit []
<mistym> firefux: You don't have to `require 'rubygems'` on 1.9 or newer.
<apeiros_> and you shouldn't on 1.8 or older
<apeiros_> (except in the executable)
<apeiros_> actually even there not really.
lsegal has joined #ruby-lang
swav has joined #ruby-lang
havenn has quit [Remote host closed the connection]
swav has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 255 seconds]
nkr has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
cardoni has joined #ruby-lang
phlipper_ is now known as phlipper
Bearproof has quit [Quit: Leaving.]
sulo has joined #ruby-lang
_carloslopes has quit [Ping timeout: 245 seconds]
carloslopes has joined #ruby-lang
Aria has joined #ruby-lang
wallerdev has joined #ruby-lang
jamiguet has joined #ruby-lang
sulo has quit [Ping timeout: 240 seconds]
<firefux> but I do need "gem 'minitest' to use the latest minitest from 'gem update' right? If not it will use the minitest bundled with 1.9?
<firefux> mistym: apeiros_: ^^
snooc has joined #ruby-lang
<apeiros_> firefux: no
<apeiros_> require 'file/of/a/gem' will always use the newest gem
<apeiros_> you *never* need plain `gem 'gemname'`
<apeiros_> I have no idea why the second arg is optional
skade has joined #ruby-lang
<apeiros_> drbrain: ping, could we make the second arg of Kernel#gem required? (of course, with a deprecation phase where it just warns)
<apeiros_> people are obviously still confused about when/why they need that method…
<zzak> defined? MiniTest
<firefux> apeiros_: ok, thanks, is was just that
<zzak> oh, i thought you were asking for #required?
<firefux> 'ri MiniTest' says to use require 'rubygems' and gem 'minitest'
<apeiros_> waaa?
<apeiros_> minitest is from zenspider, no?
<apeiros_> unimaginable that out of all, he'd state that
<firefux> On 1.9, you already have it. To get newer candy you can still install the gem,
<firefux> but you'll need to activate the gem explicitly to use it:
<firefux> require 'rubygems'
<firefux> gem 'minitest' # ensures you're using the gem, and not the built in MT
<firefux> require 'minitest/autorun'
<firefux> ^^ from ri
<zzak> its from the README
<zzak> apeiros_: also, re Kernel#gem can you file a ticket?
<zzak> firefux: you _do_ have to use gem 'minitest' if you're on 1.8, which minitest may or may not still support
<apeiros_> if you proof-read it before submission
* apeiros_ bad headache
joast has quit [Ping timeout: 245 seconds]
<apeiros_> zzak: um, no, you don't have to
tdy has joined #ruby-lang
<zzak> apeiros_: you mean with newer version of gems?
<apeiros_> I mean there's only one use-case where you'd ever need `gem 'foo'` without a second argument
<apeiros_> and that one use-case is a horrible one :)
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
<apeiros_> it's when a normal require would not trigger the rubygems loading mechanism
spuk has joined #ruby-lang
AndChat675444 has joined #ruby-lang
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
<injekt> brrrrr
<zzak> apeiros_: i thought it was fixed in a newer version of gems
<zzak> so you dont need gem 'foo' and require will do all the work
banisterfiend has quit [Remote host closed the connection]
AndChat675444 has quit [Client Quit]
AndChat675444 has joined #ruby-lang
AndChat675444 has left #ruby-lang [#ruby-lang]
io_syl has joined #ruby-lang
<apeiros_> zzak: you never needed it
<apeiros_> you didn't need it back in 0.8 days either
<apeiros_> you needed rubygems itself loaded
<apeiros_> and people misused require_gem
<apeiros_> and now they misuse gem
workmad3 has joined #ruby-lang
<apeiros_> the use-case for the gem method today is when you need a specific version of a gem
<apeiros_> e.g. `gem 'minitest', '=1.0.0'; require 'minitest'`
<apeiros_> and with regards to `require 'rubgems'` - you didn't need that in 1.8 either, because if you depended on rubygems, you'd normally write your thing as a rubygem too
<apeiros_> and in that case, rubygems would already be loaded
<apeiros_> the myth, that you need "require 'rubygems'" stems from the same misconception as todays "oh you need require_relative" - it's that people totally don't understand "development" vs. "installed"
<zzak> so how should someone use minitest gem vs stdlib?
<apeiros_> ah, fun - that'd actually be that one horrible case I mentioned
<apeiros_> (20:41 apeiros_: it's when a normal require would not trigger the rubygems loading mechanism )
<zzak> same goes for psych
<zzak> so ryan's readme and psych's readme still apply?
<apeiros_> mhm, that's the bad thing about stdlib not yet being gemified
<apeiros_> yes, that'd explain it
<zzak> do you still need to require gems first tho?
<apeiros_> no
<zzak> i didnt think so
<zzak> even on older gems?
<apeiros_> not even on older gems
<zzak> only 1.8, right?
<apeiros_> see what I said above. even with 1.8 it wasn't necessary if you did it right
<apeiros_> 1.9 makes it easier as you don't even have to "do it right" (since rubygems is loaded by ruby)
<zzak> :D
<workmad3> if you have something packaged as a gem, it's valid to assume rubygems is loaded
<workmad3> otherwise, how is your code loaded in the first place? :)
<manveru> via $RUBYLIB of course
<workmad3> the responsibility of ensuring rubygems is loaded is that of the application using the gem
<manveru> just because you have a gem doesn't mean i can't use the repo instead
s0ber_ has joined #ruby-lang
<workmad3> manveru: right, but then it's still your responsibility to ensure that things are set up for the gem to function
<workmad3> manveru: not the gems
<manveru> yeah
<manveru> though i'm not sure what needs to be set up?
<workmad3> nowadays, nothing
<manveru> in 1.8 you needed RUBYOPT=-rubygems but nobody uses 1.8 anymore and it finally dies in summer :)
<workmad3> it's harking back to the old idea (that's still a bit prevalent for '1.8 support' I'm guessing) of gems doing 'require "rubygems" ' or doing something like $:.unshift(File.dirname(__FILE__))
sepp2k has quit [Remote host closed the connection]
<manveru> yeah
<apeiros_> silly
<workmad3> apeiros_: indeed
s0ber has quit [Ping timeout: 276 seconds]
carloslopes has quit [Remote host closed the connection]
s0ber_ is now known as s0ber
<apeiros_> as you said - if you package it as a gem, rubygems is already loaded when your code executes
<apeiros_> and if somebody installs your stuff not as a gem, he's responsible of installing the dependencies
<apeiros_> so technically I disagree on the application being responsible for rubygems :)
<workmad3> apeiros_: and hell, it isn't even that a gem assumes rubygems is loaded... it's just that the gem assumes the load path is set up in a manner similar to rubygems would achieve
<apeiros_> right
<apeiros_> the only case where you explicitly need rubygems loaded is when you access something rubygems specific
<workmad3> which is what bundler does... it sets up the load path and then deactivates rubygems override of 'require'
<whitequark> hell yes. also require "rubygems" broke for me in strange ways in warbler.
<zzak> apeiros_: thanks dude, ill send ryan a patch to remove the require bit, but otherwise its good
<apeiros_> somehow I assume zenspider put it in because it was easier than to deal with support requests of people who don't understand how requiring works…
<apeiros_> or setting up an env
nmeum has joined #ruby-lang
jfelchner has quit [Ping timeout: 264 seconds]
havenn has joined #ruby-lang
banisterfiend has joined #ruby-lang
robotmay has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
swav has joined #ruby-lang
brianpWins_ has joined #ruby-lang
Stilo has joined #ruby-lang
brianpWins has quit [Ping timeout: 252 seconds]
brianpWins_ is now known as brianpWins
swav has quit [Ping timeout: 245 seconds]
srbaker has joined #ruby-lang
xcombelle has quit [Remote host closed the connection]
jfelchner has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
carloslopes has joined #ruby-lang
io_syl has quit [Ping timeout: 256 seconds]
io_syl has joined #ruby-lang
ddv has joined #ruby-lang
Aria has quit [Remote host closed the connection]
innohero has quit [Quit: Leaving]
nkr has quit [Ping timeout: 255 seconds]
Aria has joined #ruby-lang
Aria has quit [Remote host closed the connection]
Aria has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
io_syl has quit [Ping timeout: 246 seconds]
slaytanic has quit [Quit: mmmb0p.]
ddv has quit [Changing host]
ddv has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
Bearproof has joined #ruby-lang
joast has joined #ruby-lang
Bearproof has left #ruby-lang [#ruby-lang]
io_syl has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
havenn has quit [Remote host closed the connection]
<yorickpeterse> awwww hell yeah, my mirror is actually working
<yorickpeterse> 573 gems with a total size of 50MB, notbad.jpg
havenn has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
havenn has quit [Ping timeout: 252 seconds]
<rking> yorickpeterse: What for? Speed/reliability?
carloslopes has quit [Remote host closed the connection]
<rking> yorickpeterse: It'd be cool if you blogged your setup steps.
<yorickpeterse> you can get this thing running in 3 commands
<yorickpeterse> You'll spend more time downloading the Gems than actually using it
ivanoats has quit [Remote host closed the connection]
<yorickpeterse> (this is a Rubygems mirror btw)
<yorickpeterse> The only annoying thing is that it fetches *all* versions of a Gem since I really cbf doing dependency resolution
robotmay has quit [Remote host closed the connection]
cardoni has quit [Quit: cardoni]
carloslopes has joined #ruby-lang
<yorickpeterse> Hm on the other hand, if something uses a range I can probably just install the newest one
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
idkazuma has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
osaut has joined #ruby-lang
bzalasky has joined #ruby-lang
srbaker has joined #ruby-lang
jrafanie has joined #ruby-lang
TvL2386 has quit [Quit: Ex-Chat]
vlad_starkov has joined #ruby-lang
srbaker has quit [Ping timeout: 255 seconds]
snooc has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
carloslopes has quit [Remote host closed the connection]
cardoni has joined #ruby-lang
s1n4 has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 255 seconds]
srbaker has joined #ruby-lang
havenn has joined #ruby-lang
ttilley has quit [Quit: ttilley]
lun_ has quit [Ping timeout: 245 seconds]
lun_ has joined #ruby-lang
mwjcomputing has joined #ruby-lang
mwjcomputing has quit [Ping timeout: 245 seconds]
sullenel has quit [Quit: WeeChat 0.4.0]
solars has quit [Ping timeout: 252 seconds]
sustainableweb has joined #ruby-lang
ivanoats has quit [Ping timeout: 248 seconds]
bzalasky has joined #ruby-lang
jamiguet has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
workmad3 has quit [Ping timeout: 255 seconds]
jrafanie has quit [Quit: jrafanie]
kurko_ has joined #ruby-lang
banisterfiend has joined #ruby-lang
slaytanic has joined #ruby-lang
io_syl has quit [Ping timeout: 248 seconds]
cardoni has quit [Quit: cardoni]
<injekt> 50mb for 573 gems? noice
io_syl has joined #ruby-lang
brianpWins has joined #ruby-lang
havenn has quit [Read error: Connection reset by peer]
havenn has joined #ruby-lang
<masterkorp> err sory
lcdhoffman has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
thone_ has joined #ruby-lang
marr has joined #ruby-lang
thone has quit [Ping timeout: 252 seconds]
havenn has quit [Remote host closed the connection]
havenn has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
Bosox20051 has joined #ruby-lang
cardoni has joined #ruby-lang
<yorickpeterse> injekt: note that they're all gzipped
<injekt> yorickpeterse: of course :)
kurko_ has quit [Quit: Computer has gone to sleep.]
srbaker has quit [Quit: Computer has gone to sleep.]
cardoni has quit [Ping timeout: 260 seconds]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
blacktulip has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
nazty has quit [Read error: Connection reset by peer]
Stilo has joined #ruby-lang
tesseract has joined #ruby-lang
cored has quit [Ping timeout: 256 seconds]
cored has joined #ruby-lang
kentos has joined #ruby-lang
mwjcomputing has joined #ruby-lang
peppyheppy has quit [Quit: peppyheppy]
bzalasky has joined #ruby-lang
hakunin has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
osaut has quit [Quit: osaut]
tbuehlmann has quit [Remote host closed the connection]
robotmay has joined #ruby-lang
io_syl_ has joined #ruby-lang
<epitron> masterkorp: is that a metaphor for ruby
<epitron> if so you should try ruby 2.0 it is responsive like a bored penpal
<hakunin> I'm implementing a dsl for something, and i have a case where a method sets something as a side effect, and also returns a string it sets. In my DSL the method can be called standalone, or as an argument to another method. I'm trying to solve this issue where I want this method to set if it's run standalone, and return if passed as an argument, but seems impossible.
io_syl has quit [Ping timeout: 240 seconds]
io_syl_ is now known as io_syl
<epitron> why don't you use blocks instead of arguments then you can nest blocks problem solved
<hakunin> I'm aware that I might be better off redesigning this.
tbuehlmann has joined #ruby-lang
<hakunin> epitron: blocks are used and it does behave correctly with them. Arguments are allowed too however, and make more sense visually for certain things
<epitron> well in that case maybe you want to chain methods instead of arguments
<epitron> object.can(:blurf).and(:snargle)
<epitron> your vague description makes it difficult to suggest real remedies though
bzalasky has joined #ruby-lang
<hakunin> epitron: Yeah i didn't give enough info, in my case this wouldn't be pretty. I'm wrapping imagemagick, and i want to get `convert { convert(clone) }` (equivalent to `convert { convert { clone } }`), and having convert { convert.clone } makes mapping to original imagemagick much more confusing
Asher has quit [Quit: Leaving.]
<epitron> waaaa
<epitron> why do you convert a convert
<epitron> that's too many converts
<epitron> is clone a method or an image?
<hakunin> epitron: imagemagick allows for infinite nesting and clone translates literally to imagemagick's "+clone" or "-clone" opt
<epitron> i see
<epitron> (i don't know what that does)
<epitron> ok i'm out!
* epitron tags someone else in
<hakunin> epitron: :) thanks for trying
mistym has quit [Remote host closed the connection]
Asher has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 240 seconds]
<hakunin> It comes down to the fact that I don't think there's a way in ruby to know from inside the method whether the method was called from an argument list or not
elico has joined #ruby-lang
<hakunin> which is a crazy thing to want kind of
elico has quit [Client Quit]
<hakunin> one method def foo; end cannot behave differently when it's called: foo; or when it's supplied as arg: bar(foo);
gustavnils has quit [Quit: Textual IRC Client: www.textualapp.com]
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
<hakunin> there might be a clever way to reconcile behavior duplication by getting nested and parent objects to communicate. parent: "Hey something just get set in me", nested: "Cool story bro, I just had same exact thing passed in as an argument"
enebo has quit [Quit: enebo]
<hakunin> but gee. perhaps not worth it
<whitequark> this is simply not possible
<whitequark> on the level of language semantics, there isn't such a thing as "calling something from an argument list"
<hakunin> of course
<hakunin> it just executes method blindly, then result ends up in an argument list
<hakunin> but if you're trying to force method to modify its context if it's not passed as an argument, or not modify context if it is passed as an argument - there might be a way to get the two contexts to reconcile the outcomes
<hakunin> i just think it's too complex
<hakunin> to bother
<hakunin> if my method was returning an object with certain object id, while at the same time setting this object in current context, then it could be easy to tell that 2 identical objects were added. but what if that's intentional?... so nevermind
mephux has quit [Excess Flood]
vlad_starkov has quit [Ping timeout: 264 seconds]
mephux has joined #ruby-lang
robbyoconnor has joined #ruby-lang
blowfly has joined #ruby-lang
malev has quit [Remote host closed the connection]
solars has joined #ruby-lang
workmad3 has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
tonni has quit [Remote host closed the connection]
dous has joined #ruby-lang
Bearproof has joined #ruby-lang
s1n4 has quit [Quit: leaving]
Swimming_Bird has joined #ruby-lang
grough has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
Bearproof has quit [Client Quit]
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
grough has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tomzx_ has joined #ruby-lang
sulo has joined #ruby-lang
sulo has quit [Read error: Connection reset by peer]