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
karapetyan has quit [Remote host closed the connection]
harai has joined #ruby
bkxd has joined #ruby
bmurt has joined #ruby
hutch34 has quit [Ping timeout: 245 seconds]
jhack has quit [Quit: jhack]
bkxd has quit [Ping timeout: 252 seconds]
despai has joined #ruby
whiteline has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
FastJack has joined #ruby
johnny56_ has joined #ruby
JeanCarloMachado has joined #ruby
snapcase has joined #ruby
despai has quit [Ping timeout: 240 seconds]
TomyLobo has quit [Ping timeout: 255 seconds]
agent_white has quit [Quit: leaving]
sepp2k has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
_aeris_ has quit [Ping timeout: 240 seconds]
jobewan has quit [Ping timeout: 240 seconds]
alveric4 has joined #ruby
Danishman has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
ur5us has quit [Ping timeout: 245 seconds]
enterprisey has quit [Remote host closed the connection]
Papierkorb has quit [Ping timeout: 240 seconds]
Papierkorb has joined #ruby
alveric3 has quit [Ping timeout: 240 seconds]
_aeris_ has joined #ruby
alem0lars has joined #ruby
hutch34 has joined #ruby
pskosinski has joined #ruby
pskosinski is now known as Guest36727
karapetyan has joined #ruby
Guest36727 has quit [Changing host]
Guest36727 has joined #ruby
Guest36727 has joined #ruby
enterprisey has joined #ruby
Guest36727 is now known as pskosinski
speakingcode has quit [Ping timeout: 260 seconds]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
howdoi has quit [Quit: Connection closed for inactivity]
AndrewIsHere has quit []
UnknownSoldier has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c0t0d0s1 has quit [Ping timeout: 260 seconds]
malconis has quit [Read error: Connection reset by peer]
coldfront has joined #ruby
c0t0d0s1 has joined #ruby
xlegoman has joined #ruby
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
kht has joined #ruby
CloCkWeRX has joined #ruby
Xentil has joined #ruby
Xentil has quit [Client Quit]
enterprisey has quit [Remote host closed the connection]
d5sx43 has joined #ruby
mikecmpbll has joined #ruby
xelkarin has quit [Quit: WeeChat 1.4]
xen0fon has joined #ruby
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mostlybadfly has joined #ruby
hinbody has quit [Quit: leaving]
xen0fon has quit [Client Quit]
ocbtec has joined #ruby
d5sx43 has quit [Remote host closed the connection]
ocbtec has quit [Client Quit]
jenrzzz has quit [Ping timeout: 240 seconds]
hinbody has joined #ruby
kht has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
ur5us has joined #ruby
d5sx43 has joined #ruby
AndBobsYourUncle has joined #ruby
bmurt has joined #ruby
bkxd has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
speakingcode has joined #ruby
ur5us has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
msmith has joined #ruby
tolerablyjake has joined #ruby
Channel6 has joined #ruby
Eiam has quit [Max SendQ exceeded]
blackmes1 has quit [Quit: WeeChat 1.6]
Lord_of_- has quit [Excess Flood]
jhack has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
waroux has joined #ruby
tvw has quit [Remote host closed the connection]
Lord_of_Life has joined #ruby
jhack has quit [Client Quit]
nowhere_man has joined #ruby
d5sx43 has quit [Quit: Leaving...]
ianmethyst has joined #ruby
al2o3-cr has quit [Ping timeout: 245 seconds]
paradisaeidae has quit [Ping timeout: 240 seconds]
paradisaeidae_ has quit [Ping timeout: 276 seconds]
nowhere_man has quit [Remote host closed the connection]
spastorino has joined #ruby
coredump has joined #ruby
troter__________ has joined #ruby
haylon has joined #ruby
waroux has left #ruby ["Textual IRC Client: www.textualapp.com"]
Iacobus__ has joined #ruby
rvca has joined #ruby
mitt3ns is now known as agent_white
jhack has joined #ruby
last_staff has quit [Quit: last_staff]
harfangk has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
tdump has joined #ruby
bpmedley has quit [Quit: Textual IRC Client: www.textualapp.com]
msmith has quit [Remote host closed the connection]
karapetyan has joined #ruby
micah has left #ruby [#ruby]
msmith has joined #ruby
nobitanobi has joined #ruby
ramfjord has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
msmith has quit [Ping timeout: 255 seconds]
nobitanobi has quit [Ping timeout: 245 seconds]
karapetyan has quit [Ping timeout: 255 seconds]
LoneHerm_ has joined #ruby
Chagel has joined #ruby
haylon_ has joined #ruby
cschneid_ has joined #ruby
andream has joined #ruby
rvca has quit [Quit: Leaving]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
rvca has joined #ruby
kylo_ has quit [Quit: Leaving]
LoneHerm_ has quit [Ping timeout: 252 seconds]
cschneid_ has quit [Ping timeout: 255 seconds]
ramfjord has quit [Ping timeout: 248 seconds]
coredump has quit [Ping timeout: 240 seconds]
FastJack has quit [Ping timeout: 240 seconds]
haylon has quit [Ping timeout: 240 seconds]
Iacobus__ has quit [Ping timeout: 240 seconds]
whiteline has quit [Ping timeout: 240 seconds]
snapcase has quit [Ping timeout: 240 seconds]
haylon_ has quit [Quit: Leaving]
FastJack has joined #ruby
haylon has joined #ruby
bpmedley has joined #ruby
whiteline has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
speaking1ode has joined #ruby
ResidentBiscuit has joined #ruby
speakingcode has quit [Disconnected by services]
speaking1ode is now known as speakingcode
brent__ has quit [Ping timeout: 248 seconds]
jameser has joined #ruby
andream has quit [Quit: Textual IRC Client: www.textualapp.com]
snapcase has joined #ruby
andream has joined #ruby
andream has quit [Max SendQ exceeded]
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_sagitaire has quit [Ping timeout: 252 seconds]
shinnya has joined #ruby
andream has joined #ruby
andream has quit [Max SendQ exceeded]
ResidentBiscuit has quit []
mikecmpbll has quit [Quit: inabit. zz.]
ramfjord has joined #ruby
andream has joined #ruby
bkxd has joined #ruby
soulisson has joined #ruby
<soulisson> Hi, is that an accurate description of what an object is: "something that contains data and functions"?
cahoots has quit [Ping timeout: 240 seconds]
Qommand0r has quit [Ping timeout: 255 seconds]
SCHAAP137 has quit [Ping timeout: 258 seconds]
Joost has quit [Ping timeout: 264 seconds]
Luna_Moonfang has quit [Ping timeout: 256 seconds]
bkxd has quit [Ping timeout: 256 seconds]
<agent_white> Pretty much yeup! Ones I've heard more are 'attributes and behavior', or 'state and behavior'. Whatever floats yer boat.
zeroDi has quit [Quit: WeeChat 1.7]
jeyraof has joined #ruby
ianmethyst has quit [Quit: WeeChat 1.7]
<agent_white> To be pendantic, data and functions is pretty much just code, whereas behavior implies something specific to a certain entity.
katie__ has joined #ruby
<soulisson> agent_white: someone told me it wasn't good because objects don't actually contain code but isn't that more on the implementation level. For instance we call an object's method
Ropeney has joined #ruby
Luna_Moonfang has joined #ruby
<agent_white> What do you (or he/she) mean by 'doesn't contain code'?
Klumben has joined #ruby
<soulisson> agent_white: it doesn't contains functions.
<agent_white> How so?
Joost has joined #ruby
<agent_white> I'm confused by that.
SCHAAP137 has joined #ruby
coldfront_ has joined #ruby
Qommand0r has joined #ruby
tdump has quit [Remote host closed the connection]
<soulisson> agent_white: I think he was referring to the way things are implemented and the fact that functions are shared by the instances of a class and the fact there is a function per instance
<agent_white> Don't namespaces contain data and methods though?
<agent_white> So... then are namespaces objects?
coldfront has quit [Ping timeout: 260 seconds]
<soulisson> It's True on the implementation level but I'm not sure this is how we should thing about objects at a more abstract level
<agent_white> Ohhh I see what you mean I spose.
<agent_white> I dunno, "functions and data" is a bit vague. Check the link above: behavior and attributes imply they are tied to something.
Channel6 has quit [Quit: Leaving]
<agent_white> 'Data' and 'functions' a bit more agnostic.
devon21 has quit [Quit: devon21]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
despai has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
<soulisson> agent_white: but is it ok to think about objects the way it's depicted in the diagram?
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
johnny56_ has quit [Ping timeout: 264 seconds]
<agent_white> soulisson: Not sure? I'm not familiar with procedural programming at all, so someone else here likely knows better than I.
jhack has quit [Quit: jhack]
<agent_white> More important is what lead to that question.
johnny56_ has joined #ruby
<soulisson> agent_white: I was trying to get a good understanding of what an object is in OOP
<agent_white> It's the cookie you made from the cutter! :D
<agent_white> soulisson: Don't get hung up on grammar though, more important is the concept itself.
charliesome has joined #ruby
pytuger has joined #ruby
wilbert has joined #ruby
<soulisson> agent_white: yes, I was trying to understand the concept and for me an object is bundle that contains attributes and methods but I'm not sure
Guest69 has joined #ruby
railswebdev has joined #ruby
<agent_white> Sounds right to me!
tdump has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
<soulisson> agent_white: ok, thank you
<agent_white> :) Just remember that "function" and "method" are used interchangably, at least in Ruby.
* agent_white shrugs
daivyk has quit [Quit: Quit]
shinnya has quit [Ping timeout: 240 seconds]
jhack has joined #ruby
neruda has joined #ruby
<neruda> hi all, asking here because its really quiet in RoR
toretore has quit [Ping timeout: 240 seconds]
<agent_white> soulisson: If you can, you should pickup POODR (Practical Object Oriented Design in Ruby) by Sandi Metz. Highly recommended by folks around here to understand OOP and how Ruby does it (duck-typing, etc.).
jhack has quit [Client Quit]
<soulisson> agent_white: ok, thank you
<agent_white> Mhm!
tdump has quit [Quit: Leaving...]
Luna_Moonfang has quit [Ping timeout: 252 seconds]
<agent_white> soulisson: Here! Watch this first: https://vimeo.com/26330100
Qommand0r has quit [Ping timeout: 276 seconds]
Joost has quit [Ping timeout: 276 seconds]
<agent_white> She's a great speaker and the example she uses here is the one she uses in her book.
<soulisson> I'll take a look
jhack has joined #ruby
cahoots has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
antoniobeyah has quit [Quit: Connection closed for inactivity]
duderonomy has quit [Ping timeout: 255 seconds]
<agent_white> Her approach to it is in a refactoring sense; not 'here's the right way the first time', it's more of a 'well yes, this works, but here's the caveats and how to avoid them... oh no, it's better, but here's another thing to consider'.
<agent_white> iono. Very pragmatic. It's rad.
brent__ has joined #ruby
govg has quit [Ping timeout: 260 seconds]
cahoots has quit [Ping timeout: 258 seconds]
despai has quit [Ping timeout: 260 seconds]
elifoster has joined #ruby
brent__ has quit [Ping timeout: 255 seconds]
ur5us has quit [Ping timeout: 240 seconds]
arescorpio has joined #ruby
astrobunny has joined #ruby
ur5us has joined #ruby
ianmethyst has joined #ruby
Luna_Moonfang has joined #ruby
Joost has joined #ruby
Qommand0r has joined #ruby
despai has joined #ruby
wilbert has quit [Ping timeout: 256 seconds]
hahuang61 has quit [Ping timeout: 256 seconds]
ixti has quit [Ping timeout: 256 seconds]
hutch34 has joined #ruby
amagawdd has quit [Remote host closed the connection]
tyang has joined #ruby
aryaching has quit [Ping timeout: 255 seconds]
__Yiota has joined #ruby
cahoots has joined #ruby
__Yiota has quit [Client Quit]
d^sh_ has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jhack has quit [Remote host closed the connection]
tyang has quit [Read error: Connection reset by peer]
d^sh has joined #ruby
jhack has joined #ruby
ramfjord has quit [Client Quit]
ramfjord has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
bkxd has joined #ruby
arescorpio has quit [Ping timeout: 260 seconds]
cahoots has quit [Ping timeout: 256 seconds]
katie__ has quit [Ping timeout: 260 seconds]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
c355e3b has quit [Quit: Connection closed for inactivity]
jhack has quit [Quit: jhack]
cahoots has joined #ruby
myk267 has left #ruby [#ruby]
charliesome has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
AnoHito_ has quit [Quit: Leaving]
djbkd has quit [Ping timeout: 276 seconds]
ramfjord_ has joined #ruby
cahoots has quit [Ping timeout: 240 seconds]
despai has quit [Ping timeout: 264 seconds]
Guest69 has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
Chagel has quit [Ping timeout: 255 seconds]
railswebdev has joined #ruby
duderonomy has joined #ruby
Channel6 has joined #ruby
Chagel has joined #ruby
ixti has joined #ruby
soulisson has quit [Ping timeout: 240 seconds]
phenix has joined #ruby
govg has joined #ruby
phenix is now known as idoIator
Toordog_ has quit [Ping timeout: 240 seconds]
csk has joined #ruby
ianmethyst has quit [Quit: WeeChat 1.7]
elifoster|alt has joined #ruby
dfedde has joined #ruby
AndBobsYourUncle has joined #ruby
gnufied has quit [Ping timeout: 255 seconds]
modin has quit [Ping timeout: 245 seconds]
Chagel has quit [Ping timeout: 240 seconds]
snapcase has quit [Ping timeout: 240 seconds]
elifoster has quit [Ping timeout: 240 seconds]
FastJack has quit [Ping timeout: 240 seconds]
whiteline has quit [Ping timeout: 240 seconds]
linduxed has quit [Ping timeout: 240 seconds]
idoIator has quit []
whiteline has joined #ruby
FastJack has joined #ruby
CloCkWeRX has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 252 seconds]
al2o3-cr has joined #ruby
coredump has joined #ruby
Iacobus__ has joined #ruby
modin has joined #ruby
snapcase has joined #ruby
Derperperd has quit [Max SendQ exceeded]
linduxed has joined #ruby
LoneHermit has joined #ruby
Derperperd has joined #ruby
xlegoman has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amclain has quit [Quit: Leaving]
enterprisey has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
LoneHermit has quit [Ping timeout: 245 seconds]
Guest69 has joined #ruby
railswebdev has joined #ruby
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zacts has quit [Quit: WeeChat 1.7]
Chagel has joined #ruby
zacts has joined #ruby
gnufied has joined #ruby
AndBobsYourUncle has joined #ruby
AndBobsYourUncle has quit [Client Quit]
haylon has quit [Quit: Leaving]
wilbert has joined #ruby
hahuang65 has quit [Remote host closed the connection]
clouvet has joined #ruby
bkxd has joined #ruby
eugenmayer has quit [Quit: Leaving.]
bkxd has quit [Ping timeout: 248 seconds]
gix has quit [Ping timeout: 248 seconds]
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
kent\n has quit [Ping timeout: 255 seconds]
kent\n has joined #ruby
gix has joined #ruby
csk has quit [Quit: ZZZzzz…]
duper has quit [Read error: Connection reset by peer]
duper has joined #ruby
Toordog_ has joined #ruby
govg has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
blackwind_123 has joined #ruby
gnufied has quit [Ping timeout: 255 seconds]
cahoots has joined #ruby
KinKin has joined #ruby
KinKin has quit [Client Quit]
govg has joined #ruby
cahoots has quit [Ping timeout: 240 seconds]
AndBobsYourUncle has joined #ruby
wilbert has quit [Quit: WeeChat 1.7]
enterprisey has quit [Quit: Leaving]
djbkd has joined #ruby
claw has quit [Ping timeout: 240 seconds]
claw has joined #ruby
andream has quit [Changing host]
andream has joined #ruby
clouvet has quit [Quit: leaving]
hutch34 has joined #ruby
hutch34 has quit [Ping timeout: 245 seconds]
AnoHito has joined #ruby
bkxd has joined #ruby
LoneHermit has joined #ruby
<Radar> With this output of RubyProf: "13.26% (91.02%) ReportDateRange#last_response_time [2 calls, 4 total]" what does "4 total" represent?
bkxd has quit [Ping timeout: 245 seconds]
djbkd has quit [Quit: Leaving...]
ur5us has quit [Remote host closed the connection]
djbkd has joined #ruby
<havenwood> Radar: Looks like "`call_info.called` calls, `call_info.target.call_infos.sum(&:called)` total", whatever that means.
aryaching has joined #ruby
Dripps has joined #ruby
Dripps has left #ruby [#ruby]
simmib_ has joined #ruby
Channel6 has quit [Quit: Leaving]
pilne has quit [Quit: Quitting!]
djbkd has quit [Quit: Leaving...]
<matthewd> Radar: Is that when looking at something's outgoing calls? Sounds like this thing called that method twice, and something else called it two more times. Maybe.
<matthewd> I don't profile enough to remember everything :/ .. end up having to work out relationships from context each time
patarr has joined #ruby
nobitanobi has joined #ruby
blackbom1 has joined #ruby
nobitanobi has quit [Ping timeout: 260 seconds]
patarr has quit [Ping timeout: 276 seconds]
<Radar> Looking at it a bit closer: I think it is how many times the method is called _total_ across the entire profiling session. "calls" is how many times it is called in that particular branch.
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
squ has joined #ruby
renchan has joined #ruby
blackbom1 has quit [Ping timeout: 252 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harfangk has joined #ruby
pytuger has quit [Ping timeout: 245 seconds]
aryaching has quit [Ping timeout: 248 seconds]
aryaching has joined #ruby
blackbom1 has joined #ruby
zenspider has joined #ruby
cahoots has joined #ruby
hutch34 has joined #ruby
minimalism has quit [Quit: minimalism]
davezd has joined #ruby
zenspider has quit [Changing host]
zenspider has joined #ruby
<zenspider> is there a (lightweight) stdC way of getting a tick count?
cahoots has quit [Ping timeout: 248 seconds]
pytuger has joined #ruby
cschneid_ has joined #ruby
hutch34 has quit [Ping timeout: 256 seconds]
testuser2 has joined #ruby
xen0fon has joined #ruby
bkxd has joined #ruby
xen0fon has quit [Client Quit]
mokiwis has joined #ruby
mokiwis has quit [Client Quit]
xall has joined #ruby
cschneid_ has quit [Ping timeout: 255 seconds]
<matthewd> zenspider: Given the various emulation strategies Process.clock_gettime implements, I think the answer's ~no
<zenspider> heh... I'm currently going with clock_gettime(CLOCK_MONOTONIC, &now) on a static now...seems to be working?
bkxd has quit [Ping timeout: 240 seconds]
<matthewd> I think the risk is that CLOCK_MONOTONIC isn't guaranteed to be implemented on all platforms
<zenspider> this is just for my testing, so that's fine for now
<zenspider> it's still returning bullshit... but that's a whole other issue
rvca has quit [Ping timeout: 264 seconds]
mweshi has joined #ruby
Yzguy has joined #ruby
ifctj has joined #ruby
<blackbom1> did you try turning it off and on again
grh has joined #ruby
<zenspider> how's that working out for you?
<blackbom1> works for 95% of computer problems i run into.
<zenspider> maybe you should try it now
nofxxxx has joined #ruby
<blackbom1> i dont have a computer problem atm.
nofxx_ has joined #ruby
<zenspider> debatable
<agent_white> +1
nofxxx has quit [Ping timeout: 245 seconds]
nofxx has quit [Ping timeout: 276 seconds]
<zenspider> derp derp derp... nano is 10^-9, not 10^-6
<zenspider> IT IS NOT THAT SLOO... oh.
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<zenspider> what'd odd to me is that windows has GetTickCount() and it's in millis...
bocaneri has joined #ruby
dionysus69 has joined #ruby
Yzguy has quit [Read error: Connection reset by peer]
cahoots has joined #ruby
<agent_white> Convert to miles first
ifctj has quit [Ping timeout: 264 seconds]
andream has quit [Quit: Textual IRC Client: www.textualapp.com]
danguita has joined #ruby
hahuang61 has joined #ruby
tlahtoani has quit [Quit: Connection closed for inactivity]
grh has quit [Ping timeout: 264 seconds]
cahoots has quit [Ping timeout: 248 seconds]
saneax-_-|AFK is now known as saneax
Cogitabundus has joined #ruby
Cogitabundus has quit [Max SendQ exceeded]
blackbombay has joined #ruby
blackbom1 has quit [Ping timeout: 248 seconds]
brent__ has joined #ruby
speakingcode has quit [Quit: Lost terminal]
JoshS has joined #ruby
kernelPaniq has quit []
redhedded1 has joined #ruby
anisha has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
ifctj has joined #ruby
cyphase has quit [Ping timeout: 264 seconds]
ReK2GnULinuX has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
Anonymoose2 has joined #ruby
ReK2 has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
cyphase has joined #ruby
neruda has quit [Ping timeout: 260 seconds]
astrobunny has quit [Remote host closed the connection]
reverberations has quit [Ping timeout: 245 seconds]
aryaching has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
nemesit|znc_ has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
nemesit|znc has joined #ruby
nemesit|znc has quit [Remote host closed the connection]
Cogitabundus has joined #ruby
Cogitabundus has quit [Max SendQ exceeded]
nemesit|znc has joined #ruby
nemesit|znc has quit [Client Quit]
nemesit|znc has joined #ruby
bkxd has quit [Ping timeout: 245 seconds]
mweshi_ has joined #ruby
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mweshi has quit [Ping timeout: 255 seconds]
ta has quit [Remote host closed the connection]
ta has joined #ruby
jshjsh has joined #ruby
blaxter has joined #ruby
JoshS has quit [Ping timeout: 256 seconds]
ta has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
mweshi_ has quit [Remote host closed the connection]
ifctj has quit [Ping timeout: 255 seconds]
lenwood has joined #ruby
dfedde has quit [Read error: Connection reset by peer]
andikr has joined #ruby
ur5us has joined #ruby
blackbombay has quit [Ping timeout: 240 seconds]
patarr has joined #ruby
byte512 has joined #ruby
grh has joined #ruby
lxsameer has joined #ruby
LoneHermit has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
astrobunny has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
LoneHermit has joined #ruby
LoneHermit has quit [Remote host closed the connection]
LoneHermit has joined #ruby
patarr has quit [Ping timeout: 258 seconds]
LoneHermit has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 240 seconds]
LoneHerm_ has joined #ruby
rvca has joined #ruby
troulouliou_div2 has joined #ruby
blackwind_123 has quit [Ping timeout: 248 seconds]
LoneHerm_ has quit [Ping timeout: 255 seconds]
Seb has left #ruby [#ruby]
blackwind_123 has joined #ruby
nofxx_ has quit [Read error: Connection reset by peer]
rvca has quit [Ping timeout: 256 seconds]
nofxx has joined #ruby
last_staff has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 276 seconds]
elifoster|alt has quit [Quit: sleep]
Toordog_ has quit [Ping timeout: 260 seconds]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
SesMan has joined #ruby
aryaching has joined #ruby
hutch34 has joined #ruby
conta has joined #ruby
aganov has joined #ruby
cyberRodent has quit [Ping timeout: 240 seconds]
djellemah_ has joined #ruby
djellemah__ has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
djellemah has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
djellemah_ has quit [Ping timeout: 248 seconds]
conta has quit [Ping timeout: 240 seconds]
conta has joined #ruby
ta has joined #ruby
beilabs has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
aufi has joined #ruby
RedFromage has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
cyberRodent has joined #ruby
SesMan has quit [Ping timeout: 252 seconds]
troulouliou_div2 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
matp has quit [Remote host closed the connection]
despai has joined #ruby
despai has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
matp has joined #ruby
blackbombay has joined #ruby
Snickers has joined #ruby
antgel has joined #ruby
UnknownSoldier has quit [Remote host closed the connection]
csk157 has joined #ruby
Mortomes|Work has joined #ruby
mikecmpbll has joined #ruby
mark_66 has joined #ruby
ocbtec has joined #ruby
dn` has quit [Quit: dn`]
dn` has joined #ruby
Shashikant86 has joined #ruby
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aupadhye has joined #ruby
prxgnb has joined #ruby
Shashikant86 has quit [Client Quit]
despai has joined #ruby
despai has quit [Remote host closed the connection]
despai has joined #ruby
hahuang61 has joined #ruby
despai has quit [Client Quit]
Shashikant86 has joined #ruby
coldfront has joined #ruby
coldfront_ has quit [Ping timeout: 255 seconds]
hahuang61 has quit [Ping timeout: 276 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
nobitanobi has joined #ruby
nobitanobi has quit [Remote host closed the connection]
UnknownSoldier has joined #ruby
nobitanobi has joined #ruby
Silthias has joined #ruby
Silthias1 has quit [Ping timeout: 276 seconds]
ramfjord__ has joined #ruby
Cohedrin has joined #ruby
bayed has joined #ruby
pagios- has quit [Ping timeout: 260 seconds]
Manikandan has joined #ruby
ramfjord_ has quit [Ping timeout: 255 seconds]
ltem has joined #ruby
teclator has quit [Remote host closed the connection]
pagios has joined #ruby
brent__ has joined #ruby
nobitano_ has joined #ruby
tolerablyjake has quit [Ping timeout: 255 seconds]
mikecmpbll has joined #ruby
bkxd has joined #ruby
hutch34 has joined #ruby
ramfjord__ has quit [Ping timeout: 255 seconds]
RedFromage has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brent__ has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Ping timeout: 276 seconds]
jsrn has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
hutch34 has quit [Ping timeout: 252 seconds]
prxgnb has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
al2o3-cr has quit [Quit: WeeChat 1.7]
<Yxhuvud> miles?!?
lenwood has quit [Ping timeout: 240 seconds]
malcolmva has quit [Ping timeout: 248 seconds]
UnknownSoldier has quit [Remote host closed the connection]
xall has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
xall has joined #ruby
patarr has joined #ruby
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
al2o3-cr has joined #ruby
jenrzzz has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
ferr1 has joined #ruby
cyphase has quit [Ping timeout: 256 seconds]
marr has joined #ruby
Shashikant86 has joined #ruby
danguita has quit [Remote host closed the connection]
tomphp has joined #ruby
JeanCarloMachado has joined #ruby
cyphase has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
jeyraof has quit [Quit: This computer has gone to sleep]
agit0 has joined #ruby
nofxx has quit [Remote host closed the connection]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
teclator has joined #ruby
Shashikant86 has joined #ruby
zacts has quit [Ping timeout: 276 seconds]
ur5us has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Shashikant86 has quit [Client Quit]
nofxxxx has quit [Ping timeout: 248 seconds]
Beams has joined #ruby
Shashikant86 has joined #ruby
Shashikant86 has quit [Client Quit]
cschneid_ has joined #ruby
testuser2 has quit [Quit: leaving]
TomyLobo has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
bkxd has joined #ruby
cschneid_ has quit [Ping timeout: 255 seconds]
ddd_ has joined #ruby
cschneid_ has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
malcolmva has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
ponga has joined #ruby
Shashikant86 has joined #ruby
ur5us has joined #ruby
Shashikant86 has quit [Client Quit]
cschneid_ has quit [Ping timeout: 255 seconds]
JeanCarloMachado has quit [Ping timeout: 245 seconds]
JeanCarloMachado has joined #ruby
xen0fon has joined #ruby
ddd_ is now known as BIueLobster
pandaant has joined #ruby
BIueLobster is now known as NeverTired
ur5us has quit [Ping timeout: 258 seconds]
Shashikant86 has joined #ruby
NeverTired has quit []
Shashikant86 has quit [Client Quit]
JeanCarloMachado has quit [Ping timeout: 245 seconds]
JeanCarloMachado has joined #ruby
tvw has joined #ruby
toretore has joined #ruby
gevans has joined #ruby
xen0fon has quit [Quit: xen0fon]
JeanCarloMachado has quit [Ping timeout: 252 seconds]
Manikandan has quit [Ping timeout: 255 seconds]
milardovich has quit []
Shashikant86 has joined #ruby
cahoots has joined #ruby
blackbom1 has joined #ruby
blackbombay has quit [Ping timeout: 252 seconds]
malcolmva has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
Definity has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sami_ has joined #ruby
sami_ is now known as Guest15972
cahoots has quit [Ping timeout: 240 seconds]
Guest15972 is now known as sami
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malcolmva has joined #ruby
hahuang61 has joined #ruby
patarr has joined #ruby
JeanCarloMachado has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 248 seconds]
JeanCarloMachado has joined #ruby
tomphp has joined #ruby
patarr has quit [Ping timeout: 256 seconds]
cahoots has joined #ruby
malcolmva has quit [Ping timeout: 245 seconds]
malcolmva has joined #ruby
bkxd has joined #ruby
nankyokusei has joined #ruby
agit0 has quit [Ping timeout: 240 seconds]
cahoots has quit [Ping timeout: 240 seconds]
vuoto has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
xall has quit [Ping timeout: 276 seconds]
Jovial has joined #ruby
hutch34 has quit [Ping timeout: 252 seconds]
terens has joined #ruby
TheHodge has joined #ruby
Jovial has quit [Client Quit]
cahoots has joined #ruby
nettoweb has joined #ruby
brent__ has joined #ruby
cahoots has quit [Ping timeout: 276 seconds]
brent__ has quit [Ping timeout: 256 seconds]
Shashikant86 has joined #ruby
Definity has quit [Ping timeout: 260 seconds]
gnufied has joined #ruby
nankyokusei has quit [Remote host closed the connection]
ayonkhan has joined #ruby
Chagel has quit [Ping timeout: 240 seconds]
gnufied has quit [Ping timeout: 255 seconds]
Jamo has quit [Ping timeout: 264 seconds]
LoneHermit has joined #ruby
BackEndCoder has quit [Excess Flood]
cahoots has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
tonini has joined #ruby
BackEndCoder has joined #ruby
faces has quit [Ping timeout: 248 seconds]
LoneHermit has quit [Ping timeout: 248 seconds]
cahoots has quit [Ping timeout: 276 seconds]
cahoots has joined #ruby
uranellus has joined #ruby
uranellus has joined #ruby
uranellus has quit [Changing host]
jaruga_____ has joined #ruby
jaruga_____ has quit [Remote host closed the connection]
faces has joined #ruby
jaruga_____ has joined #ruby
cahoots has quit [Ping timeout: 248 seconds]
nankyokusei has joined #ruby
jaruga_____ has quit [Client Quit]
jameser has quit [Ping timeout: 240 seconds]
tildes has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
nobitano_ has quit [Remote host closed the connection]
nankyokusei has quit [Remote host closed the connection]
astrobunny has quit [Remote host closed the connection]
nobitanobi has joined #ruby
simmib__ has joined #ruby
coldfront has quit [Read error: Connection reset by peer]
tomphp has quit [Ping timeout: 240 seconds]
ayonkhan has quit [Quit: Textual IRC Client: www.textualapp.com]
Shashikant86 has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
tomphp has joined #ruby
simmib_ has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Ping timeout: 258 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ifctj has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
DaveTaboola has joined #ruby
nobitanobi has joined #ruby
nobitanobi has quit [Client Quit]
cibs has quit [Ping timeout: 240 seconds]
simmib has joined #ruby
Beams has quit [Quit: .]
hobodave has joined #ruby
cibs has joined #ruby
tdy has quit [Read error: Connection reset by peer]
tdy has joined #ruby
simmib__ has quit [Ping timeout: 248 seconds]
nettoweb1 has joined #ruby
ifctj has quit [Ping timeout: 240 seconds]
nettoweb has joined #ruby
nettoweb1 has quit [Ping timeout: 256 seconds]
KCmetro has joined #ruby
swills has quit [Ping timeout: 240 seconds]
jrafanie has joined #ruby
_main_ has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
swills has joined #ruby
beilabs has quit []
millerti has joined #ruby
__main__ has quit [Ping timeout: 276 seconds]
_main_ is now known as __main__
sami has quit [Quit: leaving]
jameser has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
daivyk has joined #ruby
csk has joined #ruby
CloCkWeRX has joined #ruby
swills has quit [Ping timeout: 255 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
saneax is now known as saneax-_-|AFK
sepp2k has joined #ruby
kalyan57 has joined #ruby
charliesome has joined #ruby
Beams has joined #ruby
hahuang61 has quit [Ping timeout: 255 seconds]
cahoots has joined #ruby
opt9 has quit [Quit: Bye bye]
csk has quit [Ping timeout: 258 seconds]
opt9 has joined #ruby
swills has joined #ruby
nankyokusei has joined #ruby
DaveTaboola has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cahoots has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
KCmetro has quit [Quit: Leaving...]
hobodave has quit [Quit: Computer has gone to sleep.]
synthroid has joined #ruby
synthroi_ has joined #ruby
bkxd has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
simmib has quit [Ping timeout: 240 seconds]
simmib_ has joined #ruby
synthroid has quit [Ping timeout: 264 seconds]
nowhere_man has joined #ruby
binaryplease has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
hutch34 has joined #ruby
lxsameer has quit [Ping timeout: 245 seconds]
Lord_of_Life has quit [Excess Flood]
jaiks has quit [Remote host closed the connection]
tildes has quit [Ping timeout: 252 seconds]
Lord_of_Life has joined #ruby
pandaant has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 252 seconds]
cahoots has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
ifctj has joined #ruby
tvw has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
cahoots has quit [Ping timeout: 258 seconds]
testuser2 has joined #ruby
nankyokusei has quit []
FridayFlatsDmitr has joined #ruby
FridayFlatsDmitr has left #ruby [#ruby]
danguita has joined #ruby
r_rios has quit [Read error: Connection reset by peer]
unabl4 has joined #ruby
binaryplease has quit [Quit: binaryplease]
SesMan has joined #ruby
r_rios has joined #ruby
r_rios has joined #ruby
r_rios has quit [Changing host]
UserJosh has joined #ruby
a1fa has quit [Ping timeout: 252 seconds]
jshjsh has quit [Ping timeout: 255 seconds]
a1fa has joined #ruby
eugenmayer has joined #ruby
nowhereman has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
<eugenmayer> is it possible to make an argument (not an option) known to thor that way, that it is exlpained when tying thor this:is:my:action
cahoots has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DaveTaboola has joined #ruby
ponga has quit []
Mortomes|Work has quit [Ping timeout: 260 seconds]
LoneHermit has joined #ruby
blackbom1 has quit [Quit: brb]
cahoots has quit [Ping timeout: 240 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nadir has joined #ruby
tlahtoani has joined #ruby
Chagel has joined #ruby
simmib_ has quit [Remote host closed the connection]
opt9 has quit [Ping timeout: 255 seconds]
simmib has joined #ruby
LoneHermit has quit [Ping timeout: 240 seconds]
UnknownSoldier has joined #ruby
jaruga_____ has joined #ruby
nettoweb has joined #ruby
opt9 has joined #ruby
djellemah__ is now known as djellemah
jaruga______ has joined #ruby
squ has quit [Remote host closed the connection]
nankyokusei has joined #ruby
simmib has quit [Ping timeout: 260 seconds]
jaruga______ has quit [Client Quit]
nettoweb has quit [Client Quit]
jaruga______ has joined #ruby
Manikandan has joined #ruby
jaruga_____ has quit [Ping timeout: 264 seconds]
testuser2 has quit [Quit: leaving]
tonini has quit [Quit: Connection closed for inactivity]
despai has joined #ruby
opt9 has quit [Quit: Bye bye]
nowhereman has quit [Remote host closed the connection]
nowhereman has joined #ruby
opt9 has joined #ruby
Snowy has joined #ruby
TheBrayn has quit [Quit: WeeChat 1.5]
BernhardPosselt has joined #ruby
<BernhardPosselt> similar to 4.times is there something for booleans like true.ifTrue
jaiks has joined #ruby
<unabl4> Why do you need this piece of functionality?
<BernhardPosselt> pure demonstration
anisha has quit [Quit: This computer has gone to sleep]
<BernhardPosselt> to show the difference between OOP and imperative
<unabl4> I’m not sure there is. However, you can easily extend the TrueClass, FalseClass, NilClass
<unabl4> with your custom method
bkxd has joined #ruby
<BernhardPosselt> e.g. in small talk you can do something like: a < b
<BernhardPosselt> ifFalse: [^'a is greater than or equal to b']
<BernhardPosselt> ifTrue: [^'a is less than b']
<BernhardPosselt> and afaik ifTrue is a method on a Boolean
nowhereman has quit [Remote host closed the connection]
<BernhardPosselt> and only the True instance will execute the block
<elomatreb> Using an if isn't strictly imperative programming though imo
__main__ has quit [Read error: Connection reset by peer]
c355e3b has joined #ruby
Derperperd has quit [Ping timeout: 255 seconds]
__main__ has joined #ruby
opt9 has quit [Quit: Bye bye]
bmurt has joined #ruby
opt9 has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
TheBrayn has joined #ruby
rob__ has joined #ruby
<rob__> hey, can anyone tell me if its possible to call a submodule class method from an module extension? e.g: https://gist.github.com/roobert/bb54ac6e5a5b4d173ab3c7d01b108e0d
regreg has joined #ruby
tildes has joined #ruby
malconis has joined #ruby
tyang has joined #ruby
gnufied has joined #ruby
Chagel has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
ifctj has quit [Ping timeout: 240 seconds]
<unabl4> Interesting question, rob. Couldn’t make it to work :(
millerti has joined #ruby
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rob__> hmm :|
<rob__> work around is to just create a method in the parent module which calls the sub module method but that seems pretty rubbish
byte512 has quit [Quit: WeeChat 1.6]
<unabl4> I might be wrong, but I think you need to do something with inclusion/extension callback functions
<unabl4> like, included(base), extended(base)
kalyan57 has quit [Quit: Nettalk6 - www.ntalk.de]
BernhardPosselt has quit [Quit: Leaving.]
blaxter has quit [Quit: foo]
<unabl4> Because it attempts to find the method in “Included::Submodule” (which does not exist in Test) and not just “Submodule”
byte512 has joined #ruby
tvw has quit [Ping timeout: 258 seconds]
tildes has quit [Ping timeout: 258 seconds]
<rob__> ah
tvw has joined #ruby
saslam has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
Derperperd has joined #ruby
unabl4 has quit [Quit: unabl4]
ifctj has joined #ruby
Sammichmaker has joined #ruby
Sammichmaker has joined #ruby
Sammichmaker has quit [Changing host]
xen0fon has joined #ruby
chouhoulis has joined #ruby
<mikecmpbll> rob__ : puts self::Submodule.bar
emilkarl has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rob__> mikecmpbll: oh nice that works, thanks!
<mikecmpbll> 👌🏼
DLSteve has joined #ruby
Toordog_ has joined #ruby
jschoolcraft has joined #ruby
fuzzyhorns has joined #ruby
gnufied has quit [Ping timeout: 255 seconds]
mikecmpbll has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
jhack has joined #ruby
Toordog_ has quit [Ping timeout: 258 seconds]
nbol has joined #ruby
cpruitt has joined #ruby
<nbol> Could anyone explain this behaviour?
Snickers has quit [Quit: Snickers]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
simmib has joined #ruby
msmith has joined #ruby
SesMan has joined #ruby
cdg has joined #ruby
simmib has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
<mikecmpbll> nbol : what precisely? there's quite a lot there.
whiteline has quit [Remote host closed the connection]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whiteline has joined #ruby
Qchmqs has joined #ruby
Technodrome has joined #ruby
csk has joined #ruby
tvw has quit [Read error: Connection reset by peer]
tvw has joined #ruby
<mikecmpbll> oh the local variable thing. nvm i can't explain it in any intelligent way anyway, i just know about it.
millerti has joined #ruby
shinnya has joined #ruby
<nbol> yea, it just really surprised me
bkxd has joined #ruby
<manveru> you can always use self.foo if you want the method to be called
<manveru> as soon as ruby sees a local variable, even if it's not being set, it won't think that it's a method anymore
<nbol> well, it's easy enough to always prefix instance variables with @ so the code stays readable, so it's not really a problem
<manveru> or you can use foo() to force it to use the method
<manveru> but ideally, you don't use conflicting names :)
<nbol> and it's not a method, just an instance variable
gevans has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 245 seconds]
Beams has quit [Quit: .]
<toretore> nbol: `foo` is never an instance variable; an ivar always starts with @
<toretore> `foo` is, in order of precedence: 1) a local variable, or 2) a method
hutch34 has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
<nbol> oh, right
<nbol> so referencing it as foo calls the getter function?
<nbol> I've always though of it as just another way of referencing the instance variable
danguita has quit [Remote host closed the connection]
<manveru> no, it calls the method, attr_accessor defines the `foo` and `foo=` methods for you
Guest69 has joined #ruby
railswebdev has joined #ruby
ferr1 has quit [Quit: WeeChat 1.6]
jrafanie has joined #ruby
<nbol> thanks, that really cleared it up for me
gevans has joined #ruby
last_staff has quit [Quit: last_staff]
fuzzyhorns has quit [Quit: Leaving.]
last_staff has joined #ruby
tvw has quit []
BitWhisperer has joined #ruby
grh has quit [Ping timeout: 255 seconds]
last_staff has quit [Client Quit]
fuzzyhorns has joined #ruby
msmith has quit [Remote host closed the connection]
malconis has quit [Read error: Connection reset by peer]
Qchmqs has quit [Ping timeout: 256 seconds]
msmith has joined #ruby
msmith has quit [Remote host closed the connection]
msmith has joined #ruby
gbt has joined #ruby
ifctj has quit [Ping timeout: 258 seconds]
malconis has joined #ruby
mikecmpb_ has joined #ruby
<gbt> hi, am new to ruby.. our developers want to provide us with an applicaiton config file but the values come from a database...e.g. LOCATION=<select location from * where blah eq blah> ... Is it possible to embed sql queries directly into an ERB template?, so that developers can throw the whole ERB to us with all the required SQL embeddd, so that we can run it ( i guess using a ruby command that evaluates an ERB) and it outputs a lovely config file
<gbt> with all correct values (from DB) ?
nettoweb has joined #ruby
aufi has quit [Ping timeout: 245 seconds]
<gbt> so the final file will have a flat text config file that has
<gbt> LOCATION=London
<gbt> etc
mitt3ns has joined #ruby
zacts has joined #ruby
mikecmpbll has quit [Ping timeout: 258 seconds]
<manveru> gbt: well... almost
<manveru> you need to call a method that actually executes the query too :)
patarr has joined #ruby
<mitt3ns> Mornin' folks
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
jrafanie has quit [Quit: Textual IRC Client: www.textualapp.com]
mitt3ns has joined #ruby
msmith has quit [Remote host closed the connection]
<manveru> gbt: i assume you don't use postgresql, or they'd just run the query and it outputs json :)
SesMan is now known as SesManov
vuoto has quit [Remote host closed the connection]
<manveru> a config file like you propose has several disadvantages, like newlines or encodings being unspecified
Derperperd has quit [Ping timeout: 264 seconds]
msmith_ has joined #ruby
gevans has quit [Remote host closed the connection]
<gbt> manveru ... can the ruby code that executes the query not be embeded into the ERB?
Derperperd has joined #ruby
<manveru> it can, but why would you want to?
<gbt> do you think another method for creating that config file would be better ?
<gbt> im trying to find the easiet solution
gevans has joined #ruby
<manveru> let them give you a flat json file like this: {location: 'select location from * where x', name: 'select name from * where blah'}
<gbt> the sql queries and template will always be the same, the value in the database entries (for the values ) will change on each new release
LoneHermit has joined #ruby
ta has quit [Remote host closed the connection]
<manveru> then all you need is: require 'json'; require 'pp'; pp JSON.parse(open('your.json')).map{|key, query| [key, execute(query)] }.to_h
<gbt> so I can embed sql directly into json?
<gbt> sorry, new to json as well :-)
devon21 has joined #ruby
cschneid_ has joined #ruby
<manveru> http://json.org/ :)
<manveru> {} is an object, it has keys and values, {"key": "value"}
<manveru> the value in your case is the sql string
<manveru> you replace the value with the result of the query
<manveru> so it becomes {"key": "result"}
<manveru> does that make sense so far?
Derperperd has quit [Ping timeout: 260 seconds]
<manveru> if you JSON.parse a json file, you get a simple Hash back
<gbt> mmmm, ok, just a little lost ...the query string sits as a json 'value' to the 'key' called LOCATION ... i guess im not clear on what will execute that query from the JON doc
<manveru> ruby executes the query
inerkick has joined #ruby
<manveru> but you also need something like sequel to connect to the database first
<gbt> ah is see so my ruby script would contain ...require 'json'; require 'pp'; pp JSON.parse(open('your.json')).map{|key, query| [key, execute(query)] }.to_h
whiteline has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 256 seconds]
<manveru> well, that's a start
<manveru> the above will fail, since `execute` is not defined
<gbt> would the ruby script not need to include any mysql libary or sql parsing libarry, or is that built in to ruby
_2easy has quit [Remote host closed the connection]
whiteline has joined #ruby
<manveru> that's why you need the sequel library too
<gbt> so that would be an additional 'require' statement ?
<gbt> ok ill take a look at that
ScRaMbLe has joined #ruby
<gbt> I assume then if i have a populated json doc, i then need to convert that data into a config file that my application understands
<gbt> would ruby do that piece too?
<manveru> sure
<gbt> thank you for your help by the way
xen0fon has quit [Quit: xen0fon]
djbkd has joined #ruby
devon21 has quit [Quit: devon21]
antoniobeyah has joined #ruby
aganov has quit [Remote host closed the connection]
_2easy has joined #ruby
_2easy has joined #ruby
_2easy has quit [Changing host]
skweek has joined #ruby
xall has joined #ruby
devon21 has joined #ruby
Derperperd has joined #ruby
OTORelic has joined #ruby
amagawdd has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
xall has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
bkxd has quit [Ping timeout: 258 seconds]
dc4 has joined #ruby
djbkd has quit [Quit: My people need me...]
emilkarl has quit [Quit: emilkarl]
Manikandan has quit [Ping timeout: 258 seconds]
lxsameer has joined #ruby
synthroi_ has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
AndBobsYourUncle has quit [Client Quit]
pragmaticus has joined #ruby
govg has quit [Ping timeout: 255 seconds]
devon21 has quit [Quit: devon21]
conta has quit [Ping timeout: 258 seconds]
Al3xG0 has joined #ruby
<Al3xG0> !paste
<Al3xG0> how to solve - > http://pastebin.com/raw/9Fjn1sjF
<ruby[bot]> Al3xG0: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
brent__ has joined #ruby
jaruga______ has quit [Quit: jaruga______]
<baweaver> Al3xG0: First, you're using an old version of Ruby
<baweaver> Second, what OS are you using and have you installed development tools for it?
gbt has quit [Remote host closed the connection]
Beams has joined #ruby
<baweaver> Third, what have you tried beyond just gem install?
<baweaver> Fourth, it's a really bad idea to use sudo/root for everything
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patarr_ has joined #ruby
nowhereman has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
inerkick has quit [Remote host closed the connection]
<Al3xG0> baweaver develop
<baweaver> ?
<Al3xG0> baweaver i install 2,0 now
<Al3xG0> root@msth:/home/usuario/tmp/lab# ruby -v
<Al3xG0> ruby 2.0.0p384 (2014-01-12) [x86_64-linux-gnu]
<Al3xG0> root@msth:/home/usuario/tmp/lab# sudo gem install rest-client
<Al3xG0> rest-client requires Ruby version >= 2.0.0.
<Al3xG0> ERROR: Error installing rest-client:
<baweaver> What distribution of linux are you using
<Al3xG0> ubuntu 14 LT
<baweaver> and have you tried searching for that error?
<baweaver> specifically the native extension one
minimalism has joined #ruby
<baweaver> There are a few solutions you'll find if you do.
kht has joined #ruby
csk has quit [Ping timeout: 240 seconds]
<Al3xG0> yes
<Al3xG0> no see solution
<baweaver> What exactly are you searching for?
patarr_ has quit [Ping timeout: 264 seconds]
csk157 has quit [Ping timeout: 240 seconds]
Xentil has joined #ruby
matp has quit [Remote host closed the connection]
Satyajit has joined #ruby
<Al3xG0> i need install module rest-client
<Al3xG0> baweaver
mikecmpb_ has quit [Quit: inabit. zz.]
csk has joined #ruby
mikecmpbll has joined #ruby
<baweaver> I'm aware of this
<baweaver> What specifically are you searching for in Google to find a solution to the error you received?
matp has joined #ruby
<baweaver> Try this in Google: error installing rest-client: error: failed to build gem native extension.
<baweaver> See what you find
<Al3xG0> getpost in website
<baweaver> Whenever you see an error message, put it into Google to see what you can find.
<Al3xG0> yes i search ... not have result
tlahtoani has quit [Quit: Connection closed for inactivity]
hobodave has joined #ruby
amclain has joined #ruby
synthroid has joined #ruby
<baweaver> It's the first result on the page.
kht has quit [Changing host]
kht has joined #ruby
xen0fon has joined #ruby
hahuang61 has joined #ruby
Definity has joined #ruby
SesManov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jonathanwallace_ has joined #ruby
millerti has joined #ruby
AndrewIsHere has joined #ruby
kht has quit [Ping timeout: 258 seconds]
dc4 has quit [Ping timeout: 276 seconds]
marxarelli has joined #ruby
jsrn has quit [Quit: Leaving]
chouhoulis has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 255 seconds]
teclator has quit [Remote host closed the connection]
troulouliou_div2 has quit [Quit: Leaving]
andikr has quit [Remote host closed the connection]
aufi has joined #ruby
Toordog_ has joined #ruby
Derperperd has quit [Max SendQ exceeded]
devon21 has joined #ruby
bmurt has joined #ruby
bkxd has joined #ruby
Coldblackice has joined #ruby
patarr has joined #ruby
govg has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
[Butch] has joined #ruby
UnknownSoldier has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 258 seconds]
rippa has joined #ruby
VladGh has quit [Remote host closed the connection]
jamessexxual has joined #ruby
VladGh has joined #ruby
antgel has quit [Ping timeout: 256 seconds]
gevans has quit [Remote host closed the connection]
cagomez has joined #ruby
username_ has joined #ruby
username1 has joined #ruby
Coldblackice has quit []
skweek has joined #ruby
Coldblackice has joined #ruby
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
<apeiros> note: google personalizes searches. your first result isn't necessary the first result for somebody else.
despai has quit [Quit: This computer has gone to sleep]
Macaveli has joined #ruby
Derperperd has joined #ruby
Snowy has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
markholmes has joined #ruby
Snickers has joined #ruby
JoshS has joined #ruby
saneax-_-|AFK is now known as saneax
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aupadhye has quit [Ping timeout: 240 seconds]
tlahtoani has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
UserJosh has quit [Ping timeout: 240 seconds]
aufi has quit [Ping timeout: 245 seconds]
dc4 has joined #ruby
despai has joined #ruby
LoneHerm_ has joined #ruby
__Yiota has joined #ruby
ramfjord has joined #ruby
cagomez has quit [Remote host closed the connection]
elifoster has joined #ruby
anisha has joined #ruby
saslam has quit [Ping timeout: 248 seconds]
LoneHerm_ has quit [Ping timeout: 260 seconds]
ScRaMbLe has left #ruby ["Farewell"]
jamessexxual has quit []
marchelzo has joined #ruby
haylon has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
duderonomy has quit [Ping timeout: 248 seconds]
tyang_ has joined #ruby
nankyokusei has quit [Remote host closed the connection]
aarkerio has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aarkerio> hi ! I want to change all nil values in a hash to 0, is a not nested hash, is this a good way:
<aarkerio> my_hash.merge!(my_hash) { |k, v| v.nil? ? 0 : v }
<aarkerio> ?
tyang has quit [Ping timeout: 256 seconds]
renchan has quit [Quit: Leaving...]
<marchelzo> aarkerio: my_hash.transform_values! { |v| v.nil? ? 0 : v }
AndBobsYourUncle has joined #ruby
<aarkerio> that would work out of Rails?
<marchelzo> yes
nankyokusei has joined #ruby
armyriad has quit [Ping timeout: 245 seconds]
<marchelzo> i don't know when Hash#transform_values! was added
<marchelzo> it's in 2.4 at least
<aarkerio> cool! thanks marchelzo
<marchelzo> np
bkxd has joined #ruby
<al2o3-cr> aarkerio: are all your values integers?
mark_66 has quit [Remote host closed the connection]
kht has joined #ruby
_sfiguser has joined #ruby
kalyan57 has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
SeepingN has joined #ruby
csk has quit [Read error: Connection reset by peer]
bkxd has quit [Ping timeout: 256 seconds]
D100 has joined #ruby
enterprisey has joined #ruby
cagomez has joined #ruby
__Yiota has joined #ruby
csk has joined #ruby
hahuang61 has joined #ruby
Eiam has joined #ruby
last_staff has joined #ruby
kith has joined #ruby
synthroi_ has joined #ruby
johnny56 has joined #ruby
Derperperd has quit [Ping timeout: 240 seconds]
johnny56_ has quit [Ping timeout: 264 seconds]
Ovsjah has joined #ruby
<apeiros> my_hash.transform_values! { |v| v || 0 }
<apeiros> assuming you don't have `false` as valid values
marchelzo has quit [Ping timeout: 260 seconds]
<Ovsjah> testing testing
chouhoulis has joined #ruby
kalyan57 has quit [Quit: Nettalk6 - www.ntalk.de]
<apeiros> Ovsjah: critical failure! please reboot the system!
synthroid has quit [Ping timeout: 256 seconds]
Ovsjah has quit [Client Quit]
Ovsjah has joined #ruby
kht has quit [Ping timeout: 255 seconds]
Ovsjah has quit [Client Quit]
renchan has joined #ruby
synthroid has joined #ruby
mholmes has joined #ruby
yehowyada has joined #ruby
synthroi_ has quit [Ping timeout: 256 seconds]
pilne has joined #ruby
markholmes has quit [Ping timeout: 255 seconds]
ddffg has joined #ruby
Cohedrin has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
duderonomy has joined #ruby
StoneCypher has joined #ruby
Cohedrin has quit [Client Quit]
dopamean_ has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
Cohedrin has joined #ruby
<StoneCypher> I'm missing something stupid about how to use byebug. I've gem installed and bundle installed. require 'byebug' can't include such a file, and just trying to use it, undefined local variable or method
<StoneCypher> i just want a breakpoint. is byebug the wrong choice?
ramfjord has joined #ruby
<apeiros> what is the precise code you use to require byebug?
<StoneCypher> literally just the line `byebug`
<apeiros> that's not how you load code in ruby
<apeiros> `require 'byebug'`
<StoneCypher> well, i tried require 'byebug'
<SeepingN> load "/path/to/said/file.rb"
<StoneCypher> well, i tried require 'byebug''require 'byebug' can't
<StoneCypher> i feel like my question pretty clearly said what happened when i tried that (shrugs)
<StoneCypher> SeepingN: i have no idea where the gem installed, and nothing else in the system seems to be loaded that way
<apeiros> and what happened when you did `require 'byebug'`?
<StoneCypher> like the question says, "can't include such file"
<apeiros> StoneCypher: please, don't pull it from your head, copy and paste
AndBobsYourUncle has quit [Ping timeout: 240 seconds]
<SeepingN> gemfile has: gem 'byebug', '~> 9.0', '>= 9.0.6' ?
<StoneCypher> SeepingN: checking, moment
<StoneCypher> SeepingN: nope, that's the problem. thanks
<SeepingN> those version #'s are probably wrong
<StoneCypher> what's the appropriate way to dig up the correct ones?
LoneHermit has joined #ruby
<SeepingN> do you have MRI 2.0.0 or higher.
* StoneCypher has no idea :D
<StoneCypher> probably not?
<SeepingN> so you don't even meet the requirements
<StoneCypher> package managers are supposed to install requirements :/
<StoneCypher> ah, that's working, then
<StoneCypher> SeepingN: thanks
aarkerio has quit [Quit: Leaving]
<apeiros> I can't install a 1.9.3 to test, but byebug lists 2.0 as requirement. I don't think rubygems would let you install it without at least a warning on an older ruby.
nofxx has joined #ruby
johnzorn has quit [Ping timeout: 256 seconds]
malconis has quit [Read error: Connection reset by peer]
malconis has joined #ruby
LoneHermit has quit [Ping timeout: 255 seconds]
malconis has quit [Read error: Connection reset by peer]
nofxx has quit [Client Quit]
elifoster has quit [Quit: class]
johnzorn has joined #ruby
malconis has joined #ruby
automaton has joined #ruby
malconis has quit [Read error: Connection reset by peer]
malconis has joined #ruby
[Butch] has joined #ruby
reverberations has joined #ruby
saneax is now known as saneax-_-|AFK
automaton has quit [Ping timeout: 276 seconds]
Anonymoose2 has quit [Ping timeout: 245 seconds]
ramfjord has quit [Ping timeout: 258 seconds]
ramfjord has joined #ruby
workmad3 has quit [Quit: Lost terminal]
nofxx has joined #ruby
kirun has joined #ruby
dionysus69 has joined #ruby
markholmes has joined #ruby
mholmes has quit [Ping timeout: 258 seconds]
bkxd has joined #ruby
UnknownSoldier has joined #ruby
nonnatus has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
c0t0d0s1 has quit [Ping timeout: 258 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
nettoweb1 has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
JoshS has quit [Quit: Leaving]
UnknownSoldier has quit [Remote host closed the connection]
vuoto has joined #ruby
nettoweb has quit [Ping timeout: 264 seconds]
UnknownSoldier has joined #ruby
polishdub has joined #ruby
c0t0d0s1 has joined #ruby
Gutenberg is now known as Dry_Lips
anisha has quit [Quit: Leaving]
automaton has joined #ruby
pragmaticus has quit [Ping timeout: 256 seconds]
bocaneri has quit [Read error: Connection reset by peer]
griffindy has joined #ruby
grh has joined #ruby
enterprisey has quit [Remote host closed the connection]
cdg has quit [Remote host closed the connection]
brandon_ has quit [Ping timeout: 240 seconds]
tyang_ has quit [Read error: Connection reset by peer]
phoo1234567 has joined #ruby
griffindy has quit [Ping timeout: 258 seconds]
tyang_ has joined #ruby
jpterry has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
dionysus69 has quit [Quit: dionysus69]
ta__ has joined #ruby
csk has quit [Quit: Bye]
troulouliou_dev has joined #ruby
nankyokusei has quit [Remote host closed the connection]
BackEndCoder has quit [Excess Flood]
mikecmpbll has joined #ruby
ramfjord has joined #ruby
BackEndCoder has joined #ruby
ifctj has joined #ruby
klaas has joined #ruby
byte512 has quit [Ping timeout: 264 seconds]
cahoots has joined #ruby
brandon_ has joined #ruby
jonathanwallace_ has quit [Quit: Connection closed for inactivity]
emilkarl has joined #ruby
anisha has joined #ruby
[Butch]_ has joined #ruby
tlahtoani has quit [Quit: Connection closed for inactivity]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
Joost has left #ruby ["WeeChat 1.6"]
al2o3-cr has joined #ruby
vuoto has quit [Quit: Lost terminal]
[Butch] has quit [Ping timeout: 258 seconds]
[Butch]_ is now known as [Butch]
emilkarl has quit [Ping timeout: 240 seconds]
automaton has quit [Ping timeout: 258 seconds]
anisha has quit [Quit: Leaving]
dionysus69 has joined #ruby
[spoiler] has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
automaton has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
dionysus70 has joined #ruby
Ishido has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
dionysus70 is now known as dionysus69
genpaku has quit [Ping timeout: 240 seconds]
Snickers has quit [Quit: Snickers]
gigetoo has quit [Ping timeout: 245 seconds]
genpaku has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
gigetoo has joined #ruby
bkxd has joined #ruby
anisha has joined #ruby
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
choke has joined #ruby
aot has joined #ruby
fuzzyhorns has quit [Quit: Leaving.]
D100 has quit [Quit: Leaving]
<aot> is it still possible to write python scripts in latin1?
<aot> or ruby
hobodave has joined #ruby
<apeiros> no idea about python, but ruby yes - but ruby I think you still can, by setting an encoding comment
<apeiros> however, it's IMO a rather bad idea to do so
bkxd has quit [Ping timeout: 264 seconds]
anisha has quit [Client Quit]
jud^ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Derperperd has joined #ruby
jud has quit [Ping timeout: 255 seconds]
cagomez has quit [Remote host closed the connection]
malconis has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
malconis has joined #ruby
ur5us has joined #ruby
emilkarl has joined #ruby
automaton has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
jhack has quit [Quit: jhack]
markholmes has quit [Ping timeout: 255 seconds]
nettoweb has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
aglorei has quit [Remote host closed the connection]
aglorei has joined #ruby
xen0fon has quit [Ping timeout: 240 seconds]
nunchuck has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 240 seconds]
LoneHerm_ has joined #ruby
lenwood has joined #ruby
csk has joined #ruby
Joufflu has joined #ruby
LoneHerm_ has quit [Ping timeout: 240 seconds]
hobodave_ has joined #ruby
sparr has joined #ruby
kirun has quit [Quit: Konversation terminated!]
<sparr> [{x:0,y:0,range:[].to_set}]*SYNERGY_COLORS.length seems to give me a bunch of hashes all pointing the same place. what's the right way to do this to get an array of unique hashes?
hobodave has quit [Ping timeout: 245 seconds]
jhack has joined #ruby
ramfjord has joined #ruby
cagomez has quit [Remote host closed the connection]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
skweek has quit [Ping timeout: 240 seconds]
toretore has quit [Ping timeout: 245 seconds]
synthroid has quit [Remote host closed the connection]
<manveru> sparr: what do you want?
<manveru> sparr: probably Array.new(10){ [{x:0, y:0, range: Set.new}] }
migge has joined #ruby
<manveru> replace 10 with your length
genpaku has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
kira has quit [Ping timeout: 255 seconds]
__main__ has quit [Read error: Connection reset by peer]
genpaku has joined #ruby
jenrzzz has joined #ruby
tildes has joined #ruby
__main__ has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
devon21 has quit [Quit: devon21]
emilkarl has quit [Quit: emilkarl]
toretore has joined #ruby
djbkd has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
davezd has quit [Quit: Leaving]
bkxd has joined #ruby
yokel has quit [Ping timeout: 255 seconds]
d5sx43 has joined #ruby
yokel has joined #ruby
grh has quit [Ping timeout: 258 seconds]
synthroid has joined #ruby
devon21 has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
d5sx43 has quit [Client Quit]
toretore has quit [Remote host closed the connection]
<sparr> that won't get me 10 things pointing to the same set?
tildes has quit [Ping timeout: 248 seconds]
<baweaver> Try it out
<sparr> is there an interactive ruby shell where I can type things and see them evaluated?
bmurt has joined #ruby
<ddffg> sparr https://repl.it/
<sparr> spiffy, thanks
cdg has joined #ruby
cdg has quit [Read error: Connection reset by peer]
cdg has joined #ruby
xen0fon has joined #ruby
zipace has joined #ruby
<baweaver> sparr: irb is built into ruby
<baweaver> you can run it from your command line
<sparr> thanks, as well
<sparr> I had been running ruby, typing in stuff, hitting ctrl+d, repeat
<baweaver> Look into Pry later if you want more horsepower
simmib has joined #ruby
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<SeepingN> oh my. yeah Pry look sawesome. It took me so long to get wirb working right I haven't tried to switch to Pry yet
<darix> SeepingN: binding.pry :p
<darix> try that
renchan has quit [Remote host closed the connection]
CrazyEddy has joined #ruby
tyang_ has quit [Ping timeout: 256 seconds]
simmib has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
csk157 has joined #ruby
nankyokusei has joined #ruby
mooe has joined #ruby
csk157 has quit [Ping timeout: 245 seconds]
kira has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
ifctj has quit [Ping timeout: 276 seconds]
ltem has quit [Quit: Leaving]
markholmes has joined #ruby
synthroid has quit []
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
elifoster has joined #ruby
enterprisey has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
RobertBirnie has joined #ruby
cagomez has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ocbtec has quit [Ping timeout: 252 seconds]
anotherpi has joined #ruby
ifctj has joined #ruby
lxsameer has quit [Quit: WeeChat 1.6]
AndrewIsHere has quit []
hanmac has quit [Ping timeout: 256 seconds]
erlend has quit [Quit: Bye]
cagomez has quit [Ping timeout: 245 seconds]
erlend has joined #ruby
gloscombe_ has joined #ruby
Eiam has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
cdg_ has joined #ruby
cagomez has joined #ruby
fclausen has quit [Ping timeout: 252 seconds]
ifctj has quit [Ping timeout: 240 seconds]
fclausen has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
RobertBirnie has quit [Ping timeout: 240 seconds]
Snowy has joined #ruby
haylon has quit [Quit: Leaving]
blackwind_123 has quit [Ping timeout: 256 seconds]
RobertBirnie has joined #ruby
blackwind_123 has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
malconis has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
hanmac has joined #ruby
bkxd has joined #ruby
robneste- has quit [Quit: I wonder what this button does...?]
<Kestrel-029> Hi, can someone advise me which command to use to reinstall ruby and rails on ubuntu 16? I'm having gem issues and feel that removing and installing it again is the best way to fix it.
hobodave_ has quit [Quit: Computer has gone to sleep.]
<Kestrel-029> I'm using ruby 2.3.1p112 and rails 4.2.6
last_staff has quit [Read error: Connection reset by peer]
robnester has joined #ruby
enterprisey has quit [Remote host closed the connection]
bweston92 has quit [Quit: Connection closed for inactivity]
pandal has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
yehowyada has quit [Quit: Textual IRC Client: www.textualapp.com]
johnny56 has joined #ruby
<nofxx> Kestrel-029, apt-get, it's a distro thing.. not ruby
<nofxx> Kestrel-029, also check ~/.gem and if /etc/gemrc has --user-install
<nofxx> if you don't have a rubygems key you can safely rm -rf ~/.gem
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erlend has quit [Quit: Bye]
<nofxx> life's too short for chruby/rvm ... just use a good distro that has up to date ruby
erlend has joined #ruby
<Radar> Latest version of Ruby available on the latest Ubuntu is 2.3.0.
<Radar> Check. Mate.
<nofxx> I'll never remember this.. Array#what? -> [[:a, :b], [:a, :b]] -> [[:a, :a], [:b, :b]]
<nofxx> I'll never remember this.. Array#what? -> [[:a, :b], [:a, :b], [:a, :b]....] -> [[:a, :a, :a...], [:b, :b, :b....]
<nofxx> Radar, at least they are updating something.... darn I hate debians heh
<Radar> Kestrel-029: Remove whatever you have installed so far, and then follow this: http://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you
cpruitt_ has joined #ruby
<nofxx> it was 1.6 when the world was 1.8, 1.8 years while the world was 2.1.... 2.0 while the world was 2.3
cpruitt has quit [Ping timeout: 240 seconds]
cpruitt_ is now known as cpruitt
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<Radar> nofxx: the Big Giant Text™ at the top of my post is there for a very, very good reason.
<Papierkorb> To be fair, 2.3 is surprisingly recent for debian
<nofxx> Papierkorb, yeah, I'm surprised too
lenwood has quit [Ping timeout: 240 seconds]
<Radar> Papierkorb: not having at least 2.3.3 is almost negligence.
<nofxx> it's debian, dont's expect it to be good
<Papierkorb> Radar: ... Okay I did expect them to be at least package patch releases
<Papierkorb> s/be/offer/
<Papierkorb> -offer
<nofxx> the most fun thing is that it's suppose to be like that for stability, and debians I had crash way, but WAY more than bleeding edge arch
<Radar> I have a lot of feelpinions regarding apt + ruby.
aot has quit [Quit: Page closed]
brent__ has quit [Read error: Connection reset by peer]
<nofxx> and it goes beyond, all those -dev -libs -extra packages just to save space, 2kb -header libs... because we're in 92 and disks have 180Mb
<Radar> I should probably update that blog post.
hahuang61 has quit [Ping timeout: 256 seconds]
<nofxx> that being said, I like 'install' over pacman '-S', you can make fun aliases... 'please install firefox'
ocbtec has joined #ruby
tolerablyjake has joined #ruby
<StoneCypher> if i'm running tests through rake, can i run just one test by number?
BackEndCoder has quit [Excess Flood]
BackEndCoder has joined #ruby
millerti has joined #ruby
CloCkWeRX has joined #ruby
greenlight_ has joined #ruby
anotherpi has quit [Ping timeout: 240 seconds]
cpruitt_ has joined #ruby
nonnatus has quit [Ping timeout: 258 seconds]
cpruitt has quit [Ping timeout: 255 seconds]
cpruitt_ is now known as cpruitt
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby
nowhereman has quit [Ping timeout: 252 seconds]
<Papierkorb> nofxx: https://github.com/nvbn/thefuck `please instal firefox ... fuck` ;)
sneakers has joined #ruby
nowhereman has joined #ruby
LoneHermit has joined #ruby
gnufied has joined #ruby
nowhereman has quit [Ping timeout: 240 seconds]
BackEndCoder has quit [Excess Flood]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
LoneHermit has quit [Ping timeout: 240 seconds]
BackEndCoder has joined #ruby
johnmilton has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hobodave has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
<SeepingN> that's awesome
_aeris_ has quit [Remote host closed the connection]
Toordog_ has quit [Ping timeout: 260 seconds]
_aeris_ has joined #ruby
Snowy has quit [Remote host closed the connection]
nowhereman has joined #ruby
Snowy has joined #ruby
Snowy has quit [Ping timeout: 240 seconds]
hobodave has quit [Ping timeout: 256 seconds]
<cpruitt> So, I’m interested in doing some simulations, just for fun and would like to draw/animate the simulation while it’s running. I’m looking for a good UI kit for ruby on OS X. Doesn’t need to be portable. I’d tried shoes which I had more trouble with than was worth it & processing which wasn’t too bad. Anyone know of anything else that’ll let me draw some primitave shapes in a window and animate them around?
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cpruitt> (by processing I mean ruby-processing)
JeanCarloMachado has quit [Ping timeout: 248 seconds]
hahuang61 has joined #ruby
tlahtoani has joined #ruby
Derperperd has quit [Ping timeout: 260 seconds]
xen0fon has quit [Quit: xen0fon]
__Yiota has joined #ruby
gloscombe_ has left #ruby [#ruby]
__Yiota has quit [Client Quit]
<darix> cpruitt: Qt
bkxd has joined #ruby
hahuang61 has quit [Ping timeout: 240 seconds]
<cpruitt> darix: Qt runs under XQuarts on OS X?
<darix> cpruitt: i am more of a linux guy. but you asked for a portable gui toolkit
<darix> and there arent that many
<darix> GTK+
<cpruitt> darix: Sorry, I’d said *doesn’t* need to be portable.
<darix> ok
<cpruitt> Either way may be an option.
<darix> i am sure you can find out if it supports working without X
chouhoulis has quit [Ping timeout: 258 seconds]
<cpruitt> I don’t mind if it’s an xquarts thing.
<cpruitt> I’d just like something simple that kinda gets out of the way. I’m more interested in the simulation than in learning a gui toolkit at the moment.
<cpruitt> Thanksfor the input. :-)
bkxd has quit [Ping timeout: 255 seconds]
jhack has quit [Quit: jhack]
sepp2k has quit [Quit: Leaving.]
tercenya has quit [Remote host closed the connection]
Definity has quit [Ping timeout: 255 seconds]
gloscombe_ has joined #ruby
tercenya has joined #ruby
miguelfernandes has joined #ruby
zipace has quit [Disconnected by services]
ziprar has joined #ruby
hahuang61 has joined #ruby
hahuang65 has joined #ruby
blackmesa has joined #ruby
ixti has joined #ruby
msmith_ has quit [Remote host closed the connection]
csk157 has joined #ruby
nankyokusei has joined #ruby
cibs has quit [Ping timeout: 258 seconds]
regreg has left #ruby [#ruby]
cibs has joined #ruby
csk157 has quit [Ping timeout: 240 seconds]
kira has quit [Ping timeout: 252 seconds]
dc4 has quit [Ping timeout: 256 seconds]
nankyokusei has quit [Ping timeout: 258 seconds]
kira has joined #ruby
paradisaeidae has joined #ruby
paradisaeidae_ has joined #ruby
simmib has joined #ruby
cagomez has quit []
simmib has quit [Ping timeout: 245 seconds]
daivyk has quit [Ping timeout: 245 seconds]
aglorei has quit [Quit: WeeChat 1.4]
daivyk_ has joined #ruby
miguelfernandes has quit []
miguelfernandes has joined #ruby
aglorei has joined #ruby
_aeris_ has quit [Ping timeout: 240 seconds]
_aeris_ has joined #ruby
polishdub has quit [Quit: leaving]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]