jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
vanvemden has joined #ruby
macsteps has joined #ruby
skweek has joined #ruby
ghr has joined #ruby
vanvemden has quit [Ping timeout: 250 seconds]
kirun has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
macsteps has quit [Remote host closed the connection]
<shevy> yeah parallel assignment
blackmesa has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
coffeecupp has quit [Ping timeout: 272 seconds]
freerobby has quit [Client Quit]
moeabdol has joined #ruby
ghr has joined #ruby
JeanCarloMachado has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
JeanCarloMachado has joined #ruby
freerobby has joined #ruby
<postapocallyptic> yeah, my string has a newline inside it? how do I remove it? line.delete '\n' ?
elle has quit [Quit: ZNC - http://znc.in]
flashpoint9 has quit [Remote host closed the connection]
freerobby1 has joined #ruby
Jet4Fire has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
isberg has quit [Read error: Connection reset by peer]
A_Drone has joined #ruby
JeanCarl1Machado has joined #ruby
agentmeerkat has quit [Ping timeout: 264 seconds]
freerobby has quit [Ping timeout: 252 seconds]
<al2o3-cr> postapocallyptic: if the \n is at the end of the string you can use chomp
JeanCarloMachado has quit [Ping timeout: 276 seconds]
ponga has quit [Quit: Connection closed for inactivity]
freerobby1 has quit [Quit: Leaving.]
vanvemden has joined #ruby
vanvemden has quit [Client Quit]
Xeago_ has quit [Ping timeout: 258 seconds]
karapetyan has joined #ruby
<shevy> postapocallyptic you sorta gave the solution :)
<shevy> use " rather than ' though
<postapocallyptic> didn't work for some reason idk.
<shevy> ruby will differ between 'string' and "string"
<shevy> like foo = 'foo'; bar = "#{foo}bar"
<postapocallyptic> ok
<shevy> will not work if you use only ''
symm- has quit [Ping timeout: 258 seconds]
isberg has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
Guest51731 has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
<postapocallyptic> so when I'm inside a class I can only define a variable as a Array when I'm in the initializer method. and I can't define the instance variable to be a Array outside a method.
<postapocallyptic> this is all confusing to me as I come from another lang ( cpp )
<leea> any atom users know what the v and c mean on autocompletion? http://imgur.com/4C2YA3F
<leea> postapocallyptic what are you trying to do? I believe you can declare variables outside of the constructor (initialize method)
<leea> >> class Foo; @bar = []; end
<ruby[bot]> leea: # => [] (https://eval.in/603122)
<shevy> postapocallyptic you could use a constant
nankyokusei has quit [Ping timeout: 258 seconds]
roamingdog has quit [Remote host closed the connection]
<shevy> class FOO; ARRAY = %w(a b c); def initialize; @data = ARRAY; end; end
<shevy> hmm I meant to write class Foo
exchgr has joined #ruby
Fernando-Basso has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
<shevy> postapocallyptic you could also initialize the array in any other method
<shevy> using a constant, an @ivar, a @@class var, a local var within the method... perhaps there are more ways
<al2o3-cr> leea: i'd hazard a guess at c = class and v = variable
<shevy> but in most cases, @ivar is best
roamingdog has joined #ruby
<leea> al2o3-cr oh ok, yeah I should have googled first. I thought I could do autocompletion by pressing those letters, didn't work though
isberg has quit [Read error: Connection reset by peer]
akira616 has left #ruby ["Leaving"]
akira616 has joined #ruby
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
isberg has joined #ruby
<postapocallyptic> leea http://pastebin.com/7aS4wUmL
<ruby[bot]> postapocallyptic: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/62be82e644e10633e9344a30b2601efb
<ruby[bot]> postapocallyptic: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<postapocallyptic> i see
<leea> postapocallyptic on line 2 you defined @names, and in lines 4 and 5 you don't use the @,
<leea> if you use @names on 4 and 5 you won't get an error
<leea> The reason the 2nd class works is because attr_accessor defines a method "names" and it returns an array, then you're adding elements to that array
coffeecupp has joined #ruby
<postapocallyptic> yeah I forgot the round thing.
<leea> >> class Nameslist; @names = Array.new; def populate; @names << "blah"; @names << "yeah"; end; end
<ruby[bot]> leea: # => :populate (https://eval.in/603123)
<shevy> postapocallyptic ah you must be careful
<shevy> @names there is different from @names inside of a method
pawnbox has joined #ruby
karapetyan has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
<leea> shevy are they not instance variables?
<al2o3-cr> yeah, the first one is class instance variable
Guest51731 has joined #ruby
<leea> oh, got it.
<shevy> leea yeah but in another context, self will be different, it will be on class Namelist rather than when you instantiate the object
xall has joined #ruby
<leea> so could you solve the first class by defining #self.populate?
pontiki has joined #ruby
<al2o3-cr> leea: yeah
pawnbox has quit [Ping timeout: 240 seconds]
<al2o3-cr> or from a instance method self.class.populate
karapetyan has quit [Ping timeout: 244 seconds]
<shevy> leea yeah
Guest51731 has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skweek has quit [Ping timeout: 260 seconds]
Meow-J has quit [Quit: Connection closed for inactivity]
xall has quit [Ping timeout: 258 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
Guest51731 has joined #ruby
sleepee has joined #ruby
coffeecupp has quit [Ping timeout: 250 seconds]
sleepee has quit [Max SendQ exceeded]
tristanp has joined #ruby
pawnbox has joined #ruby
ghr has joined #ruby
<al2o3-cr> postapocallyptic: this might help a little bit https://gist.github.com/gr33n7007h/d6bacb1fa444ba4a78fd28151a20eca1
Xiti has quit [Ping timeout: 246 seconds]
tristanp has quit [Remote host closed the connection]
fujinuma has joined #ruby
tristanp has joined #ruby
sleepee has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
fujinuma has quit [Client Quit]
sepp2k has quit [Read error: Connection reset by peer]
MrBusiness has joined #ruby
sleepee has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
A_Drone has quit [Remote host closed the connection]
marr has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
armyriad has quit [Ping timeout: 244 seconds]
armyriad has joined #ruby
JeanCarl1Machado has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 258 seconds]
fujinuma has joined #ruby
coffeecupp has joined #ruby
leea has joined #ruby
agentmeerkat has joined #ruby
yfeldblum has joined #ruby
asianMike has joined #ruby
flashpoint9 has joined #ruby
ghr has joined #ruby
coffeecupp has quit [Ping timeout: 240 seconds]
Xiti has joined #ruby
agentmeerkat has quit [Ping timeout: 272 seconds]
tristanp has quit [Remote host closed the connection]
Xeago_ has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
Jardayn has quit [Quit: Leaving]
ghr has quit [Ping timeout: 240 seconds]
zacts has joined #ruby
akira616 has quit [Ping timeout: 250 seconds]
jazzonmymind` has quit [Ping timeout: 276 seconds]
jazzonmymind``` has joined #ruby
whathappens has joined #ruby
AngryBuzzy has joined #ruby
`tim` has joined #ruby
ghr has joined #ruby
ur5us has quit [Remote host closed the connection]
elifoster has quit [Quit: store]
charliesome has joined #ruby
ruby-lang671 has joined #ruby
<ruby-lang671> hello
ruby-lang671 has quit [Client Quit]
Ebok has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
asianMike has quit [Remote host closed the connection]
angrybuzzy_ has joined #ruby
coffeecupp has joined #ruby
jazzonmymind``` has quit [Ping timeout: 246 seconds]
harfangk has joined #ruby
moeabdol has quit [Ping timeout: 260 seconds]
ghr has joined #ruby
Guest51731 has quit [Ping timeout: 260 seconds]
angrybuzzy_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Xeago_ has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 240 seconds]
whathappens has quit [Quit: Leaving...]
ecnalyr has joined #ruby
moeabdol has joined #ruby
dcunit3d has joined #ruby
Guest51731 has joined #ruby
dcunit3d has quit [Client Quit]
coffeecupp has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
A_Drone has joined #ruby
moeabdol has quit [Ping timeout: 258 seconds]
<zacts> hello
allcentury has quit [Ping timeout: 260 seconds]
ericsupreme has joined #ruby
ecnalyr has quit [Ping timeout: 276 seconds]
asianMike has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
<ericsupreme> hey can someone help me getting rubygems running correctly ...any ruby gem command i type whether it's gem -v , gem instal blahblahblah i get this message 'The program 'gem' can be found in the following packages:
<ericsupreme> * ruby
<ericsupreme> * rubygems
<ericsupreme> Try: sudo apt-get install <selected package>
<ericsupreme> '
evey_hammond has quit [Quit: This computer has gone to sleep]
<ericsupreme> after spending time on google it seems to be a P
harfangk has quit [Quit: harfangk]
<ericsupreme> ATH is but i can't figure out how to set it
ghr has quit [Ping timeout: 240 seconds]
<shevy> well
<shevy> you have to find out where "gem" file is
<shevy> look at /usr/bin first, for all *gem*
<ericsupreme> ok i have a few let one in home directory and the usr/bin i think i can tell one sec i've done so much i can't remember ..thanks for respondign by the way
xlegoman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fujinuma has quit [Quit: WeeChat 1.5]
AngryBuzzy has quit [Quit: This computer has gone to sleep]
Guest51731 has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
bogusdisk has quit [Remote host closed the connection]
karapetyan has joined #ruby
jahrichie has quit [Quit: Leaving.]
coffeecupp has joined #ruby
ekinmur has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
jahrichie has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
<ericsupreme> ok an old askubuntu post from a guy with similar problem someone said PATH should be /usr/lib/ruby/gems
<al2o3-cr> ericsupreme: `type -a gem`
<ericsupreme> so im just confused period lol what do i do now with /usr/bin?
asianMike has quit [Remote host closed the connection]
Guest51731 has joined #ruby
<al2o3-cr> ericsupreme: you have installed ruby?
jahrichie has quit [Client Quit]
<ericsupreme> yes
<ericsupreme> command not found
Rodya_ has quit [Quit: Leaving...]
<ericsupreme> when 'type -a gem'
<ericsupreme> ruby -v works
<ericsupreme> gem -v nothing
jahrichie has joined #ruby
coffeecupp has quit [Ping timeout: 276 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
<al2o3-cr> ericsupreme: which gem
<pontiki> first try `which ruby` -- the gem program should be in the same folder
blackmesa has joined #ruby
<ericsupreme> where shevy said /usr/bin
ghr has joined #ruby
<ericsupreme> @pontiki
<pontiki> and is the gem program there?
<ericsupreme> yep gem 2.3
<pontiki> gem and gem2.3 ?
<ericsupreme> well gem1.9.1 and latter to be exact
<ericsupreme> is that the issue should i uninstall the older version?
<pontiki> no, but i'd expect an actual program just "gem" to be there, with no version
<ericsupreme> ohhh
bruce_lee has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
<ericsupreme> if ruby and gem are both in the /usr/bin folder why does ruby -v work and not gem -v
<pontiki> something is messed up, for sure
<pontiki> try `file /usr/bin/gem`
postmodern has joined #ruby
flashpoint9 has joined #ruby
craigp_ has quit [Ping timeout: 240 seconds]
<ericsupreme> hate to be a dense lol but what file name am i replacing 'file' with
<ericsupreme> ERROR: cannot open `/usr/bin/gem' (No such file or directory
ghr has joined #ruby
lxsameer has joined #ruby
jrafanie_ has joined #ruby
<al2o3-cr> ericsupreme: the file command shows file types
flashpoint9 has quit [Ping timeout: 250 seconds]
<ericsupreme> oh ok ERROR: cannot open `/usr/bin/gem' (No such file or directory
mattwashere has joined #ruby
jahrichie has quit [Quit: Leaving.]
ghr has quit [Ping timeout: 240 seconds]
jrafanie has quit [Ping timeout: 250 seconds]
<al2o3-cr> ericsupreme: does gem2.3 -v work
coffeecupp has joined #ruby
mattwashere has quit [Read error: Connection reset by peer]
<pontiki> sorry, ericsupreme, `file` is actually a *nix command
<ericsupreme> and the winner is ............
<ericsupreme> al2o3-cr!!!!!!!!!!!!!!!!!!1
mattwashere has joined #ruby
<ericsupreme> gem2.3 -v worked
<ericsupreme> damn i feel dumb lol thank you
<al2o3-cr> ericsupreme: did you install ruby using your package manager?
pilne has quit [Quit: Quitting!]
<ericsupreme> no command line
ghr has joined #ruby
<al2o3-cr> apt-get i take it?
<ericsupreme> SM didn't have newest version
<ericsupreme> correct
benlieb has joined #ruby
ledestin has joined #ruby
djbkd2 has joined #ruby
tristanp has joined #ruby
tristanp has quit [Remote host closed the connection]
nankyokusei has joined #ruby
<al2o3-cr> ericsupreme: what does ruby -v output btw
<ericsupreme> ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux-gnu]
<pontiki> you installed that version with apt-get?
<pontiki> did you get it from brightbox?
spiette has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
<shevy> ericsupreme probably debian forgot a symlink
<shevy> they will have /usr/bin/ruby and /usr/bin/rubyVERSION or something like that
<ericsupreme> hmmm you know what ...yeah not apt-get
<ericsupreme> bright box isn't ringing a bell ..give me sec i'll tell you
nankyokusei has quit [Ping timeout: 240 seconds]
<shevy> you could always symlink from /usr/bin/gem23 to /usr/bin/gem :)
<ericsupreme> yep i did
<ericsupreme> true thanks shevy
<pontiki> i'd be surprised if you can get that new a version from deb or ubuntu ppa
<ericsupreme> ]\
<al2o3-cr> pontiki: you can't
<pontiki> al2o3-cr: the only place i know to get them that current is brightbox
<al2o3-cr> me too
<ericsupreme> yeah i tried updating my software managers repo
<ericsupreme> and it still wasn't on there
pawnbox has quit [Ping timeout: 250 seconds]
<ericsupreme> brightbox was the only way
xall has joined #ruby
A_Drone has quit [Remote host closed the connection]
Ebok has quit [Quit: This computer has gone to sleep]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
armyriad has quit [Ping timeout: 264 seconds]
moeabdol has joined #ruby
armyriad has joined #ruby
A_Drone has joined #ruby
<shevy> if only debian would make things easy!
ghr has joined #ruby
moeabdol has quit [Ping timeout: 258 seconds]
<shevy> perhaps this will eventually solve all these things https://github.com/snapcore/snapd
<shevy> oddly it needs Go
<lxsameer> does ruby currently have a JIT ?
<al2o3-cr> lxsameer: no
ghr has quit [Ping timeout: 240 seconds]
<lxsameer> thanks
<postapocallyptic> i called a socket method and it returned an error. Errno::ECONNREFUSED: No connection could be made because the target machine actively refused it. - connect(2) however I don't want my software to close after it couldn't connect.
<shevy> you probably may have to use a loop
xue has quit [Remote host closed the connection]
<postapocallyptic> it is inside a loop
coffeecupp has quit [Quit: Lost terminal]
Dimik-- has joined #ruby
<postapocallyptic> pList.ip.each_with_index do |thing,index| loop where thing is unused for now
<Dimik--> i wonder if some one uses capybara for scraping
ghr has joined #ruby
<pontiki> Dimik--: i tried it, once
colegatron_origi has quit [Ping timeout: 276 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
A_Drone has quit [Remote host closed the connection]
colegatron_origi has joined #ruby
<postapocallyptic> so i need to handle exceptions boo
ghr has quit [Ping timeout: 240 seconds]
A_Drone has joined #ruby
maloik93 has joined #ruby
Dimik-- has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
Dimik-- has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
VeryBewitching has joined #ruby
<Dimik--> ideally i think it'd be good right
chouhoulis has joined #ruby
xue has joined #ruby
nando293921 has joined #ruby
nando293921 has quit [Client Quit]
nando293921 has joined #ruby
ghr has joined #ruby
gix has quit [Ping timeout: 260 seconds]
benlieb has quit [Quit: benlieb]
maloik has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
A_Drone has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
mtkd has quit [Ping timeout: 276 seconds]
mtkd has joined #ruby
gix has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
macsteps has joined #ruby
craigp_ has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
agentmeerkat has joined #ruby
nando293921 has quit [Remote host closed the connection]
A_Drone has joined #ruby
craigp_ has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
agentmeerkat has quit [Ping timeout: 264 seconds]
treaki__ has joined #ruby
A_Drone has quit [Remote host closed the connection]
x0f_ has joined #ruby
Ebok has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
zacts has quit [Read error: Connection reset by peer]
treaki_ has quit [Ping timeout: 276 seconds]
x0f has quit [Ping timeout: 258 seconds]
<pontiki> idk, i ended up using watir-webdriver instead; it was a lot easier to get scraping done
jon28_ has joined #ruby
mattwashere has quit [Remote host closed the connection]
jon_ has quit [Ping timeout: 276 seconds]
dylankarr has joined #ruby
dylankarr has quit [Client Quit]
elifoster has joined #ruby
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
dylankarr has joined #ruby
x0f has joined #ruby
<leea> what would you add as a git commit message when doing tdd and implementing the tests so they pass w/ good code
ghr has joined #ruby
x0f_ has quit [Ping timeout: 258 seconds]
diegoviola has quit [Quit: WeeChat 1.5]
blackgoat has quit [Ping timeout: 240 seconds]
<Arcaire> "test tests please ignore"
xlegoman has joined #ruby
<leea> but i'm adding the test so the code works and making it work as intended
<Arcaire> whatever you want, it's your commit log
<dylankarr> "Adding tests for blah, blah blah"
<Arcaire> "passing tests"? id
<Arcaire> k
A_Drone has joined #ruby
<dylankarr> does anyone else prefer capitalizing git commit messages?
<dylankarr> or is it just me?
<Arcaire> i do
Madplatypus has joined #ruby
macsteps has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
dylankarr has left #ruby [#ruby]
enterprisey has joined #ruby
alfiemax has quit [Ping timeout: 258 seconds]
Dimik-- has quit [Read error: Connection reset by peer]
<leea> oh i mean not implementing the tests, but implementing the code that the tests are testing for
<leea> idk if that makes a difference, like let's say i'm red. Then I do green.
Dimik-- has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
A_Drone has joined #ruby
Dimik-- has quit [Read error: Connection reset by peer]
Dimik-- has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
pawnbox has joined #ruby
dionysus69 has joined #ruby
ghr has joined #ruby
sebstrax has joined #ruby
zacts has joined #ruby
<ericsupreme> any particular reason you guys capitalize git commit messages? or you just like the way it looks
<Arcaire> I treat them as a freestanding sentence.
benlieb has quit [Quit: benlieb]
ghr has quit [Ping timeout: 240 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ericsupreme> ok i use all lower case for no reason lol i just do
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
spyder55 has joined #ruby
karapetyan has joined #ruby
auzty has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
<pontiki> they're letters to other people
<pontiki> (and your future self)
<pontiki> you can be as formal or informal as that requires, really
<pontiki> also, sometimes the messages are really long, and that tends to ask for more formal grammar, etc
David27 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<pontiki> i also have tons of yolo commit messages :)
karapetyan has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
ketherah has joined #ruby
A_Drone has quit [Remote host closed the connection]
isberg has quit [Ping timeout: 276 seconds]
zacts has quit [Ping timeout: 272 seconds]
craigp_ has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
ramfjord has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
yadobujo has joined #ruby
Dimik-- has quit [Ping timeout: 244 seconds]
lxsameer has quit [Ping timeout: 250 seconds]
interki has joined #ruby
craigp_ has quit [Ping timeout: 264 seconds]
VeryBewitching has quit [Quit: Konversation terminated!]
roamingdog has quit [Remote host closed the connection]
ghr has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
agentmeerkat has joined #ruby
roamingdog has joined #ruby
lxsameer has joined #ruby
karapetyan has joined #ruby
arescorpio has quit [Quit: Leaving.]
zacts has joined #ruby
agentmeerkat has quit [Ping timeout: 240 seconds]
elifoster has quit [Ping timeout: 252 seconds]
karapetyan has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
leea has joined #ruby
ljames has quit []
xall has quit [Ping timeout: 240 seconds]
speaking1ode has joined #ruby
ghr has joined #ruby
ElFerna has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
xlegoman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
enterprisey has quit [Remote host closed the connection]
craigp_ has joined #ruby
zacts has quit [Quit: WeeChat 1.5]
chouhoulis has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
craigp_ has quit [Ping timeout: 252 seconds]
ascarter has joined #ruby
hastur has joined #ruby
<hastur> hey all, so i'm making an app that's basically a bunch of markers on a map. there are two kinds of markers, A's and B's, but a B is just an A with extra info fields. my question is, should I have A's and B's be separate database entries, or should I use one model (B's) throughout, and fill in the fields when they become relevant, with like a boolean field A.is_B?
ghr has joined #ruby
Guest51731 has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
vavovi has joined #ruby
tubuliferous has quit [Ping timeout: 258 seconds]
alfiemax has joined #ruby
SilverKey has joined #ruby
hxegon is now known as hxegon_afk
Dimik-- has joined #ruby
ghr has joined #ruby
speaking1ode has quit [Ping timeout: 244 seconds]
astrobunny has joined #ruby
roamingdog has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
tubuliferous has joined #ruby
atom_ has joined #ruby
ericsupreme has quit [Quit: Leaving]
roamingdog has joined #ruby
tubuliferous has quit [Max SendQ exceeded]
speaking1ode has joined #ruby
<pontiki> or assume that A is just a special case of B and deal with nil attributes accordingly
roamingdog has quit [Read error: Connection reset by peer]
roamingd_ has joined #ruby
ghr has joined #ruby
tubuliferous has joined #ruby
<hastur> cool! and you think that'd be easier than separate models?
<hastur> and/or """Best Practices""" ?
<pontiki> is there any difference between A and B besides the extra fields?
xall has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
hk238 has joined #ruby
ericsupreme has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
agentmeerkat has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flashpoint9 has joined #ruby
ecnalyr has joined #ruby
karapetyan has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
agentmeerkat has quit [Ping timeout: 240 seconds]
interki has quit [Quit: Going offline, see ya! (www.adiirc.com)]
karapetyan has quit [Ping timeout: 244 seconds]
ecnalyr has quit [Ping timeout: 246 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
yadobujo has quit [Remote host closed the connection]
ghr has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
pawnbox has quit [Remote host closed the connection]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
A_Drone has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
saneax_AFK is now known as saneax
ruby-lang968 has joined #ruby
Tachikomas has joined #ruby
ghr has joined #ruby
SilverKey has quit [Quit: Halted.]
ruby-lang968 has quit [Ping timeout: 250 seconds]
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
Tachikomas has quit [Ping timeout: 264 seconds]
c0mrad3 has quit [Quit: Connection closed for inactivity]
craigp_ has joined #ruby
vuoto has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
johnny56 has quit [Ping timeout: 264 seconds]
Dimik-- has quit []
roamingd_ has quit [Remote host closed the connection]
Rickmasta has joined #ruby
vavovi has quit [Ping timeout: 264 seconds]
johnny56 has joined #ruby
alfiemax has joined #ruby
atom_ has quit [Quit: WeeChat 1.5]
ghr has joined #ruby
sebstrax has quit [Quit: Connection closed for inactivity]
Hobogrammer has quit [Quit: WeeChat 0.4.2]
speaking1ode has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
dminuoso has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
vuoto has quit [Remote host closed the connection]
ericsupreme has quit [Quit: Leaving]
priodev has quit [Ping timeout: 240 seconds]
yokel has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
A_Drone has quit [Ping timeout: 276 seconds]
ltp has quit [Ping timeout: 276 seconds]
yokel has joined #ruby
ltp has joined #ruby
priodev has joined #ruby
mattwashere has joined #ruby
DrCode has quit [Ping timeout: 272 seconds]
Macaveli has joined #ruby
xlegoman has joined #ruby
A_Drone has joined #ruby
mattwashere has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
yadobujo has joined #ruby
yadobujo has quit [Remote host closed the connection]
priodev has quit [Ping timeout: 240 seconds]
yadobujo has joined #ruby
pawnbox_ has joined #ruby
priodev has joined #ruby
matrasss has joined #ruby
QoQOoO has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
QoQOoO has quit [Client Quit]
edwinvdgraaf has joined #ruby
craigp_ has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
<matrasss> good day, people, anyone know a good beginner book for learning ruby?
dionysus69 has quit [Ping timeout: 240 seconds]
<matrasss> also need to know if it is better to get to know ruby before moving onto rails?
hastur has quit [Quit: Leaving]
ghr has quit [Ping timeout: 240 seconds]
ketherah has quit [Quit: Connection closed for inactivity]
rumia has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
<shevy> matrasss https://pine.fm/LearnToProgram/chap_00.html is still good
<shevy> for more content you may have to use an oldschool book
agentmeerkat has joined #ruby
craigp_ has joined #ruby
A_Drone has quit [Remote host closed the connection]
ghr has joined #ruby
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
finnnnnnnnnnn has joined #ruby
A_Drone has joined #ruby
amclain has quit [Quit: Leaving]
daumie has joined #ruby
priodev has quit [Ping timeout: 240 seconds]
pawnbox_ has quit [Remote host closed the connection]
naftilos76 has joined #ruby
pawnbox has joined #ruby
agentmeerkat has quit [Ping timeout: 276 seconds]
craigp_ has quit [Ping timeout: 258 seconds]
priodev has joined #ruby
dionysus69 has joined #ruby
abonec has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
Xiti has quit [Quit: Xiti]
dminuoso has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 240 seconds]
dminuoso has joined #ruby
ngw has joined #ruby
conta has joined #ruby
ghr has joined #ruby
nankyokusei has joined #ruby
Sucks has joined #ruby
dennisvennink has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
nankyokusei has quit [Ping timeout: 250 seconds]
vavovi has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
neanderslob has joined #ruby
yardenbar has joined #ruby
finnnnnnnnnnn has joined #ruby
ghr has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
dminuoso has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
neanderslob has quit [Remote host closed the connection]
the_drow has joined #ruby
mark_66 has joined #ruby
Pupeno has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
travisxcode has joined #ruby
Hounddog has joined #ruby
DoubleMalt has joined #ruby
ghr has joined #ruby
moeabdol has joined #ruby
TomyWork has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
burgestrand has joined #ruby
xlegoman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mattwashere has joined #ruby
charliesome has joined #ruby
spyder55 has quit []
ghr has joined #ruby
spyder55 has joined #ruby
spyder55 has quit [Client Quit]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dminuoso has joined #ruby
mattwashere has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 240 seconds]
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
andikr has joined #ruby
vondruch has quit [Ping timeout: 252 seconds]
codecop has joined #ruby
execat_ has quit [Ping timeout: 244 seconds]
hk238 has quit [Ping timeout: 260 seconds]
ngw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrobunny has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
astrobunny has joined #ruby
Pupeno has quit [Remote host closed the connection]
ghr has joined #ruby
A_Drone has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
priodev has quit [Ping timeout: 244 seconds]
spyder55 has joined #ruby
craigp_ has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
ltp has quit [Ping timeout: 246 seconds]
ltp has joined #ruby
priodev has joined #ruby
blaxter has joined #ruby
omphe has joined #ruby
Pupeno has joined #ruby
aganov has joined #ruby
futilegames has quit [Quit: futilegames]
jgrevich has quit [Quit: leaving]
antgel has joined #ruby
hk238 has joined #ruby
<adaedra> Hello
tvw has joined #ruby
QoQOoO has joined #ruby
Meow-J has joined #ruby
Xeago_ has joined #ruby
spyder55 has quit []
dgynn has quit [Quit: dgynn]
A_Drone has quit [Remote host closed the connection]
moeabdol has quit [Ping timeout: 244 seconds]
QoQOoO has quit [Read error: Connection reset by peer]
aufi has joined #ruby
spyder55 has joined #ruby
blackmesa has joined #ruby
priodev has quit [Ping timeout: 240 seconds]
tmtwd has quit [Ping timeout: 264 seconds]
A_Drone has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
kedare has joined #ruby
Pupeno has quit [Remote host closed the connection]
priodev has joined #ruby
karapetyan has joined #ruby
colegatron_origi has quit [Ping timeout: 276 seconds]
A_Drone has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 244 seconds]
nadir has quit [Quit: Connection closed for inactivity]
QoQOoO has joined #ruby
ngw has joined #ruby
xall has quit [Read error: Connection reset by peer]
minimalism has quit [Ping timeout: 276 seconds]
ponga has joined #ruby
spyder55 has quit []
anisha has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
kirun has joined #ruby
astrobunny has quit [Remote host closed the connection]
johnny56 has quit [Read error: Connection reset by peer]
seventy has joined #ruby
skade has joined #ruby
armyriad has quit [Ping timeout: 244 seconds]
vavovi has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
multi_io has quit [Ping timeout: 246 seconds]
daumie has quit [Quit: WeeChat 1.4]
brianpWins has quit [Read error: Connection reset by peer]
brianpWins has joined #ruby
johnny56 has joined #ruby
daumie has joined #ruby
daumie has quit [Client Quit]
colegatron_origi has joined #ruby
multi_io has joined #ruby
execat has joined #ruby
Jen0vaCore has joined #ruby
minimalism has joined #ruby
karapetyan has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
spyder55 has joined #ruby
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 250 seconds]
QoQOoO has quit [Remote host closed the connection]
execat has quit [Ping timeout: 252 seconds]
QoQOoO has joined #ruby
mechanicles has joined #ruby
solars has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
Ponyo has quit [Quit: Ponyo]
elaptics`away is now known as elaptics
vondruch has joined #ruby
QoQOoO has quit [Remote host closed the connection]
QoQOoO has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
QoQOoO has quit [Client Quit]
dionysus69 has joined #ruby
arlek has joined #ruby
yeticry has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
tmtwd has joined #ruby
mtkd has quit [Ping timeout: 250 seconds]
burgestrand has joined #ruby
karapetyan has joined #ruby
mtkd has joined #ruby
A_Drone has joined #ruby
DaniG2k has joined #ruby
the_drow has joined #ruby
arnab has joined #ruby
roshanavand has joined #ruby
<arnab> Anyone know why rvm list shows me only one ruby (2.3.0) while ruby -v shows me 1.8.7?
<burgestrand> arnab system ruby is typically outside of RVM
<burgestrand> arnab 1.8.7 is *really* old, probably from your system's default ruby, you can do `rvm use 2.3.0` to change to 2.3
spyder55 has quit []
<arnab> Burgestrand: Right. So is there any way I can tell bundle to use the rvm ruby version?
<arnab> rvm is already telling me that 2.3.0 is default *and* current
spyder55 has joined #ruby
spyder55 has quit [Max SendQ exceeded]
<burgestrand> arnab Ok, if `ruby -v` is still saying 1.8.7 then there's probably an installation issue there: https://rvm.io/support/troubleshooting
execat has joined #ruby
rikkipitt has joined #ruby
coffeecupp has joined #ruby
agentmeerkat has joined #ruby
Sashimi has joined #ruby
coffeecupp has quit [Client Quit]
Xeago_ has joined #ruby
execat has quit [Ping timeout: 260 seconds]
atom_ has joined #ruby
Pupeno has joined #ruby
bigkevmcd has joined #ruby
Pupeno has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Chair has joined #ruby
agentmeerkat has quit [Ping timeout: 276 seconds]
Pupeno has joined #ruby
willemb has joined #ruby
tmtwd has quit [Ping timeout: 272 seconds]
<willemb> Hi. I need some advice around managing gem sources on a big-ish network
tjohnson has quit [Quit: Connection closed for inactivity]
jaruga___ has joined #ruby
<willemb> how does the gem client traverse the source list, for instance? If I add multiple sources, will it try them in order, trying each one in turn until one works? or will my gem install fail if the gem cannot be found at the top source?
<apeiros> ping drbrain ^
<apeiros> willemb: if drbrain isn't around and nobody else can answer, I'd go to the mailinglist
blackgoat has joined #ruby
<arnab> 'ruby -v' is now giving me 2.3.0 when I'm ssh'ed into the server, but when doing 'ruby -v' as part of a teamcity build step..it still shows 1.8.7 :(
pawnbox has quit [Remote host closed the connection]
Pupeno has quit [Quit: Leaving...]
nankyokusei has joined #ruby
<atom_> willemb: however big is the network, it might help to set a caching proxy on that network
<willemb> thanks, atom_ that is what I am working on
execat has joined #ruby
<willemb> We have 3 locations. one with about 500 nodes, the other 2 have around 1000 nodes each.
eGGshke has joined #ruby
dionysus69 has quit [Ping timeout: 272 seconds]
<willemb> I am rolling out proxies. My question is this: is there any value in having all 3 proxies configured on all machines, ordering the local one first, or should I not have anything other than the local one and rubygems.org listed ?
<TomyWork> you know what would be great? syntax-level support for currying... def foo(bar)(baz)
<TomyWork> returns a Method
<atom_> willemb: if you had a LB that pointed to the nearest proxy depending on the location on the VM, that would also help reduce latency
<atom_> (assuming you're using VMs, but you get the point)
tristanp has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
M4dH4TT3r has joined #ruby
<willemb> yea, atom_ that would work. But what would the point be, if there isn't a LB in each location?
M4dH4TT3r is now known as Guest76251
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> arnab: sounds like your teamcity build steps don't have the same env as your user (sudo? other things?)
execat has quit [Ping timeout: 260 seconds]
<atom_> none - then you would have VMs with low latency to your proxy and 2/3 of your infra that would still suffer from latency
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
<willemb> so that leaves me with the same problem - determining which lb is the closest isn't any easier than determining which proxy is the closest
<willemb> My whole infrastructure is under puppet control, so I can easily specify with hieradata which proxy to use
<willemb> however, if the gem client will try the next source in the list automatically, I can take one proxy down for maintenance with little disruption
tristanp has quit [Ping timeout: 252 seconds]
tubuliferous has quit [Ping timeout: 240 seconds]
<atom_> I see your point
<atom_> hm
cd-rum_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
execat has joined #ruby
<willemb> unrelated question: Is there an easy way to programatically determine if a given ip address is 'in' a range?
<willemb> in a specific range, I should say
charliesome has joined #ruby
<atom_> I don't know how much time you have to develop this solution, but also consider how Fedora/CentOS handle their repositories
<atom_> they have a single URL in the repo files (inside /etc/yum.repos.d), and that one makes subsequent requests go to the nearest server
latemus has joined #ruby
<atom_> I think this approach is what you're looking for
<apeiros> willemb: ipaddr (stdlib) can do that iirc.
<willemb> ok, thanks
<seventy> Ruby man. I keep coming here and never know if I should learn it.
TheHodge has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> yupp, just tested. it does.
execat has quit [Ping timeout: 272 seconds]
tubuliferous has joined #ruby
<arnab> Burgestrand: I think I figured it out. /usr/bin/ruby -v gives me 1.8.7 but ruby -v gives me 2.3.0
<arnab> The question now is: how do i get teamcity and bundle to use 2.3.0?
<burgestrand> arnab that's quite a lot different from what you originally asserted in that `ruby -v` gave you 1.8.7!
<apeiros> arnab: either ensure they have the proper env, or use a wrapper
<burgestrand> arnab what about `which bundle`, where is it?
<arnab> yes, that's after doing rvm get stable and stuff
<arnab> Burgestrand: ~/.rvm/gems/ruby-2.3.0/bin/bundle
<burgestrand> arnab assuming `ruby -v` is 2.3.0, `bundle` ought to use 2.3.0 now
<arnab> apeiros: I'm using the same user as teamcity
<burgestrand> I don't know what teamcity is though, I'm afraid
<arnab> teamcity is just something that automates build steps.
<apeiros> "same user" != "same login shell with same env", though
<arnab> apeiros: true
giz|work has joined #ruby
ecnalyr has joined #ruby
voodoofish4301 has quit [Ping timeout: 252 seconds]
voodoofish4301 has joined #ruby
arlek has quit [Ping timeout: 240 seconds]
ecnalyr has quit [Ping timeout: 260 seconds]
<arnab> apeiros: so I ran "env" on both my ssh session and as part of a teamcity step
<arnab> I get the following things which teamcity does NOT have set
<arnab> GEM_HOME, IRBRC, MY_RUBY_HOME, GEM_PATH, RUBY_VERSION
rikkipitt has quit [Remote host closed the connection]
benlieb has joined #ruby
symm- has joined #ruby
execat has joined #ruby
omphe has joined #ruby
Guest76251 has quit [Ping timeout: 246 seconds]
Xeago_ has quit [Remote host closed the connection]
workmad3 has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
execat has quit [Ping timeout: 258 seconds]
coffeecupp has joined #ruby
yfeldblum has quit [Remote host closed the connection]
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest76251 has joined #ruby
tvw has quit [Ping timeout: 264 seconds]
craigp_ has quit [Quit: WeeChat 1.5]
Sucks has quit [Ping timeout: 264 seconds]
omphe has joined #ruby
craigp has joined #ruby
<arnab> Burgestrand: running "which bundle" through teamcity gives me "/usr/bin/bundle"
agentmeerkat has joined #ruby
karapetyan has quit [Remote host closed the connection]
<arnab> Is that maybe the root cause?
flashpoint9 has joined #ruby
<apeiros> yes. /usr/bin is system stuff. not rvm.
<arnab> ok
<apeiros> rvm is (usually) ~/.rvm/…
<arnab> indeed
rikkipitt has joined #ruby
rikkipitt has quit [Remote host closed the connection]
<arnab> so if I get "something something rvm/bundle" when doing 'which bundle' through ssh
<burgestrand> arnab so you probably once did "sudo gem install bundler", which is a no-no
coffeecupp has quit [Ping timeout: 260 seconds]
<arnab> Burgestrand: not that I remember, but go on. Is there a way to fix that?
benlieb has quit [Quit: benlieb]
<burgestrand> arnab it's possible something else did, but personally I'd do `sudo gem uninstall bundler`, however the risk is that something else once did install bundler using sudo and is relying on it to be there
<burgestrand> arnab however, it might be sufficient to just do "gem install bundler" from your ruby -v 2.3, and it'll take precedence
<arnab> is it possible to see what is possibly depending on /usr/bin/bundler ?
<arnab> how do i do gem install bundler from my ruby -v 2.3?
<burgestrand> arnab I highly doubt it, computer systems is just a heap of invisible spaghetties connecting the meatballs that are binaries and libraries
<burgestrand> arnab if you do "ruby -v" and it says "2.3.0", then it should be sufficient to do "gem install bundler"
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arnab> heh, done that 10 times now
<arnab> so I guess the nuclear option is the only one left
flashpoint9 has quit [Ping timeout: 250 seconds]
edwinvdgraaf has quit [Ping timeout: 272 seconds]
agentmeerkat has quit [Ping timeout: 276 seconds]
execat has joined #ruby
Parko has quit [Quit: In a while, crocodile]
<arnab> Burgestrand: so I did the 'sudo gem uinstall bundler'
<arnab> However, ruby -v still gives me 1.8.7 in teamcity and 2.3.0 in ssh
<apeiros> uninstalling bundler does not fix your missing envs
<apeiros> if you're just "how do I solve this quickly", then IMO just use a wrapper.
<burgestrand> arnab teamcity is probably it's own user? you need to make sure that user initializes RVM the same way you do in your .bash_profile
<burgestrand> arnab or use a wrapper, like apeiros says
the_drow has joined #ruby
Coldblackice has quit [Ping timeout: 264 seconds]
<burgestrand> arnab I can't find the wrapper documentation on rvm website though
execat has quit [Ping timeout: 258 seconds]
<burgestrand> arnab rvm also has its' own IRC on #rvm
karapetyan has joined #ruby
<apeiros> seems to have been replaced by rvm alias?
<apeiros> not sure. and sadly not enough time to investigate.
* apeiros hasn't had to deploy to anything which needed wrappers for a long time
<burgestrand> apeiros aliases are just another way to name commonly used ruby versions with another name, e.g. rvm use super-old-ruby
<burgestrand> (or, I guess, rvm use ruby-for-project-titan)
jaiks has joined #ruby
<latemus> everyone's nicks begin with a and b, i'm feeling very uneasy here
<burgestrand> latemus it's this new thing, you're late(mus) to the party
astrobunny has joined #ruby
edwinvdgraaf has joined #ruby
elaptics is now known as elaptics`away
Coldblackice has joined #ruby
arup_r has joined #ruby
<arup_r> Is there any more clean way to get the last integer out of this string? "show_announcement_100"[/.*_(\d+)\z/, 1]
charliesome has joined #ruby
<latemus> Burgestrand: haha
<burgestrand> arup_r well, I'd claim you don't need ".*_" as part of your regex since you have \z :)
solars has quit [Ping timeout: 276 seconds]
bruce_lee has joined #ruby
<arup_r> Burgestrand: ok thanks :) I removed. regex is always scary to me because I didn't learn it yet properly
deuterium has quit [Ping timeout: 272 seconds]
<burgestrand> arup_r otherwise, imo it's acceptable and clean enough
daffy_duck_3 has joined #ruby
<burgestrand> arup_r (and just to be clear, "\d+\z" is sufficient as your regex)
<burgestrand> >> "show_announcement_100"[/\d+\z/]
<ruby[bot]> Burgestrand: # => "100" (https://eval.in/603270)
<arup_r> hm
<burgestrand> arup_r you don't need the parentheses because the \z is a zero-width match, so your entire match becomes just the numbers
<al2o3-cr> just /\d+/ in that string should suffice
<arup_r> thanks for making it tiny :p
<burgestrand> arup_r al2o3-cr is also correct, however it depends if you ever happen to have numbers anywhere else in the string but still just want the ones towards the end
<burgestrand> >> "10_show_announcement_100"[/\d+/]
<ruby[bot]> Burgestrand: # => "10" (https://eval.in/603271)
<burgestrand> >> "10_show_announcement_100"[/\d+\z/]
<burgestrand> Flood? :o
<ruby[bot]> Burgestrand: # => "100" (https://eval.in/603272)
<burgestrand> Yay!
<al2o3-cr> :)
daffy_duck_2 has quit [Ping timeout: 276 seconds]
travisxcode has quit [Ping timeout: 240 seconds]
execat has joined #ruby
Chair has quit [Ping timeout: 246 seconds]
A_Drone has quit [Remote host closed the connection]
coffeecupp has joined #ruby
execat has quit [Ping timeout: 276 seconds]
elaptics`away is now known as elaptics
minimalism has quit [Quit: minimalism]
gumbee has joined #ruby
TvL2386 has quit [Remote host closed the connection]
execat has joined #ruby
pandaant has joined #ruby
coffeecupp has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
charliesome has joined #ruby
charliesome has quit [Client Quit]
execat has quit [Ping timeout: 272 seconds]
benlieb has joined #ruby
Wildfyr has joined #ruby
mattwashere has joined #ruby
execat has joined #ruby
connor_goodwolf has joined #ruby
giz|work has quit [Ping timeout: 276 seconds]
mattwashere has quit [Ping timeout: 276 seconds]
execat has quit [Ping timeout: 250 seconds]
coffeecupp has joined #ruby
<arnab> Burgestrand: interesting. I tried doing "rvm list" on teamcity and it just said "rvm command not found". So I guess it's time to ping teamcity support :P
coffeecupp has quit [Client Quit]
giz|work has joined #ruby
roamingdog has joined #ruby
execat has joined #ruby
<burgestrand> arnab your SSH user probably has "source $HOME/.rvm/scripts/rvm", but the teamcity user probably don't
<burgestrand> arnab as part of its' .bash_profile
<arnab> Burgestrand: the users are both the same, which is why I am stumped :(
<burgestrand> arnab perhaps teamcity is not using a login shell for its things, and as such don't execute .bash_profile?
<arnab> Maybe not, but our old teamcity server is doing the same thing on another server
<arnab> But let's see if adding that as a step fixes it
Snowy has joined #ruby
Jet4Fire has quit []
execat has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Quit: WeeChat 1.5]
<dminuoso> arnab: Note, using RVM for production uses is a bad idea.
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
codecop has quit [Remote host closed the connection]
<dminuoso> It hooks into shell commands like cd/do - which is a particularly bad idea to do on a production system.
xrlabs has joined #ruby
<arnab> dminuoso: which is why putting into a step was just a check, not my end goal :=)
Ropeney has joined #ruby
execat has joined #ruby
jmignault has quit [Ping timeout: 240 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
j-em has joined #ruby
astrobunny has quit [Remote host closed the connection]
<adaedra> I suppose 512 is also out-of-question.
j-em is now known as elvis4526
<elvis4526> What's the best ruby IDE ?
<ytti> vim, atom
<elvis4526> :(
<ytti> people who are wrong say emacs
<adaedra> ?best
<ruby[bot]> "better" and "best" depend entirely on your context. Try to describe what quality would make one thing better than the other.
<elvis4526> The best at making me as productive as possible..
allcentury has joined #ruby
jrafanie_ has quit [Ping timeout: 246 seconds]
<ytti> editor is not gonna make or break your productivity
<ytti> if you're motivated, ed is all you need
benlieb has quit [Quit: benlieb]
<elvis4526> What about echo ?
<ytti> sure
craigp has quit [Ping timeout: 276 seconds]
<elvis4526> It feels way less bloated than ed
benlieb has joined #ruby
execat has quit [Ping timeout: 252 seconds]
<adaedra> so we're editor-war'ing betweed ed and echo now?
<ytti> race to the bottom
<Wildfyr> why not cat
<Wildfyr> cat > file
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Max SendQ exceeded]
nankyokusei has joined #ruby
Emmanuel_Chanel has joined #ruby
sdothum has joined #ruby
AlexRussia has joined #ruby
<elvis4526> What I'd really like is a community edition of RubyMine.
Ishido has joined #ruby
pawandubey has joined #ruby
benlieb has quit [Ping timeout: 258 seconds]
execat has joined #ruby
arup_r has quit [Remote host closed the connection]
Xeago_ has joined #ruby
vuoto has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
tristanp has joined #ruby
elvis4526 has quit [Quit: Lost terminal]
execat has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
solars has joined #ruby
pawnbox has joined #ruby
Xeago_ has quit [Remote host closed the connection]
Chair has joined #ruby
tristanp has quit [Ping timeout: 276 seconds]
Xeago_ has joined #ruby
craigp has joined #ruby
rikkipitt has joined #ruby
johnmilton has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
Xeago__ has joined #ruby
chip_ has joined #ruby
<pawandubey> \quit
pawandubey has quit [Quit: ERC (IRC client for Emacs 24.5.2)]
pandaant has quit [Remote host closed the connection]
ngw has quit [Quit: Textual IRC Client: www.textualapp.com]
rodfersou has joined #ruby
execat has joined #ruby
toretore has joined #ruby
mentok has quit [Ping timeout: 250 seconds]
DaniG2k has quit [Quit: leaving]
blaxter has quit [Ping timeout: 276 seconds]
execat has quit [Ping timeout: 246 seconds]
umdstu has joined #ruby
karapetyan has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 276 seconds]
auzty has quit [Quit: Leaving]
deecross has joined #ruby
Coldblackice has quit [Ping timeout: 276 seconds]
edwinvdgraaf has joined #ruby
tubuliferous has joined #ruby
burgestrand has joined #ruby
AlexRussia has quit [Ping timeout: 276 seconds]
tvw has joined #ruby
flashpoint9 has joined #ruby
naftilos76 has quit [Ping timeout: 258 seconds]
<burgestrand> dminuoso why?
haxrbyte_ has joined #ruby
tubuliferous has quit [Ping timeout: 272 seconds]
Coldblackice has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
Snowy has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
giz|work has quit [Ping timeout: 244 seconds]
alexherbo2 has quit [Ping timeout: 258 seconds]
Emmanuel_Chanel has quit [Quit: Leaving]
solars has quit [Ping timeout: 246 seconds]
haxrbyte has quit [Ping timeout: 276 seconds]
spyder55 has joined #ruby
spyder55 has quit [Max SendQ exceeded]
spyder55 has joined #ruby
roamingdog has quit [Remote host closed the connection]
execat has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
Xeago__ has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 272 seconds]
Xeago_ has joined #ruby
agentmeerkat has joined #ruby
<shevy> incredibly hot today
execat has quit [Ping timeout: 272 seconds]
blaxter has joined #ruby
freerobby has joined #ruby
Ebok has joined #ruby
Fernando-Basso has joined #ruby
agentmeerkat has quit [Ping timeout: 252 seconds]
dionysus69 has joined #ruby
naftilos76 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
hanmac has quit [Ping timeout: 272 seconds]
spiette has joined #ruby
<Bish> >> x = Object.new;def x.[] test
<ruby[bot]> Bish: # => /tmp/execpad-6d2b5473fac9/source-6d2b5473fac9:7: syntax error, unexpected end-of-input, expecting ke ...check link for more (https://eval.in/603350)
Guest76251 has quit [Ping timeout: 260 seconds]
Guest76251 has joined #ruby
<Bish> are blocks not valid on [] ?
<Bish> :(
<shevy> I think the parser has a problem with it
<Bish> that sucks
<Bish> why would it?
JeanCarloMachado has joined #ruby
<shevy> not sure
<shevy> we have on one line ...
<Bish> wrote a class "CacheHash", which caches the result of a block :/
<shevy> [] like an Array, and {} for either a hash or a block-syntax
<shevy> if I replace via do end I get:
<shevy> syntax error, unexpected keyword_do_block, expecting end-of-input
<Bish> .[](k) {} works though
<shevy> you mean in the definition?
spiette has quit [Ping timeout: 240 seconds]
<shevy> ah you mean invoke via .
<Bish> yep
execat has joined #ruby
marr has joined #ruby
<shevy> I can't get anything to work
<shevy> do you have a working sample file?
<Bish> >> x = Object.new; def x.[] x; yield; end; x.[](1) { puts "hi" }
<ruby[bot]> Bish: # => hi ...check link for more (https://eval.in/603363)
tubuliferous has joined #ruby
<Bish> >> x = Object.new; def x.[] x; yield; end; x[1] { puts "hi" }
<ruby[bot]> Bish: # => /tmp/execpad-e324acebf68a/source-e324acebf68a:2: syntax error, unexpected { arg, expecting keyword_e ...check link for more (https://eval.in/603365)
<Bish> too bad
<Bish> >> x = Object.new; def x.[] x; yield; end; x[1] do; puts "hi"; end;
<ruby[bot]> Bish: # => /tmp/execpad-e8112d33a3dc/source-e8112d33a3dc:2: syntax error, unexpected keyword_do_block, expectin ...check link for more (https://eval.in/603366)
<apeiros> Bish: no, symbolic methods can't take a block
<apeiros> that means none of +, -, *, [], []= etc. can take one
<Bish> why? :(
Mimorial has joined #ruby
ldnunes has joined #ruby
<apeiros> ask matz
<Bish> i don't speak japanese
giz|work has joined #ruby
<shevy> hmm
<jhass> matz speaks english though
tristanp has joined #ruby
<apeiros> and ambiguity is quite likely an issue
<Bish> guess so
<Bish> but they can take blocks, as it seems
<Bish> just not if they are called like they're supposed to
<apeiros> if you use send/public_send, yes
<shevy> really peculiar syntax
execat has quit [Ping timeout: 250 seconds]
<jhass> in non-sugar syntax too, as already noted
<jhass> >> 1.*(2) { x }
<ruby[bot]> jhass: # => 2 (https://eval.in/603370)
<shevy> x.[](1,2,3,4,5) { puts "hi" }
tubuliferous has quit [Ping timeout: 264 seconds]
hanmac has joined #ruby
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Max SendQ exceeded]
Emmanuel_Chanel has joined #ruby
tristanp has quit [Ping timeout: 246 seconds]
Coldblackice has quit [Ping timeout: 260 seconds]
<Bish> has someone written a dynamic cache for a methods? like usaged in dynamic programming
<Bish> i wrote a hash for that, but then it came to my mind, that this could be done genericially
pierre`` has joined #ruby
<apeiros> ruby already has an inline method cache?
<Bish> has it? wait let me give an example
execat has joined #ruby
<apeiros> yes. otherwise it'd be a lot slower. method lookup is expensive.
<Bish> that's not what i meant
<Bish> wait a sec please!
nando293921 has joined #ruby
MrBusiness2 has joined #ruby
<Papierkorb> apeiros: is Bish talking about memoization?
<shevy> that would be cool
<Bish> i think so
<apeiros> Papierkorb: maybe
<shevy> like a squeak VM that gets changed at runtime and remains persistent
* apeiros waits patiently and sees
<Bish> like fib(n) always calculating for n
<shevy> oh that sounds indeed like memoization
<Bish> and instead of calculating you can save the result for n
<Papierkorb> Bish: Just a delegator with method_missing, where you can do the hash lookup and if it's not there yet, just call into the method itself
<Papierkorb> Bish: then you have it pretty generically.
koooge has quit [Quit: Leaving...]
<Bish> Papierkorb: i didn't get that yet, i was more thinking about saving the method, renaming it, wrap it
roamingdog has quit [Remote host closed the connection]
<apeiros> Bish: yes that's memoization, and there's plenty of gems for it
Vingador has joined #ruby
roamingdog has joined #ruby
Coldblackice has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
execat has quit [Ping timeout: 260 seconds]
pierre`` has quit [Quit: rcirc on GNU Emacs 24.5.1]
MrBusiness has quit [Ping timeout: 272 seconds]
<arnab> Burgestrand: Would this be a good way to install cucumber on centos?
<arnab> (using ruby 2.3.0 obviously)
charliesome has joined #ruby
<burgestrand> arnab yeah, looks simple enough, prereqs using apt and then rvm for ruby, and then the ruby package manager without sudo :)
roamingdog has quit [Read error: Connection reset by peer]
roamingd_ has joined #ruby
<shevy> arnab should work if you try the more recent ruby of course... blog mentions 1.9.x
flashpoint9 has joined #ruby
<arnab> Burgestrand: yes, I guess you mean yum since im on centos?
<burgestrand> arnab yum, apt, rpm, whatever :)
<shevy> you make me so hungry
<shevy> the yummy burger
<burgestrand> :)
<burgestrand> nice to see you're still around here shevy
<shevy> I idle to power!
Ebok has quit [Quit: This computer has gone to sleep]
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
omphe has joined #ruby
<Bish> Hash.new { |h,k| if k < 2;1;else;h[k] = (h[k-1]=h[k-1])+(h[k-2]=h[k-2]);end; }
<Bish> why doesn't this work :D
<shevy> what are you doing
nando293921 has quit [Ping timeout: 246 seconds]
griffindy has joined #ruby
<Bish> trying to generate a fibonnaci hash, that caches results
<apeiros> Bish: because it's broken
flashpoint9 has quit [Ping timeout: 250 seconds]
<shevy> aha
<Bish> well, result is correct, but the hash is empty
<Bish> or.. is it? i dunn
<shevy> Hash.new { |h,k| if k < 2;1;else;h[k] = (h[k-1]=h[k-1])+(h[k-2]=h[k-2]);end; } == {} # => true
<shevy> yes!
omphe has quit [Client Quit]
<shevy> a very complicated way to create an empty hash
<Bish> yes it's broken :D, but i actually want to know why hash is empty
roamingd_ has quit [Remote host closed the connection]
synthroid has joined #ruby
<shevy> sets a default
<apeiros> Bish: um, mine isn't?
<apeiros> that is, after you use it at least once
<shevy> ah
<Bish> oh yes, im an idiot
<Bish> print was before
<shevy> x = Hash.new { |h,k| if k < 2;1;else;h[k] = (h[k-1]=h[k-1])+(h[k-2]=h[k-2]);end; }
allcentury has joined #ruby
<adaedra> >> Hash.new { |h,k| if k < 2;1;else;h[k] = (h[k-1]=h[k-1])+(h[k-2]=h[k-2]);end; }.tap { h[5] }
<ruby[bot]> adaedra: # => undefined local variable or method `h' for main:Object (NameError) ...check link for more (https://eval.in/603375)
<shevy> x[5] # => 8
<shevy> x # => {1=>1, 0=>1, 2=>2, 3=>3, 4=>5, 5=>8}
<adaedra> duh.
<shevy> magic data!
Jet4Fire has joined #ruby
<adaedra> >> Hash.new { |h,k| if k < 2;1;else;h[k] = (h[k-1]=h[k-1])+(h[k-2]=h[k-2]);end; }.tap { |h| h[5] }
<ruby[bot]> adaedra: # => {1=>1, 0=>1, 2=>2, 3=>3, 4=>5, 5=>8} (https://eval.in/603376)
<adaedra> There's a small order problem tho :D
zacstewart has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
<shevy> hmmmm
karapetyan has joined #ruby
<adaedra> That's actually a creative use of Hash default
bradflaugher has joined #ruby
spyder55 has quit []
<Bish> Hash.new({1=>1,0=>1}) { |h,k| h[k] = h[k-1]+h[k-2] } this would've been real beauty
tubuliferous has joined #ruby
mattwashere has joined #ruby
mcls has joined #ruby
symm- has joined #ruby
deecross has quit [Remote host closed the connection]
execat has joined #ruby
<Bish> adaedra: thanks, that's for cs 1:1 is good for i guess
Xeago_ has quit [Remote host closed the connection]
sergio_101 has joined #ruby
spiette has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
rikkipitt has quit [Remote host closed the connection]
<shevy> you people are very advanced
<shevy> I don't think I have encountered a line like the above one in real code yet!
rikkipitt has joined #ruby
mattwashere has quit [Ping timeout: 250 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
karapetyan has quit [Ping timeout: 244 seconds]
Guest76251 has quit [Ping timeout: 244 seconds]
<shevy> hmmm
<shevy> Bish!
<shevy> does the code work?
Xeago_ has joined #ruby
deuterium has joined #ruby
Xeago_ has quit [Remote host closed the connection]
execat has quit [Ping timeout: 276 seconds]
spyder55 has joined #ruby
pawnbox has quit [Remote host closed the connection]
roamingdog has joined #ruby
Guest76251 has joined #ruby
Snowy has quit [Remote host closed the connection]
AngryBuzzy has joined #ruby
ghr has joined #ruby
rikkipitt has quit [Ping timeout: 272 seconds]
Sashimi has quit [Quit: Textual IRC Client: www.textualapp.com]
Xeago_ has joined #ruby
mattwashere has joined #ruby
<apeiros> recursive implementation of fib is still a bad idea, though. n^2 invocations for an inherently linear problem.
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago_ has quit [Remote host closed the connection]
charliesome has joined #ruby
* adaedra puts a "FUN KILLER"-sticker on apeiros
deecross has joined #ruby
* apeiros adds a "proudly so"-sticker below it
execat has joined #ruby
<Bish> shevy: yes it does, but what adaedra says is true
burgestrand has quit [Ping timeout: 240 seconds]
Wildfyr has quit [Ping timeout: 246 seconds]
<willemb> ping drbrain ^
antgel has quit [Ping timeout: 260 seconds]
<willemb> still no takers on 'what happens if I have multple gem sources' ?
<apeiros> willemb: I've only an expectation. but no knowledge what actually happens.
burgestrand has joined #ruby
bensarz has joined #ruby
<dminuoso> Burgestrand: Why what?
<shevy> hmm
<shevy> I get an error in irb
antgel has joined #ruby
<shevy> x = Hash.new({1=>1,0=>1}) { |h,k| h[k] = h[k-1]+h[k-2] } # ArgumentError: wrong number of arguments (given 1, expected 0)
agentmeerkat has joined #ruby
<dminuoso> Burgestrand: Why I think that hooking core shell comands like "cd" to implement a version changing feature that realistically only requires managing PATH properly is a bad idea?
<apeiros> shevy: can't have default value and proc
<burgestrand> dminuoso advising people not to use rvm in production
<dminuoso> Burgestrand: Because RVM is highly intrusive into core system parts.
<burgestrand> dminuoso why is that a problem if it's a stable solution?
<dminuoso> Burgestrand: Stable by what measure?
execat has quit [Ping timeout: 276 seconds]
Mimorial has quit [Quit: Leaving]
<burgestrand> dminuoso I understand why people have restraints against using RVM in general, but I don't feel like pushing an opinion upon others as fact is constructive
Xeago_ has joined #ruby
execat has joined #ruby
<burgestrand> dminuoso i.e. "I don't think you should use in RVM in production because …" is cool, "RVM is not for production" not so cool
<dminuoso> Burgestrand: I don't care much about RVM, but hacking shell commands is not a stable solution.
<dminuoso> Burgestrand: Did you even bother to read the second sentence I wrote shortly afterwards?
<dminuoso> Or did you just skip everything to immediately nitpick on it.
<burgestrand> dminuoso if you disagree with me that's fine, but there's no need to resort to that level of arguments.
<elomatreb> It's a freaking version manager. Nothing this boring should warrant a discussion this heated
AlexRussia has joined #ruby
pawnbox has joined #ruby
<dminuoso> 14:23 < Burgestrand> dminuoso i.e. "I don't think you should use in RVM in production because …" is cool, "RVM is not for production" not so cool
<dminuoso> I explained why it sucks right at the beginning.
nadir has joined #ruby
agentmeerkat has quit [Ping timeout: 272 seconds]
<dminuoso> So Im not sure what your problem is.
<burgestrand> dminuoso did you explain it to me, or to the person you were saying it to before?
<apeiros> dminuoso: the dressing an opinion as a fact part is
<apeiros> and I concur with Burgestrand on that
Coldblackice has quit [Ping timeout: 240 seconds]
<burgestrand> dminuoso if you did explain it to the person having rvm issues then that's cool, I missed that because I disconnected, but if you didn't I really think you should!
<dminuoso> Burgestrand: It appears that you immediately disconencted after that first statement. So I guess its a misunderstanding then
<dminuoso> 12:22 < dminuoso> It hooks into shell commands like cd/do - which is a particularly bad idea to do on a production system.
<burgestrand> dminuoso nice! Misunderstanding indeed. :)
pawnbox has quit [Ping timeout: 264 seconds]
<shevy> noooo guys
<shevy> this was almost as epic as vim versus emacs!
ecnalyr has joined #ruby
spacemud has quit [Quit: ZNC - http://znc.in]
Snowy has joined #ruby
spacemud has joined #ruby
jmignault has joined #ruby
binaryplease has quit [Ping timeout: 252 seconds]
pawnbox has joined #ruby
nankyokusei has joined #ruby
stardiviner has joined #ruby
JeanCarl1Machado has joined #ruby
daumie has joined #ruby
<burgestrand> shevy vim vs emacs was settled years ago, a butterfly is all you need
AngryBuzzy has quit [Quit: This computer has gone to sleep]
ecnalyr has quit [Ping timeout: 276 seconds]
<burgestrand> also, imagine fly made out of butter
execat has quit [Ping timeout: 276 seconds]
jmignault has quit [Ping timeout: 258 seconds]
deviation has joined #ruby
deviation has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 240 seconds]
platzhirsch has joined #ruby
deviation has joined #ruby
hutch34 has joined #ruby
<dminuoso> Burgestrand: You know, Emacs has that feature... :-)
alfiemax has quit [Ping timeout: 264 seconds]
<shevy> Burgestrand I read on reddit lately that someone wrote some editor in C in less than 1000 lines of code
mattwashere has quit [Remote host closed the connection]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest76251 has quit [Ping timeout: 272 seconds]
jmignault has joined #ruby
giz|work has quit [Ping timeout: 252 seconds]
Guest76251 has joined #ruby
flashpoint9 has joined #ruby
yqt has joined #ruby
A_Drone has joined #ruby
dminuoso has quit [Quit: leaving]
dminuoso has joined #ruby
swills has quit [Ping timeout: 264 seconds]
rikkipitt has joined #ruby
howdoi has joined #ruby
anisha_ has joined #ruby
anisha has quit [Read error: Connection reset by peer]
A_Drone has quit [Ping timeout: 264 seconds]
kavanagh has joined #ruby
mjuszczak has joined #ruby
TvL2386 has joined #ruby
execat has joined #ruby
omphe has joined #ruby
rikkipitt has quit [Quit: Leaving...]
Xeago_ has quit [Remote host closed the connection]
Coldblackice has joined #ruby
execat has quit [Ping timeout: 258 seconds]
spyder55 has quit []
Xeago_ has joined #ruby
cd-rum has joined #ruby
ChiefAlexander has joined #ruby
dkam has joined #ruby
ramortegui has joined #ruby
ekinmur has joined #ruby
daumie has quit [Ping timeout: 240 seconds]
NingaLeaf has quit [Quit: Leaving]
mentok has joined #ruby
chip_ has quit [Ping timeout: 260 seconds]
vuoto has quit [Remote host closed the connection]
al2o3-cr has quit [Quit: WeeChat 1.5]
<Bish> can i give a proc a persistent variable without a class around it?
<Bish> not really, right?
solars has joined #ruby
<ccooke> yes, if there's a variable it can access that nothing else uses
<ccooke> but a class or module would be a much better way to namespace it
kavanagh has quit [Remote host closed the connection]
kavanagh has joined #ruby
execat has joined #ruby
zenlot has quit [Ping timeout: 240 seconds]
<Bish> hm,how would i create an anonymous module to put that proc int it?
<Bish> (is that crazy?)
al2o3-cr has joined #ruby
evie_hammond has joined #ruby
codecop has joined #ruby
Coldblackice has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 246 seconds]
haxrbyte_ has quit [Read error: Connection reset by peer]
<shevy> I think others wanted the same in the past here on #ruby
<shevy> so you are within the confines of regular insanity
execat has quit [Ping timeout: 246 seconds]
zenlot has joined #ruby
<shevy> all the things without a name!
FernandoBasso has joined #ruby
harfangk has joined #ruby
AngryBuzzy has joined #ruby
karapetyan has joined #ruby
<Bish> >> p Module.new { def x; puts "hi"; end; }.x
ecnalyr has joined #ruby
<ruby[bot]> Bish: # => undefined method `x' for #<Module:0x41ec9a3c> (NoMethodError) ...check link for more (https://eval.in/603429)
<Bish> well, easier than i thought.
daumie has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
lxsameer has quit [Quit: WeeChat 1.5]
harfangk has quit [Client Quit]
jahrichie has joined #ruby
chouhoulis has joined #ruby
<Bish> so anonymous models are a thing, i guess
<Bish> modules*
<Bish> what's actually the difference between class and module
jahrichie has quit [Read error: Connection reset by peer]
jahrichie1 has joined #ruby
<Bish> only the constructor?
<lupine> well, you can't include classes, can you?
<lupine> TypeError: wrong argument type Class (expected Module)
pawnbox has joined #ruby
jahrichie1 has quit [Client Quit]
<Bish> oh, include is not a method
<Bish> while require is, really funny
<apeiros> Bish: Class is a subclass of Module. Class can't be used with include/extend/prepend. Module doesn't have ::allocate
karapetyan has quit [Ping timeout: 244 seconds]
<apeiros> (which is needed for ::new)
evie_hammond has quit [Read error: Connection reset by peer]
jrafanie has joined #ruby
<apeiros> huh? how'd you figure include wasn't a method? because it definitely is :)
malconis has joined #ruby
<jhass> &ri Module#include
<shevy> derpy the pink pony for the rescue
pawnbox has quit [Ping timeout: 250 seconds]
aegis3121 has joined #ruby
execat has joined #ruby
spiette_ has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spiette has quit [Disconnected by services]
spiette_ is now known as spiette
blackmesa has joined #ruby
allcentury has quit [Ping timeout: 272 seconds]
<Bish> so include IS a method
<Bish> man, u never learn enough about ruby
<Bish> how does the class Class drop include?
<Bish> when it inherits from Module
<apeiros> you confuse receiver and argument
ekinmur has joined #ruby
<apeiros> Class#include exists. but you can't pass a class as an argument to it.
<Bish> ahhh
<Bish> that's genius
c0mrad3 has joined #ruby
execat has quit [Ping timeout: 240 seconds]
<apeiros> after all, include is probably much more often used on classes than on modules :)
<Bish> yeah i was stupid there
<Bish> i get it!
sinanislekdemir has joined #ruby
* Bish is hyped
mentok_ has joined #ruby
<Bish> is having anonymous modules somehow stupid? GC or something
mentok has quit [Ping timeout: 260 seconds]
<apeiros> no
<apeiros> an object is an object is an object
<apeiros> and anonymous here means two things: a) not assigned to a constant, b) no .name inferred from said constant
<dminuoso> Bish: Ruby has only very few keywords, and it is possible to avoid all of them I think.
<apeiros> as for a: the majority of objects in your code are not assigned to a constant
<apeiros> and as for b: the majority of your object doesn't have a .name either :)
<dminuoso> Bish: And no it is not stupid. Especially in dynamic meta programming anoynmous classes/modules make a lot of sense.
ramortegui has quit [Quit: Ex-Chat]
<dminuoso> Bish: Singleton classes for example do not need to be named.
mattwashere has joined #ruby
<dminuoso> (And for all intends and purposes modules and classes are the same)
<apeiros> one note about it though: some frameworks/libraries (IMO erroneously) expect classes/modules to have names and fail to work properly if that's not the case
`tim` has joined #ruby
<dminuoso> So, here I am, discovering the most bizarre Oracle bug. Do you think I can make money off it?
<shevy> don't lower to their ways!
<apeiros> dminuoso: either I missed a prior scoping of that blanket statement or I'd say it's just wrong. see above mentions of differences between class & module.
SilverKey has joined #ruby
<apeiros> dminuoso: no, with oracle, you pay money to be allowed to report the bug to them
<apeiros> and I'm not even kidding.
<dminuoso> Im well aware.
dkam has quit [Quit: Be back later ...]
mentok_ has quit [Ping timeout: 240 seconds]
<dminuoso> Somehow, I managed to create a very simplistic view that is accepted, that you can easily select * from, but one particular column is totally and entirely fucked up.
execat has joined #ruby
<dminuoso> Well, it is almost, but not quite, entirely broken.
<apeiros> what behavior do you observe which is broken?
<dminuoso> apeiros: select col1 from view; returns errors that col1 is an invalid identifier. running desc returns some really broken output around the col1 too.
<dminuoso> But a plain select * from view works just fine, displaying the col1 even.
<apeiros> same when double-quoting the col?
<apeiros> the name might be an obscure reserved word
<dminuoso> apeiros: well its not a reserved identifier, and its behind an alias.
<dminuoso> apeiros: And that keyword has worked fine for years.
<dminuoso> well, column name.
<apeiros> funky
evie_hammond has joined #ruby
<dminuoso> But Ill try and see what happens, its a good idea.
cdg has joined #ruby
execat has quit [Ping timeout: 276 seconds]
<dminuoso> If thats not some really borked DESC output, I dont know what is.
skade has joined #ruby
<dminuoso> (COL4 is the one that is broken of coursE)
<apeiros> funny, even got problems putting stuff on the same line?
<dminuoso> Yes.
<dminuoso> Which was the first indicator that this is an oracle bug.
blackmesa has quit [Ping timeout: 252 seconds]
eljimmy has joined #ruby
Xeago_ has quit [Remote host closed the connection]
<Bish> what do you guys think
allcentury has joined #ruby
<Bish> how could i make "createCached" better
<Bish> how can i also, replace rekursive calls of the method "meth" with "myself"
<dminuoso> apeiros: Haha I found it. Oracle allows the usage of newline characters in identifiers...
Gooer has joined #ruby
<apeiros> O.O
<apeiros> my next table will have a 30-newlines column
<apeiros> Bish: I think createCached reads like java :-p
<Bish> .. well, it's just a PoC
<Bish> to see if i want something like that
<Bish>
A_Drone has joined #ruby
Xeago_ has joined #ruby
<Bish> (my last message was the name of my oracle table oO)
tristanp has joined #ruby
<apeiros> `m.instance_exec(meth) { @m = meth}` ?
<bougyman> so much meth
<apeiros> I'd probably just return a proc
blackmesa has joined #ruby
<apeiros> I see no point in those Module shenanigans
<Bish> well i need a place to store my "cache"
<apeiros> easy, procs are closures
<Bish> :o pls specify
<Bish> they have their own namespace?
<apeiros> cache = {}; proc { |*args| … cache[…] …}
<Bish> but where to store "cache" ?
<apeiros> not namespace, no. their own scope.
<apeiros> nowhere.
<Bish> aeh?
<apeiros> the proc closes over it, ensuring it exists for as long as the proc exists.
<Bish> well but i would like cache to be invisible
<apeiros> >> def foo; x = 1; proc { x }; end; a = foo; a.call
<ruby[bot]> apeiros: # => 1 (https://eval.in/603443)
<apeiros> even though you're out of scope of foo when doing a.call, the proc can still access x.
A_Drone has quit [Ping timeout: 276 seconds]
<Bish> i see
allcentury has quit [Quit: WeeChat 1.2]
<Bish> so the local of "foo" lives as long as proc does
<apeiros> it's pretty much even more invisible than in your solution.
<Bish> since it references it
<Bish> javascriptish
<Bish> :D
<Bish> who said that?! wasn't me
<apeiros> yes, it's a pattern often used in JS
SilverKey has quit [Quit: Halted.]
giz|work has joined #ruby
chip_ has joined #ruby
<Bish> and if foo gets invoked twice, it will not be the same x?
<Bish> surely not
tristanp has quit [Ping timeout: 252 seconds]
<apeiros> try and see
<Bish> >> def x; x=1; x.object_id; end; x; x;
<ruby[bot]> Bish: # => 3 (https://eval.in/603444)
<Bish> sigh, im stupid.
execat has joined #ruby
<apeiros> anyway, the other variant I'd consider better, which goes more towards what you did, would be to have a proper CachedMethod class, which you instantiate.
tristanp has joined #ruby
<dminuoso> apeiros: As to your question, about the only difference is that Module does not come with an allocator/new method - and includes only accepts Modules explicitly.
<apeiros> >> def x; x="1"; proc { x }; end; [x.call.object_id, x.call.object_id]
<ruby[bot]> apeiros: # => [552012980, 552012930] (https://eval.in/603445)
<apeiros> dminuoso: precisely what I said above
<apeiros> also it wasn't my question, it was my answer to bish's question
<apeiros> 15:27 apeiros: Bish: Class is a subclass of Module. Class can't be used with include/extend/prepend. Module doesn't have ::allocate
<apeiros> and I now notice it should have been #allocate
<apeiros> same for #new (since Module very much does have a ::new, and that's not the one I meant :D)
Xeago_ has quit [Remote host closed the connection]
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> apeiros: Oh yeah.
execat has quit [Ping timeout: 240 seconds]
kobain has joined #ruby
omphe has joined #ruby
giz|work has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
A_Drone has joined #ruby
execat has joined #ruby
mjuszczak has quit []
sinanislekdemir has quit [Remote host closed the connection]
evie_hammond has quit [Read error: Connection reset by peer]
malconis has quit [Remote host closed the connection]
malconis has joined #ruby
<Bish> apeiros: but i won't be able, to replcae the recursive calls, right?
<Bish> >>asm def x; x; end;
<ruby[bot]> Bish: # => undefined method `asm' for main:Object (NoMethodError) ...check link for more (https://eval.in/603448)
<Bish> asm>> def x; x; end;
<apeiros> Bish: what do you mean?
<ruby[bot]> Bish: I have disassembled your code, the result is at https://eval.in/603449
<Bish> apeiros: sorry, wrong highlight
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> oh, in my example? should have used another name for the variable :D
<apeiros> >> def foo; x="1"; proc { x }; end; [foo.call.object_id, foo.call.object_id]
<ruby[bot]> apeiros: # => [548138150, 548138100] (https://eval.in/603450)
<Bish> i always confuse you with adeara or whats hes called
agentmeerkat has joined #ruby
A_Drone has quit [Ping timeout: 272 seconds]
<Bish> no, let's say i want to cache recursive fibonacci, then i can cache args=>result
execat has quit [Ping timeout: 264 seconds]
<Bish> but i cannot cache the recursive calls, it does to itself
aufi has quit [Ping timeout: 252 seconds]
yadobujo has quit [Remote host closed the connection]
yqt has quit [Ping timeout: 250 seconds]
mustmodify has left #ruby [#ruby]
yadobujo has joined #ruby
priodev has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 246 seconds]
skade has quit [Ping timeout: 264 seconds]
kavanagh has quit [Read error: Connection reset by peer]
yadobujo_ has joined #ruby
deviation has quit [Remote host closed the connection]
agentmeerkat has quit [Ping timeout: 260 seconds]
deviation has joined #ruby
tubuliferous has quit [Ping timeout: 244 seconds]
benlieb has joined #ruby
<al2o3-cr> didn't know you could do this with detect
<al2o3-cr> >> x = proc { "no match" }; %w^foo bar baz^.detect(x) { |word| word.size > 3 }
<ruby[bot]> al2o3-cr: # => "no match" (https://eval.in/603451)
yadobuj__ has joined #ruby
agentmeerkat has joined #ruby
agent_white has joined #ruby
yadobujo has quit [Ping timeout: 276 seconds]
<agent_white> Mornin'
SilverKey has joined #ruby
snath has quit [Ping timeout: 240 seconds]
yadobujo_ has quit [Ping timeout: 246 seconds]
yadobuj__ is now known as yadobujo
AngryBuzzy has quit [Quit: This computer has gone to sleep]
burgestrand has joined #ruby
diegoviola has joined #ruby
skade has joined #ruby
Xeago_ has joined #ruby
agent_white has quit [Client Quit]
<Bish> okay
<Bish> now this is sick
Xeago_ has quit [Read error: Connection reset by peer]
Xeago__ has joined #ruby
tubuliferous has joined #ruby
<Bish> that's just great
<Bish> write stupid functions, and replace them afterwars if they're slow
<Bish> (as long as they don't have sideeffects)
swills has joined #ruby
agent_white has joined #ruby
SilverKey has quit [Quit: Halted.]
yadobujo has quit [Remote host closed the connection]
execat has joined #ruby
ecnalyr has quit [Read error: Connection reset by peer]
swills has quit [Remote host closed the connection]
swills has joined #ruby
<apeiros> Bish: obviously a cached method has to run first in order to cache the result. so no, you can't eliminate that step.
SilverKey has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> but once you have the result for a call which would cause recursions, you won't recur anymore since you already have the result.
ecnalyr has joined #ruby
dminuoso has quit [Ping timeout: 258 seconds]
<Bish> apeiros: well, my last gist works for recursive calls!
<Bish> and it's awesome that something like that is possible
yqt has joined #ruby
<Bish> surely only works for static functions
<apeiros> ?
execat has quit [Ping timeout: 276 seconds]
<Bish> apeiros: my last gist, look at it!
<apeiros> I did
nankyokusei has joined #ruby
<Bish> it's so cool ( not because i have written it, but because it's possible )
<apeiros> and congrats
<Bish> if you outcomment the line before the last lane
<apeiros> but I don't get your "surely only works for static functions"
<Bish> it's muuuch slower, yippeh
<elomatreb> Does anyone know if I can tell rubocop to disable a linter only for a single method, but including rescue blocks of that method?
AlexRussia has quit [Ping timeout: 264 seconds]
<Bish> well.. if the function not alyways outputs the same for input xyz it won't work
<elomatreb> If I disable it inside the method, it does not work for the rescue blocks, if I disable outside it disable for the whole class/module
<apeiros> oh, deterministic you mean.
<apeiros> static is something else ;-)
evie_hammond has joined #ruby
<Bish> yeah i even knew it, but i wasn't confident enough to say it
<apeiros> and yes, of course, memoization isn't for non-deterministic functions. a memoized rand would be horrible.
tubuliferous has quit [Ping timeout: 258 seconds]
<Bish> *replaces rand*
<apeiros> or a memoized Time.now
<Bish> proven to be random by dice
<apeiros> also functions which return mutable data might be a bad choice
haxrbyte has joined #ruby
<Bish> can i replace member functions? like so that future instances of that class will have that?
<apeiros> yes
<Bish> woo~
jmignault has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 258 seconds]
codecop has quit [Remote host closed the connection]
mwlang has joined #ruby
Xeago__ has quit [Ping timeout: 264 seconds]
stoopidmunkey has joined #ruby
dkam has joined #ruby
snath has joined #ruby
Xeago_ has joined #ruby
hxegon_afk is now known as hxegon
daumie has quit [Quit: WeeChat 1.4]
Coldblackice has joined #ruby
mark_661 has joined #ruby
daumie has joined #ruby
bensarz has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 244 seconds]
GinoMan2440 has joined #ruby
mark_66 has quit [Ping timeout: 240 seconds]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
dminuoso has joined #ruby
burgestrand has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
solars has quit [Ping timeout: 252 seconds]
mark_661 has left #ruby [#ruby]
tristanp has joined #ruby
anisha_ has quit [Quit: This computer has gone to sleep]
fmcgeough has joined #ruby
kies has quit [Ping timeout: 272 seconds]
anisha_ has joined #ruby
anisha_ has quit [Client Quit]
tristanp_ has joined #ruby
execat has joined #ruby
evie_hammond has quit [Changing host]
evie_hammond has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
Coldblackice has quit [Ping timeout: 240 seconds]
aganov has quit [Remote host closed the connection]
skade has quit [Ping timeout: 276 seconds]
dkam has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
execat has quit [Ping timeout: 264 seconds]
tristanp_ has quit [Read error: Connection reset by peer]
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mark_66 has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Max SendQ exceeded]
Emmanuel_Chanel has joined #ruby
jrafanie_ has joined #ruby
skade has joined #ruby
polishdub has joined #ruby
spyder55 has joined #ruby
tvw has quit [Remote host closed the connection]
cd-rum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mjuszczak has joined #ruby
aegis3121 has quit [Ping timeout: 260 seconds]
jrafanie has quit [Ping timeout: 276 seconds]
mistermocha has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
craigp has quit [Ping timeout: 264 seconds]
ChiefAlexander has quit [Remote host closed the connection]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
aegis3121 has joined #ruby
mjuszczak has joined #ruby
giz|work has joined #ruby
skade has quit [Ping timeout: 244 seconds]
ruby_newbie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
tjohnson has joined #ruby
skade has joined #ruby
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JeanCarl1Machado has quit [Ping timeout: 250 seconds]
edwinvdgraaf has quit [Ping timeout: 244 seconds]
asianMike has joined #ruby
JeanCarloMachado has quit [Ping timeout: 252 seconds]
daumie has quit [Quit: confirming account details ,]
execat has joined #ruby
dminuoso has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
aupadhye has joined #ruby
mtkd has quit [Ping timeout: 264 seconds]
eGGshke has quit [Quit: Leaving...]
omphe has joined #ruby
mtkd has joined #ruby
yadobujo has joined #ruby
Coldblackice has joined #ruby
yadobujo has quit [Remote host closed the connection]
yadobujo has joined #ruby
skade has quit [Ping timeout: 240 seconds]
execat has quit [Ping timeout: 276 seconds]
Xeago_ has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
shinnya has joined #ruby
blackmesa has joined #ruby
skade has joined #ruby
daumie has joined #ruby
synthroid has quit [Remote host closed the connection]
mark_66 has quit [Quit: Leaving.]
yadobujo has quit [Ping timeout: 244 seconds]
habitullence has joined #ruby
mamercad has joined #ruby
mamercad has quit [Client Quit]
saneax is now known as saneax_AFK
kies has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 240 seconds]
Jet4Fire has quit []
James123 has joined #ruby
chip_ has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
chip_ has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
priodev has joined #ruby
Coldblackice has quit [Ping timeout: 244 seconds]
andikr has quit [Remote host closed the connection]
the_drow has quit [Quit: This computer has gone to sleep]
<James123> Hello, I started using watir-webdriver and there is a javascript script that when executed loads some text from another site. However, I can't get that text (although it is displayed in the web browser), the source obtained from watir has the script itself. Any ideas?
karapetyan has quit [Ping timeout: 244 seconds]
yardenbar has quit [Quit: Leaving]
execat has joined #ruby
zacts has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tristanp has quit [Ping timeout: 252 seconds]
rodfersou is now known as rodfersou|lunch
aupadhye has quit [Ping timeout: 244 seconds]
dopie has joined #ruby
TomyWork has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
dopie has quit [Client Quit]
_djbkd has joined #ruby
tristanp has joined #ruby
execat has quit [Ping timeout: 244 seconds]
<jhass> you would need to select whatever node the script inserts, not the script node itself
elaptics is now known as elaptics`away
User458764 has joined #ruby
zacts has quit [Quit: WeeChat 1.5]
biberu has joined #ruby
dgynn has joined #ruby
dgynn has quit [Client Quit]
mjuszczak has quit [Ping timeout: 240 seconds]
zacts has joined #ruby
antgel has quit [Ping timeout: 252 seconds]
synthroid has joined #ruby
blackmesa has joined #ruby
mjuszczak has joined #ruby
hutch34 has quit [Quit: WeeChat 1.5]
skade has joined #ruby
execat has joined #ruby
priodev has quit [Ping timeout: 276 seconds]
tubuliferous has joined #ruby
AlexRussia has joined #ruby
Gooer has quit [Ping timeout: 258 seconds]
ltp has quit [Ping timeout: 276 seconds]
Chair has quit [Ping timeout: 252 seconds]
aufi has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
achamian has joined #ruby
mistermocha has joined #ruby
execat has quit [Ping timeout: 240 seconds]
flashpoint9 has quit [Remote host closed the connection]
evie_hammond has quit [Read error: Connection reset by peer]
evie_hammond has joined #ruby
aupadhye has joined #ruby
foooobear has joined #ruby
foooobear has quit [Client Quit]
hutch34 has joined #ruby
Coldblackice has joined #ruby
skweek has joined #ruby
arup_r has joined #ruby
<arup_r> Can I say `#itself` is the unblock version of `#tap` or they are completely different? Out of curiosity..
priodev has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
ltp has joined #ruby
dkam has joined #ruby
<ljarvis_> >> x = nil; "foo".tap { |s| x = s.itself }; x
<ljarvis_> cba to change my nick
<ljarvis_> oh eval isn't even here
<ljarvis_> sigh
<ljarvis_> arup_r: did you try it in irb?
<jhass> ljarvis_: it is
deuterium has quit [Ping timeout: 276 seconds]
<ljarvis_> you can check pretty easily
<jhass> ruby[bot] does it, since months ;)
<ljarvis_> oh right yep
<ljarvis_> i require more coffee
execat has joined #ruby
<jhass> arup_r: I guess so, yet their usecases don't really compare
<jhass> so I'm not sure I see any usefulness in that statment
<jhass> *statement
<arup_r> ljarvis_: You didn't get my question all, and the example you gave makes no sense though.. :)
<ljarvis_> ok :)
Pumukel has quit [Ping timeout: 272 seconds]
<toretore> what is a use case for itself?
Tonkers has joined #ruby
<ljarvis_> group_by is a good one
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xeago_ has quit [Remote host closed the connection]
nhhc has joined #ruby
<toretore> just so you can use &:itself ?
<ljarvis_> pretty much
dennisvennink has joined #ruby
<ljarvis_> remember this is ruby, we add weird conveniences all over the place
<ljarvis_> hence 35 aliases for a single method
<toretore> that's pretty weak, but i guess there could be better ones
<Tonkers> anyone have experience with compass?
conta has joined #ruby
<jhass> toretore: yeah, it comes up with .lazy. IME
amclain has joined #ruby
[Butch] has joined #ruby
<jhass> Tonkers: I see a #compass
craigp has joined #ruby
Coldblackice has quit [Ping timeout: 272 seconds]
<Tonkers> jhass: thanks
`tim` has joined #ruby
execat has quit [Ping timeout: 276 seconds]
davedev24 has joined #ruby
evie_hammond has quit [Read error: Connection reset by peer]
TomyLobo has joined #ruby
kedare has quit [Quit: Leaving]
mcls has quit [Ping timeout: 252 seconds]
conta has quit [Ping timeout: 258 seconds]
DoubleMalt has quit [Remote host closed the connection]
peteykun has joined #ruby
ramfjord has joined #ruby
_djbkd has quit [Quit: My people need me...]
aegis3121 has quit [Ping timeout: 264 seconds]
priodev has quit [Ping timeout: 272 seconds]
_djbkd has joined #ruby
djbkd_ has joined #ruby
asianMike has quit []
ltp has quit [Remote host closed the connection]
giz|work has quit [Ping timeout: 240 seconds]
abonec has quit [Ping timeout: 246 seconds]
stoopidmunkey has quit []
_djbkd has quit [Ping timeout: 260 seconds]
yadobujo has joined #ruby
senayar has quit []
Snowy has quit [Remote host closed the connection]
spudowiar has joined #ruby
Snowy has joined #ruby
l4v2 has joined #ruby
whathappens has joined #ruby
hastur has joined #ruby
tristanp has quit [Ping timeout: 276 seconds]
evie_hammond has joined #ruby
aupadhye has quit [Ping timeout: 272 seconds]
memorasus has joined #ruby
Snowy has quit [Ping timeout: 272 seconds]
fructose has joined #ruby
macsteps has joined #ruby
pawnbox has joined #ruby
SCHAAP137 has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
tristanp has joined #ruby
bradflaugher has left #ruby ["Textual IRC Client: www.textualapp.com"]
ayonkhan has joined #ruby
JeanCarloMachado has joined #ruby
evie_hammond has quit [Quit: Leaving]
roshanavand has quit [Quit: This computer has gone to sleep]
Xeago_ has joined #ruby
l4v2 has left #ruby [#ruby]
l4v2 has joined #ruby
deecross has quit [Remote host closed the connection]
<fructose> I've seen multiple Ruby style guides now that recommend leaving off parenthesis for method calls with no arguments, none of which explain why. Anyone know? I'm very new to Ruby, but that seems like the opposite of what I'd do, given the parenthesis help distinguish from variables.
Xeago_ has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
<elomatreb> fructose: Almost all styleguides are opinions. If you really want to use parentheses, you are free to do so
<darix> fructose: and in some cases it might even be needed to make the syntax more clear.
craigp has quit [Ping timeout: 272 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
<fructose> elomatreb: Sure, but generally there is a reason, even if not everyone agrees with it. Right now I just don't see any advantages at all
<jhass> they are opinions, yes. Keep in mind some try to find the majority opinion in the community about a topic though
mechanicles has quit [Remote host closed the connection]
Coldblackice has joined #ruby
<jhass> it reads cleaner to most people
<elomatreb> I guess the reason is both that the optional parentheses are one of Ruby's defining features, and everything you can access from the outside of an object is a method, so the distiction is not needed as often as in other languages
JeanCarloMachado has quit [Ping timeout: 258 seconds]
skade has quit [Ping timeout: 258 seconds]
<jhass> whether it's a method call or local variable is also more often than not irrelevant information, thus noise
ule has quit [Remote host closed the connection]
<havenwood> fructose: Here's a little writeup: https://gist.github.com/drbrain/5ea7c9389a55c81fd3c1
ule has joined #ruby
JeanCarloMachado has joined #ruby
JeanCarl1Machado has joined #ruby
<jhass> in chain calls it's also redundant, foo.bar vs foo.bar(), I already know bar can only be a method call in the former
aupadhye has joined #ruby
ramfjord has quit [Ping timeout: 258 seconds]
smathy has joined #ruby
skade has joined #ruby
zacts has quit [Ping timeout: 276 seconds]
roamingdog has joined #ruby
diegoviola has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ChiefAlexander has quit [Remote host closed the connection]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
nankyokusei has joined #ruby
<fructose> Funny how the arguments one way are all convincing me of the opposite
ponga has quit [Quit: Connection closed for inactivity]
Coldblackice has quit [Ping timeout: 240 seconds]
Hounddog has quit [Ping timeout: 250 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
craigp has joined #ruby
Macaveli has joined #ruby
nettoweb has joined #ruby
flashpoint9 has joined #ruby
Tonkers has quit [Quit: Page closed]
ChiefAlexander has joined #ruby
cschnei__ has joined #ruby
triangles has quit [Quit: Leaving]
JeanCarl1Machado has quit [Quit: Lost terminal]
JeanCarloMachado has quit [Quit: Lost terminal]
DrCode has joined #ruby
mechanicles has joined #ruby
atom_ has quit [Ping timeout: 272 seconds]
skade has quit [Ping timeout: 250 seconds]
akira616 has joined #ruby
zacts has joined #ruby
mjuszczak has quit []
<James123> I am using Watir and there is a tag <time datetime="..."></time>. I can get the whole thing with browser.time, but I can't find how to get the datetime. Any ideas?
roshanavand has joined #ruby
blaxter has quit [Quit: foo]
daumie has quit [Quit: chill...am coming back, don't blink]
<jhass> browser.time["datetime"] ?
<jhass> ?pry
<ruby[bot]> Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
daumie has joined #ruby
<jhass> do a binding.pry where you have the object
<jhass> play around
<jhass> find its class
<jhass> find the docs for its class
noodle has quit [Quit: /quit]
tristanp has quit [Ping timeout: 252 seconds]
<James123> jhass, thank you. I didn't know about Pry :)
hutch34 has quit [Quit: WeeChat 1.5]
conta has joined #ruby
stoopidmunkey has joined #ruby
<elomatreb> Pry and byebug are so nice
chadwtaylor has joined #ruby
rodfersou|lunch is now known as rodfersou
noodle has joined #ruby
banisterfiend has joined #ruby
execat has joined #ruby
roshanavand has quit [Quit: This computer has gone to sleep]
tomchapin has joined #ruby
dkam has quit [Ping timeout: 258 seconds]
leea has joined #ruby
ledestin has joined #ruby
platzhirsch has quit [Quit: WeeChat 1.4]
replay has joined #ruby
execat has quit [Ping timeout: 244 seconds]
tristanp has joined #ruby
Vingador has quit [Remote host closed the connection]
wldcordeiro has quit [Ping timeout: 240 seconds]
<dennisvennink> What's Ruby's best built-in command line option parser?
SilverKey has quit [Quit: Halted.]
skade has joined #ruby
Hobogrammer has joined #ruby
<jhass> ?best
<ruby[bot]> "better" and "best" depend entirely on your context. Try to describe what quality would make one thing better than the other.
ledestin has quit [Ping timeout: 240 seconds]
maloik has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
maloik93 has quit [Ping timeout: 276 seconds]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
arup_r has quit [Remote host closed the connection]
mjuszczak has joined #ruby
<dennisvennink> Fair enough. I guess something that's more idiomatic Ruby.
mjuszczak has quit [Max SendQ exceeded]
xall has joined #ruby
mechanic_ has joined #ruby
<jhass> more idiomatic Ruby than?
Dimik has joined #ruby
mjuszczak has joined #ruby
spudowiar has quit [Quit: Leaving.]
shinnya has quit [Ping timeout: 258 seconds]
ule has quit [Changing host]
ule has joined #ruby
<dennisvennink> Never mind.
mjuszczak has quit [Read error: Connection reset by peer]
mjuszcza_ has joined #ruby
<jhass> sorry, we just can't give a clear recommendation without an idea of what you're looking for
mjuszcza_ has quit [Read error: Connection reset by peer]
<jhass> if you just want personal favorites, mine's slop still
mjuszczak has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
macsteps has quit [Remote host closed the connection]
mechanicles has quit [Ping timeout: 272 seconds]
mjuszcza_ has joined #ruby
mjuszczak has quit [Read error: Connection reset by peer]
macsteps has joined #ruby
mjuszcza_ has quit [Read error: Connection reset by peer]
jaruga___ has quit [Quit: jaruga___]
xall has quit [Ping timeout: 244 seconds]
chouhoulis has quit []
<dennisvennink> slop is not a built-in module. I guess I'm stuck with OptionParser and GetoptLong?
mechanic_ has quit []
<hastur> hey, i have a rails view with a for loop that runs over some models. why does the array of models get returned in HTML after the loop? how can i prevent that?
spyder55 has quit []
spyder55 has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<toretore> ?rails hastur
<ruby[bot]> hastur: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<hastur> sorry
burgestrand has joined #ruby
hahuang65 has quit [Ping timeout: 272 seconds]
DrCode has quit [Remote host closed the connection]
roshanavand has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
hastur has left #ruby ["Leaving"]
roamingdog has joined #ruby
wldcordeiro has joined #ruby
deecross has joined #ruby
pilne has joined #ruby
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
roamingdog has quit [Remote host closed the connection]
ramfjord has joined #ruby
daumie has quit [Ping timeout: 276 seconds]
peteykun has quit [Quit: Leaving]
babblebre has quit [Quit: Connection closed for inactivity]
roamingdog has joined #ruby
<jhass> dennisvennink: well yes, there's not much choice there
AlexRussia has quit [Ping timeout: 240 seconds]
<jhass> nobody really uses getoptlong
<dennisvennink> jhass: Thanks. I'll try OptionParser.
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deecross has quit [Ping timeout: 276 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roshanavand has quit [Quit: This computer has gone to sleep]
ekinmur has joined #ruby
zacts has quit [Quit: WeeChat 1.5]
kboosy has joined #ruby
aegis3121 has joined #ruby
rcvalle has joined #ruby
firstdayonthejob has joined #ruby
dikaio has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ChiefAlexander has quit [Remote host closed the connection]
dikaio has quit [Max SendQ exceeded]
Yxhuvud has quit [Remote host closed the connection]
Yxhuvud has joined #ruby
infra-red has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
Coldblackice has joined #ruby
`tim` has joined #ruby
daumie has joined #ruby
aufi has quit [Ping timeout: 276 seconds]
daumie has quit [Client Quit]
daumie has joined #ruby
<ged> Does anyone know if there's a comprehensive summary of the changes between Rack 1.6.x and 2.x (besides just reading the whole commit log)? The homepage still lists "News" from 2013, and neither the HISTORY file nor the NEWS file have anything from 2016 in them.
flashpoint9 has joined #ruby
DrCode has joined #ruby
deadnull has joined #ruby
macsteps has quit [Remote host closed the connection]
deadnull has quit [Max SendQ exceeded]
deadnull has joined #ruby
Sucks has joined #ruby
Sucks has quit [Max SendQ exceeded]
tomchapin has joined #ruby
Sucks has joined #ruby
vuoto has joined #ruby
macsteps has joined #ruby
infra-red has quit []
djbkd_ has quit [Ping timeout: 246 seconds]
ChiefAlexander has joined #ruby
cdg has quit [Ping timeout: 250 seconds]
deviation has quit [Ping timeout: 246 seconds]
djbkd has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
benlieb has quit [Quit: benlieb]
pawnbox has quit [Read error: No route to host]
Coldblackice has quit [Max SendQ exceeded]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
SilverKey has joined #ruby
wldcordeiro has quit [Ping timeout: 240 seconds]
pawnbox_ has joined #ruby
yardenbar has joined #ruby
deecross has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
solars has joined #ruby
wldcordeiro has joined #ruby
Eiam has joined #ruby
spyder55 has quit []
Regulati_ has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 240 seconds]
xall has joined #ruby
ayonkhan_ has joined #ruby
tristanp has joined #ruby
dkam has joined #ruby
Xeago_ has joined #ruby
ayonkhan has quit [Ping timeout: 258 seconds]
execat has joined #ruby
yqt has quit [Ping timeout: 276 seconds]
dionysus69 has joined #ruby
dkam has quit [Ping timeout: 240 seconds]
<ule> hey guys..
<ule> how do I check if a key exist in a hash and this key is not nil?
<ule> irb(main):008:0> a
<ule> => {"a"=>2, "b"=>nil}
<ule> irb(main):010:0> a.has_key?('b')
<jhass> ule: Hash#has_key? or its alias Hash#key?
<ule> => true
<jhass> oh, not nil
<ule> yeah.. :/
<jhass> just a["b"].nil?
<ule> jhass: lemme try thanks
<jhass> that relies on Hash#default's default value of nil ;)
stoopidmunkey has quit []
execat has quit [Ping timeout: 246 seconds]
<ule> irb(main):014:0> a['b'].nil?
<ule> => true
<ule> how can I do inverse of nil?
<jhass> just !
<jhass> !a['b'].nil?
<ule> oh cool
<ule> thanks a LOT jhass
<jhass> or use unless instead of if
<jhass> or until instead of while
<jhass> or reject instead of select
xall has quit [Ping timeout: 276 seconds]
LoneHerm_ has joined #ruby
Coldblackice has joined #ruby
LoneHerm_ has quit [Read error: Connection reset by peer]
ramfjord_ has joined #ruby
LoneHerm_ has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHermit has quit [Ping timeout: 258 seconds]
ramfjord has quit [Ping timeout: 244 seconds]
<ule> I did my code here
priodev has joined #ruby
LoneHer__ has joined #ruby
symm- has joined #ruby
<ule> I'm pretty sure that you guys could do all that what I did in 7 lines, in just 1
<ule> but basically.. I'm looping in all Products
VeryBewitching has joined #ruby
<ule> and creating an array with all Product.brand (if the brand is not nil)
CybrGhost has joined #ruby
`tim` has joined #ruby
aryaching has joined #ruby
<ule> I think I can do this using Product.each(&foo
<ule> I'll read about that
LoneHerm_ has quit [Ping timeout: 240 seconds]
Coldblackice has quit [Ping timeout: 250 seconds]
<ule> in php we have array_map()
<ule> to apply a function to all elements of the array
<elomatreb> In Ruby there are Array#map and Array#map!, both take a block or a function symbol
AngryBuzzy has joined #ruby
<baweaver> &ri Enumerable#map
<baweaver> read through the rest of Enumerable while you're there
art-solopov has joined #ruby
djbkd has joined #ruby
tubuliferous has quit [Ping timeout: 260 seconds]
Spami has joined #ruby
cyource has joined #ruby
A_Drone has joined #ruby
<cyource> Hi, anyone know how ti fix error: Could not find gem 'github-pages (>= 0) x64-mingw32' in the gems available on this
<cyource> machine.
A_Drone has quit [Read error: Connection reset by peer]
A_Drone has joined #ruby
yardenbar has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
yardenbar has joined #ruby
kboosy has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
<chrisarcand> cyource: Are you using Bundler? (did you 'bundle install' and get that message?)
spider-mario has joined #ruby
spudowiar has joined #ruby
<chrisarcand> If so, ensure you have 'source "http://rubygems.org"' at the top of your Gemfile
daumie has quit [Quit: GOing to sleep]
tvw has joined #ruby
nhhc has quit [Quit: Leaving]
A_Drone has quit [Ping timeout: 276 seconds]
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
Es0teric has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cyource> chrisarcand yep
<havenwood> cyource: What do you get for?: gem search --remote --exact github-pages
tubuliferous has joined #ruby
yfeldblum has joined #ruby
yardenbar has quit [Ping timeout: 244 seconds]
<cyource> ERROR: While executing gem ... (OptionParser::InvalidOption)
<cyource> invalid option: --exact
<havenwood> cyource: Uh, you might want to update to the latest RubyGems: gem update --system
cdg has joined #ruby
RegulationD has joined #ruby
<cyource> havenwood ok
<havenwood> cyource: Was saying "Uh" in a conversation out loud, didn't mean to type that. >.>
<cyource> ok, alright, lol
roamingdog has quit [Remote host closed the connection]
mcls has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
ghr has joined #ruby
vuoto has quit [Remote host closed the connection]
triangles has joined #ruby
memorasus has quit [Ping timeout: 250 seconds]
vuoto has joined #ruby
macsteps has quit [Remote host closed the connection]
maikowblue has joined #ruby
nogic has joined #ruby
<havenwood> cyource: Or trying installing with --remote, maybe check your GEM CONFIGURATION section for `:local => true`: gem env
minimalism has joined #ruby
l4v2 has quit [Quit: l4v2]
<havenwood> gem update --system=2.6.6
vuoto has quit [Remote host closed the connection]
deviation has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
vuoto has joined #ruby
mcqueenorama has joined #ruby
tubuliferous has quit [Ping timeout: 276 seconds]
<cyource> havenmod ok... ruby downloading...
SilverKey has quit [Quit: Halted.]
flashpoint9 has joined #ruby
SilverKey has joined #ruby
hahuang61 has joined #ruby
nankyokusei has joined #ruby
LoneHer__ has quit [Remote host closed the connection]
AngryBuzzy has quit [Quit: This computer has gone to sleep]
roshanavand has joined #ruby
wnd has quit [Read error: Connection reset by peer]
wnd has joined #ruby
vuoto_ has joined #ruby
futilegames has joined #ruby
vuoto_ has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
<cyource> havenwood, ah, ok, thanks
xrlabs has quit [Quit: Connection closed for inactivity]
nankyokusei has quit [Ping timeout: 260 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
djbkd_ has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
LoneHerm_ has joined #ruby
<VeryBewitching> I need to pass a File object that has a fixed filename into a method, but I can only create a Tempfile object, anyone have any insight on this?
l4v2 has joined #ruby
bkxd has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
<cyource> havenwood in debian?
<VeryBewitching> I'm decoding a base64 string so I can pass the binary data to another class, but so far when I write to the temp file, the filename of the original file provided is not preserved in any way (aside from being a part of the Tempfile)
<havenwood> cyource: I think the Debian package wants to take care of RubyGems itself. Normally RubyGems is shipped with Ruby but can and should be independently updated like gems themselves.
tristanp has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 240 seconds]
<havenwood> cyource: In Debian's case I think they backport security fixes and you're stuck with they RubyGems they ship, but I'm unsure.
<toretore> VeryBewitching: elaborate on why you want to do this
<toretore> are you using something that expects an IO, but you have a string?
<havenwood> cyource: Maybe you don't need a more recent RubyGems. Sorry if I sent you on a yak shave.
snath has quit [Ping timeout: 250 seconds]
daumie has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
<VeryBewitching> toretore: I'm building a JSON API, and I'm going to receive a b64 encoded string. I need to decode this and pass it to Paperdragon; if I create a File object the filename is preserved and Paperdragon can deal with it, but it doesn't seem to pick up any filename at all from a Tempfile object
<havenwood> cyource: Try?: gem install --remote github-pages
spudowiar has quit [Quit: Leaving.]
<havenwood> cyource: If it doesn't work take a look at or gist: gem install --remote github-pages --debug
<cyource> havenwood, ok.
Coldblackice has joined #ruby
<cyource> sorry for late replies - irssi has no notifications
tristanp has joined #ruby
ghr has joined #ruby
al2o3-cr has quit [Ping timeout: 258 seconds]
<toretore> VeryBewitching: does it have to be a file?
ramfjord_ has quit [Ping timeout: 250 seconds]
<VeryBewitching> toretore: I believe so (though it might work with a URI, too)
ramfjord has joined #ruby
<VeryBewitching> toretore: Doing File.new('file.ext', flags) works because Paperdragon has a filename; Tempfile creates its own name based on your input, but for whatever reason Paperdragon doesn't carry that over.
dkam has joined #ruby
<VeryBewitching> (Which makes sense to me, it's a tmp file)
execat has joined #ruby
aryaching has quit [Remote host closed the connection]
TheHodge has quit [Quit: Connection closed for inactivity]
tomchapin has joined #ruby
snath has joined #ruby
vuoto has quit [Remote host closed the connection]
synthroid has quit []
aryaching has joined #ruby
Coldblackice has quit [Ping timeout: 276 seconds]
cdg has quit [Remote host closed the connection]
dkam has quit [Ping timeout: 250 seconds]
memorasus has joined #ruby
matrasss has quit [Quit: Page closed]
Tachikomas has joined #ruby
cpruitt has joined #ruby
bogusdisk has joined #ruby
kith has quit [Quit: kith]
execat has quit [Ping timeout: 276 seconds]
ddffg has joined #ruby
stoopidmunkey has joined #ruby
l4v2 has left #ruby [#ruby]
l4v2 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
jenrzzz has quit [Ping timeout: 240 seconds]
johnmilton has quit [Remote host closed the connection]
chadwtaylor has quit []
vuoto has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
ascarter has joined #ruby
vuoto has quit [Remote host closed the connection]
leea has joined #ruby
snath has quit [Ping timeout: 250 seconds]
bkxd has quit [Ping timeout: 272 seconds]
aryaching has quit [Remote host closed the connection]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Contigi has joined #ruby
ramfjord has joined #ruby
deadnull is now known as _deadnull
conta has quit [Ping timeout: 258 seconds]
Coldblackice has joined #ruby
travisxcode has joined #ruby
solars has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
nankyokusei has joined #ruby
tjbiddle has joined #ruby
djbkd has joined #ruby
macsteps has joined #ruby
tristanp has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
snath has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
snath has left #ruby [#ruby]
ltp has joined #ruby
yqt has joined #ruby
kiyote23 has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby
macsteps has quit [Remote host closed the connection]
karapetyan has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
djbkd has quit [Ping timeout: 276 seconds]
wrkrcoop has joined #ruby
tristanp has joined #ruby
<wrkrcoop> i installed a new version of a gem, but when i run a command, it is still using the old version of the gem … anyone know why this would happen?
nettoweb has joined #ruby
<havenwood> wrkrcoop: Are you in a project with a Gemfile?
<wrkrcoop> havenwood: yes
<havenwood> wrkrcoop: Did you update the Gemfile?
<havenwood> wrkrcoop: Make sure to run: bundle update gem_name_here
chip_ has quit [Ping timeout: 252 seconds]
tvon has joined #ruby
isberg has joined #ruby
<havenwood> (after changing the Gemfile)
hahuang61 has quit [Ping timeout: 272 seconds]
<wrkrcoop> havenwood: hmm … ok
<wrkrcoop> but that gem doesnt exist in the file
workmad3 has quit [Ping timeout: 276 seconds]
tvon has quit [Client Quit]
tvon has joined #ruby
SilverKey has quit [Quit: Halted.]
<havenwood> wrkrcoop: Sanity check `which gem_name` and `gem which gem_name` to see where the binary and library are?
<wrkrcoop> havenwood: what will that tell me?
<tvon> A shot in the dark, but I'm looking to reproduce a bug that has been fixed in ruby (to determine if a RHEL release of ruby has addressed the bug or not): https://bugs.ruby-lang.org/issues/10933 Any thoughts/suggestions?
solars has joined #ruby
<havenwood> wrkrcoop: Just to make sure you're using a gem corresponding to your current Ruby. That the gem binary path is in your $PATH and that the `gem` in your $PATH knows about that gem.
<tvon> I can't even figure out how to view the actual diff looking at redmine...
<havenwood> wrkrcoop: They should be in subdirectories of your: gem env gemdir
hutch34 has quit [Ping timeout: 250 seconds]
Fernando-Basso has quit [Quit: Leaving]
<havenwood> wrkrcoop: Is the gem in question in your Gemfile.lock? (What's the gem?)
flashpoint9 has quit [Remote host closed the connection]
<wrkrcoop> havenwood: maybe
<wrkrcoop> yes
<havenwood> wrkrcoop: Are you using RVM? (Matters because it installs rubygems-bundler by default.)
<wrkrcoop> it is in the lock file
<havenwood> wrkrcoop: Ah, yeah that was my suspicion.
<wrkrcoop> and it is locked at the version
yfeldblum has quit [Remote host closed the connection]
execat has joined #ruby
Coldblackice has quit [Ping timeout: 276 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stoopidmunkey has quit [Ping timeout: 244 seconds]
skade has joined #ruby
djbkd has joined #ruby
_deadnull is now known as deadnull
Macaveli has joined #ruby
Xeago_ has quit [Remote host closed the connection]
whathappens has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 250 seconds]
whathappens has joined #ruby
yfeldblum has joined #ruby
tomchapin has joined #ruby
ifsp has joined #ruby
mtkd has joined #ruby
execat has quit [Ping timeout: 252 seconds]
Coldblackice has joined #ruby
deadnull has quit [Quit: Bye]
LoneHerm_ has joined #ruby
flashpoint9 has joined #ruby
Macaveli has quit [Client Quit]
iwaffles has joined #ruby
yadobujo has quit [Remote host closed the connection]
mcqueenorama has quit [Ping timeout: 250 seconds]
yadobujo has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
karapetyan has quit [Remote host closed the connection]
cdg has joined #ruby
pocketprotector has quit [Ping timeout: 246 seconds]
karapetyan has joined #ruby
LoneHerm_ has quit [Ping timeout: 276 seconds]
ayonkhan_ has quit [Quit: Textual IRC Client: www.textualapp.com]
elifoster has joined #ruby
dkam has joined #ruby
aryaching has joined #ruby
art-solopov has quit [Quit: Konversation terminated!]
yadobujo has quit [Ping timeout: 260 seconds]
pocketprotector has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
AlexRussia has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
dkam has quit [Ping timeout: 264 seconds]
Xeago_ has joined #ruby
Guest61689 has quit [Changing host]
Guest61689 has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
tristanp has joined #ruby
Guest61689 is now known as duracrisis
Ponyo has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GinoManWorks has joined #ruby
whathappens has quit [Remote host closed the connection]
<hxegon> is a private method using send to call private methods considered bad?
whathappens has joined #ruby
yadobujo has joined #ruby
macsteps has joined #ruby
failshell has joined #ruby
hahuang61 has joined #ruby
nando293921 has joined #ruby
jenrzzz has joined #ruby
<adam12> hxegon: I would say no.
<adam12> hxegon: If I am understanding you right.
naftilos76 has quit [Ping timeout: 272 seconds]
macsteps has quit [Remote host closed the connection]
aredridel has quit [Ping timeout: 258 seconds]
e4xit has joined #ruby
yadobujo has quit [Ping timeout: 252 seconds]
whathappens has quit [Ping timeout: 264 seconds]
Madplatypus has joined #ruby
karapetyan has quit [Remote host closed the connection]
replay has quit [Ping timeout: 246 seconds]
karapetyan has joined #ruby
travisxcode has quit [Ping timeout: 264 seconds]
zeroDi has joined #ruby
<hxegon> I didn't think so, but just double checking
sneakers has joined #ruby
bw_ has joined #ruby
isberg_ has joined #ruby
isberg has quit [Ping timeout: 250 seconds]
<shevy> I think .public_send was added in ... 1.9.x ?
ramfjord has quit [Ping timeout: 240 seconds]
spudowiar has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mwlang has quit [Quit: mwlang]
<hxegon> and? You can't use public_send to call private methods, right?
yadobujo has joined #ruby
ekinmur has joined #ruby
James123 has quit [Quit: Lost terminal]
freerobby has joined #ruby
wrkrcoop has joined #ruby
ta_ has quit [Remote host closed the connection]
yadobujo has quit [Ping timeout: 240 seconds]
Guest76251 has quit [Ping timeout: 240 seconds]
<shevy> no idea, I never used it
<shevy> I was mostly just pointing out that it was added at some later point in time
<hxegon> ah, ok
hutch34 has joined #ruby
guest has joined #ruby
<tvon> I believe it was 1.9.something, fwiw.
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aegis3121 has quit [Ping timeout: 258 seconds]
swills has quit [Ping timeout: 258 seconds]
Guest76251 has joined #ruby
blackgoat has joined #ruby
yadobujo has joined #ruby
sergio_101 has quit [Remote host closed the connection]
aegis3121 has joined #ruby
aredridel has joined #ruby
sumobob has joined #ruby
ChiefAlexander has joined #ruby
karapetyan has quit [Remote host closed the connection]
tjbiddle has quit [Quit: tjbiddle]
deecross has quit [Remote host closed the connection]
failshell has quit []
SilverKey has joined #ruby
roshanavand has quit [Quit: This computer has gone to sleep]
futilegames has left #ruby [#ruby]
yadobujo has quit [Ping timeout: 264 seconds]
karapetyan has joined #ruby
pilne has quit [Quit: Quitting!]
ramfjord has joined #ruby
jon28_ has quit [Ping timeout: 272 seconds]
Es0teric has quit [Remote host closed the connection]
futilegames has joined #ruby
futilegames has left #ruby [#ruby]
jon28_ has joined #ruby
JeanCarloMachado has joined #ruby
roshanavand has joined #ruby
yadobujo has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flashpoint9 has quit [Remote host closed the connection]
Xeago_ has quit [Ping timeout: 246 seconds]
yadobujo has quit [Ping timeout: 276 seconds]
Vingador has joined #ruby
pawnbox has quit [Ping timeout: 258 seconds]
dminuoso has joined #ruby
cyource has quit [Quit: leaving]
LoneHerm_ has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
skade has quit [Read error: Connection reset by peer]
akira616 has quit [Ping timeout: 250 seconds]
dminuoso has quit [Ping timeout: 240 seconds]
guest has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
tvon has quit [Quit: System is sleeping...]
omphe has joined #ruby
LoneHerm_ has quit [Ping timeout: 258 seconds]
eljimmy has quit [Quit: This computer has gone to sleep]
tristanp has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leea has joined #ruby
yadobujo has joined #ruby
polysics has joined #ruby
tristanp has joined #ruby
tvw has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
omphe has quit [Read error: Connection reset by peer]
elifoster has quit [Quit: coffee]
ghr has joined #ruby
whathappens has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
Aria22 has joined #ruby
tomchapin has joined #ruby
yadobujo has quit [Ping timeout: 258 seconds]
Vingador has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 276 seconds]
wrkrcoop has quit [Quit: wrkrcoop]
ghr has quit [Ping timeout: 240 seconds]
daumie has quit [Quit: WeeChat 1.4]
pawnbox has joined #ruby
Renich has joined #ruby
GinoMan2440 has quit [Ping timeout: 240 seconds]
rodfersou has quit [Quit: leaving]
ledestin has joined #ruby
SilverKey has quit [Quit: Halted.]
nando293921 has quit [Ping timeout: 244 seconds]
ecnalyr has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
Sucks has quit [Ping timeout: 264 seconds]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
ghr has joined #ruby
weaksauce has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Ping timeout: 276 seconds]
ma489 has joined #ruby
replay has joined #ruby
chip_ has joined #ruby
ma489 has left #ruby [#ruby]
iwaffles has quit [Quit: iwaffles]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nando293921 has joined #ruby
yadobujo has joined #ruby
daumie has joined #ruby
GinoMan2440 has joined #ruby
shadeslayer has joined #ruby
nankyokusei has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
dkam has joined #ruby
tvon has joined #ruby
ldnunes has quit [Quit: Leaving]
yadobujo has quit [Ping timeout: 240 seconds]
SirFunk_ has quit [Remote host closed the connection]
SirFunk has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
daumie has quit [Quit: WeeChat 1.4]
daumie has joined #ruby
ghr has joined #ruby
dkam has quit [Ping timeout: 276 seconds]
ta_ has quit [Remote host closed the connection]
daumie has quit [Client Quit]
aryaching has quit [Remote host closed the connection]
ChiefAlexander has quit [Quit: Leaving...]
wrkrcoop has joined #ruby
weaksauce has joined #ruby
execat has joined #ruby
aryaching has joined #ruby
Snowy has joined #ruby
yadobujo has joined #ruby
polysics has quit []
daumie has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
ghr has quit [Ping timeout: 240 seconds]
isberg_ has quit [Ping timeout: 272 seconds]
VeryBewitching has quit [Quit: Konversation terminated!]
daumie has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
Snowy has quit [Read error: Connection reset by peer]
execat has quit [Ping timeout: 244 seconds]
Snowy has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
GinoMan2440 has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
Snowy has quit [Remote host closed the connection]
hutch34 has joined #ruby
karapetyan has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
SCHAAP137 has joined #ruby
toretore has quit [Ping timeout: 252 seconds]
aryaching has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
colegatron_origi has quit [Ping timeout: 264 seconds]
ericsupreme has joined #ruby
kirun has quit [Quit: Client exiting]
ICantCook has joined #ruby
ghr has joined #ruby
crystal77 has joined #ruby
A_Drone has joined #ruby
spudowiar has quit [Excess Flood]
skade has joined #ruby
dminuoso has joined #ruby
spudowiar has joined #ruby
LoneHermit has joined #ruby
RegulationD has quit []
ghr has quit [Ping timeout: 240 seconds]
skade has quit [Read error: Connection reset by peer]
daumie254 has joined #ruby
A_Drone has quit [Ping timeout: 246 seconds]
isberg has joined #ruby
burgestrand has joined #ruby
Ebok has joined #ruby
jrafanie_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<burgestrand> I recall there's some gem in ruby for nicer management of spawning subprocesses, piping between them, etc, outside of stdlib. Anybody know what it might be?
dminuoso has quit [Ping timeout: 264 seconds]
colegatron_origi has joined #ruby
skade has joined #ruby
ICantCook has quit [Quit: Leaving]
LoneHermit has quit [Ping timeout: 272 seconds]
roshanavand has quit [Quit: This computer has gone to sleep]
ghr has joined #ruby
blackmesa has joined #ruby
SCHAAP137 has quit [Ping timeout: 246 seconds]
xlegoman has joined #ruby
Mimorial has joined #ruby
Talltree has joined #ruby
wrkrcoop has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
mattwashere has quit [Remote host closed the connection]
firstdayonthejob has quit [Quit: WeeChat 1.5]
mattwashere has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago_ has joined #ruby
burgestrand has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
mattwashere has quit [Ping timeout: 252 seconds]
smathy is now known as smathy_afk
nankyokusei has joined #ruby
jenrzzz has joined #ruby
ascarter has joined #ruby
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
ghr has joined #ruby
blackmesa has joined #ruby
downdonedown has joined #ruby
toretore has joined #ruby
isberg has quit [Read error: Connection reset by peer]
Renich has quit [Quit: leaving]
SCHAAP137 has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
daumie254 has quit [Quit: WeeChat 1.4]
nankyokusei has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 244 seconds]
ddffg has quit [Quit: Leaving]
ghr has quit [Ping timeout: 240 seconds]
Xeago_ has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
yadobujo has quit [Remote host closed the connection]
yadobujo has joined #ruby
SilverKey has joined #ruby
ghr has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
Guest43 has joined #ruby
Guest43 has quit [Changing host]
Guest43 has joined #ruby
yadobujo has quit [Ping timeout: 264 seconds]
aegis3121 has quit [Ping timeout: 260 seconds]
craigp has quit [Ping timeout: 272 seconds]
ta_ has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 244 seconds]
flashpoint9 has joined #ruby
zacts has joined #ruby
chip_ has quit [Ping timeout: 240 seconds]
daffy_duck_3 has quit [Ping timeout: 246 seconds]
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
zacts has quit [Client Quit]
zenlot6 has joined #ruby
roamingdog has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zenlot has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
execat has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
shinnya has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
zapata has quit [Quit: WeeChat 1.5]
banisterfiend has joined #ruby
tomchapin has joined #ruby
yqt has quit [Read error: Connection reset by peer]
execat has quit [Ping timeout: 272 seconds]
AndrewIsHere has joined #ruby
SilverKey has quit [Quit: Halted.]
daffy_duck has joined #ruby
ghr has joined #ruby
alex88 has joined #ruby
SCHAAP137 has quit [Quit: Exiting...]
aryaching has joined #ruby
polishdub has quit [Quit: Leaving]
mtkd has quit [Ping timeout: 264 seconds]
mjuszczak has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
dionysus69 has quit [Ping timeout: 276 seconds]
mtkd has joined #ruby
dminuoso has joined #ruby
zacstewart has quit [Ping timeout: 258 seconds]
ghr has quit [Ping timeout: 240 seconds]
LoneHermit has joined #ruby
travisxcode has joined #ruby
macsteps has joined #ruby
zapata has joined #ruby
tedwards has quit [Ping timeout: 276 seconds]
moeabdol has joined #ruby
Tachikomas has quit [Remote host closed the connection]
Mimorial has quit [Ping timeout: 272 seconds]
tedwards has joined #ruby
cschnei__ has quit [Remote host closed the connection]
dminuoso has quit [Ping timeout: 276 seconds]
LoneHermit has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
execat has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
execat has quit [Client Quit]
mjuszczak has quit []
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
Sucks has joined #ruby
biberu has quit [Read error: Connection reset by peer]
johnmilton has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
User458764 has joined #ruby
leea has joined #ruby
mattwashere has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
hahuang65 has joined #ruby
ghr has joined #ruby
dkam has joined #ruby
johnmilton has quit [Ping timeout: 260 seconds]
AndroidLoverInSF has joined #ruby
Talltree has quit [Quit: Talltree]
CrossFit_Jesus has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Mimorial has joined #ruby
ericsupreme has quit [Remote host closed the connection]
seventy has quit [Read error: Connection reset by peer]
CrossFit_Jesus is now known as Talltree
mcls has quit [Ping timeout: 240 seconds]
dkam has quit [Ping timeout: 250 seconds]
saneax_AFK is now known as saneax
jsaak_ has quit [Ping timeout: 264 seconds]
Xeago_ has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
ghr has joined #ruby
devyn has quit [Read error: Connection reset by peer]
skade has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
dkam has joined #ruby
dkam has quit [Client Quit]
johnmilton has joined #ruby
craigp has joined #ruby
postmodern has quit [Quit: Leaving]
flashpoint9 has quit [Ping timeout: 272 seconds]
spudowiar has quit [Quit: Leaving.]
craigp has quit [Ping timeout: 250 seconds]
downdonedown has quit [Ping timeout: 240 seconds]
roamingdog has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
roamingdog has joined #ruby
agent_white has quit [Quit: home time]
johnmilton has quit [Ping timeout: 276 seconds]
macsteps has quit [Remote host closed the connection]
ekinmur has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
ghr has joined #ruby
fructose has quit [Ping timeout: 250 seconds]
ekinmur has quit [Ping timeout: 250 seconds]
travisxcode has quit [Ping timeout: 264 seconds]
downdonedown has joined #ruby
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
travisxcode has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
isberg has joined #ruby
isberg has quit [Max SendQ exceeded]
roamingd_ has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
roamingdog has quit [Ping timeout: 250 seconds]
JeanCarloMachado has joined #ruby
ghr has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
mistermocha has quit [Ping timeout: 250 seconds]
Xeago_ has quit [Ping timeout: 250 seconds]
koooge has joined #ruby
crystal77 has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
alex88 has quit []
AndroidLoverInSF has quit [Quit: Leaving]
SilverKey has joined #ruby
mattwashere has quit [Remote host closed the connection]
dminuoso has joined #ruby
mattwashere has joined #ruby
ghr has joined #ruby
aryaching has quit [Remote host closed the connection]
zacstewart has joined #ruby
dminuoso has quit [Ping timeout: 258 seconds]