apeiros_ changed the topic of #ruby-lang to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
djwonk has joined #ruby-lang
kogent has quit [Quit: kogent]
vlad_starkov has joined #ruby-lang
<zenspider> I don't know how best to show the changes in the way the tests run
<zenspider> UML seems poorly suited for this, but dumping out a bunch of code is worse
Nisstyre has quit [Ping timeout: 276 seconds]
patrickod has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 272 seconds]
<fowl> zenspider: are you on this level now where you feel you can use #ruby-lang for your idle thoughts, as if you are so important that everyone else in the channel clings to the edge of their seat waiting for your next quip
<patrickod> when using ruby-prof and passing it a block to profile is it not possible to access variables created inside the block after it has finished executing?
<patrickod> scrap that. Just being an idiot and not taking variable scope into account.
<headius> drbrain: wtf is up with rbinstall.rb man
<drbrain> what is that?
<drbrain> oh, in tools?
<headius> I couldn't figure out how it was getting installed gemspecs with non-empty files, and located the logic in there
<drbrain> yeah
<headius> e.g. for default gems
<drbrain> that's nobu
<headius> I'm going to pull that stuff out into a lib or something
<headius> it's a mess
anjen has quit [Quit: anjen]
<headius> default gems don't work without files = non-nil in the specifications/default gemspec
<headius> alternatively, maybe we could make RG include files in the installed gemspecs
parndt is now known as parndt`away
<headius> rbinstall.rb modifies gemspecs for defaults, sticking everything in there via a glob
<headius> took me forever to find that code
jxie has quit [Quit: leaving]
<drbrain> yeah
<drbrain> I'm about out of power, so I'm going to ride the bus home
<drbrain> if you need more questions answered I can phone IRC
<headius> ok
totallymike has joined #ruby-lang
<drbrain> … just let me know now, otherwise you have to wait :D
asunderland has quit [Ping timeout: 255 seconds]
ikrima has joined #ruby-lang
<zenspider> fowl: are you always a dick? that can be fixed
<fowl> yes
<fowl> fix it for me
<fowl> dear god fix me so hard
fowl was kicked from #ruby-lang by zenspider [Kicked]
<zenspider> foul
crackit__ has joined #ruby-lang
<zenspider> anyhow... if anyone has any idea how best to describe the run differences between minitest 4 and 5, I'm all ears
<erikh> zenspider: maybe just a basic flow chart?
<erikh> ooh! perftools.rb output :P
<erikh> keep in mind I haven't looked at 5 yet, but it seems like dot would be great for this kind of thing.
ikrima has quit [Ping timeout: 252 seconds]
<rsync_> Good Morning
<erikh> it's evening. totally not living up to that name, buddy
<erikh> :P
ikrima has joined #ruby-lang
<zenspider> erikh: not sure how to do this in dot, honestly... here.. sec.
<erikh> I mean, use omni or whatever, but do you get where I was aiming?
<erikh> have you seen perftools.rb output of a code execution path?
<erikh> yeah, so, perftools can make this into dot
<zenspider> I've seen the output where it shows like... how much time is spent in places and were it goes from there
<erikh> right, and the size of each box is relative to how much time it consumes
<zenspider> I don't think that does a good job of denoting code complexity
<erikh> fair enough
<erikh> it just seems the top of that text file and those graphs have a lot in common
<zenspider> except where the complexity is proportional to the time, obvs
odcinek has quit [Quit: odcinek]
<erikh> this looks great though. I'm gonna mark it for later so I can refer to it when I do things with it to chef-workflow
<erikh> also I totally started using pocket like, two days ago
<erikh> is it obvious?
<zenspider> it can be, in ruby.
io_syl has quit [Ping timeout: 252 seconds]
io_syl has joined #ruby-lang
wmoxam has joined #ruby-lang
DomKM has quit [Quit: Leaving.]
mikestok has joined #ruby-lang
jmettraux has left #ruby-lang ["Leaving..."]
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
toretore has quit [Quit: Leaving]
vlad_starkov has joined #ruby-lang
mose has quit [Ping timeout: 260 seconds]
mose has joined #ruby-lang
odcinek has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 248 seconds]
odcinek has quit [Client Quit]
parndt`away is now known as parndt
sailias has joined #ruby-lang
yaroslav has quit [Quit: yaroslav]
krohrbaugh has quit [Quit: Leaving.]
brianpWins has joined #ruby-lang
yknot_ has joined #ruby-lang
alessio_rocco has quit [Remote host closed the connection]
sepp2k1 has quit [Read error: Connection reset by peer]
headius has quit [Quit: headius]
asunderland has joined #ruby-lang
erpuds has quit [Quit: erpuds]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
wmoxam has quit [Ping timeout: 264 seconds]
Domon has joined #ruby-lang
lguardiola has quit [Quit: Leaving]
dhruvasagar has quit [Ping timeout: 268 seconds]
wmoxam has joined #ruby-lang
bzalasky has joined #ruby-lang
vlad_starkov has joined #ruby-lang
ryez has joined #ruby-lang
jvrmaia has joined #ruby-lang
Nautes has quit [Quit: Leaving]
erpuds has joined #ruby-lang
wmoxam has quit [Ping timeout: 248 seconds]
srbaker has joined #ruby-lang
Xzyx987X_ has quit [Ping timeout: 240 seconds]
tylersmith has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 240 seconds]
idkazuma has joined #ruby-lang
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Client Quit]
scottschecter has quit [Quit: WeeChat 0.4.0]
scottschecter has joined #ruby-lang
wmoxam has joined #ruby-lang
jvrmaia has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
nathanstitt has joined #ruby-lang
Guest39424 has joined #ruby-lang
Guest39424 has quit [Client Quit]
pskosinski has quit [Quit: pskosinski]
krz has joined #ruby-lang
dhruvasagar has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
bzalasky has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
krohrbaugh has quit [Read error: Operation timed out]
wmoxam has quit [Ping timeout: 264 seconds]
totallymike has quit [Quit: WeeChat 0.4.0]
parndt has quit [Quit: ta ta]
sailias has quit [Quit: Leaving.]
bzalasky has joined #ruby-lang
vlad_starkov has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
jvrmaia has joined #ruby-lang
jvrmaia has quit [Remote host closed the connection]
nghialv2607 has joined #ruby-lang
jovy88 has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 255 seconds]
jovy88 has joined #ruby-lang
erpuds has quit [Quit: erpuds]
breakingthings has quit [Quit: breakingthings]
wallerdev has quit [Quit: wallerdev]
mikestok has quit [Quit: Computer has gone to sleep.]
erpuds has joined #ruby-lang
tylersmith has joined #ruby-lang
Xzyx987X has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 248 seconds]
tylersmith has quit [Ping timeout: 246 seconds]
nathanstitt has quit [Quit: I growing sleepy]
stardiviner has quit [Remote host closed the connection]
fosky has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 246 seconds]
krz has quit [Quit: krz]
leandrosnunes has joined #ruby-lang
jvrmaia has joined #ruby-lang
fosky has quit [Quit: Leaving]
DomKM has joined #ruby-lang
asunderland has quit [Ping timeout: 245 seconds]
jvrmaia has quit [Remote host closed the connection]
GeissT has joined #ruby-lang
nofxx__ has joined #ruby-lang
krohrbaugh has joined #ruby-lang
robbyoconnor has joined #ruby-lang
nofxx_ has quit [Ping timeout: 272 seconds]
kstuart has quit [Ping timeout: 264 seconds]
kstuart has joined #ruby-lang
leandrosnunes has quit [Remote host closed the connection]
krohrbaugh has quit [Ping timeout: 276 seconds]
nghialv2607 has quit [Remote host closed the connection]
setmeaway2 has joined #ruby-lang
asunderland has joined #ruby-lang
mineiro has quit [Read error: Connection reset by peer]
mineiro has joined #ruby-lang
brianpWins has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mikestok has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
mikestok has quit [Client Quit]
intellitech_ has quit [Read error: Connection reset by peer]
krz has joined #ruby-lang
saarinen has joined #ruby-lang
bryanl has joined #ruby-lang
intellitech has joined #ruby-lang
saarinen has left #ruby-lang [#ruby-lang]
saarinen has joined #ruby-lang
saarinen has left #ruby-lang [#ruby-lang]
xcombelle has joined #ruby-lang
arubin has joined #ruby-lang
kogent has joined #ruby-lang
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 246 seconds]
kogent has quit [Quit: kogent]
mistym has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
macmartine has joined #ruby-lang
erpuds has quit [Quit: erpuds]
vlad_starkov has quit [Ping timeout: 245 seconds]
fowl has quit [Ping timeout: 272 seconds]
<erikh> drbrain: what freebsd were you on from that gist?
<erikh> I'm on 9, the structure doesn't even float in FFI, can't even get to the tests.
krz has quit [Quit: krz]
divout has joined #ruby-lang
slippyd has quit [Quit: slippyd]
headius has joined #ruby-lang
jxie has joined #ruby-lang
slippyd has joined #ruby-lang
<erikh> I think I have a fix here though.
headius has quit [Quit: headius]
yknot_ has quit [Remote host closed the connection]
levifig has quit [Excess Flood]
levifig has joined #ruby-lang
levifig has quit [Excess Flood]
jxie has quit [Quit: leaving]
levifig has joined #ruby-lang
zommi has joined #ruby-lang
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<erikh> wow, found a deadlock?
<erikh> that's new.
<erikh> just gonna mutter here to myself
mjio has quit []
workmad3 has joined #ruby-lang
obrientimothya has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby-lang
dkannan has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
nXqd has joined #ruby-lang
infecto has quit [Ping timeout: 252 seconds]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
infecto has joined #ruby-lang
znz_jp has quit [Quit: kill -QUIT $$]
znz_jp has joined #ruby-lang
justinram has joined #ruby-lang
infecto has quit [Read error: Connection reset by peer]
infecto has joined #ruby-lang
gjaldon has joined #ruby-lang
asunderland has quit [Ping timeout: 255 seconds]
io_syl has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Ping timeout: 252 seconds]
noop has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
jxie has joined #ruby-lang
AndChat| has quit [Ping timeout: 245 seconds]
<erikh> archive 0.0.2 released -- big thanks to those of you who helped test it
jovy88 has quit [Read error: Connection reset by peer]
Banistergalaxy has joined #ruby-lang
jovy88 has joined #ruby-lang
richardjortega has quit [Quit: richardjortega]
obrientimothya has quit [Ping timeout: 245 seconds]
krohrbaugh has joined #ruby-lang
megha has joined #ruby-lang
baba has quit [Ping timeout: 264 seconds]
sush24 has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 264 seconds]
dr_bob has joined #ruby-lang
thebastl has joined #ruby-lang
benlovell has joined #ruby-lang
krz has joined #ruby-lang
solars has joined #ruby-lang
vlad_starkov has joined #ruby-lang
tbuehlmann has joined #ruby-lang
DomKM has quit [Quit: Leaving.]
vlad_starkov has quit [Ping timeout: 264 seconds]
Squarepy has joined #ruby-lang
dhruvasagar has joined #ruby-lang
barttenbrinke has joined #ruby-lang
nghialv2607 has joined #ruby-lang
ikrima has quit [Ping timeout: 264 seconds]
codeho_ has joined #ruby-lang
vmoravec has joined #ruby-lang
codeho_ has quit [Client Quit]
ikrima has joined #ruby-lang
codeho has quit [Ping timeout: 256 seconds]
glebm has joined #ruby-lang
hanjianwei has joined #ruby-lang
judofyr has joined #ruby-lang
xcombelle has quit [Remote host closed the connection]
headius has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
djwonk has quit [Quit: djwonk]
headius has quit [Quit: headius]
hanjianwei has quit [Quit: leaving]
notwen has quit [Remote host closed the connection]
glebm has quit [Quit: Textual IRC Client: www.textualapp.com]
glebm has joined #ruby-lang
myappleguy1 has joined #ruby-lang
nertzy3 has joined #ruby-lang
skade has joined #ruby-lang
myappleguy has quit [Ping timeout: 256 seconds]
blacktulip has joined #ruby-lang
nertzy2 has quit [Ping timeout: 246 seconds]
alessio_rocco has joined #ruby-lang
maloik_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
glebm has quit [Client Quit]
Domon has quit [Ping timeout: 248 seconds]
Domon has joined #ruby-lang
hanjianwei has joined #ruby-lang
soahccc has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 256 seconds]
skade has quit [Quit: Computer has gone to sleep.]
hanjianwei has quit [Quit: leaving]
skade has joined #ruby-lang
gnufied has joined #ruby-lang
Domon has quit [Remote host closed the connection]
_KGBot_ has joined #ruby-lang
barttenbrinke has joined #ruby-lang
Domon has joined #ruby-lang
dkannan has quit [Quit: dkannan]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
mineiro has quit [Read error: Connection reset by peer]
mineiro has joined #ruby-lang
GarethAdams has joined #ruby-lang
GarethAdams has quit [Changing host]
GarethAdams has joined #ruby-lang
<yorickpeterse> morning
marr has joined #ruby-lang
<_KGBot_> Morning all.. We're doing 10.30 CEST with Blue Skies.. :)
infecto has quit [Ping timeout: 264 seconds]
infecto has joined #ruby-lang
_KGBot_ has quit [Remote host closed the connection]
barttenbrinke has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
<yorickpeterse> best way to start a friday: bike stolen
GarethAdams has quit [Ping timeout: 264 seconds]
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
<ddfreyne> yorickpeterse: :(
<yorickpeterse> more annoying: it got stolen right in front of my door
<yorickpeterse> and I'm most annoyed by losing my expensive tires (which were almost as expensive as the bike itself)
<dbussink> judofyr: around?
<judofyr> dbussink: yes
prognostikos has joined #ruby-lang
<dbussink> judofyr: maybe better to take to #rubinius btw, want to ask about the issue you opened
vlad_starkov has joined #ruby-lang
swav has joined #ruby-lang
Squarepy has quit [Ping timeout: 256 seconds]
Domon has quit [*.net *.split]
levifig has quit [*.net *.split]
GeissT has quit [*.net *.split]
bzalasky has quit [*.net *.split]
ericwood has quit [*.net *.split]
bentis has quit [*.net *.split]
beawesomeinstead has quit [*.net *.split]
norplr has quit [*.net *.split]
rhizome has quit [*.net *.split]
eban has quit [*.net *.split]
mbr has quit [*.net *.split]
Guest85414 has quit [*.net *.split]
eam has quit [*.net *.split]
jkyle has quit [*.net *.split]
ozzloy has quit [*.net *.split]
mbr has joined #ruby-lang
ozzloy has joined #ruby-lang
rhizome has joined #ruby-lang
jkyle has joined #ruby-lang
eban has joined #ruby-lang
GarethAdams has joined #ruby-lang
GarethAdams has quit [Changing host]
GarethAdams has joined #ruby-lang
norplr has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
Guest85414 has joined #ruby-lang
Domon has joined #ruby-lang
bzalasky has joined #ruby-lang
levifig has joined #ruby-lang
GeissT has joined #ruby-lang
<injekt> moin
beawesomeinstead has joined #ruby-lang
Squarepy has joined #ruby-lang
Squarepy has quit [Max SendQ exceeded]
justinram has quit [Remote host closed the connection]
bentis has joined #ruby-lang
ericwood has joined #ruby-lang
Squarepy has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
brianpWins has quit [Quit: brianpWins]
justinram has joined #ruby-lang
eam has joined #ruby-lang
<erikh> eam: ltns
<erikh> injekt: hi
charliesome has joined #ruby-lang
tomzx_mac has joined #ruby-lang
Squarepy has quit [Ping timeout: 252 seconds]
Squarepy has joined #ruby-lang
mytrile has joined #ruby-lang
Squarepy has quit [Max SendQ exceeded]
Squarepy has joined #ruby-lang
Criztian has joined #ruby-lang
Squarepy has quit [Max SendQ exceeded]
Squarepy has joined #ruby-lang
barttenbrinke has joined #ruby-lang
<injekt> erikh: howdy
tbuehlmann has quit [Remote host closed the connection]
Kuukunen has quit [Quit: leaving]
Squarepy has quit [Quit: Leaving]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Ping timeout: 245 seconds]
rsync_ has quit [Quit: rsync_]
dhruvasagar has joined #ruby-lang
Kuukunen has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
patrickod has quit [Ping timeout: 264 seconds]
krz has quit [Quit: krz]
vlad_starkov has joined #ruby-lang
Domon has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby-lang
krohrbaugh has joined #ruby-lang
mikestok has joined #ruby-lang
patrickod has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
Domon has joined #ruby-lang
marr has quit [Ping timeout: 248 seconds]
retro|cz has quit [Ping timeout: 276 seconds]
divout has quit [Quit: Leaving.]
xcombelle has joined #ruby-lang
marr has joined #ruby-lang
benlovell has quit [Read error: Operation timed out]
Domon has quit [Remote host closed the connection]
mbj has joined #ruby-lang
postmodern has quit [Quit: Leaving]
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
<wnd> Obviously I don't understand standard streams well enough to really understand why this works the way it does: https://gist.github.com/wnd/79c9e8b4bb9d4d6482ff . Takes filename as argument, creates/overwrites it. Comment line 13 to see expected behaviour.
sailias has joined #ruby-lang
TvL2386 has joined #ruby-lang
marr has quit [Ping timeout: 248 seconds]
<yorickpeterse> haha, so somebody suggested some alternative syntax for block args on ruby-core
<yorickpeterse> Matz replies, but probably due to him not fully understanding English made a fun reply:
<yorickpeterse> "I don't think the syntax cannot be defined without conflict.Prove me I am wrong."
<yorickpeterse> Probably meant to write "prove me if I'm wrong" but now it basically looks like he said "COME AT ME BRO"
<erikh> "prove me wrong"
<erikh> helps to, uh, know english
<erikh> :P
vlad_starkov has quit [Remote host closed the connection]
ryez has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
<judofyr> is there a better word for "unshift"?
<yorickpeterse> prepend
nghialv2607 has quit [Remote host closed the connection]
<GarethAdams> shunt
swav has quit [Ping timeout: 245 seconds]
<GarethAdams> pop/push shift/shunt
<GarethAdams> but yeah, prepend really
marr has joined #ruby-lang
<yorickpeterse> put_at_the_front_of
<yorickpeterse> because methods should be sentences
<GarethAdams> this_thing_and_then_the_existing_things
<yorickpeterse> Array#create_a_new_array_with_default_value(10)
wallerdev has joined #ruby-lang
jxie has quit [Quit: leaving]
<GarethAdams> there's a "guess the method" competition in this
<GarethAdams> ActiveRecord::Base#does_this_thing_have_all_the_things_I_need_it_to_have?
<yorickpeterse> SomeModel.find_by_some_huge_field_name_nobody_likes_to_write('herp derp')
retro|cz has joined #ruby-lang
<GarethAdams> _and_another_stupidly_long_field_name_and_why_was_this_ever_a_good_idea
<yorickpeterse> because omakase
<judofyr> .find_by_name_and_maybe_create_if_username_is_missing
dr_bob has quit [Read error: Connection reset by peer]
* GarethAdams yoinks that method
zommi has quit [Remote host closed the connection]
<GarethAdams> GarethAdams.yoink(:that_method)
sailias has quit [Quit: Leaving.]
sailias has joined #ruby-lang
srbaker has joined #ruby-lang
krohrbaugh has joined #ruby-lang
mucker has joined #ruby-lang
yalue has joined #ruby-lang
marr has quit [Ping timeout: 256 seconds]
swav has joined #ruby-lang
marr has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
sailias has quit [Quit: Leaving.]
tbuehlmann has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 256 seconds]
barttenbrinke has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
<charliesome> yorickpeterse: haha yeah i thought the same thing too (re: "prove me i am wrong")
mikestok has quit [Quit: Computer has gone to sleep.]
marr has quit [Ping timeout: 276 seconds]
barttenbrinke has joined #ruby-lang
nghialv2607 has joined #ruby-lang
leandrosnunes has joined #ruby-lang
ryez has joined #ruby-lang
jovy88 has quit [Ping timeout: 252 seconds]
kke has joined #ruby-lang
leandrosnunes has quit []
Kuukunen has quit [Quit: leaving]
Kuukunen has joined #ruby-lang
<kke> class Zuper { def self.initialized(child) { xxx } }; Object.const_set(:FooFoo, Class.new(Zuper)) sooo, can i get the :FooFoo into zuper's self.inherited somehow? it works if i do class FooFoo < Zuper but not if i do it the funny way
<kke> not initialized but self.inherited
jmeeuwen has quit [Ping timeout: 264 seconds]
mikestok has joined #ruby-lang
idkazuma has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
AndChat| has joined #ruby-lang
marr has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 252 seconds]
<judofyr> kke: #inherited is called when Class.new(Zuper) is called, and the class isn't named at that point
infecto has quit [Read error: Operation timed out]
<kke> judofyr: yes, i realize that :) trying to figure out a workaround
<judofyr> kke: well, why do you care about the name?
leandrosnunes has joined #ruby-lang
infecto has joined #ruby-lang
<kke> judofyr: because i do something like Object.const_defined?(child.to_s.concat('Alternate'))
<judofyr> kke: why would you do that?
vlad_starkov has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
jmeeuwen has joined #ruby-lang
<kke> hmm actually i'm not sure if i need to, now as i think about it further
tomzx_mac has quit [Ping timeout: 252 seconds]
<kke> indeed i do not
<judofyr> :)
vlad_starkov has joined #ruby-lang
marr has quit [Ping timeout: 264 seconds]
<kke> i made a kind of light version of activerecord model that is basically just a hash and i stored the real heavy model name in @@model when self.inherited
marr has joined #ruby-lang
Austin__ has joined #ruby-lang
<kke> actually it's kind of good, maybe it's been done before, but i got carried away
<whitequark> kke: it was
<kke> no no
dfdf has joined #ruby-lang
sailias1 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<kke> whitequark: i can now do like class UserLight < LightModel and it has UserLight.find and other stuff that acts like AR, but instead of returning Users it returns hashes/arrays of hashes (and works with &block too instead of loading all to memory) with a couple of extra methods so that associations work also, they're read only, good for listings and stuff.
krohrbaugh has joined #ruby-lang
sush24 has joined #ruby-lang
dfdf has quit [Ping timeout: 245 seconds]
krohrbaugh has quit [Ping timeout: 248 seconds]
kgrz has joined #ruby-lang
<kke> because some of our models are so shamefully bloated
dhruvasagar has quit [Ping timeout: 268 seconds]
dfdf has joined #ruby-lang
<whitequark> kke: sounds like you're solving the wrong problem
toretore has joined #ruby-lang
jvrmaia has joined #ruby-lang
<yorickpeterse> recursion is so much easier once you understand recursion
migz has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
malev has joined #ruby-lang
scottschecter has quit [Ping timeout: 264 seconds]
dfdf has quit [Read error: Operation timed out]
marr has quit [Ping timeout: 252 seconds]
<injekt> wise words
wmoxam has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
dfdf has joined #ruby-lang
<whitequark> why is recursion hard in the first place
<GarethAdams> because recusion is hard in the first place
TvL2386 has quit [Quit: Ex-Chat]
breakingthings has joined #ruby-lang
Austin__ has quit [Quit: Leaving.]
dfdf has quit [Ping timeout: 252 seconds]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<andrewvos> even spelling it is hard
marr has joined #ruby-lang
davejlong has joined #ruby-lang
io_syl has joined #ruby-lang
scottschecter has joined #ruby-lang
davejlong has left #ruby-lang [#ruby-lang]
joschi has quit [Ping timeout: 256 seconds]
joschi has joined #ruby-lang
davejlong has joined #ruby-lang
<davejlong> Does anyone know an easy way to remove new line characters from a string in Ruby?
<davejlong> I know I could use a regex to replace \n with ''
<davejlong> but I wasn't sure if there was an easier way.
scottschecter has quit [Client Quit]
<lianj> >> "a\nb c\nd".split("\n").join(" ")
<eval-in> lianj => "a b c d" (http://eval.in/20493)
<heftig> tr"foo\nbar\nbaz".tr "\n", ""
<heftig> er
<heftig> "foo\nbar\nbaz".tr "\n", ""
<heftig> or .tr "\n" " ", if you prefer
<davejlong> Actually it looked like using .strip! worked.
<heftig> davejlong: that strips leading and trailing whilespace
<heftig> i.e. all spaces, tabs and such, and only from the ends of the string
<davejlong> I should have said that the new line character seemed to be at the end of the string.
<davejlong> Sorry
<heftig> .chomp! only strips a trailing newline
dfdf has joined #ruby-lang
benlovell has quit [Ping timeout: 276 seconds]
marr has quit [Ping timeout: 252 seconds]
gnufied1 has joined #ruby-lang
marr has joined #ruby-lang
<bougyman> davejlong: all of them?
<davejlong> hmm?
<bougyman> .gsub /\n, ''
<bougyman> er
<bougyman> missed a /
dfdf has quit [Read error: Operation timed out]
vlad_starkov has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
<bougyman> tr does the same, probably more efficient.
gnufied has quit [Ping timeout: 264 seconds]
scottschecter has joined #ruby-lang
anonymuse has joined #ruby-lang
mistym has quit [Remote host closed the connection]
sailias1 has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
jvrmaia has quit [Ping timeout: 245 seconds]
kith has quit [Quit: kith]
lguardiola has joined #ruby-lang
sailias has joined #ruby-lang
sailias has quit [Remote host closed the connection]
sailias has joined #ruby-lang
kith has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
krohrbaugh has quit [Ping timeout: 252 seconds]
ndrst has quit [Ping timeout: 256 seconds]
nghialv2_ has joined #ruby-lang
nghialv2607 has quit [Ping timeout: 245 seconds]
jvrmaia has joined #ruby-lang
idkazuma has joined #ruby-lang
benlovell has joined #ruby-lang
sailias has quit [Client Quit]
sailias has joined #ruby-lang
tophalf01 has quit [Quit: I must go. My people need me.]
<yorickpeterse> heh, Twitter: http://is.gd/f3e1Ky
<yorickpeterse> lol, another one comes in
dfdf has joined #ruby-lang
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
marr has quit [Ping timeout: 245 seconds]
myappleguy1 has quit [Quit: Leaving.]
myappleguy has joined #ruby-lang
sailias has quit [Client Quit]
sailias has joined #ruby-lang
sailias has quit [Client Quit]
dfdf has quit [Ping timeout: 245 seconds]
sailias has joined #ruby-lang
davejlong has left #ruby-lang [#ruby-lang]
davejlong has joined #ruby-lang
ndrst has joined #ruby-lang
davejlong has left #ruby-lang [#ruby-lang]
myappleguy has quit [Quit: Leaving.]
idkazuma has quit [Remote host closed the connection]
GarethAdams has quit [Read error: Connection reset by peer]
<injekt> what's the best way to test the output of an executable?
<injekt> output = catch_output('bin/foo') where bin/foo will be fed into system() and if it aborts with an error message, output would be filled with that
<injekt> catching stderr/stdout into a stringio doesnt work
mineiro has quit [Read error: Connection reset by peer]
kgrz has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby-lang
mineiro has joined #ruby-lang
wesside has joined #ruby-lang
marr has joined #ruby-lang
<mistym> injekt: What about using `` and $?
<injekt> mistym: sure I can use that to check the exitstatus but I need to test against the error message
<mistym> injekt: Oh, so you're looking for stderr, not stdout?
<injekt> mistym: right
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
jvrmaia has quit [Ping timeout: 256 seconds]
<injekt> catching stderr wont help because it's being executed outside of the ruby process I guess?
tbuehlmann has quit [Remote host closed the connection]
MaddinXx_ has joined #ruby-lang
jvrmaia has joined #ruby-lang
Kuukunen has quit [Quit: leaving]
<mistym> injekt: I guess you could `foo 2>&1 >/dev/null`, so you redirect stderr to stdout and the original stdout to /dev/null; that way `` will capture only stderr from your process
malev has quit [Remote host closed the connection]
pskosinski has joined #ruby-lang
<injekt> mistym: hmm that doesn't work, at least redirecting stderr didn't work, it still displayed it
Kuukunen has joined #ruby-lang
<mistym> injekt: Hm, strange. It worked for me.
<injekt> mistym: does it still write to stderr though?
<injekt> because nothing is written for me
nathanstitt has joined #ruby-lang
<injekt> im looking for something along the lines of; $stderr = StringIO.new; `bin/foo ...`; $stderr.string == 'some error message'
<mistym> injekt: It doesn't write to stderr, it's captured by ``.
<injekt> oh duh
<injekt> mistym: of course, thanks!
<mistym> No problem!
<benlovell> o_O
jvrmaia_ has joined #ruby-lang
<ericwood> O_o
Nisstyre has joined #ruby-lang
jvrmaia has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 276 seconds]
gnufied1 has quit [Quit: Leaving.]
Mon_Ouie has joined #ruby-lang
Criztian has joined #ruby-lang
<mistym> 0_0
infecto has quit [Ping timeout: 245 seconds]
infecto has joined #ruby-lang
Nisstyre has quit [Ping timeout: 264 seconds]
bzalasky has quit [Remote host closed the connection]
fsvehla has joined #ruby-lang
marr has joined #ruby-lang
bzalasky has joined #ruby-lang
erpuds has joined #ruby-lang
<benlovell> ._. slow Friday, huh.
agile has joined #ruby-lang
mytrile has joined #ruby-lang
leandrosnunes has quit [Remote host closed the connection]
gnufied has joined #ruby-lang
baba has joined #ruby-lang
megha has quit [Ping timeout: 252 seconds]
jvrmaia_ has quit [Ping timeout: 245 seconds]
bzalasky has quit [Remote host closed the connection]
jvrmaia has joined #ruby-lang
bzalasky has joined #ruby-lang
solars has quit [Read error: Operation timed out]
manutter has left #ruby-lang [#ruby-lang]
bzalasky has quit [Remote host closed the connection]
jvrmaia_ has joined #ruby-lang
outoftime has joined #ruby-lang
jvrmaia has quit [Ping timeout: 260 seconds]
ndrst has quit [Ping timeout: 246 seconds]
marr has quit [Ping timeout: 264 seconds]
<zzak> got my passport
<zzak> this thing is a beautiful piece of documentation
GeissT has quit [Quit: MillBroChat AdIRC User]
<zzak> makes me proud
ndrst has joined #ruby-lang
marr has joined #ruby-lang
dr_bob has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
asunderland has joined #ruby-lang
erpuds has quit [Quit: erpuds]
nXqd has quit [Ping timeout: 256 seconds]
erpuds has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 264 seconds]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
fsvehla has quit [Quit: fsvehla]
judofyr has joined #ruby-lang
sailias has quit [Ping timeout: 245 seconds]
manutter has joined #ruby-lang
znake has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 256 seconds]
gnufied has quit [Quit: Leaving.]
noop has quit [Remote host closed the connection]
sailias has joined #ruby-lang
marr has quit [Ping timeout: 248 seconds]
benlovell has quit [Ping timeout: 264 seconds]
marr has joined #ruby-lang
melter has quit [Quit: Client exiting]
tylersmith has joined #ruby-lang
nathanstitt has quit [Ping timeout: 252 seconds]
nathanstitt has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
TheNotary has joined #ruby-lang
melter has joined #ruby-lang
fsvehla has joined #ruby-lang
jvrmaia_ has quit [Remote host closed the connection]
jvrmaia has joined #ruby-lang
jvrmaia has quit [Ping timeout: 245 seconds]
judofyr has quit [Remote host closed the connection]
judofyr has joined #ruby-lang
nathanstitt has quit [Ping timeout: 246 seconds]
DEac- has quit [Read error: Connection reset by peer]
<eam> erikh: ltns?
DEac- has joined #ruby-lang
swav has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
mineiro has quit [Read error: Connection reset by peer]
marr123 has joined #ruby-lang
marr has quit [Ping timeout: 268 seconds]
marr123 has quit [Remote host closed the connection]
mineiro has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
krohrbaugh has quit [Client Quit]
krohrbaugh has joined #ruby-lang
dr_bob has left #ruby-lang [#ruby-lang]
manutter has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<jtmitch> anybody use gruff graphs?
io_syl has quit [Quit: Computer has gone to sleep.]
TheNotary has quit [Quit: Leaving]
tomzx_mac has joined #ruby-lang
<jtmitch> nevermind - I got it
migz has quit [Quit: Leaving.]
kogent has joined #ruby-lang
headius has joined #ruby-lang
migz has joined #ruby-lang
spike|spiegel has quit [Quit: WeeChat 0.4.0]
MaddinXx has joined #ruby-lang
nghialv2_ has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
rsl has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
jvrmaia has joined #ruby-lang
Nautes has joined #ruby-lang
brianpWins has joined #ruby-lang
nghialv2607 has joined #ruby-lang
nghialv2607 has quit [Remote host closed the connection]
migz has quit [Quit: Leaving.]
krohrbaugh has quit [Quit: Leaving.]
Mon_Ouie has joined #ruby-lang
__butch__ has joined #ruby-lang
fsvehla has quit [Ping timeout: 252 seconds]
dfdf has joined #ruby-lang
jfelchner has joined #ruby-lang
DomKM has joined #ruby-lang
jfelchner has quit [Client Quit]
jfelchner has joined #ruby-lang
mrsolo has joined #ruby-lang
krohrbaugh has joined #ruby-lang
glebm has joined #ruby-lang
dustint has quit [Quit: Leaving]
erpuds has quit [Quit: erpuds]
dustint has joined #ruby-lang
outoftime has quit [Quit: Leaving]
asunderland has quit [Ping timeout: 252 seconds]
jvrmaia has quit [Ping timeout: 245 seconds]
<xuser> is <=> is defined by Object or Kernel?
znake is now known as znake|away
Luwe has joined #ruby-lang
jvrmaia has joined #ruby-lang
<erikh> xuser: it's defined in a lot of places
<erikh> check out the Comparable mixin for why
znake|away is now known as znake
marr has joined #ruby-lang
ryez has quit [Ping timeout: 245 seconds]
snarfmason has quit [Read error: Operation timed out]
<kke> can i copy an instance method from one class to another somehow magically?
<kke> no include/inheritance stuff
<xuser> kke: don't think so
<kke> something like Foo.instance_methods(:hello).to_proc or something similarly silly
MaddinXx has quit [Remote host closed the connection]
glebm has quit [Ping timeout: 256 seconds]
dfdf has quit [Remote host closed the connection]
<kke> hmm
<xuser> erikh: yeah, I know you need to define <=> if your classes to be able to use the comparison operators in your objects
<xuser> but nevermind was confused
glebm has joined #ruby-lang
<kke> > Company.instance_method(:disable)
<kke> => #<UnboundMethod: Company#disable>
<xuser> erikh: this line from ri Kernel confuses me: The Kernel instance methods are documented in class Object while the module
<xuser> methods are documented here.
FlyingLeap_ has joined #ruby-lang
FlyingLeap has quit [Read error: Connection reset by peer]
<kke> of course i could just find the code that defines the method in the source file and eval that in context of the new class
infecto has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 256 seconds]
infecto has joined #ruby-lang
<manveru> anybody here familiar with addressable?
<mbj> manveru yeah
<kke> i'm making a kind of proxy object thing that could have something like delegate_instance_method :foo in it's dsl
<manveru> ruby -r addressable/template -e 'p Addressable::Template.new("http://{host}/foo{-join|&|a,b}").expand(host: "bar", a: "duh", b: "yay")'
<mbj> manveru: not that part, sorry ;)
<manveru> trying to figure out why that doesn't expand the query
<manveru> :)
<manveru> ok
<kke> or rather a "lite" version of another object in which you could pick methods from the fat class
nixterrimus has joined #ruby-lang
Luwe has quit [Ping timeout: 264 seconds]
oneirophren has joined #ruby-lang
asunderland has joined #ruby-lang
<kke> such as company.enabled? -> lite_company.enabled?
fsvehla has joined #ruby-lang
<kke> i call it acts_as_also_available_sugar_free :)
<manveru> mbj: ok, looks like the uri template draft was updated
<manveru> i never keep track of that stuff... but seems nicer now :)
<manveru> "http://{host}/foo{?a,b}" is the new template
malev has joined #ruby-lang
znake is now known as znake|away
hahuang65 has joined #ruby-lang
nixterri1us has joined #ruby-lang
jacktrick has joined #ruby-lang
__butch__ has quit [Ping timeout: 264 seconds]
nixterrimus has quit [Ping timeout: 248 seconds]
Luwe has joined #ruby-lang
nixterrimus has joined #ruby-lang
sepp2k has joined #ruby-lang
__butch__ has joined #ruby-lang
nixterri1us has quit [Ping timeout: 252 seconds]
glebm has quit [Ping timeout: 245 seconds]
glebm has joined #ruby-lang
kirin` has quit [Ping timeout: 256 seconds]
kirin` has joined #ruby-lang
dfdf has joined #ruby-lang
wasnotrice has quit [Quit: ZNC - http://znc.sourceforge.net]
kirin` has quit [Ping timeout: 256 seconds]
wasnotrice has joined #ruby-lang
barttenbrinke has joined #ruby-lang
kirin` has joined #ruby-lang
<mbj> manveru: thx for followup.
nixterrimus has quit [Ping timeout: 264 seconds]
xcombelle has quit [Remote host closed the connection]
thisirs has joined #ruby-lang
jvrmaia_ has joined #ruby-lang
kirin` has quit [Ping timeout: 246 seconds]
pkrnj has joined #ruby-lang
jvrmaia has quit [Ping timeout: 256 seconds]
nixterrimus has joined #ruby-lang
kirin` has joined #ruby-lang
Luwe has quit [Ping timeout: 245 seconds]
kirin` has quit [Ping timeout: 245 seconds]
kirin` has joined #ruby-lang
erpuds has joined #ruby-lang
intellitech has quit [Ping timeout: 252 seconds]
jxie has joined #ruby-lang
heftig has quit [Quit: Quitting]
heftig has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
jvrmaia has joined #ruby-lang
dfdf has quit [Remote host closed the connection]
jvrmaia_ has quit [Ping timeout: 245 seconds]
oneirophren has quit [Ping timeout: 256 seconds]
dfdf has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
krohrbaugh1 has quit [Read error: Connection reset by peer]
krohrbaugh1 has joined #ruby-lang
krohrbaugh2 has joined #ruby-lang
krohrbaugh1 has quit [Read error: Connection reset by peer]
krohrbaugh has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
jvrmaia has quit [Ping timeout: 245 seconds]
jvrmaia has joined #ruby-lang
jacktrick has quit [Quit: Leaving]
fsvehla has quit [Quit: fsvehla]
havenwood has joined #ruby-lang
slippyd has quit [Quit: slippyd]
Criztian has quit [Remote host closed the connection]
leandrosnunes has joined #ruby-lang
dhruvasagar has joined #ruby-lang
mbj has quit [Quit: leaving]
dfdf has quit [Remote host closed the connection]
kennyvb has quit [Ping timeout: 256 seconds]
kennyvb has joined #ruby-lang
dfdf has joined #ruby-lang
mineiro has quit [Read error: Connection reset by peer]
dfdf has quit [Remote host closed the connection]
mineiro has joined #ruby-lang
workmad3 has joined #ruby-lang
glebm has quit [Ping timeout: 245 seconds]
davejlong has joined #ruby-lang
<davejlong> Does anyone know if it's possible to write a binary string to an Amazon S3 object using the aws-sdk?
glebm has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
wmoxam has quit [Quit: Lost terminal]
kennyvb has quit [Ping timeout: 252 seconds]
AndChat| has quit [Ping timeout: 246 seconds]
<duckinator> kke: did you figure out the deal with the instance method stuff?
kennyvb has joined #ruby-lang
jvrmaia has quit [Ping timeout: 256 seconds]
pdswan_ has joined #ruby-lang
krohrbaugh2 has quit [Quit: Leaving.]
jvrmaia has joined #ruby-lang
<duckinator> kke: i was curious and poked around, only way i can find has a risk of causing unintended side effects: X.new.method(:y).to_proc (the side effects being whatever is done in X.new)
pdswan has quit [Ping timeout: 264 seconds]
barttenbrinke has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 260 seconds]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Client Quit]
kennyvb has quit [Ping timeout: 248 seconds]
kennyvb has joined #ruby-lang
<kke> duckinator: nope, gave up. usually it's not probably a good idea anyways, sometimes it might be.
dfdf has joined #ruby-lang
znake|away is now known as znake
dfdf is now known as _KGBot_
workmad3 has quit [Ping timeout: 256 seconds]
<kke> actually in my case i already know the file where the original method is defined, so i could just search for the definition and eval that in the other context
<kke> maybe i'll do just that
spike|spiegel has joined #ruby-lang
bradland has joined #ruby-lang
nixterrimus has quit [Ping timeout: 276 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
glebm has quit [Ping timeout: 245 seconds]
mrsolo has joined #ruby-lang
cmckni3 has joined #ruby-lang
davejlong has quit [Quit: Leaving.]
idkazuma has joined #ruby-lang
tbuehlmann has joined #ruby-lang
glebm has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby-lang
erpuds has quit [Quit: erpuds]
nixterrimus has joined #ruby-lang
glebm_ has joined #ruby-lang
glebm has quit [Ping timeout: 276 seconds]
_KGBot_ has quit [Remote host closed the connection]
kogent has quit [Quit: kogent]
jvrmaia_ has joined #ruby-lang
saarinen has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
jvrmaia has quit [Ping timeout: 245 seconds]
MaddinXx_ has joined #ruby-lang
glebm_ has quit [Ping timeout: 268 seconds]
mucker has quit [Quit: leaving]
ndrst has quit [Ping timeout: 264 seconds]
mbj has joined #ruby-lang
znake is now known as znake|away
glebm has joined #ruby-lang
postmodern has joined #ruby-lang
znake|away is now known as znake
znake has quit [Quit: Linkinus - http://linkinus.com]
leandrosnunes has quit [Remote host closed the connection]
headius has quit [Quit: headius]
io_syl has joined #ruby-lang
syncube has joined #ruby-lang
nixterrimus has quit [Ping timeout: 248 seconds]
io_syl has quit [Read error: Connection reset by peer]
DouweM has joined #ruby-lang
hahuang65 has quit [Quit: Textual IRC Client: www.textualapp.com]
syncube has quit [Quit: Linkinus - http://linkinus.com]
enfieldBG has joined #ruby-lang
bradland has quit [Quit: bradland]
<enfieldBG> not really a ruby question but does anyone know how to use rsync with the --files-from option AND the -e ssh option? I can get rsync to work over ssh fine by itself, and I can get rsync to work from a file but can't get the two to work together.
erpuds has joined #ruby-lang
Luwe has joined #ruby-lang
<enfieldBG> anyone?
mbj_ has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
<drbrain> enfieldBG: ssh -e says "Sets the escape character for sessions with a pty"
<drbrain> I would think that rsync doesn't have a pty
DouweM has left #ruby-lang ["Linkinus - http://linkinus.com"]
jvrmaia_ has quit [Ping timeout: 256 seconds]
tbuehlmann has quit [Remote host closed the connection]
mbj has quit [Ping timeout: 256 seconds]
<enfieldBG> drbrain not sure what pty means....anyway a command like "rsync -av -e ssh myusername@192.168.1.3:/my/source/folder /home/user/Desktop/myfolder" works just fine....likewise "rsync -av --files-from=/home/user/files_for_rsync.txt / /home/user/Desktop/myfolder" works fine....BUT this "rsync -av -e ssh myusername@192.168.1.3: --files-from=/home/user/files_for_rsync.txt / /home/user/Desktop/myfolder" doesn't work
<drbrain> ah, rsync -e, not ssh -e
io_syl has joined #ruby-lang
nixterrimus has joined #ruby-lang
<drbrain> enfieldBG: you probably need some quoting
<erikh> and a path for the ssh host
jvrmaia has joined #ruby-lang
rsl has joined #ruby-lang
<erikh> I don't think just a : is valid like that
<drbrain> enfieldBG: my rsync man page has an example in the "USING RSYNC-DAEMON FEATURES VIA A REMOTE-SHELL CONNECTION" section
<erikh> what error do you get?
<erikh> oh, and try putting --files-from first
brianpWins has quit [Quit: brianpWins]
workmad3 has joined #ruby-lang
symm- has joined #ruby-lang
brianpWins has joined #ruby-lang
<enfieldBG> erikh I get the error: Unexpected local arg: /
sailias has quit [Ping timeout: 245 seconds]
Luwe has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
nixterrimus has quit [Ping timeout: 255 seconds]
<enfieldBG> got it
dustint has quit [Quit: Leaving]
<enfieldBG> rsync -av -e ssh myusername@192.168.1.3: --files-from=/home/user/files_for_rsync.txt :/ /home/user/Desktop/myfolder (that worked...the files from txt file has to be on the remote computer, and I had to add a : in the slash between the source and the destination)
forrest has joined #ruby-lang
Luwe has joined #ruby-lang
<enfieldBG> I think just typed an extra space should not be a space between : and -- ( ...192.168.1.3:--files-from....) incase anyone wants to use this
kstone has joined #ruby-lang
saarinen has left #ruby-lang [#ruby-lang]
yalue has quit [Read error: Connection reset by peer]
<eam> enfieldBG: why do you have :/ at all?
<eam> and why -essh? That's implied
krohrbaugh has joined #ruby-lang
glebm has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 245 seconds]
pygmael has quit [Excess Flood]
adambeynon has joined #ruby-lang
pygmael has joined #ruby-lang
Luwe has quit [Quit: leaving]
<zenspider> that's one option I've still never used in rsync
_KGBot_ has joined #ruby-lang
<zenspider> seems a bit odd that the file is on the remote side
kstone has quit [Quit: kstone]
<zenspider> tho I guess in this case the remote side is the source side
vlad_starkov has joined #ruby-lang
tenderlove has joined #ruby-lang
<enfieldBG> eam :/ is the relative path
<enfieldBG> zenspider yes the remote is the soruce
glebm has joined #ruby-lang
enfieldBG has quit [Quit: enfieldBG]
<eam> the relative path is myusername@192.168.1.3:
<eam> that command has two source paths, one destination
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
ndrst has joined #ruby-lang
<erikh> eam: long time no see -- just saying hi more or less
pkrnj has joined #ruby-lang
<_KGBot_> greets..
<_KGBot_> wøøf..
_KGBot_ has left #ruby-lang ["From http://bytecoin.us.. !Buye !Buye.."]
jvrmaia has quit [Remote host closed the connection]
glebm has quit [Ping timeout: 245 seconds]
glebm has joined #ruby-lang
rickhull has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
threedaymonk has quit [Ping timeout: 260 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
glebm has quit [Ping timeout: 252 seconds]
kstone has joined #ruby-lang
blacktulip has quit [Remote host closed the connection]
glebm has joined #ruby-lang
paul___ has quit [Quit: leaving]
ggreer has joined #ruby-lang
<rickhull> just getting started with babby's first mac. what's a good way to make the mac command key map to emacs-meta (over ssh)
<rickhull> i.e. ssh to linux, need emacs meta key
ggreer has left #ruby-lang [#ruby-lang]
intellitech has joined #ruby-lang
intellitech has quit [Changing host]
intellitech has joined #ruby-lang
mikestok has quit [Quit: Computer has gone to sleep.]
thone has quit [Ping timeout: 246 seconds]
mikestok has joined #ruby-lang
breakingthings has quit [Quit: breakingthings]
thone has joined #ruby-lang
<eam> erikh: o sup :)
kstone has quit [Quit: kstone]
wesside has quit [Quit: Computer has gone to sleep.]
mikestok has quit [Client Quit]
jovy88 has joined #ruby-lang
<zenspider> rickhull: in terminal? Settings -> [your settings] -> Keyboard -> Use option as meta
<rickhull> thanks!
forrest has quit [Quit: Leaving]
Hellion has joined #ruby-lang
tdy_ has quit [Ping timeout: 260 seconds]
alessio_rocco has quit [Remote host closed the connection]
sailias has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
<zenspider> ok. I think I've got the differences between minitest 4 and 5 illustrated as clearly as I can get http://www.zenspider.com/~ryan/minitest4vs5.pdf and http://www.zenspider.com/~ryan/minitest4vs5.txt
<zenspider> critique?
tdy_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
erpuds has quit [Quit: erpuds]
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
<rickhull> zenspider: using iterm, found Preferences > Keys but doesn't seem useful
<rue> Intended audience?
vlad_starkov has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
lsegal` has joined #ruby-lang
lsegal` has quit [Client Quit]
lsegal has joined #ruby-lang
srbaker has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 256 seconds]
Banistergalaxy has joined #ruby-lang
mbj_ is now known as mbj
mistym has joined #ruby-lang
<erikh> zenspider: looking
<zenspider> rue: um. I dunno. curious ppl?
<erikh> love the flow chart
<erikh> I think there's a better way to itemize the differences, but I don't have any ideas.
<erikh> I think it's a bit confusing though without annotation.
<erikh> maybe just a clear legend would work.
<erikh> I'll look at the .txt changes in a few minutes
<erikh> (hope this is helpful)
Hellion has quit [Remote host closed the connection]
<rue> Hence my question. I think a plugin author might benefit from it
<rue> The flow chart would probably be sufficient for the average interested party
megha has joined #ruby-lang
sepp2k1 has joined #ruby-lang
Oloryn_lt21 has quit [Quit: Leaving.]
Oloryn_lt2 has joined #ruby-lang
baba has quit [Ping timeout: 260 seconds]
sepp2k has quit [Ping timeout: 245 seconds]
mytrile has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
Oloryn_lt2 has quit [Ping timeout: 258 seconds]
<rickhull> erikh: hey i moved to SF now, we should hang out
vlad_starkov has quit [Ping timeout: 258 seconds]
nixterrimus has joined #ruby-lang
<erikh> rickhull: we should! I'm going ot be in SF on sunday, I think we're going to hit some bars.
yfeldblum has joined #ruby-lang
justinram has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
nixterrimus has quit [Ping timeout: 264 seconds]
glebm has quit [Ping timeout: 256 seconds]
nixterrimus has joined #ruby-lang
glebm has joined #ruby-lang
arubin has joined #ruby-lang
asunderland has quit [Ping timeout: 248 seconds]
malev has quit [Remote host closed the connection]
mrsolo has quit [Quit: Leaving]
brianpWins has joined #ruby-lang
mbj has quit [Quit: leaving]
jfelchner has quit [Quit: WeeChat 0.3.9.2]
__butch__ has quit [Quit: Leaving.]
Markvilla has joined #ruby-lang
Markvilla has quit [Max SendQ exceeded]
Markvilla has joined #ruby-lang
glebm_ has joined #ruby-lang
glebm has quit [Ping timeout: 252 seconds]
thisirs has quit [Remote host closed the connection]
glebm_ has quit [Ping timeout: 264 seconds]
Roujo has joined #ruby-lang
Roujo is now known as Guest25
Guest25 has quit [Client Quit]
glebm has joined #ruby-lang
mineiro has quit [Read error: Connection reset by peer]
mineiro has joined #ruby-lang
ryez has joined #ruby-lang
Roujo_ has joined #ruby-lang
Roujo_ has left #ruby-lang [#ruby-lang]
Kuukunen has quit [Quit: leaving]
<andrewvos> Lindsey Buckingham is a god.
nixterrimus has quit [Ping timeout: 246 seconds]
Kuukunen has joined #ruby-lang
anonymuse has quit [Quit: Leaving...]