havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.0, 2.3.3 & 2.2.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby
enilsen16 has joined #ruby
hahuang65 has joined #ruby
harai has joined #ruby
cschneid has quit [Remote host closed the connection]
postmodern has joined #ruby
gloscombe has quit [Quit: gloscombe]
<ytti_> it doesn't make me feel proud, but considering how ruby works it's hard to fathom how it could exist
xen0fon has joined #ruby
<ytti_> other than some really ugly syntactic sugar
aremaref has joined #ruby
<ytti_> which would be most unfortunate hack to have in the language
<ytti_> adding complexity for parser, breaking behavioural expectations
<eelster> it's also intentional though. otherwise they would create `#succ!`
<eelster> also, there's rarely a time when it's needed
portiad has joined #ruby
aremaref_ has quit [Ping timeout: 252 seconds]
<havenwood> Here Ye Here Ye, 5 has been incremented! Five is dead, long live six!
<havenwood> 5++; 5 == 6 #=> true
<eelster> havenwood: Tangentially relevant http://codegolf.stackexchange.com/a/28818/42138
Guest85773 is now known as kspencer
vasilakisfil has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
hahuang65 has quit [Ping timeout: 258 seconds]
agit0 has quit [Read error: Connection reset by peer]
<havenwood> and these days 5 is appropriately frozen as well :-D
<havenwood> >> 5.frozen?
p0p0pr37 has quit [Read error: Connection reset by peer]
<ruby[bot]> havenwood: # => true (https://eval.in/713645)
Alayde has quit [Read error: Connection reset by peer]
<Radar> ICE COLD
djbkd has quit [Read error: Connection reset by peer]
p0p0pr37 has joined #ruby
p0p0pr37 has joined #ruby
p0p0pr37 has quit [Changing host]
Alayde has joined #ruby
duper has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
<havenwood> 19>> 5.frozen?
<ruby[bot]> havenwood: # => false (https://eval.in/713646)
<havenwood> #=> false
FManTropyx has joined #ruby
duper has joined #ruby
ELLIOTTCABLE has quit [Ping timeout: 240 seconds]
bweston92 has quit [Ping timeout: 240 seconds]
t-richards has quit [Ping timeout: 240 seconds]
bastilian has quit [Read error: Connection reset by peer]
Guest94365 is now known as ged
ggherdov has quit [Ping timeout: 240 seconds]
caw has quit [Ping timeout: 240 seconds]
jhill_ has quit [Ping timeout: 240 seconds]
lancetw has quit [Ping timeout: 240 seconds]
jasondotstar has quit [Ping timeout: 240 seconds]
canton7 has quit [Ping timeout: 240 seconds]
jonwiththewind has quit [Read error: Connection reset by peer]
<eelster> Does 19 check ruby 1.9?
mrbobbytables has quit [Read error: Connection reset by peer]
rhllor has joined #ruby
jonwiththewind has joined #ruby
skmp has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby
rhllor has quit [Client Quit]
ged is now known as Guest93719
<havenwood> eelster: yup
<havenwood> >> desert = -'ice cream'; desert.frozen?
<ruby[bot]> havenwood: # => true (https://eval.in/713647)
Drakevr has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
Nilium has quit [Ping timeout: 240 seconds]
ionte has quit [Ping timeout: 240 seconds]
w5isp has quit [Ping timeout: 240 seconds]
sindork has quit [Ping timeout: 240 seconds]
madhatter has quit [Ping timeout: 240 seconds]
chee has quit [Ping timeout: 272 seconds]
boxrick1 has quit [Read error: Connection reset by peer]
t-richards has joined #ruby
greenhat_ has quit [Ping timeout: 240 seconds]
FifthWall has quit [Ping timeout: 240 seconds]
SJr has quit [Ping timeout: 240 seconds]
paul___ has quit [Ping timeout: 240 seconds]
voker57 has quit [Ping timeout: 258 seconds]
zenguy_pc has quit [Ping timeout: 240 seconds]
evertversteeg has quit [Ping timeout: 240 seconds]
joast has quit [Ping timeout: 240 seconds]
theRoUS has quit [Ping timeout: 240 seconds]
iamayam has quit [Ping timeout: 240 seconds]
ammar has quit [Ping timeout: 260 seconds]
Mekkis has quit [Quit: ZNC - http://znc.in]
madhatter has joined #ruby
dasher00 has quit [Ping timeout: 240 seconds]
evotopid has quit [Ping timeout: 240 seconds]
VladGh has quit [Ping timeout: 240 seconds]
crankharder has quit [Ping timeout: 240 seconds]
herwin has quit [Ping timeout: 240 seconds]
lancetw has joined #ruby
voker57 has joined #ruby
voker57 has joined #ruby
voker57 has quit [Changing host]
kch has joined #ruby
mrbobbytables has joined #ruby
<havenwood> 10>> RUBY_VERSION # eelster
<ruby[bot]> havenwood: # => /tmp/execpad-6dd8093611b6/source-6dd8093611b6:4: TypeError: can't modify frozen string (https://eval.in/713648)
boxrick1 has joined #ruby
ggherdov has joined #ruby
herwin has joined #ruby
<eelster> 10>> puts RUBY_VERSION
<ruby[bot]> eelster: # => /tmp/execpad-5203dbba5b34/source-5203dbba5b34:4: TypeError: can't modify frozen string (https://eval.in/713649)
<havenwood> Oh right, RUBY_VERSION is bugging out eval.in
VladGh has joined #ruby
patteh has quit [Ping timeout: 240 seconds]
Mekkis has joined #ruby
crankharder has joined #ruby
<havenwood> eelster: But yeah, you can use the eval.in versions by prefixing the version to >>
<eelster> 24>> puts 'do you work?'
caw has joined #ruby
<havenwood> #=> nil
<eelster> Sad ness
patteh has joined #ruby
<eelster> I can't type today.
<havenwood> electrostat: 10, 18, 19, 20, 21, 22 or the default is 23
<havenwood> electrostat: sorry for misstell
Nilium has joined #ruby
<havenwood> eelster: me neither
kch has quit [Changing host]
kch has joined #ruby
govg has quit [Ping timeout: 256 seconds]
bweston92 has joined #ruby
<eelster> 10>> ?a == 97
<ruby[bot]> eelster: # => TRUE (https://eval.in/713650)
jhill_ has joined #ruby
<eelster> Why the all caps TRUE?
ELLIOTTCABLE has joined #ruby
StoneCypher has joined #ruby
<Radar> #legacycode
kch is now known as kht
<eelster> I guess it's still valid in 2.4
_djbkd has quit [Quit: My people need me...]
<Radar> irb(main):001:0> TRUE
<Radar> (irb):1: warning: constant ::TRUE is deprecated
<Radar> true that
theRoUS has joined #ruby
<eelster> 18>> TRUE
<ruby[bot]> eelster: # => true (https://eval.in/713651)
<eelster> It's not yet deprecated in 1.8?
Rich_Morin has quit [Ping timeout: 240 seconds]
ionte has joined #ruby
chee has joined #ruby
kht is now known as kch
FifthWall has joined #ruby
<eelster> 19>> ?a
<ruby[bot]> eelster: # => "a" (https://eval.in/713652)
ddffg has quit [Quit: Leaving]
<eelster> Oh, so I guess 1.9 was when ?a went from 97 to 'a'
greenhat_ has joined #ruby
<Radar> In retrospect, ack'ing for "TRUE" in the ruby source was not a wise choice.
zenguy_pc has joined #ruby
canton7 has joined #ruby
evotopid has joined #ruby
jasondotstar has joined #ruby
<eelster> I'm a greper more than an acker
skmp has joined #ruby
sindork has joined #ruby
iamayam has joined #ruby
SJr has joined #ruby
kch has quit [Quit: leaving]
bodgix has quit [Quit: Leaving.]
nankyokusei has joined #ruby
Drakevr has joined #ruby
<havenwood> eelster: TRUE isn't deprecated until 2.4 (in which there's a deprecation warning)
evertversteeg has joined #ruby
<hardest> cant bundle install
<Radar> struth cobber
<hardest> ERROR: Failed to build gem native extension.
<hardest> extconf failed, exit code 1
<hardest> mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
<hardest> /usr/bin/ruby2.1 extconf.rb
<Radar> ?gist hardest
<havenwood> if you're using TRUE, FALSE and NIL it's time to think about lowercase
bastilian has joined #ruby
<Radar> ?gist
<havenwood> hardest: Please paste more than three lines to gist.github.com!
p0p0pr37_ has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
* Radar kicks ruby[bot] in its CPU
<havenwood> (I'm filling in for the bot today.)
<Radar> havenwood: legend.
<Radar> hardest: strike two
chussenot has quit [Quit: chussenot]
<Radar> hardest: how did you install Ruby?
<havenwood> hardest: Did you install Ruby via apt package?
<havenwood> hardest: Install the ruby-dev package.
<havenwood> hardest: OS/distro?
<hardest> debian 8
<hardest> yes
<hardest> I did
dasher00 has joined #ruby
_djbkd has joined #ruby
<eelster> >> TRUE
<eelster> (I should have added havenwood as a comment)
<ruby[bot]> eelster: # => true (https://eval.in/713653)
ionte has quit [Ping timeout: 240 seconds]
psmolen has quit [Ping timeout: 240 seconds]
p0p0pr37 has quit [Ping timeout: 240 seconds]
bastilian has quit [Changing host]
bastilian has joined #ruby
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<ruby[bot]> hardest: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
p0p0pr37_ is now known as p0p0pr37
<Radar> ruby[bot]: ABOUT TIME.
* havenwood claps
<hardest> heheuheuhe
pawnbox has joined #ruby
<Radar> jeez ruby[bot], what are you written in? Ruby?
<Radar> Or Java?
portiad has quit []
<hardest> I rather use termbin
<hardest> cause I can do it via terminal
c_thun has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
<Radar> hardest: formatting isn't completely ass so I'll allow it
<hardest> tks
<hardest> you're kind Radar
<hardest> QRadar
blandflakes has joined #ruby
ionte has joined #ruby
<Radar> hardest: alternatively to the ruby-dev + ruby packages, you could install your local ruby using chruby and ruby-install as I advise here: http://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you
hotpanca_ has quit [Remote host closed the connection]
psmolen has joined #ruby
<Radar> That allows you to very easily install different versions of Ruby and switch between them... and also: the ruby + ruby-dev packages on Apt have historically been pretty poor at keeping up to date with the latest Ruby.
milardovich has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
milardovich has joined #ruby
nettoweb has joined #ruby
ammar has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
rkazak has quit [Quit: Sleep.....ing....]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eelster> Gist is kinda odd.
<eelster> I go back and forth on whether or not I like it.
<Radar> My favourite thing about Gist is that it doesn't look terrible or have ads.
<Radar> If you're typing code into it then you're gonna have a bad time but besides that it's pretty good.
<Radar> and you can use Gist from the terminal too.
<eelster> Radar: How so?
milardovich has quit [Ping timeout: 240 seconds]
<eelster> That's beautiful
eaxxae has joined #ruby
eaxxae has quit [Changing host]
eaxxae has joined #ruby
eaxxzae has joined #ruby
newbie1 has quit [Ping timeout: 252 seconds]
<Radar> Or you could create a placeholder gist and then clone the repo and add files to the repo.
<Ropeney> That gems awesome
eaxxzae has quit [Client Quit]
__Yiota has joined #ruby
Andrew_TA has joined #ruby
milardovich has joined #ruby
ur5us has joined #ruby
needRubyhelp has joined #ruby
doritostains has quit [Quit: doritostains]
<hardest> n1c3 radar
biberu has quit [Read error: Connection reset by peer]
doritostains has joined #ruby
whathappens has quit [Quit: Leaving...]
<eelster> PONG
dhollinger has quit [Ping timeout: 245 seconds]
Andrew_TA has quit [Ping timeout: 248 seconds]
milardovich has quit [Ping timeout: 245 seconds]
<eelster> Wow, that was odd. I don't know what the hell my client sent PONG publically for. Sorry about that.
enterprisey has joined #ruby
cdg has quit [Remote host closed the connection]
dhollinger has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
oaklndr1 has quit [Quit: Leaving]
AndBobsY_ has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
AndBobsYourUncle has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
AndBobsYourUncle has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
<needRubyhelp> Im having big trouble with a webpage I am making. Its a 1 page webpage, everything runs off the index. We are trying to display different parts of the webpage based on the "state" the user is in. We have a JS function that runs automatically when the user logs in, but is always returning the wrong state. When we ran the function manually through a click button, it works fine. We are calling the function through a .click
<needRubyhelp> The function runs an SQL statement that checks the database to see what state the user should be in. The button posts to "/checkstate"
<needRubyhelp> when the button is actually clicked, it runs as intended. When ran automatically through a .click, it returns the wrong value
<eelster> needRubyhelp: What framework
<needRubyhelp> Ruby
<needRubyhelp> .ern
<needRubyhelp> i mean .erb
<needRubyhelp> HTML
<eelster> But what framework? Rails?
<eelster> Sinatra?
<needRubyhelp> oh yes
<needRubyhelp> sinatra
<eelster> You are probably better off in #sinatra
nettoweb1 has joined #ruby
<needRubyhelp> would sinatra have something to do with it?
<needRubyhelp> i figured it would be more of a ruby thing
<eelster> I mean, Sinatra is the framework you are using.
<needRubyhelp> All the code is in ruby. Sinatra is just showing the webpage
<eelster> This actually seems like more of a js thing to me.
<eelster> I know that Sinatra is all in Ruby.
<markholmes> nothing you mentioned signifies a ruby issue, needRubyhelp
<eelster> I'm redirecting you to #sinatra because they'll be able to help better.
<markholmes> but i mean, care to share an example of the code?
nettoweb has quit [Ping timeout: 240 seconds]
<needRubyhelp> you are right, the problems i am having are related to JS
eaxxae has quit [Quit: Leaving]
AndBobsYourUncle has quit [Ping timeout: 258 seconds]
shayan_ has quit [Quit: shayan_]
ramfjord has quit [Ping timeout: 240 seconds]
<needRubyhelp> trying to figure out how to post code in here. This is my first time using this
<eelster> needRubyhelp: Use gist
<eelster> ?gist needRubyhelp
<ruby[bot]> needRubyhelp: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
JeanCarloMachado has joined #ruby
<needRubyhelp> I am attempting my best to phrase this question the best i can. Its a 1 page webpage, everything is in the index.erb and app.rb, so I am trying to give you the necessary parts and leave out the things that arae not necessary
<zenspider> related to refreshState?
_djbkd has quit [Remote host closed the connection]
<toretore> needRubyhelp: it's much better to give too much information than too little, so just post everything, as entire files so that line numbers match up properly
<toretore> ?gist-usage
shayan_ has joined #ruby
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AndBobsY_ has joined #ruby
<needRubyhelp> refresh state is in regards to a forever loop we encountered. It would run the function on loading the page, which would run the SQL statement and cause the page to reload, which would run the function again, etc.
eelster has quit [Quit: WeeChat 1.6]
<needRubyhelp> refreshState changed the value from 0 to 1, so it knew not to run the function when the value was 1
milardovich has joined #ruby
_djbkd has joined #ruby
<needRubyhelp> Ill post everything, but its a 1 page webpage and its a little sloppy, and 700 lines of code, but Ill try to direct you to the correct lines
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enyo has joined #ruby
arescorpio has joined #ruby
marr has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
r3cycle has quit [Remote host closed the connection]
shayan_ has quit [Quit: shayan_]
milardovich has quit [Ping timeout: 240 seconds]
alvss has quit [Ping timeout: 260 seconds]
<needRubyhelp> They login through google and facebook, which is lines 180-350. When I try to run the function automatically upon logging in, it returns "state" an incorrect value
shayan_ has joined #ruby
<needRubyhelp> I watch the code through Chrome's developer console as I login, which is how I know it is passing the wrong value
gusrub_ has quit [Remote host closed the connection]
enyo has quit [Ping timeout: 240 seconds]
markholmes has quit [Remote host closed the connection]
shayan_ has quit [Client Quit]
shayan_ has joined #ruby
<needRubyhelp> i just did that sorry
<needRubyhelp> Should be properly highlighted now
mgorbach has quit [Quit: ZNC - http://znc.in]
<toretore> how do you try to run it automatically?
mgorbach has joined #ruby
<needRubyhelp> on line 260, when the user logs in through facebook, it runs
<needRubyhelp> that function is on line 62
<needRubyhelp> but for some reason, when clicked manually, which is the button we created for it on line 461, it runs as intended
<needRubyhelp> the button was originally created for testing purposes, and we were going to hide the button and have JS click it hidden.
dcunit3d has joined #ruby
<SeepingN> o.O
<StoneCypher> sorry, i'm being a noob. given that a variable is assigned above a class, would a self method on the class not be expected to be able to pull that variable in in its closure?
<StoneCypher> foo = bar \n class Example \n def self.whut \n puts foo \n end \n end
<StoneCypher> it's looking for foo as a local variable or method?
pawnbox has joined #ruby
<toretore> `def` does not create a closure
<StoneCypher> ... oh :(
Guest93719 is now known as ged
iMadper is now known as Madper|commuting
<StoneCypher> is there a simple way to do what i'm looking for?
ged is now known as Guest69927
<toretore> StoneCypher: what are you looking for?
<StoneCypher> a way to have a variable outside a class available to a static member of the class
<StoneCypher> scuse, a self method
<StoneCypher> without explicitly passing it in
<toretore> needRubyhelp: i don't understand exactly what the issue is. is it that when you try to `click()` the button it doesn't don the `hide_Email` function?
jenrzzz has joined #ruby
<toretore> StoneCypher: provide some context?
<toretore> StoneCypher: as in, what is the broader problem you're trying to solve?
xin0x has joined #ruby
<StoneCypher> i'm quite comfortable with what i'm trying to do, and am just asking for ruby's mechanism.
<needRubyhelp> It does, but when i run automatically through the login function, it returns a value of 1 when it should be 3
<toretore> that's not a realistic example StoneCypher
<StoneCypher> ok
<needRubyhelp> when i run the function through the button it returns the value of 3
<needRubyhelp> as it should be
<toretore> the way you're asking about it tells me you're looking at it the wrong way
<needRubyhelp> i very well could be
<StoneCypher> can someone else tell me the appropriate way to achieve something akin to closure inclusion without resorting to globals or explicit parameter passing?
xin0x has left #ruby [#ruby]
pawnbox has quit [Ping timeout: 240 seconds]
<toretore> that last one was for StoneCypher, needRubyhelp
<needRubyhelp> oh
<StoneCypher> thanks, toretore, i'll find help somewhere else.
<toretore> needRubyhelp: which function returns the wrong value? how do you see it?
<needRubyhelp> i see it through chrome developer tools
<needRubyhelp> i watch it as it runs
<needRubyhelp> the variable "state"
<toretore> where?
<toretore> oh
<needRubyhelp> d'oh
<needRubyhelp> i think we just figured it out
<toretore> no, actually, there is no variable named state
<needRubyhelp> been at this for days
<needRubyhelp> sorry
<needRubyhelp> hidden_state
charliesome has joined #ruby
despai has quit [Quit: Leaving]
_djbkd has quit [Remote host closed the connection]
<needRubyhelp> The problem was: I was calling the function before it had the user name and email during login
<needRubyhelp> That is what the SQL statement was checking for. If it didn't have the user name and email, then the statement would return the wrong value.
nowhere_man has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
ResidentBiscuit has joined #ruby
the-eat-scout has joined #ruby
vayan has joined #ruby
troter__________ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
_djbkd has joined #ruby
zacts has joined #ruby
_djbkd has quit [Remote host closed the connection]
harai has quit [Ping timeout: 252 seconds]
milardovich has joined #ruby
_djbkd has joined #ruby
skweek has joined #ruby
mark[oz] has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
brent__ has quit [Remote host closed the connection]
harai has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
jcao219_ has joined #ruby
Tony-St4rk is now known as H4v0K
Derperperd has joined #ruby
<FManTropyx> hello
_djbkd has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
Lucky_ABA has joined #ruby
<Radar> hi
Lucky_ABA has quit [Client Quit]
charliesome has quit [Client Quit]
__Yiota has quit [Quit: Textual IRC Client: www.textualapp.com]
JeanCarloMachado has quit [Ping timeout: 256 seconds]
milardovich has joined #ruby
charliesome has joined #ruby
zapata has quit [Ping timeout: 258 seconds]
mark[oz] has quit [Remote host closed the connection]
saneax is now known as saneax-_-|AFK
ramfjord has joined #ruby
JeanCarloMachado has joined #ruby
phoo1234567 has quit [Quit: Gotta go]
JeanCarloMachado has quit [Read error: Connection reset by peer]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
JeanCarloMachado has joined #ruby
pawnbox has joined #ruby
Derperpe1 has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 240 seconds]
Derperperd has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 240 seconds]
gusrub_ has joined #ruby
username has quit [Ping timeout: 248 seconds]
JeanCarloMachado has quit [Ping timeout: 252 seconds]
AndBobsY_ has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
pboling has joined #ruby
gusrub_ has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
harai has quit [Ping timeout: 245 seconds]
Lucky_ABA has joined #ruby
jzigmund has quit [Ping timeout: 240 seconds]
StoneCypher has quit [Ping timeout: 260 seconds]
zapata has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
doritostains has quit [Quit: doritostains]
markholmes has joined #ruby
paul___ has joined #ruby
w5isp has joined #ruby
brent__ has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
blandflakes has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
gusrub_ has joined #ruby
ponga has joined #ruby
jameser has joined #ruby
bmurt has joined #ruby
nankyokusei has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
zapata has quit [Ping timeout: 255 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
Channel6 has joined #ruby
x00r__ has joined #ruby
shayan_ has quit [Quit: shayan_]
Guest69927 is now known as ged
dcunit3d has quit [Ping timeout: 240 seconds]
ged is now known as Guest66056
xen0fon has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
Andrew_TA has joined #ruby
zapata has joined #ruby
masondesu has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jtd has joined #ruby
Andrew_TA has quit [Ping timeout: 260 seconds]
rkazak has quit [Quit: Sleep.....ing....]
d^sh has quit [Ping timeout: 245 seconds]
enilsen16 has quit [Ping timeout: 240 seconds]
d^sh has joined #ruby
sebastia_ has joined #ruby
sebastiansier has quit [Read error: Connection reset by peer]
hanmac has quit [Ping timeout: 256 seconds]
enilsen16 has joined #ruby
c_thun has quit [Quit: Leaving]
ledestin has joined #ruby
milardovich has joined #ruby
doritostains has joined #ruby
Immune has quit [Quit: ZzzZZZzzzz]
enyo_ has joined #ruby
jonadab has quit [Ping timeout: 252 seconds]
milardovich has quit [Ping timeout: 248 seconds]
nowhere_man has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
Kaze_FX has quit [Ping timeout: 255 seconds]
warrshrike has joined #ruby
<warrshrike> hey
needRubyhelp has quit [Quit: Page closed]
<warrshrike> So I have two linked lists
<warrshrike> one == other if all nodes match
<warrshrike> so i iterate over both at same time and just check if all the nodes match
<warrshrike> simple enough right?
enyo_ has quit [Ping timeout: 252 seconds]
hanmac has joined #ruby
Jayson_Virissimo has joined #ruby
<warrshrike> now what the linked lists can still be equal if one or more extra nodes are added or a few nodes are removed from either one
<warrshrike> basically, a == b if say 90% of nodes match
ResidentBiscuit has quit [Remote host closed the connection]
<warrshrike> where order matters
<warrshrike> so how can I do this?
<warrshrike> Any ideas?
duderonomy has quit [Ping timeout: 240 seconds]
nowhere_man has quit [Ping timeout: 240 seconds]
jdawgaz has joined #ruby
eelster has joined #ruby
ResidentBiscuit has joined #ruby
<Ropeney> Keep a variable that is the length/amount same ratio and check it at end.
boombox_ has joined #ruby
marxarelli is now known as marxarelli|afk
mark[oz] has joined #ruby
mark[oz] has quit [Remote host closed the connection]
mark[oz] has joined #ruby
ResidentBiscuit has quit [Ping timeout: 255 seconds]
<warrshrike> Ropeney: I'm current doing that like this
<warrshrike> iterating in two loops and number of total matches/total iterations of two loops
<warrshrike> the trouble is that doesnt factor in the order
CloCkWeRX has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
joast has joined #ruby
<Ropeney> compare the lengths first, then you know how much is missing, then compare from start allowing to move forward upto the difference in the steps without a successful comparison. So you keep a counter of n that keeps track of how much you've moved forward by decrementing for a length. Each comparison is then either a success, or moved forward in the longer list decrementing from the counter. When counter goes out it must be out of order? Just off the
<Ropeney> cuff here.
Silthias has quit [Ping timeout: 258 seconds]
LoneHerm_ has joined #ruby
Silthias has joined #ruby
boombox_ has quit [Remote host closed the connection]
enilsen16 has quit [Quit: enilsen16]
eelster is now known as eelster__
eelster__ has quit [Quit: WeeChat 1.6]
milardov_ has joined #ruby
eelster has joined #ruby
mark[oz] has quit [Remote host closed the connection]
mark[oz] has joined #ruby
milardov_ has quit [Ping timeout: 240 seconds]
harfangk has joined #ruby
doritostains has quit [Quit: doritostains]
<Ropeney> warrshrike did that jumble of mess make sense?
<warrshrike> Ropeney: yeah but
<warrshrike> the trouble is what happens
<warrshrike> like aabbbaaa and aaaabaa
<warrshrike> so the first 2 will compare
<warrshrike> what should happen after that?
howdoi has joined #ruby
<Ropeney> want some scratch code?
<warrshrike> sure
<warrshrike> thanks
csk has joined #ruby
username has joined #ruby
pilne has quit [Quit: Quitting!]
<Ropeney> warrshrike, https://gist.github.com/anonymous/c03f2e6754ff60bba1aa759 <- make sure you refactor all that if you go that approach
AndBobsYourUncle has joined #ruby
dviola has quit [Quit: WeeChat 1.6]
<elomatreb> This sounds suspiciously like a homework assignment?
<eelster> elomatreb: Agreed
<Ropeney> doesn't really matter
tdy has joined #ruby
roflmyeggo has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 252 seconds]
Guest66056 is now known as ged
harai has joined #ruby
ged is now known as Guest34187
<warrshrike> nope
<warrshrike> its research work
<warrshrike> also the link is inaccessible
<Ropeney> seems so
rt has quit [Excess Flood]
JoshS has joined #ruby
username has quit [Ping timeout: 255 seconds]
rt has joined #ruby
roflmyeggo has quit [Ping timeout: 240 seconds]
<warrshrike> does ruby have any equivalent to this? https://docs.python.org/3/library/difflib.html#difflib.SequenceMatcher.ratio
hahuang65 has quit [Ping timeout: 240 seconds]
jcao219_ has quit [Ping timeout: 252 seconds]
AndBobsYourUncle has joined #ruby
ramfjord has joined #ruby
AndBobsYourUncle has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
duderonomy has joined #ruby
markholmes has quit [Quit: Leaving]
AndBobsY_ has joined #ruby
Silthias has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 248 seconds]
Silthias has joined #ruby
milardovich has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 245 seconds]
enilsen16 has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
JoshS has quit [Ping timeout: 240 seconds]
Jayson_Virissimo has quit []
braincrash has quit [Quit: bye bye]
aremaref has quit [Ping timeout: 240 seconds]
matp has quit [Remote host closed the connection]
matp has joined #ruby
jcao219_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
hahuang65 has joined #ruby
matp has quit [Remote host closed the connection]
c355e3b has quit [Quit: Connection closed for inactivity]
arescorpio has quit [Quit: Leaving.]
matp has joined #ruby
sebastia_ has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
Madper|commuting is now known as Madper
hahuang65 has quit [Ping timeout: 252 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
LoneHerm_ has quit [Ping timeout: 255 seconds]
matp has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 260 seconds]
matp has joined #ruby
aremaref has joined #ruby
milardovich has joined #ruby
Channel6 has quit [Quit: Leaving]
braincrash has joined #ruby
warrshrike has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby
milardovich has quit [Ping timeout: 245 seconds]
jdawgaz has joined #ruby
Andrew_TA has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Andrew_TA has quit [Ping timeout: 248 seconds]
warrshrike has joined #ruby
<warrshrike> does ruby have any thing similar to sequencematcher in python
StoneCypher has joined #ruby
harai has quit [Ping timeout: 258 seconds]
pawnbox has joined #ruby
enyo has joined #ruby
hotpancakes has joined #ruby
tau has quit [Remote host closed the connection]
<blackbom2> doubt it
<warrshrike> man this is annoying
<warrshrike> any idea how i can get similarity ratio b/w two arrays
<blackbom2> maybe try to port the python implementation
<warrshrike> either one may have some extra stuff not in the other
<blackbom2> did you look for a gem?
<warrshrike> tried to yeah. should be simple enough to code i guess
<blackbom2> you could make it a gem.
<blackbom2> port that API to ruby.
<blackbom2> maybe useful, i dont know, personally i never needed.
StoneCypher has quit [Ping timeout: 256 seconds]
enyo has quit [Ping timeout: 240 seconds]
<warrshrike> its definitely niche
<blackbom2> do you know python more than ruby?
gix has quit [Ping timeout: 245 seconds]
<blackbom2> i always thought they were so similar it'd never be worth learning both of them.
Guest34187 is now known as ged
ramfjord has joined #ruby
ged is now known as Guest78884
<blackbom2> what's the diff between a sequence and an array in python?
gix has joined #ruby
triangles has quit [Quit: Leaving]
<warrshrike> well i know both alright
<warrshrike> not to an expert, never have to see stackoverflow, degree
<warrshrike> they're quite similar
<blackbom2> hmm. python approach to arrays is much more involved. slices, sequences, lists.
<warrshrike> yeah
<warrshrike> list comprehensions etc
gusrub_ has quit [Remote host closed the connection]
<blackbom2> rubys model feels a lot more simple to grasp if you're new to programming tbh.
ramfjord has quit [Ping timeout: 260 seconds]
<blackbom2> why did you learn both? just curious
StoneCypher has joined #ruby
matp has quit [Remote host closed the connection]
matp has joined #ruby
xen0fon has joined #ruby
milardovich has joined #ruby
StoneCypher has quit [Ping timeout: 240 seconds]
<blackbom2> https://changelog.com/posts/denied-sinatra-for-python .. way different to ruby.
<blackbom2> what's the @ syntax for?
milardovich has quit [Ping timeout: 240 seconds]
warrshrike has quit [Ping timeout: 260 seconds]
sarlalian has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roflmyeggo has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang65 has joined #ruby
pitayita has joined #ruby
dcunit3d has joined #ruby
astrobunny has joined #ruby
hahuang65 has quit [Ping timeout: 255 seconds]
<pitayita> hi guys, im implementing a web sockets client. But I am having problems executing code on response to messages I receive. How can I execute code where I commented in the gist https://gist.github.com/arturodz/6171c4cc0492f6f5c480c2273f74ebd6
<pitayita> any ideas?
jeyraof has joined #ruby
<blackbom2> i think you have a typo?
<blackbom2> if event.data.something = true should be if event.data.something == true
ignarps has joined #ruby
mark[oz] has quit [Remote host closed the connection]
mark[oz] has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
pawnbox has quit [Remote host closed the connection]
spectrum has joined #ruby
pawnbox has joined #ruby
juiko has joined #ruby
aupadhye has joined #ruby
astrobunny has quit [Remote host closed the connection]
xall has joined #ruby
enilsen16 has quit [Quit: enilsen16]
ramfjord has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
_sfiguser has quit [Remote host closed the connection]
juiko has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 240 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
pawnbox has quit [Remote host closed the connection]
sdothum has joined #ruby
astrobunny has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
tristanp has quit []
tristanp has joined #ruby
hutch34 has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
skweek has joined #ruby
roflmyeggo has quit [Ping timeout: 255 seconds]
hutch34 has joined #ruby
aremaref has quit [Ping timeout: 240 seconds]
renchan has joined #ruby
enyo has joined #ruby
astrobunny has quit [Remote host closed the connection]
Guest78884 is now known as ged
ged is now known as Guest26094
pawnbox has joined #ruby
enyo has quit [Ping timeout: 240 seconds]
<blackbom2> spent last few hours reading about python. i think Go is more similar to ruby now lol
xall has quit [Ping timeout: 252 seconds]
ifctj has joined #ruby
grh has joined #ruby
crankharder has joined #ruby
anisha has joined #ruby
xall has joined #ruby
pawnbox has quit [Remote host closed the connection]
mark[oz] has quit [Read error: Connection reset by peer]
jameser_ has joined #ruby
MrBigDick has joined #ruby
pawnbox has joined #ruby
<MrBigDick> i love this language
jameser_ has quit [Client Quit]
jameser has quit [Ping timeout: 240 seconds]
MrBigDick has quit [Ping timeout: 260 seconds]
hahuang65 has joined #ruby
govg has joined #ruby
xall_ has joined #ruby
grh has quit [Ping timeout: 256 seconds]
xall has quit [Ping timeout: 240 seconds]
hahuang65 has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
matp has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
TreyG has joined #ruby
matp has joined #ruby
dionysus69 has joined #ruby
jameser has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
TreyG_ has joined #ruby
TreyG has quit [Ping timeout: 256 seconds]
Sammichmaker has joined #ruby
TreyG_ has left #ruby [#ruby]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Andrew_TA has joined #ruby
nowz has joined #ruby
milardovich has joined #ruby
harai has joined #ruby
ur5us has quit [Remote host closed the connection]
Andrew_TA has quit [Ping timeout: 256 seconds]
terens_ has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
terens has quit [Ping timeout: 252 seconds]
enterprisey has quit [Quit: Leaving]
ur5us has joined #ruby
enterprisey has joined #ruby
AndBobsY_ has quit [Remote host closed the connection]
saneax-_-|AFK is now known as saneax
pawnbox has quit [Read error: Connection reset by peer]
skweek has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 252 seconds]
braincrash has quit [Ping timeout: 252 seconds]
xall_ has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
pboling has quit [Remote host closed the connection]
csk has quit [Quit: ZZZzzz…]
<Cork> how can one reraise an exception when i've done what i want with it, and still keep the original stacktrace and so on?
StoneCypher has joined #ruby
<apeiros> Cork: rescue => e; do_stuff; raise e; end
<Cork> apeiros: but that will replace the stacktrace
pawnbox has quit [Remote host closed the connection]
<Cork> that is exactly what i'm doing now, and i loose the stacktrace with that
<Cork> (the stacktrace points to the position where i catch the exception instead of the original place)
<apeiros> hm, I thought that kept the stacktrace. got to commute. cya.
tonini has joined #ruby
<Ropeney> Cork, does just "raise" continue it?
pawnbox has joined #ruby
braincrash has joined #ruby
<Cork> yes
<Cork> everything works
<Cork> it just tramples on the stacktrace
<Ropeney> with original stack trace, dropping the "e"?
<Cork> no
<Cork> tried that too
dcunit3d has quit [Ping timeout: 248 seconds]
StoneCypher has quit [Ping timeout: 260 seconds]
<Ropeney> raise e, e.message, e.backtrace
<Cork> trying
<Cork> damn... nope :/
<Ropeney> whats it do?
<Cork> uhhh... sorry
<Cork> it is this error that is giving a weird stacktrace -_-'
<Cork> wtf..
<Cork> sorry for wasting your time...
<Ropeney> haha
doritostains has joined #ruby
<Ropeney> I was gunna say, I'm starting to doubt :P
<Cork> weird freaking error.. >_>
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Cork> and getting it the first time when trying to write a program wide stack trace notifier... >_<'
dionysus69 has quit [Remote host closed the connection]
LoneHermit has joined #ruby
mark[oz] has joined #ruby
milardovich has joined #ruby
Guest26094 is now known as ged
andikr has joined #ruby
ged is now known as Guest59732
LoneHermit has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
astrobunny has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
jameser has joined #ruby
last_staff has joined #ruby
braincrash has quit [Ping timeout: 258 seconds]
ta has quit [Remote host closed the connection]
braincrash has joined #ruby
brent__ has quit [Ping timeout: 256 seconds]
ruby-lang019 has joined #ruby
ruby-lang019 has quit [Client Quit]
hotpancakes has quit [Remote host closed the connection]
muelleme has joined #ruby
hotpancakes has joined #ruby
xall_ has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
tonini is now known as zastav
zastav is now known as tonini
blaxter has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
hotpancakes has quit [Ping timeout: 255 seconds]
dionysus69 has joined #ruby
pawnbox_ has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
hutch34 has quit [Ping timeout: 240 seconds]
aremaref has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
abunashir has joined #ruby
conta has joined #ruby
abunashir has quit []
foption has joined #ruby
abunashir has joined #ruby
ramfjord has joined #ruby
LoneHermit has joined #ruby
AnoHito has quit [Ping timeout: 240 seconds]
AnoHito_ has joined #ruby
dionysus69 has joined #ruby
milardovich has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
AndBobsYourUncle has joined #ruby
ifctj has quit [Ping timeout: 245 seconds]
milardovich has quit [Ping timeout: 245 seconds]
enyo has joined #ruby
LoneHermit has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 240 seconds]
doritostains has quit [Quit: doritostains]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
enyo has quit [Ping timeout: 248 seconds]
enterprisey has quit [Remote host closed the connection]
kaffepan1a has joined #ruby
aufi has joined #ruby
doritostains has joined #ruby
xall has joined #ruby
hotpancakes has joined #ruby
kaffepanna has quit [Ping timeout: 255 seconds]
aganov has joined #ruby
aufi has quit [Client Quit]
aufi has joined #ruby
xall_ has quit [Ping timeout: 258 seconds]
futilegames has joined #ruby
<apeiros> Cork: I just tested. `raise e` retains the original backtrace
<apeiros> so whatever you've got stomping over your backtrace, it ain't that
<Cork> apeiros: ya, Ropeney helpet me before
SesMan has joined #ruby
<Cork> it was the specific error i got in that case that throw me on a loop
<Cork> it was different then what i've gotten normally :/
<Cork> and it happened to be at the same time i wrote an exception notification wrapper *sigh*
Andrew_TA has joined #ruby
enyo has joined #ruby
braincrash has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
pawnbox has joined #ruby
jackjackdripper has joined #ruby
Andrew_TA has quit [Read error: Connection reset by peer]
muelleme has quit [Ping timeout: 240 seconds]
Andrew_TA has joined #ruby
enyo has quit [Ping timeout: 256 seconds]
Andrew_TA has quit [Read error: Connection reset by peer]
Andrew_T_ has joined #ruby
milardovich has joined #ruby
govg has quit [Quit: leaving]
enyo has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
Andrew_T_ has quit [Read error: Connection reset by peer]
Andrew_TA has joined #ruby
ponga has quit []
cgfbee has quit [Remote host closed the connection]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
Mortomes|Work has joined #ruby
Andrew_TA has quit [Read error: Connection reset by peer]
csk157 has joined #ruby
Andrew_TA has joined #ruby
pawnbox has joined #ruby
Derperpe1 has quit [Quit: WeeChat 1.5]
Andrew_TA has quit [Read error: Connection reset by peer]
Derperperd has joined #ruby
Andrew_TA has joined #ruby
cdg has joined #ruby
doublemalt_ has joined #ruby
vali_ has joined #ruby
TomyWork has joined #ruby
Andrew_TA has quit [Read error: Connection reset by peer]
_djbkd has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
Andrew_TA has joined #ruby
LoneHermit has joined #ruby
xall has quit [Ping timeout: 256 seconds]
dagelf has quit [Remote host closed the connection]
Andrew_TA has quit [Read error: Connection reset by peer]
dagelf has joined #ruby
matp has quit [Remote host closed the connection]
matp has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
gh0zt has quit [Ping timeout: 245 seconds]
LoneHermit has quit [Ping timeout: 252 seconds]
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
hahuang65 has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
xall has joined #ruby
g_maeda has joined #ruby
snapcase has quit [Quit: leaving]
djbkd has joined #ruby
Guest59732 is now known as ged
ged is now known as Guest55170
tvw has joined #ruby
hahuang65 has quit [Ping timeout: 255 seconds]
nankyokusei has joined #ruby
Silthias1 has joined #ruby
eggshke has joined #ruby
tvw has quit [Client Quit]
g_maeda has quit [Quit: Leaving...]
anisha has quit [Quit: This computer has gone to sleep]
tvw has joined #ruby
Silthias has quit [Ping timeout: 248 seconds]
xen0fon has quit [Quit: xen0fon]
nankyokusei has quit [Ping timeout: 255 seconds]
mark_66 has joined #ruby
nowhere_man has joined #ruby
nowhere_man has quit [Client Quit]
nowhere_man has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaffepan1a has quit [Ping timeout: 260 seconds]
jameser has joined #ruby
ddffg has joined #ruby
aidalgol has joined #ruby
cgfbee has joined #ruby
ta has joined #ruby
snapcase has joined #ruby
mlkkk has joined #ruby
aremaref has quit [Ping timeout: 258 seconds]
mlkkk has quit [Remote host closed the connection]
milardovich has joined #ruby
AndBobsYourUncle has joined #ruby
psychicist__ has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
wugy has joined #ruby
dagelf has quit [Remote host closed the connection]
dagelf has joined #ruby
kaffepanna has joined #ruby
chussenot has joined #ruby
pawnbox has quit [Remote host closed the connection]
JoshS has joined #ruby
pawnbox has joined #ruby
chussenot has quit [Client Quit]
<atmosx> Hi, I have an array with objects like this: #<Schedule @values={:id=>14, :addressbook_id=>43, :profession_id=>1, :date=>#<Date: 2016-09-19 ((2457651j,0s,0n),+0s,2299161j)>, :city=>"Δράμα", :type=>"overday", :created_at=>2016-09-16 11:13:12 +0300}> ... I'm trying to use group_by to sort them by date, but I'm getting back the same array
<atmosx> Schedule.all.group_by {|id, aid, pid, date, city, type, created_at| date} <-- am I using this correctly? I guess not.
mlkkk has joined #ruby
Silthias has joined #ruby
<apeiros> group by doesn't sort, it groups?
StoneCypher has joined #ruby
mlkkk has quit [Remote host closed the connection]
mlkkk has joined #ruby
<atmosx> that's what I understand by reading here: https://ruby-doc.org/core-2.2.3/Enumerable.html#method-i-group_by
<apeiros> and if your description is correct, then group_by won't get 7 arguments, it'll get one
<apeiros> atmosx: sorting means it changes the order of elements, so that the smallest is first and the biggest last
<apeiros> group by does no such thing
Silthias1 has quit [Ping timeout: 252 seconds]
<apeiros> from your description I'd expect your group_by to return a hash with a single key (nil) containing all values.
<atmosx> apeiros: indeed
<apeiros> how do you get the date from a Schedule instance?
gagrio_ has joined #ruby
<apeiros> schedule.date ?
anisha has joined #ruby
<atmosx> Schedule.all.first.date
gagrio_ has quit [Remote host closed the connection]
<apeiros> ok, so schedule.date :-p
<atmosx> yes
<apeiros> schedules.sort_by { |schedule| schedule.date }
<apeiros> or short: schedules.sort_by(&:date)
doritostains has quit [Quit: doritostains]
StoneCypher has quit [Ping timeout: 260 seconds]
<apeiros> because sort_by sorts. group_by creates groups. and both sort_by and group_by only get a single argument - the schedule instance to process.
<atmosx> thanks apeiros!
<apeiros> atmosx: and for future reference - please try to correctly describe what happens. "I'm getting back the same array" is not correct. group_by returns a Hash. this got me confused for quite a bit and left me struggling to figure out what part of your description was wrong.
jphase has quit [Ping timeout: 272 seconds]
djbkd has quit [Remote host closed the connection]
<atmosx> apeiros: okay!
<apeiros> thanks :)
doritostains has joined #ruby
djbkd has joined #ruby
jshjsh has joined #ruby
last_staff1 has joined #ruby
JoshS has quit [Disconnected by services]
jshjsh is now known as JoshS
nettoweb has joined #ruby
elliot007 has quit [Ping timeout: 248 seconds]
last_staff has quit [Ping timeout: 245 seconds]
last_staff1 is now known as last_staff
willemb has joined #ruby
the_drow has joined #ruby
<willemb> do i really need a /root/.gemrc file? Can't I just have everything in /etc/gemrc ?
mikecmpbll has joined #ruby
jolamb has quit [Quit: ZNC - http://znc.in]
snapcase has quit [Quit: leaving]
vasilakisfil has joined #ruby
xall has quit [Ping timeout: 240 seconds]
snapcase has joined #ruby
harai has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby
djbkd has quit [Remote host closed the connection]
theRoUS has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
xen0fon has joined #ruby
teclator has quit [Ping timeout: 240 seconds]
xen0fon has quit [Client Quit]
eggshke has quit []
Macaveli has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
astrobunny has quit [Remote host closed the connection]
doublemalt_ has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
Fernando-Basso has joined #ruby
tomphp has joined #ruby
Guest55170 is now known as ged
jsrn_ has joined #ruby
ged is now known as Guest1876
brent__ has quit [Ping timeout: 260 seconds]
teclator has joined #ruby
ramfjord has joined #ruby
willemb has quit [Quit: leaving]
JeanCarloMachado has joined #ruby
antgel has joined #ruby
ziarkaen has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
futilegames has quit [Ping timeout: 240 seconds]
futilegames has joined #ruby
enyo has quit [Ping timeout: 260 seconds]
elliot007 has joined #ruby
Beams has joined #ruby
marcoecc has quit [Read error: Connection reset by peer]
marcoecc has joined #ruby
Wave has joined #ruby
milardovich has joined #ruby
doritostains has quit [Quit: doritostains]
Wave has quit [Remote host closed the connection]
anisha has quit [Read error: Connection reset by peer]
jshjsh has joined #ruby
sdothum has joined #ruby
milardovich has quit [Ping timeout: 245 seconds]
astrobunny has joined #ruby
rodfersou has joined #ruby
JoshS has quit [Ping timeout: 252 seconds]
flughafen has joined #ruby
Burgestrand has joined #ruby
evie_hammond has joined #ruby
enyo has joined #ruby
UserJosh has joined #ruby
biberu has joined #ruby
braincrash has quit [Ping timeout: 255 seconds]
jshjsh has quit [Ping timeout: 252 seconds]
psychicist__ has quit [Ping timeout: 240 seconds]
marr has joined #ruby
vasilakisfil has quit [Remote host closed the connection]
doublemalt_ has joined #ruby
<dminuoso> /root/.gemrc?
<dminuoso> This sounds so wrong.
dionysus69 has quit [Ping timeout: 256 seconds]
byte512 has joined #ruby
charliesome has joined #ruby
anisha has joined #ruby
hotpancakes has joined #ruby
biberu has quit []
braincrash has joined #ruby
biberu has joined #ruby
jcao219_ has quit [Ping timeout: 245 seconds]
hahuang65 has joined #ruby
hahuang65 has quit [Ping timeout: 256 seconds]
ziarkaen has quit [Ping timeout: 240 seconds]
doritostains has joined #ruby
ur5us has quit [Remote host closed the connection]
nankyokusei has joined #ruby
Kug3lis has joined #ruby
UserJosh is now known as JoshS
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cibs has quit [Ping timeout: 268 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
zapata has quit [Ping timeout: 240 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
cibs has joined #ruby
JeanCarloMachado has joined #ruby
doritostains has quit [Quit: doritostains]
ldnunes has joined #ruby
xen0fon has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
edwardly has quit [Ping timeout: 272 seconds]
Sammichmaker has quit [Ping timeout: 240 seconds]
mlkkk has quit [Remote host closed the connection]
abunashir has quit [Remote host closed the connection]
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
jshjsh has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
<atmosx> dminuoso: indeed, I think he left the channel though (I removed parts/joins from my screen a while back - so if tab doesn't come up with a completion...)
jcao219_ has joined #ruby
JoshS has quit [Ping timeout: 252 seconds]
mlkkk has joined #ruby
Guest1876 is now known as ged
ged is now known as Guest81521
ferr1 has joined #ruby
k13nox has joined #ruby
zapata has joined #ruby
milardovich has joined #ruby
aidalgol has quit [Quit: zZzZzzzz]
milardovich has quit [Client Quit]
AndBobsYourUncle has joined #ruby
milardovich has joined #ruby
astrobunny has quit [Remote host closed the connection]
ldnunes has quit [Ping timeout: 258 seconds]
ldnunes has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Derperperd has quit [Ping timeout: 260 seconds]
StoneCypher has joined #ruby
braincrash has quit [Ping timeout: 252 seconds]
JeanCarloMachado has quit [Ping timeout: 258 seconds]
nowhere_man has quit [Quit: Konversation terminated!]
csk157 has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
JeanCarloMachado has joined #ruby
StoneCypher has quit [Ping timeout: 248 seconds]
nowhere_man has quit [Remote host closed the connection]
Macaveli has quit [Ping timeout: 252 seconds]
xen0fon has quit [Quit: xen0fon]
spectrum has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toretore has quit [Ping timeout: 260 seconds]
braincrash has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
csk157 has joined #ruby
Silthias has quit [Ping timeout: 248 seconds]
neuraload has joined #ruby
charliesome has joined #ruby
ziarkaen has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
ziarkaen has quit [Ping timeout: 258 seconds]
psychicist__ has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
enyo has quit [Ping timeout: 245 seconds]
braincrash has quit [Ping timeout: 240 seconds]
Sammichmaker has joined #ruby
jameser has quit [Ping timeout: 240 seconds]
Ishido has quit [Ping timeout: 248 seconds]
nowz has quit [Remote host closed the connection]
mlkkk has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
tomphp_ has joined #ruby
mark[oz] has quit [Remote host closed the connection]
ioden has joined #ruby
mark[oz] has joined #ruby
tomphp has quit [Ping timeout: 240 seconds]
ziarkaen has joined #ruby
Sammichmaker has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
mark[oz] has quit [Ping timeout: 256 seconds]
vali_ has joined #ruby
dionysus69 has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
ziarkaen has quit [Ping timeout: 252 seconds]
vali_ has quit [Client Quit]
usse has joined #ruby
usse has quit [Client Quit]
neuraload has quit [Quit: This computer has gone to sleep]
ifctj has joined #ruby
Ishido has joined #ruby
neuraload has joined #ruby
ziarkaen has joined #ruby
ta has quit [Remote host closed the connection]
Macaveli has joined #ruby
braincrash has joined #ruby
dionysus69 has quit [Quit: dionysus69]
eelster has quit [Ping timeout: 255 seconds]
nowz has joined #ruby
k13nox has quit [Remote host closed the connection]
k13nox has joined #ruby
Silthias has joined #ruby
Guest81521 is now known as ged
ged is now known as Guest29944
jackjackdripper has quit [Quit: Leaving.]
Derperperd has joined #ruby
jcao219_ has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
k13nox has quit [Ping timeout: 240 seconds]
enyo has joined #ruby
AlexRussia has joined #ruby
ifctj has quit [Ping timeout: 255 seconds]
Derperperd has quit [Ping timeout: 240 seconds]
spectrum has joined #ruby
jcao219_ has joined #ruby
jdawgaz has joined #ruby
enyo has quit [Ping timeout: 245 seconds]
ResidentBiscuit has joined #ruby
plantfood has joined #ruby
jdawgaz has quit [Ping timeout: 240 seconds]
enyo has joined #ruby
ResidentBiscuit has quit [Ping timeout: 255 seconds]
tyang has joined #ruby
marr has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
nadir has joined #ruby
synaps3 has joined #ruby
hahuang65 has joined #ruby
opt9 has quit [Quit: Bye bye]
mrvisser has joined #ruby
opt9 has joined #ruby
mlkkk has joined #ruby
cdg has quit [Remote host closed the connection]
<mrvisser> Hi all. When I run `GEM_HOME=~/.gems ~/.gems/bin/bundle install` I get: Your Ruby version is 2.1.9, but your Gemfile specified 2.3.1 . The ruby version needed in my Gemfile is indeed 2.3.1. However when I do ruby -v I get "ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux-gnu]". I'm ubuntu, installed ruby with apt and I used update-alternatives to make ruby2.3 the global default. Any idea why I would be getting this?
chg has quit [Read error: Connection reset by peer]
hahuang65 has quit [Ping timeout: 258 seconds]
nankyokusei has joined #ruby
<mrvisser> Usually advice is to use rvm. I tried that way back when w/ my ansible install and had an equal amount of trouble getting the ruby environment right. I could give it another shot but I'm hoping I'm just missing something simple here.
jcao219_ has quit [Ping timeout: 260 seconds]
k13nox has joined #ruby
mlkkk has quit [Ping timeout: 256 seconds]
mlkkk has joined #ruby
jolamb has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
Andrew_TA has joined #ruby
tk__ has joined #ruby
znz_jp has quit [Remote host closed the connection]
Andrew_TA has quit [Ping timeout: 248 seconds]
<parsnip> mrvisser: iiuc, it's either rvm, rubyenv, or chruby
jameser has joined #ruby
znz_jp has joined #ruby
eblip has joined #ruby
csk has joined #ruby
evie_hammond has quit [Ping timeout: 248 seconds]
eb0t has quit [Ping timeout: 245 seconds]
Kug3lis has joined #ruby
Derperperd has joined #ruby
ta has joined #ruby
saneax is now known as saneax-_-|AFK
ta has quit [Remote host closed the connection]
Derperperd has quit [Ping timeout: 240 seconds]
AndBobsYourUncle has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
stamina has joined #ruby
plantfood has quit [Quit: Leaving]
psychicist__ has quit [Ping timeout: 240 seconds]
c355e3b has joined #ruby
ta has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
tonini has quit [Quit: Connection closed for inactivity]
josealobato has joined #ruby
jaruga___ has joined #ruby
dionysus69 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
StoneCypher has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Guest29944 is now known as ged
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlexRussia has quit [Read error: Connection reset by peer]
ged is now known as Guest44172
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
StoneCypher has quit [Ping timeout: 240 seconds]
eelster has joined #ruby
koldbrutality has quit [Ping timeout: 258 seconds]
GinoManWorks has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
csk has quit [Ping timeout: 258 seconds]
eelster_ has joined #ruby
eelster has quit [Ping timeout: 240 seconds]
eelster_ is now known as eelster
jeyraof has quit [Quit: This computer has gone to sleep]
jameser has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has joined #ruby
marr has quit [Ping timeout: 240 seconds]
ziarkaen_ has joined #ruby
jenrzzz has joined #ruby
ziarkaen has quit [Ping timeout: 240 seconds]
anisha has quit [Quit: Leaving]
xen0fon has joined #ruby
neuraload has quit [Quit: This computer has gone to sleep]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
mrvisser has quit [Remote host closed the connection]
shinnya has joined #ruby
masondesu has joined #ruby
k13nox has quit [Quit: Leaving...]
Drakevr has quit [Changing host]
Drakevr has joined #ruby
tpendragon has quit [Ping timeout: 255 seconds]
Derperperd has joined #ruby
blackjid has quit [Ping timeout: 255 seconds]
ramfjord has joined #ruby
govg has joined #ruby
psychicist__ has joined #ruby
Derperperd has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
Lord_of_Life has quit [Excess Flood]
nicoulaj has joined #ruby
slackbotgz has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
Lord_of_Life has joined #ruby
emilkarl has joined #ruby
rkazak has joined #ruby
rkazak has quit [Client Quit]
csk has joined #ruby
Andrew_TA has joined #ruby
csk has quit [Client Quit]
AnxiousGarlic has joined #ruby
AnxiousGarlic_ has joined #ruby
andikr has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
anisha has joined #ruby
masondesu has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
Fuzai has joined #ruby
pawnbox has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 240 seconds]
StoneCypher has joined #ruby
mistergibson has quit [Ping timeout: 248 seconds]
StoneCypher has quit [Ping timeout: 260 seconds]
ResidentBiscuit has joined #ruby
jhack has joined #ruby
emilkarl has quit [Quit: emilkarl]
dionysus70 has joined #ruby
AnxiousGarlic_ has quit [Ping timeout: 256 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
dionysus70 is now known as dionysus69
jrsTS has joined #ruby
<jrsTS> hi!
ResidentBiscuit has quit [Ping timeout: 255 seconds]
hotpancakes has quit [Ping timeout: 255 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
<jrsTS> i'm trying to be a good ruby citizen and use Pathname. but now i have this problem: https://gist.github.com/sixtyfive/0f1aaed94bb86ddf7177f8fa9b52b842 ... what would be the correct way (tm) to go about this?
frozengeek__ has joined #ruby
tk__ has quit [Quit: ばいばい]
csk has joined #ruby
ziarkaen_ has quit [Ping timeout: 240 seconds]
duckpuppy has joined #ruby
Guest44172 is now known as ged
ged is now known as Guest48375
brent__ has joined #ruby
rodfersou is now known as rodfersou|lunch
ziarkaen has joined #ruby
mrvisser has joined #ruby
<mrvisser> Hi all. When I run `GEM_HOME=~/.gems ~/.gems/bin/bundle install` I get: Your Ruby version is 2.1.9, but your Gemfile specified 2.3.1 . The ruby version needed in my Gemfile is indeed 2.3.1. However when I do ruby -v I get "ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux-gnu]". I'm ubuntu, installed ruby with apt and I used update-alternatives to make ruby2.3 the global default. Any idea why I would be getting this?
bmurt has joined #ruby
<eelster> mrvisser: Are you using rbenv or rvm?
<mrvisser> I am not, just the version installed by ubuntu
<mrvisser> neither of those are installed
<eelster> What does gem environment show?
mark[oz] has joined #ruby
<eelster> Or more specifically `gem environment | grep "RUBY VERSION"`
henriknj has joined #ruby
<eelster> mrvisser: Because sometimes the ruby version is different from the ruby version that the gem uses
hutch34 has joined #ruby
<mrvisser> Interesting, I'll take a peek. Sorry I'm iterating using a AMI buuilder and I'm in the middle of another build. Will get that info shortly, thanks for the tip
slackbotgz has quit [Remote host closed the connection]
brent__ has quit [Ping timeout: 248 seconds]
<eelster> No worries.
mlkkk has quit [Remote host closed the connection]
ziarkaen has quit [Ping timeout: 240 seconds]
mlkkk has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
mark[oz] has quit [Ping timeout: 240 seconds]
saslam has joined #ruby
ocbtec has joined #ruby
hahuang65 has joined #ruby
shinnya has quit [Ping timeout: 255 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
ziarkaen has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
<mrvisser> eelster: alas: RUBY VERSION: 2.1.9 (2016-03-30 patchlevel 490) [x86_64-linux-gnu]
<mrvisser> probably need to change my `gem` alternative?
<mrvisser> yea I do
modin has joined #ruby
nankyokusei has joined #ruby
saneax-_-|AFK is now known as saneax
<eelster> mrvisser: Here is advice on how to do it https://www.ruby-forum.com/topic/493232
<mrvisser> thanks. just updating alternatives fixes RUBY VERSION to be 2.3.3 in the gem environment. However I still get the same error. I'll give that link a look
jenrzzz has quit [Ping timeout: 252 seconds]
cdg has joined #ruby
ziarkaen has quit [Ping timeout: 256 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
jhack has quit [Quit: jhack]
jhack has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
ziarkaen has joined #ruby
doublemalt_ has quit [Ping timeout: 240 seconds]
milardovich has quit [Remote host closed the connection]
baweaver has quit [Max SendQ exceeded]
baweaver has joined #ruby
milardovich has joined #ruby
malconis has joined #ruby
iogf has joined #ruby
doublemalt_ has joined #ruby
dionysus69 has quit [Remote host closed the connection]
Derperperd has joined #ruby
malconis has quit [Ping timeout: 260 seconds]
saslam has quit [Ping timeout: 255 seconds]
milardovich has quit [Ping timeout: 256 seconds]
jhack has quit [Quit: jhack]
hogetaro has quit [Quit: Leaving...]
jhack has joined #ruby
aupadhye has quit [Ping timeout: 256 seconds]
ziarkaen has quit [Ping timeout: 248 seconds]
malconis has joined #ruby
ifctj has joined #ruby
Ishido has quit [Ping timeout: 240 seconds]
Derperperd has quit [Ping timeout: 256 seconds]
lmc has joined #ruby
ziarkaen has joined #ruby
prestorium has joined #ruby
adbjesus has joined #ruby
moei has quit [Quit: Leaving...]
bigkevmcd has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sebastiansier has joined #ruby
govg has quit [Quit: leaving]
AndBobsYourUncle has joined #ruby
ziarkaen has quit [Ping timeout: 260 seconds]
emilkarl has joined #ruby
<mrvisser> eelster: I realized the remaining error I had was because bundler was installed while it was still ruby 2.1. All resolved, thanks for the help!
<eelster> mrvisser: No worries! That's good
hogetaro has joined #ruby
Ishido has joined #ruby
xen0fon has quit [Quit: xen0fon]
Diabolik has quit [Quit: ZNC - http://znc.in]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
rippa has joined #ruby
Diabolik has joined #ruby
masondesu has joined #ruby
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has joined #ruby
polishdub has joined #ruby
last_staff has quit [Quit: last_staff]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jhack has quit [Quit: jhack]
milardovich has joined #ruby
sentriz has joined #ruby
josealobato has quit [Quit: Textual IRC Client: www.textualapp.com]
frozengeek__ has quit [Quit: frozengeek__]
milardovich has quit [Ping timeout: 240 seconds]
frozengeek__ has joined #ruby
ResidentBiscuit has joined #ruby
cdg_ has joined #ruby
ziarkaen has joined #ruby
jzigmund has joined #ruby
glnz has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
ResidentBiscuit has quit [Ping timeout: 255 seconds]
emilkarl has quit [Quit: emilkarl]
ta has quit [Remote host closed the connection]
tercenya_ has quit [Remote host closed the connection]
milardovich has joined #ruby
tercenya has joined #ruby
milardovich has quit [Ping timeout: 252 seconds]
stamina has quit [Quit: WeeChat 1.6]
workmad3 has joined #ruby
jhack has joined #ruby
moei has joined #ruby
ifctj has quit [Ping timeout: 252 seconds]
Guest48375 is now known as ged
ged is now known as Guest51440
<MMZF> cbot/lib/reports.rb:9:in `exists?': no implicit conversion of nil into String (TypeError)
<MMZF> help please..
<MMZF> i've never done ruby..
jhack has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
csk has quit [Quit: ZZZzzz…]
saslam has joined #ruby
adil has joined #ruby
gajus has joined #ruby
shashin has joined #ruby
gregf_ has quit [Ping timeout: 260 seconds]
teclator has quit [Ping timeout: 260 seconds]
anisha has quit [Quit: Leaving]
gregf_ has joined #ruby
spastorino has joined #ruby
jrafanie has joined #ruby
<atmosx> MMZF: You have a nil object where is a string is assumed
adil has quit [Ping timeout: 252 seconds]
<MMZF> atmosx i can't figure out what is nil :/
<MMZF> that's the prob
<atmosx> MMZF: can you give a link with the code?
<MMZF> ok
<atmosx> line:9 is a good place to start digging
masondesu has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<canton7> 'file' is probably nil
<adbjesus> in this line: unless File.exists?(file)
<MMZF> oh
<MMZF> i should replace (file) with file name right?
<canton7> when you call 'ReportDB.load(..)', you should pass a string instead of nil
yehowyada has joined #ruby
<canton7> you probably shouldn't be editing that file
<MMZF> well that's a free open source bot scripts having error.
shashin has quit [Quit: shashin]
<MMZF> not supported from june,2014
<MMZF> but i really need that bot.
<atmosx> good, fix it
<MMZF> :)
<atmosx> canton7: already gave you a hint ;-)
<MMZF> what should i do?
<MMZF> hmm
<canton7> MMZF, fix the code which calls ReportDB.load so that it doesn't pass in nil
<MMZF> brb in 15 mins
hotpancakes has quit [Remote host closed the connection]
<MMZF> canton7 sure i'll be back in some mins
masondesu has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yehowyada has quit [Client Quit]
SesMan has joined #ruby
Derperperd has joined #ruby
kch has joined #ruby
doublemalt_ has quit [Ping timeout: 248 seconds]
<kch> ello
hogetaro has quit [Quit: Leaving...]
ramfjord has joined #ruby
doublemalt_ has joined #ruby
Derperperd has quit [Ping timeout: 256 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
milardovich has quit [Ping timeout: 245 seconds]
shayan_ has joined #ruby
jrsTS has quit [Read error: Connection reset by peer]
byte512 has quit [Ping timeout: 256 seconds]
AnxiousGarlic has quit [Read error: Connection reset by peer]
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_geoff has joined #ruby
<_geoff> i am trying to install the shopify_cli gem from osx i have rvm, running 2.3.3.
karhu has joined #ruby
<_geoff> when i try to install shopify_cli i get `cannot find valid gem 'activesupport' (=2.3.0).. possible alternatives: activesupport'
Kug3lis has joined #ruby
<karhu> hello ruby people. I'm here to learn ruby and riot. which way?
<_geoff> so i gem install activesupport and it successfully downloads activesupport >5
<_geoff> karhu: http://poignant.guide/
kch has quit [Ping timeout: 240 seconds]
<karhu> this guide speaks my language
nowz has quit [Remote host closed the connection]
Shashikant86 has joined #ruby
Guest91522 has quit [Changing host]
Guest91522 has joined #ruby
Guest91522 has joined #ruby
Guest91522 has quit [Changing host]
Guest91522 is now known as pskosinski
ben___ has joined #ruby
Guest22896 has joined #ruby
iogf has quit [Remote host closed the connection]
<karhu> this is the most beautiful thing I have ever seen
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
psychicist__ has quit [Ping timeout: 245 seconds]
pawnbox has joined #ruby
makerops has joined #ruby
mark[oz] has joined #ruby
<makerops> When running bundle install/update, and gems need to build, I am receiving: "Device or resource busy @ unlink_internal"
<makerops> has anyone run into that? Google, is being of little use
<makerops> my home directory is an NFS share...is it possibly related to some weird permissions error (Im using rvm, with my .rvm/.bundle directories in my home dir
yehowyada has joined #ruby
wugy has quit []
synaps3 has quit [Quit: Leaving]
frozengeek__ has quit [Quit: frozengeek__]
blaxter has quit [Quit: foo]
mark_66 has quit [Remote host closed the connection]
ta has joined #ruby
csk157 has quit [Ping timeout: 240 seconds]
mark[oz] has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
enyo has quit [Ping timeout: 240 seconds]
Derperperd has joined #ruby
milardovich has quit [Ping timeout: 256 seconds]
hahuang65 has joined #ruby
brent__ has joined #ruby
teclator has joined #ruby
hahuang65 has quit [Ping timeout: 255 seconds]
hogetaro has joined #ruby
<eelster> Is there a way to document executables using yardoc for gems or is that not requested or wanted.
rodfersou|lunch is now known as rodfersou
nankyokusei has joined #ruby
cgibsonmm has joined #ruby
conta has quit [Ping timeout: 240 seconds]
doublemalt_ has quit [Ping timeout: 248 seconds]
jhooker has joined #ruby
yehowyada has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest51440 is now known as ged
<cgibsonmm> good morning, I have a question about rubocop. I am trying to compare strings say (word = 'harry)'... and using code like (number +=1 if word.downcase == 'harry')
ged is now known as Guest97146
nankyokusei has quit [Ping timeout: 240 seconds]
jhack has joined #ruby
<eelster> cgibsonmm: Are you iterating over an array?
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cgibsonmm> rubocop is say to use casecmp for case insinsitive comparison but I am having trouble because casecmp does not return a boolean
unshadow has joined #ruby
<cgibsonmm> @eelster yes
<eelster> cgibsonmm: On another point then, you are better off using `count` than doing `number += 1`
<cgibsonmm> true
<eelster> You can do something like `ary.count{|i| i.casecmp('harry').zero?}`
<eelster> Would that work?
<cgibsonmm> Yeah that works perfect
<eelster> Awesome!
Roa has quit [Changing host]
Roa has joined #ruby
<cgibsonmm> so call .zero? got it
<cgibsonmm> Thank you,
vali_ has joined #ruby
<eelster> Yep. `zero?` checks if something is zero. You could also do `== 0`, but `zero?` looks nicer IMO
<cgibsonmm> yeah,I always forget about the comparison operators. Thx
aufi has quit [Quit: Leaving]
imperator has joined #ruby
mrvisser has quit [Remote host closed the connection]
shayan_ has quit [Quit: shayan_]
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
Derperperd has quit [Max SendQ exceeded]
Derperperd has joined #ruby
shayan_ has joined #ruby
milardovich has joined #ruby
ramfjord has joined #ruby
mustmodify has joined #ruby
LuckyABA has joined #ruby
tvw has quit [Ping timeout: 258 seconds]
StoneCypher has joined #ruby
thoolihan has quit [Quit: ZNC 1.6.3 - http://znc.in]
Mortomes|Work has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 248 seconds]
tvw has joined #ruby
AndBobsYourUncle has joined #ruby
Emmanuel_Chanel has joined #ruby
aganov has quit [Remote host closed the connection]
ziarkaen has quit [Ping timeout: 256 seconds]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
teclator has quit [Ping timeout: 252 seconds]
ziarkaen has joined #ruby
teclator has joined #ruby
tolerablyjake has joined #ruby
Kug3lis has joined #ruby
mlkkk has quit [Remote host closed the connection]
username_ has joined #ruby
[Butch] has joined #ruby
hotpancakes has quit [Remote host closed the connection]
binaryplease has joined #ruby
binaryplease has quit [Client Quit]
masondesu has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
minimalism has quit [Quit: minimalism]
lenwood has joined #ruby
hotpancakes has joined #ruby
Dry_Lips has joined #ruby
aufi has joined #ruby
shayan_ has quit [Quit: shayan_]
ramfjord has quit [Ping timeout: 240 seconds]
hotpancakes has quit [Ping timeout: 258 seconds]
nowhere_man has joined #ruby
armyriad has quit [Ping timeout: 256 seconds]
armyriad has joined #ruby
hotpancakes has joined #ruby
lmc has quit [Remote host closed the connection]
hotpancakes has quit [Remote host closed the connection]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpancakes has joined #ruby
amclain has joined #ruby
StoneCyp1er has joined #ruby
teclator has quit [Quit: No Ping reply in 180 seconds.]
lmc has joined #ruby
lmc has quit [Remote host closed the connection]
lmc has joined #ruby
teclator has joined #ruby
StoneCypher has quit [Ping timeout: 240 seconds]
chussenot has joined #ruby
markholmes has joined #ruby
blackwind_123 has joined #ruby
milardovich has joined #ruby
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hightower2 has joined #ruby
Guest22896 has quit [Ping timeout: 245 seconds]
jsrn_ has quit [Quit: Leaving]
teclator has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 240 seconds]
rodferso1 has joined #ruby
gusrub_ has joined #ruby
teclator has joined #ruby
gusrub_ has quit [Client Quit]
skweek has joined #ruby
foption has quit [Remote host closed the connection]
rodfersou has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
djbkd has joined #ruby
chussenot has quit [Quit: chussenot]
shayan_ has joined #ruby
teclator has quit [Ping timeout: 245 seconds]
ferr1 has quit [Quit: WeeChat 1.6]
vayan has quit [Ping timeout: 240 seconds]
lmc has quit [Remote host closed the connection]
tomphp_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cgibsonmm has quit []
lmc has joined #ruby
ramfjord has joined #ruby
aufi has quit [Quit: Leaving]
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
rodferso1 is now known as rodfersou
vali_ has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Ping timeout: 252 seconds]
lmc has quit [Ping timeout: 240 seconds]
<StoneCyp1er> is it against the general ruby approach to have a single positional argument then a bunch of named arguments?
<StoneCyp1er> by example a logger, so that the actual log line is required, and then all the optional stuff becomes optional
StoneCyp1er is now known as StoneCypher
Kug3lis has joined #ruby
bmurt has joined #ruby
<mustmodify> no
<mustmodify> it is not
<mustmodify> or
<mustmodify> wait
<mustmodify> sorry, read your question wrong.
<mustmodify> That's ok.
<mustmodify> It's done often.
<StoneCypher> ok thanks
makerops has quit [Quit: Page closed]
<StoneCypher> so a notation like this isn't novice garbage?
<StoneCypher> def self.track(description, category: nil, priority: 0, trigger_user: nil, target_user: nil, extradata: '')
<mustmodify> typically it's a hash afterwards to avoid interface bloat.
<mustmodify> though a list of non-hash params is perfectly fine if you're pretty sure of your interface and the order is intuitive.
<StoneCypher> i'm certain of the interface, and the whole reason i'm using keyword arguments is to get away from needing to know the order
teclator has joined #ruby
evie_hammond has joined #ruby
<mustmodify> Well, I don't personally use keyword arguments, preferring hashes. But it's certainly an option.
<StoneCypher> also, caller[0] tells me the running app, line number, and function of the caller
<StoneCypher> what if i want __FILE__ for the caller?
Guest97146 is now known as ged
doritostains has joined #ruby
ged is now known as Guest48320
skweek has quit [Ping timeout: 260 seconds]
<sheepman> anyone have lots of experience with nokogiri? I want to expand this regexp html.css('div[id^="ip_selection"]') to say html.css('div[id^="ip_selection\d+"]') but i can't seem to get the syntax right :/
mustmodify has left #ruby [#ruby]
duderonomy has quit [Ping timeout: 240 seconds]
Derperperd has quit [Ping timeout: 240 seconds]
jhack has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
chrisarcand has quit [Remote host closed the connection]
Andrew_TA has quit [Remote host closed the connection]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shayan_ has quit [Quit: shayan_]
hahuang65 has joined #ruby
chouhoulis has joined #ruby
csk has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
DLSteve has joined #ruby
shayan_ has joined #ruby
AndBobsYourUncle has joined #ruby
shayan_ has quit [Client Quit]
ziarkaen has quit [Ping timeout: 256 seconds]
<StoneCypher> do ... class members not carry across threads?
<StoneCypher> locals do. wth
<eelster> StoneCypher: Example?
jhack has joined #ruby
csk has quit [Ping timeout: 240 seconds]
<blackbom2> what are 'class members'
<blackbom2> in the context of ruby
dviola has joined #ruby
saneax is now known as saneax-_-|AFK
conta has joined #ruby
csk has joined #ruby
dviola has quit [Changing host]
dviola has joined #ruby
aremaref has joined #ruby
<eelster> Yeah, I don't know what you're saying. I don't see a differecne in beavhior between attributes and locals
toretore has joined #ruby
cschneid has joined #ruby
<StoneCypher> i had a setup where i had a self.def whatever which kept a local as a counter, then spawned 20 threads and worked with the counter. behaved as i expected, including the mild race condition
tinti has joined #ruby
<StoneCypher> so i moved to a @@classmember variable, and now every single thread is initting it, as if they can't see that it's not nil anymore in the others
tinti is now known as Guest2210
<StoneCypher> the locals are still behaving as expected
<blackbom2> can you share the code
<StoneCypher> moment
ryantriangles[m] has joined #ruby
<eelster> Oh, class level variable.
<blackbom2> just 'class variable'.
whathappens has joined #ruby
<eelster> I was confused by clas member
<blackbom2> me too
<StoneCypher> it isn't clear to me why @@rkf_firehose keeps getting re-initialized, as if nothing can see that it's not nil anymore. serial calls from a single thread do not exhibit this problem, as don't calls into caps, a local
koldbrutality has joined #ruby
siddart has joined #ruby
ptx0 has quit [Ping timeout: 240 seconds]
<eelster> StoneCypher: For me it is working as expected with my example gist https://gist.github.com/8641858d9f94f5cdbe35895c28d34d33
<eelster> I'm not eaxactly sure what your code is doing. Why do you have begin inside of your thread?
shayan_ has joined #ruby
<blackbom2> StoneCypher: you don't try to access the class variable in the method that spawns threads, and you don't call the method that initializes the class variable.
csk has quit [Max SendQ exceeded]
<StoneCypher> eelster: because i don't know ruby
shayan_ has quit [Client Quit]
<blackbom2> the code you pasted doesn't reproduce the problem you've been describing.
<StoneCypher> it does.
alexherbo2 has joined #ruby
<StoneCypher> oh, i removed one more method than i had meant to
<StoneCypher> moment, fixing
<eelster> StoneCypher: Can you also next time please use .rb as a file extension when you paste to gist. The highlighting helps a lot
howdoi has quit [Quit: Connection closed for inactivity]
TechIsCool has joined #ruby
<StoneCypher> updated with missing method readded and highlighting set
<StoneCypher> sorry
tvw has quit []
<TechIsCool> Hey everyone I am stuck on something I assume is a simple problem but I can't seem to figure out what I am doing wrong https://repl.it/FG6n I would love a little help
tvw has joined #ruby
<eelster> TechIsCool: What are you trying to get as your output
tercenya has quit [Remote host closed the connection]
<TechIsCool> I can't change lines 7-13
enterprisey has joined #ruby
<TechIsCool> I can only change the input method of data
pilne has joined #ruby
<TechIsCool> it should be a list of ip addresses comma seperated
tercenya has joined #ruby
<eelster> TechIsCool: Well first you are trying to use indescriminate access which is not the way that hashes work.
<blackbom2> StoneCypher: it looks like you are going into infinite recursion.
<eelster> Because `lnode['fqdn']` is specified then the keys for `value` must be strings not symbols.
<StoneCypher> blackbom2: ... no, i am not.
<blackbom2> StoneCypher: track calls rkf_log_raw, which calls track.
lmc has joined #ruby
<StoneCypher> no
<TechIsCool> eelster: my guess then is that chef attributes are doing something funky
Derperperd has joined #ruby
<TechIsCool> alright I will just give it a try the way it was written
<StoneCypher> track calls rkf_log_raw, which only calls track if the class variable has not yet been set, after setting it
<StoneCypher> it does not infinitely recurse.
harai has joined #ruby
<eelster> TechIsCool: Fires you want to fix `:fqdn` to `'fqdn'`.
<StoneCypher> it's just that setting up the firehose is a trackable event.
<blackbom2> StoneCypher: i'm a little confused, so then it sounds like the class variable is initialized properly. what happens in the threads?
csk has joined #ruby
<blackbom2> StoneCypher: class variables are not thread local btw, @@rkf_firehose is shared state and shared by all threads you spawn, so whatever you are observing is not what you think it is.
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
hahuang65 has quit [Ping timeout: 258 seconds]
theRoUS has joined #ruby
hotpancakes has quit [Remote host closed the connection]
Derperperd has quit [Ping timeout: 240 seconds]
negatifze has joined #ruby
duderonomy has joined #ruby
<StoneCypher> the threads just call the same method that's doing the initting in the first place
<StoneCypher> i attached a log so that you can see that yes, in fact, it is doing exactly what i think it is
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<StoneCypher> it is re-entering the init phase
<StoneCypher> which is not correct, as the local has already been updated
<StoneCypher> and it's almost certainly not a race condition, as every single thread gets an init
<StoneCypher> whereas were it a race condition it'd be likely max a half dozen or so, since this machine only has two cores with two hyperthreads each
milardovich has joined #ruby
Kug3lis has joined #ruby
Kug3lis has quit [Client Quit]
<StoneCypher> oh what the hell, it is a race condition
<StoneCypher> ... i need to learn ruby mutexes, don't i :(
JeanCarloMachado has quit [Quit: Lost terminal]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
<StoneCypher> does ruby implement its own threading system, or something
<StoneCypher> i would have expected those to come from the operating system
flashbang has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
TomyWork has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
<blackbom2> i would try to avoid the mutex if it is possible, couldn't you have a client per thread instead?
eelster has quit [Ping timeout: 245 seconds]
jrafanie has joined #ruby
ziarkaen has joined #ruby
chussenot has joined #ruby
nofxx has joined #ruby
<blackbom2> ruby 1.9+ uses OS threads.
<blackbom2> they usually don't run in parallel though.
synaps3 has joined #ruby
lenwood has quit [Ping timeout: 252 seconds]
solocshaw has joined #ruby
<blackbom2> my suggestion is to create a client per thread instead. if you can avoid locks/mutex you'll probably get better performance.
nankyokusei has quit [Ping timeout: 258 seconds]
<blackbom2> if you need a lock, the API is really easy: m = Mutex.new; m.synchronize { track(...) }
z4j5 has joined #ruby
bmurt has joined #ruby
eelster has joined #ruby
ziarkaen has quit [Ping timeout: 252 seconds]
flashbang has quit [Ping timeout: 252 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
renchan has quit [Quit: Leaving...]
ur5us has joined #ruby
milardovich has joined #ruby
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
<workmad3> if you're considering a client per thread, I normally recommend using connection_pool to get access
<workmad3> especially if there's a chance that you may reach connection or resource limits and need to scale the number of clients separately to the number of threads
<workmad3> (because that's a PITA to go back and sort out retroactively)
csk has quit [Ping timeout: 240 seconds]
csk has joined #ruby
jhack has quit [Quit: jhack]
Guest48320 is now known as ged
A124 has quit [Read error: No route to host]
ged is now known as Guest16574
mark[oz] has joined #ruby
A124 has joined #ruby
jhack has joined #ruby
ur5us has quit [Remote host closed the connection]
mark[oz] has quit [Ping timeout: 240 seconds]
xen0fon has joined #ruby
TreyG has joined #ruby
skweek has quit [Ping timeout: 252 seconds]
ledestin has joined #ruby
enilsen16 has joined #ruby
hotpancakes has joined #ruby
mholmes has joined #ruby
jcao219_ has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
TomyLobo has joined #ruby
iogf has joined #ruby
pitayita has quit [Ping timeout: 240 seconds]
markholmes has quit [Ping timeout: 240 seconds]
enilsen16 has quit [Client Quit]
chrisja has joined #ruby
jhack has quit [Quit: jhack]
jhack has joined #ruby
chussenot has quit [Quit: chussenot]
chussenot has joined #ruby
last_staff has joined #ruby
Andrew_TA has joined #ruby
shayan_ has joined #ruby
frozengeek__ has joined #ruby
enilsen16 has joined #ruby
anjen has joined #ruby
cdg_ has quit [Ping timeout: 240 seconds]
jshjsh has quit [Quit: Leaving]
shayan_ has quit [Quit: shayan_]
GeorgeTorwell has joined #ruby
<GeorgeTorwell> I hate niggers
doritostains has quit [Quit: doritostains]
solocshaw has quit [Ping timeout: 255 seconds]
<GeorgeTorwell> and Muslims
skweek has joined #ruby
<GeorgeTorwell> and white people
Guest2210 has quit [Remote host closed the connection]
Derperperd has joined #ruby
<havenwood> !ban GeorgeTorwell
GeorgeTorwell was kicked from #ruby by ruby[bot] [bannable offense, see http://ruby-community.com/pages/user_rules]
<eelster> havenwood: How does that work?
sepp2k has quit [Quit: Leaving.]
<havenwood> eelster: The bot bans them, redirects them to a banned channel and adds them to the channel db's list of bad actors, etc.
<eelster> havenwood: Who has !ban privlelges?
<eelster> !help
<ruby[bot]> eelster: You can find a list of my commands on http://ruby-community.com/ruboto/commands and my factoids on http://ruby-community.com/ruboto/facts
csk has quit [Ping timeout: 245 seconds]
<havenwood> eelster: The ops do (the folk with the ruby/staff cloak). You can see a list of ops with: !ops
bocaneri has quit [Read error: Connection reset by peer]
csk has joined #ruby
vali_ has joined #ruby
<eelster> !ops
<ruby[bot]> eelster: ops currently in #ruby: adaedra, aredridel, havenwood, Radar, apeiros, baweaver, helpa, jhass, matthewd, miah, ruby[bot], imperator, workmad3, zenspider and zzak
<eelster> Ah cool.
<eelster> Why don't you guys have the @ sign next to your name?
vayan has joined #ruby
<havenwood> eelster: Freenode suggests the best practice is to not wear wizard hats.
<eelster> havenwood: Ah. I had no idea.
conta has quit [Ping timeout: 255 seconds]
<havenwood> eelster: https://freenode.net/changuide
<havenwood> "Have your account added to the channel access list and op yourself only when needed."
<eelster> havenwood: That's pretty smart.
chussenot has quit [Quit: chussenot]
tercenya has quit [Remote host closed the connection]
<FManTropyx> hi
tercenya has joined #ruby
Jackneill_ has joined #ruby
<havenwood> FManTropyx: hi
adbjesus has quit [Quit: adbjesus]
<eelster> How much should I worry about rubocop's cyclomatic complexity?
mholmes has quit [Ping timeout: 240 seconds]
<StoneCypher> approx 0
<eelster> What?
<StoneCypher> cyclomatic complexity only matters for code that is your responsibility, and then only if you believe that it drives defect rate, about which studies are badly divided
<eelster> I meant rubocop's cyclomatic complexity feature.
<StoneCypher> oh
<StoneCypher> i misunderstood. sorry
<eelster> That's fine.
<eelster> I understand your reaction haha.
nadir has quit [Quit: Connection closed for inactivity]
<StoneCypher> cyclomatic complexity is an 80s approach to statistically evaluating code
<StoneCypher> it has problems
<StoneCypher> there are replacements, like function points, that do a similar job more effectively
jhack has quit [Ping timeout: 245 seconds]
<StoneCypher> you often see people making undesirable changes to code to see the cyclomatics go down
<StoneCypher> however
<StoneCypher> as a diagnosis tool for an existing codebase, it is an effective way to quickly locate problem code
<StoneCypher> short version is "it's sort of useful, but don't get religious about it"
markholmes has joined #ruby
doublemalt_ has joined #ruby
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
chouhoulis has quit []
<eelster> Thhat's pretty fair
govg has joined #ruby
AlexRussia has joined #ruby
JeanCarloMachado has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
Devalo_ has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 240 seconds]
jhooker has quit [Ping timeout: 255 seconds]
harai has quit [Ping timeout: 258 seconds]
duckpupp1 has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
enilsen16 has quit [Quit: enilsen16]
cibs has quit [Ping timeout: 268 seconds]
duckpuppy has quit [Ping timeout: 240 seconds]
cibs has joined #ruby
jhack has joined #ruby
duckpupp1 has quit [Ping timeout: 240 seconds]
jhooker has joined #ruby
willdrew has joined #ruby
nadir has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
bmurt has joined #ruby
Guest16574 is now known as ged
ged is now known as Guest33921
skweek has quit [Ping timeout: 255 seconds]
chouhoulis has joined #ruby
tvw has quit [Remote host closed the connection]
sepp2k has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
mayssane has joined #ruby
mholmes has joined #ruby
<mayssane> hello
<mayssane> I´ve a basic question about ruby
<mayssane> someone can help me ?
chrisarcand has joined #ruby
<mayssane> I want to convert an array to an string and return newlines
jackjackdripper has joined #ruby
<mayssane> I found :
klaas has joined #ruby
markholmes has quit [Ping timeout: 240 seconds]
<mayssane> array.join("<br/>").html_safe
<mayssane> do you know a better solution
<mayssane> thx
raul782 has joined #ruby
<eelster> mayssane: Can you show the array and what you want asoutput?
mholmes has quit [Remote host closed the connection]
pitayita has joined #ruby
<mayssane> for exemple :
<mayssane> a = ['a', 'b']
kch has joined #ruby
<mayssane> a
<mayssane> b
<mayssane> 'a'
<mayssane> 'b'
<mayssane> one line for a and an other for b
<mayssane> thx @eelster
<havenwood> mayssane: So you're outputting to HTML? Rails?
skweek has joined #ruby
<mayssane> yes I want to output for rails
<havenwood> Which version of Rails?
<mayssane> 4
lmc has quit [Remote host closed the connection]
<mayssane> rails 4
jtd has quit [Read error: Connection reset by peer]
lmc has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<havenwood> mayssane: There are various options. You might want to ask in the #RubyOnRails channel since it's their helpers and best practices at stake.
<mayssane> ah oki. Thx @havenwood
rodfersou has quit [Quit: leaving]
ldnunes has quit [Quit: Leaving]
SeepingN has joined #ruby
__Yiota has joined #ruby
lmc has quit [Remote host closed the connection]
cgibsonmm has joined #ruby
lmc has joined #ruby
<cgibsonmm> Where can I read about the $: var for ruby dirs
pawnbox has quit [Ping timeout: 248 seconds]
<havenwood> cgibsonmm: You might have better luck searching for the alternate name, $LOAD_PATH
x00r__ has quit [Read error: Connection reset by peer]
centrx has joined #ruby
jtd has joined #ruby
vali_ has joined #ruby
<cgibsonmm> Thank you!
doritostains has joined #ruby
saslam has quit [Ping timeout: 252 seconds]
muelleme has joined #ruby
mark[oz] has joined #ruby
nankyokusei has joined #ruby
ziarkaen has joined #ruby
anjen has quit [Quit: anjen]
Ax has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
vdl has quit [Ping timeout: 240 seconds]
blackbombay has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Xeago has quit [Ping timeout: 245 seconds]
jhack has quit [Ping timeout: 240 seconds]
ziarkaen has quit [Ping timeout: 255 seconds]
platzhirsch has joined #ruby
enilsen16 has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mark[oz] has quit [Remote host closed the connection]
blackbom2 has quit [Ping timeout: 240 seconds]
jhack has joined #ruby
gusrub_ has joined #ruby
blackbombay has quit [Ping timeout: 245 seconds]
Ax has quit [Ping timeout: 245 seconds]
blackbom1 has joined #ruby
imperator has quit [Quit: Leaving]
hits1911 has joined #ruby
nettoweb has joined #ruby
Xiti has quit [Quit: Xiti]
djbkd has quit [Remote host closed the connection]
ocbtec has quit [Quit: leaving]
djbkd has joined #ruby
ur5us has joined #ruby
Lord_of_Life has quit [Excess Flood]
zenguy_pc has quit [Ping timeout: 240 seconds]
mayssane has quit [Quit: Page closed]
<baweaver> *gasps* I've been outed!
zenguy_pc has joined #ruby
mello has quit [Quit: Lost terminal]
Lord_of_Life has joined #ruby
siddart has quit [Ping timeout: 240 seconds]
djbkd has quit [Ping timeout: 245 seconds]
Xiti has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
neanderslob has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
last_staff has quit [Quit: last_staff]
jaruga___ has quit [Quit: jaruga___]
solocshaw has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
tercenya has quit [Remote host closed the connection]
gloscombe has joined #ruby
blackwind_123 has quit [Ping timeout: 258 seconds]
tercenya has joined #ruby
Devalo_ has quit [Remote host closed the connection]
raul782 has quit [Ping timeout: 252 seconds]
gigetoo has quit [Ping timeout: 245 seconds]
blackwind_123 has joined #ruby
failshell has joined #ruby
gigetoo has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
whathappens has quit [Remote host closed the connection]
Guest33921 is now known as ged
soultadu has joined #ruby
ged is now known as Guest27608
solocshaw has quit [Ping timeout: 240 seconds]
Xiti has quit [Quit: Xiti]
ptx0 has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
solocshaw has joined #ruby
ramfjord has joined #ruby
cdg has joined #ruby
harai has joined #ruby
[Butch] has quit [Ping timeout: 240 seconds]
mark[oz] has joined #ruby
dcunit3d has joined #ruby
whathappens has joined #ruby
dn` has quit [Ping timeout: 258 seconds]
Fuzai has quit [Ping timeout: 248 seconds]
jrafanie has joined #ruby
Synthead has joined #ruby
enterprisey has quit [Remote host closed the connection]
whathappens has quit [Ping timeout: 240 seconds]
[Butch] has joined #ruby
maddmaxx has joined #ruby
siddart has joined #ruby
siddart has quit [Client Quit]
<Radar> [06:28:15] <havenwood>eelster: Freenode suggests the best practice is to not wear wizard hats.
<Radar> It's more interesting when the trolls think they're arguing with just another member :)
<eelster> Radar: Hahaha true
<eelster> Radar: What time zone are you in that that was at 6:28 AM?
<Radar> "What are you going to do about it?" "*ban hammer*"
soultadu has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
<elomatreb> "What you gonna do, ban me?" *banned
<Radar> eelster: Here's a clue: dropbears.
<eelster> dropbears?
<Radar> dropbears.
maddmaxx_ has joined #ruby
maddmaxx_ has quit [Client Quit]
<Radar> our most dangerous native animal
<eelster> Straya!
<Radar> :D
<eelster> I had to think for a second. I love that place.
<Radar> Kinda like how there's big dogs and small dogs; there's big and small koalas too. We call the big ones dropbears because they drop out of trees onto unsuspecting victims.
<Radar> The scariest thing you can ever here is a dropbear falling through the canopy
<eelster> I do think it's funny that Australia feels the need to talk about dropbears when there's already dingos.
<Radar> dingos are alright
<Radar> tasmanian devils are what you have to look out for tho
<apeiros> "what you gonna do about it?" - "I know a guy…"
doublemalt_ has quit [Ping timeout: 245 seconds]
<eelster> Just don't go to Tasmania and you'll be alright.
maddmaxx has quit [Ping timeout: 258 seconds]
<Radar> apeiros: "Nice join you've got there. Would be a shame if something were to happen to it."
doublemalt_ has joined #ruby
<apeiros> ^^
siddart has joined #ruby
<eelster> As one of my close friends (who's Australian) likes to say, it varies day to day whether or not Tasmania is a state.
jcao219_ has quit [Ping timeout: 240 seconds]
edwinvdg_ has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
mark[oz] has quit [Remote host closed the connection]
vdl has joined #ruby
dn` has joined #ruby
tyang has quit [Ping timeout: 255 seconds]
mark[oz] has joined #ruby
mark[oz] has quit [Remote host closed the connection]
<eelster> PONG
mark[oz] has joined #ruby
<eelster> PONG
<eelster> PONG
<centrx> you've won!
<eelster> centrx: Hm?
<eelster> PONG
<centrx> you're ponging us
<eelster> centrx: Oh my. One sec
<eelster> Lemme reset my client.
eelster has quit [Quit: WeeChat 1.6]
eelster has joined #ruby
<eelster> It should be fixed now
<elomatreb> Why would you want your client to do that?
<eelster> elomatreb: I didn't
strigonLeader has joined #ruby
platzhirsch has quit [Ping timeout: 240 seconds]
unshadow has quit [Quit: leaving]
<eelster> I tried to program my own client, but it's not working too well I guess.
<eelster> I'm back on a normal clien.t
<eelster> It must have been responding in a channel instead of responding to pings privately (or maybe in addition to?)
ziarkaen has joined #ruby
spectrum has quit [Read error: Connection reset by peer]
LuckyABA has joined #ruby
whathappens has joined #ruby
kch has quit [Ping timeout: 252 seconds]
ziarkaen has quit [Ping timeout: 255 seconds]
edwinvdgraaf has joined #ruby
jcao219_ has joined #ruby
mark[oz] has quit [Remote host closed the connection]
failshell has quit []
Gasher has joined #ruby
slackbotgz has joined #ruby
enilsen16 has quit [Quit: enilsen16]
muelleme has quit [Ping timeout: 240 seconds]
queuetip has joined #ruby
skweek has quit [Ping timeout: 245 seconds]
<queuetip> {"test":null} is valid json object, so why doesnt {"test":null}.each work? i get error saying "undefined local variable or method `null' for main:Object (NameError)"
<elomatreb> Because Ruby isn't Javascript?
<queuetip> {"test":nil}.each does work though, and i never said it was javascript?
Jamiep_ has joined #ruby
<blackbom1> null doesn't exist in ruby.
<queuetip> that i did not know! :)
<elomatreb> module Kernel; def null; nil; end; end
Jamiep_ has left #ruby [#ruby]
Xiti has joined #ruby
<queuetip> elomatreb: that's awesome. thank you
crst has joined #ruby
<elomatreb> I'd advise against using that in actual code
<elomatreb> I just wanted to show how similar nil is to null, it's just a different name
<baweaver> too late, it's in production
<baweaver> all seriousness though, don't joke about monkeypatching to newbies, they tend to take it at face level and use it
JeanCarloMachado has joined #ruby
siddart_ has joined #ruby
hits1911 has left #ruby ["ERC Version 5.2 (IRC client for Emacs)"]
biberu has quit []
skweek has joined #ruby
saslam has joined #ruby
siddart has quit [Ping timeout: 245 seconds]
<crst> Hi, I'm using rbenv and when shims is at the first path position it's causing huge trouble on linux. Anybody noticed that?
eelster has quit [Ping timeout: 245 seconds]
<havenwood> crst: Just curious but what problems is it causing?
BTRE has quit [Quit: Leaving]
raul782 has joined #ruby
siddart_ has quit [Ping timeout: 240 seconds]
gusrub_ is now known as gusrub
<crst> havenwood: when I install/update things it fails, i.e. linuxbrew, not finding libs etc.
BTRE has joined #ruby
<havenwood> crst: Are you maybe overwriting PATH rather than prepending to it?
JeanCarloMachado has quit [Remote host closed the connection]
<havenwood> crst: Paste us your PATH?: echo $PATH
jhooker has quit [Read error: Connection reset by peer]
blackmes1 has joined #ruby
jhooker has joined #ruby
JeanCarloMachado has joined #ruby
<crst> havenwood: for rbenv I use this: eval "$(thefuck --alias)" That put's it on the uppermost hierarchy to get global and local ruby versions, but the gems come first, too which is not good imo
Miron has quit [Ping timeout: 240 seconds]
Devalo has joined #ruby
csk has quit [Read error: Connection reset by peer]
raul782 has quit [Ping timeout: 255 seconds]
jhack has quit [Ping timeout: 248 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
nettoweb1 has joined #ruby
Miron has joined #ruby
wrkrcoop has joined #ruby
MarcWeber has quit [Quit: Lost terminal]
hahuang65 has joined #ruby
<crst> havenwood: sure: http://pastebin.com/0MwZxs8y
<wrkrcoop> it seems like a mixin is a module but this website says “A Mixin is basically just a Module that is included into a Class.” is a module a mixin?
<ruby[bot]> crst: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/5d17ed55ff934f2a39af7b52b1ddb661
<ruby[bot]> crst: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<dminuoso> wrkrcoop, not necessarily
<dminuoso> wrkrcoop, a mixin is a mixin by function.
nettoweb has quit [Ping timeout: 255 seconds]
<dminuoso> wrkrcoop, a module is a ruby construct.
<havenwood> crst: Is your PATH not colon-delimited?
<havenwood> crst: Or is that just already split into lines?
djbkd has joined #ruby
<dminuoso> wrkrcoop, modules can also be used for namespacing things (look at Math for example)
<crst> havenwood: echo -e ${PATH//:/\\n}
<havenwood> crst: It should be like: "/home/crst/.linuxbrew/var/rbenv/shims:/home/crst/.linuxbrew/bin:..."
Devalo has quit [Ping timeout: 240 seconds]
<wrkrcoop> dminuoso: hmm thanks
Xavaier has joined #ruby
<havenwood> crst: gotcha
<dminuoso> wrkrcoop, the description you found is 100% accurate :)
<crst> havenwood: tell me, please
<havenwood> crst: You can append rbenv's shims to your path instead of prepending them.
tomphp has joined #ruby
<havenwood> crst: Or put it in the middle, whatever you prefer.
<crst> havenwood: when it's not on top rbenv is practically useless, unfortunately
cgibsonmm has quit [Remote host closed the connection]
bmurt has joined #ruby
<havenwood> crst: So you want it in the front of the path to be used but not in the front of the path to be detected for autosuggestions?
<havenwood> crst: How about putting the gems in the back of the path and ruby in the front?
<crst> havenwood: only the actual ruby exectuable should be on top, all other bins installed with gem install should not be in that position imo. How can you split that?
<havenwood> crst: I know how to do it with chruby but I'm not sure with rbenv, hmm
hahuang65 has quit [Ping timeout: 240 seconds]
<havenwood> crst: are the ruby and gem binaries at .rbenv/bin/{ruby,gem}?
* dminuoso likes how not a single day goes by that at least 3 people come requiring help to fix strange or complex rbenv or rvm issues
eelster has joined #ruby
jcao219_ has quit [Ping timeout: 240 seconds]
blackmes1 has quit [Ping timeout: 240 seconds]
lmc has quit [Quit: Leaving...]
slackbotgz has quit [Remote host closed the connection]
Guest27608 is now known as ged
<crst> dminuoso: lol, is that so? havenwood: it's like .rbenv/versions/{2.3.1|2.4.0|...} but in shims are all binaries of the chosen ruby version. Is chruby better than rbenv? I could switch if there's something better.
ged is now known as Guest46348
xen0fon has quit [Quit: xen0fon]
skweek has quit [Ping timeout: 258 seconds]
<crst> on osx it works fine, but on linux not...
<havenwood> crst: chruby is about the simplest thing that can possibly work
<havenwood> crst: it's a great option if you're using bash or zsh
<dminuoso> crst, I'm not here to judge. but my observation about rbenv/rvm is likely very correct.
ramfjord has quit [Ping timeout: 245 seconds]
aryaching has quit [Ping timeout: 240 seconds]
[Butch] has quit [Quit: I'm out . . .]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> crst: This guide still applies to 2.3 or 2.4 or there's are linux alternatives: http://ryanbigg.com/2015/06/mac-os-x-ruby-ruby-install-chruby-and-you
<havenwood> there're*
negatifze has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> crst, the only thing I wouldn't use ruby-install/chruby for is deployment, but we are in the process of dockerizing our applications. :)
marr has joined #ruby
ineb has joined #ruby
ramfjord has joined #ruby
saslam has quit [Ping timeout: 258 seconds]
<crst> dminuoso: deployment, uh... I need it for deployment... nevermind guys I just manually remove/re-add the path when trouble occures... I don't like to waste your time
nankyokusei has joined #ruby
_joes___ has joined #ruby
Andrew_TA has quit [Remote host closed the connection]
eelster_ has joined #ruby
skweek has joined #ruby
synaps3 has quit [Remote host closed the connection]
crst__ has joined #ruby
username_ has quit [Read error: Connection reset by peer]
eelster has quit [Ping timeout: 240 seconds]
<crst__> I'm sorry my connection is bad... Maybe I'm better off with installing parallel versions of ruby via sclo's on centos
eelster_ is now known as eelster
nankyokusei has quit [Ping timeout: 260 seconds]
_joes___ has quit [Client Quit]
crst has quit [Ping timeout: 240 seconds]
username has joined #ruby
solocshaw has quit [Ping timeout: 248 seconds]
Miron has quit [Ping timeout: 240 seconds]
_joes___ has joined #ruby
ziarkaen has joined #ruby
Miron has joined #ruby
malconis has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby
skweeke has joined #ruby
skweek has quit [Read error: Connection reset by peer]
chouhoulis has quit [Remote host closed the connection]
jhack has joined #ruby
markholmes has joined #ruby
polishdub has quit [Quit: Leaving]
ziarkaen has quit [Ping timeout: 240 seconds]
sepp2k has quit [Read error: Connection reset by peer]
Jackneill_ has quit [Remote host closed the connection]
dcunit3d has quit [Ping timeout: 248 seconds]
foxxx0 is now known as _travis
_travis is now known as foxxx0
foxxx0 is now known as _travis
_travis is now known as travis__
travis__ is now known as foxxx0
lmc has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
centrx has quit []
edwinvdgraaf has quit [Remote host closed the connection]
dn` has quit [Quit: dn`]
wrkrcoop has left #ruby [#ruby]
enilsen16 has joined #ruby
henriknj has quit [Ping timeout: 255 seconds]
ddffg has quit [Ping timeout: 240 seconds]
spacheco has joined #ruby
saslam has joined #ruby
Fernando-Basso has quit [Quit: WeeChat 1.6]
cgibsonmm has joined #ruby
AndBobsYourUncle has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
<crst__> hey guys, I fixed it by symlinking shims/ruby to ~/bin putting ~/bin on top and shims in middle and not using eval. thanks!
aryaching has joined #ruby
AndBobsYourUncle has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
spacheco has quit [Remote host closed the connection]
cgibsonmm has quit [Ping timeout: 240 seconds]
saslam has quit [Ping timeout: 255 seconds]
spacheco has joined #ruby
spacheco has quit [Read error: Connection reset by peer]
spacheco has joined #ruby
futilegames has quit [Ping timeout: 255 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TomyLobo has quit [Ping timeout: 252 seconds]
frozengeek__ has quit [Quit: frozengeek__]
bmurt has joined #ruby
CloCkWeRX has joined #ruby
enilsen16 has quit [Quit: enilsen16]
AndBobsYourUncle has quit [Remote host closed the connection]
enilsen16 has joined #ruby
enilsen16 has quit [Client Quit]
frozengeek__ has joined #ruby
_geoff has quit [Ping timeout: 240 seconds]
doritostains has quit [Quit: doritostains]
saneax-_-|AFK is now known as saneax
jordanm has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mark[oz] has joined #ruby
dcunit3d has joined #ruby
pawnbox has joined #ruby
eelster has quit [Ping timeout: 248 seconds]
mark[oz] has quit [Ping timeout: 240 seconds]
arescorpio has joined #ruby
moted has joined #ruby
pawnbox has quit [Ping timeout: 255 seconds]
Guest46348 is now known as ged
xen0fon has joined #ruby
xen0fon has quit [Client Quit]
ged is now known as Guest68735
doritostains has joined #ruby
shayan_ has joined #ruby
agent_white has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<agent_white> Evenin' folks
doublemalt_ has quit [Ping timeout: 256 seconds]
dhollinger has quit [Ping timeout: 240 seconds]
Immune has joined #ruby
ziarkaen has joined #ruby
eelster has joined #ruby
AndBobsYourUncle has joined #ruby
Gasher has quit [Quit: Leaving]
hahuang61 has joined #ruby
enilsen16 has joined #ruby
lmc has quit [Remote host closed the connection]
ziarkaen has quit [Ping timeout: 248 seconds]
eelster_ has joined #ruby
eelster has quit [Ping timeout: 240 seconds]
shinnya has joined #ruby
gloscombe has quit [Quit: gloscombe]
harai has quit [Ping timeout: 258 seconds]
blackmes1 has joined #ruby
cgibsonmm has joined #ruby
JeanCarloMachado has quit [Ping timeout: 245 seconds]
rkazak has joined #ruby
JeanCarloMachado has joined #ruby
darix has quit [Read error: Connection reset by peer]
rkazak has quit [Client Quit]
darix has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby