apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
sepp2k1 has joined #ruby
St_Marx has joined #ruby
frank_____ has quit [Quit: Connection closed for inactivity]
sepp2k has quit [Ping timeout: 244 seconds]
phutchins has quit [Ping timeout: 264 seconds]
lmickh has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
gverri has joined #ruby
yfeldblum has joined #ruby
<Georg3> This is kind of an odd question but I'm going through these ruby tutorials and I can solve problems but they are usually very convoluted. I look at the solution a professional comes up with and it's far more simplified and clean. It's a hard question to answer but do you guys ever get this and if so is there anything that helps you advance yourself?
dukedave has quit [Ping timeout: 244 seconds]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby
Guest7481 has joined #ruby
enebo has quit [Quit: enebo]
testcore has quit [Quit: BitchX: the IRC client with hair on its balls]
stytown has joined #ruby
<AntelopeSalad> Georg3: i have this problem too at times, i guess the best bet is to become very familiar with the methods that ruby offers you
djbkd has joined #ruby
snath has joined #ruby
bmurt has quit []
mknight has joined #ruby
<Georg3> AntelopeSalad: hmm alright, appreciate the advice. It's just frustrating =P , I think I need to take like 5 extra minutes and see if I can further break down the problem.
sdouglas has quit [Ping timeout: 252 seconds]
<mknight> Digital Crypto and Random Bit Generator - www.tag.md/public/
mknight has left #ruby [#ruby]
<AntelopeSalad> yeah i know the feeling, just 30min ago i was ready to write like 100 lines of horrible but working code , but ruby had a built in that let me do it in 2 lines
dshaw has joined #ruby
fgo has joined #ruby
dshaw has left #ruby [#ruby]
Valesk_ has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rlazoti has joined #ruby
kerem_kerem has left #ruby [#ruby]
nectarys has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
meth has joined #ruby
b00stfr3ak has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 245 seconds]
blackmes2 has quit [Ping timeout: 240 seconds]
davispuh has quit [Remote host closed the connection]
nectarys_ has joined #ruby
d34th4ck3r has joined #ruby
codeurge has joined #ruby
<Georg3> well it's good to hear I'm not the only one =)
nectarys_ has quit [Read error: Connection reset by peer]
rebelshrug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
binaryhat has joined #ruby
nectarys_ has joined #ruby
beneggett has joined #ruby
nectarys has quit [Ping timeout: 264 seconds]
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codeurge has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
edgarjs is now known as edgarjs_afk
j_mcnally has quit [Ping timeout: 244 seconds]
axl_ has joined #ruby
nectarys_ has quit [Ping timeout: 240 seconds]
pu22l3r has quit [Remote host closed the connection]
ddv has quit [Ping timeout: 245 seconds]
scarolan has quit [Quit: leaving]
axl_ has quit [Client Quit]
Hanmac1 has joined #ruby
oo_ has joined #ruby
pu22l3r has joined #ruby
ddv has joined #ruby
mercwithamouth has quit [Ping timeout: 244 seconds]
lagbox has joined #ruby
CaptainJet has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
Hanmac has quit [Ping timeout: 240 seconds]
gverri has joined #ruby
Georg3 has quit [Quit: Georg3]
kireevco has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
zz_karupa is now known as karupa
bartdorsey has quit [Remote host closed the connection]
dwayhs_ has joined #ruby
MZAWeb has joined #ruby
bartdorsey has joined #ruby
ghr has joined #ruby
bradhe has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
prathame_ has joined #ruby
pu22l3r has quit [Remote host closed the connection]
datafirm has quit [Quit: Computer has gone to sleep.]
datafirm has joined #ruby
oo_ has quit [Remote host closed the connection]
tyfighter has quit [Quit: <3]
dwayhs_ has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
benzrf is now known as benzrf|offline
ghr has quit [Ping timeout: 244 seconds]
sdouglas has joined #ruby
VeinMelted has joined #ruby
little_f_ has quit [Remote host closed the connection]
timonv has joined #ruby
MZAWeb has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
sdouglas has quit [Read error: Connection reset by peer]
datafirm has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby
meth has quit [Quit: Page closed]
ponga has joined #ruby
Guest7481 has quit [Quit: Guest7481]
Hanmac1 has quit [Ping timeout: 264 seconds]
mercwithamouth has joined #ruby
VeinMelted has quit [Ping timeout: 255 seconds]
lewix has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
lewix has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
GriffinHeart has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby
prathame_ has quit [Remote host closed the connection]
Shidash1 has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vt102 has quit [Remote host closed the connection]
prathame_ has joined #ruby
Shidash has quit [Ping timeout: 255 seconds]
foooobear has joined #ruby
acl_ has joined #ruby
Guest7481 has joined #ruby
sevenseacat has joined #ruby
arrubin has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
acl_ has quit [Client Quit]
bmurt has quit []
pasties has quit [Ping timeout: 252 seconds]
axl_ has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
lewix has quit [Ping timeout: 244 seconds]
oo_ has joined #ruby
Hobogrammer has joined #ruby
djbkd has quit [Remote host closed the connection]
sepp2k1 has quit [Read error: Connection reset by peer]
prathame_ has quit [Ping timeout: 245 seconds]
dwayhs_ has joined #ruby
rayners has quit [Ping timeout: 244 seconds]
pasties has joined #ruby
foooobear has quit [Ping timeout: 255 seconds]
Hanmac has joined #ruby
gregf has quit [Read error: Connection reset by peer]
Guest7481 has quit [Quit: Guest7481]
bmurt has joined #ruby
moritzschaefer has joined #ruby
yubrew has joined #ruby
yetanotherdave has quit [Read error: Connection reset by peer]
marr has quit []
binaryhat has quit [Quit: Leaving]
dwayhs_ has quit [Ping timeout: 240 seconds]
geggam has joined #ruby
moritzs has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
benzrf|offline is now known as benzrf
wowXD has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
kireevco has quit [Quit: Leaving.]
datafirm has joined #ruby
JasonG_ has quit [Ping timeout: 244 seconds]
little_fu has joined #ruby
PanPan has joined #ruby
datafirm_ has joined #ruby
timgauthier has joined #ruby
bmurt has quit []
djbkd has joined #ruby
wowXD has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
bmurt has joined #ruby
djbkd has quit [Remote host closed the connection]
little_fu has quit [Ping timeout: 244 seconds]
moritzschaefer has quit [Ping timeout: 244 seconds]
<icarus> hello all
datafirm has quit [Ping timeout: 244 seconds]
<icarus> can anyone tell me what is wrong with this case statement?
razum2um has quit [Quit: Leaving.]
razum2um has joined #ruby
djbkd has joined #ruby
<ari-_-e> icarus: well it seems pretty pointless, seeing as you only have one case...
<icarus> ari-_-e: there are others, i just cut them out
<ari-_-e> other than that I don't see anything wrong with the case itself
<ari-_-e> your indentation is pretty wonky
<icarus> it is part of a chef recipe
<icarus> only the first statement is being executed
<icarus> the last 2 are ignored
djbkd has quit [Remote host closed the connection]
bradhe has joined #ruby
TripTastic has joined #ruby
<ari-_-e> the first statement being execute "cp parameters.yml" do ... end ?
<icarus> ari-_-e: yea
Takle has joined #ruby
sdouglas has joined #ruby
mijicd has quit [Remote host closed the connection]
<ari-_-e> well I don't know chef, but I don't see any reason why the rest wouldn't be executed
flowerhack has quit [Quit: Connection closed for inactivity]
babykosh has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
<ari-_-e> how are you telling whether or not it's being executed? is it primarily with the "script" thing?
Hanmac has quit [Ping timeout: 240 seconds]
Takle has quit [Ping timeout: 240 seconds]
fgo has joined #ruby
yetanotherdave has joined #ruby
Guest7481 has joined #ruby
datafirm_ has quit [Quit: Computer has gone to sleep.]
aniM has quit [Ping timeout: 240 seconds]
<icarus> ari-_-e: thats a small test, and i also see the chef-solo output
<icarus> also, mysql never gets installed
Guest7481 has quit [Client Quit]
bradhe has quit [Remote host closed the connection]
TDJACR has quit [Quit: ZNC - http://znc.in]
fgo has quit [Ping timeout: 244 seconds]
bradhe has joined #ruby
cobakobodob has quit [Ping timeout: 272 seconds]
Guest0852 has joined #ruby
failshell has joined #ruby
EasyCo has joined #ruby
wowXD has joined #ruby
d34th4ck3r has quit [Quit: zzz]
TDJACR has joined #ruby
Guest0852 has quit [Client Quit]
TDJACR has quit [Changing host]
TDJACR has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
lewix has joined #ruby
GriffinHeart has joined #ruby
sdouglas has quit [Remote host closed the connection]
Guest0852 has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
bricker`work has quit [Ping timeout: 244 seconds]
robustus has quit [Ping timeout: 252 seconds]
tkuchiki has joined #ruby
george2 has quit [Remote host closed the connection]
failshell has quit [Remote host closed the connection]
robustus has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
yetanotherdave has quit [Read error: Connection reset by peer]
ghr has joined #ruby
Xeago has quit [Ping timeout: 244 seconds]
yetanotherdave has joined #ruby
axisys has quit [Ping timeout: 264 seconds]
tokik has joined #ruby
saarinen has quit [Quit: saarinen]
kaspergrubbe has quit [Remote host closed the connection]
Hanmac has joined #ruby
mjsmith2 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
VeinMelted has joined #ruby
robbyoconnor has joined #ruby
troyready has quit [Ping timeout: 245 seconds]
d34th4ck3r has joined #ruby
Hanmac1 has joined #ruby
Royalb15 has quit [Quit: Leaving]
Hanmac has quit [Ping timeout: 255 seconds]
VeinMelted has quit [Ping timeout: 240 seconds]
razum2um has quit [Quit: Leaving.]
razum2um has joined #ruby
codeurge has joined #ruby
rlazoti has quit [Quit: Lingo - http://www.lingoirc.com]
cobakobodob has joined #ruby
Shidash has joined #ruby
razum2um has left #ruby [#ruby]
Shidash1 has quit [Ping timeout: 245 seconds]
bmurt has quit []
razum2um has joined #ruby
yubrew has joined #ruby
yacks has quit [Ping timeout: 245 seconds]
_maes_ has joined #ruby
huntarck has joined #ruby
entity_ has joined #ruby
stytown has quit [Quit: stytown]
katlogic has quit [Ping timeout: 276 seconds]
jxf has joined #ruby
Guest0852 has quit [Ping timeout: 240 seconds]
dwayhs_ has joined #ruby
kireevco has joined #ruby
bradhe has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 264 seconds]
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
razum2um has quit [Quit: Leaving.]
kaspergrubbe has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
dwayhs_ has quit [Ping timeout: 244 seconds]
Channel6 has joined #ruby
katlogic has joined #ruby
danijoo has joined #ruby
rkazak has joined #ruby
gregf has joined #ruby
Guest0852 has joined #ruby
St_Marx has quit [Ping timeout: 264 seconds]
lewix has quit [Ping timeout: 255 seconds]
bmurt has joined #ruby
lewix has joined #ruby
icole has quit [Remote host closed the connection]
Guest0852 has quit [Client Quit]
yacks has joined #ruby
Asher has quit [Quit: Leaving.]
Guest0852 has joined #ruby
Guest0852 has quit [Client Quit]
ixti has quit [Ping timeout: 245 seconds]
St_Marx has joined #ruby
Asher has joined #ruby
djbkd has quit [Remote host closed the connection]
saarinen has joined #ruby
rezzack has quit [Ping timeout: 255 seconds]
superscott[8] has quit []
sdouglas has joined #ruby
mikepack has quit [Remote host closed the connection]
srnty has joined #ruby
mjsmith2 has quit []
Guest0852 has joined #ruby
Guest0852 has quit [Client Quit]
lewix has quit [Read error: Connection reset by peer]
lewix has joined #ruby
balazs has quit [Ping timeout: 264 seconds]
dbu has quit [Ping timeout: 245 seconds]
gzl has quit [Ping timeout: 240 seconds]
pu22l3r has joined #ruby
yetanotherdave has quit [Ping timeout: 240 seconds]
dbu has joined #ruby
gzl has joined #ruby
gzl has quit [Changing host]
gzl has joined #ruby
fgo has joined #ruby
hinderaker has joined #ruby
tus has quit []
little_fu has joined #ruby
mikepack has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
fella5s has quit [Read error: Connection reset by peer]
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has quit [Ping timeout: 240 seconds]
fella5s has joined #ruby
RealMarc is now known as Marc
Marc is now known as Guest3702
MZAWeb has joined #ruby
mr_snowf1ake has joined #ruby
balazs has joined #ruby
meeko13 has joined #ruby
agent_white has quit [Quit: bbl]
datafirm_ has joined #ruby
pasties has quit [Read error: Connection reset by peer]
Spami has quit [Quit: This computer has gone to sleep]
xcv has quit [Remote host closed the connection]
MZAWeb has quit [Ping timeout: 255 seconds]
dorei has quit []
pasties has joined #ruby
timonv has joined #ruby
bluOxigen has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
phutchin1 has quit [Remote host closed the connection]
duggiefresh has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
srnty has quit [Quit: srnty]
ndrei has joined #ruby
pu22l3r has quit [Remote host closed the connection]
ghr has joined #ruby
icarus has quit [Remote host closed the connection]
kireevco has quit [Quit: Leaving.]
ndrei has quit [Ping timeout: 255 seconds]
dreamchaser has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
datafirm_ has quit [Quit: Computer has gone to sleep.]
VeinMelted has joined #ruby
mikepack has quit [Remote host closed the connection]
yubrew has joined #ruby
datafirm_ has joined #ruby
meeko13 has quit [Read error: Connection reset by peer]
vinleod has joined #ruby
ValicekB has quit [Ping timeout: 272 seconds]
geggam has quit [Ping timeout: 244 seconds]
<shevy> dumdedum
northfurr has joined #ruby
<pipework> shevy: Can you please keep a tune, your idol humming is bothersome when you can't keep it going.
VeinMelted has quit [Ping timeout: 255 seconds]
mgberlin has joined #ruby
kireevco has joined #ruby
zkay11 has joined #ruby
<shevy> I am singing to bring back action here on #ruby
yubrew has quit [Ping timeout: 240 seconds]
Wolland has joined #ruby
foooobear has joined #ruby
<rkazak> yea for a chat room it’s very silent….
yfeldblum has quit [Remote host closed the connection]
<ponga> for a chat room with 850+ people
sdouglas has quit [Remote host closed the connection]
<rkazak> everybody is busy…busy… I guess...
<ponga> yeah im busy on creating waifu
<shevy> I am reading up on cancer biology for an exam in a few hours
abdulsattar has joined #ruby
mgberlin has quit [Remote host closed the connection]
* sevenseacat is busy fixing broken javascript
<sevenseacat> and eating cupcakes
aspires has joined #ruby
mgberlin has joined #ruby
foooobear has quit [Ping timeout: 255 seconds]
dwayhs_ has joined #ruby
Shidash has quit [Ping timeout: 255 seconds]
Guest0852 has joined #ruby
<pipework> sevenseacat: You can't fix what's broken beyond repair.
<pipework> trololol
dwayhs__ has joined #ruby
<sevenseacat> i see what you did there
cephalostrum has quit [Ping timeout: 245 seconds]
<sevenseacat> i ate too many cupcakes :(
ValicekB has joined #ruby
dwayhs_ has quit [Ping timeout: 264 seconds]
Valesk_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mapimopi has joined #ruby
mapi-mopi has joined #ruby
mapi_mopi has joined #ruby
cephalostrum has joined #ruby
dwayhs__ has quit [Ping timeout: 255 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has quit [Remote host closed the connection]
oo_ has quit [Quit: Leaving...]
radic has quit [Ping timeout: 244 seconds]
causasui has quit [Remote host closed the connection]
djbkd has joined #ruby
radic has joined #ruby
Kuda has joined #ruby
oo_ has joined #ruby
j_mcnally has joined #ruby
bjhaid has quit [Ping timeout: 245 seconds]
GriffinHeart has joined #ruby
Wolland_ has joined #ruby
Wolland_ has quit [Client Quit]
Wolland_ has joined #ruby
sdouglas has joined #ruby
heftig has quit [Ping timeout: 264 seconds]
RoryHughes has quit [Ping timeout: 264 seconds]
djbkd has quit [Ping timeout: 244 seconds]
Dwarf has quit [Ping timeout: 264 seconds]
tcstar has quit [Ping timeout: 264 seconds]
Zackio has quit [Ping timeout: 264 seconds]
geggam has joined #ruby
geggam has quit [Remote host closed the connection]
grn has quit [Ping timeout: 264 seconds]
comma8 has quit [Ping timeout: 260 seconds]
<ponga> how do i 'puts' key of a hash that is a symbol, into a string?
<ponga> i know how to do with value..
geggam has joined #ruby
braincrash has quit [Quit: bye bye]
Wolland_ has quit [Client Quit]
Hamled has quit [Ping timeout: 272 seconds]
jeregrine has quit [Quit: Connection closed for inactivity]
Wolland has quit [Ping timeout: 240 seconds]
Wolland_ has joined #ruby
yfeldblum has joined #ruby
Hamled has joined #ruby
Wolland_ is now known as Wolland
<pipework> ponga: show some code
<ponga> i figured it out
fgo has joined #ruby
adantj has joined #ruby
RoryHughes has joined #ruby
grn has joined #ruby
adantj has quit [Client Quit]
djbkd has joined #ruby
braincrash has joined #ruby
fella6s has joined #ruby
aspires has quit []
heftig has joined #ruby
Zackio has joined #ruby
huntarck has quit [Quit: Leaving...]
fella5s has quit [Ping timeout: 245 seconds]
fgo has quit [Ping timeout: 264 seconds]
Dwarf has joined #ruby
jeregrine has joined #ruby
rhyz has joined #ruby
<ponga> no i didn't..
therealGent has joined #ruby
<ponga> pipework, it may sound dumb but can i access a key with a given key in hash
<ponga> animal = { cat: 12, dog: 15, lama: 3 }
mikesplain has joined #ruby
<ponga> i want to print :cat into string "cat"
<therealGent> Hi all. I just wanted to come here to say how friendly this community is. I was asking some questions here one day and had an outpouring of help. I was hanging around in ##java a bit and that place reaks worse than the language. The most hostile unpleasant channel I've ever been in.
<eam> :cat.to_s
<sevenseacat> ^
<ponga> :cat.to_s?
tcstar has joined #ruby
<eam> :cat is a Symbol. Symbol to string via #to_s
<eam> (most things to String via to_s :)
<ponga> oh i see symbol there is only one symbol at a time
causasui has joined #ruby
<ponga> i thought i had to do a thing like animal[:cat].to_s
<sevenseacat> that would give you "12"
buub_ has joined #ruby
<pipework> I'm so confused.
<pipework> What does a hash have to do with this?
<ponga> now i start to see why symbol is so great...
comma8 has joined #ruby
buub_ has quit [Client Quit]
<ponga> pipework im confused and confusing you sir
<ponga> no worries
<pipework> ponga: It is surely a fine thing for one to be doing while one is learning.
<ari-_-e> ponga: what are you seeing that is so great about symbols here?
<shevy> ponga rails even has a hash with indifferent access
<pipework> s/rails/activesupport/
<shevy> so no matter if you use symbol or string as keys, it magically will give you what you want!
<ponga> ari-_-e well that there is only one symbol at a time
<ponga> didn't you hate rails shevy
<shevy> pipework I see you are a railster!
<ari-_-e> ponga: that doesn't really make any sense
<ari-_-e> what do you mean "at a time"?
<shevy> ponga not really hate, I just don't use it
<sevenseacat> 'railster' is a new one
<shevy> I wanted to say rails-hipster
<ponga> ari-_-e don't worry im confusing you
<pipework> shevy: I'm more of a metabrogrammer.
<ponga> brogrammer?
<ari-_-e> I'm not confused
<ponga> or im confused then
<ponga> nevermind
<shevy> ponga a normal ruby hash can have a key called :cat and a key called 'cat'
Kuda has quit [Quit: Byebye!]
<ponga> yeah
<pipework> ponga: A hash, in ruby, can have any object as the key and any object as the value.
danijoo has quit [Read error: Connection reset by peer]
mikesplain has quit [Ping timeout: 244 seconds]
danijoo has joined #ruby
codeurge has joined #ruby
<pontiki> >> hash = {nil: "this is nil", true: "this is true", false: "this is false (no it isn't)", Object.new => "this is a new object"}; hash.keys.each {|k| p k}
<eval-in> pontiki => :nil ... (https://eval.in/166925)
* Nilium removes his IRC highlight for 'nil'
djbkd has quit [Remote host closed the connection]
<sevenseacat> :P
mercwithamouth has quit [Ping timeout: 245 seconds]
<pontiki> sorry
<pontiki> >> hash = {nil => "this is nil", true => "this is true", false => "this is false (no it isn't)", Object.new => "this is a new object"}; hash.keys.each {|k| p k}
<eval-in> pontiki => nil ... (https://eval.in/166928)
<Nilium> This particular client hadn't been properly configured in a while.
<pontiki> that's it
SilverKey has quit [Quit: Cheerio!]
mapi_mopi has quit [Remote host closed the connection]
mapimopi has quit [Remote host closed the connection]
mapi-mopi has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
<pipework> ponga: Try joining them into one string separated by somehting.
fgo has joined #ruby
<pipework> >> hash = {nil => "this is nil", true => "this is true", false => "this is false (no it isn't)", Object.new => "this is a new object"}; hash.keys.join(" + ")
<eval-in> pipework => " + true + false + #<Object:0x40db2208>" (https://eval.in/166939)
<pipework> >> hash = {nil => "this is nil", true => "this is true", false => "this is false (no it isn't)", Object.new => "this is a new object"}; hash.keys.map(&:inspect).join(" + ")
<eval-in> pipework => "nil + true + false + #<Object:0x41fe21a8>" (https://eval.in/166940)
yubrew has joined #ruby
bradleyprice has joined #ruby
ghr has joined #ruby
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
funktor has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<ponga> what was the string method that cuts sentence into words by space
<ponga> i have done => i, have, done
<sevenseacat> split ?
<pipework> split?
<ponga> don't say im not trying
<ponga> oh
emptyflask has joined #ruby
baroquebobcat has joined #ruby
baroquebobcat has quit [Client Quit]
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yubrew has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 240 seconds]
VeinMelted has joined #ruby
funktor has quit [Ping timeout: 240 seconds]
acconrad has joined #ruby
VeinMelted has quit [Ping timeout: 240 seconds]
VeinMelted has joined #ruby
chrstphrhrt has left #ruby [#ruby]
VeinMelted has quit [Client Quit]
jrhe has quit [Quit: Connection closed for inactivity]
codeurge has joined #ruby
codeurge has quit [Client Quit]
deric_skibotn has quit [Ping timeout: 272 seconds]
duggiefresh has quit []
DanielRb has quit [Ping timeout: 244 seconds]
uresu_ has joined #ruby
uresu has quit [Ping timeout: 244 seconds]
uresu_ is now known as uresu
larsam has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
dwayhs__ has joined #ruby
lethjakman has joined #ruby
djbkd has joined #ruby
DanielRb has joined #ruby
DanielRb has quit [Changing host]
DanielRb has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
dwayhs__ has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
GriffinH_ has joined #ruby
mercwithamouth has joined #ruby
fgo has quit [Remote host closed the connection]
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yetanotherdave has joined #ruby
d34th4ck3r has quit [Quit: zzz]
Cache_Money has joined #ruby
rkazak has quit [Quit: rkazak]
olduseless has joined #ruby
fgo has joined #ruby
cheemio has joined #ruby
pu22l3r has joined #ruby
cheemio is now known as cheem
GriffinH_ has quit [Remote host closed the connection]
pothibo has joined #ruby
cheem has quit [Client Quit]
timonv has joined #ruby
cheem has joined #ruby
cheem has quit [Remote host closed the connection]
cheem has joined #ruby
geggam has quit [Remote host closed the connection]
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inside has quit [Ping timeout: 240 seconds]
anaeem1 has joined #ruby
anaeem1 has quit [Remote host closed the connection]
mikemac has quit [Ping timeout: 240 seconds]
timonv has quit [Ping timeout: 264 seconds]
anaeem1 has joined #ruby
benzrf is now known as benzrf|offline
etqqkoiflwhb has joined #ruby
oo_ has quit [Remote host closed the connection]
DanielRb has quit [Ping timeout: 255 seconds]
srnty has joined #ruby
srnty has quit [Client Quit]
cheem has quit [Quit: cheem]
mgberlin_ has joined #ruby
Channel6 has quit [Quit: Leaving]
ra4king has quit [Remote host closed the connection]
yubrew has joined #ruby
mgberlin has quit [Ping timeout: 244 seconds]
kate_r has joined #ruby
ra4king has joined #ruby
DanielRb has joined #ruby
dideler has quit [Ping timeout: 244 seconds]
GriffinHeart has joined #ruby
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
etqqkoiflwhb has joined #ruby
yubrew has quit [Ping timeout: 244 seconds]
therealGent has quit [Ping timeout: 255 seconds]
emptyflask has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
sunya7a has quit [Ping timeout: 244 seconds]
end_guy has quit [Remote host closed the connection]
ra4king has quit [Remote host closed the connection]
etqqkoiflwhb has quit [Ping timeout: 255 seconds]
srnty has joined #ruby
VeinMelted has joined #ruby
ra4king has joined #ruby
saarinen has joined #ruby
srnty has quit [Remote host closed the connection]
sunya7a has joined #ruby
end_guy has joined #ruby
VeinMelted has quit [Ping timeout: 240 seconds]
kate_r has quit [Ping timeout: 255 seconds]
stytown has joined #ruby
VeinMelted has joined #ruby
St_Marx has quit [Ping timeout: 264 seconds]
St_Marx has joined #ruby
foooobear has joined #ruby
northfurr has quit [Quit: northfurr]
northfurr has joined #ruby
northfurr has quit [Client Quit]
VeinMelted_ has joined #ruby
foooobear has quit [Ping timeout: 240 seconds]
CaptainJet has quit []
mmochan_ has joined #ruby
Hanmac has joined #ruby
VeinMelted has quit [Ping timeout: 264 seconds]
dwayhs__ has joined #ruby
mgberlin_ has quit [Remote host closed the connection]
DanielI has joined #ruby
DanielI has joined #ruby
DanielI has quit [Changing host]
Wolland_ has joined #ruby
larsam has quit [Remote host closed the connection]
maisapride has joined #ruby
acconrad has quit [Quit: acconrad]
oo_ has joined #ruby
DanielRb has quit [Ping timeout: 240 seconds]
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Wolland has quit [Ping timeout: 244 seconds]
dwayhs__ has quit [Ping timeout: 255 seconds]
rkazak has joined #ruby
beardtree has joined #ruby
DanielRb has joined #ruby
<beardtree> I have a hash, and an object. Is there any quick way to set object.key = hash[key] for each key in hash?
bradhe has joined #ruby
<ari-_-e> beardtree: you'd need to use send to invoke the setter
oo_ has quit [Ping timeout: 240 seconds]
bradhe has quit [Remote host closed the connection]
<pipework> beardtree: a hash is an object though
Wolland has joined #ruby
<beardtree> ari-_-e: could you give me an example?
<pipework> So you want to set the attributes of an object where the hash's keys are the attribute names and the values in the hash are the values of the attributes on the object?
<beardtree> pipework: yes
heftig has quit [Quit: Quitting]
<pipework> my_hash.each_with_object {|(key,value), my_object| my_object.public_send(:key, value)}; my_object
<ari-_-e> beardtree: when you do object.a = b, you are actually invoking the a= method
<pipework> Or in the case of writers, you'd need to do "#{key}=" instead of just :key
lewix has quit [Remote host closed the connection]
diegoviola has quit [Remote host closed the connection]
lewix has joined #ruby
<ari-_-e> beardtree: the equivalent of that with send would be object.send(:a=, b)
vinleod has joined #ruby
pothibo has joined #ruby
Wolland_ has quit [Ping timeout: 255 seconds]
<pipework> Crap forgot an argument
sinkensabe has joined #ruby
<pipework> >> require 'ostruct'; {lol: :wat}.each_with_object(OpenStruct.new){|(key,value), obj| obj.public_send("#{key}=", value)}
<eval-in> pipework => #<OpenStruct lol=:wat> (https://eval.in/166985)
aganov has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
<pipework> >> require 'ostruct'; {lol: :wat, now: :bitch}.each_with_object(OpenStruct.new){|(key,value), obj| obj.public_send("#{key}=", value)}
<eval-in> pipework => #<OpenStruct lol=:wat, now=:bitch> (https://eval.in/166986)
<pipework> There you go.
pothibo has quit [Client Quit]
pu22l3r has quit [Ping timeout: 264 seconds]
pu22l3r has joined #ruby
diegoviola has joined #ruby
timonv has joined #ruby
lewix has quit [Ping timeout: 244 seconds]
earthquake has quit [Quit: earthquake]
earthquake has joined #ruby
stytown has quit [Quit: stytown]
foooobear has joined #ruby
i_s has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
sdouglas has quit [Remote host closed the connection]
sdouglas_ has joined #ruby
DanielRb has quit [Ping timeout: 264 seconds]
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
d34th4ck3r has joined #ruby
sdouglas_ has quit [Remote host closed the connection]
tobago has joined #ruby
buub has quit [Ping timeout: 244 seconds]
lethjakman has quit [Ping timeout: 255 seconds]
saarinen has quit [Quit: saarinen]
yacks has joined #ruby
cheem has joined #ruby
yubrew has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
stytown has joined #ruby
JasmeetQA has joined #ruby
DanielRb has joined #ruby
DanielRb has quit [Changing host]
DanielRb has joined #ruby
Morkel has joined #ruby
mikesplain has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
etqqkoiflwhb has joined #ruby
larsam has joined #ruby
maisapride786 has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
anaeem___ has joined #ruby
yfeldblum has joined #ruby
fgo has joined #ruby
etqqkoiflwhb has quit [Client Quit]
mikesplain has quit [Ping timeout: 240 seconds]
little_fu has quit [Ping timeout: 240 seconds]
sinkensabe has quit [Remote host closed the connection]
fgo has quit [Read error: No route to host]
fgo_ has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
tagrudev has joined #ruby
ghr has joined #ruby
anaeem___ has quit [Read error: Connection reset by peer]
anaeem1 has joined #ruby
fgo_ has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
oo_ has joined #ruby
george2 has joined #ruby
djbkd has joined #ruby
sunya7a has quit [Ping timeout: 245 seconds]
ghr has quit [Ping timeout: 264 seconds]
fgo has joined #ruby
cheem has quit [Quit: cheem]
AlexRussia has quit [Remote host closed the connection]
saarinen has joined #ruby
garndt has quit [Quit: Connection closed for inactivity]
razum2um has joined #ruby
sdouglas has joined #ruby
timonv has quit [Remote host closed the connection]
jso- has joined #ruby
ynkbs has joined #ruby
jeregrine has quit [Quit: Connection closed for inactivity]
zkay11 has quit [Quit: Leaving.]
razum2um has left #ruby [#ruby]
razum2um has joined #ruby
larissa has quit [Quit: Leaving]
jso has quit [Ping timeout: 240 seconds]
etqqkoiflwhb has joined #ruby
i_s has quit [Remote host closed the connection]
sinkensabe has joined #ruby
IceDragon has quit [Quit: Space~~~]
djbkd has quit [Quit: My people need me...]
razum2um has left #ruby [#ruby]
razum2um has joined #ruby
sdouglas has quit [Remote host closed the connection]
dwayhs__ has joined #ruby
mikepack has joined #ruby
sdouglas_ has joined #ruby
Parker0 has quit [Ping timeout: 255 seconds]
razum2um has left #ruby [#ruby]
razum2um has joined #ruby
pu22l3r has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.3]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
pu22l3r has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dwayhs__ has quit [Ping timeout: 244 seconds]
phinfonet has quit []
aspen has joined #ruby
apeiros has quit [Remote host closed the connection]
Kryptonical has joined #ruby
jaimef has quit [Ping timeout: 255 seconds]
apeiros has joined #ruby
jwang has joined #ruby
dbu has quit [Ping timeout: 255 seconds]
pu22l3r has quit [Ping timeout: 240 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
moted has quit [Ping timeout: 240 seconds]
dbu has joined #ruby
Darryl has joined #ruby
<wasamasa> hah
<wasamasa> finally managed to parse facebook
<wasamasa> turned out the interesting content was in two comment blocks
<wasamasa> for whatever reason
aspen has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<wasamasa> I hope their react framework doesn't do the same thing
apeiros has quit [Ping timeout: 240 seconds]
mengu has quit [Remote host closed the connection]
davedev24_ has quit [Remote host closed the connection]
Macaveli has joined #ruby
VeinMelted_ has quit [Quit: Computer has gone to sleep.]
lxsameer has joined #ruby
johnmolina has joined #ruby
alexju has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
jaimef has joined #ruby
bal has joined #ruby
Alina-malina has quit [Ping timeout: 240 seconds]
icedp has joined #ruby
razum2um has quit [Ping timeout: 255 seconds]
Kryptonical has quit [Remote host closed the connection]
balazs has quit [Ping timeout: 264 seconds]
JohnBat26 has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
ynkbs has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
__main__ has joined #ruby
<shevy> ewww
<shevy> parsing facebook
yubrew has quit [Ping timeout: 245 seconds]
abdulsattar has quit [Ping timeout: 255 seconds]
yetanotherdave has quit [Ping timeout: 255 seconds]
razum2um has joined #ruby
icedp has quit [Quit: _]
Xeago has joined #ruby
yfeldblum has joined #ruby
dukedave has joined #ruby
dc has quit []
Eyes has quit [Remote host closed the connection]
stytown has quit [Quit: stytown]
mikesplain has joined #ruby
razum2um1 has joined #ruby
hobo has joined #ruby
billy_ran_away has quit [Ping timeout: 240 seconds]
pu22l3r has joined #ruby
razum2um has quit [Ping timeout: 264 seconds]
<hobo> hi, i'm not so good with regex, and was wondering what the best way to limit the amount of characters an output string is
<shevy> I think you can somehow specify a max amount
<hobo> the program grabs definitions from urbandictionary, but some definitions are really long
<shevy> via {3,4} or something like that
Xeago has quit [Ping timeout: 244 seconds]
shredding has joined #ruby
<shevy> "You can use curly braces to control the number of occurrences. For example, this means 0 to 10:"
_pingu has joined #ruby
<hobo> ty
<shevy> /^[a-z]{0,10}$/
<_pingu> http://pastebin.com/yT2iaFBs If I remove the RSpec.configure in one testfile the tests are executet only once. But I need config.formatter = :documentation to see the documentation. So what can I do?
<shevy> hobo do you know rubular.com btw?
<hobo> nope
Eyes has joined #ruby
<shevy> you can test your regex there interactively
Barrayar has joined #ruby
<shevy> I use it to tweak the regex until it matches my use case
yfeldblum has quit [Ping timeout: 264 seconds]
Poky has joined #ruby
Barrayar has quit [Client Quit]
mikepack has quit [Remote host closed the connection]
icedp has joined #ruby
rkazak has quit [Quit: rkazak]
Affix has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
mikesplain has quit [Ping timeout: 264 seconds]
<timgauthier> soooo, whats up shevy ?
VeinMelted_ has joined #ruby
jprovazn has joined #ruby
johnmolina has quit []
pu22l3r has quit [Ping timeout: 240 seconds]
Cache_Money has quit [Quit: Cache_Money]
olduseless has quit [Ping timeout: 264 seconds]
<timgauthier> started learning swift yet?
earthquake has quit [Quit: earthquake]
<ponga> _pingu your nick looks similar to mine
<_pingu> ponga: :-)
abdulsattar has joined #ruby
Xeago has joined #ruby
shredding has quit [Quit: shredding]
mijicd has joined #ruby
dc has joined #ruby
Guest0852 has quit [Ping timeout: 240 seconds]
alec has joined #ruby
kireevco has quit [Quit: Leaving.]
kyb3r_ has quit [Read error: Connection reset by peer]
dukedave has quit [Ping timeout: 240 seconds]
kp666 has joined #ruby
<pontiki> all the pon*s need to get together
alec has quit [Client Quit]
kyb3r_ has joined #ruby
beneggett has joined #ruby
VeinMelted_ has quit [Quit: Computer has gone to sleep.]
VeinMelted_ has joined #ruby
dc_ has joined #ruby
doev has joined #ruby
CorpusCallosum has quit [Quit: Computer has gone to sleep.]
dc has quit [Ping timeout: 264 seconds]
<pipework> Make little ponettes.
vinleod has joined #ruby
davedev24_ has joined #ruby
davedev24_ has quit [Remote host closed the connection]
relix has joined #ruby
echevemaster has quit [Quit: Leaving]
mbuf has joined #ruby
sdouglas has joined #ruby
<pontiki> my little pon*s
sdouglas_ has quit [Read error: Connection reset by peer]
<mbuf> When using add_child in Nokogiri, Is it possible to indent the output with newline and spaces instead of a one-line concatenation like <foo><bar>2</bar></foo>?
dc_ has quit [Ping timeout: 240 seconds]
Xeago_ has joined #ruby
JasonG_ has joined #ruby
VeinMelted_ has quit [Quit: Computer has gone to sleep.]
Darkchaos has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
chipotle has quit [Quit: cya]
beardtree has left #ruby ["WeeChat 0.4.3"]
dwayhs__ has joined #ruby
fabrice31 has joined #ruby
yfeldblum has joined #ruby
hobo has left #ruby [#ruby]
JasonG_ has quit [Ping timeout: 244 seconds]
<Macaveli> Morning pipework
mattmcclure has quit [Quit: Connection closed for inactivity]
acidbur71 has joined #ruby
acidbur71 has left #ruby [#ruby]
dwayhs__ has quit [Ping timeout: 264 seconds]
davedev24_ has joined #ruby
davedev24_ has quit [Remote host closed the connection]
<timgauthier> pipework how was your recharge period?
Alina-malina has joined #ruby
VeinMelted_ has joined #ruby
axl_ has quit [Quit: axl_]
yubrew has joined #ruby
p0sixpscl has joined #ruby
<ari-_-e> mbuf: sure, just add some text nodes
dennus has joined #ruby
<ari-_-e> pretty much anything in an xml file goes in a node of some sort when it is parsed
bigkevmcd has quit [Remote host closed the connection]
thoraxe has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby
pranny has joined #ruby
bigkevmcd has joined #ruby
pu22l3r has joined #ruby
mmochan_ has quit [Quit: Connection closed for inactivity]
kiri has joined #ruby
wowXD has quit []
wow has joined #ruby
Xeago_ has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 264 seconds]
<_pingu> no one?
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ephemerian has joined #ruby
techsethi has joined #ruby
davedev24_ has joined #ruby
ddv has quit [Changing host]
ddv has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
<timgauthier> no
<timgauthier> no one
charliesome has joined #ruby
shredding has joined #ruby
<_pingu> )-:
brunops has quit [Quit: leaving]
<timgauthier> i don't know
<timgauthier> what you are asking about
<_pingu> timgauthier: no problem
duncannz has joined #ruby
jackneill has joined #ruby
saarinen has quit [Quit: saarinen]
datafirm_ has quit [Quit: Computer has gone to sleep.]
wendly has joined #ruby
datafirm_ has joined #ruby
datafirm_ has quit [Read error: Connection reset by peer]
datafirm_ has joined #ruby
datafirm_ has quit [Client Quit]
thoraxe has joined #ruby
billy_ran_away has joined #ruby
mikesplain has joined #ruby
ph8 has quit [Excess Flood]
<pipework> timgauthier: I don't recall the last time I gave a fuck, so it must have been good. :)
Xeago has joined #ruby
<timgauthier> awesome :D
wendly has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby
pu22l3r has joined #ruby
<Hanmac> mbuts ... how do you output your xml? for me it does indent correctly
mikesplain has quit [Ping timeout: 244 seconds]
kp666 has quit [Ping timeout: 245 seconds]
pu22l3r has quit [Ping timeout: 244 seconds]
maasha has joined #ruby
sdouglas has quit [Ping timeout: 264 seconds]
ph8 has joined #ruby
<maasha> Hey, I get this error installing msgpack gem: Parsing documentation for msgpack-0.5.8 unable to convert "\xCA" from ASCII-8BIT to UTF-8 for lib/msgpack/msgpack.bundle, skipping
<maasha> ?
VeinMelted_ has quit [Quit: Computer has gone to sleep.]
<Hanmac> maasha: hm thats more or less normal ... depending on the file it try to parse
<Hanmac> and its not an error only a warning
mercwithamouth has quit [Ping timeout: 244 seconds]
<maasha> Hanmac: but it means that there is no docs for msgpack since they are skipped?
dukedave has joined #ruby
DanielRb has quit [Ping timeout: 264 seconds]
<Hanmac> maasha: msgpack looks precompiled, see at the "bundle" file ... so rdoc cant parse it
ghr has joined #ruby
<maasha> Hanmac: right
datafirm_ has joined #ruby
<_pingu> http://pastebin.com/yT2iaFBs If I remove the RSpec.configure in one testfile the tests are executet only once. But I need config.formatter = :documentation to see the documentation. So what can I do? here are some hints for my problem: http://stackoverflow.com/questions/3030308/why-are-my-rspec-specs-running-twice
datafirm_ has quit [Client Quit]
olivier_bK has joined #ruby
dc has joined #ruby
DanielRb has joined #ruby
datafirm has joined #ruby
dukedave has quit [Ping timeout: 240 seconds]
dc has quit [Client Quit]
ndrei has joined #ruby
DanielRb has quit [Ping timeout: 245 seconds]
dumdedum has joined #ruby
alem0lars has joined #ruby
elaptics`away is now known as elaptics
oo_ has quit [Remote host closed the connection]
tjcravey has joined #ruby
mikesplain has joined #ruby
DanielRb has joined #ruby
dwayhs__ has joined #ruby
Joulse has joined #ruby
oo_ has joined #ruby
<Hanmac> _pingu: what happen if you move RSpec.configure into an helper file that is required by both test files ?
LiohAu has joined #ruby
ndrei has quit [Ping timeout: 244 seconds]
hermanmunster has quit [Remote host closed the connection]
mikesplain has quit [Ping timeout: 244 seconds]
dwayhs__ has quit [Ping timeout: 240 seconds]
hermanmunster has joined #ruby
<_pingu> Hanmac: I'll try that. That will take some minutes.
roolo has joined #ruby
DanielRb has quit [Ping timeout: 245 seconds]
VeinMelted_ has joined #ruby
DanielRb has joined #ruby
dc has joined #ruby
chris123456789 has joined #ruby
hermanmunster has quit [Ping timeout: 245 seconds]
yubrew has joined #ruby
dc has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
bartdorsey has quit [Ping timeout: 264 seconds]
pu22l3r has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
DanielRb has quit [Ping timeout: 245 seconds]
yacks has quit [Ping timeout: 244 seconds]
kp666 has joined #ruby
ndrei has joined #ruby
chrishough has quit [Quit: chrishough]
kaspergrubbe has joined #ruby
Takle has joined #ruby
timonv has joined #ruby
DanielRb has joined #ruby
DanielRb has quit [Changing host]
DanielRb has joined #ruby
dennus has quit []
pu22l3r has quit [Ping timeout: 240 seconds]
timonv_ has joined #ruby
oo_ has quit [Remote host closed the connection]
<timgauthier> how do search for rooms on the irc server? :S anyone know if there is a room for apples swift language?
tjr9898 has joined #ruby
oo_ has joined #ruby
<mozzarella> timgauthier: there is
<mozzarella> #swift-lang
<timgauthier> thanks!
kilk_ has joined #ruby
timonv has quit [Ping timeout: 244 seconds]
bradleyprice has quit [Remote host closed the connection]
dangerousdave has joined #ruby
alem0lars has quit [Quit: Going AFK...]
joonty has quit [Read error: Connection reset by peer]
ncopa has left #ruby ["Leaving"]
joonty has joined #ruby
joonty has quit [Client Quit]
einarj has joined #ruby
genta has quit [Ping timeout: 260 seconds]
VeinMelted_ has quit [Read error: Connection reset by peer]
VeinMelted_ has joined #ruby
klaut has joined #ruby
jottr has joined #ruby
sk87 has joined #ruby
pu22l3r has joined #ruby
jacobat has joined #ruby
genta has joined #ruby
sdouglas has joined #ruby
DanielRb has quit [Ping timeout: 244 seconds]
Alina-malina has quit [Ping timeout: 255 seconds]
funktor has joined #ruby
pu22l3r has quit [Ping timeout: 264 seconds]
sdouglas has quit [Ping timeout: 264 seconds]
alem0lars has joined #ruby
blackmes2 has joined #ruby
joonty has joined #ruby
chth0n has joined #ruby
noocode has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby
bradleyprice has joined #ruby
DanielRb has joined #ruby
yacks has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
MissionCritical has quit [Ping timeout: 264 seconds]
bluOxigen has quit [Ping timeout: 255 seconds]
himsin has joined #ruby
himsin has quit [Client Quit]
andrewlio has joined #ruby
<mbuf> ari-_-e, sorry, what do you mean by text nodes?
noocode has joined #ruby
<ari-_-e> mbuf: xml has text nodes
<ari-_-e> read about them
sdouglas has quit [Ping timeout: 264 seconds]
dangerou_ has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
anarang has joined #ruby
rhyz has quit []
<mbuf> ari-_-e, the XML template that I need doesn't have text in it, foo in this case - <foo><bar>2</bar></foo>
<ari-_-e> actually, it does
<ari-_-e> the 2 is a text node
DanielRb has quit [Ping timeout: 240 seconds]
defrang has joined #ruby
<ari-_-e> and you can create indentation by adding more of them
<ari-_-e> and hope that whatever is consuming the XML doesn't care
DouweM has quit [Ping timeout: 244 seconds]
<ari-_-e> >> require 'nokogiri'
<eval-in> ari-_-e => (https://eval.in/167058)
skaflem has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
defrang has quit [Quit: defrang]
charliesome has joined #ruby
<Hanmac> ari-_-e: bot does not have noko and it also can require it (currently only Ruby stuff can required, not C-compiled stuff)
<ari-_-e> oh darn
defrang has joined #ruby
<ari-_-e> didn't notice the "forbidden access" error
MissionCritical has joined #ruby
<Hanmac> mbuf: i mostly use the Builder ... like this: puts Nokogiri::XML::Builder.new {|xml| xml.foo { xml.bar 2 } }.to_xml
timonv_ has quit [Remote host closed the connection]
<mbuf> Hanmac, okay
shredding has quit [Ping timeout: 240 seconds]
<mbuf> Hanmac, I am actually usind add_child to insert a child element, just that it gets appended
marr has joined #ruby
<mbuf> Hanmac, source = Nokogiri::XML::Node.new "bar", @doc; source.content = 2; entry.add_child(source)
charliesome has quit [Ping timeout: 245 seconds]
Guest21383 has joined #ruby
mikesplain has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
dwayhs__ has joined #ruby
Xeago has joined #ruby
<Hanmac> mbuf: hm for me it still does : "<foo>\n <bar>2</bar>\n</foo>" ... what is your ruby/nokogiri version? how do you create @doc ?
fgo has quit [Remote host closed the connection]
<mbuf> Hanmac, nokogiri 1.5.6
<mbuf> Hanmac, can you paste your code?
billy_ran_away has quit [Ping timeout: 240 seconds]
<Hanmac> mbuf and whats your ruby version? nokogiri is current as 1.6.2.1
yubrew has joined #ruby
shredding has joined #ruby
<mbuf> Hanmac, ruby 2.0.0p353
kaspergr_ has joined #ruby
mikesplain has quit [Ping timeout: 240 seconds]
JasmeetQA has quit [Quit: Leaving.]
<mbuf> Hanmac, will try after updating nokogiri
JasmeetQA has joined #ruby
dwayhs__ has quit [Ping timeout: 240 seconds]
spider-mario has joined #ruby
dangerousdave has joined #ruby
dangerou_ has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 240 seconds]
r0bby has joined #ruby
anaeem1 has quit [Remote host closed the connection]
<_pingu> Hanmac: your idea works. thanks. (-:
Guest21383 has quit [Ping timeout: 255 seconds]
billy_ran_away has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
kaspergrubbe has quit [Ping timeout: 245 seconds]
<ari-_-e> it automatically adds text nodes for indentation?
nectarys has joined #ruby
elricsfate has quit [Ping timeout: 255 seconds]
<ari-_-e> weird
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
maroloccio has joined #ruby
moted has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
DanielRb_ has joined #ruby
<mbuf> Hanmac, your code works with nokogiri 1.6.2, but, I still don't see the indentation in mine. The XML is created using REXML. @doc = Nokogiri::XML(input_file)
chris123456789 has quit [Read error: Connection reset by peer]
<mbuf> @doc.remove_namespaces! is also useud
<mbuf> *used
<Hanmac> hmmhm maybe doc does not add indent because the input file did not had them right
pranny has quit [Quit: Leaving.]
dangerousdave has quit [Read error: Connection reset by peer]
fgo has joined #ruby
dangerousdave has joined #ruby
fgo has quit [Remote host closed the connection]
pranny has joined #ruby
sevenseacat has quit [Remote host closed the connection]
pranny has quit [Client Quit]
nectarys has quit [Ping timeout: 240 seconds]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danijoo has quit [Read error: Connection reset by peer]
genta has quit [Quit: Quit]
danijoo has joined #ruby
sk87 has joined #ruby
timonv has joined #ruby
mijicd has quit [Quit: Lost terminal]
Hobogrammer has quit [Ping timeout: 244 seconds]
mijicd has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
DanielRb_ is now known as DanielRb
DanielRb has quit [Changing host]
DanielRb has joined #ruby
trepidaciousMBR has joined #ruby
genta has joined #ruby
_pingu has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140608211828]]
dumdedum has quit [Remote host closed the connection]
maisapride has quit [Remote host closed the connection]
d34th4ck3r has quit [Quit: zzz]
DanielRb has quit [Ping timeout: 245 seconds]
sukendhar has joined #ruby
maisapride786 has quit [Remote host closed the connection]
dumdedum has joined #ruby
jagadish has joined #ruby
DanielRb has joined #ruby
hamakn has joined #ruby
coderhs has quit [Ping timeout: 240 seconds]
xeqtr has joined #ruby
sukendhar has quit [Client Quit]
jagadish has quit [Remote host closed the connection]
<xeqtr> Hi, how do i remove the last slash in a string. Dont wanna remove all slashes only the last slash IF the string ends with it
<xeqtr> like in php rtrim($string, '/')
sukendhar has joined #ruby
pu22l3r has joined #ruby
<shevy> timgauthier I won't learn programming languages just for fun
<timgauthier> shevy you should learn it to teach me
DanielRb has quit [Ping timeout: 255 seconds]
<shevy> I teach you something better than swift
<jacobat> xeqtr: string.gsub(regex_to_find_last_slash, "")
<shevy> its cute little name is
<shevy> ruby
<mikecmpbll> xeqtr: str.gsub(/\/$/, "")
blackmes2 has quit [Ping timeout: 245 seconds]
DanielRb has joined #ruby
<xeqtr> aaah thanks guys!
<canton7> >> "testy/foo/".chomp('/')
<eval-in> canton7 => "testy/foo" (https://eval.in/167064)
<mikecmpbll> str[0..-1] if str.ends_with? "/"
<mikecmpbll> etc
<mikecmpbll> ah, nice one canton7
<mikecmpbll> forgot about that nugget.
<canton7> :)
<canton7> there's also chop...
<mikecmpbll> yeah ..
<canton7> >> s = "testy/foo/"; s.chop! if s.end_with?('/')
<eval-in> canton7 => "testy/foo" (https://eval.in/167065)
<canton7> messy though
<mikecmpbll> so much utility in that string class eh :d
vifino has joined #ruby
jagadish has joined #ruby
r0bby has quit [Remote host closed the connection]
pu22l3r has quit [Ping timeout: 244 seconds]
alem0lars has quit [Quit: Going AFK...]
moritzschaefer has joined #ruby
DanielRb has quit [Ping timeout: 240 seconds]
vifino has quit [Remote host closed the connection]
DanielRb has joined #ruby
vifino has joined #ruby
dANOKELOFF has joined #ruby
duncannz has quit [Ping timeout: 264 seconds]
coderhs has joined #ruby
dc has joined #ruby
dennus has joined #ruby
hakunin has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
sdouglas has joined #ruby
hakunin has joined #ruby
rboo has joined #ruby
<riotjone_> >> puts "hello"
<eval-in> riotjone_ => hello ... (https://eval.in/167076)
<matti> >> puts "world"
<eval-in> matti => world ... (https://eval.in/167077)
* matti pokes shevy with a pointy stick
<riotjone_> wow, fucking fast
datafirm has quit [Quit: Computer has gone to sleep.]
relix has quit [Read error: Connection reset by peer]
relix_ has joined #ruby
<shevy> I did not deserve that
sdouglas has quit [Ping timeout: 264 seconds]
datafirm has joined #ruby
wow is now known as wowXD
<matti> shevy: We often hurt those we love the most.
* matti hands shevy a Kitkat bar
<rboo> Hello, based on the following array (https://gist.github.com/anonymous/23c7a2422dcaf09f1e28) how could I remove an element based on a specific attribute's value? (for exemple if uid equals something)
ctp has joined #ruby
defrang_ has joined #ruby
razrunelord has joined #ruby
<matti> rboo: delete_if {|dk| dk.name == 'pioapp' } ?
<matti> rboo: There iz an objekt inzide.
<matti> ;]
defrang has quit [Ping timeout: 245 seconds]
defrang_ is now known as defrang
karupa is now known as zz_karupa
ynkbs has joined #ruby
<rboo> matti: awesome thank you !
<matti> Does it work?
<matti> ;D
<matti> rboo: I have no idea what I am doing. I just sit here to chat up shevy
datafirm has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
<rboo> yep it works, I didn't know about the delete_if method.
razrunelord has quit [Ping timeout: 244 seconds]
krainboltgreene has left #ruby ["Textual IRC Client: www.textualapp.com"]
<matti> rboo: Ruby is like our observable universe, full of wonders.
<matti> ;]
DanielRb has quit [Ping timeout: 240 seconds]
<wasamasa> mhh
<wasamasa> rails particularly keeps surprising me
<matti> wasamasa: We don't see Rais as a wonder.
<matti> wasamasa: Even nature had its bad moments.
<matti> ;p
yubrew has joined #ruby
Fire-Dragon-DoL has joined #ruby
Takle has quit [Remote host closed the connection]
Guest12175 has joined #ruby
jle` has quit [Quit: WeeChat 0.4.2]
<daxroc> Can you have a conditional on the right like status :id, create(status) unless status[:id]
<matti> You can inline if/unless.
<daxroc> or should it just be written like status[:id] = create(status) unless status[:id]
mikesplain has joined #ruby
agjacome has joined #ruby
dwayhs__ has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
Guest12175 has quit [Ping timeout: 240 seconds]
DanielRb_ has joined #ruby
wowXD has quit [Remote host closed the connection]
jds has left #ruby [#ruby]
mikesplain has quit [Ping timeout: 255 seconds]
pu22l3r has joined #ruby
dwayhs__ has quit [Ping timeout: 255 seconds]
freggles has joined #ruby
jle` has joined #ruby
Takle has joined #ruby
robbyoconnor has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
pu22l3r has quit [Ping timeout: 245 seconds]
dreamchaser has joined #ruby
grieg has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
tjr9898 has quit [Remote host closed the connection]
workmad3 has joined #ruby
Fire-Dragon-DoL has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<matti> Ahh.
<matti> You wanted the , too?
<matti> How does this expression should look like?
fgo has joined #ruby
DanielRb_ has quit [Ping timeout: 255 seconds]
AlSquire has joined #ruby
aspiers has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
noob101 has quit [Ping timeout: 246 seconds]
Takle has joined #ruby
DanielRb_ has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
<Hanmac> daxroc: why not like that? status[:id] ||= create(status)
kilk_ has quit [Quit: Leaving]
<daxroc> that's nicer :P
kies has quit [Quit: baaaaiiiiiiiiiii~]
mengu has quit [Ping timeout: 244 seconds]
DanielRb_ is now known as DanielRb
DanielRb has quit [Changing host]
DanielRb has joined #ruby
alem0lars has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iaj has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Remote host closed the connection]
DanielRb has quit [Ping timeout: 244 seconds]
alex88 has joined #ruby
bmurt has quit []
shredding has quit [Quit: shredding]
<gregf_> haha! 'sind sie welcome' - would mean 'you are welcome' - 'literally' ;). i'd say 'kein problem' :)
pu22l3r has joined #ruby
<gregf_> bah :/ sorry
Alina-malina has joined #ruby
oo_ has quit [Remote host closed the connection]
ctp has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
* matti takes notes
<matti> gregf_: Thank you!
<gregf_> heh
<matti> :>
<matti> Never know when one can use some German.
mengu has joined #ruby
<matti> I may run into someone on the streets on London... and bah! 'kein problem' would come in handy.
<matti> ;p
<gregf_> well if you're from the US you'll prolly need to know german to converse with the US 'soccer' team :@
apeiros has quit [Remote host closed the connection]
<matti> LOL
apeiros has joined #ruby
DanielRb has joined #ruby
<Hanmac> gregf_: do you know the old advertising from Douglas? "come in and find out" ;P
Alina-malina has quit [Read error: Connection reset by peer]
pu22l3r has quit [Ping timeout: 255 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
alem0lars has quit [Quit: Going AFK...]
GriffinHeart has quit [Ping timeout: 245 seconds]
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
apeiros has quit [Ping timeout: 245 seconds]
lkba has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wendly has joined #ruby
<gregf_> lol
fabrice31 has joined #ruby
techsethi has quit [Quit: techsethi]
DanielRb has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 244 seconds]
dANOKELOFF has quit [Remote host closed the connection]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DanielRb has joined #ruby
workmad3 has quit [Quit: Reconnecting]
workmad3 has joined #ruby
workmad3 has quit [Client Quit]
workmad3 has joined #ruby
nfk has quit [Quit: yawn]
tvw has joined #ruby
yubrew has joined #ruby
DanielRb has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
agjacome has quit [Ping timeout: 264 seconds]
datafirm has joined #ruby
wald0 has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
tokik has quit [Ping timeout: 264 seconds]
<daxroc> How would I access an instance object defined in the constructor ?
mengu has quit [Read error: No route to host]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
DanielRb has joined #ruby
DanielRb has quit [Changing host]
DanielRb has joined #ruby
<canton7> daxroc, access from where?
mengu has quit [Read error: Connection reset by peer]
<daxroc> From a parent object if that makes sense
<canton7> either 1) define your own accessor (def myvar; @myvar; end), or 2) get ruby to define one for you (attr_reader :myvar)
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<canton7> but go grab a beginners' book
datafirm has quit [Ping timeout: 244 seconds]
mikesplain has joined #ruby
DanielRb has quit [Ping timeout: 240 seconds]
dwayhs__ has joined #ruby
iaj has joined #ruby
pu22l3r has joined #ruby
oo_ has joined #ruby
<Hanmac> daxroc & canton7: or do it per instance with 3) use obj.instance_variable_get(:@myvar) or 4) or highjack into the instance with obj.instance_exec { @myvar }
AlexRussia has joined #ruby
kies has joined #ruby
wowXD has joined #ruby
dwayhs__ has quit [Ping timeout: 240 seconds]
mikesplain has quit [Ping timeout: 255 seconds]
mengu has quit [Read error: No route to host]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
oo__ has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
oo__ has quit [Remote host closed the connection]
oo__ has joined #ruby
techsethi has joined #ruby
jadedgnome has quit [Ping timeout: 276 seconds]
decoponio has joined #ruby
DanielRb has joined #ruby
DanielRb has joined #ruby
DanielRb has quit [Changing host]
oo_ has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wowXD has quit [Ping timeout: 245 seconds]
Brando753 has quit [Ping timeout: 260 seconds]
smaboshe has joined #ruby
sukendhar has quit [Read error: Connection reset by peer]
oo__ has quit [Ping timeout: 240 seconds]
smaboshe has quit [Changing host]
smaboshe has joined #ruby
wowXD has joined #ruby
|RicharD| has joined #ruby
<|RicharD|> hi
<|RicharD|> I'm writing a rake script and I have a problem with double `
yfeldblum has quit [Ping timeout: 245 seconds]
<|RicharD|> I need to run a command into another command… something like this: Bundler.with_clean_env { puts `curl -o latest.dump `heroku pgbackups:url --app app`` }
sukendhar has joined #ruby
<Hanmac> |RicharD|: are you sure they need to be `` inside it?
<|RicharD|> yes
<|RicharD|> or there is another way for run a command into another command ?
<Hanmac> escape them with \
<Hanmac> |RicharD|: or use %x{ curl -o latest.dump `heroku pgbackups:url --app app` }
<|RicharD|> Thank you :)
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Shidash has joined #ruby
jadedgnome has joined #ruby
kilk_ has joined #ruby
mijicd has quit [Remote host closed the connection]
roolo has quit [Quit: Leaving...]
DanielRb has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 240 seconds]
foooobear has quit [Read error: Connection reset by peer]
DanielRb has joined #ruby
Azure_ has joined #ruby
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
Azure has quit [Ping timeout: 240 seconds]
jcromartie has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
shredding has joined #ruby
tenseiten has joined #ruby
ndrei has joined #ruby
oso96_2000 has quit [Ping timeout: 240 seconds]
fschuindt has joined #ruby
DanielRb has quit [Ping timeout: 255 seconds]
tus has joined #ruby
timonv has quit [Ping timeout: 255 seconds]
seitensei has quit [Ping timeout: 240 seconds]
funktor has quit [Remote host closed the connection]
rdark has joined #ruby
oso|away has joined #ruby
oso|away is now known as oso96_2000
jottr_ has joined #ruby
DanielRb has joined #ruby
oo_ has joined #ruby
timonv has joined #ruby
dANOKELOFF has joined #ruby
thesheff17 has quit [Ping timeout: 255 seconds]
jottr has quit [Ping timeout: 255 seconds]
relix_ has quit [Read error: Connection reset by peer]
ctp has joined #ruby
relix has joined #ruby
funktor has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
vali has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
DanielRb has quit [Ping timeout: 264 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
oso96_2000 has quit [Ping timeout: 264 seconds]
trepidaciousMBR has quit [Quit: trepidaciousMBR]
Takle has quit [Remote host closed the connection]
oso|away has joined #ruby
oo_ has joined #ruby
oso|away is now known as oso96_2000
vali has joined #ruby
yubrew has joined #ruby
funktor has quit [Remote host closed the connection]
<ponga> its summer and my macbook is getting a lot of heat
<ponga> :(
<kilk_> lock by booble gum
techsethi has quit [Ping timeout: 264 seconds]
yubrew has quit [Ping timeout: 240 seconds]
<Hanmac> ponga: i have an old Toshiba "laptop" ... its getting so hot, that we removed some of the chassis ;P ...
<Hanmac> PS: did you guys know? Toshiba build Laptops and nuclear power plants ... coincidence ?
razrunelord has joined #ruby
rboo has quit [Quit: Page closed]
shvelo has joined #ruby
<ponga> Hanmac: *thumbs up
<ponga> but then, who buys toshiba laptop anyway
dwayhs__ has joined #ruby
<Hanmac> it was a gift from friends when i needed one ...
dwayhs__ has quit [Read error: Connection reset by peer]
<ponga> did the friend know how to recognise a laptop
<Hanmac> that laptop is as thick as my thumb is long ;D
<ponga> a good laptop
dwayhs__ has joined #ruby
<Hanmac> ponga: yeah! it has 100MHz ;D
<ponga> i see
<ponga> wait, what!?
<ponga> :P
<Hanmac> yeah its a Pentium I processor ;P
razrunelord has quit [Ping timeout: 240 seconds]
funktor has joined #ruby
Takle has joined #ruby
datafirm has joined #ruby
DanielRb has joined #ruby
little_fu has joined #ruby
oo_ has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
anarang is now known as anisha
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thrownaway has joined #ruby
<stian> hmm anyone in the UK want to buy a LG G Watch then ship it to me in norway :P
<stian> haha
tacos1de has quit [Ping timeout: 264 seconds]
<stian> :( nothing is available here
* stian cries
mikesplain has joined #ruby
<tobiasvl> stian: hi five fellow weegie
DanielRb has quit [Ping timeout: 240 seconds]
* stian high fives tobiasvl
tacos1de has joined #ruby
datafirm has quit [Ping timeout: 244 seconds]
DanielRb has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<stian> gah man
<stian> I want an android wear watch :(
<stian> why do they ship to UK and Germany but not Norway
<stian> like what have we done wrong
momomomomo has joined #ruby
<stian> fml for actually having the money to buy something cool for once and not being able to get it lol
<csmrfx> the gear 2 campaign aint done yet
<csmrfx> enjoy corporatism
<stian> indeed
benzrf is now known as benzrf|offline
<stian> well it's norway
<csmrfx> Im considering making apps for that
<stian> we don't even have the xbox one yet
mikesplain has quit [Ping timeout: 240 seconds]
<stian> Yes same csmrfx
<stian> I'd be a fun thing to do
<csmrfx> but Im pretty sure that is going to be marginal nerd thing
<stian> yes
<csmrfx> so, may not be worth the time
<stian> I really don't care though I like the concept :P
ctp has joined #ruby
<tobiasvl> stian: check out ebay in a few days ;)
<stian> but then the price will be up the ass
<stian> and I'll have to pay taxes on it too
DanielRb has quit [Ping timeout: 240 seconds]
<stian> I don't even have a functioning paypal account anymore lol
tjr9898 has joined #ruby
alem0lars has joined #ruby
<stian> it's funny, I registered a paypal before I turned 18, I'm now soon to be 26
<stian> and so last year they figured this out and deactivated my account
<stian> now I can't even deregister my credit card :(
DanielRb has joined #ruby
<stian> sorry for the rant
<stian> just mildly annoyed lol
alem0lars has quit [Client Quit]
jacobat has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
jacobat has joined #ruby
DanielRb has quit [Ping timeout: 245 seconds]
larissa has joined #ruby
fgo has joined #ruby
tjr9898 has quit []
DanielRb has joined #ruby
shredding has quit [Quit: shredding]
tjr9898 has joined #ruby
alec has joined #ruby
fschuindt has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
paulfm has joined #ruby
mconnolly has joined #ruby
fgo has quit [Ping timeout: 255 seconds]
GriffinHeart has joined #ruby
sk87 has joined #ruby
sukendhar has quit [Remote host closed the connection]
bmurt has joined #ruby
JasmeetQA has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
mconnolly has quit [Quit: mconnolly]
mconnolly has joined #ruby
GriffinHeart has quit [Ping timeout: 245 seconds]
dideler has joined #ruby
ldnunes has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
benzrf|offline is now known as benzrf
tesaf has joined #ruby
jcromartie has joined #ruby
dwayhs__ has quit [Quit: Lingo - http://www.lingoirc.com]
mbuf has quit [Quit: Leaving]
roolo has joined #ruby
yfeldblum has joined #ruby
fschuindt has joined #ruby
dennus has quit []
Takle has joined #ruby
phoo1234567 has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 264 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
Alina-malina has quit [Ping timeout: 255 seconds]
fschuindt has quit [Quit: Textual IRC Client: www.textualapp.com]
phoo1234567 has joined #ruby
Aryasam has joined #ruby
sk87 has joined #ruby
shredding has joined #ruby
Takle has quit [Read error: Connection reset by peer]
phoo1234567 has quit [Max SendQ exceeded]
Takle has joined #ruby
trepidaciousMBR has joined #ruby
phoo1234567 has joined #ruby
ringarin has joined #ruby
little_fu has quit [Remote host closed the connection]
eka has joined #ruby
p0sixpscl has quit [Quit: p0sixpscl]
funktor has quit [Remote host closed the connection]
oo_ has joined #ruby
garndt has joined #ruby
p0sixpscl has joined #ruby
wald0 has quit [Ping timeout: 244 seconds]
fschuindt has joined #ruby
dideler has quit [Ping timeout: 244 seconds]
little_fu has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
ndrei has joined #ruby
little_f_ has joined #ruby
dreamchaser has joined #ruby
Takle has quit [Remote host closed the connection]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
little_fu has quit [Ping timeout: 245 seconds]
jerius has joined #ruby
datafirm has joined #ruby
mconnolly has quit [Ping timeout: 240 seconds]
mengu has quit [Remote host closed the connection]
thesheff17 has joined #ruby
Takle has joined #ruby
mconnolly has joined #ruby
sunya7a has joined #ruby
mikesplain has joined #ruby
bjhaid has joined #ruby
benzrf is now known as benzrf|offline
abdulsattar_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
datafirm has quit [Ping timeout: 264 seconds]
tkuchiki has joined #ruby
s2013 has joined #ruby
mary5030 has quit [Remote host closed the connection]
mikesplain has quit [Ping timeout: 244 seconds]
alec has quit [Remote host closed the connection]
mary5030 has joined #ruby
alec has joined #ruby
kp666 has quit [Ping timeout: 245 seconds]
nfk has joined #ruby
Barrayar has joined #ruby
tkuchiki has quit [Ping timeout: 240 seconds]
jcromartie has joined #ruby
coderhs has quit [Ping timeout: 245 seconds]
qwyeth has joined #ruby
JohnBat26 has quit [Ping timeout: 244 seconds]
vyorkin has joined #ruby
alec has quit [Ping timeout: 240 seconds]
little_f_ has quit [Remote host closed the connection]
vt102 has joined #ruby
dblessing has joined #ruby
alec has joined #ruby
lxsameer has quit [Quit: Leaving]
benzrf|offline is now known as benzrf
fgo has joined #ruby
Ankhers has joined #ruby
Aryasam has quit [Read error: Connection reset by peer]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vt102 has quit [Remote host closed the connection]
ndrei_ has joined #ruby
crazymykl has joined #ruby
mikesplain has joined #ruby
maasha has quit [Quit: Page closed]
alec has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 244 seconds]
alec has joined #ruby
moritzschaefer has quit [Ping timeout: 245 seconds]
vt102 has joined #ruby
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
mikesplain has quit [Ping timeout: 240 seconds]
s2013 has quit [Ping timeout: 240 seconds]
tkuchiki has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
pu22l3r has joined #ruby
alexju has joined #ruby
oo_ has quit [Remote host closed the connection]
badhatter has joined #ruby
alec has quit [Remote host closed the connection]
JasonG_ has joined #ruby
alec has joined #ruby
andrewhl has joined #ruby
Brando753 has joined #ruby
bjhaid has quit [Ping timeout: 240 seconds]
centrx has joined #ruby
pu22l3r has quit [Ping timeout: 255 seconds]
yubrew has joined #ruby
jcromartie has quit [Quit: Textual IRC Client: www.textualapp.com]
alec has quit [Ping timeout: 255 seconds]
Alina-malina has joined #ruby
jacobat has quit [Ping timeout: 255 seconds]
phutchins has joined #ruby
thesheff17 has quit [Ping timeout: 240 seconds]
hamakn has quit [Remote host closed the connection]
Zenigor has joined #ruby
hamakn has joined #ruby
yubrew has quit [Ping timeout: 255 seconds]
s2013 has joined #ruby
<olivier_bK> i call a methode number_ep(page) this methode work
<olivier_bK> do know how i can get the output in hash ?
balazs has joined #ruby
<olivier_bK> i try that but that doens't work configs[title].push(number_ep(page))
<olivier_bK> i only have the title
kalusn has joined #ruby
mengu has joined #ruby
djcp has joined #ruby
mgberlin_ has joined #ruby
mgberlin_ has quit [Remote host closed the connection]
mgberlin_ has joined #ruby
kalusn has quit [Remote host closed the connection]
vyorkin has quit [Ping timeout: 255 seconds]
SilverKey has joined #ruby
kalusn has joined #ruby
<olivier_bK> there is nobody here ??
<olivier_bK> it's not a time for vacation :)
<tobiasvl> I'm here but I have no idea what you're asking
jprovazn has quit [Quit: Leaving]
balazs has quit [Remote host closed the connection]
Azure_ is now known as Azure
mercwithamouth has joined #ruby
funktor has joined #ruby
little_fu has joined #ruby
<grieg> olivier_bK, show the code plz
<olivier_bK> okai
little_f_ has joined #ruby
razrunelord has joined #ruby
volk_ has joined #ruby
little_fu has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
ConsoleFx has joined #ruby
anisha has quit [Quit: Leaving]
razrunelord has quit [Ping timeout: 264 seconds]
<ConsoleFx> How I can list out all the method names present for a specific module? Lets say in python we do import os ; print dir(os) -> lists the method names... whats the way to achieve the same in Ruby...
<centrx> What in the world...
<centrx> ConsoleFx, object.methods ?
kalusn has quit [Remote host closed the connection]
<centrx> olivier_bK, The block is incomplete, that's one problem
cocotton has joined #ruby
<olivier_bK> what do you mean
<centrx> olivier_bK, x.each do |ep| starts a block, but it never ends. That should be a syntax error.
little_f_ has quit [Remote host closed the connection]
<ConsoleFx> centrx: I tried to do the same to import Metasploit module but dono where I am doing wrong.. It doesnt list out the method names available for Metasploit module
kevind has joined #ruby
<olivier_bK> centrx, i forget to cpy the last end
<olivier_bK> but the syntax is okai
Zenigor_ has joined #ruby
datafirm has joined #ruby
Zenigor has quit [Read error: Connection reset by peer]
amargherio has joined #ruby
ffranz has joined #ruby
djcp has left #ruby ["WeeChat 0.4.3"]
jacobat has joined #ruby
jerius_ has joined #ruby
mgberlin_ has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
jerius has quit [Ping timeout: 244 seconds]
mikesplain has joined #ruby
ziyadb has joined #ruby
datafirm has quit [Ping timeout: 244 seconds]
mikespla_ has joined #ruby
lmickh has joined #ruby
<ConsoleFx> centrx: got it... thanks anyways :)
ConsoleFx has left #ruby [#ruby]
<ponga> hi centrx
GriffinHeart has joined #ruby
<centrx> Ahoy ponga
net_mask has joined #ruby
<centrx> We meet again!
bluOxigen has joined #ruby
ari-_-e has quit [Quit: Leaving]
VeinMelted__ has joined #ruby
mikesplain has quit [Ping timeout: 264 seconds]
<dangerousdave> what does "Usage: #{__FILE__} <QUEUE_NAME> <MESSAGE>" do? https://gist.github.com/deathwishdave/33468b9529e07e6d62c4
spastorino has joined #ruby
lemur has joined #ruby
<csmrfx> thats a comment
lemur has quit [Read error: Connection reset by peer]
<csmrfx> or actually a text block that is printed
GriffinHeart has quit [Ping timeout: 240 seconds]
<csmrfx> consider that like a string
<centrx> dangerousdave, That is part of a message printed to the screen. #{__FILE__} is the current file name, probably the name of the executable for a help message.
lemur has joined #ruby
bahar has quit [Changing host]
bahar has joined #ruby
<dangerousdave> centrx, it's all part of the puts?
VeinMelted_ has quit [Ping timeout: 255 seconds]
jprovazn has joined #ruby
<centrx> dangerousdave, Yes, it is called heredoc or here document syntax
s2013 has quit [Ping timeout: 255 seconds]
<dangerousdave> centrx, thanks!
fgo has joined #ruby
sevenseacat has joined #ruby
fgo has quit [Read error: Connection reset by peer]
fgo has joined #ruby
sailias has joined #ruby
jarto has joined #ruby
bartdorsey has joined #ruby
tjr9898 has quit [Remote host closed the connection]
fgo has quit [Read error: No route to host]
fgo has joined #ruby
treehug88 has joined #ruby
pu22l3r has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
funktor has quit [Remote host closed the connection]
funktor has joined #ruby
obscured has joined #ruby
moritzschaefer has joined #ruby
<tsunamie> Hi guys, having a little problem. with gzipreader. http://ruby-doc.org/stdlib-1.9.3/libdoc/zlib/rdoc/Zlib/GzipReader.html
<tsunamie> I am getting a decompressed object, however it's reading it as if the content inside the ZIP is in UTF-8 formate. It's asc2. How do I set it to read the content as ASC2 format
pu22l3r has quit [Ping timeout: 240 seconds]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
tesaf has quit [Quit: Lost terminal]
cocotton has joined #ruby
<tsunamie> simply putting gz = Zlib::GzipReader.new(file, "r:ASCII-8BIT" ) does'nt work
gigetoo has quit [Remote host closed the connection]
jottr_ has joined #ruby
yubrew has joined #ruby
enebo has joined #ruby
VeinMelted__ has quit [Quit: Computer has gone to sleep.]
gigetoo has joined #ruby
freerobby has joined #ruby
jobewan has joined #ruby
rr123 has joined #ruby
rr123 has left #ruby [#ruby]
mijicd has joined #ruby
yubrew has quit [Read error: Connection reset by peer]
yubrew_ has joined #ruby
TheNumb has quit [Read error: Connection reset by peer]
pu22l3r has joined #ruby
TheNumb has joined #ruby
grn has quit [Read error: Connection reset by peer]
somethinkz has joined #ruby
Dwarf has quit [Ping timeout: 264 seconds]
RoryHughes has quit [Ping timeout: 264 seconds]
grn has joined #ruby
Pyrotecnix has joined #ruby
optiz0r has quit [Remote host closed the connection]
orionstein_away is now known as orionstein
jerius_ has quit []
Pyrotecnix has quit [Client Quit]
shvelo has quit [Ping timeout: 245 seconds]
<tsunamie> anyone home
Pyrotecnix has joined #ruby
<Hanmac> tsunamie: isnt ASC2 an encryption? ruby std zlib can not do that as far as i know
Zackio has quit [Ping timeout: 264 seconds]
RoryHughes has joined #ruby
tagrudev has quit [Remote host closed the connection]
optiz0r has joined #ruby
Zackio has joined #ruby
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
jerius has joined #ruby
<tsunamie> Hanmac, so if a file has a content type of ASCII, and that has been compressed into a gz file. Why does gz = Zlib::GzipReader.new(file) assumethe files content in UTF-8 when reading it
jeregrine has joined #ruby
pu22l3r has quit [Ping timeout: 264 seconds]
pgmcgee has quit [Disconnected by services]
Dwarf has joined #ruby
mjsmith2 has joined #ruby
<Hanmac> tsunamie: you know that "ASCII" and "ASCII-8BIT" are different? did you also try the other one?
rien has joined #ruby
pgmcgee has joined #ruby
<Hanmac> tsunamie: question: is it a someting.gz or a something.tar.gz archive?
<tsunamie> Hanmac, try what precisly?
<rien> if the response to RestClient.get(some_url, headers) is a file, then how do I avoid "ArgumentError: string contains null byte" ?
<tsunamie> Hanmac, something.gz
<Hanmac> tsunamie: "ASCII" and "ASCII-8BIT" are two different encodings
shredding has quit [Ping timeout: 244 seconds]
sailias has quit [Quit: Leaving.]
mary5030 has quit [Remote host closed the connection]
<tsunamie> Hanmac, and how do I try setting the encoding for files being read out by Zlib::GzipReader.new ??
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
sunya7a_ has joined #ruby
mengu has quit [Remote host closed the connection]
<tsunamie> Hanmac, thats kind of my question. on file.open all I do is File.open(filename, "r:ASCII-8BIT" ) do |file|
vasilakisFiL has joined #ruby
sunya7a has quit [Ping timeout: 245 seconds]
vysakh0 has joined #ruby
<tsunamie> Hanmac, however I can't set how it reads things out of a gziped file. hope this makes sence
<Hanmac> tsunamie: "r:ASCII-8BIT" the second part s the encoding, try "r:ASCII"
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjr9898 has joined #ruby
eka has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<vasilakisFiL> hello! if I include a module (which has some submodules) in a class can I access somehow the submodules's classes ?
tjr9898 has joined #ruby
<tsunamie> Hanmac, on the file.open statment?
<Hanmac> yeah
fgo has quit [Remote host closed the connection]
vysakh0 has left #ruby [#ruby]
<vasilakisFiL> I mean something like that http://pastie.org/9326872
shredding has joined #ruby
ponga has quit []
SBoolean has joined #ruby
<Hanmac> vasilakisFiL: not possible like that, Bar is not included in the same class/object as Foo (and normaly it also should not
jarto has joined #ruby
<tsunamie> Hanmac, k so trying this. However I assume your saying that the problem is not in the Zlib::GzipReader.new line but in the file.open line before it
somethinkz has quit [Quit: Page closed]
<vasilakisFiL> Hanmac thanks for the answer.. the problem is that I have 2 modules that I include in the same class, but although they have different subclasses, both of them have the same method name in the subclass and I would like to access both of them.. any idea ? code: http://pastie.org/9326902
mercwithamouth has quit [Ping timeout: 240 seconds]
<Hanmac> rien: so you want to transport a binary file over Rest? you might need to base64 encode the file
dreamchaser has joined #ruby
bartdorsey has quit [Ping timeout: 244 seconds]
<rien> Hanmac: I'm using RestClient to GET a file. In the process of Getting, ruby complains there's a \0 in the string
<rien> Hanmac: I think the solution might be to skip RestClient at least to download files, and use this: http://ruby-doc.org/stdlib-1.9.3/libdoc/open-uri/rdoc/OpenURI.html
Jules_ has joined #ruby
<rien> RestClient's manual doesn't say anything about downloading files (it does say it handles uploading multi-part files, which is nice but not what I need)
<Hanmac> rien: maybe, i dont know in which string the \0 byte is into ... maybe the RestServer does not output the file correctly
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
RaCx has joined #ruby
mary5030 has joined #ruby
<rien> Hanmac: yes it could be the server's fault but I don't have access to it to fix it from there
<rien> I think the problem is I'm choosing to read the file as a string and it's my fault
Jules_ has quit [Client Quit]
<rien> with "open" as in that URL I pasted, I'm implicitly specifying that I want to read the file as binary
<rien> I'll try that now
snath has quit [Ping timeout: 264 seconds]
sailias has joined #ruby
aganov has quit [Quit: Leaving]
sirecote has joined #ruby
Giffc has joined #ruby
Giffc has left #ruby [#ruby]
maximski has quit []
moritzschaefer has quit [Ping timeout: 240 seconds]
xeqtr has quit [Quit: xeqtr]
eka has joined #ruby
shredding has quit [Read error: No route to host]
jagadish has quit [Remote host closed the connection]
emptyflask has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
gypsydave5 has quit [Read error: Connection reset by peer]
prathamesh has joined #ruby
jprovazn is now known as jprovazn_afk
dorei has joined #ruby
vyorkin has joined #ruby
benzrf has quit [Ping timeout: 240 seconds]
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
CaptainJet has joined #ruby
echevemaster has joined #ruby
Zenigor_ has quit [Remote host closed the connection]
nateberkopec has joined #ruby
St_Marx has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
Pyrotecnix has quit [Quit: Leaving]
bartdorsey has joined #ruby
oo_ has joined #ruby
bartdorsey has quit [Client Quit]
Pyrotecnix has joined #ruby
bartdorsey has joined #ruby
prathamesh has quit [Ping timeout: 240 seconds]
Pyrotecnix has quit [Client Quit]
datafirm has joined #ruby
Pyrotecnix has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
ndrei_ has quit [Ping timeout: 264 seconds]
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
uresu has quit [Quit: uresu]
bal has quit [Quit: bal]
Zenigor has joined #ruby
prathamesh has joined #ruby
Poky has quit [Remote host closed the connection]
sopheny has joined #ruby
hobodave has joined #ruby
datafirm has quit [Ping timeout: 240 seconds]
shvelo has joined #ruby
thesheff17 has joined #ruby
lmickh has quit [Remote host closed the connection]
dreamchaser has joined #ruby
jespada has quit [Quit: Leaving]
snath has joined #ruby
intnsity has joined #ruby
jespada has joined #ruby
vyorkin has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby
mehlah has quit [Quit: Leaving...]
mgberlin has joined #ruby
ndrei has joined #ruby
ndrei_ has joined #ruby
sdouglas has joined #ruby
fgo has joined #ruby
terrellt has joined #ruby
<hobodave> hey guys
sevenseacat has quit [Read error: Connection reset by peer]
hamakn has quit [Remote host closed the connection]
<jsaak> vasilakisFiL: include the firstone, rename the method, include the second module
ixx has joined #ruby
<hobodave> is there any reason to prefer one of these over the other?: (200.299).include?(code) vs. [*200..299].include?(code)
ixx is now known as Guest49103
<slash_nick> hobodave: absolutely
<hobodave> my inclination is for the Range, but I don't know if it's really that different
<centrx> The Range is cleaner looking, so you should use that
<hobodave> and ignore the typo
<slash_nick> centrx: i was going to say to use the one on the right because of the typo
<hobodave> lol
<centrx> If this is a performance hot spot, you could check which is faster, but generally code in the way that is clearest to understand
<centrx> hah
<slash_nick> hobodave: couldn't pass up the opportunity
p0sixpscl has quit [Quit: p0sixpscl]
<hobodave> I imagine Ruby will iterate over the range internally
<hobodave> unless it's smart enough to just do comparisons with the edges
<centrx> There is #include? and #cover? they have slightly different behavior in that respect
<centrx> I forget which is which
<Sou|cutter> you probably want #cover?
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
axisys has joined #ruby
cocotton has quit [Remote host closed the connection]
geggam has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
<hobodave> not familiar with cover
alem0lars has joined #ruby
phinfonet has joined #ruby
<hobodave> ah cool
axisys has quit [Changing host]
axisys has joined #ruby
<hobodave> looks like include? behaves the same way on a Range
<hobodave> if the ends are numeric
Morkel has quit [Quit: Morkel]
execute has joined #ruby
Takle has quit [Remote host closed the connection]
kalusn has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
b00stfr3ak has joined #ruby
execute is now known as _axx
_axx has left #ruby [#ruby]
DanielRb has quit [Ping timeout: 264 seconds]
stytown has joined #ruby
dukedave has joined #ruby
emptyflask has quit [Remote host closed the connection]
apeiros has joined #ruby
prathamesh has quit []
mgberlin has quit [Ping timeout: 244 seconds]
prathamesh has joined #ruby
cpruitt has joined #ruby
marr has quit [Ping timeout: 264 seconds]
Hanmac1 has joined #ruby
em0ral has joined #ruby
<vasilakisFiL> thanks jsaak it workd :) is there any other way to namespace such methods ? because they are declared under different module names
codeurge has joined #ruby
ixti has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
baroquebobcat has joined #ruby
execute has joined #ruby
codeurge has quit [Remote host closed the connection]
Beoran__ has joined #ruby
fabrice31 has quit [Remote host closed the connection]
codeurge has joined #ruby
Takle has joined #ruby
DanielRb has joined #ruby
agjacome has joined #ruby
codeurge has quit [Client Quit]
yeticry has quit [Ping timeout: 244 seconds]
<hobodave> interesting Range#cover? is slighly more performant than Range#include?
execute has quit [Client Quit]
Beoran_ has quit [Ping timeout: 240 seconds]
dik_dak has joined #ruby
chrishough has joined #ruby
yeticry has joined #ruby
stytown has quit [Quit: stytown]
alec has joined #ruby
<Hanmac1> hobodave: there is also Numeric#between?
<centrx> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<centrx> DING DING DING
<hobodave> really? I don't see that here: http://www.ruby-doc.org/core-2.1.2/Numeric.html
momomomomo has quit [Quit: momomomomo]
<hobodave> (200..299).include? and (200..299).cover? are both pretty clear to me
<hobodave> and the performance "gain" by using cover is truly a microoptimization
<hobodave> I can't imagine Numeric#between or whatever being that much better
pu22l3r_ has joined #ruby
<Hanmac1> hobodave: no i was wrong its comming from Comparable
oo_ has quit [Remote host closed the connection]
Hanmac1 is now known as Hanmac
<hobodave> ah
aspires has joined #ruby
rippa has joined #ruby
<AntelopeSalad> when using sort_by on an array that contains hashes as each element, you can pass in a block to sort on a specific key , but yesterday someone informed me you can do even more by adding...
<hobodave> it is faster though :)
mattstratton has joined #ruby
kiri has quit [Remote host closed the connection]
<AntelopeSalad> {value_a: 1, value_b: 2, value_b: 3}[hash[:value_key] , to do a custom sort order
<AntelopeSalad> it works but where is this documented?
dreamchaser has quit [Ping timeout: 264 seconds]
<AntelopeSalad> it seems like such an obscure but excellent feature
K3dare has joined #ruby
<hobodave> Hanmac Comparable#between? took about 1.6 seconds to do 1 million calls, Range#cover? took 2.6 seconds to do the same million
<hobodave> ok enough time wasting :)
<apeiros> Range#cover? will cause more GC stress too, as it generates more objects (throw-away Range instances)
timonv has quit [Remote host closed the connection]
prathamesh has quit [Remote host closed the connection]
<apeiros> AntelopeSalad: I'm not following. you mean you can return an array from the sort_by block to sort by multiple values?
prathamesh has joined #ruby
alec has quit [Remote host closed the connection]
alec has joined #ruby
<apeiros> AntelopeSalad: incomplete example. where does `element` come from?
<AntelopeSalad> apeiros: not by multiple values but provide a custom "algorithm" to sort the hash keys on
<AntelopeSalad> refresh
<AntelopeSalad> element is the current element in the sort_by block
bradleyprice has quit [Remote host closed the connection]
stytown has joined #ruby
<apeiros> you don't provide a custom algorithm to sort
<apeiros> all you do is you return a value by which the item is sorted. as documented by sort_by
<AntelopeSalad> without the custom sorting, it would output them in alphabetical order
bradleyprice has joined #ruby
bricker`work has joined #ruby
kireevco has joined #ruby
<apeiros> as for your question: it's documented in Enumerable#sort_by (and Array#sort_by, which works identically)
<AntelopeSalad> {red: 1, yellow: 2, green: 3}[element[:color]] vs element[:color]
<AntelopeSalad> the second one is alphabetical
prathamesh has quit [Ping timeout: 245 seconds]
<apeiros> yes, think about what the resulting value of those two expressions is
<AntelopeSalad> the part i don't get is , {red: 1, yellow: 2, green: 3}[element[:color]]
<AntelopeSalad> i mean i get what the output is but what is this called?
alec has quit [Ping timeout: 245 seconds]
lmickh has joined #ruby
<apeiros> it's a hash where you look up a key
<AntelopeSalad> you're passing an array to a hash and using it as a function or something, wtf? heh
<apeiros> >> element = {color: :red}; {red: 1, yellow: 2, green: 3}[element[:color]]
<eval-in> apeiros => 1 (https://eval.in/167243)
_axx has joined #ruby
<apeiros> since element[:color] => :red, {red: 1, …}[:red] => 1
<apeiros> unfold it to multiple expressions if that helps you
<AntelopeSalad> ah, i didn't know you could access a hash like that
saarinen has quit [Quit: saarinen]
<AntelopeSalad> so it's the same as looking up an index in an array ( [] syntax ) , except you can pass in a key name
<apeiros> AntelopeSalad: eh, you do know. otherwise you wouldn't understand element[:color] either ;-)
<AntelopeSalad> yeah, the {} threw me off i guess
bradleyprice has quit [Ping timeout: 245 seconds]
<AntelopeSalad> but element evaluates to the same thing
sdouglas has quit [Remote host closed the connection]
<apeiros> it's just that instead of `x = {a: 1, b: 2}; x[:a]`, you put the literal value in place of the variable directly: `{a: 1, b: 2}[:a]`
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> yes, element evaluates to the hash of your current element
<AntelopeSalad> you're working on a hash in both cases, it's just assigned to a variable vs not
<apeiros> correct
EvanR has joined #ruby
<apeiros> you can do the same with other literals too, and you most likely have done so:
<apeiros> >> [:a, :b, :c][1]
<eval-in> apeiros => :b (https://eval.in/167244)
EvanR is now known as Guest81616
<apeiros> >> "string".upcase
<eval-in> apeiros => "STRING" (https://eval.in/167245)
hobodave has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<AntelopeSalad> yep
hamakn has joined #ruby
<apeiros> all you do is call a method on an object literal. instead of on a variable.
<AntelopeSalad> thanks for clearing that up, now it all makes sense
razrunelord has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<daxroc> Evening all, I'm working with the ruby_vcloud sdk I'm wanting to change the Logger level to reduce the output of xml to stdout https://github.com/vchs/ruby_vcloud_sdk/blob/master/lib/ruby_vcloud_sdk/client.rb If I pass my own logger object in it errors because of no [] function on dev. How would/should I change the level ?
jailbot has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
tvw has quit []
pietr0 has joined #ruby
Guest87659 has quit [Ping timeout: 272 seconds]
dumdedum has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
Shidash has quit [Ping timeout: 255 seconds]
skaflem has quit [Quit: Leaving]
<Hanmac> AntelopeSalad & apeiros works for other literals too
<Hanmac> >> :abc[1]
<eval-in> Hanmac => "b" (https://eval.in/167246)
GriffinHeart has joined #ruby
razrunelord has quit [Ping timeout: 244 seconds]
<centrx> That's only because Symbol#[] is defined as self.to_s[]
vpretzel has joined #ruby
<apeiros> we can reduce that: of course. because Symbol#[] is defined :)
<apeiros> >> 213[3]
<eval-in> apeiros => 0 (https://eval.in/167248)
_axx has quit [Quit: WeeChat 0.3.8]
SBoolean has quit [Ping timeout: 240 seconds]
SBoolean has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
GriffinHeart has quit [Ping timeout: 245 seconds]
sunya7a_ has quit [Ping timeout: 245 seconds]
funktor has quit [Remote host closed the connection]
funktor has joined #ruby
datafirm has joined #ruby
mijicd has quit [Remote host closed the connection]
jacobat has quit [Ping timeout: 244 seconds]
funktor has quit [Ping timeout: 244 seconds]
kireevco has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
kireevco has joined #ruby
jhass|off is now known as jhass
datafirm has quit [Ping timeout: 264 seconds]
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
aspires has quit []
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
Joulse has quit [Quit: Joulse]
beneggett has joined #ruby
kalusn has quit [Remote host closed the connection]
everdaniel has joined #ruby
fgo has joined #ruby
mikepack has joined #ruby
Ankhers has quit [Remote host closed the connection]
<GeekOnCoffee> stupid reality check... is there a better way to do: "sFileName_#{index}".to_sym
<GeekOnCoffee> need (in a loop) to generate :sFileName_1
maestrojed has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
zkay11 has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
mikepack has joined #ruby
bubbajones has quit [Quit: leaving]
Ankhers has joined #ruby
doodlehaus has joined #ruby
tacos1de has quit [Ping timeout: 264 seconds]
<centrx> GeekOnCoffee, That seems like the best way
<GeekOnCoffee> sad... ok, thanks :)
<centrx> GeekOnCoffee, Well, why do you have a number has a symbol/key anyway?
vasilakisFiL has quit [Remote host closed the connection]
<centrx> GeekOnCoffee, Is this going to produce hundreds of symbols and use them as keys? It sounds like a design flaw
<centrx> e.g. use an Array, it has indexes
tacos1de has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
andrewhl_ has joined #ruby
wowXD has quit [Remote host closed the connection]
M_3212 has joined #ruby
andrewhl_ has quit [Client Quit]
bubbajones has joined #ruby
andrewhl has quit [Ping timeout: 240 seconds]
<GeekOnCoffee> centrx: doing an API wrapper for HTTParty
mjsmith2_ has joined #ruby
dANOKELOFF has quit []
<GeekOnCoffee> so I've got to build up the query json the way the API wants it
<GeekOnCoffee> that said, trying to figure out if they can be strings, rather than symbols at least
M_3212 has quit [Client Quit]
agjacome has quit [Quit: leaving]
fschuindt has quit [Quit: Textual IRC Client: www.textualapp.com]
pu22l3r_ has quit [Remote host closed the connection]
endash has joined #ruby
Takle has quit [Remote host closed the connection]
<GeekOnCoffee> looks like I might be able to use strings, that cleans it up a bit
xIzIv has joined #ruby
Tricon has joined #ruby
<xIzIv> hi here
defrang has quit [Quit: defrang]
cocotton has quit [Remote host closed the connection]
<GeekOnCoffee> xIzIv: hi
<xIzIv> what do you think about that: (something if condition) || []
datafirm has joined #ruby
mjsmith2_ has quit [Remote host closed the connection]
banister has joined #ruby
mary5030 has quit [Remote host closed the connection]
yubrew_ has quit []
mjsmith2 has joined #ruby
sputnik13 has joined #ruby
<GeekOnCoffee> xIzIv: as opposed to: condition ? something : []
<stytown> Anyone have tips on coming up with a good scoring algorithm?
<xIzIv> yes, but in previous case we check condition and also something value
mary5030 has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
tjr9898 has quit [Remote host closed the connection]
<xIzIv> GeekOnCoffee: like when something will be nil
<GeekOnCoffee> ahh, true. I'd take the fact that that isn't obvious as a warning sign
cocotton has joined #ruby
Takle has joined #ruby
sputnik13 has quit [Client Quit]
sputnik13 has joined #ruby
Hanmac1 has joined #ruby
<GeekOnCoffee> xIzIv: I'd probably break it out into 2 lines; something if condition; something ||= []
Hanmac has quit [Ping timeout: 244 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
yfeldblum has joined #ruby
tjr9898 has joined #ruby
dangerousdave has quit []
RaCx has joined #ruby
mconnolly has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
mjsmith2 has quit [Remote host closed the connection]
kilk_ has quit [Ping timeout: 245 seconds]
liesel has joined #ruby
M_3212 has joined #ruby
deric_skibotn has joined #ruby
olduseless has joined #ruby
binaryhat has joined #ruby
M_3212 has quit [Client Quit]
razrunelord has joined #ruby
dc has quit []
fayimora has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
stytown has quit [Quit: stytown]
gr33n7007h has joined #ruby
liesel has left #ruby [#ruby]
workmad3 has quit [Ping timeout: 240 seconds]
Takle has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 245 seconds]
sdouglas has joined #ruby
marr has joined #ruby
jezen has joined #ruby
jezen has quit [Read error: Connection reset by peer]
jezen has joined #ruby
sdouglas has quit [Remote host closed the connection]
alex88 has quit [Quit: Leaving...]
maletor has joined #ruby
execute has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
execute has left #ruby [#ruby]
kilk_ has joined #ruby
xIzIv has quit [Quit: WeeChat 0.4.3]
einarj has quit [Remote host closed the connection]
edgarjs_afk is now known as edgarjs
djbkd has joined #ruby
lkba has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
zorak has quit [Ping timeout: 240 seconds]
SBoolean has quit [Ping timeout: 255 seconds]
Bira has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tobago has quit [Remote host closed the connection]
tier has joined #ruby
Takle has joined #ruby
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
shinobi_one has joined #ruby
jottr_ has quit [Ping timeout: 244 seconds]
alem0lars has quit [Quit: alem0lars]
mjsmith2 has joined #ruby
carraroj has joined #ruby
Shidash has joined #ruby
chth0n has quit [Ping timeout: 245 seconds]
kalusn has joined #ruby
binaryhat has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
binaryhat has joined #ruby
treehug88 has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
trepidaciousMBR has quit [Ping timeout: 240 seconds]
nmokru has joined #ruby
jailbot has quit [Remote host closed the connection]
ynkbs has quit [Remote host closed the connection]
cpruitt has quit [Quit: cpruitt]
cpruitt has joined #ruby
datafirm has joined #ruby
binaryhat has quit [Remote host closed the connection]
jottr_ has joined #ruby
binaryhat has joined #ruby
WillAmes has quit [Ping timeout: 255 seconds]
RaCx has joined #ruby
vyorkin has joined #ruby
doev has quit [Ping timeout: 255 seconds]
SCHAAP137 has joined #ruby
kalusn has quit [Remote host closed the connection]
dilated_dinosaur has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby
fgo has joined #ruby
x1337807x has joined #ruby
einarj has joined #ruby
ringarin has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
binaryhat has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
fgo has quit [Ping timeout: 264 seconds]
zorak has joined #ruby
karmatr0n has joined #ruby
binaryhat has joined #ruby
binaryhat has quit [Read error: Connection reset by peer]
andrewjanssen has joined #ruby
dideler|work has quit [Ping timeout: 255 seconds]
wowXD has joined #ruby
superscott[8] has joined #ruby
mikecmpbll has joined #ruby
roolo has quit [Quit: Leaving...]
lsmola__ has quit [Ping timeout: 276 seconds]
wowXD has quit [Ping timeout: 264 seconds]
amargherio has quit [Ping timeout: 255 seconds]
dideler|work has joined #ruby
olivier_bK has quit [Ping timeout: 244 seconds]
heftig has joined #ruby
sdouglas has joined #ruby
djbkd has joined #ruby
<tus> so i got a method (foo) in a class. can i just write
<tus> t1=Thread.new{foo()}
<tus> t1.join
<havenwood> tus: sure
tacos1de has quit [Ping timeout: 264 seconds]
<tus> i think i am missing something though, because method foo is not being called at all. any ideas what i could have missed?
Spami has joined #ruby
benzrf|offline is now known as benzrf
<havenwood> tus: show your code on gist.github.com?
tacos1de has joined #ruby
amargherio has joined #ruby
<benzrf> tus: you dont need those parens fyi
chrishough has joined #ruby
<havenwood> t1 = Thread.new { foo }
<havenwood> spaces too :P
Barrayar has quit [Read error: Connection reset by peer]
pu22l3r has joined #ruby
saarinen has joined #ruby
SBoolean has joined #ruby
elricsfate has joined #ruby
vyorkin has quit [Quit: WeeChat 0.4.3]
nanoyak has joined #ruby
mattstratton has joined #ruby
djbkd has quit [Remote host closed the connection]
everdaniel has quit [Remote host closed the connection]
<havenwood> hem, gofmt for ruby: https://github.com/wojtekmach/rubyfmt#readme
pu22l3r has quit [Ping timeout: 244 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
icole has joined #ruby
Nies has joined #ruby
causasui has quit [Remote host closed the connection]
dideler|work has quit [Ping timeout: 240 seconds]
dideler|work has joined #ruby
causasui has joined #ruby
alec has joined #ruby
stytown has joined #ruby
alvaro_o has joined #ruby
sopheny has quit [Quit: Quitte]
j_mcnally has joined #ruby
acconrad has joined #ruby
jmurray has joined #ruby
cocotton has quit [Remote host closed the connection]
simplyaubs has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
jmurray has quit [Client Quit]
djbkd has joined #ruby
klaut has quit [Remote host closed the connection]
cocotton has joined #ruby
GriffinHeart has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
andrewjanssen has quit [Quit: Linkinus - http://linkinus.com]
defrang has joined #ruby
acconrad has quit [Ping timeout: 255 seconds]
nanoyak has joined #ruby
andrewjanssen has joined #ruby
yetanotherdave has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
alec is now known as alec-c4
mikecmpbll has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
VeinMelted__ has joined #ruby
beneggett has joined #ruby
alec-c4 is now known as alec
alec is now known as alec-c4
tyfighter has joined #ruby
charliesome has joined #ruby
cocotton has quit [Remote host closed the connection]
kireevco1 has joined #ruby
yfeldblum has joined #ruby
saarinen has quit [Quit: saarinen]
GriffinHeart has quit [Ping timeout: 240 seconds]
rebelshrug has joined #ruby
yetanoth1rdave has joined #ruby
kireevco has quit [Ping timeout: 240 seconds]
pietr0 has quit [Quit: pietr0]
beneggett has quit [Client Quit]
kaspergr_ has quit [Remote host closed the connection]
jmurray has joined #ruby
b00stfr3ak has quit [Ping timeout: 244 seconds]
alec-c4 is now known as c4
c4 has left #ruby [#ruby]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
diegoviola has joined #ruby
cocotton has joined #ruby
larsam has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
banister has joined #ruby
Hobogrammer has joined #ruby
gverri has joined #ruby
Bira has quit [Remote host closed the connection]
karmatr0n has quit [Remote host closed the connection]
Bira has joined #ruby
mnemon2 is now known as mnemon
mjsmith2 has quit [Remote host closed the connection]
pietr0 has joined #ruby
karmatr0n has joined #ruby
mjsmith2 has joined #ruby
codabrin_ has quit [Ping timeout: 264 seconds]
Valesk has quit [Ping timeout: 264 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
wowXD has joined #ruby
codabrink has joined #ruby
M_3212 has joined #ruby
wendly has quit [Remote host closed the connection]
Bira has quit [Ping timeout: 240 seconds]
einarj has quit [Remote host closed the connection]
jcromartie has joined #ruby
_maes_ has joined #ruby
saarinen has joined #ruby
amargherio_ has joined #ruby
amargherio_ is now known as MarioEIU
wowXD has quit [Ping timeout: 255 seconds]
amargherio has quit [Disconnected by services]
MarioEIU is now known as amargherio
JohnBat26 has joined #ruby
shvelo has quit [Ping timeout: 264 seconds]
volk_ has quit [Quit: volk_]
zkay11 has quit [Quit: Leaving.]
codabrink has quit [Ping timeout: 240 seconds]
volk_ has joined #ruby
pietr0 has quit [Quit: pietr0]
RaCx has quit [Quit: Computer has gone to sleep.]
brunops has joined #ruby
AlSquire has joined #ruby
treehug88 has joined #ruby
codabrink has joined #ruby
acconrad has joined #ruby
dfinly has joined #ruby
dfinly has quit [Max SendQ exceeded]
naiyte has joined #ruby
Takle has quit [Remote host closed the connection]
fgo has joined #ruby
emptyflask has joined #ruby
alec-c4 has joined #ruby
simplyaubs has quit [Quit: simplyaubs]
ascarter has joined #ruby
djbkd has quit [Remote host closed the connection]
b00stfr3ak has joined #ruby
kaspergrubbe has joined #ruby
acconrad has quit [Ping timeout: 244 seconds]
entity_ has quit [Ping timeout: 264 seconds]
naiyte has quit [Client Quit]
kenneth has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
RaCx has joined #ruby
<stian> dear god
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<stian> so many tickets :(
<stian> staph
<stian> fuck working 12 hours days
edgarjs is now known as edgarjs_afk
djbkd has joined #ruby
_maes_ has joined #ruby
beneggett has joined #ruby
<kaspergrubbe> stian: Doesn't sound healthy
rdark has quit [Quit: leaving]
testcore has joined #ruby
entity_ has joined #ruby
pu22l3r has joined #ruby
<stian> well I'm not working 12 hours a day, it's just that I'm available and respond to support tickets the hours I'm awake
stytown has quit [Quit: stytown]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo has joined #ruby
<stian> it's so damn difficult supporting a ton of timezones
SloggerKhan has quit [Ping timeout: 255 seconds]
wizzywoZzy has quit [Ping timeout: 255 seconds]
wizzywoZzy has joined #ruby
edgarjs_afk is now known as edgarjs
SloggerKhan has joined #ruby
pietr0 has joined #ruby
Poky has joined #ruby
relix has joined #ruby
momomomomo has quit [Client Quit]
chris123456789 has joined #ruby
alec-c4 has left #ruby [#ruby]
johnmolina has joined #ruby
chris123456789 has quit [Client Quit]
pu22l3r has quit [Ping timeout: 240 seconds]
chris123456789 has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pu22l3r has joined #ruby
Georg3 has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
jezen has quit [Remote host closed the connection]
<Georg3> hey what chat program puts "My MacBook Pro has gone to sleep. ZZZzzz..."?
relix has quit [Ping timeout: 240 seconds]
<GeekOnCoffee> Georg3: looks like textual
asteve has joined #ruby
emptyflask has quit [Remote host closed the connection]
<Georg3> GeekOnCoffee: ahh ok, I'm not a huge fan of Colloquy, think I'm gonna give another one a try.
<Georg3> Thanks.
<GeekOnCoffee> Georg3: I'm using Lingo, it's not bad
<elaptics> Georg3: Textual is nice
<Georg3> Lingo, hmm I'm gonna check that out now.
momomomomo has joined #ruby
<Georg3> Oh wow, Lingo is perfect.
<Georg3> Thanks, GeekOnCoffee . Gonna give this a download now.
momomomomo has quit [Client Quit]
thrownaway has quit [Ping timeout: 244 seconds]
stytown has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
mconnolly has joined #ruby
entity_ has quit [Quit: Lost terminal]
<stian> irssi is good too :P
<sonofflynn> ah sorry, was that my client putting the macbook pro has gone to sleep?
ringarin has joined #ruby
<Georg3> oh GeekOnCoffee - Lingo was just updated today =)
<Georg3> err Yesterday rather.
<Georg3> brb, switching clients.
mjsmith2 has quit [Remote host closed the connection]
|RicharD| has quit [Read error: No route to host]
Georg3 has quit [Quit: Georg3]
<kaspergrubbe> I like LimeChat
lmickh has quit [Ping timeout: 255 seconds]
volk_ has quit [Quit: volk_]
mjsmith2 has joined #ruby
<shevy> xchat forever
stytown has quit [Client Quit]
Georg3 has joined #ruby
edwardly has quit [Quit: ZNC - http://znc.in]
tjr9898 has quit [Ping timeout: 245 seconds]
edwardly has joined #ruby
Valesk has joined #ruby
Zenigor has quit [Ping timeout: 245 seconds]
<Georg3> Thanks again GeekOnCoffee =) Lingo is exactly what I was looking for.
relix has joined #ruby
kirun has joined #ruby
cuqa has quit [Changing host]
cuqa has joined #ruby
mrevd has joined #ruby
lmickh has joined #ruby
ada has quit [Ping timeout: 276 seconds]
tus is now known as tus_test
tus_test is now known as tus
klaskagan has joined #ruby
emptyflask has joined #ruby
Zenigor has joined #ruby
sepp2k has joined #ruby
nmokru has quit [Quit: nmokru]
tjr9898_ has joined #ruby
alec-c4 has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
klaskagan has quit [Quit: Leaving]
datafirm has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tus is now known as t14206
t14206 is now known as tus
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mrevd> hey all. im getting what appears to be an openssl error from faraday (Connection reset by peer)… haven't been able to find a solution. has anyone experienced this?
CaptainJet has quit [Read error: Connection reset by peer]
kaspergr_ has joined #ruby
<shevy> isn't that an IRC error mrevd?
kaspergrubbe has quit [Read error: Connection reset by peer]
paulfm has quit []
SloggerKhan has quit [*.net *.split]
emptyflask has quit [*.net *.split]
SCHAAP137 has quit [*.net *.split]
diegoviola has quit [*.net *.split]
karmatr0n has quit [*.net *.split]
superscott[8] has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
mikecmpbll has quit [*.net *.split]
zorak has quit [*.net *.split]
rippa has quit [*.net *.split]
vpretzel has quit [*.net *.split]
baroquebobcat has quit [*.net *.split]
deric_skibotn has quit [*.net *.split]
Tricon has quit [*.net *.split]
ixti has quit [*.net *.split]
K3dare has quit [*.net *.split]
dukedave has quit [*.net *.split]
axisys has quit [*.net *.split]
jespada has quit [*.net *.split]
jarto has quit [*.net *.split]
Pyrotecnix has quit [*.net *.split]
jobewan has quit [*.net *.split]
dorei has quit [*.net *.split]
JasonG_ has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
vt102 has quit [*.net *.split]
nfk has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
ldnunes has quit [*.net *.split]
ra4king has quit [*.net *.split]
freggles has quit [*.net *.split]
LiohAu has quit [*.net *.split]
jadedgnome has quit [*.net *.split]
tus has quit [*.net *.split]
cephalostrum has quit [*.net *.split]
jackneill has quit [*.net *.split]
genta has quit [*.net *.split]
dbu has quit [*.net *.split]
cobakobodob has quit [*.net *.split]
TripTastic has quit [*.net *.split]
casheew has quit [*.net *.split]
lw has quit [*.net *.split]
Roa has quit [*.net *.split]
dandrade has quit [*.net *.split]
Photism has quit [*.net *.split]
b1nd has quit [*.net *.split]
lbwski has quit [*.net *.split]
M-Technic has quit [*.net *.split]
chridal has quit [*.net *.split]
sivoais has quit [*.net *.split]
Doc_X has quit [*.net *.split]
jtz has quit [*.net *.split]
tiguser has quit [*.net *.split]
wlanboy has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
Lulzon has quit [*.net *.split]
bahar has quit [*.net *.split]
pontiki has quit [*.net *.split]
kenndel_ has quit [*.net *.split]
tskogberg has quit [*.net *.split]
preller has quit [*.net *.split]
SJr has quit [*.net *.split]
toretore has quit [*.net *.split]
prdx has quit [*.net *.split]
chihhsin has quit [*.net *.split]
ag4ve_ has quit [*.net *.split]
daed has quit [*.net *.split]
pavelz has quit [*.net *.split]
descala has quit [*.net *.split]
three18ti has quit [*.net *.split]
thoolihan has quit [*.net *.split]
danshultz has quit [*.net *.split]
camt has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
miah has quit [*.net *.split]
guyz has quit [*.net *.split]
FDj has quit [*.net *.split]
shanlar has quit [*.net *.split]
maxmanders has quit [*.net *.split]
faulkner has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
thumpba has quit [*.net *.split]
Wayneoween has quit [*.net *.split]
mgomezch_ has quit [*.net *.split]
psmolen has quit [*.net *.split]
nw has quit [*.net *.split]
mary5030 has quit [*.net *.split]
RaCx has quit [*.net *.split]
jottr_ has quit [*.net *.split]
Zenigor has quit [*.net *.split]
b00stfr3ak has quit [*.net *.split]
tjr9898_ has quit [*.net *.split]
carraroj has quit [*.net *.split]
mconnolly has quit [*.net *.split]
kireevco1 has quit [*.net *.split]
lkba has quit [*.net *.split]
mrevd has quit [*.net *.split]
gr33n7007h has quit [*.net *.split]
treehug88 has quit [*.net *.split]
razrunelord has quit [*.net *.split]
Hobogrammer has quit [*.net *.split]
johnmolina has quit [*.net *.split]
JohnBat26 has quit [*.net *.split]
gverri has quit [*.net *.split]
mikepack has quit [*.net *.split]
hamakn has quit [*.net *.split]
yeticry has quit [*.net *.split]
ndrei_ has quit [*.net *.split]
DanielRb has quit [*.net *.split]
apeiros has quit [*.net *.split]
ndrei has quit [*.net *.split]
em0ral has quit [*.net *.split]
enebo has quit [*.net *.split]
obscured has quit [*.net *.split]
SilverKey has quit [*.net *.split]
ffranz has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
net_mask has quit [*.net *.split]
jprovazn_afk has quit [*.net *.split]
phutchins has quit [*.net *.split]
kevind has quit [*.net *.split]
dblessing has quit [*.net *.split]
gzl has quit [*.net *.split]
ephemerian has quit [*.net *.split]
Asher has quit [*.net *.split]
sinkensabe has quit [*.net *.split]
katlogic has quit [*.net *.split]
tcstar has quit [*.net *.split]
abdulsattar has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
razum2um1 has quit [*.net *.split]
Vivekananda has quit [*.net *.split]
LACP has quit [*.net *.split]
mbwe has quit [*.net *.split]
parduse has quit [*.net *.split]
willgorman_ has quit [*.net *.split]
GeekOnCoffee has quit [*.net *.split]
Xuerian has quit [*.net *.split]
hellome has quit [*.net *.split]
littledude has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
Kruppe has quit [*.net *.split]
fumduq has quit [*.net *.split]
gtc has quit [*.net *.split]
divbell has quit [*.net *.split]
ahuman has quit [*.net *.split]
renier has quit [*.net *.split]
skinny_much has quit [*.net *.split]
freannrak has quit [*.net *.split]
justinmcp has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
cid404 has quit [*.net *.split]
Tarential has quit [*.net *.split]
jack_rabbit has quit [*.net *.split]
PhilK has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
lagbox has quit [*.net *.split]
rs0 has quit [*.net *.split]
froy has quit [*.net *.split]
Authenticator has quit [*.net *.split]
mahlon has quit [*.net *.split]
bmn has quit [*.net *.split]
rcs has quit [*.net *.split]
Akuma has quit [*.net *.split]
Spleeze has quit [*.net *.split]
sdouglas has quit [*.net *.split]
heftig has quit [*.net *.split]
shaquile has quit [*.net *.split]
cwc has quit [*.net *.split]
chihhsin_wego has quit [*.net *.split]
xiphias has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
tjcravey has quit [*.net *.split]
ziyadb has quit [*.net *.split]
grn has quit [*.net *.split]
Zackio has quit [*.net *.split]
robustus has quit [*.net *.split]
Dwarf has quit [*.net *.split]
natewalck has quit [*.net *.split]
pipework has quit [*.net *.split]
bjeanes has quit [*.net *.split]
rickruby has quit [*.net *.split]
adambeynon has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
ELLIOTTCABLE has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
sfr^ has quit [*.net *.split]
Hien has quit [*.net *.split]
paulog has quit [*.net *.split]
frode15243 has quit [*.net *.split]
gwb3 has quit [*.net *.split]
MetaCosm has quit [*.net *.split]
pagioss has quit [*.net *.split]
ballPointPenguin has quit [*.net *.split]
msch has quit [*.net *.split]
Killerkeksdose has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
go|dfish has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
sindork_ has quit [*.net *.split]
fearoffish has quit [*.net *.split]
philtr has quit [*.net *.split]
Anarch has quit [*.net *.split]
catepillar has quit [*.net *.split]
dioms_ has quit [*.net *.split]
Karunamon has quit [*.net *.split]
Mars` has quit [*.net *.split]
cmaxw_____ has quit [*.net *.split]
Macacity has quit [*.net *.split]
callumacrae has quit [*.net *.split]
FL1SK has quit [*.net *.split]
Sigma00 has quit [*.net *.split]
xargoon has quit [*.net *.split]
pusewicz has quit [*.net *.split]
jiriki has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
rtlong has quit [*.net *.split]
tchebb has quit [*.net *.split]
jayne has quit [*.net *.split]
kapowaz has quit [*.net *.split]
qpls has quit [*.net *.split]
jimeh has quit [*.net *.split]
JZTech101 has quit [*.net *.split]
Rubeh has quit [*.net *.split]
madhatter has quit [*.net *.split]
contradictioned has quit [*.net *.split]
_KaszpiR_ has quit [*.net *.split]
isomorphismes has quit [*.net *.split]
jeekl has quit [*.net *.split]
ponyfleisch has quit [*.net *.split]
Drakevr has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
sfiggins has quit [*.net *.split]
Elfix has quit [*.net *.split]
diegok has quit [*.net *.split]
kaspergrubbe has joined #ruby
ndrei__ has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
tjr9898_ has joined #ruby
Zenigor has joined #ruby
mrevd has joined #ruby
emptyflask has joined #ruby
mconnolly has joined #ruby
treehug88 has joined #ruby
johnmolina has joined #ruby
b00stfr3ak has joined #ruby
gverri has joined #ruby
SloggerKhan has joined #ruby
JohnBat26 has joined #ruby
RaCx has joined #ruby
Hobogrammer has joined #ruby
kireevco1 has joined #ruby
karmatr0n has joined #ruby
mikecmpbll has joined #ruby
diegoviola has joined #ruby
yfeldblum has joined #ruby
sdouglas has joined #ruby
superscott[8] has joined #ruby
zorak has joined #ruby
heftig has joined #ruby
jottr_ has joined #ruby
SCHAAP137 has joined #ruby
carraroj has joined #ruby
lkba has joined #ruby
razrunelord has joined #ruby
mary5030 has joined #ruby
vpretzel has joined #ruby
deric_skibotn has joined #ruby
Tricon has joined #ruby
mikepack has joined #ruby
gr33n7007h has joined #ruby
yeticry has joined #ruby
hamakn has joined #ruby
K3dare has joined #ruby
baroquebobcat has joined #ruby
DanielRb has joined #ruby
rippa has joined #ruby
ixti has joined #ruby
em0ral has joined #ruby
apeiros has joined #ruby
dukedave has joined #ruby
axisys has joined #ruby
ndrei_ has joined #ruby
ndrei has joined #ruby
jespada has joined #ruby
dorei has joined #ruby
jarto has joined #ruby
Pyrotecnix has joined #ruby
Dwarf has joined #ruby
Zackio has joined #ruby
RoryHughes has joined #ruby
grn has joined #ruby
enebo has joined #ruby
jobewan has joined #ruby
obscured has joined #ruby
jprovazn_afk has joined #ruby
net_mask has joined #ruby
ziyadb has joined #ruby
ffranz has joined #ruby
kevind has joined #ruby
Mon_Ouie has joined #ruby
SilverKey has joined #ruby
phutchins has joined #ruby
JasonG_ has joined #ruby
tkuchiki has joined #ruby
dblessing has joined #ruby
vt102 has joined #ruby
nfk has joined #ruby
tus has joined #ruby
jadedgnome has joined #ruby
ldnunes has joined #ruby
robbyoconnor has joined #ruby
freggles has joined #ruby
genta has joined #ruby
MissionCritical has joined #ruby
LiohAu has joined #ruby
tjcravey has joined #ruby
jackneill has joined #ruby
ephemerian has joined #ruby
abdulsattar has joined #ruby
razum2um1 has joined #ruby
ra4king has joined #ruby
Asher has joined #ruby
robustus has joined #ruby
dbu has joined #ruby
gzl has joined #ruby
tcstar has joined #ruby
sinkensabe has joined #ruby
katlogic has joined #ruby
cephalostrum has joined #ruby
amitchellbullard has joined #ruby
cobakobodob has joined #ruby
lagbox has joined #ruby
natewalck has joined #ruby
bjeanes has joined #ruby
lw has joined #ruby
pipework has joined #ruby
TripTastic has joined #ruby
adambeynon has joined #ruby
ELLIOTTCABLE has joined #ruby
littledude has joined #ruby
casheew has joined #ruby
Vivekananda has joined #ruby
parduse has joined #ruby
rickruby has joined #ruby
dandrade has joined #ruby
Roa has joined #ruby
Xuerian has joined #ruby
mbwe has joined #ruby
GeekOnCoffee has joined #ruby
willgorman_ has joined #ruby
Photism has joined #ruby
lbwski has joined #ruby
chridal has joined #ruby
JaTochNietDan has joined #ruby
b1nd has joined #ruby
M-Technic has joined #ruby
sfr^ has joined #ruby
zz_jrhorn424 has joined #ruby
LACP has joined #ruby
nemesit|znc has joined #ruby
Hien has joined #ruby
msch has joined #ruby
MetaCosm has joined #ruby
freannrak has joined #ruby
sivoais has joined #ruby
hellome has joined #ruby
ag4ve_ has joined #ruby
kenndel_ has joined #ruby
prdx has joined #ruby
fumduq has joined #ruby
gwb3 has joined #ruby
justinmcp has joined #ruby
daed has joined #ruby
gtc has joined #ruby
Kruppe has joined #ruby
skinny_much has joined #ruby
mr_rich101 has joined #ruby
Jello_Raptor has joined #ruby
chihhsin has joined #ruby
Lulzon has joined #ruby
Tarential has joined #ruby
pavelz has joined #ruby
preller has joined #ruby
three18ti has joined #ruby
pagioss has joined #ruby
FDj has joined #ruby
bahar has joined #ruby
paulog has joined #ruby
tiguser has joined #ruby
wlanboy has joined #ruby
miah has joined #ruby
sn0wb1rd has joined #ruby
jack_rabbit has joined #ruby
renier has joined #ruby
mgomezch_ has joined #ruby
Sou|cutter has joined #ruby
PhilK has joined #ruby
camt has joined #ruby
Wayneoween has joined #ruby
Doc_X has joined #ruby
tskogberg has joined #ruby
SJr has joined #ruby
toretore has joined #ruby
frode15243 has joined #ruby
thumpba has joined #ruby
ballPointPenguin has joined #ruby
callumacrae has joined #ruby
thoolihan has joined #ruby
faulkner has joined #ruby
Authenticator has joined #ruby
shanlar has joined #ruby
jtz has joined #ruby
nw has joined #ruby
descala has joined #ruby
divbell has joined #ruby
froy has joined #ruby
ahuman has joined #ruby
danshultz has joined #ruby
rs0 has joined #ruby
shaquile has joined #ruby
rcs has joined #ruby
mahlon has joined #ruby
pontiki has joined #ruby
thejoecarroll has joined #ruby
cid404 has joined #ruby
sindork_ has joined #ruby
go|dfish has joined #ruby
Spleeze has joined #ruby
guyz has joined #ruby
Akuma has joined #ruby
philtr has joined #ruby
michael_mbp has joined #ruby
chihhsin_wego has joined #ruby
Anarch has joined #ruby
cwc has joined #ruby
fearoffish has joined #ruby
psmolen has joined #ruby
xiphias has joined #ruby
catepillar has joined #ruby
isomorphismes has joined #ruby
Karunamon has joined #ruby
dioms_ has joined #ruby
xMopxShell has joined #ruby
bmn has joined #ruby
avelldiroll has joined #ruby
Killerkeksdose has joined #ruby
maxmanders has joined #ruby
Drakevr has joined #ruby
sfiggins has joined #ruby
diegok has joined #ruby
Elfix has joined #ruby
Sp4rKy has joined #ruby
jayne has joined #ruby
jeekl has joined #ruby
ponyfleisch has joined #ruby
contradictioned has joined #ruby
Rubeh has joined #ruby
madhatter has joined #ruby
JZTech101 has joined #ruby
kapowaz has joined #ruby
cmaxw_____ has joined #ruby
rtlong has joined #ruby
Sigma00 has joined #ruby
jimeh has joined #ruby
qpls has joined #ruby
tchebb has joined #ruby
xargoon has joined #ruby
jiriki has joined #ruby
FL1SK has joined #ruby
Gnubie_ has joined #ruby
Mars` has joined #ruby
pusewicz has joined #ruby
Macacity has joined #ruby
_KaszpiR_ has joined #ruby
ndrei has quit [Max SendQ exceeded]
ndrei_ has quit [Max SendQ exceeded]
hellome has quit [Max SendQ exceeded]
ndrei has joined #ruby
ValicekB has quit [Max SendQ exceeded]
chris123456789 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alec-c4 has quit [Ping timeout: 260 seconds]
brunops has quit [Ping timeout: 255 seconds]
parduse has quit [Max SendQ exceeded]
Vivekananda has quit [Max SendQ exceeded]
ndrei has quit [Max SendQ exceeded]
yeticry has quit [Max SendQ exceeded]
mrevd has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby
robbyoconnor has quit [Max SendQ exceeded]
jack_rabbit has quit [Max SendQ exceeded]
* slash_nick shanks peer
datafirm has quit [Ping timeout: 260 seconds]
Olipro has quit [Max SendQ exceeded]
jack_rabbit has joined #ruby
Vivekananda has joined #ruby
johnmolina has quit [Remote host closed the connection]
parduse has joined #ruby
jxport has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
mordof_home has quit [*.net *.split]
n_b has quit [*.net *.split]
udoprog has quit [*.net *.split]
drager has quit [*.net *.split]
shaman42 has quit [*.net *.split]
JarJarBinks has quit [*.net *.split]
Scient has quit [*.net *.split]
Patteh has quit [*.net *.split]
jokke has quit [*.net *.split]
TTilus has quit [*.net *.split]
BeanDip has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
tommylommykins has quit [*.net *.split]
jpic has quit [*.net *.split]
mjuszczak has quit [*.net *.split]
csmrfx has quit [*.net *.split]
rblackwe has quit [*.net *.split]
flori has quit [*.net *.split]
pdtpatr1ck has quit [*.net *.split]
gremax has quit [*.net *.split]
sirecote has quit [*.net *.split]
idoru has quit [*.net *.split]
SirFunk has quit [*.net *.split]
machuga has quit [*.net *.split]
DanKnox has quit [*.net *.split]
finges has quit [*.net *.split]
slash_nick has quit [*.net *.split]
droptone_ has quit [*.net *.split]
Takumo has quit [*.net *.split]
v0n has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
sweeper has quit [*.net *.split]
jpinnix_____ has quit [Ping timeout: 252 seconds]
callenb has quit [Ping timeout: 252 seconds]
sweeper has joined #ruby
jxport has joined #ruby
jaredrhine has joined #ruby
slash_nick has joined #ruby
PaulePanter has joined #ruby
TTilus has joined #ruby
droptone has joined #ruby
jpic has joined #ruby
sirecote has joined #ruby
Patteh has joined #ruby
tommylommykins has joined #ruby
flori has joined #ruby
n_b has joined #ruby
mjuszczak has joined #ruby
JarJarBinks has joined #ruby
mhenrixon has joined #ruby
drager has joined #ruby
SirFunk has joined #ruby
mordof_home has joined #ruby
kiki_lamb has joined #ruby
finges has joined #ruby
jokke has joined #ruby
gremax has joined #ruby
johnmolina has joined #ruby
Takumo has joined #ruby
Scient has joined #ruby
udoprog has joined #ruby
volk_ has joined #ruby
mrevd has joined #ruby
idoru has joined #ruby
brunops has joined #ruby
workmad3 has joined #ruby
BeanDip has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
kaspergr_ has quit [Ping timeout: 252 seconds]
glowcoil has quit [Ping timeout: 252 seconds]
ringarin has quit [Ping timeout: 261 seconds]
jeregrine has quit [Ping timeout: 252 seconds]
jpinnix_____ has joined #ruby
glowcoil has joined #ruby
DanKnox has joined #ruby
it_tard has joined #ruby
chris123456789 has joined #ruby
dilated_dinosaur has joined #ruby
v0n has joined #ruby
gzl has quit [Ping timeout: 240 seconds]
chris123456789 has quit [Max SendQ exceeded]
sdouglas has quit [Ping timeout: 264 seconds]
mikecmpb_ has joined #ruby
casheew_ has joined #ruby
chihhsin_ has joined #ruby
sivoais_ has joined #ruby
M-Techni1 has joined #ruby
butter has joined #ruby
gzl has joined #ruby
gzl has joined #ruby
d3scala has joined #ruby
ndrei has joined #ruby
pavelz_ has joined #ruby
FDj_ has joined #ruby
miah_ has joined #ruby
dandrade_ has joined #ruby
<shevy> what do you shag again slash_nick
daed_ has joined #ruby
pontiki_ has joined #ruby
prdx_ has joined #ruby
Roa_ has joined #ruby
tskogber1 has joined #ruby
machuga has joined #ruby
lemur has quit [Remote host closed the connection]
yeticry has joined #ruby
Pyrotecnix_ has joined #ruby
johnmolina has quit [Ping timeout: 264 seconds]
shaman42 has joined #ruby
mikepack has quit [Remote host closed the connection]
funktor has joined #ruby
<slash_nick> my peers
callenb has joined #ruby
sdouglas has joined #ruby
CaptainJet has quit [Ping timeout: 240 seconds]
unholycrab has quit [Ping timeout: 245 seconds]
TheMoonMaster has joined #ruby
kireevco1 has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
kireevco has joined #ruby
pdtpatr1ck has joined #ruby
unholycrab has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
Vpex has joined #ruby
jeregrine has joined #ruby
rblackwe has joined #ruby
robbyoconnor has joined #ruby
preller_ has joined #ruby
axisys_ has joined #ruby
SJrX has joined #ruby
emptyflask has quit [*.net *.split]
SloggerKhan has quit [*.net *.split]
superscott[8] has quit [*.net *.split]
zorak has quit [*.net *.split]
SCHAAP137 has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
mikecmpbll has quit [*.net *.split]
diegoviola has quit [*.net *.split]
karmatr0n has quit [*.net *.split]
dukedave has quit [*.net *.split]
vpretzel has quit [*.net *.split]
K3dare has quit [*.net *.split]
ixti has quit [*.net *.split]
rippa has quit [*.net *.split]
baroquebobcat has quit [*.net *.split]
Tricon has quit [*.net *.split]
deric_skibotn has quit [*.net *.split]
Pyrotecnix has quit [*.net *.split]
jespada has quit [*.net *.split]
dorei has quit [*.net *.split]
axisys has quit [*.net *.split]
jarto has quit [*.net *.split]
jobewan has quit [*.net *.split]
jadedgnome has quit [*.net *.split]
JasonG_ has quit [*.net *.split]
nfk has quit [*.net *.split]
vt102 has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
tus has quit [*.net *.split]
ldnunes has quit [*.net *.split]
freggles has quit [*.net *.split]
genta has quit [*.net *.split]
dbu has quit [*.net *.split]
LiohAu has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
jackneill has quit [*.net *.split]
ra4king has quit [*.net *.split]
cephalostrum has quit [*.net *.split]
lw has quit [*.net *.split]
cobakobodob has quit [*.net *.split]
TripTastic has quit [*.net *.split]
casheew has quit [*.net *.split]
Roa has quit [*.net *.split]
dandrade has quit [*.net *.split]
Photism has quit [*.net *.split]
b1nd has quit [*.net *.split]
lbwski has quit [*.net *.split]
M-Technic has quit [*.net *.split]
Doc_X has quit [*.net *.split]
jtz has quit [*.net *.split]
sivoais has quit [*.net *.split]
chridal has quit [*.net *.split]
tiguser has quit [*.net *.split]
wlanboy has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
Lulzon has quit [*.net *.split]
pontiki has quit [*.net *.split]
bahar has quit [*.net *.split]
toretore has quit [*.net *.split]
chihhsin has quit [*.net *.split]
tskogberg has quit [*.net *.split]
kenndel_ has quit [*.net *.split]
daed has quit [*.net *.split]
SJr has quit [*.net *.split]
prdx has quit [*.net *.split]
preller has quit [*.net *.split]
pavelz has quit [*.net *.split]
ag4ve_ has quit [*.net *.split]
descala has quit [*.net *.split]
camt has quit [*.net *.split]
mgomezch_ has quit [*.net *.split]
three18ti has quit [*.net *.split]
Wayneoween has quit [*.net *.split]
thumpba has quit [*.net *.split]
miah has quit [*.net *.split]
FDj has quit [*.net *.split]
maxmanders has quit [*.net *.split]
danshultz has quit [*.net *.split]
thoolihan has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
faulkner has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
guyz has quit [*.net *.split]
shanlar has quit [*.net *.split]
psmolen has quit [*.net *.split]
nw has quit [*.net *.split]
SJrX is now known as SJr
binaryhat has joined #ruby
wowXD has joined #ruby
mconnolly has quit [Quit: mconnolly]
LiohAu has joined #ruby
ryanniel_ has joined #ruby
mikepack has quit [Ping timeout: 245 seconds]
ryanniel_ is now known as RyanNielson
paulfm has joined #ruby
JasonG_ has joined #ruby
Wayneoween has joined #ruby
b1nd has joined #ruby
csmrfx has joined #ruby
jackneill has joined #ruby
Olipro has joined #ruby
dukedave has joined #ruby
ldnunes has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
ValicekB has joined #ruby
mgomezch has joined #ruby
postmodern has joined #ruby
genta has joined #ruby
anaeem1_ has joined #ruby
maxmanders has joined #ruby
ringarin has joined #ruby
little_fu has joined #ruby
wowXD has quit [Ping timeout: 245 seconds]
stytown has joined #ruby
sunya7a has joined #ruby
SCHAAP137 has joined #ruby
simplyaubs has joined #ruby
chrishough has quit [Quit: chrishough]
cheem has joined #ruby
lbwski has joined #ruby
tier has quit [Remote host closed the connection]
little_f_ has joined #ruby
jonahR has joined #ruby
little_fu has quit [Ping timeout: 245 seconds]
dc has joined #ruby
little_f_ has quit [Read error: Connection reset by peer]
smaboshe has left #ruby [#ruby]
little_fu has joined #ruby
mikecmpb_ has quit [Quit: i've nodded off.]
stytown_ has joined #ruby
Wolland has joined #ruby
little_f_ has joined #ruby
simplyaubs has quit [Ping timeout: 255 seconds]
tvatt has joined #ruby
troyready has joined #ruby
chrishough has joined #ruby
stytown has quit [Ping timeout: 264 seconds]
stytown_ is now known as stytown
mikecmpbll has joined #ruby
fgo has joined #ruby
diegoviola has joined #ruby
j^2_ has joined #ruby
dilated_dinosaur has quit [Ping timeout: 260 seconds]
j^2_ has quit [Client Quit]
mconnolly has joined #ruby
doev has joined #ruby
little_fu has quit [Ping timeout: 252 seconds]
momomomomo has joined #ruby
cpruitt has quit [Quit: cpruitt]
jackneill has quit [Read error: Connection reset by peer]
nemesit|znc has quit [Ping timeout: 240 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
cpruitt has joined #ruby
little_fu has joined #ruby
<tvatt> can some help me out with an install issue (new to ruby and need some help figure out the install error)
<diegoviola> i have a hash of hashes with numbers as the keys, that hash is empty currently, but i need to add values to it if the keys are equal to the id's of another hash, how do i go into doing this?
dilated_dinosaur has joined #ruby
<diegoviola> do i use #merge?
little___ has joined #ruby
<jhass> yes, sounds like a sane option
pu22l3r has joined #ruby
<jhass> #merge will add all keys of the other hash though
tier has joined #ruby
RyanNielson has quit []
pp_ has joined #ruby
<diegoviola> i just want to merge the values
fgo has quit [Ping timeout: 264 seconds]
<jhass> so essentially you have a list of keys and want to slice them out of a hash
jobewan has joined #ruby
nemesit|znc has joined #ruby
ixti has joined #ruby
little_f_ has quit [Ping timeout: 245 seconds]
jcromartie has joined #ruby
sunya7a_ has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
MissionCritical has joined #ruby
defrang has left #ruby [#ruby]
binaryhat has quit [Remote host closed the connection]
<havenwood> tvatt: what are you running to get that error?
sunya7a has quit [Ping timeout: 255 seconds]
mconnolly has quit [Quit: mconnolly]
<jhass> >> {1 => :a, 2 => :b, 3 => :c}.select {|k, _| [1, 2, 4].include? k } # diegoviola
<eval-in> jhass => {1=>:a, 2=>:b} (https://eval.in/167306)
little_fu has quit [Ping timeout: 264 seconds]
<tvatt> Trying to run a gem call hyla
genta has quit [Quit: Quit]
ninegrid has quit [Ping timeout: 264 seconds]
binaryhat has joined #ruby
little_fu has joined #ruby
kireevco has quit [Client Quit]
workmad3 has quit [Ping timeout: 252 seconds]
pu22l3r has quit [Ping timeout: 264 seconds]
tomaw is now known as 5EXABH90N
SloggerKhan has joined #ruby
Lulzon has joined #ruby
chridal has joined #ruby
Photism has joined #ruby
baroquebobcat has joined #ruby
freggles has joined #ruby
jtz has joined #ruby
K3dare has joined #ruby
vt102 has joined #ruby
mr_rich101 has joined #ruby
thumpba has joined #ruby
yfeldblum has joined #ruby
thejoecarroll has joined #ruby
faulkner has joined #ruby
jadedgnome has joined #ruby
nw has joined #ruby
Doc_X has joined #ruby
michael_mbp has joined #ruby
cobakobodob has joined #ruby
superscott[8] has joined #ruby
three18ti has joined #ruby
shanlar has joined #ruby
cephalostrum has joined #ruby
vpretzel has joined #ruby
ra4king has joined #ruby
dorei has joined #ruby
kenndel_ has joined #ruby
bahar has joined #ruby
tiguser has joined #ruby
deric_skibotn has joined #ruby
rippa has joined #ruby
danshultz has joined #ruby
tkuchiki has joined #ruby
wlanboy has joined #ruby
thoolihan has joined #ruby
toretore has joined #ruby
guyz has joined #ruby
jarto has joined #ruby
zorak has joined #ruby
psmolen has joined #ruby
camt has joined #ruby
<tvatt> @hvenwood, I reinstalled ruby them gem install hyla
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
5EXABH90N is now known as tomaw
little_f_ has joined #ruby
<tvatt> @havenwood I reinstalled ruby them gem install hyla
<havenwood> tvatt: i get the same error
Takle has joined #ruby
<havenwood> tvatt: not installing hyla, but running it
maestrojed has joined #ruby
RaCx_ has joined #ruby
<tvatt> @havenwood any idea what it means
little___ has quit [Ping timeout: 255 seconds]
<heftig> >> h = {1 => :a, 2 => :b, 3 => :c}; keys = h.keys % [1,2]; h.values_at(*keys)
mjsmith2 has quit [Remote host closed the connection]
cpruitt has quit [Quit: cpruitt]
<heftig> er
<heftig> >> h = {1 => :a, 2 => :b, 3 => :c}; keys = h.keys & [1,2]; h.values_at(*keys)
<eval-in> heftig => [:a, :b] (https://eval.in/167312)
<havenwood> tvatt: yes, there's a bug - something to do with the hyla and commander gems
kireevco has joined #ruby
lxndryng has joined #ruby
RaCx has quit [Ping timeout: 240 seconds]
RaCx_ is now known as RaCx
cheem has quit [Quit: cheem]
mjsmith2 has joined #ruby
<diegoviola> jhass: thanks
<diegoviola> thanks guys
<heftig> depending on how big the hash and the array are, intersecting the keys might be cheaper than iterating over the hash and linear-scanning the array every iteration
ag4ve___ has joined #ruby
lxndryng has quit [Remote host closed the connection]
little_fu has quit [Ping timeout: 240 seconds]
mconnolly has joined #ruby
<havenwood> tvatt: my guess would be that commander 4.2 breaks hyla
ianbrandt has joined #ruby
djbkd has quit [Remote host closed the connection]
<havenwood> tvatt: you could try editing hyla's hyla.gemspec and setting the commander version to exactly 4.1.3
jmurray has quit [Quit: jmurray]
<havenwood> or 4.1.6
<tvatt> @havenwood ok let me try that
nmokru has joined #ruby
<havenwood> tvatt: would be nice to start an issue ticket on hyla's githubs: https://github.com/cmoulliard/hyla/issues?state=open
<tvatt> @havenwood I will do that
atraylen has joined #ruby
<havenwood> tvatt: :)
mikepack has joined #ruby
datafirm has joined #ruby
<tvatt> @havenwood after editing should in bundle install or remove the gem and install it again
razrunelord has quit [Remote host closed the connection]
genta has joined #ruby
ringaring has joined #ruby
lw has joined #ruby
<havenwood> tvatt: build and install the gem you editing
<havenwood> edited*
thrownaway has joined #ruby
<ag4ve___> heh, i read that nick as twat....
<havenwood> tvatt: gem build hyla.gemspec && gem install hyla-...
mconnolly has quit [Client Quit]
momomomomo has quit [Quit: momomomomo]
Wolland has quit [Remote host closed the connection]
<havenwood> tvatt: to get back the original: gem pristine hyla
Wolland has joined #ruby
elaptics is now known as elaptics`away
<tvatt> @havenwood ok I will give it a go, thanks for your help
SBoolean has quit [Ping timeout: 255 seconds]
GriffinHeart has joined #ruby
clov3r has joined #ruby
clov3r has quit [Client Quit]
lxndryng has joined #ruby
clov3r has joined #ruby
decoponio has quit [Quit: Leaving...]
lxndryng has quit [Client Quit]
lxndryng has joined #ruby
miah_ is now known as miah
lxndryng has quit [Client Quit]
lxndryng has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Wolland has quit [Ping timeout: 248 seconds]
johnmolina has joined #ruby
Takle has quit [Remote host closed the connection]
kireevco has quit [Quit: Leaving.]
GriffinHeart has quit [Ping timeout: 240 seconds]
SBoolean has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
sdouglas has quit [Remote host closed the connection]
casheew_ has left #ruby [#ruby]
kireevco has joined #ruby
sdouglas has joined #ruby
iceden has joined #ruby
<shevy> anyone of you is compiling a lot of stuff with clang?
paulfm has quit []
M_3212 has quit [Quit: Leaving]
lxndryng has left #ruby [#ruby]
casheew has joined #ruby
Royalb15 has joined #ruby
mattmcclure has joined #ruby
paulfm has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
yubrew has quit []
ianbrandt_ has joined #ruby
ianbrandt has quit [Read error: Connection reset by peer]
ianbrandt_ is now known as ianbrandt
paulfm has joined #ruby
Eyes has quit [Remote host closed the connection]
sdouglas has quit [Ping timeout: 240 seconds]
Eyes has joined #ruby
yubrew has joined #ruby
yfeldblum has quit [Remote host closed the connection]
shvelo has joined #ruby
fayimora has quit [Quit: Connection closed for inactivity]
<wasamasa> heftig: ohi
nanoyak has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
ndrei__ has quit [Ping timeout: 260 seconds]
dukedave has quit [Ping timeout: 240 seconds]
lemur has joined #ruby
Takle has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
goshdarnyou has joined #ruby
keystonelemur has joined #ruby
Vivekananda has quit [Ping timeout: 252 seconds]
bbloom has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cocotton has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
jamto11 has joined #ruby
jacobat has joined #ruby
dc has quit []
lemur has quit [Ping timeout: 248 seconds]
cocotton_ has joined #ruby
superscott[8] has quit [Remote host closed the connection]
Royalb15 has quit [Quit: Leaving]
cocotton has quit [Read error: Connection reset by peer]
superscott[8] has joined #ruby
<wasamasa> btw
maroloccio has quit [Quit: WeeChat 0.4.3]
karmatr0n has joined #ruby
RaCx has quit [Ping timeout: 255 seconds]
<wasamasa> I've written a small scraping script in both ruby and python, but it seems like the guy who was wondering what would be more fit for web-related tasks is long gone
RaCx has joined #ruby
cocotton has joined #ruby
wowXD has joined #ruby
mconnolly has joined #ruby
jprovazn_afk has quit [Quit: Odcházím]
DanielI has quit [Quit: Leaving]
cocotton_ has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
<gr33n7007h> any one used httparty?
kireevco has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
binaryhat has quit [Remote host closed the connection]
centrx has joined #ruby
djbkd has joined #ruby
tvatt has quit [Quit: Page closed]
jezen has joined #ruby
wowXD has quit [Ping timeout: 264 seconds]
binaryhat has joined #ruby
FelipeAbella has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
dilated_dinosaur has quit [Ping timeout: 260 seconds]
dh64 has joined #ruby
ndrei has joined #ruby
ndrei_ has joined #ruby
edmellum has quit [Quit: Connection closed for inactivity]
agent_white has joined #ruby
superscott[8] has quit [Remote host closed the connection]
superscott[8] has joined #ruby
mityaz has joined #ruby
dilated_dinosaur has joined #ruby
b00stfr3ak has quit [Ping timeout: 240 seconds]
superscott[8] has quit [Remote host closed the connection]
fgo has joined #ruby
superscott[8] has joined #ruby
superscott[8] has quit [Remote host closed the connection]
<FelipeAbella> Is there an editor-like interactive shell for ruby? What I mean is something like reinteract (for python), it's like an usual editor, but every time I save the file, it runs it, and outputs the result of each command right beneath it.
superscott[8] has joined #ruby
mgberlin has joined #ruby
jamto11 has quit [Ping timeout: 264 seconds]
<zenojis> yes
<zenojis> interactive gem
<zenojis> with irb
mgberlin has quit [Remote host closed the connection]
<FelipeAbella> zenojis, I'll try that, thanks!
<zenojis> you can set it to use whatever editor you want, it runs the code whenever you exit the editor
saarinen has quit [Quit: saarinen]
fgo has quit [Ping timeout: 240 seconds]
<jhass> FelipeAbella: also rcodetools xmpfilter
<jhass> has integration with most editors
maroloccio has joined #ruby
<FelipeAbella> jhass, I'll look this too. Thanks!
<jhass> seeing_is_believing is another alternative but with less integrations
b00stfr3ak has joined #ruby
charliesome has joined #ruby
Pwnna has joined #ruby
<Pwnna> Is there a way to return a block?
<Pwnna> basically i want to wrap a block with some other functionalities and then return that new block
<jhass> Pwnna: not directly but you can return a proc or a lambda and convert a block into a proc
<jhass> and a proc into a block
<Pwnna> how do you do that?
mengu has quit [Remote host closed the connection]
<jhass> >> def foo; proc { :a_proc }; end; foo.call
<eval-in> jhass => :a_proc (https://eval.in/167317)
dukedave has joined #ruby
<jhass> >> def foo; proc { :a_proc }; end; def bar; yield; end; bar(&foo)
<eval-in> jhass => :a_proc (https://eval.in/167318)
Ankhers has quit [Remote host closed the connection]
olduseless has quit [Ping timeout: 264 seconds]
<Pwnna> should i use a proc or a lambda?
<jhass> a lambda is a special kind of proc that enforces argument arity
<Pwnna> return behaves differently?
tier has quit [Remote host closed the connection]
<jhass> >> lambda {|x| }.call
<eval-in> jhass => wrong number of arguments (0 for 1) (ArgumentError) ... (https://eval.in/167319)
<havenwood> Pwnna: i vote stabby lambda ->, stabby stab stab
<jhass> >> proc {|x| }.call
<eval-in> jhass => nil (https://eval.in/167320)
<havenwood> Pwnna: locality of return varies
<Pwnna> so why would you use a proc over a lambda?
<jhass> can be a desired property
kireevco has quit [Read error: Connection reset by peer]
banister has joined #ruby
kireevco has joined #ruby
freggles has quit [Quit: moeders]
stytown has quit [Quit: stytown]
<agent_white> Good afternoon
<havenwood> Pwnna: usually i prefer a lambda for its diminutive return and strict arity
<Pwnna> yeah
<Pwnna> that's what i would use too
M-Techni1 is now known as M-Technic
TDJACR has quit [Quit: ZNC - http://znc.in]
vifino has quit [Remote host closed the connection]
stytown has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TDJACR has joined #ruby
<gr33n7007h> how would you do this as a list comprehension reduce(lambda m, s: m + s, range(11)) ?
<gr33n7007h> wrong channel
mconnolly has quit [Quit: mconnolly]
baroquebobcat has quit [Quit: baroquebobcat]
emptyflask has joined #ruby
binaryhat has quit [Ping timeout: 240 seconds]
mijicd has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<Eiam> ugh I'm being plagued with intermittent Curl::Err:RecvError
<Eiam> and the documentation just has that string and no answers for whats up
emptyflask has quit [Remote host closed the connection]
vifino has joined #ruby
banister has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
andrewlio has quit [Remote host closed the connection]
datafirm has joined #ruby
banister has quit [Client Quit]
jhass is now known as jhass|off
lmickh has quit [Remote host closed the connection]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
geggam has quit [Ping timeout: 240 seconds]
phinfonet has quit []
ctp has joined #ruby
doev has quit [Ping timeout: 240 seconds]
VeinMelted__ has quit [Remote host closed the connection]
alec-c4 has joined #ruby
phinfonet has joined #ruby
datafirm has quit [Ping timeout: 240 seconds]
VeinMelted__ has joined #ruby
cpruitt has joined #ruby
doev has joined #ruby
sdouglas has joined #ruby
geggam has joined #ruby
tier has joined #ruby
mijicd has quit [Quit: leaving]
mijicd has joined #ruby
VeinMelted___ has joined #ruby
alec-c4_ has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
<keystonelemur> So I noticed something interesting while toying with lambdas: https://gist.github.com/baweaver/2da59e2f7c825e4b21ce
keystonelemur is now known as lemur
emptyflask has joined #ruby
<lemur> extracting blocks can yield some substantial performance increases.
alec-c4 has quit [Ping timeout: 240 seconds]
<lemur> I can only assume this is because the block is being rebuilt for each iteration, but interesting results nonetheless.
emptyflask has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
sdouglas has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
VeinMelted__ has quit [Ping timeout: 252 seconds]
saarinen has joined #ruby
alec-c4 has joined #ruby
jamto11 has joined #ruby
yfeldblum has joined #ruby
djbkd has quit [Remote host closed the connection]
b00stfr3ak has quit [Ping timeout: 252 seconds]
beneggett has joined #ruby
dc has joined #ruby
alec-c4_ has quit [Ping timeout: 255 seconds]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mengu has quit [Remote host closed the connection]
pp_ has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
datafirm has joined #ruby
razrunelord has joined #ruby
tier has quit []
gregf has joined #ruby
saarinen has quit [Quit: saarinen]
alec-c4 has quit [Ping timeout: 264 seconds]
pp_ has joined #ruby
b00stfr3ak has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
obscured has quit [Quit: leaving]
baroquebobcat has joined #ruby
jacobat has quit [Ping timeout: 252 seconds]
nanoyak has joined #ruby
EasyCo has quit [Quit: Connection closed for inactivity]
jespada has joined #ruby
alec-c4 has joined #ruby
djbkd has quit [Remote host closed the connection]
Georg3 has quit [Quit: Computer has gone to sleep.]
Georg3 has joined #ruby
r0ok has quit [Quit: r0ok]
ringaring has quit [Quit: Leaving]
benzrf is now known as benzrf|offline
klaut has joined #ruby
agent_white has quit [Quit: brb]
VeinMelted___ has quit [Quit: Lingo - http://www.lingoirc.com]
binaryhat has joined #ruby
qhartman has joined #ruby
djbkd has joined #ruby
Valesk has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
pp_ has quit [Ping timeout: 252 seconds]
Zenigor has quit [Remote host closed the connection]
clov3r has quit []
paulfm has quit []
Georg3 has quit [Ping timeout: 240 seconds]
banister has joined #ruby
wowXD has joined #ruby
agent_white has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
doev has quit [Ping timeout: 240 seconds]
autonomousdev has joined #ruby
wizzywoZzy has quit [Ping timeout: 240 seconds]
LiohAu has quit [Quit: LiohAu]
wizzywoZzy has joined #ruby
kilk_ has quit [Quit: Leaving]
SBoolean has quit [Remote host closed the connection]
machete has quit [Ping timeout: 240 seconds]
Sammael has quit [Ping timeout: 240 seconds]
wowXD has quit [Ping timeout: 240 seconds]
agent_white has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
alec-c4 has quit [Ping timeout: 252 seconds]
machete has joined #ruby
beardtree has joined #ruby
sdouglas has joined #ruby
<beardtree> Are there IIFEs in Ruby?
everdaniel has joined #ruby
<beardtree> I want to create a function and call it instantly
<apeiros> beardtree: I don't think there's a use for them in ruby
<shevy> no black magic that I am aware of, unless there is a hook for it
<shevy> def foo; end; foo
edgarjs is now known as edgarjs_afk
<apeiros> if you want to have a couple of statements bundled together with a single value, use begin …code… end
<shevy> beardtree you could also solve it programmatically by using .send and .define_method probably
<apeiros> you can of course always use proc { … }.call(). but I'd love to see where that would be a good idea.
littledude has left #ruby ["WeeChat 0.4.3"]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Thermo has joined #ruby
<apeiros> the only place I know of iifes is actually javascript, due to its scoping
orionstein is now known as orionstein_away
fgo has joined #ruby
kireevco has quit [Quit: Leaving.]
momomomomo has joined #ruby
yalue has quit [Quit: Leaving]
<shevy> hehe
maroloccio has quit [Quit: WeeChat 0.4.3]
<shevy> beardtree you come from javascript?
* apeiros loves people who ask questions and then go dead-silent
cocotton has quit [Remote host closed the connection]
andrewjanssen has quit [Quit: Leaving...]
<slash_nick> apeiros: do you?
* slash_nick goes silent
* apeiros loves slash_nick
<apeiros> *huggles*
fgo has quit [Ping timeout: 260 seconds]
<beardtree> shevy: yes
<beardtree> apeiros: exactly what I wanted, thanks!
Arkaniad has quit [Ping timeout: 255 seconds]
cocotton has joined #ruby
ldnunes has quit [Quit: Leaving]
Georg3 has joined #ruby
saarinen has joined #ruby
bmurt has quit []
qwyeth has quit [Read error: Connection reset by peer]
nmokru has quit [Quit: nmokru]
IceDragon has joined #ruby
shvelo has quit [Ping timeout: 260 seconds]
saarinen has quit [Client Quit]
sunya7a_ has quit [Ping timeout: 264 seconds]
shvelo has joined #ruby
GriffinHeart has joined #ruby
blackmes2 has joined #ruby
Georg3 has quit [Ping timeout: 264 seconds]
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
Bira has joined #ruby
p0sixpscl has joined #ruby
p0sixpscl has quit [Client Quit]
em0ral has quit []
GriffinHeart has quit [Ping timeout: 240 seconds]
edgarjs_afk is now known as edgarjs
mconnolly has joined #ruby
kireevco has joined #ruby
beneggett has quit [Ping timeout: 252 seconds]
jamto11 has quit [Remote host closed the connection]
mconnolly has quit [Client Quit]
atraylen has quit [Ping timeout: 252 seconds]
Bira has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 240 seconds]
mconnolly has joined #ruby
lmickh has joined #ruby
jamto11 has joined #ruby
cocotton_ has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Liquid-- has joined #ruby
<Mon_Ouie> apeiros: I've seen things like that to make lambdas that call themselves (not because it's useful, just to show that you can)
FelipeAbella has quit [Quit: Leaving]
<apeiros> Mon_Ouie: recursive lambdas?
cocotton has quit [Ping timeout: 260 seconds]
<Mon_Ouie> e.g. proc { |x| x.call(x) }.call(proc { |f| proc { |n| n == 0 ? 1 : f.call(f).call(n-1) } })
cocotton_ has quit [Ping timeout: 240 seconds]
<apeiros> Mon_Ouie: as in: fib = ->(n) { … fib(n) }
<apeiros> well, fib(n-1) + fib(n-2), you get what I mean :)
Deele has quit [Ping timeout: 255 seconds]
charliesome has quit [Read error: Connection reset by peer]
<apeiros> and fib.() instead of fib(), of course
<apeiros> damn, it's late
djbkd has quit [Remote host closed the connection]
<Mon_Ouie> e.g. proc { |x| x.call(x) }.call(proc { |f| proc { |n| n == 0 ? 1 : n*f.call(f).call(n-1) } }) to actually compute factorials
dilated_dinosaur has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
<GeekOnCoffee> centrx: :“sFileName_#{index}”
<apeiros> ah
<GeekOnCoffee> centrx: that also works, and is cleaner ^^
<apeiros> that pattern has a name, no?
<Mon_Ouie> Yes, they're called fixed point combinators
mconnolly has quit [Quit: mconnolly]
djbkd has joined #ruby
auxbuss has joined #ruby
jottr_ has joined #ruby
<apeiros> I think I knew it under the name Y combinator
<apeiros> but I was indeed not sure whether I was confusing it with the company :)
paulinc23 has joined #ruby
net_mask has quit [Remote host closed the connection]
net_mask has joined #ruby
DouweM has joined #ruby
beneggett has joined #ruby
yfeldblum has quit [Remote host closed the connection]
jerius has quit []
testcore has quit [Quit: BitchX: it tastes like poo]
Takle has quit [Remote host closed the connection]
amargherio has quit [Remote host closed the connection]
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
saarinen has joined #ruby
Thermo has quit [Quit: Textual IRC Client: www.textualapp.com]
sinkensabe has quit [Remote host closed the connection]
auxbuss has quit [Client Quit]
dc has quit []
grieg has quit [Quit: Leaving]
net_mask has quit [Ping timeout: 255 seconds]
doodlehaus has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
sunya7a has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
Pyrotecnix_ is now known as Pyrotecnix
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pyrotecnix is now known as Pyrotecnix-Away
Trynemjoel has quit [Quit: Trynemjoel]
mjsmith2_ has joined #ruby
andrewlio has joined #ruby
Sammael has joined #ruby
andrewjanssen has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
Trynemjoel has joined #ruby
kireevco has joined #ruby
Takle has joined #ruby
edgarjs is now known as edgarjs_afk
rixius has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
thesheff17 has quit [Ping timeout: 245 seconds]
RaCx has joined #ruby
dblessing has quit [Quit: dblessing]
andrewlio has quit [Quit: Leaving.]
kirun has quit [Quit: Client exiting]
saarinen has quit [Quit: saarinen]
sinkensabe has joined #ruby
Bira has joined #ruby
it_tard has quit [Quit: yawn]
saarinen has joined #ruby
<diegoviola> i have two arrays that i'm hoping to combine somehow, one of the array has the same numbers (IDs) that I'm hoping to combine somehow, and then extract the combined data by the ID
<diegoviola> is there a way to do that? please?
<diegoviola> actually, both arrays have IDs
<diegoviola> I'd like to get an array back of the combined data so I could iterate with #each on it
wowXD has joined #ruby
<diegoviola> some of the data i have
Bira has quit [Ping timeout: 264 seconds]
net_mask has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<diegoviola> I don't want an array of arrays, just combine the data in them by the IDs and get the combined data as a new array
mjsmith2_ has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
alec-c4 has joined #ruby
wowXD has quit [Ping timeout: 248 seconds]
yfeldblum has joined #ruby
ghr has joined #ruby
AlexRussia has quit [Read error: Connection reset by peer]
ag4ve___ has quit [Ping timeout: 244 seconds]
ninegrid has joined #ruby
jezen has quit [Remote host closed the connection]
Poky has quit [Ping timeout: 255 seconds]
AlexRussia has joined #ruby
edgarjs_afk is now known as edgarjs
alec-c4 has quit [Ping timeout: 245 seconds]
geggam has quit [Ping timeout: 264 seconds]
SCHAAP137 has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kireevco has quit [Quit: Leaving.]
fgo has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Client Quit]
geggam has joined #ruby
<rixius> diegoviola: There are a lot of repeated numbers within each array. It would be a lot easier to offer advice if I knew what to even think looking at these two arrays.
ghr has quit [Ping timeout: 255 seconds]
shvelo has quit [Ping timeout: 264 seconds]
relix has joined #ruby
<rixius> It's really easy for anyone to forget that others don't have the context you have. Happens to me all the time.
SCHAAP137 has joined #ruby
<diegoviola> rixius: i see, thanks
<diegoviola> yeah that data is confusing to me also
SCHAAP137 has quit [Read error: Connection reset by peer]
rixius has quit [Quit: Lost terminal]
funktor has quit []
sinkensabe has quit [Remote host closed the connection]
Mattx has joined #ruby
stytown has quit [Quit: stytown]
<Mattx> Hello guys
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
fgo has quit [Ping timeout: 264 seconds]
<Mattx> so I have some classes which inherits from a parent class called MyModel lets say
rdavila has joined #ruby
<Mattx> class Course < MyModel type "fo" end class Lecture < MyModel type "bar" end
lemur has quit [Remote host closed the connection]
Valesk has joined #ruby
<Mattx> this type method is a class method defined in MyModel, and it only saves the value: def self.type(text) @@type = text end
sepp2k has quit [Read error: Connection reset by peer]
<Mattx> the problem is that @@type is the same for ALL classes inheriting MyModel
<Senjai> Mattx: Use gist
funktor has joined #ruby
riotjones has joined #ruby
<Mattx> my intention was to change @@type in each child class, not in its parent
thoraxe has quit [Quit: leaving]
<Senjai> Mattx: Nobody likes reading code in irc
stytown has joined #ruby
<Mattx> 2 lines of code
mikespla_ has quit [Ping timeout: 255 seconds]
buub has joined #ruby
lemur has joined #ruby
lemur has quit [Remote host closed the connection]
<Mattx> Senjai, ^
riotjone_ has quit [Ping timeout: 240 seconds]
<diegoviola> why doesn't #each show me the output and #map does?
<Senjai> You're using class variables when you want class instance variables
<Senjai> @@type is the same in the parent and all subclasses
<Mattx> Senjai, no, I'm using a class variable because I want to put its value inside the definition of the class
<Mattx> not for each instance, for for all instances of Course and Lecture
contradictioned has quit [Ping timeout: 264 seconds]
<Senjai> Class instance variable != class variable != instance variable
contradictioned has joined #ruby
<Senjai> If you want a class varaible shared across all instances (not recommended) setting it in any of them will modify it for all of them
net_mask has quit []
<Mattx> ahh, ok, class instance variables
<Senjai> If you want them individually use @type instead of @@type
<Mattx> never used one, one sec
<Senjai> which is a class instance variable
<Senjai> It's the same as an instance variable, just on the singleton instead of the instance
<Senjai> You should initialize it when the class is parsed though
<Mattx> weird
<Mattx> so if you use @type in a class method, it's a class instance variable?
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
mr_snowf1ake has joined #ruby
sunya7a has quit [Ping timeout: 248 seconds]
northfurr has joined #ruby
<shevy> the scope is a different one from "def foo" vs. "def self.foo"
<shevy> @@class_vars are awful IMO
<Mattx> yeah, I didn't know this. excellent
<Mattx> I thought @@foo was what seems to be called a class instance variable
endash has quit [Quit: endash]
<Senjai> shevy: Indeed
<Senjai> Mattx: A lot of people get confused by it. I did
tjr9898_ has quit []
little_f_ has quit [Remote host closed the connection]
blackmes2 has quit [Ping timeout: 248 seconds]
nanoyak has joined #ruby
<Mattx> it's not that strightforward
AlexRussia has quit [Quit: No Ping reply in 180 seconds.]
<Mattx> removing one @ doesn't fix it, in fact it now crashes
maestrojed has joined #ruby
AlexRussia has joined #ruby
geggam has quit [Remote host closed the connection]
mehlah has joined #ruby
Vpex has quit [Ping timeout: 245 seconds]
sunya7a has joined #ruby
jobewan has quit [Quit: Leaving]
lmickh has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
karmatr0n has quit [Ping timeout: 248 seconds]
St_Marx has quit [Quit: Ex-Chat]
little_fu has joined #ruby
stytown has quit [Quit: stytown]
little_f_ has joined #ruby
SCHAAP137 has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
<frankS2> Hi, do anyone in here know if it is possible to download rubymonks website for offline usage?
treehug88 has quit []
funktor has quit [Remote host closed the connection]
little_fu has quit [Ping timeout: 248 seconds]
everdaniel has quit [Quit: Leaving...]
ianbrandt has quit [Quit: ianbrandt]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has joined #ruby
larissa has quit [Quit: Leaving]
stytown has joined #ruby
saarinen has quit [Client Quit]
alpha123 has joined #ruby
workmad3 has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
danijoo has joined #ruby
FDj_ is now known as FDj
volk_ has quit [Quit: volk_]
yfeldblum has quit [Ping timeout: 240 seconds]
Arkaniad has joined #ruby
spider-mario has quit [Remote host closed the connection]
cpruitt has quit [Quit: cpruitt]
stytown has quit [Quit: stytown]
atraylen has joined #ruby
ctp has joined #ruby
Nies has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 240 seconds]
jsaak has quit [Ping timeout: 252 seconds]
funktor has joined #ruby
saarinen has quit [Quit: saarinen]
kaspergr_ has joined #ruby
little_f_ has quit [Remote host closed the connection]
fluve has joined #ruby
wowXD has joined #ruby
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nanoyak has quit [Quit: Computer has gone to sleep.]
dik_dak has quit [Quit: Leaving]
kaspergrubbe has quit [Ping timeout: 264 seconds]
cheem has joined #ruby
rebelshrug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has joined #ruby
alec-c4 has joined #ruby
St_Marx has joined #ruby
binaryhat has quit [Remote host closed the connection]
stytown has joined #ruby
jsaak has joined #ruby
wowXD has quit [Ping timeout: 240 seconds]
binaryhat has joined #ruby
funktor has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
autonomousdev has joined #ruby
saarinen has quit [Client Quit]
alec-c4 has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
Darkchaos has quit [Ping timeout: 240 seconds]
autonomousdev has quit [Client Quit]
shinobi_one has quit [Quit: shinobi_one]
fgo has joined #ruby
nanoyak has joined #ruby
nectarys has joined #ruby
_m_g_ has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 240 seconds]
cheem has quit [Quit: cheem]
_m_g_ has joined #ruby
SegFaultAX has quit [Ping timeout: 240 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nanoyak has quit [Client Quit]
Senjai has quit [Ping timeout: 240 seconds]
EminenceHC has joined #ruby
pu22l3r has joined #ruby
<EminenceHC> What is the best way to convert an array with a single integer value: [1] to a non-array integer?
ashleah{K} has quit [Ping timeout: 240 seconds]
SegFaultAX has joined #ruby
GriffinHeart has quit [Ping timeout: 264 seconds]
Senjai has joined #ruby
Sammael has quit [Ping timeout: 240 seconds]
ashleah_ has joined #ruby
dhruvasagar has joined #ruby
nanoyak has joined #ruby
Senjai has quit [Changing host]
Senjai has joined #ruby
jezen has joined #ruby
stytown has quit [Quit: stytown]
Mattx has quit [Read error: Connection reset by peer]
Matip has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
kireevco has joined #ruby
ringaring has joined #ruby
snath has quit [Ping timeout: 264 seconds]
kaspergrubbe has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
IceDragon_ has joined #ruby
IceDragon has quit [Disconnected by services]
IceDragon_ is now known as IceDragon
enebo has quit [Quit: enebo]
ringarin has quit [Ping timeout: 255 seconds]
kaspergr_ has quit [Ping timeout: 255 seconds]
Bira has joined #ruby
mijicd has quit [Remote host closed the connection]
george2 has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
Bira has quit [Client Quit]
DanielRb has quit [Ping timeout: 240 seconds]
Bira has joined #ruby
<havenwood> EminenceHC: [1].first #=> 1
ffranz has quit [Quit: Leaving]
rdavila has quit [Quit: rdavila]
DanielRb has joined #ruby
IceDragon has quit [Ping timeout: 248 seconds]
jezen has quit [Remote host closed the connection]
saarinen has joined #ruby
cantonic has joined #ruby
djbkd has quit [Remote host closed the connection]
kevind has quit [Quit: kevind]
momomomomo has quit [Quit: momomomomo]
djbkd has joined #ruby
snath has joined #ruby
lemur has joined #ruby
Vivekananda has joined #ruby
gverri has joined #ruby
DanielRb has quit [Ping timeout: 248 seconds]
Vivekananda has quit [Max SendQ exceeded]
little_fu has joined #ruby
djbkd has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 240 seconds]
vinleod has quit [Quit: Computer has gone to sleep.]
mikecmpbll has quit [Quit: ciao.]
IceDragon has joined #ruby
sunya7a_ has joined #ruby
DanielRb has joined #ruby
nectarys has quit [Quit: Ex-Chat]
sunya7a has quit [Ping timeout: 248 seconds]
lewix has joined #ruby
sputnik13 has joined #ruby
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maestrojed has quit [Quit: Computer has gone to sleep.]
dukedave has quit [Ping timeout: 264 seconds]
gverri has joined #ruby
hermanmunster has joined #ruby
edgarjs is now known as edgarjs_afk
rdavila has joined #ruby
sputnik13 has quit [Client Quit]
<pontiki_> or .shift, .pop, .last, .[0] ...
edgarjs_afk is now known as edgarjs
mikepack has quit [Remote host closed the connection]
nanoyak has quit [Read error: Connection reset by peer]
Liquid-- has quit [Quit: Computer has gone to sleep.]
autonomousdev has joined #ruby
nanoyak has joined #ruby
autonomousdev has quit [Client Quit]
<havenwood> or .sample, .[-1] ...
acconrad has joined #ruby
jsaak has quit [Ping timeout: 260 seconds]
mehlah has quit [Quit: Leaving...]
workmad3 has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
Vivekananda has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
razrunelord has quit [Remote host closed the connection]
kireevco has joined #ruby
Vivekananda has quit [Client Quit]
Vivekananda has joined #ruby
kaihara has joined #ruby
<baweaver> https://github.com/baweaver/streamable - Hehe, too much fun there. Just had to try it
<baweaver> stream 1, :Float, -> i { i * 5 } # Would give you 5.0
Bira has quit [Remote host closed the connection]
cgj has quit [Ping timeout: 255 seconds]
emptyflask has joined #ruby
jsaak has joined #ruby
cgj has joined #ruby
jcromartie has joined #ruby
Sammael has joined #ruby
f-a has joined #ruby
jamto11 has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
jespada has quit [Read error: Connection reset by peer]
vifino has quit [Quit: Ze Cat now leaves...]
sputnik13 has joined #ruby
doodlehaus has joined #ruby