havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.2.3; 2.1.7; 2.0.0-p647: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
Yzguy has joined #ruby
zomgbie has quit [Ping timeout: 252 seconds]
craysiii has quit [Quit: Leaving.]
boxofrox has quit [Ping timeout: 260 seconds]
trosborn has joined #ruby
trosborn has quit [Client Quit]
cyb3rspy has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
maloik has joined #ruby
yoongkang has joined #ruby
bkxd has quit [Ping timeout: 272 seconds]
czsr has quit [Quit: Leaving]
saddad has quit [Ping timeout: 260 seconds]
houhoulis has joined #ruby
maloik has quit [Ping timeout: 260 seconds]
zomgbie has joined #ruby
EllisTAA has joined #ruby
Melpaws has quit [Quit: Leaving.]
htmldrum has joined #ruby
cyb3rspy has quit [Quit: leaving]
eminencehc has joined #ruby
Elysia has joined #ruby
nolic has quit [Ping timeout: 246 seconds]
Elysia has quit [Client Quit]
purplexed- has quit [Quit: Leaving]
Elysia has joined #ruby
Elysia has quit [Client Quit]
axsuul has joined #ruby
htmldrum has quit [Ping timeout: 250 seconds]
asas has quit [Ping timeout: 260 seconds]
cyb3rspy has joined #ruby
Elysia has joined #ruby
Xeago has joined #ruby
cyb3rspy has quit [Client Quit]
SCHAAP137 has quit [Quit: Leaving]
cyb3rspy has joined #ruby
SCHAAP137 has joined #ruby
ta has joined #ruby
cyb3rspy has quit [Client Quit]
cyb3rspy has joined #ruby
pawnbox has joined #ruby
yqt has quit [Ping timeout: 264 seconds]
maloik has joined #ruby
skweek has joined #ruby
ta has quit [Ping timeout: 252 seconds]
cyb3rspy has quit [Quit: leaving]
cyb3rspy has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
davedev24 has quit []
maloik has quit [Ping timeout: 246 seconds]
cdg has joined #ruby
Bellthoven has quit [Ping timeout: 272 seconds]
Bellthoven has joined #ruby
Xeago has quit [Ping timeout: 272 seconds]
marr has quit []
jud has joined #ruby
scripore has joined #ruby
moeabdol has quit [Ping timeout: 255 seconds]
cyb3rspy has quit [Quit: leaving]
cyb3rspy has joined #ruby
<EllisTAA> i’m trying to decompress files that i compressed using Zlib.deflate, and i keep getting this error ‘`inflate': incorrect header check (Zlib::DataError)’ … anyone see anything obvious with my code that would prevent me from decrompressing .gz files? https://github.com/ellismarte/neatfreak/blob/master/neatfreak.rb#L36
rgrmatt has quit [Remote host closed the connection]
gusTester has joined #ruby
vdamewood has quit [Quit: Life beckons.]
diegoaguilar has quit [Ping timeout: 244 seconds]
antoniobeyah has joined #ruby
maloik has joined #ruby
rgrmatt has joined #ruby
eni_ has joined #ruby
<Ox0dea> EllisTAA: Zlib.inflate expects compressed data; you're giving it a path.
<eni_> hello. I tried to install jekyll and it asked me for ruby v. 2.0.0 which I got like this : curl -L https://get.rvm.io | bash -s stable --ruby=2.0.0 (cv. https://www.digitalocean.com/community/tutorials/how-to-get-started-with-jekyll-on-an-ubuntu-vps ). But when i run the gem install jekyll it still asks for ruby 2.0.0, apparently i have to use rvm to switch ruby versions .. (is this correct?), but it doesn't seem like rvm is installed neit
<eni_> her. do you have any hint? thanks.
<EllisTAA> Ox0dea: so should i pass in this as the argument Zlib::GzipReader.open(path)
boxofrox has joined #ruby
<eni_> edit: ok i have it installed. I just had to run : source /usr/local/rvm/scripts/rvm
<Ox0dea> EllisTAA: Yes, but that'll give you an IO, not the decompressed data.
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<EllisTAA> Ox0dea: do u know what i’d want to use?
<Ox0dea> EllisTAA: Yes.
patrick3 has joined #ruby
<EllisTAA> Ox0dea: what should i use?
<Ox0dea> EllisTAA: If you want all the data at once, read the IO like you would any other.
fedexo has joined #ruby
maloik has quit [Ping timeout: 255 seconds]
<eni_> edit2: got it working. thanks.
gusTester has left #ruby [#ruby]
xxneolithicxx has quit [Remote host closed the connection]
eminencehc has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 246 seconds]
<EllisTAA> Ox0dea: what if i do this: http://ruby-doc.org/stdlib-2.1.1/libdoc/zlib/rdoc/Zlib/Inflate.html#method-c-inflate would buf be the decompressed data?
<EllisTAA> and i’d just pass buf in as the argumetn?
<Ox0dea> EllisTAA: No. Really, take a moment to appreciate the difference between a filename and its contents.
eminencehc has joined #ruby
patrick2 has quit [Ping timeout: 265 seconds]
xxneolithicxx has joined #ruby
xxneolithicxx has quit [Max SendQ exceeded]
xxneolithicxx has joined #ruby
xxneolithicxx has quit [Max SendQ exceeded]
fedexo has quit [Ping timeout: 272 seconds]
diegoaguilar has joined #ruby
davedev24 has joined #ruby
xxneolithicxx has joined #ruby
rgtk has joined #ruby
axsuul has joined #ruby
rgtk has quit [Read error: No route to host]
rgtk has joined #ruby
<EllisTAA> Ox0dea: so i want to open up the file, grab all the data, then call File.write on that data in order to inflate a compressed file?
<Ox0dea> EllisTAA: Why would you need to write to read?
rgtk has quit [Read error: Connection reset by peer]
<EllisTAA> Ox0dea: i have a file hello.txt.gz in my directory, i want it to become hello.txt
rgtk has joined #ruby
<Ox0dea> EllisTAA: Oh, I see. Are you rewriting gunzip as a learning exercise?
_ko1 has joined #ruby
<EllisTAA> Ox0dea: idk what gunzip is
framling has quit [Remote host closed the connection]
<EllisTAA> lol
<Yzguy> ^^ lmfao, dying laughing over here
stannard has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 240 seconds]
k3asd` has quit [Ping timeout: 272 seconds]
rgtk has quit [Read error: Connection reset by peer]
rgtk has joined #ruby
rgtk has quit [Read error: No route to host]
<Ox0dea> EllisTAA: Zlib::GzipReader.open('foo.gz') { |gz| File.write 'foo', gz.read }
<Ox0dea> That's the simplest approach, and it should suffice unless your deflated files are pretty massive.
rgtk has joined #ruby
<Ox0dea> In case you were being honest, `gunzip` just decompresses a compressed file "in-place".
rgtk has quit [Read error: No route to host]
baweaver has joined #ruby
rgtk has joined #ruby
<EllisTAA> Ox0dea: why are you calling read at the end of the block?
<EllisTAA> oh, bc that gets the data from gz?
rgtk has quit [Read error: No route to host]
antoniobeyah has quit [Quit: antoniobeyah]
rgtk has joined #ruby
axsuul has joined #ruby
antoniobeyah has joined #ruby
rgtk has quit [Read error: No route to host]
rgtk has joined #ruby
poguez_ has joined #ruby
<Ox0dea> EllisTAA: Yeah.
tulak has quit [Remote host closed the connection]
rgtk has quit [Read error: No route to host]
rgtk has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
rgtk has quit [Read error: Connection reset by peer]
axsuul has quit [Ping timeout: 250 seconds]
rgtk has joined #ruby
cdg has quit [Remote host closed the connection]
rbowlby has quit []
rgtk has quit [Read error: Connection reset by peer]
rgtk has joined #ruby
rgtk has quit [Read error: No route to host]
rgtk has joined #ruby
<EllisTAA> Ox0dea: thanks for the halp
eminencehc has quit [Remote host closed the connection]
rgtk has quit [Read error: Connection reset by peer]
rgtk has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
build22 has quit [Remote host closed the connection]
rgtk has quit [Read error: Connection reset by peer]
rgtk has joined #ruby
rgtk has quit [Read error: No route to host]
rgtk has joined #ruby
lemur has joined #ruby
rgtk has quit [Read error: No route to host]
rgtk has joined #ruby
build22 has joined #ruby
ta has joined #ruby
rgtk has quit [Read error: No route to host]
baweaver has quit [Ping timeout: 240 seconds]
Melpaws has joined #ruby
tlaxkit has quit [Quit: ¡Hasta luego!]
<EllisTAA> damn. getting an error: ‘not in gzip format (zlib::gzipfile::error) … https://github.com/ellismarte/neatfreak/blob/master/neatfreak.rb#L37
SCHAAP137 has quit [Quit: Leaving]
rgtk_ has joined #ruby
lemur has quit [Read error: Connection reset by peer]
build22 has quit [Ping timeout: 240 seconds]
rgtk_ has quit [Read error: No route to host]
baweaver has joined #ruby
rgtk_ has joined #ruby
ta has quit [Ping timeout: 252 seconds]
rgtk_ has quit [Read error: Connection reset by peer]
baweaver has quit [Ping timeout: 246 seconds]
allcentury has quit [Ping timeout: 240 seconds]
maloik has joined #ruby
juddey has joined #ruby
pen has quit []
rgrmatt has quit [Remote host closed the connection]
lemondom has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
rgtk_ has joined #ruby
rgrmatt has joined #ruby
maloik has quit [Ping timeout: 264 seconds]
zfez_ has joined #ruby
rgtk_ has quit [Read error: Connection reset by peer]
lemondom_ has quit [Ping timeout: 276 seconds]
zfez_ has quit [Client Quit]
<blubjr> wow ruby doesnt do tco ?
<Ox0dea> blubjr: Consider lurking harder.
<al2o3-cr> yeah look at RubyVM :)
kp666 has quit [Ping timeout: 260 seconds]
sondr3 has quit [Quit: Sleep]
Coldblackice has quit [Ping timeout: 240 seconds]
Guest42726 has quit [Ping timeout: 276 seconds]
<Ox0dea> It's difficult to bump into the realization that Ruby doesn't do TCO without quickly finding that it can be finagled into doing so. I suspect blubjr is Blubbing.
<havenwood> blubjr: CRuby has TCO. It's just disabled by default in favor of backtrace info.
<blubjr> i just had a recursive function blow up and i was surprised thats all..
<blubjr> oh
<havenwood> blubjr: The patch is just changing a 1 to a 0 and a 0 to a 1: https://gist.github.com/havenwood/d958268d0ab896373af6
<havenwood> blubjr: Backtrace off and tailcall on.
beauby has quit [Ping timeout: 260 seconds]
wldcordeiro has joined #ruby
maloik has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
<blubjr> thank you
htmldrum has joined #ruby
<Ox0dea> blubjr: Gonna recompile your local interpreter, then?
<blubjr> not for this, but its good to be aware of ?
ledestin has joined #ruby
Melpaws has quit [Quit: Leaving.]
maloik has quit [Ping timeout: 240 seconds]
NeverDie has joined #ruby
axsuul has joined #ruby
pdoherty has quit [Quit: Leaving]
Tempesta has quit [Quit: See ya!]
AlphaAtom has joined #ruby
AlphaAtom has quit [Client Quit]
juddey has quit [Ping timeout: 255 seconds]
<Ox0dea> blubjr: eval.in didn't handle it very well, but here's why al2o3-cr mentioned RubyVM: https://eval.in/473726
eminencehc has joined #ruby
<blubjr> oh
rgrmatt has quit [Remote host closed the connection]
UtkarshRay has quit [Ping timeout: 272 seconds]
urbann has joined #ruby
maloik has joined #ruby
<shevy> are you people trying to break ruby again
<shevy> "Error output: That didn't go well."
dorei has quit []
segy_ has joined #ruby
<Ox0dea> al2o3-cr: Nifty. Can it please run trunk?
<al2o3-cr> Ox0dea: you'll have to ask jhass
<Ox0dea> Oh?
<al2o3-cr> he created it :)
<Ox0dea> Oh, right. I forgot he hosted both a pastebin and an evaluator.
segy- has joined #ruby
ur5us has joined #ruby
maloik has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
segy has quit [Ping timeout: 264 seconds]
segy- is now known as segy
segy_ has quit [Ping timeout: 240 seconds]
Oli has joined #ruby
Oli is now known as Guest38959
rgrmatt has joined #ruby
<shevy> he became crystalss
Bellthoven has quit []
minimalism has quit [Ping timeout: 240 seconds]
minimalism has joined #ruby
solocshaw has quit [Ping timeout: 276 seconds]
maloik has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
<afschw> I want crystals.
<shevy> we got all the precious
Jardayn has quit [Quit: Leaving]
<shevy> the perls the rubies the crystals
<shevy> unsure which other mineral we have on top of that
maloik has quit [Ping timeout: 246 seconds]
<Ox0dea> Opal, Topaz.
eni_ has quit [Remote host closed the connection]
terminalrecluse has joined #ruby
build22 has joined #ruby
<shevy> hmm
CloCkWeRX has quit [Ping timeout: 260 seconds]
lemondom_ has joined #ruby
lemondom_ has quit [Client Quit]
davedev2_ has joined #ruby
davedev24 has quit [Read error: Connection reset by peer]
lemondom has quit [Ping timeout: 276 seconds]
bkxd has joined #ruby
_stu_ has joined #ruby
ta has joined #ruby
build22 has quit [Ping timeout: 240 seconds]
JammyHammy has joined #ruby
EllisTAA has joined #ruby
<EllisTAA> anyone know why this line is giving me the following error ‘Zlib::GzipFile::Error message is not in gzip format .. https://github.com/ellismarte/neatfreak/blob/master/neatfreak.rb#L37 is that saying gz.read is not in gzip format or the path isn’t in gzip format?
<Ox0dea> > I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
maloik has joined #ruby
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<EllisTAA> it is the latter
<Ox0dea> EllisTAA: Again, a path is not a file.
jschmid has joined #ruby
AlphaAtom has joined #ruby
_blizzy_ has quit [Quit: Leaving]
<shevy> what is path there exactly
axsuul has quit [Ping timeout: 265 seconds]
<EllisTAA> shevy: a string / path to the file
yoongkang has quit [Remote host closed the connection]
AlphaAtom has quit [Client Quit]
<EllisTAA> see in the docs it says ‘Zlib::GzipReader.open('hoge.gz') {|gz| print gz.read}’ and that’s what i’m doing
<shevy> no I mean
<shevy> literally
<shevy> what is it; output it
maloik has quit [Ping timeout: 260 seconds]
<Ox0dea> EllisTAA: Why did you do this? https://github.com/ellismarte/neatfreak/commit/6a67
<EllisTAA> Ox0dea: line 37?
<Ox0dea> EllisTAA: That commit.
<EllisTAA> shevy: what do u mean output it? its a string
<Ox0dea> Show us.
UtkarshRay has joined #ruby
maloik has joined #ruby
<EllisTAA> Ox0dea: since i compressed everything i can’t open sublime so i’m having to edit on github and pull down
<shevy> puts path
<Ox0dea> EllisTAA: You... compressed every directory to which you have read and write access?
<EllisTAA> Ox0dea: yep
<Ox0dea> What a fucking idi^W awesome idea.
<EllisTAA> Ox0dea: that haven’t been accessed in 2 weeks
<Ox0dea> I'm gonna do the same.
JazzyVariable227 has joined #ruby
saddad has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<Ox0dea> EllisTAA: You are trying to decompress a filename, which is indeed not (and should never be) in gzip format.
maloik has quit [Ping timeout: 240 seconds]
exadeci has joined #ruby
<EllisTAA> Ox0dea: k so i want to grab the file using maybe file.open and pass that in as the argument right?
ur5us has quit [Remote host closed the connection]
<Ox0dea> EllisTAA: No, the code you had before that commit was fine.
jschmid has quit [Ping timeout: 255 seconds]
<EllisTAA> ….
JazzyVariable227 has quit [Remote host closed the connection]
m0nge has joined #ruby
<Ox0dea> I suspect you've got some files with a .gz extension that aren't actually gzipped data.
<EllisTAA> Ox0dea: damn how did u know.
xxneolithicxx has quit [Ping timeout: 264 seconds]
<Ox0dea> > Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth.
bkxd has quit [Ping timeout: 240 seconds]
lkba_ has joined #ruby
<darix> file *gz
JazzyVariable227 has joined #ruby
bkxd has joined #ruby
toretore has quit [Ping timeout: 250 seconds]
CodingWolf has quit [Ping timeout: 265 seconds]
lkba has quit [Ping timeout: 276 seconds]
PaulCapestany has quit [Quit: .]
Yzguy has quit [Quit: Zzz...]
rjn2 has joined #ruby
PaulCapestany has joined #ruby
_stu_ has quit [Quit: _stu_]
jessemcgilallen has joined #ruby
maloik has joined #ruby
CloCkWeRX has joined #ruby
ta has quit [Ping timeout: 252 seconds]
rgtk_ has joined #ruby
lipoqil has quit [Quit: Connection closed for inactivity]
rgtk_ has quit [Read error: No route to host]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
maloik has quit [Ping timeout: 252 seconds]
<shevy> we gotta make ruby more kickass
JazzyVariable227 has quit [Quit: Leaving...]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
tulak has joined #ruby
<EllisTAA> shevy: how
<shevy> unsure
<shevy> the documentation is not too great
Paradox has quit [Ping timeout: 240 seconds]
<EllisTAA> so i’m getting an error saying file is not in gzip format. if this code is valid then that must mean some file with a .gz extension but that isn’t a compressed file is causing the problem. is this code correct? https://github.com/ellismarte/neatfreak/blob/master/neatfreak.rb#L39-L42
tulak has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
amclain has joined #ruby
amclain has quit [Read error: Connection reset by peer]
saddad has quit [Ping timeout: 246 seconds]
<Ox0dea> EllisTAA: Uncomment Line 37 and delete Lines 39-43.
<Ox0dea> And change "data" to "path"; how did it even become "data"?
pwnd_nsfw has joined #ruby
<Ox0dea> Programming is not a guessing game.
Oog has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
<EllisTAA> Ox0dea: data was refering to open(path)
Oog has quit [Max SendQ exceeded]
<EllisTAA> Ox0dea: well the docs suck so i had to guess
<Ox0dea> EllisTAA: I gave you that code.
<Ox0dea> It works.
baweaver has quit [Remote host closed the connection]
<Ox0dea> Your problem is coming from another castle, namely the directory in which you have .gz files that aren't what they say they aare
<Ox0dea> *are.
Oog has joined #ruby
mooe has joined #ruby
<EllisTAA> Ox0dea: word
htmldrum has quit [Ping timeout: 250 seconds]
maloik has joined #ruby
ibouvousaime has quit [Ping timeout: 250 seconds]
ja has quit [Remote host closed the connection]
dlitvak has quit [Remote host closed the connection]
rgrmatt has quit [Remote host closed the connection]
terminalrecluse has joined #ruby
m0nge has quit [Quit: Lost terminal]
plumbus has joined #ruby
maloik has quit [Ping timeout: 252 seconds]
build22 has joined #ruby
ja has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
RobertBirnie has joined #ruby
RandyT_ has joined #ruby
NeverTired has joined #ruby
helpa has quit [Remote host closed the connection]
HammyJammy has joined #ruby
helpa has joined #ruby
davedev24 has joined #ruby
blubjr` has joined #ruby
dravine_ has joined #ruby
PaulCape_ has joined #ruby
blubjr has quit [Disconnected by services]
blubjr` is now known as blubjr
sarkis_ has joined #ruby
RobertBirnie has quit [Client Quit]
blackjid has quit [Max SendQ exceeded]
mg^^ has joined #ruby
graffix has quit [Ping timeout: 264 seconds]
danzilio has quit [Ping timeout: 264 seconds]
<Ox0dea> EllisTAA: Here's my take on it: https://eval.in/473728
M-Kodo1 has joined #ruby
<Ox0dea> The symmetry means it's working.
danzilio has joined #ruby
blackjid has joined #ruby
_derpy has joined #ruby
johnzorn has quit [Ping timeout: 264 seconds]
martinbjeldbak has quit [Ping timeout: 264 seconds]
null__ has quit [Ping timeout: 264 seconds]
xxneolithicxx has joined #ruby
xxneolithicxx has quit [Max SendQ exceeded]
bkxd has joined #ruby
eminence_ has joined #ruby
graffix_ has joined #ruby
radgeRayden_ has joined #ruby
eregon_ has joined #ruby
valeri_uF0 has joined #ruby
ascarter has joined #ruby
nofxx has quit [Ping timeout: 264 seconds]
pygospa has quit [Ping timeout: 264 seconds]
svkurowski has quit [Ping timeout: 264 seconds]
rcs has quit [Ping timeout: 264 seconds]
M-prosodyContext has quit [Ping timeout: 264 seconds]
Nilium has quit [Ping timeout: 264 seconds]
matti has quit [Ping timeout: 264 seconds]
cookiez has quit [Ping timeout: 264 seconds]
<EllisTAA> Ox0dea: pretty
bb010g has joined #ruby
<Ox0dea> <3
perrier_ has joined #ruby
jsaak_ has joined #ruby
ohaibbq_ has joined #ruby
JammyHammy has quit [Ping timeout: 264 seconds]
segy has quit [Ping timeout: 264 seconds]
eminencehc has quit [Ping timeout: 264 seconds]
banister has quit [Ping timeout: 264 seconds]
sumark has quit [Ping timeout: 264 seconds]
hinbody has quit [Ping timeout: 264 seconds]
dravine has quit [Ping timeout: 264 seconds]
afschw has quit [Ping timeout: 264 seconds]
TheSpectre has quit [Ping timeout: 264 seconds]
Eiam has quit [Ping timeout: 264 seconds]
Kabaka has quit [Ping timeout: 264 seconds]
elcontrastador has quit [Ping timeout: 264 seconds]
jericon has quit [Ping timeout: 264 seconds]
Kero has quit [Ping timeout: 264 seconds]
hplar has quit [Ping timeout: 264 seconds]
isene has quit [Ping timeout: 264 seconds]
oddalot has quit [Ping timeout: 264 seconds]
Gnubie__ has quit [Ping timeout: 264 seconds]
eregon has quit [Ping timeout: 264 seconds]
`derpy has quit [Ping timeout: 264 seconds]
ukd1 has quit [Ping timeout: 264 seconds]
suchness has quit [Ping timeout: 264 seconds]
dravine_ is now known as dravine
<Ox0dea> It's easier to read without having to wade through unhelpful comments and massive variable names.
<Ox0dea> (In my opinion or whatever. :P)
kramsee_ has joined #ruby
yaewa has joined #ruby
amirpro_ has joined #ruby
minimali1m has joined #ruby
mic_e has quit [Ping timeout: 264 seconds]
Encapsulation has quit [Ping timeout: 264 seconds]
kaspergrubbe has quit [Ping timeout: 264 seconds]
kent\n has quit [Ping timeout: 264 seconds]
noodle has quit [Ping timeout: 264 seconds]
avelldiroll has quit [Ping timeout: 264 seconds]
madhatter has joined #ruby
ricer2_slTT has joined #ruby
G__ has joined #ruby
diprotic has joined #ruby
diprotic has joined #ruby
mic_e has joined #ruby
TheSpectre has joined #ruby
bradland_ has joined #ruby
stephenh_ has joined #ruby
whiteline_ has joined #ruby
jericon has joined #ruby
afschw has joined #ruby
yoongkang has joined #ruby
sumark has joined #ruby
hinbody has joined #ruby
xxneolithicxx has joined #ruby
Kero has joined #ruby
kent\n has joined #ruby
kaspergrubbe has joined #ruby
joevandy1 has joined #ruby
xxneolithicxx has quit [Max SendQ exceeded]
_main_ has joined #ruby
<EllisTAA> those comments were helpful lol
Pro| has joined #ruby
havenn has joined #ruby
havenn has joined #ruby
DEac-_ has joined #ruby
Drakevr has joined #ruby
raenk_ has joined #ruby
hostess_ has joined #ruby
ozzloy_ has joined #ruby
golgaroth_ has joined #ruby
avdi_ has joined #ruby
_ko10 has joined #ruby
IcyDragon has joined #ruby
<Ox0dea> They're almost all noise.
wlanboy has joined #ruby
<Ox0dea> You shouldn't patronize the reader by "explaining" what `Dir.chdir` does.
mroth_ has joined #ruby
C0deMaver1ck_ has joined #ruby
<EllisTAA> but my friends are noobs so they would probably just look that up
freeze has joined #ruby
Karunamon|2 has joined #ruby
<Ox0dea> Good.
xnr_ has joined #ruby
RedDwarf has joined #ruby
woodruff- has joined #ruby
Olipro_ has joined #ruby
maloik has joined #ruby
M-prosodyContext has joined #ruby
Olipro_ is now known as Guest10558
<EllisTAA> lol
martinbjeldbak has joined #ruby
ekleog_ has joined #ruby
zrl_ has joined #ruby
matti has joined #ruby
matti has joined #ruby
rcs has joined #ruby
pwnd_nsfw has quit [*.net *.split]
PaulCapestany has quit [*.net *.split]
davedev2_ has quit [*.net *.split]
minimalism has quit [*.net *.split]
postmodern has quit [*.net *.split]
ohaibbq has quit [*.net *.split]
moei has quit [*.net *.split]
unclouded has quit [*.net *.split]
err_ok has quit [*.net *.split]
amirpro has quit [*.net *.split]
golgaroth has quit [*.net *.split]
zrl has quit [*.net *.split]
VeryBewitching has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
pwned has quit [*.net *.split]
Mia has quit [*.net *.split]
Guest90705 has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
sgrdrnk has quit [*.net *.split]
raddazong has quit [*.net *.split]
saltsa_ has quit [*.net *.split]
arooni has quit [*.net *.split]
whippythellama has quit [*.net *.split]
armyriad has quit [*.net *.split]
alem0lars has quit [*.net *.split]
mozzarella has quit [*.net *.split]
cbetta has quit [*.net *.split]
woodruffw has quit [*.net *.split]
xnr has quit [*.net *.split]
chihhsin has quit [*.net *.split]
kramsee has quit [*.net *.split]
stephenh has quit [*.net *.split]
hostess has quit [*.net *.split]
DarkBushido has quit [*.net *.split]
segmond has quit [*.net *.split]
v0n has quit [*.net *.split]
linc01n has quit [*.net *.split]
cschneid has quit [*.net *.split]
teotwaki has quit [*.net *.split]
n1ftyn8_ has quit [*.net *.split]
G has quit [*.net *.split]
bradland has quit [*.net *.split]
perrier has quit [*.net *.split]
__main__ has quit [*.net *.split]
flori has quit [*.net *.split]
RandyT has quit [*.net *.split]
mroth has quit [*.net *.split]
bascht has quit [*.net *.split]
joaomdmoura_ has quit [*.net *.split]
avdi has quit [*.net *.split]
bove has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
snapcase has quit [*.net *.split]
alakra has quit [*.net *.split]
Bugboy1028 has quit [*.net *.split]
jsrn has quit [*.net *.split]
nullwarp has quit [*.net *.split]
DarkBushido_ has joined #ruby
_main_ is now known as __main__
xnr_ is now known as xnr
segy has joined #ruby
nullwarp_ has joined #ruby
jsrn has joined #ruby
svkurowski has joined #ruby
jinie_ has joined #ruby
teotwaki has joined #ruby
RobertBirnie has joined #ruby
Affix-Phobos has joined #ruby
_ko1 has quit [*.net *.split]
BTRE has quit [*.net *.split]
gambl0re has quit [*.net *.split]
gregf has quit [*.net *.split]
dikaio has quit [*.net *.split]
linduxed has quit [*.net *.split]
sarkis has quit [*.net *.split]
Drakevr_ has quit [*.net *.split]
solenoids has quit [*.net *.split]
radgeRayden__ has quit [*.net *.split]
jatb has quit [*.net *.split]
Zackio has quit [*.net *.split]
valeri_ufo has quit [*.net *.split]
whiteline has quit [*.net *.split]
Meeh has quit [*.net *.split]
havenwood has quit [*.net *.split]
diesel has quit [*.net *.split]
johnny56 has quit [*.net *.split]
jinie has quit [*.net *.split]
Synthead has quit [*.net *.split]
pabs has quit [*.net *.split]
mg^ has quit [*.net *.split]
ascarter_ has quit [*.net *.split]
monoprotic has quit [*.net *.split]
ricer2 has quit [*.net *.split]
freeze_ has quit [*.net *.split]
suffice has quit [*.net *.split]
Karunamon has quit [*.net *.split]
Affix has quit [*.net *.split]
bodie_ has quit [*.net *.split]
Pro|_ has quit [*.net *.split]
M-Kodo has quit [*.net *.split]
C0deMaver1ck has quit [*.net *.split]
ekleog has quit [*.net *.split]
DEac- has quit [*.net *.split]
infernix has quit [*.net *.split]
edwardly has quit [*.net *.split]
NET||abuse has quit [*.net *.split]
ozzloy has quit [*.net *.split]
kriskropd has quit [*.net *.split]
raenk has quit [*.net *.split]
wlanboy_ has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
Davey has quit [*.net *.split]
bhorn1 has quit [*.net *.split]
pestle has quit [*.net *.split]
M-Technic has quit [*.net *.split]
hays has quit [*.net *.split]
sshuff|gone has quit [*.net *.split]
IceDragon has quit [*.net *.split]
ZYPP has quit [*.net *.split]
joevandyk has quit [*.net *.split]
jsaak has quit [*.net *.split]
build22 has quit [*.net *.split]
zomgbie has quit [*.net *.split]
maikowblue has quit [*.net *.split]
kadoppe has quit [*.net *.split]
dtordable has quit [*.net *.split]
agit0 has quit [*.net *.split]
zenguy_pc has quit [*.net *.split]
tercenya has quit [*.net *.split]
hackeron has quit [*.net *.split]
chouhoulis has quit [*.net *.split]
gizmore has quit [*.net *.split]
unsymbol has quit [*.net *.split]
olblak has quit [*.net *.split]
Ankhers has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
j416 has quit [*.net *.split]
Zarthus has quit [*.net *.split]
Prira has quit [*.net *.split]
tubbo has quit [*.net *.split]
miah has quit [*.net *.split]
hfp_work has quit [*.net *.split]
monsieurp has quit [*.net *.split]
arcanez has quit [*.net *.split]
pl1ght has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
Rutix has quit [*.net *.split]
crankharder has quit [*.net *.split]
niko has quit [*.net *.split]
JoshL has quit [*.net *.split]
nug has quit [*.net *.split]
aep has quit [*.net *.split]
levifig has quit [*.net *.split]
javawizard has quit [*.net *.split]
scpike_ has quit [*.net *.split]
ahuman has quit [*.net *.split]
setient has quit [*.net *.split]
wnd has quit [*.net *.split]
nickjj has quit [*.net *.split]
j2k_ has quit [*.net *.split]
galeido has quit [*.net *.split]
cajone has quit [*.net *.split]
bluntman has quit [*.net *.split]
Raboo has quit [*.net *.split]
mighty_gorilla has quit [*.net *.split]
parus has quit [*.net *.split]
ejnahc_ has quit [*.net *.split]
nibbo has quit [*.net *.split]
Guest34193 has quit [*.net *.split]
nwhirschfeld has quit [*.net *.split]
dreinull75 has quit [*.net *.split]
sevin has quit [*.net *.split]
jessemcgilallen has quit [*.net *.split]
wldcordeiro has quit [*.net *.split]
skweek has quit [*.net *.split]
IrishGringo has quit [*.net *.split]
chipotle has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
kobain has quit [*.net *.split]
dkphenom has quit [*.net *.split]
sunya7a has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
atomical has quit [*.net *.split]
psy_ has quit [*.net *.split]
axl_ has quit [*.net *.split]
braincrash has quit [*.net *.split]
euoia_ has quit [*.net *.split]
beatboxchad has quit [*.net *.split]
Kruppe has quit [*.net *.split]
cgfbee has quit [*.net *.split]
bmn has quit [*.net *.split]
Luming has quit [*.net *.split]
sross_work|2 has quit [*.net *.split]
ereslibre has quit [*.net *.split]
Morrolan has quit [*.net *.split]
deavid has quit [*.net *.split]
kstuart has quit [*.net *.split]
sekrit has quit [*.net *.split]
Guest79906 has quit [*.net *.split]
RTG` has quit [*.net *.split]
bakedb_ has quit [*.net *.split]
AnoHito_ has quit [*.net *.split]
passcod has quit [*.net *.split]
csmb_ has quit [*.net *.split]
genpaku_ has quit [*.net *.split]
\13k_ has quit [*.net *.split]
frog0909 has quit [*.net *.split]
ghormoon has quit [*.net *.split]
SebastianThorn has quit [*.net *.split]
eboaz has quit [*.net *.split]
Eising has quit [*.net *.split]
Coraline has quit [*.net *.split]
tuor has quit [*.net *.split]
lianj has quit [*.net *.split]
nlsun has quit [*.net *.split]
bewie has quit [*.net *.split]
izzol has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
gavit has quit [*.net *.split]
Sigma00 has quit [*.net *.split]
sonne_ has quit [*.net *.split]
irk has quit [*.net *.split]
imajes has quit [*.net *.split]
headius has quit [*.net *.split]
Urocyon has quit [*.net *.split]
bhaak has quit [*.net *.split]
jayne has quit [*.net *.split]
brainslug has quit [*.net *.split]
xsdg has quit [*.net *.split]
cibs has quit [*.net *.split]
eshy has quit [*.net *.split]
voxxit has quit [*.net *.split]
closer has quit [*.net *.split]
timmow has quit [*.net *.split]
fulgore_ has quit [*.net *.split]
nfsnobody has quit [*.net *.split]
linc01n has joined #ruby
cschneid has joined #ruby
Karunamon|2 is now known as Karunamon
RobertBirnie has quit [Excess Flood]
valeri_uF0 is now known as valeri_ufo
havenn is now known as havenwood
jinie_ is now known as jinie
noodle has joined #ruby
Affix-Phobos is now known as Affix
<EllisTAA> omg it doesn’t unzip the files ><
<EllisTAA> i give up
gambl0re has joined #ruby
golgaroth_ is now known as golgaroth
Affix is now known as Guest26655
armyriad has joined #ruby
Nilium has joined #ruby
gregf has joined #ruby
maloik has quit [Ping timeout: 240 seconds]
zfez_ has joined #ruby
Rollabunna has quit [Read error: Connection reset by peer]
<Ox0dea> What doesn't?
splargle has joined #ruby
michael_mbp has joined #ruby
granatense has joined #ruby
Helheim has quit [Ping timeout: 272 seconds]
M-Technic has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
zrl_ is now known as zrl
mroth_ is now known as mroth
<EllisTAA> Ox0dea: when i run the program it isn’t uncompressing the files
tatertot has joined #ruby
zfez_ has quit [Client Quit]
NET||abuse has joined #ruby
ascarter_ has joined #ruby
postmodern has joined #ruby
err_ok has joined #ruby
granatense has quit [Client Quit]
eminence_ has quit [Remote host closed the connection]
MyMind has joined #ruby
bascht has joined #ruby
tekk has quit [Ping timeout: 250 seconds]
techietrash has quit [Ping timeout: 250 seconds]
<Ox0dea> Which program?
wlanboy has quit [Ping timeout: 250 seconds]
Outlastsheep has quit [Ping timeout: 250 seconds]
cliffstah has quit [Ping timeout: 250 seconds]
jessemcgilallen has joined #ruby
Rollabunna has joined #ruby
arooni has joined #ruby
jessemcgilallen has quit [Client Quit]
avdi_ is now known as avdi
oz has quit [Ping timeout: 250 seconds]
mozzarella has joined #ruby
AlexRussia has quit [Ping timeout: 250 seconds]
bafbomb_ has quit [Ping timeout: 250 seconds]
segmond has joined #ruby
skullcrasher has quit [Ping timeout: 250 seconds]
kedare has quit [Ping timeout: 250 seconds]
varesa_ has quit [Ping timeout: 250 seconds]
<EllisTAA> wait a second, i never called .inflate ...
m4rCsi_ has joined #ruby
alakra has joined #ruby
Encapsulation has joined #ruby
oddalot has joined #ruby
ascarter has quit [Ping timeout: 250 seconds]
L1nuX has quit [Ping timeout: 250 seconds]
AustinMatherne has quit [Ping timeout: 250 seconds]
icey has quit [Ping timeout: 250 seconds]
Rovanion_ has quit [Ping timeout: 250 seconds]
lokulin has quit [Ping timeout: 250 seconds]
kiez0rd has quit [Ping timeout: 250 seconds]
theRoUS has quit [Ping timeout: 250 seconds]
ajaiswal has quit [Ping timeout: 250 seconds]
TheMoonMaster has quit [Ping timeout: 250 seconds]
majjoha has quit [Ping timeout: 250 seconds]
samuelkadolph has quit [Ping timeout: 250 seconds]
Davey has joined #ruby
Davey has quit [Changing host]
Davey has joined #ruby
splargle has quit [Ping timeout: 240 seconds]
whippythellama has joined #ruby
gregf has quit [Ping timeout: 250 seconds]
Guest26655 has quit [Ping timeout: 250 seconds]
minimali1m has quit [Ping timeout: 250 seconds]
Sembei has quit [Ping timeout: 250 seconds]
s00pcan has quit [Ping timeout: 250 seconds]
speakingcode has quit [Ping timeout: 250 seconds]
tater has quit [Ping timeout: 250 seconds]
funnel has quit [Ping timeout: 250 seconds]
evandrojr has quit [Ping timeout: 250 seconds]
m4rCsi has quit [Ping timeout: 250 seconds]
Qantourisc has quit [Ping timeout: 250 seconds]
CustosLimen has quit [Ping timeout: 250 seconds]
<Ox0dea> You're also using an absolute path in `Dir.[]`.
BTRE has joined #ruby
infernix has joined #ruby
hplar has joined #ruby
cbetta has joined #ruby
AustinMatherne has joined #ruby
mostlybadfly has joined #ruby
ajaiswal has joined #ruby
zfez_ has joined #ruby
diesel has joined #ruby
freerobby has joined #ruby
zfez has quit [Quit: Leaving]
plumbus has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
speakingcode has joined #ruby
s00pcan has joined #ruby
avelldiroll has joined #ruby
ZYPP has joined #ruby
funnel has joined #ruby
Kabaka has joined #ruby
v0n has joined #ruby
Meeh_ has joined #ruby
TheRealPygo has joined #ruby
Axy has joined #ruby
Prira has joined #ruby
gizmore has joined #ruby
bluntman has joined #ruby
chihhsin_ has joined #ruby
javawizard has joined #ruby
Guest34193 has joined #ruby
queequeg1 has joined #ruby
maikowblue has joined #ruby
j2k_ has joined #ruby
JoshL has joined #ruby
parus has joined #ruby
mighty_gorilla has joined #ruby
ahuman has joined #ruby
Raboo has joined #ruby
nug has joined #ruby
hackeron has joined #ruby
unsymbol has joined #ruby
agit0 has joined #ruby
niko has joined #ruby
arcanez has joined #ruby
tubbo has joined #ruby
nwhirschfeld has joined #ruby
aep has joined #ruby
chouhoulis has joined #ruby
galeido has joined #ruby
saltsa has joined #ruby
monsieurp has joined #ruby
zenguy_pc has joined #ruby
Rutix has joined #ruby
dreinull75 has joined #ruby
olblak has joined #ruby
Ankhers has joined #ruby
ejnahc_ has joined #ruby
scpike_ has joined #ruby
hfp_work has joined #ruby
tercenya has joined #ruby
wnd has joined #ruby
levifig has joined #ruby
miah has joined #ruby
nibbo has joined #ruby
zomgbie has joined #ruby
kadoppe has joined #ruby
crankharder has joined #ruby
pl1ght has joined #ruby
ItSAN____ has joined #ruby
cajone has joined #ruby
j416 has joined #ruby
setient has joined #ruby
ByronJohnson has joined #ruby
nickjj has joined #ruby
dtordable has joined #ruby
sevin has joined #ruby
Zarthus has joined #ruby
unclouded has joined #ruby
cibs has joined #ruby
Aria has joined #ruby
eshy has joined #ruby
voxxit has joined #ruby
fulgore_ has joined #ruby
timmow has joined #ruby
nfsnobody has joined #ruby
closer has joined #ruby
isene has joined #ruby
suffice has joined #ruby
pabs has joined #ruby
sugardrunk has joined #ruby
skweek has joined #ruby
deavid has joined #ruby
atomical has joined #ruby
flori_ has joined #ruby
Luming has joined #ruby
IrishGringo has joined #ruby
Gnubie_ has joined #ruby
Morrolan has joined #ruby
sross_work|2 has joined #ruby
Urocyon has joined #ruby
Guest79906 has joined #ruby
passcod has joined #ruby
kobain has joined #ruby
genpaku_ has joined #ruby
beatboxchad has joined #ruby
brainslug has joined #ruby
Eising has joined #ruby
Sp4rKy has joined #ruby
NightMonkey has joined #ruby
\13k_ has joined #ruby
bewie has joined #ruby
lianj has joined #ruby
axl_ has joined #ruby
pwned_ has joined #ruby
ereslibre has joined #ruby
headius has joined #ruby
nofxx_ has joined #ruby
Kruppe has joined #ruby
imajes has joined #ruby
bmn has joined #ruby
eboaz has joined #ruby
jayne has joined #ruby
tuor has joined #ruby
izzol has joined #ruby
kstuart has joined #ruby
RTG` has joined #ruby
Mon_Ouie has joined #ruby
frog0909 has joined #ruby
braincrash has joined #ruby
AnoHito_ has joined #ruby
sunya7a has joined #ruby
sonne_ has joined #ruby
nlsun has joined #ruby
psy_ has joined #ruby
irk has joined #ruby
Coraline has joined #ruby
ghormoon has joined #ruby
csmb_ has joined #ruby
xsdg has joined #ruby
SebastianThorn has joined #ruby
gavit has joined #ruby
sekrit has joined #ruby
dkphenom has joined #ruby
wldcordeiro has joined #ruby
bakedb_ has joined #ruby
cgfbee has joined #ruby
Sigma00 has joined #ruby
euoia_ has joined #ruby
bhaak has joined #ruby
Kabaka has quit [Max SendQ exceeded]
braincrash has quit [Max SendQ exceeded]
oz has joined #ruby
pwnd_nsfw has joined #ruby
cgfbee has quit [Max SendQ exceeded]
Bugboy1028 has joined #ruby
dikaio has joined #ruby
Kabaka has joined #ruby
Axy is now known as Guest35240
braincrash has joined #ruby
L1nuX has joined #ruby
Qantourisc has joined #ruby
bafbomb has joined #ruby
<Ox0dea> EllisTAA: `Zlib.{de,in}flate` are for when you have standalone strings; you don't have those, you have files. Use the right interface.
VeryBewitching has joined #ruby
Affix has joined #ruby
CustosLimen has joined #ruby
tekk has joined #ruby
samuelkadolph has joined #ruby
varesa_ has joined #ruby
Affix is now known as Guest48452
thesheff17 has joined #ruby
joaomdmoura_ has joined #ruby
<EllisTAA> yeah so i was thinking i’d pass in the string like this https://github.com/ellismarte/neatfreak/blob/master/neatfreak.rb#L31
wlanboy has joined #ruby
<EllisTAA> that didn’t work
skullcrasher has joined #ruby
pawnbox has joined #ruby
cliffstah has joined #ruby
theRoUS has joined #ruby
tref has joined #ruby
<EllisTAA> bah dinner time
EllisTAA has quit [Quit: EllisTAA]
linduxed has joined #ruby
n1ftyn8_ has joined #ruby
TheMoonMaster has joined #ruby
bove has joined #ruby
lokulin has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
htmldrum has joined #ruby
iamvery has joined #ruby
braincrash has quit [Quit: bye bye]
majjoha has joined #ruby
eminencehc has joined #ruby
dlitvak has joined #ruby
evandrojr has joined #ruby
techietrash has joined #ruby
Rovanion_ has joined #ruby
AlexRussia has joined #ruby
kiez0rd has joined #ruby
mbeasley has joined #ruby
darkf has joined #ruby
maloik has joined #ruby
centrx has quit [Quit: If you meet the Buddha on the road, kill him.]
AndChat479316 has joined #ruby
freerobby has quit [Quit: Leaving.]
minimalism has joined #ruby
techietrash has quit [Client Quit]
cgfbee has joined #ruby
UtkarshRay has quit [Ping timeout: 240 seconds]
techietrash has joined #ruby
techietrash has quit [Changing host]
techietrash has joined #ruby
dlitvak has quit [Ping timeout: 255 seconds]
braincrash has joined #ruby
xxneolithicxx has joined #ruby
solenoids has joined #ruby
zfez_1 has joined #ruby
zfez_1 has left #ruby [#ruby]
scripore has quit [Quit: This computer has gone to sleep]
korolyov has quit [Ping timeout: 240 seconds]
maloik has quit [Ping timeout: 265 seconds]
tref has quit [Quit: tref]
cwong_on_irc has quit [Quit: Leaving.]
zfez_2 has joined #ruby
rjn2 has quit [Ping timeout: 260 seconds]
zfez_2 has left #ruby [#ruby]
bkxd has quit [Ping timeout: 240 seconds]
finisherr has left #ruby [#ruby]
zfez_ has left #ruby [#ruby]
aeontech has joined #ruby
zfez has joined #ruby
NeverDie has quit [Quit: http://radiux.io/]
zfez has left #ruby [#ruby]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alem0lars has joined #ruby
baweaver has joined #ruby
iateadonut has joined #ruby
tjbiddle has joined #ruby
baweaver has quit [Ping timeout: 272 seconds]
s2013 has joined #ruby
howdoicomputer has quit [Ping timeout: 260 seconds]
build22 has joined #ruby
Tempesta has joined #ruby
snapcase has joined #ruby
build22 has quit [Ping timeout: 240 seconds]
zfez_ has joined #ruby
bkxd has joined #ruby
zfez_ has quit [Quit: zfez_]
tref has joined #ruby
malconis has joined #ruby
ozzloy_ is now known as ozzloy
ozzloy has quit [Changing host]
ozzloy has joined #ruby
urbann has quit [Remote host closed the connection]
Guest38959 has quit [Quit: Leaving]
tref has quit [Ping timeout: 265 seconds]
kp666 has joined #ruby
Rodya_ has joined #ruby
gix has quit [Ping timeout: 265 seconds]
yoongkang has quit [Remote host closed the connection]
varunwachaspati_ has joined #ruby
gix has joined #ruby
gregf has joined #ruby
willardg has joined #ruby
stannard has joined #ruby
null__ has joined #ruby
null__ has joined #ruby
Outlastsheep has joined #ruby
cookiez has joined #ruby
asas has joined #ruby
stannard has quit [Ping timeout: 264 seconds]
davedev24 has quit []
JazzyVariable227 has joined #ruby
ta has joined #ruby
Outlastsheep has quit [Quit: ZNC - http://znc.in]
willardg has left #ruby ["Textual IRC Client: www.textualapp.com"]
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
ta has quit [Ping timeout: 260 seconds]
rakm has joined #ruby
asas has quit [Ping timeout: 252 seconds]
arescorpio has quit [Read error: Connection reset by peer]
arooni has quit [Ping timeout: 272 seconds]
tjbiddle has quit [Ping timeout: 255 seconds]
tmtwd has joined #ruby
tulak has joined #ruby
tjbiddle has joined #ruby
yfeldblum has joined #ruby
tjbiddle has quit [Ping timeout: 246 seconds]
IrishGringo has quit [Ping timeout: 255 seconds]
tulak has quit [Ping timeout: 250 seconds]
trosborn has joined #ruby
tjbiddle has joined #ruby
tjbiddle_ has joined #ruby
Guest35240 has quit [Read error: Connection reset by peer]
Outlastsheep has joined #ruby
tjbiddle has quit [Ping timeout: 265 seconds]
baweaver has joined #ruby
tjbiddle_ has quit [Ping timeout: 265 seconds]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Ping timeout: 272 seconds]
RobertBirnie has joined #ruby
build22 has joined #ruby
maikowblue has quit [Quit: .]
JazzyVariable227 has quit [Remote host closed the connection]
build22 has quit [Ping timeout: 240 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
trosborn has quit [Quit: trosborn]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trosborn has joined #ruby
eminencehc has quit [Remote host closed the connection]
NeverTired has quit [Quit: Connection closed for inactivity]
yoongkang has joined #ruby
kriskropd has joined #ruby
iateadonut has quit [Quit: Leaving.]
yoongkang has quit [Ping timeout: 252 seconds]
trosborn has quit [Quit: trosborn]
rakm has quit [Quit: Textual IRC Client: www.textualapp.com]
s2013 has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
zomgbie has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
postmodern has quit [Quit: Leaving]
mooe has quit [Quit: Connection closed for inactivity]
houhouli_ has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has joined #ruby
pawnbox has quit [Ping timeout: 255 seconds]
houhoulis has quit [Ping timeout: 272 seconds]
cajone is now known as cajone_afk
JazzyVariable227 has joined #ruby
ta has quit [Ping timeout: 260 seconds]
eminencehc has joined #ruby
ta has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RANG3R has joined #ruby
RANG3R has left #ruby [#ruby]
eminencehc has quit [Remote host closed the connection]
JazzyVariable227 has quit [Remote host closed the connection]
yoongkang has joined #ruby
baweaver has joined #ruby
jailbot has joined #ruby
Rodya_ has quit [Quit: Leaving...]
pawnbox has joined #ruby
baweaver has quit [Ping timeout: 272 seconds]
pepperbreath has joined #ruby
build22 has joined #ruby
timonv has joined #ruby
lessless has joined #ruby
antoniobeyah has joined #ruby
dionysus69 has joined #ruby
dionysus69 has quit [Client Quit]
yfeldblum has quit [Ping timeout: 246 seconds]
build22 has quit [Ping timeout: 264 seconds]
tenderlo_ has joined #ruby
tenderlove has quit [Ping timeout: 240 seconds]
devbug_ has joined #ruby
rippa has joined #ruby
howdoicomputer has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
baweaver has joined #ruby
dlitvak has joined #ruby
EllisTAA has joined #ruby
dionysus69 has joined #ruby
arup_r has joined #ruby
dlitvak has quit [Ping timeout: 260 seconds]
jailbot has quit [Remote host closed the connection]
Oog has quit []
EllisTAA has quit [Quit: EllisTAA]
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
dionysus69 has quit [Ping timeout: 265 seconds]
EllisTAA has joined #ruby
nertzy has joined #ruby
yardenbar has joined #ruby
mooe has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dealpete has quit [Ping timeout: 260 seconds]
tulak has joined #ruby
chihhsin_ has quit [Quit: leaving]
chihhsin has joined #ruby
neanderslob has joined #ruby
aeontech has quit [Ping timeout: 265 seconds]
Paradox has joined #ruby
tulak has quit [Ping timeout: 246 seconds]
scripore has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JazzyVariable227 has joined #ruby
howdoicomputer has quit [Ping timeout: 265 seconds]
A124 has joined #ruby
JazzyVariable227 has quit [Ping timeout: 265 seconds]
arup_r has quit []
scripore has quit [Quit: This computer has gone to sleep]
The_Phoenix has joined #ruby
build22 has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
benhuda has joined #ruby
nofxx_ has quit [Remote host closed the connection]
nofxx has joined #ruby
nofxx has quit [Remote host closed the connection]
build22 has quit [Ping timeout: 240 seconds]
johnny56 has joined #ruby
Ox0dea has quit [Quit: WeeChat 1.4-dev]
dlitvak has joined #ruby
afschw has quit [Quit: Lost terminal]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
houhouli_ has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 240 seconds]
jimbeaudoin has quit [Quit: Connection closed for inactivity]
diegoviola has joined #ruby
makenoise has joined #ruby
arup_r has joined #ruby
arup_r is now known as Guest77804
dravine has quit [Ping timeout: 240 seconds]
diegoviola has quit [Quit: WeeChat 1.3]
trosborn has joined #ruby
trosborn has quit [Client Quit]
VeryBewitching has quit [Quit: Konversation terminated!]
tubuliferous_ has joined #ruby
driftig has joined #ruby
nso95 has joined #ruby
gustav_ has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
zotherstupidguy has quit [Ping timeout: 265 seconds]
gustav_ has quit [Ping timeout: 272 seconds]
dionysus69 has joined #ruby
driftig has quit [Quit: Lost terminal]
myztic has quit [Quit: leaving]
driftig has joined #ruby
Pupp3tm4st3r has joined #ruby
myztic has joined #ruby
Mnemonic has joined #ruby
MyMind has quit [Quit: WeeChat 1.4-dev]
Mnemonic has quit [Client Quit]
trosborn has joined #ruby
RedDwarf is now known as Zackio
Pupp3tm4st3r has quit [Read error: Connection reset by peer]
Pupp3tm4st3r has joined #ruby
trosborn has quit [Client Quit]
Pupp3tm4st3r has quit [Remote host closed the connection]
User458764 has joined #ruby
SCHAAP137 has joined #ruby
Spami has joined #ruby
diegoviola has joined #ruby
tildes has joined #ruby
Jackneill has joined #ruby
build22_ has joined #ruby
Sam0163141155 has joined #ruby
nofxx has joined #ruby
Xeago has joined #ruby
build22_ has quit [Ping timeout: 240 seconds]
lokulin has quit [Changing host]
lokulin has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
xet7 has quit [Quit: Leaving]
bkxd has joined #ruby
<Sam0163141155> This is from ruby monk's section on inheritance. They're trying to establish how many instance methods float has that aren't inherited. I don't understand why they also subtract Object's instance methods. Aren't all of Object's methods inherited by Numeric? I see the same result in the REPL when I leave out the Object line. Is this a version thing, or am I missing something? http://codepad.org/v5ro1Lsn
nofxx has quit [Ping timeout: 255 seconds]
Spami has quit [Quit: This computer has gone to sleep]
moeabdol has joined #ruby
Pupp3tm4st3r has joined #ruby
makenoise has quit []
tildes has quit [Ping timeout: 255 seconds]
<apeiros> Sam0163141155: yeah, that's rather pointless
neanderslob has quit [Remote host closed the connection]
trosborn has joined #ruby
<apeiros> and I wonder what codepad is smoking that it says "undefined method `count' for #<Array:0xf7580564> (NoMethodError)"
<apeiros> afair that's been around for quite a while
<apeiros> (even though it's the wrong method if you don't use it with an arg - use length/size instead)
Guest77804 has quit [Ping timeout: 265 seconds]
myztic has quit [Quit: leaving]
<Sam0163141155> apeiros: tbh, I rarely look at what codepad spits out as output. I use it as a glorified clipboard. But I see what you're saying, count should take a condition as a filter of sorts? Anyway, the example had me scratching my head, as it's in a section on inheritance. Just wanted to be sure I hadn't missed something.
trosborn has quit [Client Quit]
Pupp3tm4st3r has quit [Remote host closed the connection]
<apeiros> Sam0163141155: yes, count takes either a block as predicate or a value to count
<Sam0163141155> apeiros: Thanks!
tildes has joined #ruby
<apeiros> Sam0163141155: btw., the correct way doesn't use -, because even Klass.instance_methods - Klass.superclass.instance_methods can leave some inherited methods (namely ones inherited through modules included directly into Klass)
<apeiros> the correct way would be Klass.instance_methods(false)
<Sam0163141155> apeiros: btw: http://codepad.org/oRyeL7lg
<Sam0163141155> hmm, interesting
<Sam0163141155> apeiros: I didn't realize it took an argument. Thanks. I should have read the documentation
tulak has joined #ruby
Ox0dea has joined #ruby
karapetyan has joined #ruby
myztic has joined #ruby
<pontiki> hi
<Ox0dea> Ahoy!
dionysus69 has quit [Ping timeout: 276 seconds]
<pontiki> lovely time of the morning
<pontiki> the quiet is amazing
diegoviola has quit [Quit: WeeChat 1.3]
<Ox0dea> The world is quiet here.
<driftig> Everyone is writing code, sleeping, or having sex.
yoongkang has quit [Remote host closed the connection]
<shevy> I am coding
<shevy> actually almost finished a rewrite!
<driftig> shevy: Livecoding.tv it!
<shevy> omg
<pontiki> i will probably be writing code or adding more stuff to the art blog
JazzyVariable227 has joined #ruby
<Ox0dea> I'd watch shevy code.
Sam0163141155 has quit [Remote host closed the connection]
<apeiros> Sam0163141155: use eval.in. no zombie ruby versions.
<apeiros> moin pontiki
<driftig> I'm mildly curious about the Ruby 3.x development.
cwong_on_irc has joined #ruby
cwong_on_irc has quit [Max SendQ exceeded]
cwong_on_irc has joined #ruby
<driftig> shevy: There you have it. www.livecoding.tv, we'd all love to see you write programs.
<pontiki> what will be breaking
<Ox0dea> Sasada-san (perhaps inadvertently) let slip that 2.4 is the next milestone.
<driftig> pontiki: Rails, hopefully.
<pontiki> without rails, ruby will drift off into even more obsurity
<driftig> pontiki: There's always metasploit. :)
<Ox0dea> pontiki: Ruby is obscure...?
<pontiki> sitting in the midst of it, it won't seem so, but from a larger view of industry, yes
JazzyVariable227 has quit [Ping timeout: 260 seconds]
skade has joined #ruby
<shevy> driftig hah nah I can't concentrate with distractions like that
lessless has quit [Ping timeout: 246 seconds]
build22_ has joined #ruby
tubuliferous_ has quit [Ping timeout: 240 seconds]
zenguy_pc has quit [Read error: Connection reset by peer]
joonty has joined #ruby
build22_ has quit [Ping timeout: 246 seconds]
joonty has quit [Client Quit]
nofxx has joined #ruby
nofxx has quit [Ping timeout: 255 seconds]
last_staff has joined #ruby
stannard has joined #ruby
tref has joined #ruby
stannard has quit [Ping timeout: 240 seconds]
k3asd` has joined #ruby
zenguy_pc has joined #ruby
tref has quit [Ping timeout: 246 seconds]
skcin7 has quit [Max SendQ exceeded]
skcin7 has joined #ruby
marr has joined #ruby
dionysus69 has joined #ruby
Guest77804 has joined #ruby
ziyadb has joined #ruby
ss_much has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nertzy has quit [Quit: This computer has gone to sleep]
User458764 has joined #ruby
tref has joined #ruby
karapetyan has quit []
akem2 has quit [Quit: Bye]
ohaibbq_ has quit [Quit: Leaving...]
<Ox0dea> That's a solid example of the kind of wackiness I'm talking about when I speak of "Japanese Ruby".
<Ox0dea> There are five "abnormalities" on that second line.
lkba_ has quit [Ping timeout: 240 seconds]
naftilos76 has joined #ruby
user has joined #ruby
user is now known as Guest32059
malcolmva has quit [Ping timeout: 272 seconds]
Guest32059 has quit [Client Quit]
yfeldblum has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tref has quit [Quit: tref]
benhuda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest77804 is now known as arup_r
<shevy> I don't like that it is indented to the rightwards
<Ox0dea> shevy: It was centered; I clipped it because reasons. Please pay attention to the code.
<shevy> but the formatting! and the BRIGHT PINK COLOURS!!!
yoongkang has joined #ruby
<shevy> I did not know that you can do p:hi
<Ox0dea> Matsuda-san likes angry fruit salads.
<shevy> >> p:hi
<ruboto> shevy # => :hi ...check link for more (https://eval.in/473814)
<shevy> >> p'hi'
<ruboto> shevy # => "hi" ...check link for more (https://eval.in/473815)
<shevy> that is actually cool
<shevy> if I ever write it in my own code
<shevy> someone please shoot me
stamina has joined #ruby
<Ox0dea> >> nil::TRUE
<ruboto> Ox0dea # => true (https://eval.in/473816)
<Ox0dea> omgwtf
avdi has quit [Ping timeout: 250 seconds]
<shevy> what is this
<shevy> aaah
<shevy> clever
<shevy> >> nil::FALSE
<ruboto> shevy # => false (https://eval.in/473817)
Xeago has quit [Remote host closed the connection]
<shevy> >> Object::TRUE
<ruboto> shevy # => true (https://eval.in/473818)
<shevy> oh well
moeabdol has quit [Quit: WeeChat 1.3]
avdi has joined #ruby
<Ox0dea> `nil::FOO == ::FOO` is the bug on display here.
JazzyVariable227 has joined #ruby
malcolmva has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
yoongkang has quit [Ping timeout: 246 seconds]
tref has joined #ruby
Jammyham has joined #ruby
ElSif has quit [Ping timeout: 250 seconds]
JazzyVariable227 has quit [Ping timeout: 240 seconds]
HammyJammy has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
gustav_ has joined #ruby
ponga has joined #ruby
build22_ has joined #ruby
aryaching has joined #ruby
slick has joined #ruby
nolic has joined #ruby
Oejet has joined #ruby
Oejet has left #ruby [#ruby]
build22_ has quit [Ping timeout: 276 seconds]
karapetyan has joined #ruby
dionysus69 has quit [Quit: dionysus69]
joonty has joined #ruby
duncannz has quit [Ping timeout: 240 seconds]
alimiracle has joined #ruby
<alimiracle> hi ruby users
<alimiracle> I nede remove digits from int value
aryaching has quit [Ping timeout: 272 seconds]
dionysus69 has joined #ruby
<Ox0dea> alimiracle: Please clarify.
<TTilus> alimiracle: could you give some background and an example
dikaio has quit [Quit: ........]
<alimiracle> 12345 I rm 3 =1245
<Ox0dea> alimiracle: You always want to remove the middle digit, then?
build22_ has joined #ruby
<alimiracle> its all
<TTilus> alimiracle: ok, now you _really_ need to give some background
<Ox0dea> We've already hit the language barrier. :<
<TTilus> alimiracle: what's the problem you are solving by removing middle digit?
nolic has quit [Ping timeout: 240 seconds]
radgeRayden_ has quit [Ping timeout: 265 seconds]
<apeiros> >> x = 12345; y = x.to_s; y[2,1] = ''; y.to_i
<ruboto> apeiros # => 1245 (https://eval.in/473824)
<apeiros> alimiracle: ^, if that's not what you need, clarify your question.
nolic has joined #ruby
<Ox0dea> >> n = 12345; n / 1000 * 100 + n % 100
<ruboto> Ox0dea # => 1245 (https://eval.in/473825)
<Ox0dea> Yay, math!
<TTilus> i've got that "alimiracle is doing it wrong" tingle in my wrists...
dlitvak has joined #ruby
<Ox0dea> It's probably for some kata-like?
joonty has quit [Quit: joonty]
<TTilus> dunno, my chrystall ball is hazy today
<apeiros> TTilus: same tingle. but I stopped bothering for many cases.
kies has joined #ruby
yoongkang has joined #ruby
<alimiracle> Can you explain how I do not want code
<Ox0dea> alimiracle: Wrong channel.
unshadow has joined #ruby
<alimiracle> ok thnx
dlitvak has quit [Ping timeout: 240 seconds]
<unshadow> When you create a new socket, non_blocking or blocking. ASAIK this is only efective to the Ruby socket and not the kernel\OS socket which behaves differently as dictated by the OS itself right ?
dionysus69 has quit [Quit: dionysus69]
<unshadow> *ASAIK = AFAIK
_derpy is now known as `derpy
tref has quit [Quit: tref]
aryaching has joined #ruby
alimiracle has quit [Remote host closed the connection]
trosborn has joined #ruby
trosborn has quit [Client Quit]
<yardenbar> Hi all, I'm trying to install ruby 2.2.3 on SL6.1(carbon), getting permission denied when the install process tried to create minitest directory: "/usr/local/rvm/src/ruby-2.2.3/lib/fileutils.rb:252:in `mkdir': Permission denied @ dir_s_mkdir - /usr/local/rvm/gems/ruby-2.0.0-p645/gems/minitest-5.4.3 (Errno::EACCES)", any ideas?
<Ox0dea> yardenbar: It seems RVM wants you to be root.
<yardenbar> Ox0dea, of course i understand that, but is it a regular thing that rvm installs ruby as root?
linc01n has quit [Quit: ZNC - http://znc.in]
<Ox0dea> yardenbar: I'm afraid I have no idea.
<Ox0dea> Are you committed to RVM?
<yardenbar> Ok, thank you :)
<yardenbar> Yep
<Ox0dea> Godspeed.
dlitvak has joined #ruby
episage has joined #ruby
AndChat|479316 has joined #ruby
akem has joined #ruby
G__ is now known as G
episage has quit [Remote host closed the connection]
nofxx has joined #ruby
dlitvak has quit [Ping timeout: 272 seconds]
tref has joined #ruby
AndChat479316 has quit [Ping timeout: 272 seconds]
symm- has joined #ruby
bhorn1 has joined #ruby
hays has joined #ruby
Helheim has joined #ruby
jatb has joined #ruby
sshuff|gone has joined #ruby
Helheim has quit [Max SendQ exceeded]
nofxx has quit [Ping timeout: 255 seconds]
benhuda has joined #ruby
Ox0dea has quit [Read error: No route to host]
pestle has joined #ruby
bodie_ has joined #ruby
scripore has joined #ruby
nso95__ has joined #ruby
myztic has quit [Quit: leaving]
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby
tref has quit [Quit: tref]
lipoqil has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
trosborn has joined #ruby
myztic has joined #ruby
ruid has joined #ruby
User458764 has joined #ruby
nso95__ has quit [Ping timeout: 252 seconds]
gustav_ has quit [Remote host closed the connection]
nso95__ has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
dlitvak has joined #ruby
tmtwd has quit [Ping timeout: 272 seconds]
ruid has quit [Ping timeout: 264 seconds]
tatertot has quit [Remote host closed the connection]
tater has joined #ruby
tater has quit [Remote host closed the connection]
tater has joined #ruby
tater has quit [Changing host]
tater has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
tater has quit [Remote host closed the connection]
trosborn has quit [Quit: trosborn]
tater has joined #ruby
tater has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 272 seconds]
cschneid has joined #ruby
tater has joined #ruby
GGMethos has quit [Ping timeout: 259 seconds]
tater has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 265 seconds]
tater has joined #ruby
linc01n has joined #ruby
linc01n has quit [Client Quit]
linc01n has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
naftilos76 has quit [Ping timeout: 265 seconds]
joonty has joined #ruby
troulouliou_dev has joined #ruby
symm- has quit [Ping timeout: 244 seconds]
joonty has quit [Client Quit]
nso95__ is now known as nso95-
nso95- has quit [Changing host]
nso95- has joined #ruby
dlitvak has joined #ruby
ruid has joined #ruby
CloCkWeRX has joined #ruby
AndChat|479316 has quit [Read error: Connection reset by peer]
pawnbox has quit []
AndChat479316 has joined #ruby
dlitvak has quit [Ping timeout: 260 seconds]
benhuda has quit [Read error: Connection reset by peer]
scripore has quit [Quit: This computer has gone to sleep]
zotherstupidguy has joined #ruby
zotherstupidguy has quit [Client Quit]
Ruby_Knight has joined #ruby
<Ruby_Knight> Hi
xaitec has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Ruby_Knight has quit [Client Quit]
build22_ has quit [Read error: Connection reset by peer]
gustav_ has joined #ruby
build22 has joined #ruby
GGMethos has joined #ruby
Ox0dea has joined #ruby
elaptics`away is now known as elaptics
troulouliou_dev has quit [Quit: Leaving]
Bellthoven has joined #ruby
xaitec has quit [Remote host closed the connection]
bMalum has joined #ruby
SenpaiSilver has joined #ruby
Guest48452 is now known as Affix
Affix has quit [Changing host]
Affix has joined #ruby
agit0 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
abra0 has quit [Quit: ZNC - 1.6.0 - http://znc.in]
abra0 has joined #ruby
AndChat479316 has quit [Read error: Connection reset by peer]
moeabdol has joined #ruby
AndChat479316 has joined #ruby
baweaver has quit [Remote host closed the connection]
rgrmatt has joined #ruby
ruid has quit [Ping timeout: 252 seconds]
devbug_ has quit [Read error: Connection reset by peer]
gremax has joined #ruby
xaitec has joined #ruby
hinbody has quit [Ping timeout: 265 seconds]
allcentury has joined #ruby
<lipoqil> On satturday I am going to Rome for almost two weeks. Is there some dev-interesting by that time in Rome or around?
madhatter has quit [Ping timeout: 260 seconds]
<lipoqil> * there something
maloik has joined #ruby
Trynemjoel has joined #ruby
madhatter has joined #ruby
tk__ has joined #ruby
kp666 has quit [Ping timeout: 240 seconds]
ss_much has quit [Quit: Connection closed for inactivity]
NeverDie has joined #ruby
jackcom has joined #ruby
<jackcom> i want to learn ruby.
<jackcom> but i don’t know what tutorial is good?
<driftig> jackcom: Why do you want to learn Ruby?
<jackcom> because i like red
<jackcom> jewry
tildes has quit [Ping timeout: 240 seconds]
<jackcom> heh
AlphaAtom has joined #ruby
<jackcom> jewelry
<jackcom> driftig:
<driftig> jackcom: Do you have an intelligent reason for wanting to pursue something that has taken hundreds of thousands of people years of dedicated work to create?
<driftig> jackcom: Because, there are various documents that are geared at varying audiences. Ultimately, you want something elementary, but which leads towards a focus in your general area of interest.
<jackcom> what tutorial is good?
<driftig> jackcom: The Well Grounded Ruby is generic enough a document to get your feet wet. After that, you really do have to decide on how you pursue your understanding.
<jackcom> yes
<jackcom> give me tutorial
beast has joined #ruby
htmldrum has quit [Ping timeout: 240 seconds]
<jackcom> driftig:
<jackcom> ?
<driftig> See above.
<jackcom> what?
<jackcom> what tutorial is good? i don’t know
Mia has joined #ruby
Mia has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
nso95- has quit [Remote host closed the connection]
toretore has joined #ruby
dorei has joined #ruby
gremax is now known as off
Averna has joined #ruby
lubarch has joined #ruby
<driftig> Groan.
atomical has joined #ruby
sdothum has joined #ruby
monod has joined #ruby
diegoviola has quit [Quit: WeeChat 1.3]
<jackcom> No one is here except driftig
solocshaw has joined #ruby
wildlander has joined #ruby
atomical has quit [Client Quit]
Averna has quit [Quit: Ex-Chat]
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
agit0 has joined #ruby
Xeago has quit [Remote host closed the connection]
radgeRayden has joined #ruby
millerti has joined #ruby
rgrmatt has quit [Remote host closed the connection]
Erik_Underline has joined #ruby
freerobby has joined #ruby
tildes has joined #ruby
<Erik_Underline> Hello
mooe has quit [Quit: Connection closed for inactivity]
<adaedra> Hi
nofxx has joined #ruby
JazzyVariable227 has joined #ruby
gigetoo has quit [Ping timeout: 260 seconds]
Averna has joined #ruby
gustav_ has quit [Remote host closed the connection]
<jackcom> what is good tutorial?
karapetyan has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 255 seconds]
xaitec has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
<Erik_Underline> I know this is per se a Ruby-unrelated question, but I really really need help with this and I can't find any solution that works for me on other forums, so I'll try my luck here. I recently got Ubuntu Linux distro and installed it on a SSD, and everything went fine. However, I'm having two big problems; first the headphone jack doesn't work, like it does while I run Windows on my older HDD. It is registered by the computer, as
<Erik_Underline> refuses to play any sound
<Erik_Underline> My headphones are perfectly functional on other devices
<Papierkorb> Erik_Underline: #ubuntu
rgrmatt has joined #ruby
IcyDragon is now known as IceDragon
kirun has joined #ruby
<Erik_Underline> Oh, didn't know they existed, okay, I won't disturb you ;)
pestle has quit [Remote host closed the connection]
<jackcom> who can introduce me good tutorial?
Averna has quit [Ping timeout: 276 seconds]
dionysus69 has joined #ruby
rgrmatt has quit [Remote host closed the connection]
pestle has joined #ruby
kies has quit [Ping timeout: 240 seconds]
rgrmatt has joined #ruby
rgrmatt has quit [Remote host closed the connection]
dkphenom has joined #ruby
baweaver has joined #ruby
bMalum has quit [Read error: No route to host]
bMalum has joined #ruby
JazzyVariable227 has quit [Remote host closed the connection]
rgrmatt has joined #ruby
rgrmatt has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 272 seconds]
CloCkWeRX has quit [Ping timeout: 255 seconds]
bMalum has quit [Ping timeout: 264 seconds]
Pupp3tm4st3r has joined #ruby
leat has quit [Remote host closed the connection]
gustav_ has joined #ruby
leat has joined #ruby
<Erik_Underline> Jackcom, there's a great tutorial for beginners on Codecademy
<Erik_Underline> After that you can learn more with RubyMonk, which is a harder experience, but much more educational.
<jackcom> rubymonk?
<Ox0dea> jackcom: Just jumping in to save you from Codecademy: https://pine.fm/LearnToProgram/
<jackcom> https://pine.fm/LearnToProgram/ vs ruby monkey, which is better?
atomical has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
<Ox0dea> PSA: It's a troll. :<
monod has quit [Quit: Sto andando via]
IrishGringo has joined #ruby
Erik_Underline has quit [Ping timeout: 246 seconds]
gustav_ has quit [Remote host closed the connection]
<adaedra> It was put on starvation.
CodingWolf has joined #ruby
Xiti has quit [Quit: Xiti]
Xiti has joined #ruby
User458764 has joined #ruby
Trynemjoel has joined #ruby
lubarch has quit [Quit: leaving]
<Ox0dea> > Dulce et decorum est pro stultitia mori.
agit0 has quit [Ping timeout: 240 seconds]
scripore has joined #ruby
CloCkWeRX has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
synthroid has joined #ruby
sondr3 has joined #ruby
cajone_afk is now known as cajone
<jackcom> ruby method don’t add ‘()’?
nolic has quit [Quit: leaving]
s2013 has joined #ruby
_blizzy_ has joined #ruby
<unshadow> (Asking again) When you create a new socket, non_blocking or blocking. AFAIK this is only efective to the Ruby socket and not the kernel\OS socket which behaves differently as dictated by the OS itself right ?
blackjid has quit [Max SendQ exceeded]
blackmesa has quit [Ping timeout: 250 seconds]
blackjid has joined #ruby
Trynemjoel has joined #ruby
<unshadow> I got this info from "flush" and IO.write: "Flushes any buffered data within ios to the underlying operating system (note that this is Ruby internal buffering only; the OS may buffer the data as well)."
solocshaw1 has joined #ruby
IrishGringo has quit [Ping timeout: 272 seconds]
solocshaw has quit [Remote host closed the connection]
solocshaw1 is now known as solocshaw
<unshadow> So my question is, is there a way to tell the OS (Linux) that I want the underlying socket to also be blocking\non-blocking ?
RobertBirnie has joined #ruby
Cokie990 has joined #ruby
doddok has joined #ruby
tref has joined #ruby
dlitvak has joined #ruby
Pumukel has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
Cokie990 has left #ruby [#ruby]
Pupp3tm4st3r has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 260 seconds]
khwilo has joined #ruby
nertzy has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
Trynemjoel has quit [Ping timeout: 264 seconds]
kp666 has joined #ruby
kp666 has quit [Max SendQ exceeded]
ibouvousaime has joined #ruby
johnzorn has joined #ruby
zotherstupidguy has joined #ruby
UtkarshRay has joined #ruby
NeverDie has quit [Quit: http://radiux.io/]
tref has quit [Quit: tref]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
gustav_ has joined #ruby
cdg has joined #ruby
freerobby has quit [Client Quit]
johnzorn has quit [Read error: Connection reset by peer]
skade has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Trynemjoel has joined #ruby
blackmesa has joined #ruby
maloik has quit [Ping timeout: 272 seconds]
houhoulis has joined #ruby
ibouvousaime has quit [Ping timeout: 272 seconds]
A124 has quit [Ping timeout: 240 seconds]
Trynemjoel has quit [Ping timeout: 250 seconds]
ibouvousaime has joined #ruby
gigetoo has joined #ruby
loechel has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
nertzy has quit [Quit: This computer has gone to sleep]
karapetyan has joined #ruby
karapetyan has quit [Ping timeout: 246 seconds]
Mnemonic has joined #ruby
TomPeed has joined #ruby
futilegames has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
futilegames has left #ruby [#ruby]
khwilo has left #ruby ["Leaving"]
tref has joined #ruby
nofxx has joined #ruby
futilegames has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stamina has quit [Quit: WeeChat 1.3]
IrishGringo has joined #ruby
<yardenbar> Hi all, I'm tying to run ruby app with non-default ruby using 'rvm ruby-2.2.3 do RUBY_SCRIPT.rb' and I get '/usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- bundler/setup (LoadError)', I've installed the bundler gem (shown by bundle show bundler), any idea?
nofxx has quit [Ping timeout: 255 seconds]
bluOxigen has joined #ruby
<havenwood> yardenbar: Are you a non-root user? What do you get for `which bundler` and `gem which bundler`?
moeabdol has quit [Quit: WeeChat 1.3]
tulak has quit [Remote host closed the connection]
k3asd` has quit [Ping timeout: 260 seconds]
<yardenbar> "gem which bundler" -> /usr/local/rvm/gems/ruby-2.2.3/gems/bundler-1.10.6/lib/bundler.rb
dionysus69 has joined #ruby
<yardenbar> "which bundler" -> /usr/local/rvm/gems/ruby-2.2.3/bin/bundler
<yardenbar> Yes, non-root user
greister has joined #ruby
cdg has quit [Remote host closed the connection]
_stu_ has joined #ruby
<havenwood> yardenbar: And you're running the command yourself? Not cron or init or anything?
Xeago has quit [Remote host closed the connection]
<dreinull75> tomorrow someone will probably tell me that I can't run a crucial app on a linux server any more. I'm in windows hell. Right now there's a laptop plugged into our network but I guess it has to leave. What are the solutions for running a really small sinatra app on windows? It runs fine on JRuby. However, I somehow need to frequently update my git repo.
skade has quit [Quit: Computer has gone to sleep.]
<yardenbar> Generally I use circus to manage processes on this server
<yardenbar> the process in question runs perfectly on ruby 2.0.0-p645
<yardenbar> which is the rvm-default
<yardenbar> I've installed ruby-2.2.3 (also using rvm) and execute bundle install and the process does not run
<havenwood> yardenbar: Does Bundler work with 2.2.3 if you just run it yourself manually?
zacts has joined #ruby
karapetyan has joined #ruby
<havenwood> yardenbar: I'm wondering if you don't need to create a wrapper for 2.2.3 since it seems your env is getting dropped.
<yardenbar> I understand, let me try this
<yardenbar> Thanks :)
<havenwood> yardenbar: RVM ships with the gem-wrappers gem: https://github.com/rvm/gem-wrappers#readme
<havenwood> Some examples in God, Cron, or init.d pages on RVM's site.
scripore has quit [Quit: This computer has gone to sleep]
tk__ has quit [Quit: ばいばい]
blackmesa has joined #ruby
diegoaguilar has joined #ruby
moeabdol has joined #ruby
chipotle has joined #ruby
<havenwood> dreinull75: JRuby seems like a nice option. Or MRI does install on Win.
inukshuk has quit [Quit: leaving]
davedev24 has joined #ruby
scripore has joined #ruby
chipotle has quit [Max SendQ exceeded]
chipotle has joined #ruby
karapetyan has quit [Remote host closed the connection]
<dreinull75> havenwood does jruby hava some kind of ecosystem that will help me?
naftilos76 has joined #ruby
jackcom has quit [Quit: jackcom]
<dreinull75> I think I could do a per user install but then would like to be able to remotely tell clients to update. ie run the server on the client.
<havenwood> dreinull75: Ah, so you want to ship Ruby to users?
<havenwood> dreinull75: I think I'm confused.
<dreinull75> havenwood can't say. I want a simple solution
<havenwood> dreinull75: Say more about what you're doing?
baweaver has joined #ruby
<dreinull75> I hava a sinatra app that talks to a db through sequel and outputs some html/pdf. I don't hava problem running this script on a client machine.
<dreinull75> right now it's on that linux machine, users going there via local ip.
m8 has joined #ruby
cornerma1 has joined #ruby
zotherstupidguy has quit [Quit: WeeChat 1.3]
zotherstupidguy has joined #ruby
antoniobeyah has joined #ruby
baweaver has quit [Ping timeout: 272 seconds]
PlasmaStar has quit [Ping timeout: 252 seconds]
JazzyVariable227 has joined #ruby
cornerman has quit [Ping timeout: 272 seconds]
cornerma1 is now known as cornerman
PlasmaStar has joined #ruby
antoniobeyah has quit [Ping timeout: 244 seconds]
Mnemonic has quit [Quit: Leaving]
_stu_ has quit [Quit: _stu_]
shinenelson has quit [Quit: Connection closed for inactivity]
inukshuk has joined #ruby
Nahra has joined #ruby
htmldrum has joined #ruby
VladGh has quit [Remote host closed the connection]
<havenwood> dreinull75: So you're thinking of making self-contained versions of the app that you can put on more boxes? Want a copy locally wherever it's run?
codecop has joined #ruby
<dreinull75> havenwood sounds good to me.
VladGh has joined #ruby
JazzyVariable227 has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
htmldrum has quit [Ping timeout: 250 seconds]
maloik has joined #ruby
<havenwood> dreinull75: Traveling Ruby might be worth checking out: https://phusion.github.io/traveling-ruby/
bluOxigen has quit [Ping timeout: 264 seconds]
<dreinull75> havenwood nice, thank you!
vnk has joined #ruby
<vnk> def sum arr
<vnk> # YOUR CODE HERE
<vnk> end
tildes has quit [Ping timeout: 260 seconds]
<vnk> sum is name of method, but what is that arr?
<adaedra> a parameter
<adaedra> that's the same as sum(arr); parenthesis can be omitted.
<havenwood> vnk: Or you could call it an arrrgument.
<dreinull75> adaedra but not recommended. I find it particularly hard to read
<adaedra> depends on the person.
<dreinull75> *in many cases*
<dreinull75> :)
<adaedra> I say 'can', not 'must' ;)
<havenwood> Seattle style! ;)
<adaedra> (I would write it with parenthesis myself)
iateadonut has joined #ruby
<adaedra> also, badum tss for havenwood.
dealpete has joined #ruby
maloik has quit [Ping timeout: 252 seconds]
<vnk> I've made array called niz = [1,2,3] then I tried to call method by this niz.sum
<vnk> here is method
<vnk> def sum arr
<vnk> arr.each {|x| ukupno += x puts x}
<vnk> end
<vnk> why it doesnt work?
atmosx has joined #ruby
<havenwood> >> class Array; def sum; 42 end end; [].sum
<ruboto> havenwood # => 42 (https://eval.in/473897)
blackmesa has quit [Ping timeout: 246 seconds]
allcentury has quit [Ping timeout: 240 seconds]
<havenwood> vnk: You can define an Array#sum or even a Kernel#sum but if you define a toplevel #sum it'll not be callable from other Objects.
<vnk> havenwood: wait, how I can call that method then that I made?
<havenwood> vnk: sum([1, 2, 3])
User458764 has joined #ruby
<havenwood> >> class Array; def map_double; self.map { |n| n * 2 } end end; [1, 3].map_double
<ruboto> havenwood # => [2, 6] (https://eval.in/473898)
<havenwood> vnk: One should be cautious though re-opening core Classes like that ^ since your global changes can get confusing quickly. :)
<vnk> havenwood: NoMethodError: undefined method `x' for main:Object
<havenwood> vnk: I have to relocate right now but there are plenty other to help! :) Happy coding!
allcentury has joined #ruby
zotherstupidguy has quit [Ping timeout: 246 seconds]
maloik has joined #ruby
Mon_Ouie has quit [Ping timeout: 255 seconds]
s2013 has joined #ruby
tubuliferous_ has joined #ruby
symm- has joined #ruby
govg has joined #ruby
antoniobeyah has joined #ruby
maloik has quit [Ping timeout: 244 seconds]
antoniobeyah has quit [Client Quit]
tref has quit [Quit: tref]
akem has quit [Read error: No route to host]
akem has joined #ruby
haxrbyte has joined #ruby
howdoicomputer has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
gypsydave5 has joined #ruby
moeabdol has quit [Quit: WeeChat 1.3]
platzhirsch has joined #ruby
kobain has joined #ruby
govg has quit [Ping timeout: 250 seconds]
psy_ has quit [Ping timeout: 255 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
johnzorn has joined #ruby
akem has quit [Read error: Connection reset by peer]
akem has joined #ruby
Xeago has joined #ruby
kies has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
Rickmasta has joined #ruby
zotherstupidguy has joined #ruby
BTRE has quit [Quit: Leaving]
jhn has joined #ruby
baweaver has joined #ruby
aryaching has joined #ruby
symm- has quit [Quit: Leaving...]
BTRE has joined #ruby
wnd has quit [Excess Flood]
wnd has joined #ruby
Xeago has quit [Remote host closed the connection]
xaitec has joined #ruby
kallisti5 has joined #ruby
gustav_ has quit [Remote host closed the connection]
<kallisti5> question.. wouldn't it make more sense to have gem install as --user-install by default?
<kallisti5> it's always strange that gem install as a non-root user tries to install to system paths :-\
gix has quit [Quit: Client exiting]
woodruff- is now known as woodruffw
baweaver has quit [Ping timeout: 272 seconds]
gix has joined #ruby
<apeiros> kallisti5: most ruby version managers do that (not sure how exactly)
<apeiros> e.g. with rvm, gems by default are not installed systemwide.
cwong_on_irc has quit [Quit: Leaving.]
<adaedra> version managers changes (by env, i think) the default path of gem installation.
<kallisti5> hm. On Haiku our ruby install is always read-only
<kallisti5> (system paths are read only)
<kallisti5> thinking of making --user-install default in our patches
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<kallisti5> it makes sense... then system packages get read, but user gem installs over-ride system
<adaedra> For the system-provided, the choice is actually the distribution's, which can provide a gemrc with default to user-install (iirc Arch does it)
<kallisti5> ooh.. didn't know about gemrc
* kallisti5 was looking at a patch to def install_update_defaults_str
<kallisti5> in rubygems
<kallisti5> (adding --user-install to default install flags :-) )
<adaedra> Under Haiku, everything is root:root, no?
<kallisti5> in Haiku, anything system (think /usr) is read only
<kallisti5> packages are mounted over each other and layered
<adaedra> this ok
<adaedra> but last time I ran an Haiku, there was only root
<kallisti5> yeah, there is a single user atm
<adaedra> ah, atm
<kallisti5> but yeah... even root can't modify /usr
<adaedra> there could be a place in the fs for this
<kallisti5> we use our own package filesystem. install a "system" os package, and it gets mounted at /boot/system
<kallisti5> nothing in our system paths are read-write.. so installing gems fails :-)
<kallisti5> however... default user-install fixes that
<adaedra> there could be
<kallisti5> then packaged gems installed work... and non-packaged gems installed to user work
<adaedra> this is a problem you'll have with other systems, like npm
symm- has joined #ruby
<kallisti5> yeah. Luckily the ruby solution is pretty easy
<kallisti5> anyway, always wondered why user-install wasn't default
<kallisti5> seems to make more sense overall
gustav_ has joined #ruby
marahin has joined #ruby
<marahin> Hello. I am pretty sure it would be possible, but HOW do I override String class, so whenever I do something like "puts 'abcd'", it would result in printing "(abcd)"?
IrishGringo has quit [Ping timeout: 276 seconds]
<marahin> (so a function that appends '(' to the beginning of the string, and ')' to the end of the string)
maloik has joined #ruby
karapetyan has joined #ruby
futilegames has quit [Quit: futilegames]
gustav_ has quit [Remote host closed the connection]
<adaedra> Why would you want that
s2013 has joined #ruby
jhn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maloik has quit [Ping timeout: 272 seconds]
karapetyan has quit [Ping timeout: 272 seconds]
jhn has joined #ruby
jhn has quit [Client Quit]
kies has quit [Ping timeout: 240 seconds]
sankaber has joined #ruby
gix has quit [Quit: Client exiting]
yardenbar has quit [Ping timeout: 260 seconds]
zenguy_pc has quit [Read error: Connection reset by peer]
Drakevr has quit [Changing host]
Drakevr has joined #ruby
xaitec has quit [Read error: Connection reset by peer]
xaitec has joined #ruby
moeabdol has joined #ruby
Oli has joined #ruby
sankaber has quit [Remote host closed the connection]
<marahin> adaedra, just out of curiosity, I am wondering if it's even possible and if it is, how to access that kind of stuff
yardenbar has joined #ruby
Oli is now known as Guest44916
sankaber has joined #ruby
<vnk> can anyone explain me what is raise used for?
<adaedra> To raise exceptions. You may find more complete documentation in most ruby guides.
BSaboia has joined #ruby
<vnk> ja: Thanks! :)
beauby has joined #ruby
<ja> vnk: no problem ^_^
<vnk> ja: this is completly irrelevenat, but where are from you?
<ja> vnk: Denmark here. How about you?
<vnk> ja: Serbia, 'ja' is word in Serbian language so I thought you are maybe from there.
xaitec has quit [Ping timeout: 250 seconds]
<adaedra> 'ja' is a word in a lot of languages, tbf.
<ja> vnk: Aah, haha. What does it mean in Serbian? It means “yes” in Danish.
<ja> yeah, adaedra
<vnk> ja: in Serbian in means 'I' or 'me'. :)
<ja> You wouldn't believe how many incorrectly-addressed private messages I get
<ja> vnk: Ah. Same as in Polish, I think.
poguez_ has joined #ruby
gix has joined #ruby
<vnk> ja: yup, same like in polish
NeverDie has joined #ruby
NeverDie has quit [Max SendQ exceeded]
pandaant has quit [Remote host closed the connection]
NeverDie has joined #ruby
yardenbar has quit [Ping timeout: 252 seconds]
dionysus69 has quit [Quit: dionysus69]
zenguy_pc has joined #ruby
zacts has quit [Ping timeout: 240 seconds]
tenderlove has joined #ruby
m3_del has joined #ruby
tenderlo_ has quit [Ping timeout: 264 seconds]
xaitec has joined #ruby
maloik has joined #ruby
karapetyan has joined #ruby
allcentury has quit [Ping timeout: 272 seconds]
fedexo has joined #ruby
baweaver has joined #ruby
dionysus69 has joined #ruby
baweaver has quit [Ping timeout: 272 seconds]
<shevy> ja is also german meaning yes
chipotle has quit [Quit: cheerio]
norc has joined #ruby
norc is now known as Guest38498
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
greenbigfrog has quit [Quit: The server of my BNC just shutdown or got killed!!!]
NeverDie has quit [Quit: http://radiux.io/]
Guest38498 has left #ruby [#ruby]
norc has joined #ruby
RobertBirnie has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
atomical has quit [Read error: Connection reset by peer]
genpaku has joined #ruby
maloik has quit [Ping timeout: 260 seconds]
_blizzy_ has quit [Quit: Leaving]
genpaku_ has quit [Remote host closed the connection]
sdothum has joined #ruby
atomical has joined #ruby
rgtk_ has joined #ruby
RobertBirnie has joined #ruby
maloik has joined #ruby
shinnya has quit [Ping timeout: 260 seconds]
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
blackmesa has joined #ruby
<kallisti5> if someone gets a moment:
khebbie has joined #ruby
freerobby has joined #ruby
<kallisti5> fixes all ruby crashes under Haiku :-D
quaquaraqua has joined #ruby
chipotle has joined #ruby
bnizzle has joined #ruby
sondr3 has quit [Quit: Sleep]
m3_del has quit [Ping timeout: 276 seconds]
<norc> Meh, anyone here have any experience with MWS feeds by any chance
<norc> Amazon
teoric has joined #ruby
* norc is wondering whether updates to ProductImage feeds can take multiple days to finally show
rgtk_ has quit [Remote host closed the connection]
_stu_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
allcentury has joined #ruby
finisherr has joined #ruby
hinbody has joined #ruby
akem has quit [Quit: Bye]
khebbie has left #ruby ["bye"]
genpaku has quit [Remote host closed the connection]
<shevy> kallisti5 did you send it to ruby core yet?
sondr3 has joined #ruby
kies has joined #ruby
vnk has quit [Read error: Connection reset by peer]
genpaku has joined #ruby
tmtwd has joined #ruby
genpaku has quit [Read error: Connection reset by peer]
genpaku has joined #ruby
leat has quit [Remote host closed the connection]
diegoaguilar has quit [Ping timeout: 272 seconds]
bluOxigen has joined #ruby
tildes has joined #ruby
ismaelga has joined #ruby
nertzy has joined #ruby
<norc> kallisti5: Create a feedback ticket on the redmine bug tracker. That is the best way to get non-trivial pull requests into trunk.
<norc> If there are reported bugs, associate them with your ticket.
timonv has quit [Ping timeout: 250 seconds]
ItSAN____ has quit [Quit: Leaving...]
gustav_ has joined #ruby
unshadow has quit [Remote host closed the connection]
pwnd_nsfw has quit [Quit: Leaving]
lipoqil has quit [Quit: Connection closed for inactivity]
DLSteve has joined #ruby
<shevy> norc has more experience creating tickets than writing ruby code :)))
rippa has joined #ruby
nfk has joined #ruby
greenbigfrog has joined #ruby
BLuEGoD has quit [Quit: oh cruel destiny]
purplexed- has joined #ruby
BLuEGoD has joined #ruby
atmosx has quit [Quit: parting / quiting]
dstarh has joined #ruby
baweaver has joined #ruby
Jammyham has quit [Ping timeout: 272 seconds]
baweaver has quit [Remote host closed the connection]
dstarh has quit [Client Quit]
kies has quit [Ping timeout: 260 seconds]
baweaver has joined #ruby
towski_ has joined #ruby
Guest96462 has joined #ruby
finisherr has quit [Quit: finisherr]
ponga has quit [Quit: Connection closed for inactivity]
pwnd_nsfw has joined #ruby
<platzhirsch> What's the equivalent for Time.at to parse the seconds into UTC?
<platzhirsch> Time.at(s).utc alters time
bMalum has joined #ruby
<jhass> platzhirsch: Time.at interprets it since epoch and then converts it into local time
<jhass> it does not interpret it as local time
<platzhirsch> so, .utc should be correct..
<jhass> yeah
<platzhirsch> okay, thanks I will have another look
<platzhirsch> timezones always make me dizzy
platzhirsch has quit [Remote host closed the connection]
JammyHammy has joined #ruby
bMalum_ has joined #ruby
<shevy> he surely was drunk
ur5us has joined #ruby
freerobby has quit [Quit: Leaving.]
bMalum has quit [Ping timeout: 265 seconds]
bMalum_ is now known as bMalum
Spami has joined #ruby
<blubjr> is there a way to look at older return values than the last in the repl
sondr3 has quit [Quit: Sleep]
graffix__ has joined #ruby
finisherr has joined #ruby
graffix_ has quit [Ping timeout: 265 seconds]
AndChat479316 has quit [Ping timeout: 265 seconds]
axsuul has joined #ruby
aryaching has quit []
ismaelga has quit [Remote host closed the connection]
ismaelga has joined #ruby
<djellemah> blubjr: assign variables? Otherwise not as far as I know.
nertzy has quit [Quit: This computer has gone to sleep]
Xeago has joined #ruby
beast has quit [Quit: Leaving]
tmtwd has quit [Ping timeout: 272 seconds]
<blubjr> hm hm
<blubjr> ok
yqt has joined #ruby
araujo has quit [Quit: Leaving]
finisherr has quit [Client Quit]
<djellemah> blubjr: if you're using pry, _out_ might do what you want. TIL.
<blubjr> whats til
<djellemah> Thing I Learned
<blubjr> oh
<blubjr> oh thats perfect
<blubjr> thank you
vnk has joined #ruby
Mon_Ouie has joined #ruby
<vnk> What is difference betwen variable.gsub("l", "w") and variable.gsub(/l/, "w"
<jhass> vnk: in that particular instance there's none
<jhass> vnk: alternative: variable.tr("l", "w")
<djellemah> vnk: // delimits a regex
<vnk> djellemah: delimits in which way?
nofxx has quit [Remote host closed the connection]
futilegames has joined #ruby
<djellemah> >> /which way/ =~ "delimits in which way?" #vnk
<ruboto> djellemah # => 12 (https://eval.in/473916)
<djellemah> Which is a trivially useless use of a regex.
stannard has joined #ruby
finisherr has joined #ruby
hotpancakes has joined #ruby
finisherr has quit [Client Quit]
Xeago has quit [Remote host closed the connection]
<vnk> djellemah: I am currently trying to understund what regex is, watching some tutorials.. seem like its module with collection of various methods that help us play with strings?
freerobby has joined #ruby
sepp2k has joined #ruby
skcin7 has joined #ruby
<jhass> vnk: it's a domain specific language specialized to matching and extracting patterns from strings
yardenbar has joined #ruby
<adaedra> regex is a developer's heaven and a beginner's hell. :p
jordanm has quit [Quit: Konversation terminated!]
<djellemah> vnk: regex in general is a Regular Expression, which is for doing pattern matching on strings. Regexp is the class that implements regular expressions in ruby. http://ruby-doc.org/core-2.1.1/Regexp.html
<vnk> adaedra: haha :)
<vnk> djellemah: tnx will take a look.. also tnx for trying to explain me jhass but I just think I need to get deeper into it to truly understund it.
dealpete has quit [Read error: Connection reset by peer]
stannard has quit [Ping timeout: 252 seconds]
tref has joined #ruby
freerobby has quit [Quit: Leaving.]
Xeago has joined #ruby
gix has quit [Quit: Client exiting]
nertzy has joined #ruby
BSaboia has quit [Ping timeout: 265 seconds]
Xeago has quit [Remote host closed the connection]
Bellthoven has quit [Ping timeout: 260 seconds]
<kallisti5> norc: thanks :-) Last time it took quite some time... likely because I didn't mention it on redmine?
ziyadb has quit [Quit: Connection closed for inactivity]
<kallisti5> norc: as a plus, with that pull request Ruby can add one-more "stable" platform with minimal work :-)
sepp2k has quit [Quit: Leaving.]
darkf has quit [Quit: Leaving]
saddad has joined #ruby
Channel6 has joined #ruby
sepp2k has joined #ruby
cajone is now known as cajone_afk
CamonZ has joined #ruby
gix has joined #ruby
hotpancakes has quit [Remote host closed the connection]
platzhirsch has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
sepp2k has quit [Ping timeout: 252 seconds]
ElSif has joined #ruby
asas has joined #ruby
ohcibi has quit [Remote host closed the connection]
ohcibi has joined #ruby
aspiers has quit [Ping timeout: 240 seconds]
ereslibre has quit [Ping timeout: 255 seconds]
Pupp3tm4st3r has joined #ruby
ereslibre has joined #ruby
Pupp3tm4st3r has quit [Remote host closed the connection]
moss has quit [Quit: brb]
nofxx has joined #ruby
VeryBewitching has joined #ruby
towski_ has quit [Remote host closed the connection]
<VeryBewitching> G'day folks.
ibouvousaime has quit [Ping timeout: 240 seconds]
<blubjr> hi very bewitching
sepp2k has joined #ruby
karapetyan has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ibouvousaime has joined #ruby
ascarter_ has quit [Quit: Textual IRC Client: www.textualapp.com]
DoubleMalt has quit [Remote host closed the connection]
zenguy_pc has joined #ruby
vnk has quit [Read error: Connection reset by peer]
vnk has joined #ruby
bMalum has quit [Quit: bMalum]
<vnk> this drives me crazy, anyone know why it doesnt work http://www.dodaj.rs/f/2Z/OL/38xcRrcb/screenshot-from-2015-11-.png
<vnk> and what * means in second row?!
houhouli_ has joined #ruby
Bellthoven has joined #ruby
Trynemjoel has joined #ruby
iateadonut has quit [Quit: Leaving.]
<jhass> vnk: the * means that the expression from the first line isn't finished yet
karapetyan has quit [Ping timeout: 240 seconds]
<jhass> vnk: and that's because you closed with a > instead of a ), so the ( is still open
houhoul__ has joined #ruby
<vnk> jhass: it should look like this puts "Telephone number cannot contain characters" if "3582fq".match(/[a-z]/), right?
millerti has joined #ruby
houhoulis has quit [Ping timeout: 240 seconds]
<jhass> ?try
<ruboto> Why don't you try it and see for yourself?
<havenwood> vnk: Are you familiar with irb or pry?
<vnk> havenwood: I am using irb currently :)
_blizzy_ has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bMalum has joined #ruby
<vnk> havenwood: problem is I open terminal, run irb and paste this code "puts "Telephone number cannot contain characters" if "3582fq".match(/[a-z]/)" nothing happens.. its finished this time, no * anymore but nothing happens.. and obviously it should write "Telephone number cannot...."
<havenwood> >> puts "Telephone number cannot contain characters" if "3582fq".match(/[a-z]/)
<ruboto> havenwood # => Telephone number cannot contain characters ...check link for more (https://eval.in/473925)
hotpancakes has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
houhouli_ has quit [Ping timeout: 246 seconds]
<jhass> vnk: still the * visible? hit ctrl-c
<havenwood> vnk: Are you hitting return?
aspiers has joined #ruby
<vnk> jhass: noup. it just doesnt do anything
<vnk> lol.. it just started working for no special reson, I runed it like 5 times before this..
<vnk> thanks a lot guys! soory for bothering.
maikowblue has joined #ruby
cajone_afk is now known as cajone
karapetyan has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
m3_del has joined #ruby
greenbigfrog has quit [Ping timeout: 240 seconds]
RobertBirnie has joined #ruby
Xeago has joined #ruby
m3_del has quit [Remote host closed the connection]
Jackneill has quit [Quit: Leaving]
m3_del has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
genpaku has quit [Remote host closed the connection]
<vnk> trivial question, but if regex is kinda language for itself. does that mean that when you learn regex in ruby it will be almost same as regex in java? from my point of view and understunding it should be bescause it doesnt have anything with java or ruby it is its own language.
juddey has joined #ruby
<shevy> no idea about java but perl and ruby regex are very similar
genpaku has joined #ruby
<shevy> I think both default to pcre but I am not sure
<jhass> vnk: yes, the basic concepts are the same. The differences appear in the advanced features and edge case behavior in a particular regex engine
<vnk> jhass: thanks.
skweek has quit [Ping timeout: 255 seconds]
RobertBirnie has quit [Ping timeout: 265 seconds]
DoubleMalt has joined #ruby
cpup has quit [Ping timeout: 272 seconds]
RobertBirnie has joined #ruby
millerti has joined #ruby
m3_del has quit [Ping timeout: 265 seconds]
cpup has joined #ruby
genpaku has quit [Remote host closed the connection]
genpaku has joined #ruby
akem has joined #ruby
yardenbar has quit [Ping timeout: 250 seconds]
zenguy_pc has joined #ruby
lxsameer has joined #ruby
spider-mario has joined #ruby
stannard has joined #ruby
<droptone> Afternoon, ladies and gentlemen!
<droptone> How are everyone's various projects going today?
cpup has quit [Ping timeout: 240 seconds]
SCHAAP137 has quit [Quit: Leaving]
cpup has joined #ruby
SCHAAP137 has joined #ruby
ekleog_ is now known as ekleog
dionysus69 has quit [Ping timeout: 240 seconds]
fbidu has joined #ruby
stannard has quit [Ping timeout: 244 seconds]
platzhirsch has quit [Remote host closed the connection]
teoric has quit [Quit: WeeChat 1.3-dev]
nofxx has quit [Remote host closed the connection]
nofxx has joined #ruby
allcentury has quit [Ping timeout: 250 seconds]
allcentury has joined #ruby
last_staff has quit [Remote host closed the connection]
last_staff has joined #ruby
moss has joined #ruby
diegoaguilar has joined #ruby
saddad has quit [Ping timeout: 252 seconds]
futilegames has quit [Quit: futilegames]
ibouvousaime has quit [Read error: No route to host]
genpaku has quit [Ping timeout: 244 seconds]
genpaku has joined #ruby
greenbigfrog has joined #ruby
nofxx has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
toretore has quit [Quit: Leaving]
shinnya has joined #ruby
bigmac has joined #ruby
tulak has joined #ruby
genpaku has quit [Remote host closed the connection]
<bigmac> im looking into gdbm vs Hash.new
<bigmac> hash["text"]=1
<bigmac> gdbm["text"]=1 => cant convert fixnum to string
genpaku has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
mattwildig has joined #ruby
Channel6 has quit [Quit: Leaving]
<droptone> kallisti5: I don't know, I manage multiple boxes with per-user rvm deployments, I don't have any issues.
<droptone> I mean, I suppose it would be nice if it defaulted to non-system-wide by default, but considering how easy it is to do per-user deployments, not sure if they'll do anything here.
<bahar> hi guys.... trying to update my pg gem.... im getting the following error (using postgres.app btw): invalid option: --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.4/bin/pg_config
<bahar> anyone know how to get around that?
<droptone> Also, it may default to system-wide because a lot of *nix builds these days come with a default Ruby deployment, not per-user
BSaboia has joined #ruby
<shevy> kallisti5 don't think this is a suggestion that is easily feasible since the other way works as well, for those users who prefer the default system-install
<havenwood> bigmac: DBM only allows Strings for keys and values.
<havenwood> bigmac: Instead, try YAML::DBM: http://ruby-doc.org/stdlib/libdoc/yaml/rdoc/YAML/DBM.html
<havenwood> bigmac: Then you can have a Fixnum value.
bkxd has quit [Ping timeout: 265 seconds]
<bigmac> oh thank you
<havenwood> bigmac: you're welcome
arup_r has quit [Quit: Leaving]
shinenelson has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jordanm has joined #ruby
m3_del has joined #ruby
<havenwood> kallisti5: I prefer the local user dir gem install as well.
nertzy has joined #ruby
varunwachaspati_ has quit [Quit: Connection closed for inactivity]
<kallisti5> havenwood: i'm suprised no previous tickets were open on it
bkxd has joined #ruby
<kallisti5> I get how having it default to system-wide might be easier sometimes... but it isn't easier for the right reasons
<kallisti5> just like compiling sources and installing them to /usr isn't technically correct
myztic has quit [Ping timeout: 265 seconds]
sivoais has quit [Remote host closed the connection]
nbjoerg has joined #ruby
<nbjoerg> anyone here to take care of a fix for the setjmp use in the interpreter core?
sivoais has joined #ruby
<kallisti5> tools like rvm override gem installs with --user-directory because it makes more sense and is easier to deal with. --user-directory default means things like vendor gem directories become unnecessary
tildes has quit [Ping timeout: 264 seconds]
zenguy_pc has joined #ruby
eminencehc has joined #ruby
<kallisti5> anyway, it's a large change... with semi-wide reaching potential impact... so I think a lot of community consensus would be required
bMalum has quit [Quit: bMalum]
xaitec has quit [Ping timeout: 240 seconds]
framling has joined #ruby
last_staff has quit [Quit: last_staff]
amirpro_ has quit []
amirpro_ has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
akira__ has joined #ruby
Guest96462 has quit [Ping timeout: 265 seconds]
tildes has joined #ruby
Parko has joined #ruby
quazimodo has joined #ruby
fbidu has quit [Quit: Leaving]
hotpancakes has quit [Remote host closed the connection]
solocshaw has quit [Ping timeout: 272 seconds]
platzhirsch has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dionysus69 has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> rvm installs into the user's home directory so the prefix is different than /usr anyway; they don't have much of an alternative to defaul to the home dir; gobolinux with its versioned appdirs also got started in that way, by compiling into the user's home prefix
synthroid has quit []
solocshaw has joined #ruby
millerti has joined #ruby
bigmac has quit [Quit: Leaving]
<shevy> on my system ruby resides at /Programs/Ruby/2.2.3/; gem cache will be at /Programs/Ruby/Current/lib/ruby/gems/2.2.0/cache/
bkxd has quit [Ping timeout: 240 seconds]
Coldblackice has joined #ruby
quazimodo has quit [Ping timeout: 250 seconds]
NeverDie has joined #ruby
saddad has joined #ruby
millerti has quit [Client Quit]
Yzguy has joined #ruby
fbidu has joined #ruby
millerti has joined #ruby
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
icey has joined #ruby
fbidu has quit [Client Quit]
icey has quit [Remote host closed the connection]
ismaelga has quit [Remote host closed the connection]
mutantkeyboard has joined #ruby
s1kx has quit [Ping timeout: 240 seconds]
icey has joined #ruby
lxsameer has quit [Quit: Leaving]
zenguy_pc has joined #ruby
mallu has quit [Ping timeout: 246 seconds]
zenguy_pc has quit [Max SendQ exceeded]
zenguy_pc has joined #ruby
leat has joined #ruby
<havenwood> Speaking of RVM... a stable release is long overdue. If anyone wants to weigh in on or help with one of the seven milestone blockers left it'd be much appreciated: https://github.com/rvm/rvm/milestones/rvm-1.26.12
framlinqp has joined #ruby
<droptone> Is it? Any particular reason rvm development has slowed?
<droptone> I use it on a daily basis, have for years, I love it, works great.
<droptone> Is there some competitor everyone is switching to?
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> droptone: chruby continues to grow in popularity
nertzy has quit [Quit: This computer has gone to sleep]
scripore has quit [Quit: This computer has gone to sleep]
zenguy_pc has quit [Max SendQ exceeded]
millerti has joined #ruby
framling has quit [Ping timeout: 260 seconds]
zenguy_pc has joined #ruby
hotpancakes has joined #ruby
decoponio has quit [Quit: Leaving...]
dtordable has quit [Remote host closed the connection]
IrishGringo has joined #ruby
millerti has quit [Client Quit]
maloik has quit [Ping timeout: 255 seconds]
NeverDie_ has joined #ruby
framlinqp has quit [Remote host closed the connection]
zenguy_pc has quit [Max SendQ exceeded]
zenguy_pc has joined #ruby
NeverDie_ has quit [Client Quit]
vdamewood has joined #ruby
hotpancakes has quit [Ping timeout: 250 seconds]
NeverDie has quit [Ping timeout: 272 seconds]
Yzguy has quit [Quit: Zzz...]
DLSteve has joined #ruby
mattwildig has quit [Remote host closed the connection]
<havenwood> droptone: The original author or RVM left after some mudslinging by the author of rbenv. After than mpapis took the helm and was sponsored by Engine Yard. They stopped sponsorship and mpapis went to work on RVM 2 and got a new job. So about nine months ago he stepped down as maintainer of RVM 1.
<havenwood> After that*
nofxx has joined #ruby
techietrash has quit [Quit: Bye! <(^_^<)]
techietrash has joined #ruby
dtordable has joined #ruby
<havenwood> droptone: TL;DR: There was a full-time dev working on RVM. Now there are volunteers on the weekends.
<havenwood> droptone: It's over 10,000 lines of portable shell so it's not easy to maintain.
<vnk> is there difference and when betwen using "" and ''? in ruby ofc :)
<adaedra> interpolation is not performed inside ''
<vnk> I am coming from java and we used to put characters only under '' and normal strings under ""
<havenwood> droptone: We have to choreograph releases with mpapis, who is busy, so that makes it even harder to get stable releases out frequently.
<adaedra> >> who = "world"; [ "hello, #{who}", 'hello #{who}' ] # vnk
<ruboto> adaedra # => ["hello, world", "hello \#{who}"] (https://eval.in/473960)
<adaedra> also, some escape sequences, iirc.
<vnk> adaedra: ohh.. okay, thanks a lot mate :)
dlitvak has joined #ruby
juddey has quit [Ping timeout: 250 seconds]
Yzguy has joined #ruby
tubuliferous_ has quit [Ping timeout: 272 seconds]
nofxx has quit [Ping timeout: 255 seconds]
radgeRayden_ has joined #ruby
radgeRayden has quit [Ping timeout: 265 seconds]
Averna has joined #ruby
pwnd_nsfw has quit [Ping timeout: 240 seconds]
ta has quit [Remote host closed the connection]
greenbigfrog has quit [Ping timeout: 240 seconds]
zenguy_pc has quit [Read error: Connection reset by peer]
saddad has quit [Ping timeout: 272 seconds]
Paradox has quit [Ping timeout: 260 seconds]
zacts has joined #ruby
<zacts> is it more difficult to learn OOP after Functional, or Functional after OOP?
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<zacts> (I wonder if I should try Clojure first, or Ruby)
<mutantkeyboard> it's just a different approach of solving things
djbkd has joined #ruby
<havenwood> zacts: Either Clojure or Ruby are good options.
genpaku has quit [Ping timeout: 265 seconds]
<havenwood> zacts: Or Elixir for that matter. ;)
<havenwood> zacts: (Elixir borrows a lot from both Clojure and Ruby.)
<mutantkeyboard> @zacts try to look at this way. If you have a fixed set of operation on things use OOP, but if you have a fixed set of things, and you need a new operation on these, use FP
dtordable has quit [Quit: Lost terminal]
cajone has quit [Remote host closed the connection]
dtordable has joined #ruby
Averna has quit [Ping timeout: 240 seconds]
ruurd has joined #ruby
platzhirsch has quit [Ping timeout: 260 seconds]
genpaku has joined #ruby
cajone has joined #ruby
naftilos76 has quit [Ping timeout: 265 seconds]
tomdp has quit [Quit: ZNC - http://znc.in]
nofxx has joined #ruby
_blizzy_ has quit [Quit: Leaving]
ruurd has quit [Client Quit]
allcentury has quit [Quit: WeeChat 1.2]
spider-mario has quit [Read error: Connection reset by peer]
EllisTAA has joined #ruby
ta has joined #ruby
<EllisTAA> 10
pwnd_nsfw has joined #ruby
mattwildig has joined #ruby
dtordable has quit [Quit: Lost terminal]
dtordable has joined #ruby
nofxx has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
bMalum has joined #ruby
mutantkeyboard has quit [Ping timeout: 240 seconds]
zenguy_pc has joined #ruby
BSaboia has quit [Ping timeout: 244 seconds]
zenguy_pc has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
Azure has joined #ruby
platzhirsch has joined #ruby
Azure has quit [Client Quit]
arooni has joined #ruby
hotpancakes has joined #ruby
cwong_on_irc has joined #ruby
karapetyan has quit [Remote host closed the connection]
tildes has quit [Ping timeout: 250 seconds]
Azure has joined #ruby
NeverDie has joined #ruby
bkxd has joined #ruby
karapetyan has joined #ruby
bMalum has quit [Quit: bMalum]
dikaio has joined #ruby
Yzguy has quit [Quit: Zzz...]
znz_jp has quit [Ping timeout: 240 seconds]
zapata has quit [Quit: WeeChat 1.3]
tmtwd has joined #ruby
griffindy has joined #ruby
griffindy has quit [Client Quit]
griffindy has joined #ruby
griffindy has quit [Client Quit]
ta has quit [Remote host closed the connection]
hotpancakes has quit [Remote host closed the connection]
w14d0my has joined #ruby
griffindy has joined #ruby
wilsonc91 has joined #ruby
stannard has joined #ruby
nbjoerg has left #ruby [#ruby]
<wilsonc91> Could someone help me with this? New to ruby, getting a undefined method `[]=' for nil:NilClass http://pastebin.com/82XafLJK
<ruboto> wilsonc91, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/8c45e882f127f834c2e4
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
platzhirsch has left #ruby [#ruby]
greenbigfrog has joined #ruby
<Coraline> wilsonc91: script files is a single-depth hash
tref has quit [Quit: tref]
<wilsonc91> Ah
<Coraline> So updated_script_files[:foo] is ni;
<Coraline> nil
<wilsonc91> can i make it not single-depth?
griffindy has quit [Client Quit]
<Coraline> You need to do updated_script_files[:file_num] = {}
zenguy_pc has joined #ruby
<wilsonc91> Awesome, thanks!
Pumukel has quit [Quit: ChatZilla 0.9.92 [Firefox 42.0/20151029151421]]
NeverDie has quit [Quit: http://radiux.io/]
<Coraline> although I think you want file_num, not :file_num and key, not :key
hotpancakes has joined #ruby
<wilsonc91> hmm ok, whats the difference between : and without it? Still a bit confused about that
htmldrum has joined #ruby
<Coraline> Otherwise you have a literal key of :file_num instead of the value from your enumerable
stannard has quit [Ping timeout: 240 seconds]
griffindy has joined #ruby
Melpaws has joined #ruby
<droptone> Holy crap it's so much nicer deving on 2 27" external monitors.
<Coraline> :file_num is a symbol, file_num in your case is a variable
<droptone> I can fit 6 terminal windows on each.
<Coraline> Does that make sense?
<wilsonc91> I think so
<wilsonc91> so :file_num would literally be 'file_num'?
<Coraline> Yes
<Coraline> You want the hash key to be dynamic based on the variable's value
<Coraline> So by not using the : you get updated_script_files["1"]["script_name"]
<Coraline> :)
<wilsonc91> okay thnaks :)
<Coraline> Sure
zenguy_pc has quit [Ping timeout: 255 seconds]
tref has joined #ruby
<shevy> droptone now you can use your 4 arms to code faster too
<droptone> shevy: Exactly, ever since transforming into Goro I've seen my development rate increase 82%
<droptone> I use 2 27" external monitors, 4 keyboards, and an army of underpaid Koreans to develop my Ruby projects.
juddey has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
zenguy_pc has joined #ruby
zenguy_pc has quit [Remote host closed the connection]
zenguy_pc has joined #ruby
zenguy_pc has quit [Client Quit]
maloik has joined #ruby
zenguy_pc has joined #ruby
<shevy> lol
zenguy_pc has quit [Remote host closed the connection]
zenguy_pc has joined #ruby
Trynemjoel has joined #ruby
maloik has quit [Ping timeout: 244 seconds]
Rickmasta has joined #ruby
loechel has quit [Ping timeout: 252 seconds]
nfk has quit [Remote host closed the connection]
vdamewood has quit [Quit: Life beckons.]
<apeiros> droptone: how do you stuff the army of koreans in front of your 2 monitors?
ta has joined #ruby
ismaelga has joined #ruby
rgrmatt has joined #ruby
lurch_ has joined #ruby
zenguy_pc has quit [Quit: Leaving]
<adaedra> they're Koreans, they don't need your poor screens and keyboards to code.
<EllisTAA> has anyone ever not been able to unzip a .gz file?
zenguy_pc has joined #ruby
<vnk> guys how often do we actually use .send method in ruby on rails development?
<EllisTAA> i read there may have been a problem when the file was compressed ...
howdoicomputer has quit [Ping timeout: 265 seconds]
nofxx has joined #ruby
<adaedra> EllisTAA: does gzip(1) can decode your file?
<adaedra> does...can, great english here adaedra
gustav_ has quit [Remote host closed the connection]
ta has quit [Ping timeout: 264 seconds]
<shevy> le fabulous english
tulak has quit [Remote host closed the connection]
rgrmatt has quit [Remote host closed the connection]
sulky has quit [Ping timeout: 260 seconds]
bMalum has joined #ruby
<jhass> EllisTAA: what does the file command report for that file?
tulak has joined #ruby
w14d0my has left #ruby [#ruby]
digneety has joined #ruby
nofxx has quit []
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
asas has quit [Ping timeout: 276 seconds]
m8 has quit [Quit: Sto andando via]
rgrmatt has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scripore has joined #ruby
ekleog has quit [Read error: Connection reset by peer]
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
wildlander has quit [Quit: Saliendo]
scripore has quit [Client Quit]
ekleog has joined #ruby
<wilsonc91> Could use a hand again :3 http://pastie.org/10574753 Getting a syntax error on line 10 saying it excepts a ':' I basically want to check if theres an existing file with this filename already before creating it
stannard has joined #ruby
<jhass> wilsonc91: TestScript is an active record model or what?
stannard has quit [Remote host closed the connection]
<wilsonc91> Yes
<jhass> the where(...)? is invalid syntax, you want exists?(...)
<wilsonc91> ah
<jhass> note that the ? there is part of the method name
quazimodo has joined #ruby
millerti has joined #ruby
millerti has quit [Client Quit]
kirun has quit [Quit: Client exiting]
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ChameleonSix has joined #ruby
<ChameleonSix> Hello
<ChameleonSix> ?
<jhass> Hello
<jhass> !
<ChameleonSix> Ruby
<apeiros> We greet you
<apeiros> .
<ChameleonSix> Are you people programmers
<apeiros> I'm a contragrammer
<ChameleonSix> Lol
<apeiros> but I guess there's a lot of programmers here too
<ChameleonSix> Can you explain me something
agit0 has joined #ruby
<ChameleonSix> Do you know Ruby ?
<apeiros> a little bit
<ChameleonSix> What does that mean
NeverDie has joined #ruby
millerti has joined #ruby
<ChameleonSix> Have you written any programs in it
<apeiros> yes
<jhass> How about we get to your actual question?
<apeiros> and ^
<havenwood> ChameleonSix: A common thing you'll find in the #ruby channel is Rubyists.
<ChameleonSix> Ok
dionysus69 has quit [Ping timeout: 246 seconds]
<ChameleonSix> How do I lol idk how to asj
<ChameleonSix> Ask
<jhass> ?answers
<ruboto> How to ask the right questions to get you the right answer: https://www.mikeash.com/getting_answers.html
<ChameleonSix> I want to attach a process to a firefox
<ChameleonSix> Like object programming I guess
<EllisTAA> anyone know why this method is creating files that when i try to inflate them says they aren’t in gz format? https://github.com/ellismarte/neatfreak/blob/master/neatfreak.rb#L14
<ChameleonSix> I know Ruby a little lol
<adaedra> You want to control a Firefox instance, ChameleonSix ?
k3asd` has joined #ruby
<ChameleonSix> Maybe
<jhass> ChameleonSix: don't describe how you imagine to solve your problem, describe what you actually want to achieve
<ChameleonSix> I/O
<adaedra> You know what you want, ChameleonSix ?
<ChameleonSix> I want to learn about ruby input and output to programs like browsers
<jhass> EllisTAA: what does the file command report on them?
<ChameleonSix> Games
<ChameleonSix> ...
bMalum has quit [Quit: bMalum]
<ChameleonSix> Do you understand me
<jhass> ChameleonSix: you should pick some concrete problem/goal that you want to solve, makes it much easier to find the right things to learn in order to do so
<ChameleonSix> Lol
<ChameleonSix> Ok
<ChameleonSix> How do I change a text written in a file using ruby console
<ChameleonSix> Lol
sepp2k has quit [Quit: Leaving.]
scripore has joined #ruby
<adaedra> Ruby console?
<jhass> havenwood: hehe
jschmid has joined #ruby
<ChameleonSix> Ruby code
User458764 has joined #ruby
<ChameleonSix> Lol
<ChameleonSix> Script
trosborn has joined #ruby
<adaedra> Using the right terminology is the first step of asking efficiently.
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
<ChameleonSix> Do you understand what am I saying
<ChameleonSix> Lol
<jhass> &ri File::read File::write File::open @ChameleonSix
eminencehc has quit [Remote host closed the connection]
duncannz has joined #ruby
<shevy> so this is how it looks when people use android for IRC :)
<adaedra> ?
<ChameleonSix> Lol
<ChameleonSix> I don't understand this
<ChameleonSix> I am learning ruby still
<ChameleonSix> I finished hashes,loops ...
<jhass> well, spending less than a minute on it, I can't say it seems like you tried
<adaedra> Is Ruby your first programing language?
<ChameleonSix> Html is
<ChameleonSix> Lol
<adaedra> .
<ChameleonSix> Ok
<apeiros> ChameleonSix: notice that while we gladly help, but we're not an academy. we're not a replacement for a book either.
<jhass> ChameleonSix: please drop everything else and read this https://pine.fm/LearnToProgram/
<shevy> did you work through the chris pine tutorial yet?
<apeiros> -but
<shevy> ^^^
<ChameleonSix> What
<ChameleonSix> No
<jhass> Yes.
jackcom has joined #ruby
<shevy> hehehe
glenny has joined #ruby
Xeago has joined #ruby
<ChameleonSix> I use code academy
<ChameleonSix> And tree house
<wilsonc91> sorry still having issue with there where? thing. I just want to check if a file doesn't exist
<ChameleonSix> Do you have any recommendations
<shevy> unless File.exist? location
<jhass> ChameleonSix: finish the courses you started. If you're still confused after that read the book I linked above.
<ChameleonSix> I just don't get something
jschmid has quit [Ping timeout: 260 seconds]
<ChameleonSix> How to I use that knowledge to manipulate with programs
<jhass> so you still didn't ask your actual question?
<ChameleonSix> I got many questions
<ChameleonSix> Lol
<jhass> ChameleonSix: don't worry about that for now, it'll become apparent soon enough
<ChameleonSix> Are you sure
<jhass> you should understand the basics first
<ChameleonSix> I understand that
<jackcom> ruby vs lua, which is more used?
<ChameleonSix> Idk
<jhass> ChameleonSix: yes, programming is about building abstractions over abstractions over abstractions and so on
<ChameleonSix> Can you give me a code example
<jhass> ChameleonSix: once you understand the lower abstraction such as those for reading and writing files or loops, higher abstractions will become easier to understand
<ChameleonSix> I got that
<jhass> ChameleonSix: no, please just proceed with the basics for now
<ChameleonSix> I understand that basic stuff
<ChameleonSix> Lol
<havenwood> jackcom: Ruby. Though it was out of Lua-envy that mruby was born.
<jhass> ChameleonSix: then you should understand the documentation I linked earlier
<ChameleonSix> I need to finish ruby gems and objects
<havenwood> jackcom: http://www.mruby.org
<ChameleonSix> Is that important
<adaedra> Yes.
symm- has quit [Ping timeout: 276 seconds]
<jhass> ChameleonSix: yes, everything in the basic courses is important, every single thing
<ChameleonSix> Def quit
zenguy_pc has quit [Read error: Connection reset by peer]
<ChameleonSix> Lol
<jackcom> thanks havenwood
<jackcom> :)
<jhass> wilsonc91: elaborate?
<ChameleonSix> Nvm
ta has joined #ruby
<ChameleonSix> You are a programmer ?
<wilsonc91> actually figured it out, thanks :)
<droptone> I AM A PROGRAMMER
<ChameleonSix> Lol
<droptone> I PROGRAM COMPUTERS
<ChameleonSix> Good
<jhass> ChameleonSix: I would expect the vast majority of people in this channel can be called programmers
<droptone> I MAKE COMPUTERS DO THINGS
symm- has joined #ruby
<ChameleonSix> Why do you use caps
<greedo> cool
<ChameleonSix> You make computers ?
<VeryBewitching> ChameleonSix: Since I was 17, ~1997
<ChameleonSix> Hardware engineering ?
<droptone> BECAUSE MY CHEESE HAS SLID OFF MY CRACKER
<ChameleonSix> Troll
<droptone> Brilliant.
CloCkWeRX has joined #ruby
<ChameleonSix> Anyway do you people know something about buffer overflow
<adaedra> You're doing C now?
<droptone> Are you an elite hacker?
<ChameleonSix> No
<ChameleonSix> Lol
<ChameleonSix> I know a little of C
<jhass> ChameleonSix: seriously, get back to your courses, dabbing into all those topics will only confuse the hell out of you at this point
<ChameleonSix> ok
<ChameleonSix> Anyway how can someone hack pc via ports
<shevy> lol
<ChameleonSix> Lol
<jhass> "ports"?
<droptone> They use the internet.
<ChameleonSix> Lol
<jhass> or USB?
<droptone> If you hack the internet you can hack pc via ports.
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ChameleonSix> Ports lol
<shevy> an android hacker
<ChameleonSix> Network ports
<ChameleonSix> Like 80
<adaedra> õ_o
<ChameleonSix> Lol
<ChameleonSix> Not serial ports
<VeryBewitching> TCP/IP ports you mean?
<ChameleonSix> Yeah
<droptone> Port 80 is a hacker port.
vnk has quit [Read error: Connection reset by peer]
EllisTAA has quit [Quit: EllisTAA]
<ChameleonSix> Udp
<ChameleonSix> Lll
<jhass> you hack the program accepting network traffic there, not the "port"
<ChameleonSix> You enter via the port
<ChameleonSix> ?
<jhass> this would again be much easier to understand for you if you know the basics of I/O
Xeago has quit [Ping timeout: 255 seconds]
<droptone> nmap -sS -p0 -p80 --reason --open --elitehacker 127.0.0.1
<droptone> Type that to hack port 80.
<ChameleonSix> Ok
<ChameleonSix> Lol
<ChameleonSix> Anyway do I need to learn assembly
<jhass> no
<ChameleonSix> Why not
<ChameleonSix> Isn't it important
<droptone> I write everything in AT&T syntax assembly.
<jhass> because you ask if you have to
DoubleMalt has quit [Remote host closed the connection]
<ChameleonSix> Hmm
<jhass> you know when you reach the point where you need it
<ChameleonSix> Ok
<droptone> jhass is wise.
<ChameleonSix> What languages do you know
<jhass> how does that matter?
tmtwd has quit [Ping timeout: 250 seconds]
<ChameleonSix> Curious
<droptone> ChameleonSix: QBASIC, GWBASIC, and Visual Basic.
<ChameleonSix> The first 2 don't exist
<ChameleonSix> Lol
<jhass> there's a point where you can pick up new languages fairly quick
<droptone> If the name of the language doesn't have the word "basic" in it, I don't learn it.
<droptone> ChameleonSix: I'm kidding but yes, the first two exist.
<jhass> droptone: so you don't know Ruby?
<ChameleonSix> Anyway is ruby good for start
<VeryBewitching> C, C++, Perl, PHP, Ruby, Java, C#, VB, Bash, SCSS
<ChameleonSix> Lol
<VeryBewitching> There's probably more.
<havenwood> ChameleonSix: Stop spamming: Lol
<jhass> ChameleonSix: yes
<droptone> jhass: No, I hang in #ruby but know nothing of Ruby.
<ChameleonSix> Spamming ?
<droptone> I'm wacky like that.
<ChameleonSix> Lol
<havenwood> ChameleonSix: Repeatedly entering into the channel.
<VeryBewitching> jhass: I think someone is having a little fun with you.
<havenwood> !kick ChameleonSix Not Lol
ChameleonSix was kicked from #ruby by ruboto [Not Lol]
* jhass forks Ruby and calls it RBasic
<VeryBewitching> Thank you havenwood
<droptone> lmao
<adaedra> One down
<jhass> VeryBewitching: nah, just a 12 year old
<droptone> He's off to hack port 80.
ChameleonSix has joined #ruby
<VeryBewitching> Or an individual with similar brain setbacks.
<ChameleonSix> Hmm
<jhass> ChameleonSix: now you learned what happens if you ignore ops
htmldrum has quit [Ping timeout: 276 seconds]
<ChameleonSix> I leaned that long ago
<droptone> "It's not my first rodeo"
<jhass> how did you get yourself kicked then?
<ChameleonSix> Hmm idk
<ChameleonSix> Is ddos firewall bypassable
* droptone grabs popcorn
<havenwood> ?ot ChameleonSix
<ruboto> ChameleonSix, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!
<ChameleonSix> -_-
<ChameleonSix> Ruboto hacker
howdoicomputer has joined #ruby
<jhass> ?justabot
<ruboto> I'm just a bot. You don't need to address me.
<ChameleonSix> I installed that on my android phone lol
<ChameleonSix> And it can't execute programs for some reason
<ChameleonSix> Rooted phone
<adaedra> Got any real and precise ruby question?
<jhass> I believe they have their own help channel
djbkd has quit [Remote host closed the connection]
<Radar> what adaedra said
<ChameleonSix> Yeah
<ChameleonSix> Can I create and exe file from .rb
<Radar> no
<VeryBewitching> I put him on ignore, the quiet is refreshing.
SenpaiSilver has quit [Quit: Leaving]
<ChameleonSix> No :(
<ChameleonSix> An*
<ChameleonSix> I'm disappointed
<ChameleonSix> That is ?
<adaedra> You don't need it to run Ruby under Windows though.
<ChameleonSix> Ah
<havenwood> ChameleonSix: Read the README. (It's SCREAMING to be read.)
<ChameleonSix> That is amazing
<ChameleonSix> I read it lol
<ChameleonSix> Sorry
<jhass> ChameleonSix: you didn't even try to understand, 10 seconds is barely enough to click on the link
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> ChameleonSix: next time you don't invest time into the suggestions given to your questions, you're gone
<havenwood> ChameleonSix: More reading: https://phusion.github.io/traveling-ruby/
<ChameleonSix> Nice
blackmesa has quit [Ping timeout: 246 seconds]
<ChameleonSix> Anyway I haven't seen any game examples written in ruby
<ChameleonSix> You got some ?
<droptone> Examples of any game written in Ruby?
<ChameleonSix> Yes
<droptone> I haven't personally heard of anyone writing a game in Ruby, though I'm sure someone has.
whiteline_ has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
<ChameleonSix> I mean game like snake or something
<ChameleonSix> I made a number guessing game in ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
<droptone> We use Ruby for web-based, server-side applications and in custom websites using the Rails framework.
<jhass> that took me 15 seconds on google
<droptone> lol jhass
<Radar> Google is your friend :)
<ChameleonSix> Google is your enemy
<havenwood> ChameleonSix: You can find nice game examples with RubyMotion as well (for Android, iOS and OS X): http://www.rubymotion.com
finisherr has joined #ruby
<ChameleonSix> Tnx
zenguy_pc has joined #ruby
<ChameleonSix> I understand some parts of the code
<ChameleonSix> But how did he draw the snake object
<droptone> Congrats.
<adaedra> Start by finishing learning the basics, maybe?
<Radar> ^
<ChameleonSix> Good advice
<ChameleonSix> I will
<ChameleonSix> :)
* Radar thinks ChameleonSix wants to be the very best, like noone ever was.
<ChameleonSix> Hm
freerobby has joined #ruby
<ChameleonSix> Your grammar is nice
<droptone> You're in Serbia, ChameleonSix?
<ChameleonSix> I hate when people trace my vpn
<ChameleonSix> Lol
<adaedra> No need for that...
<ChameleonSix> Anyway don't ddos me
<ChameleonSix> **
<droptone> If by "trace your VPN" you mean "whois you and notice your dynamically-assigned FQDN ends in the .rs TLD", then yes.
<ChameleonSix> Lol
<Radar> LOL!
malconis has joined #ruby
<adaedra> ChameleonSix: Seriously, stop with the "Lol"s.
<ChameleonSix> Ok
<ChameleonSix> Can I use lel instead
<Ox0dea> Radar: Are you sure Noone was ever the very best?
<ChameleonSix> What
elaptics is now known as elaptics`away
<ChameleonSix> I don't understand that grammar
houhoul__ has quit [Remote host closed the connection]
<ChameleonSix> I must go
<Radar> Ox0dea: Positive.
<Radar> ChameleonSix: bye.
<ChameleonSix> Cya tomorrow
<Ox0dea> Cya nide.
<Radar> Can't wait.
<ChameleonSix> Don't go anywhere
<ChameleonSix> Lol
atomical has quit [Read error: Connection reset by peer]
<jhass> !kick ChameleonSix no Lols
ChameleonSix was kicked from #ruby by ruboto [no Lols]
<Ox0dea> Ha.
zenguy_pc has quit [Read error: Connection reset by peer]
<adaedra> -_-
finisherr has quit [Ping timeout: 272 seconds]
atomical has joined #ruby
freerobby has quit [Quit: Leaving.]
trosborn has quit [Quit: trosborn]
dmcp_ has joined #ruby
Mojo_Nixon has joined #ruby
<jackcom> what is string length method?
dmcp_ has quit [Client Quit]
<adaedra> You know there are online docs to know that?
<adaedra> rubydoc.info, ruby-doc.org, devdocs.io – pick one
<blubjr> youre really close
<nofxx> jackcom: #length
<Ox0dea> nofxx: No feeding!
JazzyVariable227 has joined #ruby
<jackcom> :(
<jackcom> help me
<Ox0dea> jackcom: You're a horse that can't even be led to the fucking water, mate.
<nofxx> you guys are too evil today...
<droptone> You gotta have fun sometimes.
<Radar> nofxx: pretty much.
<droptone> Can't be all business.
<Radar> !kick Ox0dea not nice
Ox0dea was kicked from #ruby by ruboto [not nice]
<Radar> sorry about 0x, jackcom.
<Radar> jackcom: Did you try googling your question before asking in here?
<jackcom> lol
<Radar> I know, it's such a ridiculous concept.
<jackcom> it is more efficiency saying it to me directly, instead of many explanation.
<Radar> jackcom: It's more efficient if you just googled in the first place
<Radar> jackcom: Here is what "ruby string length method" returns as the first result for me in google: http://ruby-doc.org/core-2.2.0/String.html
CloCkWeRX has left #ruby [#ruby]
<jackcom> ok
<jackcom> :(
<Radar> jackcom: We're happy to answer non-googleable questions in here.
<adaedra> We can help you here, but not to answer the first question you can answer by some google and/or doc searching. You also have to do some research.
<jackcom> ok
<Radar> http://ruby-community.com/pages/user_rules See under "What the channel expects from you"
<Radar> Number 2.
RobertBirnie has joined #ruby
RobertBirnie has quit [Client Quit]
saddad has joined #ruby
htmldrum has joined #ruby
<doddok> why newbies so stupid
nertzy has joined #ruby
stannard has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> be nice
jessemcgilallen has joined #ruby
<Radar> !kick doddok not nice
doddok was kicked from #ruby by ruboto [not nice]
doddok has joined #ruby
<Radar> Why are those who have some experience unkind to those without? You were one of those people before.
<Radar> How quickly you forget!
<doddok> no
<doddok> fisrt rule
<Radar> "We are a polite and inclusive channel. Everybody is welcome."
<Radar> That is the first rule.
<Radar> You were not polite.
juddey has quit [Ping timeout: 264 seconds]
<doddok> if you dont know something try spend couple of days to searching alone
phutchins2 has quit [Quit: WeeChat 1.3]
agent_white has joined #ruby
<droptone> Radar has seen the light.
<Radar> days? pah. I expect 15 minutes of trying it out yourself from anyone who I mentor and then if they still can't find the answer then we pair on it.
<agent_white> Evenin' folks
<droptone> evening.
<adaedra> morning.
<blubjr> hi agent white
<Radar> When I pair with them I don't start out with "You fucking idiot. It's right there in the docs!" I lead them to the answer very carefully and make sure that they understand where the answer is so that they can find it again.
<jackcom> "The string you just gave me has a length of #{incoming_string.length}" <—— this is wrong?
<jhass> looks okay, did you try it out prior asking?
zenguy_pc has joined #ruby
axsuul has quit [Ping timeout: 260 seconds]
<Radar> Two weeks ago I was at a hack night here in Melbourne where one of the people I mentored was helping out other people. It was fantastic to see.
ledestin has joined #ruby
<Radar> Do you think he would've gotten to that point if I berated him for not knowing?
<Radar> doddok: Eagerly awaiting your reply.
bMalum has quit [Quit: bMalum]
<doddok> radar, has he achieved something worthwhile? can you boast of?
<Radar> doddok: jackcom or the other person I mentioned?
gustav_ has joined #ruby
<adaedra> good night.
<jackcom> :(
<doddok> other
Spami has quit [Quit: This computer has gone to sleep]
<Radar> doddok: He is on the way to being a better Ruby and Rails programmer. He recognises where his abilities are lacking and he knows now where he can go to learn things to fill those holes in his knowledge.
<Radar> jackcom: Please answer the questions with words and not emoticons. jhass asked if you had tried it.
<doddok> he already has made a mistake
<doddok> learning rails fw
<jackcom> Radar: yes, manytimes
_stu_ has quit [Quit: _stu_]
<Radar> jackcom: and what happened?
<jackcom> nothing
<jackcom> Radar:
NeverDie has quit [Quit: http://radiux.io/]
<Radar> Nothing at all? So problem solved?
gustav_ has quit [Ping timeout: 252 seconds]
Spami has joined #ruby
jessemcgilallen has quit [Quit: jessemcgilallen]
<jhass> jackcom: show some more of what you're doing, make a gist with your code, how you run it and the result of doing so
ohaibbq has joined #ruby
<jackcom> ok from next time
<jackcom> jhass:
k3asd` has quit [Ping timeout: 252 seconds]
NeverDie has joined #ruby
<Radar> jackcom: ?gist
<Radar> Ok, I cannot drive ruboto at all.
<jackcom> i don’t know gist Radar
<jhass> ?gist jackcom
<ruboto> jackcom, https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<Radar> of course it has to be backwards
<jackcom> ok jhass
braincrash has quit [Ping timeout: 252 seconds]
safe has joined #ruby
davedev24 has quit [Remote host closed the connection]
braincrash has joined #ruby
karapetyan has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
vnk has joined #ruby
davedev24 has joined #ruby
<vnk> I am making method that check 2 biggest elements of array(integers). here is my code http://pastie.org/10574859 for some reson it bugs, it shows biggest element but second biggest is always 0 for some reson :( anyone have idea what to do?
<apeiros> Radar: the idea is simple: `nick: …text…` does not address the bot but `nick`. `ruboto: command args…` is the basic form. `!command args…` and `?fact args…` are contractions of that (for convenience)
doodleha_ has joined #ruby
<apeiros> i.e. ruboto follows the rule for bots to only speak when addressed, with the exception of having two allowed command prefixes.
<Radar> ok
sulky has joined #ruby
waka has quit [Read error: Connection reset by peer]
<apeiros> oh, actually there are more exceptions :-/ (pastebin -> gist f.ex.)
<jhass> vnk: think about lines 10 and 11, what value does largest have on line 11?
<apeiros> and now for real, no more reading x64 assembler - to bed with me! :D
<doddok> max1 = array.max; second = (array-[max1]).max
<doddok> vnk
<al2o3-cr> arr.max(2)
<Radar> ^
<vnk> jhass: largest should have on start value of first element.
<vnk> doddok: yes?
<Radar> >> [5, 1, 3, 2, 4].max(2)
<ruboto> Radar # => [5, 4] (https://eval.in/473969)
<vnk> al2o3-cr: you can do that?! :O
<jhass> vnk: what does line 10 do?
<jhass> vnk: I would still recommend you try to understand the issue in your method ;)
<vnk> jhass: I just gave it value of x, now I am not sure why..