havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.2, 2.3.5 & 2.2.8: 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 || Books: https://goo.gl/wpGhoQ
ineb has joined #ruby
kitikonti has quit [Quit: Textual IRC Client: www.textualapp.com]
mtkd has quit [Ping timeout: 255 seconds]
TomyLobo has quit [Ping timeout: 255 seconds]
KeyJoo has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
Axolotl___ has joined #ruby
Xiti has joined #ruby
theRealGent has quit [Ping timeout: 255 seconds]
modin has quit [Ping timeout: 240 seconds]
woodruffw has quit [Ping timeout: 268 seconds]
Technodrome has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
jnyw has joined #ruby
John____ has quit [Read error: Connection reset by peer]
zautomata has quit [Ping timeout: 248 seconds]
|ifei5g00d has quit [Ping timeout: 248 seconds]
ineb has quit [Ping timeout: 276 seconds]
ineb has joined #ruby
GodFather has joined #ruby
moei has quit [Quit: Leaving...]
zautomata has joined #ruby
alfiemax has quit [Remote host closed the connection]
hndk has joined #ruby
|ifei5g00d has joined #ruby
oetjenj has joined #ruby
pskosinski has quit [Remote host closed the connection]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
cdg has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ineb has quit [Ping timeout: 240 seconds]
ineb has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
astronav_ has joined #ruby
krawchyk has quit [Quit: Textual IRC Client: www.textualapp.com]
astronavt has quit [Ping timeout: 250 seconds]
astronav_ is now known as astronavt
uZiel has joined #ruby
orbyt_ has joined #ruby
ineb has quit [Ping timeout: 268 seconds]
cdg has joined #ruby
ineb has joined #ruby
dreamthese has quit [Remote host closed the connection]
dreamthese has joined #ruby
alfiemax has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
goyox86 has joined #ruby
lytol has quit [Remote host closed the connection]
cpruitt has joined #ruby
cpruitt has quit [Client Quit]
goyox86 has quit [Client Quit]
alfiemax has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
goyox86_ has joined #ruby
roamingdog has joined #ruby
goyox86__ has joined #ruby
goyox86_ has quit [Read error: Connection reset by peer]
alfiemax has quit [Ping timeout: 248 seconds]
nogic has quit [Ping timeout: 248 seconds]
ineb has quit [Ping timeout: 248 seconds]
ineb has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
bkxd_ has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
marr has quit [Ping timeout: 240 seconds]
goyox86__ has quit [Read error: No route to host]
milardovich has joined #ruby
goyox86__ has joined #ruby
goyox86__ is now known as goyox86
bkxd has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
moei has joined #ruby
iMadper` has quit [Read error: Connection reset by peer]
iMadper` has joined #ruby
goyox86 has quit [Quit: goyox86]
yeticry has joined #ruby
jameser has joined #ruby
drowze has joined #ruby
iMadper`` has joined #ruby
milardovich has quit []
iMadper` has quit [Ping timeout: 255 seconds]
rexb0t has joined #ruby
Azure has joined #ruby
enterprisey has quit [Remote host closed the connection]
rexb0t has quit [Client Quit]
jameser has quit [Ping timeout: 260 seconds]
aphprentice has quit [Quit: Connection closed for inactivity]
jameser has joined #ruby
yeticry has quit [Ping timeout: 248 seconds]
oetjenj has quit [Remote host closed the connection]
bmurt has joined #ruby
bkxd_ has joined #ruby
oetjenj has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
mtkd has joined #ruby
AJA4350 has quit [Quit: AJA4350]
bkxd_ has quit [Ping timeout: 248 seconds]
rivalomega has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
yeticry has joined #ruby
jameser_ has joined #ruby
jameser_ has quit [Client Quit]
roamingdog has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
jameser has quit [Ping timeout: 240 seconds]
enterprisey has joined #ruby
mullah_ has left #ruby ["Leaving"]
gizmore|2 has joined #ruby
petervbeck has quit [Ping timeout: 240 seconds]
gizmore has quit [Ping timeout: 240 seconds]
|ifei5g00d has quit [Read error: Connection reset by peer]
|ifei5good has joined #ruby
rhyselsmore has joined #ruby
exhiled has joined #ruby
d^sh has quit [Ping timeout: 268 seconds]
d^sh has joined #ruby
jameser has joined #ruby
bkxd_ has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
jameser_ has joined #ruby
jameser has quit [Ping timeout: 268 seconds]
bkxd_ has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
jameser_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
jameser has joined #ruby
pb122 has joined #ruby
pb122 has quit [Remote host closed the connection]
cdg has joined #ruby
ElderFain has quit [Quit: ZNC 1.6.4 - http://znc.in]
mullah_ has joined #ruby
rhyselsmore has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 276 seconds]
minn has joined #ruby
_whitelogger has joined #ruby
pilne has quit [Quit: Quitting!]
yeticry has quit [Ping timeout: 240 seconds]
mullah_ has left #ruby ["Leaving"]
uZiel has joined #ruby
bkxd_ has joined #ruby
DmitryBochkarev has joined #ruby
herbmillerjr has quit [Ping timeout: 260 seconds]
SuperLag has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
yeticry has joined #ruby
maum has joined #ruby
pwnd_nsfw` has joined #ruby
pwnd_nsfw has quit [Ping timeout: 240 seconds]
DTZUZO has quit [Quit: WeeChat 2.0]
elphe has quit [Ping timeout: 248 seconds]
DTZUZO has joined #ruby
bkxd has joined #ruby
bkxd_ has quit [Ping timeout: 240 seconds]
elphe has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
elphe has joined #ruby
howdoi has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
hndk has quit [Quit: Leaving]
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
jameser has quit [Ping timeout: 268 seconds]
dviola has quit [Quit: WeeChat 2.0]
rhyselsmore has joined #ruby
jameser has joined #ruby
gix has joined #ruby
gix- has quit [Ping timeout: 248 seconds]
Xiti has quit [Quit: Xiti]
jameser_ has joined #ruby
Xiti has joined #ruby
bkxd_ has joined #ruby
jameser_ has quit [Remote host closed the connection]
jameser has quit [Ping timeout: 248 seconds]
jameser has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
alfiemax_ has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
bkxd has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has quit [Client Quit]
bkxd_ has quit [Ping timeout: 248 seconds]
despai has quit [Quit: ...]
mson has joined #ruby
iMadper`` has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 248 seconds]
al2o3-cr has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
astronavt has quit [Remote host closed the connection]
rhebz916 has joined #ruby
anisha has joined #ruby
cdg has joined #ruby
jackjackdripper has joined #ruby
KeyJoo has joined #ruby
elphe has quit [Ping timeout: 248 seconds]
Xiti has quit [Ping timeout: 268 seconds]
Xiti has joined #ruby
cdg has quit [Ping timeout: 250 seconds]
elphe has joined #ruby
maxirater has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has quit [Ping timeout: 248 seconds]
rivalomega has quit [Read error: Connection reset by peer]
rivalomega has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gh has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
rhebz916 has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
mikhael_k33hl has joined #ruby
gh has quit [Quit: Leaving]
<mikhael_k33hl> Where can I find documentation for params.fetch()?
elphe has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mozzarella> look for Hash#fetch, maybe?
<mikhael_k33hl> mozzarella: I'm currently going through a ruby code and I see some class methods wrapping instance methods with instance.methodCall . . . is that a convention or something?
goyox86 has joined #ruby
Axolotl___ has quit [Ping timeout: 248 seconds]
rhebz916 has joined #ruby
maxirater has quit [Quit: Leaving]
<RickHull> is the instance being passed in? anyway, no -- that sounds strange
goyox86 has quit [Quit: goyox86]
iamarun has joined #ruby
<mikhael_k33hl> RickHull: It's an existing codebase that I'm working on, I'm pretty new with ruby so I'm trying to determine if this kind of practice is conventional or something. Would you mind taking a look: http://paste.ubuntu.com/26161817/
<mikhael_k33hl> RickHull: though I doubt this can be improved
rhyselsmore has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
reber has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Remote host closed the connection]
oleo has quit [Quit: Leaving]
bkxd has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
Xiti has quit [Ping timeout: 250 seconds]
<elomatreb> Judging by the "include Singleton" you have a singleton there, so the class methods using that instance method probably from the included module is probably intentional
<elomatreb> mikhael_k33hl: ^
al2o3-cr has quit [Ping timeout: 240 seconds]
goyox86 has joined #ruby
<mikhael_k33hl> elomatreb: can you elaborate more on the "so the class methods using that instance method probably from the included module is probably intentional"
<elomatreb> Mh, sorry. Bad sentence. Your class uses this: https://ruby-doc.org/stdlib-2.4.2/libdoc/singleton/rdoc/Singleton.html -- A singleton object is an object of which there can only be one
Xiti has joined #ruby
jameser has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
ta_ has quit [Remote host closed the connection]
<mikhael_k33hl> elomatreb: Oh yeah, just found out that it automatically creates an instance and you can refer to it with the "instance" variable. Thanks
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
<elomatreb> Specifically it's always the same instance, that's what's interesting.
ta_ has joined #ruby
c0ncealed has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cschneid_ has quit [Remote host closed the connection]
c0ncealed has joined #ruby
cschneid_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
cschneid_ has quit [Ping timeout: 248 seconds]
goyox86 has quit [Quit: goyox86]
jackjackdripper has quit [Quit: Leaving.]
adaedra has quit [Ping timeout: 248 seconds]
`derpy has quit [Ping timeout: 248 seconds]
`derpy has joined #ruby
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
adaedra has joined #ruby
Barrt has quit [Ping timeout: 268 seconds]
goyox86 has joined #ruby
armando has quit [Ping timeout: 260 seconds]
al2o3-cr has joined #ruby
Xiti has quit [Ping timeout: 255 seconds]
armando has joined #ruby
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
rabajaj has joined #ruby
Barrt has joined #ruby
goyox86 has quit [Quit: goyox86]
jameser_ has joined #ruby
jameser has quit [Ping timeout: 246 seconds]
elphe has quit [Ping timeout: 248 seconds]
jameser_ has quit [Remote host closed the connection]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
ShekharReddy has quit [Quit: Connection closed for inactivity]
mtkd has quit [Ping timeout: 240 seconds]
jameser has joined #ruby
mtkd has joined #ruby
Xiti has joined #ruby
alex`` has joined #ruby
jenrzzz has joined #ruby
JustASlacker has quit [Ping timeout: 248 seconds]
cschneid_ has joined #ruby
goyox86 has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
maum has quit [Remote host closed the connection]
Technodrome has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
mson has quit [Quit: Connection closed for inactivity]
exhiled has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justicefries has joined #ruby
goyox86 has quit [Quit: goyox86]
jameser_ has joined #ruby
ur5us has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has quit [Ping timeout: 248 seconds]
Drakevr has joined #ruby
Mia has quit [Ping timeout: 250 seconds]
Drakevr has quit [Changing host]
Drakevr has joined #ruby
jameser has joined #ruby
mikhael_k33hl has quit [Quit: Page closed]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
alfiemax has joined #ruby
conta has joined #ruby
jameser_ has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
cdg has joined #ruby
goyox86 has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd_ has quit [Ping timeout: 248 seconds]
alfiemax has quit [Ping timeout: 260 seconds]
bkxd_ has joined #ruby
jameser has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 250 seconds]
jameser has joined #ruby
andikr has joined #ruby
jameser_ has joined #ruby
rivalomega has quit [Remote host closed the connection]
rivalomega has joined #ruby
Metrela has joined #ruby
jameser has quit [Ping timeout: 246 seconds]
rivalomega has quit [Ping timeout: 240 seconds]
jameser_ has quit [Remote host closed the connection]
jameser has joined #ruby
rivalomega has joined #ruby
pifon has quit [Quit: Connection closed for inactivity]
Burgestrand has joined #ruby
Metrela has quit [Ping timeout: 260 seconds]
Burgestrand has quit [Client Quit]
nofxx_ has joined #ruby
rmhonji has quit [Ping timeout: 240 seconds]
goyox86 has quit [Ping timeout: 250 seconds]
nofxx has quit [Ping timeout: 268 seconds]
jackjackdripper has joined #ruby
rivalomega has quit [Remote host closed the connection]
rivalomega has joined #ruby
goyox86 has joined #ruby
guille-moe has joined #ruby
guille-moe has quit [Client Quit]
rivalomega has quit [Ping timeout: 276 seconds]
elphe has joined #ruby
rrutkowski has joined #ruby
yeticry has quit [Ping timeout: 260 seconds]
rrutkowski has quit [Client Quit]
rrutkowski has joined #ruby
yeticry has joined #ruby
ta_ has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
lurkingninja has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
ferr has joined #ruby
ferr has left #ruby [#ruby]
goyox86 has quit [Quit: goyox86]
ana_ has joined #ruby
rmhonji has joined #ruby
goyox86 has joined #ruby
InfinityFye has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sleetdrop has joined #ruby
bkxd has joined #ruby
InfinityFye has left #ruby [#ruby]
anisha has joined #ruby
apofis has joined #ruby
bkxd_ has quit [Ping timeout: 248 seconds]
aufi has joined #ruby
bkxd_ has joined #ruby
Technodrome has joined #ruby
sepp2k has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
yeticry has quit [Ping timeout: 246 seconds]
rmhonji has quit [Ping timeout: 246 seconds]
mark_66 has joined #ruby
jameser_ has joined #ruby
goyox86 has quit [Quit: goyox86]
jameser has quit [Ping timeout: 240 seconds]
goyox86 has joined #ruby
jameser_ has quit [Remote host closed the connection]
jameser has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
yeticry has joined #ruby
biberu has joined #ruby
jenrzzz has joined #ruby
Dimik has joined #ruby
rmhonji has joined #ruby
jameser_ has joined #ruby
petervbeck has joined #ruby
hs366 has joined #ruby
mjolnird has joined #ruby
jameser has quit [Ping timeout: 240 seconds]
bweston92 has joined #ruby
RevanOne has quit [Read error: Connection reset by peer]
RevanOne has joined #ruby
vondruch has joined #ruby
goyox86 has quit [Quit: goyox86]
goyox86 has joined #ruby
jameser_ has quit [Quit: Textual IRC Client: www.textualapp.com]
nowhere_man has quit [Ping timeout: 248 seconds]
mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
nowhere_man has joined #ruby
bijan__ has joined #ruby
sylario has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
bijan__ has quit [Quit: Textual IRC Client: www.textualapp.com]
bijan__ has joined #ruby
bkxd has joined #ruby
bkxd_ has quit [Ping timeout: 240 seconds]
goyox86 has quit [Quit: goyox86]
goyox86 has joined #ruby
im0nde has joined #ruby
Burgestrand has joined #ruby
bkxd_ has joined #ruby
mim1k has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Riddell has quit [Ping timeout: 268 seconds]
rhebz916 has quit [Read error: Connection reset by peer]
bkxd has quit [Ping timeout: 240 seconds]
Riddell has joined #ruby
rhebz916 has joined #ruby
hahuang65 has quit [Read error: Connection reset by peer]
nowhere_man has quit [Ping timeout: 276 seconds]
huyderman has joined #ruby
goyox86 has quit [Quit: goyox86]
hahuang65 has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
Dimik has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
goyox86 has joined #ruby
qba73 has joined #ruby
bijan__ is now known as bijan_awaaaay
bijan_awaaaay has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
NL3limin4t0r has left #ruby ["WeeChat 1.7"]
bijan__ has joined #ruby
marr has joined #ruby
Beams has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
pifon has joined #ruby
goyox86 has quit [Quit: goyox86]
im0nde has quit [Ping timeout: 240 seconds]
DTZUZO has quit [Ping timeout: 260 seconds]
al2o3-cr has joined #ruby
Cavallari has joined #ruby
ur5us has quit [Remote host closed the connection]
DmitryBochkarev has quit [Ping timeout: 246 seconds]
spectrum has joined #ruby
DmitryBochkarev has joined #ruby
bkxd has joined #ruby
Bish has quit [Remote host closed the connection]
bkxd_ has quit [Ping timeout: 240 seconds]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
ferr has joined #ruby
ur5us has joined #ruby
bijan__ has quit [Quit: Textual IRC Client: www.textualapp.com]
DTZUZO has joined #ruby
jenrzzz has joined #ruby
TomyWork has joined #ruby
mim1k is now known as mim1k|w
goyox86 has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
bronson_ has quit [Read error: Connection reset by peer]
bronson has joined #ruby
jottr has joined #ruby
ldnunes has joined #ruby
anisha has joined #ruby
rhebz916 has quit [Quit: Leaving]
apofis has quit [Read error: Connection reset by peer]
goyox86 has quit [Quit: goyox86]
TheBrayn has quit [Quit: WeeChat 1.9.1]
im0nde has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
rhebz916 has joined #ruby
rabajaj has quit [Ping timeout: 248 seconds]
TheBrayn has joined #ruby
rabajaj has joined #ruby
rhebz916 has quit [Client Quit]
nofxx_ has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby
Barrt has quit [Ping timeout: 260 seconds]
Barrt has joined #ruby
rahul_bajaj has joined #ruby
rahul_bajaj has quit [Client Quit]
rahul_bajaj has joined #ruby
n13z has quit [Quit: leaving]
nofxx has quit [Ping timeout: 248 seconds]
yeticry has quit [Ping timeout: 258 seconds]
rabajaj has quit [Ping timeout: 255 seconds]
jaruga has joined #ruby
yeticry has joined #ruby
bkxd has joined #ruby
goyox86 has joined #ruby
claudiuinberlin has joined #ruby
bkxd_ has quit [Ping timeout: 240 seconds]
bkxd__ has joined #ruby
nofxx has joined #ruby
nofxx_ has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
ShekharReddy has joined #ruby
nofxx has quit [Ping timeout: 246 seconds]
im0nde has quit [Ping timeout: 260 seconds]
enterprisey has quit [Read error: Connection reset by peer]
Barrt has quit [Ping timeout: 246 seconds]
apparition has joined #ruby
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
jnyw has quit [Quit: WeeChat 2.0]
tomphp has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
miskatonic has joined #ruby
syf-revk has joined #ruby
rahul_bajaj has quit [Remote host closed the connection]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rahul_bajaj has joined #ruby
quobo has joined #ruby
<syf-revk> hey there guys
<syf-revk> i'm looking for a way to find a specific string from a file, seek to that string's position, and then continue searching... but i'm not having much luck
<syf-revk> anyone have any advice?
goyox86 has quit [Quit: goyox86]
JaccoP has joined #ruby
abhi56rai has joined #ruby
abhi56rai has quit [Client Quit]
Technodrome has joined #ruby
Barrt has joined #ruby
<dminuoso> syf-revk: What does "continue" searching mean?
<dminuoso> Do you just want the pos of the first occurence?
<dminuoso> Should this match in a multiline mode?
<dminuoso> Would be matching against string equality or pattern matching with regex?
<dminuoso> And once you have answered all of that, please show us what you have tried so far.
yeticry has joined #ruby
<dminuoso> And what matchingn algorithm do you want if its just string equality?
<dminuoso> Should it be boyer moore strstr?
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goyox86 has joined #ruby
rahul_bajaj has quit [Remote host closed the connection]
rahul_bajaj has joined #ruby
yeticry has quit [Ping timeout: 276 seconds]
<syf-revk> thanks dminuoso; i want the pos of each occurrence (except i suppose the last) which i would like to seek to, and by "continue searching" i mean repeat this process for all occurrences until no further matches are found. i'm looking to perform this for only one line.
<Burgestrand> syf-revk is the file small enough to read all into memory at once?
<syf-revk> i'm looking for a match against string equality rather than regex, and am nonfussed on the matching algo - boyer moore would be fine but i'm just looking for anything at this point
<dminuoso> syf-revk: Okay string quality, using what matching algorithm?
<syf-revk> i'm working with a number of json files that are all less than 5mb
brandthdl has joined #ruby
<dminuoso> syf-revk: just implement boyer moore. you will gain "positions" for free.
<dminuoso> Its a good algorithm and good practice.
<Burgestrand> I disagree wholeheartedly
<dminuoso> ;o
<dminuoso> Burgestrand: Can you argue your point?
alex`` has quit [Quit: WeeChat 1.9.1]
<syf-revk> Burgestrand; do you suggest an alternative? i'd also like to hear why
bkxd has joined #ruby
<syf-revk> and thanks dminuoso, i'll give it a go
<Burgestrand> dminuoso It's a rather large yak to shave when the standard library has string search that's just fine
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> Burgestrand: *shrugs*
im0nde has joined #ruby
bkxd__ has quit [Ping timeout: 250 seconds]
bkxd_ has joined #ruby
bkxd_ has quit [Client Quit]
bkxd has quit [Ping timeout: 268 seconds]
<Burgestrand> i.e. use IO.read to read the file into a single string into memory, use String#scan with a regex to find all matches, and use $~.begin(0) to find the position of each individual match
qba73 has quit [Remote host closed the connection]
<Burgestrand> syf-revk ^
qba73 has joined #ruby
<syf-revk> thanks Burgestrand, i'll try both methods out and let you guys know if i have any trouble
pifon has quit [Quit: Connection closed for inactivity]
rahul_bajaj has quit [Ping timeout: 268 seconds]
goyox86 has quit [Quit: goyox86]
<Burgestrand> It's kind of when I want to make a game and I start with/end up making a game engine, it's fun and educational but not really what I wanted to in the first place :D
ldepandis has joined #ruby
gregf_ has joined #ruby
miskatonic has quit [Remote host closed the connection]
tcopeland has quit [Quit: tcopeland]
rahul_bajaj has joined #ruby
guardianx has joined #ruby
enterprisey has joined #ruby
KeyJoo has quit [Remote host closed the connection]
rahul_bajaj has quit [Remote host closed the connection]
rahul_bajaj has joined #ruby
Burgestrand has quit [Quit: Closing time!]
qba73 has quit [Ping timeout: 250 seconds]
guardianx is now known as Chullora
qba73 has joined #ruby
arup_r has joined #ruby
<arup_r> Can anyone tell me if ruby has any gems to do what exactly this npm lib https://www.npmjs.com/package/filepreview does?
rabajaj has joined #ruby
iamarun has quit [Remote host closed the connection]
goyox86 has joined #ruby
rahul_bajaj has quit [Ping timeout: 248 seconds]
rivalomega has joined #ruby
<arup_r> I need to create preview images for pdf, word doc, videos and images. So searching web for a gem which can help me to do the task
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Psybur has joined #ruby
rivalomega has quit [Ping timeout: 240 seconds]
brandthdl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
<arup_r> if not then I will use that JS lib, and write my JS code to process and execute the JS code using https://github.com/jsdf/ruby_node_task :) Not sure if it is a good approach too, but it will do my job
guille-moe has joined #ruby
<minn> what causes the interpreter to lock in a multithreaded application? e.g., can't be killed with CTRL+D.
<minn> (well, obviously problems with multithreading - but why can't i kill the interpreter?)
ur5us has joined #ruby
<tobiasvl> CTRL+C ?
unshadow has joined #ruby
goyox86 has quit [Quit: goyox86]
<minn> pressing CTRL+C advances the line, but it otherwise appears unresponsive to keyboard input
im0nde has quit [Ping timeout: 268 seconds]
rabajaj has quit [Ping timeout: 248 seconds]
alex`` has joined #ruby
JaccoP has quit [Ping timeout: 240 seconds]
arup_r has quit []
brandthdl has joined #ruby
<mnemon> child in uninterruptible sleep?
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has quit [Ping timeout: 248 seconds]
<minn> i'm pretty sure that's no the case - i guess killing the irb process works until i debug further
uZiel has quit [Ping timeout: 248 seconds]
Chullora has quit []
unshadow has quit [Quit: leaving]
claudiuinberlin has joined #ruby
yeticry has joined #ruby
im0nde has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
tcopeland has joined #ruby
spectrum has quit [Ping timeout: 240 seconds]
Cavallari1 has joined #ruby
qba73 has quit [Remote host closed the connection]
yeticry has joined #ruby
qba73 has joined #ruby
Cavallari has quit [Ping timeout: 248 seconds]
Cavallari1 is now known as Cavallari
hogetaro has joined #ruby
Cavallari1 has joined #ruby
Burgestrand has joined #ruby
ldepandis has quit [Read error: Connection reset by peer]
Cavallari has quit [Ping timeout: 240 seconds]
plexigras has joined #ruby
Cavallari1 has quit [Ping timeout: 255 seconds]
conta has quit [Remote host closed the connection]
goyox86 has joined #ruby
JaccoP has joined #ruby
tcopeland has quit [Quit: tcopeland]
dionysus69 has quit [Ping timeout: 260 seconds]
tsglove has joined #ruby
Cavallari has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
brandthdl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yeticry has quit [Read error: Connection reset by peer]
MrBismuth has quit [Read error: Connection reset by peer]
syf-revk has quit [Quit: null]
aufi_ has joined #ruby
aufi has quit [Ping timeout: 240 seconds]
yeticry has joined #ruby
goyox86 has quit [Quit: goyox86]
bweston92 has quit [Quit: Connection closed for inactivity]
despai has joined #ruby
WhereIsMySpoon_ has joined #ruby
WhereIsMySpoon_ has quit [Changing host]
WhereIsMySpoon_ has joined #ruby
goyox86 has joined #ruby
WhereIsMySpoon_ has left #ruby [#ruby]
sailfin has joined #ruby
drcode_ has quit [Ping timeout: 260 seconds]
AJA4350 has joined #ruby
im0nde has quit [Quit: im0nde]
tsglove has quit [Quit: Leaving]
nadir has joined #ruby
tsglove has joined #ruby
goyox86 has quit [Quit: goyox86]
qba73 has quit [Ping timeout: 240 seconds]
aufi_ has quit [Ping timeout: 250 seconds]
aufi_ has joined #ruby
mcr1 has quit [Ping timeout: 255 seconds]
workmad3 has quit [Ping timeout: 255 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
sailfin is now known as Guest40205
synthroid has joined #ruby
Axolotl___ has joined #ruby
tvw has joined #ruby
workmad3 has joined #ruby
bmurt has joined #ruby
alex`` has quit [Ping timeout: 255 seconds]
truenito has joined #ruby
tcopeland has joined #ruby
goyox86 has joined #ruby
Cavallari1 has joined #ruby
despai has quit [Quit: ...]
Cavallari has quit [Ping timeout: 248 seconds]
Cavallari1 is now known as Cavallari
mensvaga has joined #ruby
aScottishBoat has joined #ruby
rirc_7ACB has joined #ruby
ldnunes has quit [Ping timeout: 268 seconds]
rirc_7ACB has quit [Quit: rirc v0.1]
cdg has joined #ruby
despai has joined #ruby
goyox86 has quit [Quit: goyox86]
jlebrech has joined #ruby
<jlebrech> hi, i'm running a method for a long time and I'm yielding to keep track of the progress but when i yield at the very end it doesn't seem be picked up
rrutkowski has quit [Ping timeout: 246 seconds]
alex`` has joined #ruby
mcr1 has joined #ruby
aScottishBoat has quit [Read error: Connection reset by peer]
Cavallari has quit [Quit: Cavallari]
plexigras has quit [Quit: WeeChat 2.0]
aScottishBoat has joined #ruby
ldnunes has joined #ruby
goyox86 has joined #ruby
banisterfiend has joined #ruby
mcr1 has quit [Read error: Connection reset by peer]
JaccoP has quit [Remote host closed the connection]
JaccoP has joined #ruby
<Burgestrand> ?code jlebrech
<ruby[bot]> jlebrech: We can't help you without your code, please post it to https://gist.github.com
aScottishBoat has quit [Ping timeout: 246 seconds]
shinnya has joined #ruby
ur5us has joined #ruby
goyox86 has quit [Quit: goyox86]
justicefries has joined #ruby
<jlebrech> Burgestrand: nevermind it was returning before yield
ur5us has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
vee__ has quit [Ping timeout: 240 seconds]
|ifei5good has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mcr1 has joined #ruby
|ifei5g00d has joined #ruby
Puffball_ has joined #ruby
|ifei5g00d has quit [Read error: Connection reset by peer]
|ifei5g00d has joined #ruby
Puffball has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
JaccoP has quit [Ping timeout: 255 seconds]
JaccoP has joined #ruby
aScottishBoat has joined #ruby
megan1993 has joined #ruby
<megan1993> I have this statement: Item.where.not(url: nil).joins(application: :tokens).where("token.resource_owner_id": self.id).distinct Now I would like to change this to use a WHERE EXISTS instead of a joins (inner join), because I don't care about the return values, I just want to know if it exists. But I'm not sure how I could accomplish this syntax wise, could anyone help me here?
qba73 has joined #ruby
vee__ has joined #ruby
DLSteve has joined #ruby
petervbeck has quit [Quit: WeeChat 1.9.1]
enterprisey has quit [Remote host closed the connection]
petervbeck has joined #ruby
goyox86 has joined #ruby
KeyJoo has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
<megan1993> Any advice?
char_var[buffer] has quit [Ping timeout: 240 seconds]
qba73 has quit [Remote host closed the connection]
despai has quit [Quit: ...]
qba73 has joined #ruby
oleo has joined #ruby
banisterfiend has joined #ruby
dionysus69 has joined #ruby
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yeticry has quit [Ping timeout: 268 seconds]
yeticry has joined #ruby
justicefries has joined #ruby
JaccoP has quit [Ping timeout: 240 seconds]
oleo has quit [Remote host closed the connection]
guille-moe has quit [Ping timeout: 258 seconds]
sameerynho has joined #ruby
oleo has joined #ruby
krawchyk has joined #ruby
guille-moe has joined #ruby
<tobiasvl> megan1993: what framework is this?
despai has joined #ruby
<tobiasvl> I have no idea what it is, so can't help, sorry
<tobiasvl> if it's rails, maybe #RubyOnRails can help
goyox86 has quit [Quit: goyox86]
shinnya has quit [Ping timeout: 260 seconds]
mson has joined #ruby
jamiejackson has joined #ruby
polishdub has joined #ruby
aScottishBoat has quit [Remote host closed the connection]
goyox86 has joined #ruby
polishdub has left #ruby [#ruby]
aScottishBoat has joined #ruby
alfiemax has quit [Remote host closed the connection]
Burgestrand has quit [Quit: Closing time!]
m1911 has joined #ruby
m1911 has quit [Excess Flood]
Burgestrand has joined #ruby
gizmore|2 is now known as gizmore
cats has quit [Read error: Connection reset by peer]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cats has joined #ruby
dionysus69 has quit [Remote host closed the connection]
brandthdl has joined #ruby
Guest20429 is now known as kyle__
pastorinni has joined #ruby
apparition has quit [Quit: Bye]
goyox86 has quit [Quit: goyox86]
ana_ has quit [Quit: Leaving]
rippa has joined #ruby
dionysus69 has joined #ruby
ana_ has joined #ruby
huyderman has quit [Remote host closed the connection]
orbyt_ has joined #ruby
Guest40205 has quit [Ping timeout: 248 seconds]
ta_ has quit [Remote host closed the connection]
dviola has joined #ruby
<jlebrech> megan1993: try adding .count to the query? is this active record?
John____ has joined #ruby
armando has quit [Quit: ZNC 1.7.x-nightly-20171128-66897057 - https://znc.in]
Rapture has joined #ruby
<jlebrech> or replace where with "exists?"
<megan1993> @jlebrech I want to replace the JOIN with a where exists
zapata has quit [Quit: WeeChat 2.0]
orbyt_ has quit [Ping timeout: 260 seconds]
mjolnird has quit [Remote host closed the connection]
mcr1 has quit [Ping timeout: 248 seconds]
dionysus69 has quit [Quit: dionysus69]
hs366 has quit [Quit: Leaving]
armando has joined #ruby
<jlebrech> what was the join for?
goyox86 has joined #ruby
blackpajamas has quit [Quit: WeeChat 2.0]
banisterfiend has joined #ruby
workmad3_ has joined #ruby
uZiel has joined #ruby
zapata has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
dennisbot has joined #ruby
<dennisbot> hello everyone!
<dennisbot> hope you can help me, I'm receiving a message from `rails -v` which is here! https://cl.ly/0K1u1p2C2E2c , thanks in advance
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<gizmore> dennisbot: your path is not using the 2.4 dir
ams__ has joined #ruby
<dennisbot> how can I check that?
<gizmore> try `which ruby`
<dennisbot> it's in the image I provided above
<gizmore> heh yeah...sry
<gizmore> dennisbot: maybe just installed and need a fresh login?
<gizmore> probably not though
cschneid_ has quit [Ping timeout: 248 seconds]
<dennisbot> ok!
despai has quit [Quit: ...]
<dennisbot> gizmore, starting up the terminal seems to have solved the problem, thanks!
<gizmore> wow nice... can i pm you?
<dennisbot> yeah sure!
<gizmore> for one advertisement link?
<gizmore> txx!
<dennisbot> I'm not used to use IRC so I'm not sure if I'm doing this right
aScottishBoat has quit [Read error: Connection reset by peer]
goyox86 has quit [Quit: goyox86]
aScottishBoat has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
sepp2k has quit [Quit: Leaving.]
aScottishBoat has quit [Read error: Connection reset by peer]
eblip has quit [Quit: WeeChat 1.9.1]
aScottishBoat has joined #ruby
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
dionysus69 has joined #ruby
<aScottishBoat> What made you fall in love with Ruby?
aScottishBoat has quit [Read error: Connection reset by peer]
Guest40205 has joined #ruby
mcr1 has joined #ruby
mfaeh has joined #ruby
selim has quit [Ping timeout: 240 seconds]
aScottishBoat has joined #ruby
alfiemax has joined #ruby
<gizmore> aScottishBoat: the syntax
<aScottishBoat> Yeah, good answer.
<gizmore> the greatness of code that creates code
<gizmore> the elegance.... this grip of everything's great
<aScottishBoat> What are your thoughts on Python?
<gizmore> isnt it this esoteric language, similiar to \t\twhitespace?
selim has joined #ruby
<gizmore> never tried python
Burgestrand has quit [Quit: Closing time!]
dionysus69 has quit [Remote host closed the connection]
Burgestrand has joined #ruby
meesles has quit []
safetypin has joined #ruby
Xiti has quit [Quit: Xiti]
goyox86 has joined #ruby
cognoscente_ has joined #ruby
dionysus69 has joined #ruby
justicef_ has joined #ruby
DmitryBochkarev has joined #ruby
qba73 has quit [Remote host closed the connection]
Cavallari has joined #ruby
aScottishBoat has quit [Read error: Connection reset by peer]
mim1k|w has quit [Ping timeout: 268 seconds]
qba73 has joined #ruby
justicefries has quit [Ping timeout: 250 seconds]
DmitryBochkarev has quit [Client Quit]
jamiejackson has quit [Ping timeout: 255 seconds]
alfiemax has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
KeyJoo has quit [Ping timeout: 248 seconds]
cagmz has joined #ruby
dionysus69 has quit [Remote host closed the connection]
cschneid_ has joined #ruby
rivalomega has joined #ruby
aScottishBoat has joined #ruby
justicef_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Map has joined #ruby
justicefries has joined #ruby
mim1k has joined #ruby
gnufied has joined #ruby
ana_ has quit [Quit: Leaving]
cognoscente_ has quit [Quit: leaving]
goyox86 has quit [Quit: goyox86]
rivalomega has quit []
minimalism has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Ping timeout: 268 seconds]
mtkd has quit [Ping timeout: 268 seconds]
synthroid has quit [Remote host closed the connection]
ur5us has joined #ruby
mtkd has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 248 seconds]
JaccoP has joined #ruby
troys has joined #ruby
Azure has quit [Read error: Connection reset by peer]
mark_66 has quit [Remote host closed the connection]
Azure has joined #ruby
mim1k has joined #ruby
despai has joined #ruby
synthroid has joined #ruby
FrostCandy has joined #ruby
Burgestrand has quit [Quit: Closing time!]
DmitryBochkarev has joined #ruby
cagomez has joined #ruby
yeticry has quit [Ping timeout: 260 seconds]
yeticry has joined #ruby
dionysus69 has joined #ruby
exhiled has joined #ruby
jackjackdripper has joined #ruby
hogetaro has quit [Quit: Leaving...]
goyox86 has joined #ruby
dionysus69 has quit [Quit: dionysus69]
Olipro has quit [Ping timeout: 260 seconds]
Olipro has joined #ruby
jamesaxl has joined #ruby
marxarelli|afk is now known as marxarelli
jlebrech has quit [Remote host closed the connection]
guille-moe has quit [Ping timeout: 250 seconds]
mostlybadfly has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
megan1993 has quit [Quit: Page closed]
plexigras has joined #ruby
drcode has joined #ruby
synthroid has quit [Remote host closed the connection]
goyox86 has quit [Quit: goyox86]
dionysus69 has joined #ruby
chocoelho has joined #ruby
dinfuehr has quit [Ping timeout: 250 seconds]
synthroid has joined #ruby
dinfuehr has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
jnollette has quit [Remote host closed the connection]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jnollette has joined #ruby
lytol has joined #ruby
dionysus69 has quit [Quit: dionysus69]
justicefries has joined #ruby
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
dionysus69 has joined #ruby
mikkelsen has joined #ruby
mson has quit [Quit: Connection closed for inactivity]
aScottishBoat has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Client Quit]
mikkelsen has quit [Remote host closed the connection]
RickHull has quit [Ping timeout: 260 seconds]
guille-moe has joined #ruby
eckhardt has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
dionysus69 has joined #ruby
John____ has quit [Ping timeout: 276 seconds]
petervbeck has quit [Quit: WeeChat 1.9.1]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
petervbeck has joined #ruby
Axolotl___ has quit [Quit: Leaving]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pifon has joined #ruby
aufi_ has quit [Quit: Leaving]
JaccoP has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
goyox86 has joined #ruby
sanscoeur has joined #ruby
shaman42_ has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
shaman42 has joined #ruby
Technodrome has joined #ruby
aScottishBoat has joined #ruby
qba73 has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
ta_ has joined #ruby
guille-moe has quit [Ping timeout: 246 seconds]
mfaeh has quit []
orbyt_ has joined #ruby
alfiemax has joined #ruby
goyox86 has quit [Quit: goyox86]
guille-moe has joined #ruby
cschneid_ has quit []
brandthdl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rm8 has joined #ruby
John____ has joined #ruby
ur5us has joined #ruby
dionysus69 has quit [Remote host closed the connection]
goyox86 has joined #ruby
brandthdl has joined #ruby
mim1k has joined #ruby
marahin has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
mtkd has quit [Ping timeout: 240 seconds]
brandthdl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Quit: 你变得越安静,你就越能听到]
eblip has joined #ruby
mtkd has joined #ruby
claudiuinberlin has joined #ruby
Eiam has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
mson has joined #ruby
gr33n7007h has joined #ruby
goyox86 has quit [Quit: goyox86]
wilbert has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
mim1k has joined #ruby
tomphp has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
johnny56_ has quit [Ping timeout: 264 seconds]
goyox86 has joined #ruby
orbyt_ has quit [Ping timeout: 240 seconds]
johnny56_ has joined #ruby
gr33n7007h is now known as al2o3-cr
KeyJoo has joined #ruby
92AAB5HFT is now known as nug
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 240 seconds]
TomyWork has quit [Remote host closed the connection]
kitikonti has joined #ruby
alfiemax has quit [Remote host closed the connection]
conta1 has joined #ruby
Technodrome has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
goyox86 has quit [Quit: goyox86]
Guest50598 is now known as oz
alfiemax has joined #ruby
wilbert has quit [Ping timeout: 240 seconds]
growp has joined #ruby
paranoicsan has joined #ruby
hahuang65 has quit [Read error: Connection reset by peer]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
alex`` has quit [Quit: WeeChat 1.9.1]
hahuang65 has joined #ruby
tomphp has quit [Ping timeout: 240 seconds]
<jolamb> So this is basically the same code repeated 5 times; is there a good ruby idiom to make this less repetitive? https://github.com/dobbymoodge/sprint_tools/blob/add_loader/lib/trello_json_loader.rb#L23-L47
alex`` has joined #ruby
<jolamb> I was thinking something like `['labels', 'members', 'cards', ...].each do |json_type|` ... `send("load_#{json_type}", object_json, trello)`
<jolamb> but that smells to me
wilbert has joined #ruby
jaruga has quit [Quit: jaruga]
TomyLobo has joined #ruby
orbyt_ has joined #ruby
goyox86 has joined #ruby
drowze has quit [Ping timeout: 248 seconds]
sameerynho has quit [Ping timeout: 268 seconds]
yeticry has quit [Ping timeout: 255 seconds]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> first of all do you need to reuse instances or couldn't you make trello an initializer parameter and instance variable?
justicefries has joined #ruby
<jhass> also what's the point of the class if it's nil/not given?
<jhass> just having the accessors?
<jhass> idk, feels like conflating two jobs into one
Xiti has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> then I'd surely extract the if x; x.each; into a method, like each_item(data, 'foo') do |foos|
tmm88_ has joined #ruby
tmm88_ has quit [Client Quit]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> if you extract the trello.add_ calls into a separate steps you can probably do @foo = load(list, Trello::Foo) and inside list.each_with_object({}) {|item, items| items[item["id"]] = kind.new(item) }
<jhass> inside = implementation of load
yeticry has joined #ruby
FrostCandy has quit []
<jhass> which then is probably better named parse or map or something
SeepingN has joined #ruby
<jhass> if you want to keep the trello.add_ stuff in this class I'd make it a separate interface, so that it becomes project = TrelloProject.from_json(json); project.populate(trello) or so
goyox86 has quit [Quit: goyox86]
<jhass> and populate is then just 6 times @foo.each {|x| trello.add_x(x) } basically
<jhass> not sure I got all the requirements for this right but you get the idea
despai has quit [Quit: ...]
<jhass> in general avoid names of data formats or structures in variable names, json_data -> board, member_json -> members etc
claudiuinberlin has joined #ruby
clemens3 has joined #ruby
brandthdl has joined #ruby
<jolamb> jhass: sorry, someone stopped by my desk. Reading now
tvw has quit [Remote host closed the connection]
<jhass> sure no worries
paranoicsan has quit [Quit: paranoicsan]
hays has quit [Read error: Connection reset by peer]
drowze has joined #ruby
Ltem has joined #ruby
hays has joined #ruby
hays has quit [Changing host]
hays has joined #ruby
pastorinni has quit [Ping timeout: 268 seconds]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jolamb> jhass: yeah, the load_xyz methods all cache the loaded objects, so I could just load them all and then move the code to populate the trello object into the TrelloHelper class, and use accessors
wilbert has quit [Ping timeout: 268 seconds]
dionysus69 has joined #ruby
dionysus69 has quit [Remote host closed the connection]
brandthdl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SuperLag has quit [Quit: time to reboot]
goyox86 has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
Secret113 has joined #ruby
<Secret113> Hello
<jhass> hi
<Secret113> I am new to ruby and am having trouble with this code, could i get some assistance
<jhass> sure
<jhass> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<Secret113> I cant get it to recognize that @shiftedboard[r][c] == 0 is true
<Secret113> ive never used gist
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dimik has joined #ruby
bmurt has joined #ruby
<jhass> Secret113: use p instead of puts for debug prints. when you interpolate for debugging do "foo: #{x.inspect}" instead of just "foo: #{x}"
<jhass> you might quickly find your mistake when apply that advice to your current debug prints ;)
bmurt has quit [Client Quit]
alfiemax has quit [Remote host closed the connection]
<Secret113> Really, they are strings... Sighs... Ive been stuck for 3 hrs
bmurt has joined #ruby
bmurt has quit [Client Quit]
<jhass> you're welcome :D
tomphp has joined #ruby
<Secret113> love u
tomphp has quit [Read error: Connection reset by peer]
<jhass> also
<jhass> ?pry Secret113
<ruby[bot]> Secret113: Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
<baweaver> puts returns nil, fair warning
tomphp has joined #ruby
<baweaver> so if you put it at the bottom of a method you get back nil even though the result shows up on screen
vee__ has quit [Ping timeout: 240 seconds]
csk157 has joined #ruby
<jhass> another thing that makes p better for debugging, since it returns its argument
wilbert has joined #ruby
<Secret113> kk
<Secret113> I added return nil
<Secret113> works perfectly
minn has quit [Ping timeout: 268 seconds]
<jhass> tutorials should start with how to debug I guess, baweaver does your book? :D
<baweaver> It has a large section on debugging, yes
<baweaver> (that still needs to be written)
<baweaver> I want to cover finding answers on Google, SO, asking questions, reading stack traces, and binding.irb
<Secret113> I dont use a book, but now its not going through the loop properly, It should go through 81 times, but it is only going 3 times
<Secret113> nevermind, Im just an idiot
kitikonti has quit [Quit: Textual IRC Client: www.textualapp.com]
despai has joined #ruby
plexigras has quit [Ping timeout: 240 seconds]
<Secret113> YESSSSS
<Secret113> GOT IT
<jhass> great!
<Secret113> LOVE YOU ALLL
<Secret113> This is my final, 50% of grade
<Secret113> and he is making us use ruby, but didnt bother to teach us ruby
tvw has joined #ruby
jxv has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rhyselsmore has joined #ruby
truenito has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
chocoelho has quit [Ping timeout: 260 seconds]
chocoelho has joined #ruby
vee__ has joined #ruby
growp has quit [Quit: Mutter: www.mutterirc.com]
rrutkowski has joined #ruby
RougeT430 has joined #ruby
rhyselsmore has quit [Ping timeout: 240 seconds]
<RougeT430> hello
<RougeT430> noob question
<RougeT430> getting this error: ruby_testing.rb:41:in `roll_dice': undefined method `times' for nil:NilClass (NoMethodError)
skweek has joined #ruby
Cavallari has quit [Quit: Cavallari]
<aScottishBoat> for advice, Rubyists tend to code with a tabspace of 2
<aScottishBoat> first*
<RougeT430> ahh ill change my editor
<aScottishBoat> I haven't programmed in Ruby for a while (gasp) but isn't that an error on line 41
<aScottishBoat> `ask_rolls.times do rand_gen = rand(x..y)`
<aScottishBoat> for one, change your 'do' to { and add the appropriate closing bracket
<aScottishBoat> you haven't closed it
<aScottishBoat> also I don't think #times was used correctly (but I'm out of touch with Ruby)
<RougeT430> isnt that end closing it?
<RougeT430> if its over one line use end as standard
<ljarvis> yes, your indenting is just bad
<aScottishBoat> Ahh yes, that end is closing it. I thought it was closing the function definition
<ljarvis> ^ same
<RougeT430> yeah my indentation is a mess
<aScottishBoat> Tell you what, why don't you 1) change tabspace to 2, and 2) make sure everything is indented properly\
<ljarvis> clean that up and then re-paste it :-)
<aScottishBoat> yep, what ljarvis said
<RougeT430> okay, will do
<RougeT430> gimme 5
<aScottishBoat> woop
<Secret113> also perchance, did you used to use perl
ldnunes has quit [Quit: Leaving]
<aScottishBoat> Secret113 lmao
<Secret113> i am a perl coder, I am only using ruby b/c class
skweek has quit [Ping timeout: 248 seconds]
<aScottishBoat> Because of a course at school?
<aScottishBoat> I like the idea of loving perl, but I can't get into it :(
<Secret113> its not hard
<ljarvis> RougeT430: once you've repasted, take a look at this method and see if you can tell what's wrong: https://gist.github.com/CodePint/a6f33d989176fa96940b1d23e293c9be#file-rand01-rb-L24-L28
bradleyprice has quit [Ping timeout: 255 seconds]
<ljarvis> same with `ask_sides`
raynold has quit [Quit: Connection closed for inactivity]
<aScottishBoat> also RougeT430 you don't need to specify `return` like you did
<aScottishBoat> also
Xiti has quit [Quit: Xiti]
<aScottishBoat> if you specify a value without the return keyword, it'll be implicitly returned
<Secret113> also will can someone confirm that this solves Sudoku https://gist.github.com/Whiterussian113/14c20ed713987d8fc17135eec8764def
<Secret113> and doesnt go infinite
<aScottishBoat> Take line 44 for example: just put results_array
<RougeT430> aScottishBoat: thanks for the tip, im not quite sure why i was doing that
<Secret113> is using an expliit return bad?
<aScottishBoat> God I love Ruby and the Ruby community, good job guys
<aScottishBoat> No that I know of, but it'
<aScottishBoat> it's a bit redundant *
<Secret113> This community is way nicer than Java
<aScottishBoat> :+1:
<RougeT430> yeah it is way nicer. i agree, hang out in the linux community a fair bit...
<Secret113> I thought in ruby the symbol would be :+1
<aScottishBoat> Secret113, open up irb and specify a variable. Now just call that variable in irb without any function. You'll see it gets returned
<aScottishBoat> Secret113, you blew my mind
goyox86 has quit [Quit: goyox86]
<Secret113> i know it does, im just wondering if there is any harm in explicit returns
skweek has joined #ruby
<aScottishBoat> Ah. Don't think so. I was advised a while ago by a Ruby wizard to just implicitly return the value
<RougeT430> what else was wrong with style other than my tabs. its something ive struggled with a bit
<RougeT430> was easy with python as indentation was so rigid
<Secret113> Paste link again?
<RougeT430> two secs
<ljarvis> that looks the same
<aScottishBoat> line 37
<RougeT430> ive got my friend who is a comp sci major spending some time with me later anyway.
<aScottishBoat> indenting properly
<Secret113> make the vars start with @
<aScottishBoat> RougeT430, do you use Linux? just curious
<RougeT430> aScottishBoat: i do
<aScottishBoat> Secret113, really?
<Secret113> same
<aScottishBoat> Why?
<RougeT430> fairly recent convert to desktop though
<RougeT430> used it on servers for long time. only just swapped to it for full time DD
DTZUZO has quit [Quit: WeeChat 2.0]
<Secret113> It is something that I was taught, and if you notice it does not hurt
<ljarvis> no dont make the vars start with @
<Secret113> does upto start at the top or bottom
<RougeT430> just reading changes ljarvis
<ljarvis> RougeT430: i just fixed the indenting is all
<ljarvis> no other changes yet
<RougeT430> i set the indenting to be fixed on sublime
jackjackdripper has quit [Quit: Leaving.]
<RougeT430> but its not doing it when i paste to github
<ljarvis> you might have to reformat it in sublime, it might just be making it look nice without making changes on disk
<ljarvis> anyway, indenting problems aside, take at look at the `ask_rolls` method. What's it meant to do?
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<Secret113> it seems like ljarvus is a teacher
<RougeT430> ljarvis: get the amount of rolls from the user and then convert it to an integer. then return the value to the function
orbyt_ has joined #ruby
<Secret113> am I right?
* RougeT430 is taking a ruby course end of january
<ljarvis> RougeT430: "return the value to the function" -- explain that to me a bit. Is `ask_rolls` method to return the value?
<ljarvis> meant*
RickHull has joined #ruby
goyox86 has joined #ruby
SuperLag has joined #ruby
<RougeT430> its not actually getting the value returned. its just sitting as the variable?
<ljarvis> is that what you want?
<RougeT430> no it isnt. or its not how its setup
knight33 has joined #ruby
goyox86 has quit [Read error: Connection reset by peer]
<ljarvis> right, you want to return it from the method, right?
<RougeT430> yeah i do. so i dont need the roll =
<RougeT430> i just want the gets.chomp?
vee__ has quit [Ping timeout: 255 seconds]
<ljarvis> yep, or the `nil` on the next line, since that means the method will return nil
goyox86_ has joined #ruby
<RougeT430> why would i want that?
<ljarvis> well exactly
<ljarvis> so you remove it
<ljarvis> now do the same with `ask_sides` which has the same issue, and run your code
<RougeT430> okay, yeah let me give that a shot
goyox86_ has quit [Remote host closed the connection]
<RougeT430> ive not programmed in a few weeks, so i was trying to do some exercises to get my brain working
<RougeT430> lets give it a go
<ljarvis> sure
alfiemax_ has joined #ruby
goyox86_ has joined #ruby
Psybur has quit [Quit: coc]
goyox86_ has quit [Remote host closed the connection]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<RougeT430> just reading through now trying to figure next bit
<ljarvis> no rush, shout if you need help
bmurt has joined #ruby
<RougeT430> thanks :)
goyox86_ has joined #ruby
goyox86_ has quit [Read error: Connection reset by peer]
krawchyk has quit [Ping timeout: 260 seconds]
<RougeT430> ljarvis: it works, but its asking for ask_rolls and ask_sides several times. just looking at that
eckhardt has joined #ruby
<ljarvis> yep, hint: you call them in both ask_loop AND roll_dice
<ljarvis> I would recommend asking for them both in ask_loop and then pass them into the roll_dice method as arguments
<RougeT430> ill look at that now ty
Secret113 has quit [Quit: Page closed]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
troys is now known as troys_
vee__ has joined #ruby
<RougeT430> oh i didnt realise string interpolation would call the function i just wanted to interpolate the result
<ljarvis> RougeT430: you have to call the method to get the result ;)
<RougeT430> yeah it makes sense its just running the code in there
<RougeT430> ill do it with variables. cleaner
<ljarvis> well also method you only want 1 result, so you need to store it in a variable. Definitely makes sense
<ljarvis> s/method/because/
<ljarvis> words are hard today
cagomez has quit [Ping timeout: 240 seconds]
<zmo> /go#git-services/git-repo
<zmo> oops, mosh messed up :)
jamesaxl has quit [Quit: WeeChat 1.9.1]
sameerynho has joined #ruby
gnufied has quit [Remote host closed the connection]
mattp_ has quit [Read error: Connection reset by peer]
kus_ubuntui686 has joined #ruby
kus_ubuntui686 has quit [Max SendQ exceeded]
Xiti has joined #ruby
cagomez has joined #ruby
roshanavand has joined #ruby
troys_ is now known as troys
jackjackdripper has joined #ruby
jenrzzz_ has joined #ruby
mattp_ has joined #ruby
conta1 has quit [Quit: conta1]
<RougeT430> ljarvis: all working btw
<RougeT430> trying to find out why sublime is still tabbing wrong
oleo has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 248 seconds]
lele has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
<RougeT430> w.e ill fix the tabs later
<RougeT430> but working alright. thanks for all your help
lele has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
bkxd has joined #ruby
truenito has joined #ruby
minn has joined #ruby
tomphp has quit [Ping timeout: 246 seconds]
tomphp has joined #ruby
conta1 has joined #ruby
truenito has quit [Ping timeout: 268 seconds]
oleo has joined #ruby
wilbert has quit [Ping timeout: 240 seconds]
<jhass> RougeT430: make sure "use spaces" is checked, then select everything and select "convert tabs to spaces" from the command palette
rrutkowski has quit [Quit: rrutkowski]
mson has quit [Quit: Connection closed for inactivity]
ramfjord has quit [Ping timeout: 246 seconds]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
bkxd has quit []
exhiled has joined #ruby
tomphp has quit [Read error: Connection reset by peer]
rrutkowski has joined #ruby
sanscoeur has quit [Read error: Connection reset by peer]
biberu has quit []
sanscoeu_ has joined #ruby
yeticry has quit [Ping timeout: 244 seconds]
tcopeland has quit [Quit: tcopeland]
tomphp has joined #ruby
justicefries has joined #ruby
Guest40205 has quit [Ping timeout: 255 seconds]
shinnya has joined #ruby
<aScottishBoat> RougeT430, nice refactoring
skweek has quit [Ping timeout: 255 seconds]
<RougeT430> aScottishBoat: thanks. just finished tidying it up fully. guna do a few more little tasks to get back in the swing
sameerynho has quit [Ping timeout: 276 seconds]
<aScottishBoat> do you prefer having a newline char on its own line?
houhoulis has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
<RougeT430> i know you can just add them on. but sometimes i prefer having it like this
<RougeT430> acts as a break for readability
<baweaver> puts takes multiple arguments
<baweaver> and just puts by itself gives a newline
<baweaver> puts('takes', 'varadic', 'arguments', 'and', 'outputs', 'with', 'newlines')
<RougeT430> will put each on its own line
<baweaver> also no need to recursively call the loop
<baweaver> just don't break unless you have the break condition
<RougeT430> yep, well spotted.
<RougeT430> taken that out now
<RougeT430> i think i was doing a conditional loop at one point
* RougeT430 kicks back
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> roll_dice is odd
<baweaver> should name the arguments something more useful like dice_size and number_of_dice
cagmz_ has joined #ruby
|ifei5good has joined #ruby
<baweaver> number_of_dice.times.map { rand(1..dice_size) }
<RougeT430> does .map create the array for you?
<baweaver> >> 5.times.to_a
<ruby[bot]> baweaver: # => [0, 1, 2, 3, 4] (https://eval.in/917028)
Asher1 has joined #ruby
ta__ has joined #ruby
<baweaver> >> 5.times.map { |i| i * 10 }
<ruby[bot]> baweaver: # => [0, 10, 20, 30, 40] (https://eval.in/917029)
nathani1 has joined #ruby
Nilium_ has joined #ruby
qba73 has joined #ruby
<RougeT430> thats pretty neat. ill try changing that shortly. i was reading about .map as i was looking how to do it, still got tab open
<baweaver> >> 5.times.map { rand(1..6) }
* baweaver waits for bot
<ruby[bot]> baweaver: # => [1, 5, 2, 4, 3] (https://eval.in/917030)
toogley has left #ruby ["WeeChat 1.9.1"]
lytol_ has joined #ruby
_musl_ has joined #ruby
Keltia_ has joined #ruby
<baweaver> map basically takes an array and returns a new array with each element being transformed by its function
<RougeT430> right okay, gotcha
<baweaver> short version: Applies a function to an array
<baweaver> &ri Enumerable
chihhsin_ has joined #ruby
ski4x7 has joined #ruby
<RougeT430> ill read the ruby doc on it
<baweaver> Read into: map, reduce, select, and find
<baweaver> those four are critical to know
<RougeT430> awesome, let me have a putter.
qba73 has quit [Remote host closed the connection]
<aScottishBoat> I like delete_if
<baweaver> The rest are definitely nice to know, you'll just find yourself using those ones more frequently
<baweaver> I use reject only because it gives me a new array instead of mutating the original
<aScottishBoat> Array.delete_if { |i| i.eql? "unwanted_entry" }
csk157 has quit [Ping timeout: 240 seconds]
<aScottishBoat> baweaver, why do you prefer a new array?
qba73 has joined #ruby
kke_ has joined #ruby
reaVer_ has joined #ruby
chrisarc1nd has joined #ruby
NicolasH1 has joined #ruby
<baweaver> def my_method(array) array.delete_if { ... } end
miah_ has joined #ruby
<baweaver> do you expect your array to be mangled? Maybe you want it for something else
hxegon_ has joined #ruby
PaulePan1er has joined #ruby
mbr_ has joined #ruby
fmccann_ has joined #ruby
jinie_ has joined #ruby
<baweaver> the less you mutate things the easier it is to reason about your application in general
<baweaver> and test, incidentally.
ski4x7 has quit [Client Quit]
friday has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
miskatonic has joined #ruby
synthroid has quit []
Jello_Raptor_ has joined #ruby
esObe_ has joined #ruby
akhkharu has joined #ruby
pragmatism42 has joined #ruby
exchgr` has joined #ruby
mayamai has joined #ruby
benjen- has joined #ruby
erlendf has joined #ruby
tnsi has joined #ruby
qba73 has quit [Client Quit]
jolamb_ has joined #ruby
justinmrkva_ has joined #ruby
ryotarai_ has joined #ruby
jz has joined #ruby
braidn_ has joined #ruby
personofinteres- has joined #ruby
jz is now known as Guest77086
friday has joined #ruby
pastorinni has joined #ruby
helpa has quit [Remote host closed the connection]
llua` has joined #ruby
ikopico_ has joined #ruby
lytol has quit [*.net *.split]
ta_ has quit [*.net *.split]
orbyt_ has quit [*.net *.split]
cagmz has quit [*.net *.split]
|ifei5g00d has quit [*.net *.split]
johnzorn has quit [*.net *.split]
jinie has quit [*.net *.split]
Asher has quit [*.net *.split]
ski7777 has quit [*.net *.split]
benjen has quit [*.net *.split]
mikeiniowa has quit [*.net *.split]
BTRE has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
dminuoso has quit [*.net *.split]
mbr has quit [*.net *.split]
esObe has quit [*.net *.split]
miah has quit [*.net *.split]
reaVer has quit [*.net *.split]
erlend has quit [*.net *.split]
pragmatism has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
hxegon has quit [*.net *.split]
chihhsin has quit [*.net *.split]
brainslug has quit [*.net *.split]
redondos has quit [*.net *.split]
seitensei has quit [*.net *.split]
chrisarcand has quit [*.net *.split]
jpterry has quit [*.net *.split]
fmccann has quit [*.net *.split]
jolamb has quit [*.net *.split]
kke has quit [*.net *.split]
exchgr has quit [*.net *.split]
chromis has quit [*.net *.split]
ryotarai has quit [*.net *.split]
ikopico has quit [*.net *.split]
llua has quit [*.net *.split]
iamayam has quit [*.net *.split]
nathani has quit [*.net *.split]
Nilium has quit [*.net *.split]
justinmrkva has quit [*.net *.split]
personofinterest has quit [*.net *.split]
Keltia has quit [*.net *.split]
NicolasHov has quit [*.net *.split]
musl_ has quit [*.net *.split]
g3funk has quit [*.net *.split]
ryotarai_ is now known as ryotarai
helpa has joined #ruby
Jello_Raptor_ is now known as Jello_Raptor
erlendf is now known as erlend
justinmrkva_ is now known as justinmrkva
Nilium_ is now known as Nilium
ikopico_ is now known as ikopico
dminuoso has joined #ruby
reber has quit [Remote host closed the connection]
bmurt has joined #ruby
jpterry has joined #ruby
ramfjord has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
bokayio has quit [Ping timeout: 240 seconds]
<aScottishBoat> baweaver, I'll take those to heart
enterprisey has joined #ruby
marahin has quit [Ping timeout: 269 seconds]
adaedra has quit [Ping timeout: 269 seconds]
<baweaver> It's one of the reasons I go after people for using puts in methods
<baweaver> let the methods return strings, and only puts it later
mkaito has quit [Ping timeout: 240 seconds]
shaman42 has quit [Ping timeout: 260 seconds]
bokayio has joined #ruby
d^sh has joined #ruby
BTRE has joined #ruby
marahin has joined #ruby
<aScottishBoat> baweaver, do you have extensive experience with any other scripting language? I'd love your feedback on a quick comparison to/from ruby
Guest40205 has joined #ruby
marahin is now known as Guest26360
<baweaver> Javascript, some Python, some Perl, very little TCL/TK, some Bash
krawchyk has joined #ruby
alex`` has quit [Quit: WeeChat 1.9.1]
<baweaver> and depends what you mean by that
shaman42 has joined #ruby
mkaito has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adaedra has joined #ruby
<aScottishBoat> What makes you like Ruby more than the others?
MrBusiness has joined #ruby
<baweaver> Than Python: It's less strict, it allows me to be more expressive, it has a notably functional flavor to it, and it reads more cleanly
ledestin has joined #ruby
<baweaver> Than Javascript: I actually like Javascript, so it's more of a what am I working on issue.
JaccoP has joined #ruby
<baweaver> Than Perl: Less odd magic and edge cases in the language and preference towards verbosity over surgical compactness and illegibility.
<baweaver> Than TCL/TK: It actually has a community at all
jenrzzz_ has quit [Ping timeout: 246 seconds]
conta1 has quit [Quit: conta1]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
elphe has joined #ruby
bmurt has joined #ruby
eblip has quit [Quit: WeeChat 1.9.1]
tvw has quit [Remote host closed the connection]
shaman42 has quit [Ping timeout: 248 seconds]
elphe has quit [Ping timeout: 255 seconds]
mson has joined #ruby
shaman42 has joined #ruby
sightes has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ski7777 has joined #ruby
moei has quit [Quit: Leaving...]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has joined #ruby
banisterfiend has joined #ruby
tfitts has joined #ruby
miah_ is now known as miah
sylario has quit [Quit: Connection closed for inactivity]
miah has quit [Changing host]
miah has joined #ruby
bmurt has joined #ruby
troys is now known as troys_
aScottishBoat has quit [Ping timeout: 255 seconds]
elphe has quit [Ping timeout: 240 seconds]
<SeepingN> lol!
sightes has quit [Quit: WeeChat 1.9.1]
KeyJoo has quit [Ping timeout: 240 seconds]
chocoelho has quit [Quit: chocoelho]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
jnyw has joined #ruby
justicefries has joined #ruby
orbyt_ has joined #ruby
bmurt has joined #ruby
krawchyk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
krawchyk has joined #ruby
yeticry has joined #ruby
skweek has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mia has quit [Ping timeout: 268 seconds]
mtkd has quit [Ping timeout: 276 seconds]
jxv has quit [Quit: string on the can snapped off]
mtkd has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
guille-moe has quit [Ping timeout: 260 seconds]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enterprisey has quit [Remote host closed the connection]
miskatonic has quit [Remote host closed the connection]
rrutkowski has quit [Quit: rrutkowski]
rrutkowski has joined #ruby
JaccoP has quit [Ping timeout: 276 seconds]
yeticry has quit [Ping timeout: 248 seconds]
troys_ is now known as troys
bmurt has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Guest40205 has quit [Quit: WeeChat 2.0]
cagomez has quit [Remote host closed the connection]
yeticry has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
shinnya has quit [Ping timeout: 248 seconds]
cagomez has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pastorinni has quit [Remote host closed the connection]
jenrzzz_ has joined #ruby
orbyt_ has joined #ruby
tcopeland has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
bmurt has quit [Quit: Textual IRC Client: www.textualapp.com]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
soulisson has joined #ruby
safetypin has quit [Quit: ZZZzzz…]
astronavt has joined #ruby
guardianx has joined #ruby
guille-moe has joined #ruby
pastorinni has joined #ruby
guille-moe has quit [Ping timeout: 248 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guardianx has quit [Ping timeout: 240 seconds]
elphe has joined #ruby
rrutkowski has quit [Quit: rrutkowski]
bmurt has joined #ruby
jenrzzz_ has quit [Ping timeout: 240 seconds]
houhoulis has quit []
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
despai has quit [Quit: ...]
bmurt has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Asher1 is now known as Asher
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
jenrzzz_ has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 246 seconds]
marxarelli is now known as marxarelli|afk
moei has joined #ruby
charliesome has joined #ruby
rrutkowski has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<soulisson> Hi, is the size of a variable the amount of data that it can contain?
banisterfiend has joined #ruby
bmurt has joined #ruby
tessi_zz has quit [Ping timeout: 258 seconds]
tessi_zz has joined #ruby
<baweaver> soulisson: what?
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
<baweaver> The size is how many elements an Array currently has, or a Hash, or another collection
<baweaver> as far as how much it _can_ contain, how much RAM do you have?
<soulisson> baweaver: but when we say we have a 16 byte buffer/variable, it refers to how many bytes we can put in it, no?
bmurt has quit [Client Quit]
ramfjord has quit [Ping timeout: 248 seconds]
<baweaver> you realize you're in a Ruby channel, no?
<soulisson> oh sorry
<baweaver> It's a dynamic language, so that's why it's such an odd question
<baweaver> they don't technically have defined sizes as far as the developer is concerned.
dennisbot has quit [Ping timeout: 260 seconds]
Evesy has quit [Ping timeout: 258 seconds]
Tony-St4rk has quit [Ping timeout: 258 seconds]
meinside has quit [Ping timeout: 258 seconds]
petems has quit [Ping timeout: 258 seconds]
foamz has quit [Ping timeout: 258 seconds]
canton7 has quit [Ping timeout: 258 seconds]
|ifei5good has quit [Ping timeout: 255 seconds]
jsrn has quit [Ping timeout: 258 seconds]
Zimsky has quit [Ping timeout: 258 seconds]
mattwc has quit [Ping timeout: 258 seconds]
sorah___ has quit [Ping timeout: 258 seconds]
Tony-St4rk has joined #ruby
justinweiss has quit [Ping timeout: 258 seconds]
tobiasvl has quit [Ping timeout: 258 seconds]
err_ok has quit [Ping timeout: 258 seconds]
cttttt has quit [Ping timeout: 258 seconds]
<soulisson> yes, my bad
rideh has quit [Ping timeout: 258 seconds]
EvilJStoker has quit [Ping timeout: 258 seconds]
cochi has quit [Ping timeout: 258 seconds]
stephenh has quit [Ping timeout: 258 seconds]
sparr has quit [Ping timeout: 258 seconds]
amitchellbullard has quit [Ping timeout: 258 seconds]
olivierjanss has quit [Ping timeout: 258 seconds]
Rush has quit [Ping timeout: 258 seconds]
contradictioned has quit [Ping timeout: 258 seconds]
chrisseaton has quit [Ping timeout: 258 seconds]
darix has quit [Ping timeout: 258 seconds]
contradictioned has joined #ruby
foamz has joined #ruby
petems has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
darix has joined #ruby
RushPL has joined #ruby
bokayio has quit [Ping timeout: 240 seconds]
Dark_Arc has quit [Ping timeout: 240 seconds]
cttttt has joined #ruby
amitchellbullard has joined #ruby
olivierjanss has joined #ruby
stephenh has joined #ruby
mattwc has joined #ruby
justinweiss has joined #ruby
chrisseaton has joined #ruby
err_ok has joined #ruby