apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<bronson_> ONE of them must go!
<MrZYX> how about telling how they disagree?
|PiP| has quit [Quit: |PiP|]
b00stfr3ak has quit [Ping timeout: 248 seconds]
emergion has joined #ruby
lyanchih has joined #ruby
<bronson_> MrZYX: Pathname.new('a/b').join('/c') == File.join('a/b', '/c') => false
infecto has quit [Quit: Leaving.]
Davey has joined #ruby
rickruby has quit [Remote host closed the connection]
Davey has quit [Client Quit]
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kvirani has quit [Ping timeout: 276 seconds]
lyanchih has quit [Client Quit]
argentum has quit [Quit: argentum]
emergion has quit [Client Quit]
<MrZYX> you shouldn't pass / to either
<MrZYX> that's about the point of join
mansi has joined #ruby
<bronson_> right. but at least fail the same way, no?
<MrZYX> Pathname.new('a/b').join('c').to_s == File.join('a/b', 'c') #=> true
<bronson_> obviously
ndrei has joined #ruby
jlast has joined #ruby
sparq_ has quit [Ping timeout: 246 seconds]
marr has quit [Ping timeout: 256 seconds]
<bronson_> so should I strip leading / off every argument I pass to join?
vadelius has quit [Ping timeout: 276 seconds]
<bronson_> seems silly.
araujo has quit [Read error: Connection reset by peer]
<MrZYX> actually I'd even avoid passing / at all: Pathname.new('a').join('b', 'c')
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
<bronson_> I don't really care if join returns absolute /c, relative a/b/c, or throws an exception. Just behave the same.
rickmasta has quit [Quit: Leaving...]
visof has quit [Ping timeout: 246 seconds]
chuk has quit [Quit: Connection closed for inactivity]
<bronson_> MrZYX: the paths are from HTML, not under my control.
m8 has quit [Quit: Sto andando via]
_axx has joined #ruby
mansi has quit [Ping timeout: 276 seconds]
tylersmith has quit [Remote host closed the connection]
aeontech has quit [Quit: aeontech]
<_axx> Hey guys and gals, i would like to iterate over an array again and again, till i quit the proccess by hand. any idea on how to accomplish this?
tylersmith has joined #ruby
jlast has quit [Ping timeout: 276 seconds]
Wildhoney has quit [Quit: Wildhoney]
<MrZYX> loop do; arr.each do |e|; stuff(e); end; end;
<_axx> dang...
<banisterfiend> MrZYX i want you to use funky so you can do: arr.each(&stuff)
<banisterfiend> funkify
atyz has quit [Quit: Leaving...]
<banisterfiend> no one uses my library and it's a cause for create sadness
<_axx> MrZYX: thank you, was to easy to think of i guess. :D
<_axx> *too
Monie has joined #ruby
Ripp__ has quit [Quit: Ripp__]
tylersmith has quit [Ping timeout: 276 seconds]
mrsolo has quit [Quit: Leaving]
Megtastique has joined #ruby
atyz has joined #ruby
<MrZYX> banisterfiend: hm, how do you make that work?
cj3kim has joined #ruby
vadelius has joined #ruby
snovak has joined #ruby
jsatk has joined #ruby
<banisterfiend> MrZYX pretty ez, it's basically just: method(name).to_proc.curry
cj3kim has quit [Ping timeout: 240 seconds]
<banisterfiend> so i overwrite the function with that
<MrZYX> so the method returns a proc of the original one?
jsatk has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<banisterfiend> MrZYX yeah, or it executes it if you provide the complete number of arguments, or it returns a partially applied proc
<MrZYX> mmh
<banisterfiend> MrZYX so you can do stuff like this too: def stuff(x, y, z) arr.each(&stuff(1, 2))
<banisterfiend> err def stuff(x, y, z); end
<banisterfiend> very haskell-y ;)
<MrZYX> I've the issue that I've a proxy object that I want to work in if's (if the target is nil/false) and in case foo when String statements
<MrZYX> but I guess that method won't help either here
randomau_ has joined #ruby
OffTheRails has quit [Ping timeout: 248 seconds]
Targen has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
snovak has quit [Ping timeout: 276 seconds]
<bronson_> I have finished scattering uri.path.sub(%r{^/}, '') everywhere #join is called and it's a mess.
<shevy> bronson_ I "solved" it for myself by avoiding Pathname permanently
Megtastique has quit [Quit: Megtastique]
<bronson_> I should have just done string concatenation to start.
<shevy> then again I don't know half the time why ruby has certain things. like require_relative, I never needed it, plain old require always worked nicely
randomautomator has quit [Ping timeout: 276 seconds]
<bronson_> shevy: yep, I'll do that next time. Don't tell MrZYX . :)
randomau_ has quit [Read error: Operation timed out]
<MrZYX> .lstrip('/'), not that I recommend putting that everywhere instead
<shevy> it's pathing in ruby, half the other guys using ruby are wrong ;)
<MrZYX> oh, wait that doesn't work
<shevy> I guess that is there is more than one way to do things
<MrZYX> I thought there was something like that
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
<shevy> hmm
<shevy> I have .rstrip and .lstrip
<MrZYX> yeah, but they don't take arguments
<MrZYX> I thought they did
<shevy> odd that they dont accept arguments
<bronson_> yeah, that sounds like a great idea to me.
brianpWins has quit [Quit: brianpWins]
<shevy> either there must be a reason why they don't or noone thought about it yet
<MrZYX> well, I guess I just confused with .chomp
iliketur_ has quit [Quit: zzzzz…..]
mansi has joined #ruby
atyz has quit [Quit: Leaving...]
jlast has joined #ruby
pvizcay has joined #ruby
<shevy> there is also .chop
<MrZYX> .chop doesn't take one either iirc
Megtastique has joined #ruby
<MrZYX> it just always removes the last char
Nisstyre has quit [Quit: Leaving]
zeade has quit [Quit: Leaving.]
<shevy> I like chop
<shevy> it reminds me of cutting wood
Megtastique has quit [Client Quit]
crunch-choco has quit [Quit: Lost terminal]
aeontech has joined #ruby
VTLob has quit [Quit: VTLob]
atyz has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
rickmasta has joined #ruby
Xeago has quit [Remote host closed the connection]
tyfighter has quit [Quit: tyfighter]
freeayu has joined #ruby
cajueiro has quit [Remote host closed the connection]
rcosta has joined #ruby
huevon has quit [Quit: WeeChat 0.4.1]
mlpinit has joined #ruby
digital-ghost has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
mlpinit has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
iliketur_ has joined #ruby
ehc has quit [Quit: ehc]
Ziarkaen has quit [Remote host closed the connection]
swordsmanz has quit [Quit: ooh ponies kinkeyyy]
apok has quit [Quit: apok]
dodosan has quit [Remote host closed the connection]
dodosan has joined #ruby
pvizcay has quit [Quit: leaving]
dodosan has quit [Ping timeout: 246 seconds]
dodosan has joined #ruby
c0rn has quit [Read error: Operation timed out]
rickmasta has quit [Quit: Leaving...]
Nisstyre has joined #ruby
wmoxam has joined #ruby
nari has joined #ruby
lukec has quit [Quit: lukec]
mklappstuhl has joined #ruby
ewnd9 has joined #ruby
Davey has joined #ruby
zigomir has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Client Quit]
Emiils has quit [Read error: Operation timed out]
pkrnj has joined #ruby
brianpWins has joined #ruby
brianpWins has quit [Client Quit]
rickmasta has joined #ruby
Shirakawasuna has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
emanu has quit [Quit: emanu]
snovak has joined #ruby
mercwithamouth has quit [Ping timeout: 246 seconds]
s00pcan has quit [Ping timeout: 246 seconds]
snovak has quit [Ping timeout: 276 seconds]
mansi has quit [Remote host closed the connection]
Shirakawasuna has left #ruby ["Leaving"]
Voodoofish430 has quit [Quit: Leaving.]
mansi has joined #ruby
zorg24 has joined #ruby
havenwood has quit [Remote host closed the connection]
sevenseacat has joined #ruby
Ripp__ has joined #ruby
stkowski has joined #ruby
Ripp__ has quit [Client Quit]
<shevy> MrZYX.chop!
<shevy> MrZY.chop!
mansi has quit [Ping timeout: 240 seconds]
<shevy> MrZ.chop!!!!
<shevy> he is gone
<shevy> hmm... one unnecessary chop
<shevy> or rather !
iliketur_ has quit [Quit: zzzzz…..]
rcosta has quit [Remote host closed the connection]
marsLantern has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
sparq_ has joined #ruby
mklappstuhl has joined #ruby
banghouse2 has joined #ruby
marsLantern has quit [Client Quit]
MrZYX is now known as MrZYX|off
tyfighter has joined #ruby
tyfighter has quit [Client Quit]
stuartrexking has joined #ruby
v0n has joined #ruby
gildo has quit [Read error: Operation timed out]
JadedEvan has quit [Quit: Leaving]
rickmasta has quit [Quit: Leaving...]
Spami has quit [Quit: This computer has gone to sleep]
mando has joined #ruby
zigomir has quit [Ping timeout: 276 seconds]
twoism has quit [Remote host closed the connection]
twoism has joined #ruby
ryandeussing has quit [Remote host closed the connection]
denken_ is now known as denken
<zendeavor> just made sure he was really really gone
<zendeavor> you put him in the negaverse
twoism has quit [Ping timeout: 245 seconds]
gazarsgo has quit [Quit: gazarsgo]
ryandeussing has joined #ruby
aeontech has quit [Quit: aeontech]
mansi has joined #ruby
ryandeussing has quit [Ping timeout: 245 seconds]
rickmasta has joined #ruby
_maes_ has joined #ruby
caju has joined #ruby
wmoxam has quit [Ping timeout: 245 seconds]
confounds has joined #ruby
Orxata_ has joined #ruby
<Orxata_> Hello
thesheff17 has quit [Quit: Leaving]
scarolan has quit [Ping timeout: 276 seconds]
thesheff17 has joined #ruby
jlast has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
<Orxata_> I have a file with 53 lines with the following format: <a target="bla" href="https://ble" etc="asd"> and I want to make a script that takes the link part and request for its content to the server
jlast has joined #ruby
C0deMaver1ck has quit [Ping timeout: 245 seconds]
lyanchih has joined #ruby
Xaitec has joined #ruby
louism2wash has joined #ruby
jlast has quit [Ping timeout: 264 seconds]
snovak has joined #ruby
Tobarja has joined #ruby
C0deMaver1ck has joined #ruby
C0deMaver1ck is now known as Guest69483
Ripp__ has joined #ruby
thesheff17 has quit [Quit: Leaving]
vlad_starkov has joined #ruby
thesheff17 has joined #ruby
Guest69483 has quit [Changing host]
Guest69483 has joined #ruby
Guest69483 is now known as C0deMaver1ck
caju has quit [Remote host closed the connection]
Ripp__ has quit [Client Quit]
narcan has joined #ruby
emergion has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
mklappstuhl has quit [Remote host closed the connection]
marcgg_ has joined #ruby
marcgg has quit [Read error: Connection reset by peer]
Megtastique has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
OffTheRails has joined #ruby
thesheff17 has quit [Quit: Leaving]
thesheff17 has joined #ruby
aryaching has quit []
emergion has quit [Quit: Computer has gone to sleep.]
Vivekananda has quit [Ping timeout: 245 seconds]
kaspergrubbe has quit [Remote host closed the connection]
gazarsgo has joined #ruby
lukec has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
rickmasta has quit [Quit: Leaving...]
riddochc has joined #ruby
sporkbomb has quit [Quit: leaving]
riddochc has left #ruby [#ruby]
wallerdev has quit [Quit: wallerdev]
ehc has joined #ruby
pweems has quit [Ping timeout: 248 seconds]
adeponte has quit [Remote host closed the connection]
argentum has joined #ruby
scarolan has joined #ruby
pweems has joined #ruby
OffTheRails has quit [Ping timeout: 248 seconds]
ioNull has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
radic__ has joined #ruby
iliketur_ has joined #ruby
Megtastique has quit [Quit: Megtastique]
louism2wash has quit [Quit: Leaving]
scarolan has quit [Ping timeout: 246 seconds]
mrsolo has joined #ruby
Xaitec has quit [Remote host closed the connection]
radic_ has quit [Ping timeout: 260 seconds]
bklane has joined #ruby
arooni-mobile has quit [Quit: Leaving]
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zorg24 has quit [Ping timeout: 264 seconds]
ravster has quit [Quit: Leaving.]
<zendeavor> use an html or xml parser
<Orxata_> rather than make a script?
duracrisis has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
confounds has quit [Ping timeout: 240 seconds]
<zendeavor> no
<zendeavor> as part of the script
lyanchih has quit [Quit: lyanchih]
dodosan has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
ehc has quit [Quit: ehc]
narcan has joined #ruby
dodosan has joined #ruby
bklane has quit [Remote host closed the connection]
|PiP| has joined #ruby
leonardorb has joined #ruby
leonardorb has quit [Remote host closed the connection]
dodosan has quit [Ping timeout: 245 seconds]
<Orxata_> ok i'm gonna try that, thank you
guiocavalcanti has joined #ruby
adeponte has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
narcan has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
iliketur_ has joined #ruby
ehc has joined #ruby
banghouse2 has quit [Remote host closed the connection]
narcan has quit [Client Quit]
jnoob22 has joined #ruby
narcan has joined #ruby
narcan has quit [Client Quit]
narcan has joined #ruby
narcan has quit [Client Quit]
iliketur_ has quit [Quit: zzzzz…..]
Megtastique has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
fridim__ has joined #ruby
osvico has joined #ruby
tommyvyo has joined #ruby
tommyvyo has joined #ruby
mrsolo has joined #ruby
Monie has quit [Quit: Textual IRC Client: www.textualapp.com]
snovak has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
hiroyuki has joined #ruby
ehc has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby
guiocavalcanti has joined #ruby
v0n has quit [Ping timeout: 240 seconds]
ehc has joined #ruby
Megtastique has quit [Quit: Megtastique]
dhruvasagar has quit [Read error: Connection reset by peer]
Megtastique has joined #ruby
snovak has quit [Read error: Operation timed out]
<Orxata_> it seems that Nokogiri it's a good parser
machuga is now known as machuga|away
freeayu has quit [Quit: This computer has gone to sleep]
sevenseacat has quit [Quit: Leaving.]
Megtastique has quit [Ping timeout: 276 seconds]
Nisstyre has quit [Quit: Leaving]
mrsolo has quit [Quit: This computer has gone to sleep]
gsvolt has joined #ruby
dodosan has joined #ruby
rburton- has joined #ruby
lyanchih has joined #ruby
Nisstyre has joined #ruby
duracrisis has quit [Ping timeout: 245 seconds]
say_ has quit [Quit: Page closed]
kaspergrubbe has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
quazimodo has quit [Ping timeout: 245 seconds]
viszu has joined #ruby
kaspergrubbe has quit [Read error: Operation timed out]
|PiP| has quit [Quit: |PiP|]
bricker has quit [Ping timeout: 264 seconds]
dodosan has quit [Remote host closed the connection]
dodosan has joined #ruby
zorg24 has joined #ruby
viszu has quit [Quit: Leaving.]
<xybre> z
mrsolo has joined #ruby
tommyvyo has joined #ruby
|PiP| has joined #ruby
dodosan has quit [Ping timeout: 276 seconds]
<xybre> Woops, was cleaning my keyboard.
fsck3r has joined #ruby
ehc has quit [Quit: ehc]
kvirani has joined #ruby
infecto has joined #ruby
infecto has quit [Read error: Connection reset by peer]
infecto has joined #ruby
mklappstuhl has joined #ruby
zorg24 has quit [Ping timeout: 246 seconds]
caju has joined #ruby
Lewix has joined #ruby
s2013 has quit [Quit: Leaving]
axeman- has joined #ruby
lyanchih has quit [Quit: lyanchih]
caju has quit [Remote host closed the connection]
caju has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
dodosan has joined #ruby
fridim__ has quit [Quit: Leaving]
atyz has quit [Quit: Leaving...]
mrsolo has joined #ruby
atyz has joined #ruby
caju has quit [Ping timeout: 245 seconds]
infecto1 has joined #ruby
infecto has quit [Ping timeout: 248 seconds]
dodosan has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
diegoviola has joined #ruby
alpha123 has quit [Quit: Lost terminal]
crucify_me has joined #ruby
threesome has quit [Ping timeout: 246 seconds]
cj3kim has joined #ruby
<solrize_> whats
<solrize_> class << self mean?
<solrize_> some kind of monkey patching?
iliketur_ has joined #ruby
crucify_me has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
Senjai is now known as crucify_me
crucify_me is now known as Senjai
stevefink_ has joined #ruby
stevefink has quit [Ping timeout: 240 seconds]
stkowski has quit [Quit: stkowski]
snovak has joined #ruby
vlad_starkov has joined #ruby
rafacv has quit [Remote host closed the connection]
zeropx has quit [Quit: has left the room … Or did he?]
mrsolo has quit [Quit: This computer has gone to sleep]
solrize_ has quit [Ping timeout: 245 seconds]
thesheff17 has quit [Remote host closed the connection]
rafacv has joined #ruby
mansi has joined #ruby
devoldmx has joined #ruby
snovak has quit [Read error: Operation timed out]
vlad_starkov has quit [Ping timeout: 245 seconds]
guiocavalcanti has quit [Remote host closed the connection]
mrsolo has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
newUser1234 has joined #ruby
hiroyuki_ has joined #ruby
SteveBenner9 has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
tommyvyo has joined #ruby
tommyvyo has joined #ruby
Quashie has joined #ruby
hiroyuki has quit [Ping timeout: 245 seconds]
pweems has quit [Ping timeout: 260 seconds]
iliketur_ has quit [Quit: zzzzz…..]
snath has joined #ruby
cj3kim has quit [Remote host closed the connection]
wicketn00b has quit [Ping timeout: 276 seconds]
helvete has joined #ruby
rippa has joined #ruby
lkba has joined #ruby
pweems has joined #ruby
benweint has joined #ruby
atyz has quit [Ping timeout: 245 seconds]
cj3kim has joined #ruby
huoxito has quit [Quit: Leaving]
Quashie_ has joined #ruby
Quashie has quit [Ping timeout: 256 seconds]
heftig has quit [Quit: Quitting]
|PiP| has quit [Quit: |PiP|]
infecto has joined #ruby
newUser1234 has quit [Remote host closed the connection]
dodosan has joined #ruby
DanKnox is now known as DanKnox_away
infecto1 has quit [Ping timeout: 245 seconds]
rafacv has quit [Remote host closed the connection]
rickruby has joined #ruby
musl has quit [Quit: WeeChat 0.4.1]
Tippler has quit [Quit: Textual IRC Client: www.textualapp.com]
benweint has quit [Quit: Computer has gone to sleep.]
rickmasta has joined #ruby
lucazi has joined #ruby
codezombie has joined #ruby
postmodern has quit [Quit: Leaving]
noopq has joined #ruby
postmodern has joined #ruby
joast has quit [Quit: Leaving.]
postmodern has quit [Remote host closed the connection]
postmodern has joined #ruby
iliketur_ has joined #ruby
postmodern has quit [Remote host closed the connection]
rburton- has quit [Quit: Leaving...]
marcgg_ has quit [Ping timeout: 248 seconds]
fsck3r has quit [Quit: Leaving...]
postmodern has joined #ruby
dodosan has quit [Remote host closed the connection]
infecto has quit [Quit: Leaving.]
dodosan has joined #ruby
marcgg has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
clocKwize has quit [Quit: clocKwize]
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dodosan has quit [Ping timeout: 276 seconds]
spundun has joined #ruby
Akuma has quit [Ping timeout: 245 seconds]
Akuma has joined #ruby
clocKwize has joined #ruby
clocKwize has quit [Client Quit]
robert_ has quit [Read error: Connection reset by peer]
robert_ has joined #ruby
robert_ has joined #ruby
robert_ has quit [Changing host]
rburton- has joined #ruby
wallerdev has joined #ruby
mklappstuhl has joined #ruby
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
havenwood has joined #ruby
stuartrexking has quit [Quit: Leaving...]
joast has joined #ruby
browndawg has joined #ruby
emergion has joined #ruby
ioNull has quit [Ping timeout: 248 seconds]
emergion has quit [Client Quit]
freeayu has joined #ruby
intuxicated has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
robustus has quit [Ping timeout: 245 seconds]
snovak has joined #ruby
musl has joined #ruby
dodosan has joined #ruby
ioNull has joined #ruby
cads has joined #ruby
axeman- has quit [Remote host closed the connection]
cads has quit [Read error: Connection reset by peer]
robustus has joined #ruby
mansi has joined #ruby
thebastl has joined #ruby
ch_ has joined #ruby
emergion has joined #ruby
cads has joined #ruby
snovak has quit [Ping timeout: 245 seconds]
heftig has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
osvico has quit [Ping timeout: 240 seconds]
mrsolo has quit [Quit: Leaving]
atno has joined #ruby
musl has quit [Quit: WeeChat 0.4.1]
emergion has quit [Quit: Computer has gone to sleep.]
mklappstuhl has quit [Remote host closed the connection]
jlast has joined #ruby
ryandeussing has joined #ruby
hasrb has joined #ruby
atno has quit [Remote host closed the connection]
hasrb has quit [Remote host closed the connection]
hasrb has joined #ruby
ryandeussing has quit [Ping timeout: 245 seconds]
ioNull has quit [Quit: Textual IRC Client: www.textualapp.com]
kobain has quit []
BizarreCake has joined #ruby
Nogbit has joined #ruby
heftig has quit [Quit: Quitting]
thebastl has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 246 seconds]
thebastl has joined #ruby
mklappstuhl has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
newUser1234 has joined #ruby
hasrb has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
allanm_ has joined #ruby
jbpros has joined #ruby
mahlon_ has quit [Read error: Connection reset by peer]
mahlon_ has joined #ruby
newUser1234 has quit [Ping timeout: 264 seconds]
allanm has quit [Ping timeout: 240 seconds]
freeayu has quit [Quit: This computer has gone to sleep]
thebastl has quit [Remote host closed the connection]
jbpros has quit [Client Quit]
Senjai has quit [Ping timeout: 260 seconds]
ananthakumaran has joined #ruby
speakingcode-wor has quit [Ping timeout: 256 seconds]
lukec has quit [Quit: lukec]
jbpros has joined #ruby
jbpros has quit [Client Quit]
yacks has quit [Ping timeout: 246 seconds]
YaNakilon has quit [Ping timeout: 246 seconds]
cads has quit [Ping timeout: 246 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
dodosan has quit [Remote host closed the connection]
rickmasta has quit [Quit: Leaving...]
yacks has joined #ruby
dodosan has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
speakingcode-wor has joined #ruby
cads has joined #ruby
SteveBenner9 has quit [Quit: Leaving]
SteveBenner9 has joined #ruby
badabim has joined #ruby
<SteveBenner9> hello
<SteveBenner9> has anyone used HTTPS over SSL?
<SteveBenner9> finding it difficult to diagnose my issue in Ruby ... I keep getting a timeout message when trying to send HTTP requests over SSL to my server, using a client key only to verify since server is self-signed (new proj.)
<jrobeson> uhmm.. everybody does..
<SteveBenner9> however, openssl s_client is working fine
<SteveBenner9> I get the desired response using the same key file
dodosan has quit [Ping timeout: 276 seconds]
<SteveBenner9> =)
<SteveBenner9> I see
<SteveBenner9> everyone uses it or finds difficult to diagnose? :0
<SteveBenner9> :o
<jrobeson> ah.. that's a different problem .. so.. you're just asking how figure out what's timing out when using https connection with client certificates
ch_ has quit [Remote host closed the connection]
<jrobeson> you said https over ssl.. and i was like wut?
<SteveBenner9> I'm new to SSL in general, right
<SteveBenner9> err, HTTP over SSL
<jrobeson> well.. first make it work without the client certificates
<SteveBenner9> meaning key authentication, rather than password only
<SteveBenner9> yes, I'm trying with ONLY a keyfile
<jrobeson> start with one piece at a time
<jrobeson> well make it work withotu any keyfiles
hiroyuki_ has quit [Ping timeout: 245 seconds]
<SteveBenner9> can't get that working but openssl s_client works using just -key flag and the file
<jrobeson> and then.. make it work with keyfiles
gildo has joined #ruby
ch_ has joined #ruby
<jrobeson> it'll be easier to figure out where the problem comes from
rickmasta has joined #ruby
casheew has joined #ruby
<SteveBenner9> so you are saying use a server-side certificate to authenticate the client?
<SteveBenner9> at some point the ssl handshake needs one side to present a secure key as I understand.
<jrobeson> i'm saying just make it work
<jrobeson> ruby works without providing any client certificates at all
<jrobeson> i mean every http library of any worth.. works just fine
wallerdev has quit [Quit: wallerdev]
<jrobeson> without providing any specific certificates
<jrobeson> because it looks at the OS certificate store
aryaching has joined #ruby
<jrobeson> to verify the server certificate
<SteveBenner9> yes, here is the issue: my server has no official CA
<SteveBenner9> its our own service, so it self-signs.
<jrobeson> well you can import your self signed cert
<SteveBenner9> ergo the trouble
<jrobeson> look up how to integrate it into your os's certificate store
<SteveBenner9> thats what I thought you meant, ok I will try this..
<jrobeson> but in any case.. it wouldn't just time out
<jrobeson> it would tell you it couldn't verify
<jrobeson> and just not work
<jrobeson> like accessing it in firefox or whatever
ch_ has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
<SteveBenner9> thanks for the advice.
<SteveBenner9> what baffles me is why command line openssl s_client is working but not any ruby libs I have tried
<jrobeson> all i'm reallying say. is just go with one piece at a time
<SteveBenner9> our server is in erlang, so it's difficult to troubleshoot..
hiroyuki has joined #ruby
<jrobeson> perhaps you're not doing it right.. perhaps there is a bug.. etc
<SteveBenner9> Right. of course
<SteveBenner9> most likely.
<jrobeson> openssl is a terrible library.. and quite hard to integrate correctly
snovak has joined #ruby
<SteveBenner9> I wish I could write a Ruby SSL library from the ground up
<jrobeson> haven't you found examples on the internet on how to do it ?
<SteveBenner9> Everything I've looked at is horribly documented
<jrobeson> seems like you can't be the first.. or the 100000th person who wants to do this
<SteveBenner9> well it all builds on top of openssl... I mean I'd like to replace it ;)
<SteveBenner9> right.. It's not my current project but I'm just wistful
<SteveBenner9> haha
<SteveBenner9> if I had time... I totally would
<SteveBenner9> Ruby is my life
mansi has joined #ruby
<SteveBenner9> jrobeson: do you know of any technique to observe the direct network traffic "under the hood" of the ruby library
mando has quit [Remote host closed the connection]
helvete has quit [Quit: Leaving...]
<SteveBenner9> linux/mac/windows anything
<SteveBenner9> I run all 3
<SteveBenner9> oh and to clarify: i mean the traffic running when I make the request, not the static lib code which I have glanced at.. But that is too in-depth really
ewnd9 has quit [Remote host closed the connection]
<SteveBenner9> I dug until I struck 'C', then about face. Hah..
vlad_starkov has quit [Ping timeout: 276 seconds]
<SteveBenner9> thanks anyhow...
SteveBenner9 has quit [Quit: Leaving]
snovak has quit [Ping timeout: 248 seconds]
<Nogbit> is your issue with a ruby client or ruby server? Im able to use the "restclient" gem and make ssl requests with a cert/key
dash_ has joined #ruby
jlast has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
badabim has quit [Remote host closed the connection]
ahg has joined #ruby
S0da has quit [Read error: Operation timed out]
Eiam has quit [Ping timeout: 260 seconds]
ewnd9 has joined #ruby
S0da has joined #ruby
zets has joined #ruby
thebastl has joined #ruby
<Nogbit> oh he left, oh well!
heftig has joined #ruby
SteveBenner9 has joined #ruby
<Nogbit> yes, Im using rest client, it works fine, no need for the CA
sparq_ has quit [Ping timeout: 240 seconds]
ntus1017 has joined #ruby
jlast has quit [Ping timeout: 276 seconds]
marcgg has quit [Read error: No route to host]
marcgg has joined #ruby
dodosan has joined #ruby
carraroj has joined #ruby
heftig has quit [Quit: Quitting]
hiroyuki has quit [Ping timeout: 245 seconds]
pwh has joined #ruby
heftig has joined #ruby
pwh has quit [Max SendQ exceeded]
aryaching has quit [Read error: Connection reset by peer]
hiroyuki has joined #ruby
aryaching has joined #ruby
pwh has joined #ruby
cj3kim has quit [Remote host closed the connection]
emergion has joined #ruby
emergion has quit [Client Quit]
tkuchiki has joined #ruby
dodosan has quit [Ping timeout: 246 seconds]
cj3kim has joined #ruby
greenysan has joined #ruby
tbjers[afk] has joined #ruby
<dyoung522> known bug in ruby-2.0.0p247? https://gist.github.com/dyoung522/6326582
monkegjinni has joined #ruby
carraroj has quit [Ping timeout: 245 seconds]
covi has joined #ruby
<covi> Hi guys, I have two versions of Ruby installed on my Mac, how do I explicitly make one of them the default when I type ruby into the terminal?
<zendeavor> PATH
<zendeavor> try chruby out
ericmathison has quit [Ping timeout: 276 seconds]
BizarreCake has quit [Read error: Connection reset by peer]
emergion has joined #ruby
Quashie_ has quit [Ping timeout: 240 seconds]
atyz has joined #ruby
narcan has joined #ruby
workmad3 has joined #ruby
narcan has quit [Read error: Connection reset by peer]
narcan has joined #ruby
hiroyuki_ has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
hiroyuki_ has quit [Read error: Connection reset by peer]
hiroyuki has quit [Read error: Connection reset by peer]
relix has joined #ruby
snovak has joined #ruby
mansi has joined #ruby
helozjisky has joined #ruby
marius has joined #ruby
thebastl has quit [Remote host closed the connection]
Spami has joined #ruby
huevon has joined #ruby
flak has joined #ruby
flak is now known as Guest17961
ewnd9 has quit [Ping timeout: 245 seconds]
BizarreCake has joined #ruby
snovak has quit [Ping timeout: 245 seconds]
druonysuse has quit [Read error: Connection reset by peer]
tbjers[afk] has quit [Quit: tbjers[afk]]
mansi has quit [Ping timeout: 245 seconds]
druonysuse has joined #ruby
browndawg has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
DrCode has quit [Ping timeout: 240 seconds]
thebastl has joined #ruby
cj3kim has quit [Remote host closed the connection]
DrCode has joined #ruby
lotherk has joined #ruby
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
lotherk1 has joined #ruby
ananthakumaran has quit [Ping timeout: 264 seconds]
argentum has quit [Quit: argentum]
huevon has quit [Quit: WeeChat 0.4.1]
lotherk has quit [Ping timeout: 245 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
yxhuvud has joined #ruby
Nogbit has left #ruby [#ruby]
badabim has joined #ruby
<SteveBenner9> covi: mac or linux?
yfeldblum has quit [Ping timeout: 264 seconds]
<jrobeson> they said mac.
helozjisky has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]]
lucazi has quit [Remote host closed the connection]
S0da has quit [Read error: Connection reset by peer]
lucazi has joined #ruby
S0da has joined #ruby
dodosan has joined #ruby
hiroyuki has joined #ruby
eregon has quit [Ping timeout: 245 seconds]
sparq_ has joined #ruby
lucazi_ has joined #ruby
lucazi_ has quit [Remote host closed the connection]
cogitokat has joined #ruby
gyzmodo has joined #ruby
lucazi_ has joined #ruby
lucazi has quit [Ping timeout: 264 seconds]
greenysan has quit [Quit: Lost terminal]
ayaz has joined #ruby
VTLob has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
narcan has joined #ruby
vlad_starkov has joined #ruby
thebastl has quit [Remote host closed the connection]
dodosan has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
_honning_ has joined #ruby
jefflyne has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
thebastl has joined #ruby
bricker has joined #ruby
crazymykl has quit [Remote host closed the connection]
crazymykl has joined #ruby
lucazi_ has quit [Remote host closed the connection]
spider-mario has joined #ruby
lucazi has joined #ruby
spider-mario has quit [Remote host closed the connection]
druonysuse has quit [Ping timeout: 248 seconds]
cj3kim has joined #ruby
rburton- has quit [Quit: Leaving...]
ewnd9 has joined #ruby
zigomir has joined #ruby
rippa has joined #ruby
visof has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
visof has quit [Changing host]
visof has joined #ruby
Guest17961 has quit [Ping timeout: 248 seconds]
pwh has quit [Quit: pwh]
yxhuvud has quit [Quit: Nettalk6 - www.ntalk.de]
thebastl has quit [Remote host closed the connection]
freeayu has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Tuxist has joined #ruby
emergion has joined #ruby
yxhuvud has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
freeayu has quit [Client Quit]
cj3kim has quit [Ping timeout: 256 seconds]
carraroj has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
spider-mario has joined #ruby
mklappstuhl has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
hamakn has joined #ruby
Quashie has joined #ruby
carraroj has quit [Ping timeout: 276 seconds]
rezzack has quit [Quit: Leaving.]
ebouchut has joined #ruby
mansi has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
snovak has joined #ruby
<zendeavor> the answer is the same in both cases
hamed_r has joined #ruby
ananthakumaran has joined #ruby
obs has joined #ruby
_honning_ has quit [Ping timeout: 276 seconds]
eregon has joined #ruby
io_syl has quit [Quit: io_syl]
mansi has quit [Ping timeout: 245 seconds]
narcan has joined #ruby
druonysuse has joined #ruby
ntus1017 has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 276 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
Emiils has joined #ruby
SteveBenner9 has quit [Quit: Leaving]
quazimodo has joined #ruby
havenwood has joined #ruby
txdv has quit [Read error: Operation timed out]
ebouchut has quit [Quit: This computer has gone to sleep]
wargasm has quit [Ping timeout: 245 seconds]
eregon has quit [Ping timeout: 264 seconds]
ebouchut has joined #ruby
sparq_ has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 264 seconds]
polysics has joined #ruby
<polysics> hello
nerdman has joined #ruby
jarray52 has quit [Quit: Leaving.]
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
Ripp__ has joined #ruby
quazimodo has quit [Ping timeout: 264 seconds]
quazimodo has joined #ruby
decoponio has joined #ruby
blackmesa has joined #ruby
Lewix has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
MrZYX|off is now known as MrZYX
hamakn has quit [Ping timeout: 248 seconds]
Spami has quit [Quit: This computer has gone to sleep]
<polysics> hi tehre! I was exploring external control of a Sidekiq job (mostly stopping it)
haxrbyte has quit [Read error: Connection reset by peer]
huf has quit [Ping timeout: 256 seconds]
atno has joined #ruby
thebastl has joined #ruby
<polysics> what options are there? Redis polling, filesystem polling, DRb
<polysics> is FS polling too heavy?
huf has joined #ruby
_serial_ has joined #ruby
vlad_starkov has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
_serial_ has quit [Client Quit]
Ripp__ has quit [Quit: Ripp__]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
vlad_starkov has quit [Ping timeout: 245 seconds]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mneorr has joined #ruby
thillux has joined #ruby
dash_ has quit [Ping timeout: 260 seconds]
mneorr has quit [Remote host closed the connection]
druonysuse has quit [Ping timeout: 276 seconds]
ewnd9 has quit [Read error: Connection reset by peer]
ewnd9 has joined #ruby
eliasp has quit [Read error: Connection reset by peer]
eliasp has joined #ruby
teddyp1cker has joined #ruby
kvirani_ has joined #ruby
ehaliewicz has quit [Ping timeout: 240 seconds]
kvirani has quit [Ping timeout: 276 seconds]
<existensil> polysics: depends the specifics of your filesystem polling implementation and, of course, how big your workload is
casheew has quit [Quit: leaving]
casheew has joined #ruby
cj3kim has joined #ruby
<existensil> but, the best and most portable solution is to use redis, clearly, since Sidekiq already depends on it and all your workers will be connected to it
<existensil> and you won't have to mess with anything when you end up having multiple servers full of workers, since they'll (presumeably) point to the same redis instance/pool
thebastl has quit [Remote host closed the connection]
<existensil> redis is already your point of failure with your sidekiq workers. no reason to avoid the dependency with your extension, since redis will work awesome for what you want
<existensil> you can also use pub/sub
<existensil> (via redis)
<polysics> would you recommend sharing the sidekiq Redis connection?
<polysics> or is it enough to just connect to Redis from the worker?
cj3kim has quit [Ping timeout: 245 seconds]
browndawg has quit [Ping timeout: 260 seconds]
<existensil> polysics: The overhead for a second connection isn't very high. Might allow you the flexibility also of using a seperate redis db if needed later for the external control stuff
ryandeussing has joined #ruby
<polysics> I was thinking of using a "stop" namespace. If a job finds its own JID in that, it stops
<existensil> but reusing the sidekiq connection should work just fine, so either approach has merit
thebastl has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
Zolo has joined #ruby
<polysics> I tried looking on how to reuse it, but it seems like you have to create a connection ,then tell Sidekiq to use that
<existensil> that makes sense. you could also store the JID in a single "set" data type in redis. save a little space and keep your key space cleaner.
<existensil> instead of one-key-per-job
<existensil> you have one key with all the stop IDs in it
<existensil> redis is awesome :-)
ryandeussing has quit [Ping timeout: 240 seconds]
<polysics> this is one option
thebastl has quit [Remote host closed the connection]
<existensil> that looks good to me. i'm guessing connection pooling isn't something you have to worry about just yet though
ahg has quit [Remote host closed the connection]
tommyvyo has joined #ruby
<polysics> no, I was just looking for a way to share connections
<polysics> I think I need to reuse it because Redis To Go has a limit
realDAB has joined #ruby
apeiros has quit [Remote host closed the connection]
<existensil> right, you can make both Sidekiq and your extension use Redis.current through initializer config
<polysics> I think I am missing a step here :)
thebastl has joined #ruby
altamic has joined #ruby
altamic has left #ruby [#ruby]
marcgg has quit [Read error: No route to host]
marcgg has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
mansi has joined #ruby
browndawg has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
ebouchut has joined #ruby
snovak has joined #ruby
eregon has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
ebouchut has quit [Quit: This computer has gone to sleep]
blackmesa has joined #ruby
<quazimodo> #rspec is quiet, does anyone know if it's possible, and even the right thing to do, to test if one thing is called fore another?
<MrZYX> more concrete example please
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
realDAB has quit [Quit: realDAB]
heftig has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
jacobat has joined #ruby
m8 has joined #ruby
timonv has joined #ruby
TheFuzzball has quit [Quit: Leaving...]
hamakn has joined #ruby
S0da has quit [Remote host closed the connection]
dodosan has joined #ruby
thebastl has quit [Remote host closed the connection]
dodosan has quit [Ping timeout: 260 seconds]
snovak has quit [Read error: Operation timed out]
io_syl has joined #ruby
hamakn has quit [Ping timeout: 248 seconds]
eregon has quit [Ping timeout: 240 seconds]
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eregon has joined #ruby
GeissT has joined #ruby
hamed_r has quit [Quit: Ex-Chat]
pweems has quit [Ping timeout: 256 seconds]
adeponte has quit [Remote host closed the connection]
nowthatsamatt has joined #ruby
heftig has joined #ruby
apeiros has joined #ruby
nfk has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
iliketur_ has quit [Quit: zzzzz…..]
crunch-vanille has joined #ruby
sevenseacat has joined #ruby
iliketur_ has joined #ruby
crunch-vanille has quit [Client Quit]
Speed has joined #ruby
mklappstuhl has joined #ruby
Gonzih has joined #ruby
snovak has joined #ruby
mansi has joined #ruby
Deele has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
atno has quit [Remote host closed the connection]
starfox21 has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
rbento has quit [Quit: ┐('~`;)┌]
snovak has quit [Read error: Operation timed out]
iliketur_ has quit [Quit: zzzzz…..]
mercwithamouth has joined #ruby
<quazimodo> MrZYX: one moment
<quazimodo> lol i meant *before
<quazimodo> def butts; do_1st_thing; do_2nd_thing; end
<quazimodo> i guess it doesn't make sense to test the implementeation like that, doesi t
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<MrZYX> not really, no
Wildhoney has joined #ruby
Neomex has joined #ruby
<quazimodo> hrm
<quazimodo> what about something like
<quazimodo> validates before saving
<quazimodo> i guess you'd reframe the question to, will only save if valid and viceversa
<MrZYX> yeah
<MrZYX> you really don't care when it happens, only that it happened
Neomex has quit [Client Quit]
Wildhoney has quit [Quit: Wildhoney]
mklappstuhl has quit [Remote host closed the connection]
predator117 has quit [Ping timeout: 240 seconds]
predator117 has joined #ruby
<quazimodo> uhuh
<quazimodo> MrZYX: i <3 u
hiroyuki_ has joined #ruby
Tuxist has quit [Read error: Connection reset by peer]
<quazimodo> wee
dodosan has joined #ruby
hiroyuki has quit [Ping timeout: 240 seconds]
BRMatt has joined #ruby
Wildhoney has joined #ruby
predator117 has quit [Ping timeout: 264 seconds]
tapioca_ has joined #ruby
atno has joined #ruby
predator117 has joined #ruby
dodosan has quit [Ping timeout: 240 seconds]
marcgg has quit [Read error: No route to host]
marcgg_ has joined #ruby
atno has left #ruby [#ruby]
tapioca has quit [Ping timeout: 260 seconds]
jefflyne has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
ryandeussing has joined #ruby
Wildhoney has quit [Quit: Wildhoney]
ryandeussing has quit [Ping timeout: 264 seconds]
cj3kim has joined #ruby
adeponte has joined #ruby
cj3kim has quit [Ping timeout: 264 seconds]
freeayu has joined #ruby
marcgg has joined #ruby
marcgg_ has quit [Read error: Connection reset by peer]
adeponte has quit [Ping timeout: 240 seconds]
Desert_eagle has quit [Ping timeout: 247 seconds]
thillux has quit [Remote host closed the connection]
<shevy> let's have you two make babies
hiroyuki has joined #ruby
predator117 has quit [Ping timeout: 245 seconds]
hiroyuki_ has quit [Ping timeout: 240 seconds]
Xaitec has joined #ruby
predator117 has joined #ruby
carraroj has joined #ruby
mansi has joined #ruby
mklappstuhl has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
fenicks has joined #ruby
browndawg has quit [Quit: Leaving.]
Xaitec has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
thesheff17 has joined #ruby
predator117 has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
S0da has joined #ruby
maxmanders has joined #ruby
nari has quit [Ping timeout: 256 seconds]
hackeron has quit [Remote host closed the connection]
mneorr has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
huevon has joined #ruby
maxmanders has quit [Client Quit]
siera08 has joined #ruby
predator117 has joined #ruby
threesome has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
lotherk has joined #ruby
lotherk1 has quit [Ping timeout: 264 seconds]
TheMoonMaster has quit [Ping timeout: 260 seconds]
machuga|away is now known as machuga
Tuxist has joined #ruby
TheMoonMaster has joined #ruby
visof has quit [Quit: Leaving]
Notte has joined #ruby
axeman- has joined #ruby
hackeron has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
ebouchut has joined #ruby
Gonzih has quit [Quit: IRC is just multiplayer vim.]
predator117 has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
predator117 has joined #ruby
snovak has joined #ruby
mklappstuhl has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Ping timeout: 260 seconds]
snovak has quit [Ping timeout: 240 seconds]
cookiemonsta has joined #ruby
predator117 has quit [Ping timeout: 256 seconds]
predator117 has joined #ruby
eka has joined #ruby
platzhirsch has joined #ruby
vlad_starkov has joined #ruby
<platzhirsch> I cannot load 100.000 JSON documents into RAM to work on it. Silly me
mklappstuhl has quit [Remote host closed the connection]
cj3kim has joined #ruby
duggiefresh has joined #ruby
cha1tanya_ has joined #ruby
cha1tanya_ has quit [Read error: Connection reset by peer]
bld0 has joined #ruby
visof has joined #ruby
mercwithamouth has quit [Ping timeout: 248 seconds]
visof has quit [Changing host]
visof has joined #ruby
Krungthep has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
cj3kim has quit [Ping timeout: 245 seconds]
thillux has joined #ruby
philcrissman_ has joined #ruby
_JamieD_ has joined #ruby
<platzhirsch> oi
duggiefresh has quit [Quit: duggiefresh]
<platzhirsch> waxjar: that's interesting, unfortunately I am getting my JSON documents from Elasticsearch and not the file system
binaryplease has joined #ruby
bld0 has quit [Quit: ...]
<platzhirsch> I am really not sure how to implement this. I need all documents at the beginning to initialize my class and then I need to call a compute method on each of the documents. Load, initialize, free, load initialize, free... load, compute, free ...
siaW has joined #ruby
<waxjar> it doesn't have to come from the file system platzhirsch :)
axeman- has quit [Remote host closed the connection]
duggiefresh_ has joined #ruby
<platzhirsch> waxjar: I see, I am not sure whether this is the right approach yet
obs has quit [Ping timeout: 245 seconds]
<platzhirsch> I am not sure, but I think my problem is the Elasticsearch Ruby wrapper, it loads the documents into memory
ebouchut has quit [Quit: This computer has gone to sleep]
kvirani_ has quit [Remote host closed the connection]
kvirani has joined #ruby
SteveBenner09 has joined #ruby
mansi_ has joined #ruby
jan1337zZz is now known as jan1337z
jan1337z is now known as Jan
duggiefresh_ has quit [Quit: duggiefresh_]
predator117 has quit [Ping timeout: 246 seconds]
Jan is now known as Guest80165
nerdman has quit [Quit: leaving]
predator117 has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
mansi_ has quit [Ping timeout: 245 seconds]
duggiefresh_ has joined #ruby
sayan has joined #ruby
axeman- has joined #ruby
duggiefresh_ has quit [Client Quit]
lkba has joined #ruby
sayan has quit [Remote host closed the connection]
rcosta has joined #ruby
Xaitec has joined #ruby
predator117 has quit [Ping timeout: 248 seconds]
ivanf has joined #ruby
freeayu has quit [Quit: This computer has gone to sleep]
osvico has joined #ruby
ryandeussing has joined #ruby
ewnd9 has quit [Ping timeout: 264 seconds]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
ryandeussing has quit [Read error: Operation timed out]
dodosan has joined #ruby
predator117 has joined #ruby
intuxicated has quit [Quit: Leaving]
mklappstuhl has joined #ruby
sventon has joined #ruby
krz has joined #ruby
dodosan has quit [Ping timeout: 260 seconds]
lotherk1 has joined #ruby
predator117 has quit [Ping timeout: 264 seconds]
Krungthep has left #ruby [#ruby]
<mostlybadfly> Does anyone ever use compilr?
<mostlybadfly> I'm trying to figure out if an ide is even necessary if I have gedit and irb
<mostlybadfly> Probably just preference
snovak has joined #ruby
_JamieD_ has quit [Quit: _JamieD_]
lotherk has quit [Ping timeout: 264 seconds]
caju has joined #ruby
<_br_> mostlybadfly: You are trying to learn Ruby?
<mostlybadfly> Yeah
<mostlybadfly> I know everyone suggests vim but it's such a pita lol
snovak has quit [Ping timeout: 264 seconds]
<_br_> Well, editors are like ice cream, so what ever rocks your boat is fine.
predator117 has joined #ruby
aryaching has joined #ruby
rcosta has quit [Remote host closed the connection]
krz has quit [Quit: krz]
<mostlybadfly> I ended up using. Gedit with gmate plugins and I'm pretty comfortable with it
<_br_> To answer your question, you certainly don't need an IDE to learn ruby. Simple ruby interpreter or repl and whatever texteditor you've got will be fine.
krz has joined #ruby
krz has quit [Changing host]
krz has joined #ruby
sergicles has joined #ruby
gildo has quit [Ping timeout: 246 seconds]
<SteveBenner09> once you are intermediate though, IDE's can be awesome
BizarreCake has joined #ruby
<SteveBenner09> well there's only one really RubyMine but I use it constantly
<SteveBenner09> but starting out I think simple is far better
<_br_> Discussing editors/ide's is so useless anyway.
<mostlybadfly> Ah OK cool thanks guys :)
axeman- has quit [Remote host closed the connection]
<SteveBenner09> Hey is anyone familiar with Rhodes/Rhomobile?
<mostlybadfly> I'm only on day 3 so I have a ways to go :p
<SteveBenner09> it's pretty useless.
binaryplease has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
vlad_starkov has joined #ruby
kvirani has joined #ruby
<_br_> SteveBenner09: Asking to ask, will get you no where.
badabim has quit [Ping timeout: 246 seconds]
Wildhoney has joined #ruby
<SteveBenner09> _br_: I'm looking for advice with my Rhodes app, the mechanism is not very well explained so I'm looking for Rhodes developers
mansi_ has joined #ruby
mneorr has quit [Remote host closed the connection]
noopq has quit [Ping timeout: 264 seconds]
ewnd9 has joined #ruby
aryaching_ has joined #ruby
Guest80165 is now known as jan1337zZz
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<_br_> good luck with that
vlad_starkov has quit [Ping timeout: 264 seconds]
duggiefresh_ has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
aryaching_ is now known as aryaching
SteveBenner09 has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
siera08 has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]]
mansi_ has quit [Remote host closed the connection]
leonardorb has joined #ruby
wallerdev has quit [Quit: wallerdev]
Neomex has joined #ruby
rcosta has joined #ruby
zoee has joined #ruby
axeman- has joined #ruby
jan1337zZz is now known as jan1337z
hiroyuki_ has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
hiroyuki has quit [Ping timeout: 256 seconds]
Matriks has joined #ruby
leonardo_ has joined #ruby
leonardorb has quit [Read error: Connection reset by peer]
predator117 has quit [Ping timeout: 256 seconds]
lukec has joined #ruby
razi has joined #ruby
lemonsparrow has joined #ruby
razi has quit [Client Quit]
Desert_eagle has joined #ruby
mrsolo has joined #ruby
burlyscudd has joined #ruby
krz has quit [Quit: krz]
lucazi has quit [Remote host closed the connection]
burlyscudd has quit [Client Quit]
predator117 has joined #ruby
jan1337z is now known as jan1337zZz
devoldmx3 has joined #ruby
mneorr has joined #ruby
lotherk1 has quit [Quit: Leaving.]
devoldmx has quit [Ping timeout: 264 seconds]
nari has joined #ruby
v0n has joined #ruby
cj3kim has joined #ruby
solrize_ has joined #ruby
guiocavalcanti has joined #ruby
cj3kim has quit [Ping timeout: 248 seconds]
lotherk has joined #ruby
rcosta has quit [Remote host closed the connection]
lemonsparrow has quit [Quit: Page closed]
v0n has quit [Ping timeout: 260 seconds]
ryandeussing has joined #ruby
sevenseacat1 has joined #ruby
threesome has quit [Read error: Operation timed out]
lucazi_ has joined #ruby
lotherk has quit [Client Quit]
Deele has quit [Ping timeout: 240 seconds]
sevenseacat has quit [Read error: Connection reset by peer]
mansi_ has joined #ruby
blo has quit [Ping timeout: 264 seconds]
devoldmx3 has quit [Ping timeout: 276 seconds]
blo has joined #ruby
blo has quit [Changing host]
blo has joined #ruby
siera08 has joined #ruby
Deele has joined #ruby
huevon has quit [Write error: Broken pipe]
solrize_ has quit [Ping timeout: 240 seconds]
staafl has joined #ruby
browndawg has joined #ruby
companion is now known as Companion
staafl_alt has quit [Ping timeout: 264 seconds]
<shevy> mostlybadfly I myself never suggest vim
<shevy> vim and emacs should both die
senayar has joined #ruby
<mostlybadfly> OK yeah I have certain people that are like omg you need this
<shevy> an editor written in ruby would be cool though
<shevy> other than redcar (I hate java)
<zets> I use rubymine most of the time. Vim can be good once you load it up with plugins but there's a huge learning curve.
hamakn has joined #ruby
sevenseacat1 is now known as sevenseacat
wallerdev has joined #ruby
mneorr has quit [Ping timeout: 246 seconds]
tjad has quit [Ping timeout: 245 seconds]
mneorr has joined #ruby
<zendeavor> the learning curve for vim is hugely overblown
<Morrolan> You can start with the very basic features, and work your way up. *shrug*
<sebastianb> all you need at first is how to write the file and quit the editor
<sebastianb> sometimes you may need the almighty vim skill for searching
jefflyne has joined #ruby
snovak has joined #ruby
<Morrolan> And maybe 'Esc Esc Esc Esc Esc i' if you're stuck in some obscure mode or command. :)
siera08 has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]]
<sebastianb> I never had to press Esc more than twice (when I was stuck :P)
<Morrolan> I like to be on the safe side. :P
<sebastianb> more than two times? (english is not my first language)
<Morrolan> twice == two times.
<sebastianb> Yeah, I know that
<sebastianb> I just thought for a second that 'two times' sounds more... english way :D
duggiefresh_ has quit [Quit: duggiefresh_]
<sebastianb> nvm
<Morrolan> I'd say that, in this case, it doesn't matter. But maybe there's some obscure rule. :D
rcosta has joined #ruby
gildo has joined #ruby
Xeago_ has joined #ruby
snovak has quit [Read error: Operation timed out]
devoldmx has joined #ruby
duggiefresh_ has joined #ruby
vlad_starkov has joined #ruby
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
anonymuse has joined #ruby
leonardo_ has quit [Read error: Connection reset by peer]
<_br_> shevy: Ok, I bite. What is wrong with ViM and EMACS?
leonardorb has joined #ruby
<_br_> Just curious if this is just some good ol' trolling or if you have some comment that is actually worth discussing.
<shevy> I am sure you have heard it all before
<_br_> Probably.
<_br_> Isn't the whole discussion of bashing various editors just bullshit?
<shevy> and I am not sure what you want to discuss, either. It either has features or it does not. Basically it comes down to several things - first and foremost, there is the claim that it has a steep learning curve (which it has) and at a later time you will become god-like productive
<_br_> Well, don't all editors habe that?
<shevy> Absolutely not at all. You spend many hours in an editor if you code in it, so the discussion is part of one's life just as much.
<shevy> they have different featuresets
<_br_> So you define vim, emacs == bs due to their learning curve?
<shevy> the workflows in vim or i.e. sublime or bluefish are very different, the amount of keystrokes are different, the way how the brain has to work to operate either of these will be different
<_br_> Excatly, different. Some people will love it, others hate it.
vlad_starkov has quit [Ping timeout: 264 seconds]
<_br_> Its like oh you like apples? I hate apples they all suck. Oranges are the rage.
<shevy> _br_ no, I have a million complaints. do you want to ignore 99% of the complaints and narrow it down to just one argument where you could then refute it? I give you another one - the syntax to extend vim is absolute, total and utter shit
<shevy> there is no argument behind your statement _br_
<_br_> Actually the one spouting air is you shevy.
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> if a:Forward let SearchCmd = '/' else let SearchCmd = '?' endif
<shevy> _br_ I gave you a few arguments so far. it's not my fault if you can not accept them
<shevy> _br_ what editor do you use?
<Morrolan> So far you've provided us with two reasons you dislike vim, shevy. I'm sure we can come up with two resons we like it. :)
<shevy> Morrolan ok start
<_br_> shevy: Does it matter? How does my preference make any difference to your logical fallacy?
<_br_> Lets say I use good ol' ed.
<shevy> _br_ because I went ahead and listed arguments against it. You refuted that these arguments hold no value, you gave zero alternatives and you didn't admit to using vim either
<shevy> no you don't
<shevy> if you can not even admit to your main editor, why do you want to "discuss"?
<_br_> Because you are trolling and winding yourself up about utter BS.
<Morrolan> Eh, two things I like about it? Multiline edit. Visual selection blocks. And yes, those aren't unique to vim.
Neomex has quit [Quit: Neomex]
<shevy> _br_ that is because you are unable to accept criticism. I dont know why though, I conclude you are a vimster
<_br_> Ah, jumping to conclusions.
<shevy> what is "visual selection" - other editors can not select text?
<shevy> _br_ Ah, unable to discuss. :)
<Morrolan> shevy: Why need I list features which are unique to it?
<shevy> Morrolan I did not say that, these two features could be extremely important in your workflow, that is perfectly fine
* Morrolan shrugs
<_br_> shevy: How can I discuss this with you? You are already accusing me ad hominem, and with other various logical fallacies. Not very objective is it?
<shevy> I found the extreme dominance of vim and emacs very strange, it is as if people require help from an editor in order to be competent
<shevy> _br_ hey buddy, who of you started with the "trolling" "argument"?
<_br_> How about the whole idea of burst mode editing? Is that bs?
<_br_> shevy: You, by touching a decade old flame war topic.
<shevy> no, you did man
<shevy> here I paste for you:
<shevy> -> <_br_> Just curious if this is just some good ol' trolling or if you have some comment that is actually worth discussing.
<_br_> Well, what are your arguments then? Except nothing you said so far?
<shevy> you set the tone by insinuating that there are only two modes possible - either it must be trolling, or there must be a "comment" worth discussing. what is the "comment" worth discussing when you haven't come to your own conclusio before?
<shevy> <_br_> Actually the one spouting air is you shevy. <---
<shevy> _br_ You need to mature up.
<_br_> What is the editor then we SHOULD use shevy ?
<shevy> It's also curious how you label it as "old flame war".
argentum has joined #ruby
<_br_> Oh well, go back in old usenet times and read the lists. There is so much of it.
<shevy> _br_ different people have different needs, it would be silly to assume that there is one perfect editor that would fit everyone's needs
<_br_> Oh wow.
argentum has quit [Client Quit]
<_br_> But certainly emacs and vim have to die?
<Morrolan> shevy: That doesn't go well together with.. yea.
<shevy> yes
* Morrolan snrks
<shevy> both vim and emacs users are those unable to see alternatives
<Morrolan> Bullshit.
<existensil> an editor for everyone already exists, but everyone hates it...
<existensil> eclipse
* Morrolan stabs existensil
<shevy> I hate java :(
<Morrolan> Oh, it has plugins for all kinds of languages.
<Morrolan> But Eclipse and me never really got friends. :)
duggiefresh_ has quit [Quit: duggiefresh_]
<existensil> proof that solving everyone's needs is not really what everyone wants, or that needs are different than features and often mutually exclusive
<_br_> Oh, ok. So much for listening to todays trolling. Thanks shevy.
<shevy> _br_ thanks my gay friend
* Morrolan puts on a helmet
shevy was kicked from #ruby by apeiros [using 'gay' as a derogatory is unwelcome]
<_br_> haha, more ad hominem
shevy has joined #ruby
mklappstuhl has joined #ruby
dayepa has quit [Quit: dayepa]
<shevy> apeiros please continue
<_br_> Well, sorry for that guys. Its actually also part my fault, I should have not discussed stuff like that. shevy please give it a rest.
<shevy> we need equal rights - can I call _br_ a troll?
<existensil> since it he wasn't simultaneously using the derogatory comment to belittle or critique your argument, i think its technically just name calling
dayepa has joined #ruby
<shevy> _br_ I think it is ok if I call you a troll
<shevy> _br_ so I guess I have to apologize for my earlier words
nignaztic has joined #ruby
<shevy> well I am fine with that
<shevy> I just find it unfair to chime in a discussion, side with one, threaten (me) with a ban yet the other side with nothing at all
<_br_> I had enough of this. Have a nice day, cheers.
<apeiros> shevy, _br_: if you want to continue this discussion, please go elsewhere.
<apeiros> I will not tolerate it here anymore.
<shevy> alright, I am done.
heftig has quit [Read error: Connection reset by peer]
heftig has joined #ruby
Matriks has quit [Remote host closed the connection]
<apeiros> and shevy: using an attribute of people as a derogatory term is unwelcome. nobody is born a troll. there is no troll-race or no troll-people. it's not about you insulting _br_ or _br_ insulting you. it's about you using gay as a derogatory that got you kicked.
futilegames has joined #ruby
marcgg has quit [Ping timeout: 248 seconds]
nazty has quit [Ping timeout: 248 seconds]
mklappstuhl has quit [Ping timeout: 240 seconds]
<apeiros> and I didn't kick you nor _br_ for ad-hominems because I'm not present here all the time to play kindergarten teacher.
sayan has joined #ruby
<futilegames> Working on client work on a Saturday when I'd planned to do some side project coding :(
marcgg has joined #ruby
fourq_ is now known as fourq
rcosta has quit [Remote host closed the connection]
daniel_hinojosa has joined #ruby
OffTheRails has joined #ruby
OffTheRails has quit [Remote host closed the connection]
bklane has joined #ruby
jlast has joined #ruby
<_br_> apeiros: Thanks for beaking up the discussion. You are quite right.
anonymuse has quit [Remote host closed the connection]
<_br_> shevy: Sorry for getting you wound up and for calling you a troll. I am just so tired of this editor discussions, hence my comments. I think I read way to many flamewars of this on the usenet.
<shevy> let's forget it
aryaching_ has joined #ruby
<zendeavor> emacs is cool
sayan has quit [Excess Flood]
<existensil> futilegames: same
aryaching has quit [Ping timeout: 240 seconds]
<shevy> lol
zendeavor was kicked from #ruby by apeiros [no fuel for this.]
<shevy> can't deny that, matz uses emacs
zendeavor has joined #ruby
<zendeavor> man im juss sayin
<existensil> what editor would hitler have used?
<apeiros> zendeavor: yes. I'm just saying too. I said the discussion ended there. that applies to you too.
<zendeavor> hey man can't we all just be friends
sayan has joined #ruby
<shevy> existensil whoa
tommyvyo has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
<Morrolan> He was an aspiring painter, not an aspiring coder. ;)
ebouchut has joined #ruby
cj3kim has joined #ruby
<existensil> right, but modern designers need something for CSS and such. I hope if he was born today he'd be a struggling web designer, screaming at his boss trying to make him learn front end coding, instead of trying to conquer Europe
<existensil> if that scenario did play out... I wonder what editor he'd be drawn to
<zets> neinpad
sayan has left #ruby [#ruby]
<existensil> it would have to be someone visually appealing I would assume, but sublime seems too soft for hitler
<existensil> s/someone/somewhat/
<existensil> I bet the terminal would scare him, so vim and emacs are both out
<Morrolan> Maybe he'd be an Adobe Dreamweaver follower. :)
<existensil> ah, yes, Dreamweaver
<existensil> you win
<shevy> the terminal is so useful
<existensil> yeah, but you won't convince hitler of that
<existensil> i mean, all of Europe couldn't convince him Jews were people
hiroyuki_ has quit [Remote host closed the connection]
Rym has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
hiroyuki has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
carraroj has joined #ruby
ryandeussing has quit [Remote host closed the connection]
cookiemonsta has left #ruby [#ruby]
newUser1234 has joined #ruby
aryaching_ has quit []
obs has joined #ruby
obs has quit [Client Quit]
lotherk has joined #ruby
dodosan has joined #ruby
obs has joined #ruby
Guest00000 has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
Jake232 has joined #ruby
dodosan has quit [Ping timeout: 248 seconds]
lotherk has quit [Ping timeout: 264 seconds]
airtonix_ has joined #ruby
airtonix has quit [Ping timeout: 240 seconds]
lyanchih has joined #ruby
anonymuse has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
newUser1234 has quit [Remote host closed the connection]
guiocavalcanti has quit [Remote host closed the connection]
atno has joined #ruby
rippa has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
spundun has quit [Read error: Connection reset by peer]
atno has quit [Remote host closed the connection]
anonymuse has quit [Remote host closed the connection]
atno has joined #ruby
JDHankle has joined #ruby
<existensil> yes, that was the inspiration for the question. with the accusations of ad hominems i thought it would be fun to try and actually lighten the conversation using hitler
St_Marx has joined #ruby
rcosta has joined #ruby
<existensil> as opposed to the comparisons godwins law is based off, which usually are hyperbolic and a sign of a conversation that has devolved
Fire-Dragon-DoL has joined #ruby
kek has joined #ruby
JDHankle has quit [Ping timeout: 245 seconds]
sevenseacat has left #ruby [#ruby]
<_br_> Can't argue with that.
atyz has quit [Read error: Connection reset by peer]
helvete has joined #ruby
JDHankle has joined #ruby
ryandeussing has joined #ruby
ewnd9 has quit [Ping timeout: 260 seconds]
teddyp1cker has quit [Remote host closed the connection]
yacks has quit [Ping timeout: 245 seconds]
<anildigital> Tests
jan1337zZz is now known as jan1337z
yacks has joined #ruby
lyanchih has quit [Quit: lyanchih]
gemmy has joined #ruby
carraroj has quit [Ping timeout: 240 seconds]
m8 has quit [Read error: Connection reset by peer]
m8 has joined #ruby
mneorr has quit [Remote host closed the connection]
carraroj has joined #ruby
leonardorb has quit [Remote host closed the connection]
alpha123 has joined #ruby
predator117 has quit [Ping timeout: 260 seconds]
snovak has joined #ruby
<Orxata_> Well I love notepad
<gemmy> Given an ActiveRecord Model that has relationships ( for example Post.comments ) how can I serialize all the tree in YAML or XML? I've done an erb template but, is there a better way?.tia
<existensil> you offer a good example of how an opinion, if bad enough, does actually warant questioning the character and inteligence of the person posessing the opinion
<polysics> wow, I must admit I was skeptic about Capybara Webkit integration tests
<polysics> jsut a few broad reaching features caught me a lot of bugs
<polysics> gemmy: I am not a Rails expert, but can't you do something like to_xml.include(:comments)?
<polysics> I am sure something like that exists
<gemmy> wow, didn't know, thanks.
snovak has quit [Ping timeout: 264 seconds]
guiocavalcanti has joined #ruby
senayar has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
obanta has joined #ruby
dodosan has joined #ruby
swordsmanz has joined #ruby
Xeago_ has quit [Ping timeout: 250 seconds]
headius has quit [Quit: headius]
ericmathison has joined #ruby
carraroj has quit [Read error: Operation timed out]
tjad has joined #ruby
predator117 has joined #ruby
jan1337z is now known as jan1337zZz
bklane has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
bklane has joined #ruby
blackmesa has joined #ruby
ebouchut has joined #ruby
intuxicated has joined #ruby
pweems has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
intuxicated has quit [Max SendQ exceeded]
devoldmx has quit [Read error: Connection reset by peer]
ebouchut has quit [Client Quit]
s00pcan has joined #ruby
huoxito has joined #ruby
intuxicated has joined #ruby
Wildhoney has quit [Quit: Wildhoney]
apok has joined #ruby
intuxicated has quit [Max SendQ exceeded]
apeiros has joined #ruby
intuxicated has joined #ruby
maxmanders has joined #ruby
ebouchut has joined #ruby
polysics has quit [Quit: Leaving.]
intuxicated has quit [Max SendQ exceeded]
intuxicated has joined #ruby
intuxicated has quit [Max SendQ exceeded]
intuxicated has joined #ruby
duggiefresh has joined #ruby
thebastl has joined #ruby
pweems has quit [Ping timeout: 245 seconds]
intuxicated has quit [Max SendQ exceeded]
intuxicated has joined #ruby
DrCode has joined #ruby
intuxicated has quit [Max SendQ exceeded]
intuxicated has joined #ruby
intuxicated has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 240 seconds]
hiroyuki_ has joined #ruby
duggiefresh has quit [Quit: duggiefresh]
Ripp__ has joined #ruby
cj3kim has joined #ruby
hiroyuki has quit [Ping timeout: 264 seconds]
apok has quit [Quit: apok]
lkba has quit [Ping timeout: 245 seconds]
rcosta has quit [Read error: Operation timed out]
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
S0da has quit [Read error: Connection reset by peer]
visof has quit [Remote host closed the connection]
Squarepy has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
maxmanders has quit [Quit: Computer has gone to sleep.]
wesside has joined #ruby
Blue_Ice has quit [Ping timeout: 256 seconds]
sambao21 has joined #ruby
rcosta has joined #ruby
wmoxam has joined #ruby
predator117 has quit [Ping timeout: 256 seconds]
predator117 has joined #ruby
ixti has quit [Ping timeout: 245 seconds]
mrsolo has joined #ruby
newUser1234 has joined #ruby
Ripp__ has quit [Quit: Ripp__]
freedrull has joined #ruby
hasrb has joined #ruby
_honning_ has joined #ruby
jds_ has joined #ruby
stevefink_ has quit [Quit: .]
dodosan has quit [Remote host closed the connection]
Xaitec has quit [Remote host closed the connection]
helvete has quit [Quit: Leaving...]
newUser1234 has quit [Ping timeout: 276 seconds]
tommyvyo has quit [Ping timeout: 245 seconds]
cj3kim has quit [Remote host closed the connection]
kevinykchan has joined #ruby
virtualize has quit [Ping timeout: 268 seconds]
atyz has joined #ruby
polysics has joined #ruby
kevinykchan has quit [Client Quit]
maxmanders has joined #ruby
wmoxam has quit [Ping timeout: 240 seconds]
predator117 has quit [Ping timeout: 240 seconds]
giarc has joined #ruby
tomzx_mac has joined #ruby
hasrb has quit [Remote host closed the connection]
ixti has joined #ruby
polysics has quit [Ping timeout: 260 seconds]
predator117 has joined #ruby
tricon_ has joined #ruby
atyz has quit [Quit: Leaving...]
airtonix_ is now known as airtonix
mrsolo has quit [Quit: This computer has gone to sleep]
monkegjinni has quit [Remote host closed the connection]
Monie has joined #ruby
monkegjinni has joined #ruby
tylersmith has joined #ruby
tricon_ is now known as Triconium
maxmanders has quit [Quit: Computer has gone to sleep.]
marsLantern has joined #ruby
Wildhoney has joined #ruby
Tippler has joined #ruby
cads has quit [Read error: Operation timed out]
atmosx has quit [Ping timeout: 256 seconds]
senayar has joined #ruby
atmosx has joined #ruby
Tuxist has quit [Ping timeout: 264 seconds]
mwmnj has joined #ruby
predator117 has quit [Ping timeout: 260 seconds]
wargasm has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
predator117 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
senayar has quit [Ping timeout: 246 seconds]
tkuchiki has joined #ruby
danielfriedman has joined #ruby
ebouchut has joined #ruby
Tuxist has joined #ruby
lucazi_ has quit [Ping timeout: 264 seconds]
dodosan has joined #ruby
kek has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
marsLantern has quit [Quit: marsLantern]
s0ny123 has joined #ruby
Tuxist has quit [Remote host closed the connection]
endash has joined #ruby
jefflyne has joined #ruby
germanstudent has quit [Ping timeout: 276 seconds]
hasrb has joined #ruby
pskosinski has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
germanstudent has joined #ruby
Wildhoney has quit [Quit: Wildhoney]
philcrissman_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
marcgg has quit [Ping timeout: 245 seconds]
narcan has joined #ruby
guiocava_ has joined #ruby
endash has quit [Quit: endash]
BizarreCake has quit [Read error: Connection reset by peer]
wmoxam has joined #ruby
nomenkun has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
marcgg has joined #ruby
rippa has joined #ruby
philcrissman_ has quit [Ping timeout: 276 seconds]
Mon_Ouie has quit [Ping timeout: 245 seconds]
guiocavalcanti has quit [Ping timeout: 240 seconds]
caju has quit [Remote host closed the connection]
danielfriedman has quit [Quit: danielfriedman]
heftig has joined #ruby
endash has joined #ruby
lkba has joined #ruby
spike|spiegel has quit [Quit: WeeChat 0.4.1]
nomenkun has quit [Read error: Connection reset by peer]
endash has quit [Quit: endash]
nomenkun has joined #ruby
ryandeussing has quit [Remote host closed the connection]
thillux has quit [Quit: Leaving]
starfox21 has quit [Ping timeout: 248 seconds]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
s_e has quit [Quit: ZNC - http://znc.sourceforge.net]
mwmnj has quit [Quit: Textual IRC Client: www.textualapp.com]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
s_e has joined #ruby
maxmanders has joined #ruby
polysics has joined #ruby
lyanchih has joined #ruby
nomenkun has quit [Read error: No route to host]
guiocava_ is now known as guiocavalcanti
ehaliewicz has joined #ruby
rcosta_ has joined #ruby
polysics has quit [Ping timeout: 260 seconds]
fsck3r has joined #ruby
lyanchih has quit [Client Quit]
snovak has joined #ruby
rcosta has quit [Ping timeout: 264 seconds]
fsck3r has quit [Client Quit]
axeman- has quit [Ping timeout: 276 seconds]
nomenkun has joined #ruby
poga has quit [Remote host closed the connection]
zachrab has joined #ruby
obs has quit [Quit: Konversation terminated!]
gildo has quit [Ping timeout: 260 seconds]
pwh has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
scarolan has joined #ruby
caju has joined #ruby
baroquebobcat has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
vadelius has quit [Ping timeout: 245 seconds]
sayan has joined #ruby
predator117 has quit [Ping timeout: 240 seconds]
caju has quit [Ping timeout: 264 seconds]
predator117 has joined #ruby
fsck3r has joined #ruby
fsck3r has quit [Client Quit]
fsck3r has joined #ruby
sayan has quit [Max SendQ exceeded]
ssvo has joined #ruby
ntus1017 has joined #ruby
caju has joined #ruby
sayan has joined #ruby
nomenkun_ has joined #ruby
ssvo has joined #ruby
nomenkun has quit [Ping timeout: 248 seconds]
axeman- has joined #ruby
gildo has joined #ruby
wormwood has quit [Quit: WeeChat 0.4.1]
ssvo has quit [Quit: leaving]
Monie has quit [Read error: Connection reset by peer]
ssvo has joined #ruby
whowantstolivefo has joined #ruby
nomenkun_ has quit [Read error: Connection reset by peer]
ryandeussing has joined #ruby
rcosta has joined #ruby
sparq_ has joined #ruby
endash has joined #ruby
rcosta_ has quit [Ping timeout: 276 seconds]
Evixion has quit [Read error: Connection reset by peer]
Davey has joined #ruby
bnagy has quit [Ping timeout: 264 seconds]
bnagy has joined #ruby
nomenkun has joined #ruby
headius has joined #ruby
gildo has quit [Ping timeout: 260 seconds]
jds_ has quit [Remote host closed the connection]
vadelius has joined #ruby
philcrissman_ has joined #ruby
endash has quit [Client Quit]
carraroj has joined #ruby
Evixion has joined #ruby
wormwood has joined #ruby
philcrissman_ has quit [Ping timeout: 276 seconds]
jds_ has joined #ruby
iliketur_ has joined #ruby
carraroj has quit [Ping timeout: 260 seconds]
rcosta has quit [Remote host closed the connection]
blackmesa has joined #ruby
danielfriedman has joined #ruby
sayan has quit [Ping timeout: 240 seconds]
alpha123 has quit [Ping timeout: 264 seconds]
huevon has joined #ruby
sayan has joined #ruby
intuxicated has joined #ruby
carraroj has joined #ruby
vlad_starkov has joined #ruby
_honning_ has quit [Read error: Operation timed out]
fsck3r has quit [Quit: Leaving...]
endash has joined #ruby
starfox21 has joined #ruby
vadelius has quit [Ping timeout: 245 seconds]
binaryplease has joined #ruby
kvirani has quit [Remote host closed the connection]
araujo has quit [Read error: Connection reset by peer]
kvirani has joined #ruby
araujo has joined #ruby
rcosta has joined #ruby
cody-- has joined #ruby
nitish has joined #ruby
Spami has joined #ruby
Monie has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
graft is now known as Guest53117
polysics has joined #ruby
browndawg has left #ruby [#ruby]
Companion is now known as companion
ssvo has quit [Ping timeout: 264 seconds]
agjacome has joined #ruby
headius has quit [Quit: headius]
vadelius has joined #ruby
polysics has quit [Ping timeout: 245 seconds]
rickruby has quit [Remote host closed the connection]
axeman- has quit [Remote host closed the connection]
_JamieD_ has joined #ruby
fsck3r has joined #ruby
snovak has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
rcosta has quit [Remote host closed the connection]
i_s has joined #ruby
threesome has joined #ruby
aef has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 264 seconds]
katselphrime has joined #ruby
Targen has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Guest83359 has quit [Read error: Connection reset by peer]
rcosta has joined #ruby
binaryplease has quit [Quit: WeeChat 0.4.1]
blackmesa has joined #ruby
monkegjinni has quit [Remote host closed the connection]
altamic has joined #ruby
DanKnox_away is now known as DanKnox
altamic has left #ruby [#ruby]
pweems has joined #ruby
Nitrodex has joined #ruby
monkegjinni has joined #ruby
companion is now known as Companion
Nitrodex is now known as Guest36251
philcrissman_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
Ripp__ has joined #ruby
kvirani has joined #ruby
nomenkun has quit [Remote host closed the connection]
yacks has quit [Ping timeout: 260 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
danielfriedman has quit [Quit: danielfriedman]
OZzl has quit [Read error: Connection reset by peer]
mneorr_ has joined #ruby
fsck3r has quit [Quit: Leaving...]
_JamieD_ has quit [Quit: _JamieD_]
OZzl has joined #ruby
<dnyy> so if I have an array of objects, how can i split them into separate arrays objects with foo is "a" go in one array, foo is "b" goes in another, and so on?
blackmesa has quit [Ping timeout: 240 seconds]
Megtastique has joined #ruby
<dnyy> without knowing the amount of new arrays that will be created*
ssvo has joined #ruby
yacks has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<apeiros> I don't quite get by what rule you want to split
<apeiros> maybe make an example of in/output?
mneorr has quit [Ping timeout: 245 seconds]
endash has quit [Quit: endash]
Nisstyre has quit [Quit: Leaving]
<dnyy> basically, i have a bunch of active records in an array. i want the output to be [ [ created_thursday, created_thursday ], [ created_friday], [ created_saturday ] ] if that makes sense. basically into different arrays by the created_at field.
<dnyy> i guess i could brute force it, but i'm wondering if there's any method on array or something that'd help (couldn't find anything useful in the docs)
Nisstyre has joined #ruby
Nisstyre has quit [Client Quit]
fsck3r has joined #ruby
carraroj has quit [Ping timeout: 276 seconds]
cody-- has quit [Quit: Computer has gone to sleep.]
<Morrolan> >> [[:a, 1], [:b, 2], [:a, 3], [:c, 4], [:a, 5]].group_by { |arry| arry[0] }
<eval-in> Morrolan => {:a=>[[:a, 1], [:a, 3], [:a, 5]], :b=>[[:b, 2]], :c=>[[:c, 4]]} (https://eval.in/44854)
<Morrolan> dnyy: Is that something you could work with? :)
crankycoder has quit [Read error: Operation timed out]
<dnyy> Morrolan: hm, looks like it. i'll give a go, thanks. :D
<Morrolan> :)
kvirani has quit [Ping timeout: 276 seconds]
monkegjinni has quit [Remote host closed the connection]
ssvo has quit [Ping timeout: 264 seconds]
Nisstyre has joined #ruby
kaldrenon has joined #ruby
rickruby has joined #ruby
zachrab has quit [Remote host closed the connection]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
amacgregor has joined #ruby
Nisstyre has quit [Read error: Connection reset by peer]
freakazoid0223 has left #ruby ["Leaving"]
Nisstyre has joined #ruby
Xaitec has joined #ruby
rcosta has quit [Remote host closed the connection]
<dnyy> here we go: Company.last.full_versions.group_by { |x| x.created_at.to_date }.values.to_a
<dnyy> thanks again
jds_ has quit [Remote host closed the connection]
kaldrenon has quit [Ping timeout: 276 seconds]
<Nilium> Hash#values already returns an array.
jbpros has joined #ruby
<Nilium> to_a is pointless in that case.
Nisstyre has quit [Read error: Connection reset by peer]
<dnyy> aah. ended up needing the keys anyway, lol
<Orxata_> another violation in India, jesus christ
<Nilium> Violation?
<Orxata_> rape
<Nilium> Ah.
<Orxata_> sorry, english is not my first languaje
Nisstyre has joined #ruby
<Orxata_> language*
siaW has quit [Quit: siaW]
wmoxam has quit [Ping timeout: 256 seconds]
<Nilium> I'm pretty sure there's quite a few of those in India and you just don't know about the majority.
rickruby has quit [Ping timeout: 260 seconds]
iliketur_ has quit [Quit: zzzzz…..]
<Orxata_> that's true
Davey has quit [Quit: Computer has gone to sleep.]
<Orxata_> but one rape is enough
Xaitec has quit [Remote host closed the connection]
Xaitec has joined #ruby
crankycoder has joined #ruby
airtonix has quit [Ping timeout: 256 seconds]
airtonix has joined #ruby
Xaitec has quit [Remote host closed the connection]
intuxicated has quit [Quit: Leaving]
caju has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
dodosan has quit [Remote host closed the connection]
s_e has quit [Quit: ZNC - http://znc.sourceforge.net]
s_e has joined #ruby
hasrb has quit [Remote host closed the connection]
airtonix_ has joined #ruby
carraroj has joined #ruby
airtonix has quit [Ping timeout: 240 seconds]
hadees has joined #ruby
newUser1234 has joined #ruby
polysics has joined #ruby
caju has joined #ruby
starfox21 has quit [Quit: starfox21]
vlad_sta_ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
Megtastique has quit [Quit: Megtastique]
starfox21 has joined #ruby
alpha123 has joined #ruby
polysics has quit [Ping timeout: 248 seconds]
rickmasta has quit [Quit: Leaving...]
cody-- has joined #ruby
nicoulaj has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
Megtastique has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
<shevy> wow
<shevy> lua lua-5.2.2.tar.xz
<shevy> 198K in size
snovak has joined #ruby
Triconium has quit [Quit: Leaving...]
ananthakumaran has quit [Quit: Leaving.]
<shevy> hmmm
<shevy> mruby is not much larger though
<shevy> mruby-master.tar.xz 206K
robustus has joined #ruby
airtonix_ has quit [Ping timeout: 256 seconds]
<shevy> compared to ... ruby-2.0.0p247.tar.xz 8.0M
kaspergrubbe has quit [Remote host closed the connection]
Squarepy has quit [Quit: Leaving]
akells`` has joined #ruby
snovak has quit [Read error: Operation timed out]
<jrobeson> lua's stadard library is a ton smaller than ruby..
<jrobeson> like waaaay smaller
Es0teric has joined #ruby
starfox21 has quit [Quit: starfox21]
airtonix has joined #ruby
fsck3r has quit [Quit: Leaving...]
senayar has joined #ruby
lukec has quit [Quit: lukec]
Blue_Ice has joined #ruby
jds_ has joined #ruby
marcgg has quit [Read error: Connection reset by peer]
caju has quit [Remote host closed the connection]
marcgg has joined #ruby
senayar has quit [Ping timeout: 246 seconds]
<waxjar> will mruby have a stdlib? it doesn't have require, right
lotherk has joined #ruby
setient has quit [Ping timeout: 245 seconds]
setient has joined #ruby
<shevy> hmm
pweems has quit [Ping timeout: 240 seconds]
<shevy> how can people load addons in mruby?
kham has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<waxjar> seems like there is a mruby-require project
<alpha123> lua is just a much simpler language than ruby, I'm not surprised it's tiny. It's also much less useful, in general. (Not saying it's useless -- on the contrary, I like Lua a lot)
lotherk has quit [Ping timeout: 248 seconds]
cape_2005 has joined #ruby
lyanchih has joined #ruby
mercwithamouth has joined #ruby
thebastl has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
djdeluxe76 has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
rcosta has joined #ruby
dodosan has joined #ruby
monkegjinni has joined #ruby
djdeluxe76 is now known as Munster
cody-- has joined #ruby
Xaitec has joined #ruby
r0bglees0n has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
pweems has joined #ruby
cody-- has quit [Client Quit]
marcgg_ has joined #ruby
cape_2005 has quit [Quit: Verlassend]
marcgg has quit [Ping timeout: 256 seconds]
monkegjinni has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
nomenkun has joined #ruby
rickruby has joined #ruby
ssvo has joined #ruby
lyanchih has quit [Quit: lyanchih]
nomenkun has quit [Ping timeout: 240 seconds]
rcosta has quit [Ping timeout: 240 seconds]
sparq_ has joined #ruby
rickruby has quit [Ping timeout: 264 seconds]
vlad_sta_ has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
Ripp__ has quit [Quit: Ripp__]
infecto has joined #ruby
sambao21 has joined #ruby
sayonarauniverse has joined #ruby
sayan has quit [Quit: Leaving]
Megtastique has quit [Quit: Megtastique]
s00pcan has quit [Remote host closed the connection]
sambao21 has quit [Ping timeout: 246 seconds]
smoothbutta has joined #ruby
smoothbu_ has quit [Read error: Connection reset by peer]
carraroj has quit [Quit: Konversation terminated!]
fsck3r has joined #ruby
newUser1234 has quit [Remote host closed the connection]
gemmy has quit [Quit: homehomehome]
akells`` is now known as akells
polysics has joined #ruby
freeayu has joined #ruby
pwh has quit [Quit: pwh]
katselphrime has quit [Quit: WeeChat 0.3.7]
baroquebobcat has joined #ruby
sventon has quit [Remote host closed the connection]
newUser1234 has joined #ruby
polysics has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
ssvo has quit [Ping timeout: 260 seconds]
vlad_starkov has joined #ruby
xk_id has quit [Ping timeout: 264 seconds]
monkegjinni has joined #ruby
bricker has quit [Ping timeout: 264 seconds]
snovak has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
ch_ has joined #ruby
ch_ has quit [Remote host closed the connection]
ch_ has joined #ruby
xk_id has joined #ruby
platzhirsch has left #ruby [#ruby]
Companion is now known as companion
kaspergrubbe has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 245 seconds]
Notte has quit [Remote host closed the connection]
newUser1234 has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
Quashie has quit [Ping timeout: 246 seconds]
baroquebobcat has joined #ruby
duggiefresh_ has joined #ruby
mansi_ has quit [Remote host closed the connection]
mansi has joined #ruby
fsck3r has quit [Quit: Leaving...]
spider-mario has quit [Remote host closed the connection]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
kham has quit [Quit: WeeChat 0.4.1]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
mansi has quit [Ping timeout: 248 seconds]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
fsck3r has joined #ruby
caju has joined #ruby
pwh has joined #ruby
Xeago has joined #ruby
duggiefresh_ has quit [Quit: duggiefresh_]
baroquebobcat has quit [Quit: baroquebobcat]
wesside has quit [Ping timeout: 256 seconds]
milardovich has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
siaW has joined #ruby
<shevy> hmm
<shevy> know what would be funny
<shevy> object.method1
<shevy> object.method2
<shevy> object.(method1|method2)
<shevy> nah
<shevy> too ugly
anonymuse has joined #ruby
Vivekananda has joined #ruby
druonysuse has joined #ruby
druonysuse has joined #ruby
druonysuse has quit [Changing host]
mansi has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
aaronmcadam has joined #ruby
sambao21 has joined #ruby
fsck3r has quit [Quit: Linkinus - http://linkinus.com]
argentum has joined #ruby
guiocava_ has joined #ruby
guiocavalcanti has quit [Ping timeout: 256 seconds]
timonv has quit [Remote host closed the connection]
Monie has joined #ruby
baroquebobcat has joined #ruby
meekohi has joined #ruby
jbpros has quit [Quit: jbpros]
<alpha123> shevy: LiveScript does something like object ..method1 ..method2 which I sort of like
<shevy> hmm
blandflakes has joined #ruby
<shevy> interesting
<alpha123> I think I'd favor something like "context (object) { method1; method2 }" though
jds_ has quit [Remote host closed the connection]
<alpha123> i.e. just a simple helper function
meekohi has left #ruby [#ruby]
jds_ has joined #ruby
<Morrolan> What exactly would that do? Invoke the supplied methods on the objects, and return waht?
<alpha123> I think the helper would only be useful if you were calling a ton of methods on one object though :/
<alpha123> Morrolan: Yeah. I guess it would return the value of the last one, I guess?
ssvo has joined #ruby
meekohi has joined #ruby
<Morrolan> So, uh, similar to [:method_1, :method_2].map { |method| object.send(method) }.last ?
mengu has joined #ruby
<Morrolan> I believe one of the .NET languages has something like this, but I might be mistaken.
rhys has joined #ruby
<rhys> i often see functional calls that are like 'method blah => :stuff'
<alpha123> Morrolan: ...Yeah, exactly like that. Cool. :)
<rhys> anyone know what thats called or why people are using it?
wesside has joined #ruby
meekohi has left #ruby [#ruby]
Quashie has joined #ruby
<Morrolan> Ah, yes, VB.NET's 'with' block was what I was thinking of: http://msdn.microsoft.com/en-us/library/wc500chb.aspx
<alpha123> Morrolan: Doesn't VB's `with` work like JavaScript's `with`? Namely, causes all sorts of weird scoping problems?
<Morrolan> It's been a long time since I used VB.NET for the last time, and I never really was proficient with it.
<Morrolan> So I don't know. :)
<Mon_Ouie> Smalltalk has cascade syntax
futilegames has quit [Quit: futilegames]
<banisterfiend> Mon_Ouie hello, what's up
<Mon_Ouie> Python has a 'with', but I'm not sure it does that anymore (if it does, it also handles closing files automatically for example)
s0ny123 has quit [Quit: Lost terminal]
<alpha123> Mon_Ouie: Did SmallTalk have cascade syntax or did all methods just return `this` by default?
<Mon_Ouie> It has a cascade syntax
<alpha123> Mon_Ouie: Python's with is not really related to VB or JS with.
<alpha123> Ah, okay
tricon_ has joined #ruby
<Mon_Ouie> object method1; method2.
<banisterfiend> Mon_Ouie what is cascade syntax
<shevy> Morrolan I was thinking of that it could return an array, with all results bundled together from (method1|method2|method3) call
<Morrolan> shevy: Ah, I see. So a shortcut for map + send. :)
<Mon_Ouie> banisterfiend: It's to avoid repeating the receiver when you want to send a bunch of messages to the same one
<banisterfiend> Mon_Ouie oh ok, that's only useful when the method doesn't return self right?
<alpha123> yup
xk_id has quit [Read error: Operation timed out]
<shevy> huh
<shevy> that's how it looks in smalltalk
<shevy> Window new
<shevy> label: 'Hello';
<shevy> open
bklane has quit [Remote host closed the connection]
<shevy> "A cascade sends multiple messages to the same receiver"
xk_id has joined #ruby
kvirani has joined #ruby
polysics has joined #ruby
Quashie has quit [Ping timeout: 246 seconds]
ntus1017 has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
i_s has quit [Remote host closed the connection]
milardovich has quit [Quit: Leaving]
sparq_ has quit [Ping timeout: 264 seconds]
mydog2 has joined #ruby
polysics has quit [Ping timeout: 246 seconds]
jds_ has quit [Remote host closed the connection]
<mydog2> possible off topic question.. but anyone know of a site wht find a local (louisville,ky) ruby tutor?here i mig
xk_id has quit [Ping timeout: 276 seconds]
jds_ has joined #ruby
<mydog2> possible off topic question.. but anyone know of a site where i might find a local (louisville,ky) ruby tutor?
kvirani has quit [Ping timeout: 276 seconds]
xk_id has joined #ruby
blackmesa has joined #ruby
Matriks has joined #ruby
Davey has joined #ruby
bdscvr has joined #ruby
Ripp__ has joined #ruby
snovak has joined #ruby
Quashie has joined #ruby
<rhys> does anyone know what the syntax that is 'methodcall stuff => :blah' is supposed to be? it doesn't cause a syntax error, which is strange
jds_ has quit [Ping timeout: 264 seconds]
<Morrolan> That definitely is a syntax error.
<Morrolan> >> 'asdf'.upcase => :foo
<eval-in> Morrolan => /tmp/execpad-396d31027a91/source-396d31027a91:2: syntax error, unexpected =>, expecting keyword_end ... (https://eval.in/44889)
<Morrolan> Got a concrete example?
Davey has quit [Ping timeout: 264 seconds]
snovak has quit [Ping timeout: 264 seconds]
tricon_ has quit [Quit: Linkinus - http://linkinus.com]
tricon_ has joined #ruby
<shevy> rhys perhaps a hash in an argument to a method
aaronmcadam has quit [Quit: Leaving...]
<shevy> methodcall({ stuff => :blah })
<shevy> in an/as an
maxmanders has joined #ruby
<Morrolan> Oh, in this case I mis-interpreted his description of the code.
<Morrolan> (Which proves that actual code is preferable to describing how it looks, eh. :P)
Quashie has quit [Ping timeout: 276 seconds]
mansi has quit [Remote host closed the connection]
klaut has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
gyzmodo has quit []
ssvo has quit [Ping timeout: 245 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
sambao21 has joined #ruby
postmodern has joined #ruby
pkrnj has joined #ruby
tricon_ has quit [Quit: Linkinus - http://linkinus.com]
baroquebobcat has joined #ruby
sparq_ has joined #ruby
singularity9 has quit [Read error: Connection reset by peer]
<existensil> Isn't Louisville, KY where Ernie Miller lives? He's an amazing dev, but I'm guessing you'd have to pay a lot to get him to tutor.
popl has joined #ruby
Jake232 has joined #ruby
tkuchiki has joined #ruby
singularity9 has joined #ruby
i_s has joined #ruby
lotherk has joined #ruby
bdscvr has left #ruby [#ruby]
jds_ has joined #ruby
lotherk has quit [Client Quit]
lotherk has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
soulcake has joined #ruby
Monie has quit [Ping timeout: 240 seconds]
xk_id has quit [Ping timeout: 240 seconds]
siaW has quit [Quit: siaW]
ferdev has joined #ruby
ferdev has quit [Client Quit]
Deele has quit [Quit: User excited]
Quashie has joined #ruby
newUser1234 has joined #ruby
sambao21 has quit [Ping timeout: 264 seconds]
akells has quit [Remote host closed the connection]
i_s has quit [Ping timeout: 260 seconds]
Monie has joined #ruby
metrix has joined #ruby
_veer has quit [Ping timeout: 260 seconds]
huoxito has quit [Quit: Leaving]
akells has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
ch_ has quit [Remote host closed the connection]
xk_id has joined #ruby
rcosta has joined #ruby
Quashie_ has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby
<metrix> I am using Thread.pool to do some things in a threaded manner. at this point I can display the data, but I would like to do something with the result of each thread in the primary app. How do I pass data from a thread back to the application?
Quashie has quit [Ping timeout: 245 seconds]
akells has quit [Remote host closed the connection]
<metrix> I was thinking of something along the lines of "results.each do |x|" as the results come in, but i'm not sure how to go about that
xk_id has quit [Ping timeout: 276 seconds]
<Spitfire> metrix, do you want to pass the data while the thread is still doing it's stuff, or are you happy to return it once the thread has finished?
akells has joined #ruby
xk_id has joined #ruby
pwh has quit [Quit: pwh]
<shevy> hmm anyone has an idea for requiring a module and auto-including this upon requiring? how to accomplish that?
nicoulaj has quit [Remote host closed the connection]
<MrZYX> like always for that module or arbitrarily for any module?
maxmanders has quit [Quit: Computer has gone to sleep.]
<metrix> spitfire: I was thinking while it's still running.. but i would be OK with completing everything after
<shevy> MrZYX only for that module that is required. I am thinking of having this like so (just thinking): require 'foobar' <--- normal way to include it require 'foobar/autoinclude' <--- automatically do include Foobar upon require, somehow... I am unsure if that is even possible though
wmoxam has joined #ruby
<Spitfire> metrix, hmm, well. In general terms the normal way to pass stuff from a thread back to the main instance is to use "return datavariable" to terminate the thread.
<MrZYX> shevy: can't you just include the module in the file you're requiring?
<MrZYX> main is the same object everywhere, isn't it?
<Spitfire> And you collect that by calling .join on the thread (from the main thread), which makes the main thread wait until you get the return before continuing.
pkrnj has quit [Quit: Computer has gone to sleep.]
lkba has quit [Ping timeout: 264 seconds]
<metrix> spitfire: I see
<Spitfire> So something like thr = thread.new(return "hello"); var = thr.join; print var;
<shevy> MrZYX yeah I could include it, it's a bit tedious though
<Spitfire> Would output "hello"
hamakn has quit [Ping timeout: 245 seconds]
<shevy> class Foo1; include Shared ... class Foo2; include Shared
<Spitfire> Ages since I've programmed though, so I probably can't help you on the specifics much.
<Spitfire> But that's the theory! :p
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<metrix> LOL
<metrix> Spitfire: Thank you for the help!
Matriks has quit [Remote host closed the connection]
<Spitfire> I'm sure you can find quite a lot on google if you just search for "joining threads" and such like.
<Spitfire> No worries.
Xaitec has quit [Remote host closed the connection]
rcosta has quit [Remote host closed the connection]
optimusprimem has quit [Ping timeout: 245 seconds]
ch_ has joined #ruby
hamakn has joined #ruby
polysics has joined #ruby
<Spitfire> metrix, fwiw, you can do some magic to allow you to pass data back while the thread is still running.
ch_ has joined #ruby
<Spitfire> But that's only because ruby is magic. A lot of languages can't really do that smoothly.
<metrix> I see
<Spitfire> And tbh you run into quite a lot of difficulties / race conditions / etc if it's not done properly.
<metrix> I will look into it some more :)
Rym has quit [Ping timeout: 245 seconds]
polysics has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
newUser1234 has quit [Remote host closed the connection]
guiocava_ has quit [Remote host closed the connection]
s00pcan has joined #ruby
snovak has joined #ruby
xk_id has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
MrZYX is now known as MrZYX|off
xk_id has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
agjacome has quit [Quit: leaving]
S0da has joined #ruby
optimusprimem has joined #ruby
ch_ has quit [Remote host closed the connection]
|PiP| has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
rgbdev has joined #ruby
wmoxam has quit [Ping timeout: 245 seconds]
anonymuse has quit [Remote host closed the connection]
larissa has joined #ruby
pygospa has quit [Disconnected by services]
TheRealPygo has joined #ruby
huevon has quit [Quit: WeeChat 0.4.1]
guiocavalcanti has joined #ruby
druonysuse has quit [Read error: Connection reset by peer]
druonysuse has joined #ruby
druonysuse has joined #ruby
druonysuse has quit [Changing host]
pweems has quit [Ping timeout: 246 seconds]
s00pcan has quit [Remote host closed the connection]
guiocavalcanti has quit [Read error: No route to host]
duracrisis has joined #ruby
guiocavalcanti has joined #ruby
ssvo has joined #ruby
s00pcan has joined #ruby
mansi has joined #ruby
atno has quit [Ping timeout: 264 seconds]
dodosan has quit [Remote host closed the connection]
metrix has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]]
Rym has joined #ruby
mansi has quit [Ping timeout: 276 seconds]
atno has joined #ruby
s00pcan has quit [Ping timeout: 264 seconds]
eka has quit [Quit: Computer has gone to sleep.]
monkegjinni has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
ch_ has joined #ruby
ch_ has quit [Remote host closed the connection]
ch_ has joined #ruby
monkegjinni has joined #ruby
druonysuse has quit [Read error: Connection reset by peer]
pwh has joined #ruby
klaut has quit [Ping timeout: 260 seconds]
pwh has quit [Max SendQ exceeded]
druonysuse has joined #ruby
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
akells has quit [Remote host closed the connection]
klaut has joined #ruby
Wildhoney has joined #ruby
monkegjinni has quit [Remote host closed the connection]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
druonysuse has quit [Client Quit]
druonysus has joined #ruby
caju has quit [Remote host closed the connection]
adeponte has joined #ruby
adeponte has quit [Remote host closed the connection]
adeponte has joined #ruby
yfeldblum has joined #ruby
Villadelfia has quit [Read error: Connection reset by peer]
pitzips has joined #ruby
argentum has quit [Quit: argentum]
adeponte has quit [Ping timeout: 245 seconds]
s00pcan has joined #ruby
klaut_ has joined #ruby
Villadelfia has joined #ruby
klaut has quit [Ping timeout: 245 seconds]
cody-- has joined #ruby
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
staafl has quit [Ping timeout: 248 seconds]
rhys has quit [Quit: Ex-Chat]
MadMao has joined #ruby
rcosta has joined #ruby
infecto has quit [Ping timeout: 260 seconds]
Rym has quit [Ping timeout: 276 seconds]
polysics has joined #ruby
xk_id has quit [Quit:
vlad_starkov has quit [Remote host closed the connection]
s00pcan has quit [Quit: Lost terminal]
dodosan has joined #ruby
infecto has joined #ruby
blackmesa has joined #ruby
gildo has joined #ruby
polysics has quit [Ping timeout: 276 seconds]
rickruby has joined #ruby
predator217 has joined #ruby
gossfunkel has joined #ruby
ch_ has quit [Remote host closed the connection]
snovak has joined #ruby
predator117 has quit [Ping timeout: 245 seconds]
dodosan has quit [Ping timeout: 246 seconds]
rickruby has quit [Ping timeout: 240 seconds]
adeponte has joined #ruby
iamjarvo has joined #ruby
SteveBenner09 has joined #ruby
alpha123 has quit [Quit: Lost terminal]
newUser1234 has joined #ruby
snovak has quit [Ping timeout: 248 seconds]
t0rc has joined #ruby
druonysus has quit [Read error: Connection reset by peer]
druonysus has joined #ruby
newUser1234 has quit [Ping timeout: 245 seconds]
atyz has joined #ruby
Ripp__ has quit [Quit: Ripp__]
klaut_ has quit [Remote host closed the connection]