havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.3 & 2.2.6 (2.4.0-rc1): 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
TPug has joined #ruby
gbgdev_ has quit [Remote host closed the connection]
<havenwood> berndl: You can define your own unary operators as well or override existing ones.
<havenwood> >> class String; def -@; 'OMGWTFBBQ' end end; -'berndl'
<ruby[bot]> havenwood: # => "OMGWTFBBQ" (https://eval.in/697641)
<berndl> Yes. I was reading about that. But only certain unary operators are supported.
<havenwood> berndl: But yes, negating a String freezes it. :P
<berndl> I really like languages that let you define or redefine its syntax.
Jayson_Virissimo has quit []
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jhack has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
jdawgaz has joined #ruby
Snickers has quit [Quit: Snickers]
arescorpio has joined #ruby
jdawgaz has quit [Client Quit]
Kazlock has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jsaak has quit [Ping timeout: 245 seconds]
jsaak has joined #ruby
shayan has joined #ruby
toretore has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
lucky__ has quit [Ping timeout: 268 seconds]
jdawgaz has joined #ruby
agent_white has joined #ruby
jenrzzz has joined #ruby
millerti has joined #ruby
chrisja has quit [Quit: leaving]
dnicole has joined #ruby
ryan_notabot has joined #ruby
dnicole has quit [Ping timeout: 258 seconds]
matugm has quit [Ping timeout: 248 seconds]
nebg has quit [Read error: Connection reset by peer]
nebg has joined #ruby
enilsen16 has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
berndl has quit [Ping timeout: 265 seconds]
roychri has quit [Ping timeout: 260 seconds]
dnicole has joined #ruby
tyang has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
tyang__ has joined #ruby
tyang__ has quit [Client Quit]
splud has quit [Quit: splud]
bradleyprice has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bradleyprice has joined #ruby
cibs has joined #ruby
djbkd_ has quit [Remote host closed the connection]
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lmc has joined #ruby
djbkd has joined #ruby
<alexar> Hey there. Anyone knows why minitest creates fixtures with wrong id's when associations are involved?
tyang has quit [Ping timeout: 258 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moei has quit [Quit: Leaving...]
bradleyprice has quit [Ping timeout: 246 seconds]
_djbkd has joined #ruby
charliesome has joined #ruby
<tekeli-li> alexar, I don't know, but what is minitest?
charliesome has quit [Client Quit]
kobain has joined #ruby
lmc has quit [Ping timeout: 265 seconds]
djbkd has quit [Ping timeout: 248 seconds]
<alexar> its a fast alternative to rspec
gbgdev has joined #ruby
h1fuelcell has joined #ruby
<tekeli-li> ty
gheegh has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
araujo has quit [Read error: Connection timed out]
h1fuelcell has quit [Ping timeout: 250 seconds]
araujo has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
<havenwood> tekeli-li: Minitest ships with Ruby.
matp has joined #ruby
masta`` has joined #ruby
alexar has quit []
boombox_ has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
braincrash has quit [Ping timeout: 258 seconds]
Mission-Critical has quit [Ping timeout: 268 seconds]
marxarelli is now known as marxarelli|afk
braincrash has joined #ruby
<tekeli-li> thanks again
gheegh has joined #ruby
mjago has joined #ruby
CloCkWeRX has quit [Ping timeout: 265 seconds]
CloCkWeRX has joined #ruby
nullobject has quit [Ping timeout: 258 seconds]
boombox_ has quit [Remote host closed the connection]
SteenJobs has joined #ruby
Olipro has quit [Ping timeout: 260 seconds]
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fullofcaffeine has quit [Remote host closed the connection]
yeticry has quit [Ping timeout: 258 seconds]
pwnd_nsfw` has quit [Read error: Connection reset by peer]
pwnd_nsfw has joined #ruby
houhoulis has joined #ruby
yeticry has joined #ruby
enterprisey has joined #ruby
tvw has quit [Remote host closed the connection]
fullofca_ has joined #ruby
fullofca_ has quit [Remote host closed the connection]
bradleyprice has joined #ruby
fullofcaffeine has joined #ruby
nickjj has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
matugm has joined #ruby
fullofca_ has joined #ruby
fullofca_ has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 250 seconds]
fullofca_ has joined #ruby
fullofca_ has quit [Read error: Connection reset by peer]
Guest36268 has quit []
fullofca_ has joined #ruby
fullofca_ has quit [Remote host closed the connection]
fullofcaffeine has quit [Read error: Connection reset by peer]
nettoweb has quit [Client Quit]
fullofcaffeine has joined #ruby
MissionCritical has joined #ruby
aryaching has quit [Ping timeout: 248 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fullofcaffeine has quit [Ping timeout: 245 seconds]
nickjj has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
Azure has quit [Remote host closed the connection]
leitz has joined #ruby
LuckyABA has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Azure has joined #ruby
mjago has quit [Ping timeout: 248 seconds]
bradleyprice has quit [Read error: Connection timed out]
nullobject has joined #ruby
Batholith has quit [Quit: ZNC - http://znc.in]
MrPomas has quit [Read error: Connection reset by peer]
MrPomas has joined #ruby
Batholith has joined #ruby
bradleyprice has joined #ruby
inoperable has quit [Quit: ZNC 1.6.3 - http://znc.in]
reginvld has joined #ruby
mjago has joined #ruby
JakFrist[WVU] has joined #ruby
<tekeli-li> It seems like a lot of the ruby tutorials and such are rails-centric. Should I cease all resistance and join the horde, or does ruby have an identity outside the web framework?
ttilley has joined #ruby
Silthias has quit [Ping timeout: 260 seconds]
ttilley has quit [Changing host]
ttilley has joined #ruby
leitz has quit [Quit: Nappy time]
Silthias has joined #ruby
bradleyprice has quit [Ping timeout: 245 seconds]
<havenwood> tekeli-li: There's a ton to Ruby outside of Rails.
h1fuelcell has joined #ruby
<havenwood> tekeli-li: Rails is quite popular software but it's just one of the plethora of things done in Ruby.
nullobject has quit [Ping timeout: 245 seconds]
h1fuelcell has quit [Client Quit]
doublemalt__ has joined #ruby
gloscombe has quit [Quit: gloscombe]
doublemalt_ has quit [Ping timeout: 245 seconds]
gbgdev has quit [Remote host closed the connection]
shayan has left #ruby [#ruby]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matugm has quit [Ping timeout: 250 seconds]
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
nullobject has joined #ruby
Olipro has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
agent_white has quit [Quit: brb]
Mia has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
charliesome has joined #ruby
agent_white has joined #ruby
mjago has quit [Ping timeout: 240 seconds]
tens0r has joined #ruby
jtdoncas has quit [Ping timeout: 252 seconds]
charliesome has quit [Client Quit]
JesseH has quit [Ping timeout: 268 seconds]
frozengeek has quit [Quit: frozengeek]
inoperable has joined #ruby
d^sh has quit [Ping timeout: 265 seconds]
d^sh has joined #ruby
jhack has quit [Quit: jhack]
<tekeli-li> lovely :)
beilabs has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
beilabs has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
tens0r has quit [Read error: Connection reset by peer]
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 258 seconds]
<agent_white> It's too bad Rubymonk is down... I defitely recommend that one as well.
boon_ has joined #ruby
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
futabachannel has joined #ruby
JeanCarloMachado has quit [Ping timeout: 258 seconds]
Definity has joined #ruby
tens0r has joined #ruby
shayan has joined #ruby
tens0r has quit [Client Quit]
Madplatypus has joined #ruby
awc has joined #ruby
<tekeli-li> agent_white, what was it?
duderonomy has quit [Ping timeout: 240 seconds]
<tekeli-li> Oh, this looks cool: http://rubykoans.com/
TPug has joined #ruby
masta`` has quit []
minimalism has quit [Ping timeout: 258 seconds]
awc has quit [Quit: Mutter: www.mutterirc.com]
<agent_white> Yep! It was like the koans!
agent_white is now known as VoopsSister
<tekeli-li> ty :)
VoopsSister is now known as agent_white
<agent_white> tekeli-li: Also The Pickaxe is good http://ruby-doc.com/docs/ProgrammingRuby/
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
symm_ has quit [Ping timeout: 256 seconds]
AndrewIsHere has quit [Remote host closed the connection]
bradleyprice has joined #ruby
AndrewIsHere has joined #ruby
agent_white has quit [Quit: brb]
minimalism has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
howdoi has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
raul782 has joined #ruby
AndrewIsHere has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
shayan has quit [Quit: shayan]
AndrewIsHere has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
bradleyprice has quit [Remote host closed the connection]
dmarr has joined #ruby
AndrewIsHere has joined #ruby
bradleyprice has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
nankyokusei has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
bruce_lee has quit [Ping timeout: 250 seconds]
bruce_lee has joined #ruby
optiz0r has quit [Ping timeout: 250 seconds]
dmarr has quit [Remote host closed the connection]
Kazlock has joined #ruby
dmarr has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
tmtwd has joined #ruby
tmtwd has quit [Remote host closed the connection]
libastral has quit [Ping timeout: 265 seconds]
antoniobeyah has joined #ruby
libastral has joined #ruby
enterprisey has quit [Quit: Leaving]
s2013 has joined #ruby
jenrzzz has joined #ruby
houhoulis has quit [Remote host closed the connection]
h1fuelcell has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
Kazlock has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gnufied has quit [Ping timeout: 240 seconds]
vircung has quit [Quit: Nothing to do here]
MrPomas has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
MrPomas has joined #ruby
yeticry has quit [Ping timeout: 245 seconds]
baconoverflow_ has quit [Quit: Connection closed for inactivity]
raul782 has quit [Read error: Connection reset by peer]
raul782 has joined #ruby
yeticry has joined #ruby
Channel6 has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
antoniobeyah has quit [Quit: antoniobeyah]
reverberations has quit [Ping timeout: 250 seconds]
bronson has joined #ruby
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
h1fuelcell has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
hanmac has quit [Ping timeout: 240 seconds]
antoniobeyah has joined #ruby
AndrewIsHere has joined #ruby
reverberations has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
Anonymoose2 has joined #ruby
harai_ has quit [Ping timeout: 250 seconds]
AndrewIsHere has joined #ruby
reverberations has quit [Client Quit]
Sammichmaker has joined #ruby
Sammichmaker has quit [Changing host]
Sammichmaker has joined #ruby
enilsen16 has quit [Quit: enilsen16]
charliesome has joined #ruby
AndrewIsHere has quit [Ping timeout: 258 seconds]
jhack has joined #ruby
charliesome has quit [Client Quit]
hanmac has joined #ruby
vikaton has joined #ruby
cdg has quit [Remote host closed the connection]
harai_ has joined #ruby
\13k has quit [Ping timeout: 250 seconds]
duderonomy has joined #ruby
johnmccabe has joined #ruby
beilabs has joined #ruby
tim1874 has quit [Ping timeout: 250 seconds]
\13k has joined #ruby
jasonb has joined #ruby
optiz0r has joined #ruby
bascht has quit [Quit: Client limit exceeded: 5000]
minimalism has quit [Quit: minimalism]
lucky__ has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
johnmccabe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MrSinister has joined #ruby
MrSinister has left #ruby [#ruby]
Devalo has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
lucky__ has quit [Ping timeout: 250 seconds]
Trynemjoel has quit [Quit: Quitting]
inukshuk has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
braincrash has quit [Quit: bye bye]
reginvld has quit [Ping timeout: 258 seconds]
Kazlock_ has joined #ruby
Devalo has quit [Ping timeout: 260 seconds]
h1fuelcell has quit [Ping timeout: 245 seconds]
Trynemjoel has joined #ruby
brixen has quit [Ping timeout: 245 seconds]
sindork has quit [Ping timeout: 250 seconds]
sindork has joined #ruby
Canucktux has joined #ruby
arescorpio has quit [Quit: Leaving.]
brixen has joined #ruby
dn`_ has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
dn` has quit [Ping timeout: 250 seconds]
dn`_ has quit [Read error: Connection reset by peer]
dn` has joined #ruby
lmc has joined #ruby
jhack has quit [Quit: jhack]
inukshuk has joined #ruby
lmc has quit [Ping timeout: 250 seconds]
tau has quit [Remote host closed the connection]
jcao219 has joined #ruby
braincrash has joined #ruby
MrPomas has quit [Read error: Connection reset by peer]
MrPomas has joined #ruby
grenierm has joined #ruby
bronson_ has joined #ruby
bronson has quit [Read error: Connection reset by peer]
moei has joined #ruby
vdl has quit [Ping timeout: 245 seconds]
agent_white has quit [Read error: Connection reset by peer]
chopin_ has quit [Ping timeout: 258 seconds]
sneakerhax has joined #ruby
agent_white has joined #ruby
saneax-_-|AFK is now known as saneax
bronson_ has quit [Remote host closed the connection]
blackbombay has quit [Ping timeout: 256 seconds]
AlexRussia has quit [Ping timeout: 258 seconds]
<tekeli-li> Is rdoc really its own markup language, or is it a stripped down version of some other markup language?
djuber` has joined #ruby
<baweaver> Combination of Tomdoc and Markdown
gix has quit [Ping timeout: 248 seconds]
harai_ has quit [Ping timeout: 246 seconds]
<tekeli-li> ty
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djuber has quit [Remote host closed the connection]
nankyokusei has joined #ruby
gix has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
h1fuelcell has joined #ruby
bturker has joined #ruby
dcluna has quit [Ping timeout: 268 seconds]
dcluna has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
h1fuelcell has quit [Ping timeout: 252 seconds]
bturker has quit [Ping timeout: 256 seconds]
lel has quit [Ping timeout: 250 seconds]
aryaching has joined #ruby
MrPomas has quit [Remote host closed the connection]
MrPomas has joined #ruby
Cohedrin has joined #ruby
kwiksilvr has joined #ruby
saneax is now known as saneax-_-|AFK
Canucktux has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
yaewa has joined #ruby
raul782 has quit [Remote host closed the connection]
moei has quit [Ping timeout: 260 seconds]
lel has joined #ruby
saneax-_-|AFK is now known as saneax
mscs has quit [Quit: leaving]
blackbombay has joined #ruby
dionysus69 has joined #ruby
Channel6 has quit [Quit: Leaving]
kwiksilvr has quit [Ping timeout: 250 seconds]
mtfj has joined #ruby
kwiksilvr has joined #ruby
mtfj has quit [Client Quit]
kwiksilvr has left #ruby [#ruby]
AlexRussia has joined #ruby
blackbombay has quit [Ping timeout: 264 seconds]
amclain has quit [Quit: Leaving]
AlexRussia has quit [Ping timeout: 245 seconds]
Dimik has quit [Ping timeout: 240 seconds]
tenderlo_ has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
bocaneri has joined #ruby
cpruitt has quit [Quit: cpruitt]
jenrzzz has joined #ruby
b0nn has joined #ruby
b0nn has left #ruby [#ruby]
b0nn has joined #ruby
<b0nn> What editor are people preferring for larger projects?
<baweaver> What editor are you using?
jenrzzz has quit [Ping timeout: 250 seconds]
<b0nn> vim
<b0nn> but I want to search for definitions etc
<baweaver> precursor question: if I recall you're new to programming and vim both
<baweaver> is that correct?
<b0nn> no
<b0nn> new to ruby, yes
<baweaver> so you're reasonably comfortable with Vim then and want to keep it?
<b0nn> I'm not married to it
<b0nn> I like eclipse/pydev for python development
<baweaver> Tim Pope is your best friend in Vim land with Ruby
blackbombay has joined #ruby
<baweaver> I think the package collection was called Janus, but it comes with a lot of things to get Vim ready to go
<baweaver> Sublime and Atom can equally be extended, Emacs too
<baweaver> question is: do you want a legos editor where you build it up, or a pre-built one that you have to learn?
<baweaver> The latter is Rubymine
<b0nn> Rubymine is a intelliJ editor package IIRC
tildes has joined #ruby
<b0nn> I looked at it (I've tried Pycharm in the past) but I struggle with intelliJ for some reason
<b0nn> Master Pope has a few Ruby/Vim repos
<baweaver> It's about the only name in town for Ruby IDEs
<baweaver> oh tons
<baweaver> Look up Ruby / Rails and Vim on Google and you're going to find a lot of articles listing configs
<baweaver> Rook had a lot too
<b0nn> Think I might make an actual effort with Rubymin
<b0nn> I like Vim for small projects
<b0nn> but once I get into bigger projects, it becomes cumbersome (or I do, one or the other)
<b0nn> Thanks baweaver
<baweaver> Any time, and sorry, a lot of people come through so I lose track of who knows what.
<b0nn> ha, is all good
TPug has quit [Read error: Connection reset by peer]
d0nn1e has quit [Ping timeout: 268 seconds]
AlexRussia has joined #ruby
d0nn1e has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
conta has joined #ruby
aryaching_ has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
Derderderd has joined #ruby
iMadper is now known as iMadper|Unhappy
segy has quit [Ping timeout: 250 seconds]
quazimod1 has joined #ruby
quazimodo has quit [Ping timeout: 256 seconds]
cosmicfires has joined #ruby
<cosmicfires> can I see everything in an array for debugging?
Hink has joined #ruby
last_staff has joined #ruby
<baweaver> Have you tried?
ruby-lang710 has joined #ruby
<ruby-lang710> any good resource to learn nested loops?
<cosmicfires> no I'll try that thanks
<ruby-lang710> apprently i went to google
<baweaver> ruby-lang710: What problem are you trying to solve?
quazimod1 has quit [Ping timeout: 268 seconds]
segy has joined #ruby
<baweaver> and what makes you think you need a nested loop for that?
<ruby-lang710> @baweaver to practice
<cosmicfires> inspect is what I wanted
aryaching_ has quit [Ping timeout: 252 seconds]
<baweaver> cosmicfires: p
<baweaver> which is effectively: value.tap { |v| puts v.inspect }
<ruby-lang710> @baweaver you're good in nested loop?
<baweaver> you don't need a nested loop for that
tildes has quit [Ping timeout: 245 seconds]
<baweaver> and practicing something inefficient is not a good idea.
<ruby-lang710> haha i know you can just use puts for that
<baweaver> don't make a problem convoluted for the sake of practice, it makes for bad habits.
<baweaver> do things simply
<ruby-lang710> oh kk
<ruby-lang710> thx bro
<baweaver> &ri Enumerable#times
<`derpy> No results
<baweaver> &ri Fixnum#times
<ruby-lang710> i thought need to learn those nested loop in order to achieve that result
Kazlock_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver> &ri String#rjust
<baweaver> those two methods, done.
<ruby-lang710> @baweaver i realize books and tutorials don't teach those advance things
<baweaver> advanced things?
<ruby-lang710> like nested loop
<baweaver> nested loops are pretty straightforward
enterprisey has joined #ruby
<baweaver> it tends to be a very early topic in most texts.
<ruby-lang710> sometimes it's straight forward
<ruby-lang710> but sometimes i need to thing hard to solve hard questions
<baweaver> Anyone can make something more complicated
govg has joined #ruby
<baweaver> it takes a better programmer to go the opposite way
<ruby-lang710> haha i'm not good in nested loop though
<ruby-lang710> :(
<baweaver> What's difficult about them?
<ruby-lang710> not enough practice i suppose
<baweaver> quantify what about them is difficult, why you think they're advanced, and why you think they're needed
dionysus69 has quit [Ping timeout: 258 seconds]
<baweaver> >> (1..10).group_by { |i| i % 3 }.values
<ruby[bot]> baweaver: # => [[1, 4, 7, 10], [2, 5, 8], [3, 6, 9]] (https://eval.in/697832)
<baweaver> take that array
<baweaver> now make a double loop that prints every value on a new line.
dionysus69 has joined #ruby
MrPomas has quit [Remote host closed the connection]
MrPomas has joined #ruby
<baweaver> ruby-lang710: got that?
<baweaver> link me to a gist when you get it.
conta has quit [Ping timeout: 240 seconds]
ruby-lang710 has quit [Ping timeout: 260 seconds]
pabs has quit [Ping timeout: 244 seconds]
dionysus69 has quit [Ping timeout: 264 seconds]
<b0nn> sorry, why not just start with two simple loops, inner loop printing 1..10, and an outer loop printing 1..10 maybe with a "inner Loop", and "Outer Loop" string to mark where you are
MrPomas has quit [Ping timeout: 246 seconds]
<baweaver> they DC'd
<b0nn> oh :(
<baweaver> Also that's a slight trick question
<baweaver> you don't even need loops for the problem I proposed above
<baweaver> >> puts [[1, 4, 7, 10], [2, 5, 8], [3, 6, 9]].join("\n")
<ruby[bot]> baweaver: # => 1 ...check link for more (https://eval.in/697847)
<b0nn> I was thinking the print statements in the loops would also go some way to demonstrating how to debug code as well ;)
<baweaver> I'm more of just concerned on the fixation of needing to use nested loops
<baweaver> Well when you have a hammer....
<b0nn> possibly homework?
terens has joined #ruby
<b0nn> or was mentioned in passing/class and trying to come to grips with the concept
BrianJ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dn`_ has joined #ruby
* b0nn shrugs
aidalgol has joined #ruby
<baweaver> Perhaps
ruby-lang276 has joined #ruby
<ruby-lang276> hahah
<baweaver> Maybe that's them
dn` has quit [Ping timeout: 264 seconds]
<ruby-lang276> @baweaver need to pratice more on nested loop though
<baweaver> why though
dn`_ is now known as dn`
pabs has joined #ruby
<baweaver> and realize "Because I need to" is not a real answer
<baweaver> and should be meditated on until you find one
quazimodo has joined #ruby
<ruby-lang276> @baweaver becoz sometimes in some situation you need to
<baweaver> [[1, 4, 7, 10], [2, 5, 8], [3, 6, 9]]
<baweaver> take this array
<baweaver> now print every digit on a new line using a nested loop
<b0nn> ruby-lang276: are you learning to program, are you a student, is this purely nested loops in ruby...?
tildes has joined #ruby
<ruby-lang276> nested loop
<ruby-lang276> just want to famirialize with it
<baweaver> See that problem above?
<baweaver> Try it and give me a link to a gist
<ruby-lang276> kk
<terens> hi
<terens> I am getting ruby23: no -r allowed while running setgid (SecurityError)
<terens> no idea why
quazimodo has quit [Ping timeout: 248 seconds]
quazimodo has joined #ruby
<baweaver> Someone put setgid on the interpreter
<baweaver> which is a nightmarish security risk
<ruby-lang276> @baweaver why need a nested loop for that?
<baweaver> you don't
<baweaver> but you want practice
<baweaver> so do it with a nested loop
<b0nn> sorry, why not just start with two simple loops, inner loop printing 1..10, and an outer loop printing 1..10 maybe with a "inner Loop", and "Outer Loop" string to mark where you are
<b0nn> ^repeat from earlier
shayan has joined #ruby
<terens> looks simmilar
<terens> thanks
ruby-lang276 has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
ruby-lang514 has joined #ruby
<ruby-lang514> @beweaver i can't seem to use nested loop for that
sdwrage has quit [Quit: This computer has gone to sleep]
<baweaver> What do you have so far?
nullobject has quit [Ping timeout: 246 seconds]
<baweaver> What's i in each of those loops?
<baweaver> >> [[1]].first
<ruby[bot]> baweaver: # => [1] (https://eval.in/697878)
<baweaver> in fact, rename i to sub_array
<baweaver> see if that gives you any ideas.
nankyokusei has joined #ruby
<dminuoso> i is used for indices usually :s
<dminuoso> >> %i(foo bar quux).each.with_index { |sym, i| puts i }
<ruby[bot]> dminuoso: # => 0 ...check link for more (https://eval.in/697879)
nankyokusei has quit [Ping timeout: 246 seconds]
bturker has joined #ruby
<ruby-lang514> it's okay guys still learning
antoniobeyah has joined #ruby
ruby-lang514 has quit [Ping timeout: 260 seconds]
bturker has quit [Ping timeout: 256 seconds]
tildes has quit [Ping timeout: 258 seconds]
gloscombe has joined #ruby
MrPomas has joined #ruby
lizard2010 has joined #ruby
grenierm has quit [Quit: grenierm]
MrPomas has quit [Ping timeout: 248 seconds]
conta has joined #ruby
ta_ has quit [Remote host closed the connection]
MrPomas has joined #ruby
pawnbox has joined #ruby
AlexRussia has quit [Ping timeout: 258 seconds]
astrobunny has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eggshke has joined #ruby
fullstack_ has joined #ruby
fullstack_ has quit [Client Quit]
fullstack_ has joined #ruby
lxsameer has joined #ruby
frozengeek has joined #ruby
fullstack_ has quit [Client Quit]
fullstack_ has joined #ruby
grenierm has joined #ruby
Azure has quit [Read error: Connection reset by peer]
fullstack_ has quit [Changing host]
fullstack_ has joined #ruby
fullstack_ is now known as fullstack
frozengeek has quit [Quit: frozengeek]
Azure has joined #ruby
govg has quit [Ping timeout: 264 seconds]
SpiffTR has joined #ruby
xrlk has quit [Ping timeout: 264 seconds]
SpiffTR has quit [Client Quit]
andikr has joined #ruby
blaxter has joined #ruby
sdwrage has joined #ruby
tau has joined #ruby
dn` has quit [Quit: dn`]
dn` has joined #ruby
ta_ has joined #ruby
Devalo has joined #ruby
quazimodo has quit [Ping timeout: 245 seconds]
czerasz has quit [Ping timeout: 258 seconds]
Devalo has quit [Ping timeout: 246 seconds]
hahuang61 has quit [Ping timeout: 240 seconds]
nofxxx has joined #ruby
govg has joined #ruby
gloscombe has quit [Quit: gloscombe]
govg has quit [Client Quit]
govg has joined #ruby
d0lph1n98 has joined #ruby
nofxx has quit [Ping timeout: 265 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
d0lph1n98 has quit [Client Quit]
sdwrage has joined #ruby
aufi has joined #ruby
TvL2386 has joined #ruby
aganov has joined #ruby
lmc has joined #ruby
claudiuinberlin has joined #ruby
agent_white has quit [Quit: brb]
Silthias has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
JoshS has joined #ruby
SpiffTR has joined #ruby
Silthias1 has quit [Ping timeout: 248 seconds]
lmc has quit [Ping timeout: 256 seconds]
grenierm has quit [Quit: grenierm]
frozengeek has joined #ruby
agent_white has joined #ruby
n008f4g_ has joined #ruby
mark_66 has joined #ruby
SpiffTR has quit [Quit: Leaving.]
Snickers has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
LoneHermit has joined #ruby
gbgdev has joined #ruby
Alina-malina has quit [Ping timeout: 258 seconds]
elastix has joined #ruby
agent_white has quit [Quit: agent_white]
agent_white has joined #ruby
sarlalian has quit [Ping timeout: 258 seconds]
durendal has joined #ruby
durendal has quit [Client Quit]
sarlalian has joined #ruby
Silthias1 has joined #ruby
aupadhye has joined #ruby
nofxxx has quit [Ping timeout: 246 seconds]
gbgdev has quit [Remote host closed the connection]
durendal has joined #ruby
Silthias has quit [Ping timeout: 246 seconds]
teclator has quit [Remote host closed the connection]
etehtsea has joined #ruby
bogn has joined #ruby
agent_white has quit [Ping timeout: 265 seconds]
Salih has joined #ruby
durendal has quit [Client Quit]
Chair has joined #ruby
etehtsea has quit [Client Quit]
etehtsea has joined #ruby
AnoHito has quit [Ping timeout: 248 seconds]
AnoHito has joined #ruby
nankyokusei has joined #ruby
jsrn_ has joined #ruby
enterprisey has quit [Remote host closed the connection]
zenspider has quit [Ping timeout: 240 seconds]
LoneHermit has quit [Remote host closed the connection]
zenspider has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
bturker has joined #ruby
n008f4g_ has quit [Ping timeout: 258 seconds]
djbkd has quit []
agent_white has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
etehtsea has quit [Disconnected by services]
etehtsea has joined #ruby
Alina-malina has joined #ruby
johnmccabe has joined #ruby
edwinvdgraaf has joined #ruby
doublemalt__ has quit [Quit: Leaving]
TvL2386 has quit [Remote host closed the connection]
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
teclator has joined #ruby
nullobject has joined #ruby
bturker has joined #ruby
manjaro-kde5- has joined #ruby
mg^ has quit [Ping timeout: 245 seconds]
jaguarmagenta has joined #ruby
nettoweb has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
the_drow has joined #ruby
symm has joined #ruby
blackwind_123 has quit [Ping timeout: 258 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Fernando-Basso has joined #ruby
awc has joined #ruby
mg^ has joined #ruby
quazimodo has joined #ruby
awc has quit [Quit: Mutter: www.mutterirc.com]
Hyuk has joined #ruby
montanonic has joined #ruby
Hyuk has quit [Client Quit]
govg has quit [Ping timeout: 264 seconds]
PaulCapestany has quit [Quit: .]
astrobunny has quit [Remote host closed the connection]
mg^ has quit [Ping timeout: 245 seconds]
yaw has joined #ruby
Gravious has joined #ruby
codfection has joined #ruby
bayed has joined #ruby
PaulCapestany has joined #ruby
blaxter has quit [Quit: foo]
jaguarmagenta has quit [Remote host closed the connection]
dionysus69 has joined #ruby
toretore has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.6]
tomphp has joined #ruby
govg has joined #ruby
Beams has joined #ruby
workmad3 has joined #ruby
nullobject has quit [Quit: WeeChat 1.5]
charliesome has joined #ruby
pandaant has joined #ruby
nullobject has joined #ruby
tomphp has quit [Quit: Textual IRC Client: www.textualapp.com]
agent_white has quit [Ping timeout: 246 seconds]
h1fuelcell has joined #ruby
codfection has quit [Quit: Leaving]
sarlalian has quit [Remote host closed the connection]
tomphp has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
eightbitraptor has joined #ruby
mg^ has joined #ruby
h1fuelcell has quit [Ping timeout: 248 seconds]
sarlalian has joined #ruby
harfangk has joined #ruby
johnmccabe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
codfection has joined #ruby
DaveTaboola has joined #ruby
yaw has quit [Ping timeout: 240 seconds]
rodfersou has joined #ruby
edwinvdgraaf has quit [Ping timeout: 268 seconds]
gbgdev has joined #ruby
yaw has joined #ruby
aidalgol has quit [Quit: zZzZZzzzz]
<Takumo> Not strictly a ruby question but I don't know if grape has its own channel... How do I set/override the format of a response? e.g. user requests format A but I now want to return format B because of an error or other event
abucha has joined #ruby
edwinvdgraaf has joined #ruby
jaruga___ has joined #ruby
<c-c> 'a response'?
<c-c> pastie your code plz
<Takumo> let me just mock up what I'm trying to do
pawnbox has quit [Ping timeout: 258 seconds]
ishe_ua has joined #ruby
govg has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 265 seconds]
JeanCarloMachado has joined #ruby
edwinvdgraaf has quit [Ping timeout: 250 seconds]
edwinvdgraaf has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
<Takumo> ah I think I've cracked it
ldnunes has joined #ruby
yaw has quit [Read error: Connection reset by peer]
yaw has joined #ruby
Hyuk has joined #ruby
pawnbox has joined #ruby
Silthias has joined #ruby
Silthias1 has quit [Ping timeout: 268 seconds]
pawnbox_ has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
<c-c> Takumo: ok?
Hyuk has quit [Ping timeout: 250 seconds]
pawnbox__ has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
cibs has joined #ruby
dionysus69 has joined #ruby
Salih has quit [Ping timeout: 246 seconds]
LeatherGuy has joined #ruby
LeatherGuy has quit []
yaw_ has joined #ruby
pawnbox_ has quit [Read error: Connection reset by peer]
govg has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
kith_ has joined #ruby
pskosinski has quit [Read error: Connection reset by peer]
pskosinski_ has joined #ruby
yaw has quit [Ping timeout: 240 seconds]
Kestrel-029 has quit [Ping timeout: 240 seconds]
radic has quit [Ping timeout: 256 seconds]
radic has joined #ruby
ruby-lang378 has joined #ruby
BytesAndCoffee has quit [Ping timeout: 260 seconds]
andrzejku has quit [Remote host closed the connection]
kith has quit [Ping timeout: 256 seconds]
Axy has quit [Ping timeout: 268 seconds]
Nicmavr has joined #ruby
Axy has joined #ruby
yazdmich has joined #ruby
andrzejku has joined #ruby
Nicmavr is now known as Guest30569
<andrzejku> #/j gentoo-pl
Salih has joined #ruby
TheHodge has joined #ruby
ruby-lang378 has left #ruby [#ruby]
shayan has quit [Quit: shayan]
shayan has joined #ruby
nankyokusei has joined #ruby
alexherbo2 has joined #ruby
futabachannel has quit [Quit: Leaving...]
eightbitraptor has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 250 seconds]
yaw has joined #ruby
jcao219 has quit [Ping timeout: 265 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
pwnd_nsfw has joined #ruby
lenwood has joined #ruby
manjaro-kde5- has quit [Ping timeout: 250 seconds]
Silox| has joined #ruby
h1fuelcell has joined #ruby
yaw_ has quit [Ping timeout: 256 seconds]
AnoHito has quit [Quit: Leaving]
yaw_ has joined #ruby
lolmaus has joined #ruby
yaw has quit [Ping timeout: 248 seconds]
<lolmaus> How do I use a dynamic key name in a hash literal? E. g. in modern JS I can do `{[foo]: bar}` where `foo` is a variable containing a string.
h1fuelcell has quit [Ping timeout: 248 seconds]
<lolmaus> I don't want to do `my_hash = {}; my_hash[foo] = bar; my_hash`.
AlexRussia has joined #ruby
nullobject has quit [Ping timeout: 260 seconds]
<dminuoso> lolmaus: you can do the exact same thing.
<dminuoso> lolmaus: use the => syntax
<lolmaus> dminuoso: oh, thx.
<dminuoso> >> { String.method(:length) => 123 }
<ruby[bot]> dminuoso: # => undefined method `length' for class `#<Class:String>' (NameError) ...check link for more (https://eval.in/698145)
codfection has quit [Read error: Connection reset by peer]
<dminuoso> >> { "".method(:length) => 123 }
<ruby[bot]> dminuoso: # => {#<Method: String#length>=>123} (https://eval.in/698146)
<dminuoso> lolmaus: ^- maybe quite a silly example, but it shows that you can pretty much use anything as a key. ;-)
JeanCarloMachado has quit [Ping timeout: 256 seconds]
<lolmaus> 👍
codfection has joined #ruby
jcao219 has joined #ruby
lmc has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
lmc has quit [Ping timeout: 260 seconds]
byte512 has joined #ruby
tim1874_ has joined #ruby
JeanCarloMachado has joined #ruby
<montanonic> Hey y'all! I have a metaprogramming question. I have several methods of the form blah_path, where 'blah' is interchangable. What I'd like to do is evaluate blah_path for a bunch of different, dynamically generated blahs
<c-c> eval_path(blah)?
<montanonic> so that would be: blahs.each do |blah|; "#{blah}_path" ...
<montanonic> Oh, I wasn't aware of eval_path
<montanonic> my question specifically was about performance of
<c-c> I mean, just use a method with blah as arg
<montanonic> eval "#{blah}_path"
<montanonic> (not an option in this case; rails makes the method names)
<montanonic> vs
<montanonic> method("#{blah}_path".to_sym).()
<montanonic> and, the to_sym isn't necessary in this case, I realize
yaw_ is now known as yaw
Tempesta has quit [Ping timeout: 258 seconds]
johnmccabe has joined #ruby
n008f4g_ has joined #ruby
shayan has quit [Quit: shayan]
shayan has joined #ruby
<montanonic> Ah, I think I have a better solution for my use case: self.send("#{name}_path")
<c-c> yes
<montanonic> awesome; <3 ruby
GodFather has joined #ruby
pawnbox__ has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
Tempesta has joined #ruby
edwinvdgraaf has quit [Ping timeout: 246 seconds]
govg has quit [Ping timeout: 245 seconds]
b_ has joined #ruby
govg has joined #ruby
yaw has quit [Ping timeout: 256 seconds]
symm has quit [Ping timeout: 258 seconds]
rt has joined #ruby
jaruga___ has quit [Quit: jaruga___]
jaguarmagenta has joined #ruby
jdawgaz has joined #ruby
eightbitraptor has joined #ruby
edwinvdgraaf has joined #ruby
jdawgaz has quit [Client Quit]
tvw has joined #ruby
<apeiros> montanonic: public_send > send
<apeiros> unless you explicitly want to invoke private methods
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
jaguarmagenta has quit [Ping timeout: 245 seconds]
lenwood has quit [Ping timeout: 268 seconds]
<apeiros> montanonic: and use :"#{name}_path" (symbol instead of string) - that avoids one conversion (send/public_send will always convert to symbol)
andrzeju_ has joined #ruby
<montanonic> apeiros: awesome; thank you!
bigkevmcd has quit [Read error: Connection reset by peer]
andrzejku has quit [Read error: Connection reset by peer]
jphase has quit [Read error: No route to host]
bturker has joined #ruby
<montanonic> updating accordingly
jphase has joined #ruby
ttilley has quit [Quit: Linkinus - http://linkinus.com]
charliesome has quit [Ping timeout: 258 seconds]
bayed has quit [Ping timeout: 258 seconds]
boon_ has quit [Ping timeout: 258 seconds]
andersh has quit [Ping timeout: 258 seconds]
mrsolo has quit [Ping timeout: 258 seconds]
charliesome_ has joined #ruby
charliesome_ has quit [Client Quit]
adam__ has joined #ruby
bayed has joined #ruby
adam_ has quit [Ping timeout: 258 seconds]
andersh has joined #ruby
adam__ is now known as adam_
gmci has quit [Ping timeout: 258 seconds]
vma[m] has quit [Ping timeout: 258 seconds]
tobyn[m] has quit [Ping timeout: 258 seconds]
howdoi_ has joined #ruby
AlexRussia has quit [Ping timeout: 248 seconds]
howdoi has quit [Ping timeout: 258 seconds]
Iacobus__ has quit [Ping timeout: 258 seconds]
borodin has quit [Ping timeout: 258 seconds]
howdoi_ is now known as howdoi
hanmac has quit [Ping timeout: 258 seconds]
Klumben has quit [Ping timeout: 258 seconds]
tpendragon has quit [Ping timeout: 258 seconds]
mrsolo has joined #ruby
eightbitraptor has quit [Ping timeout: 265 seconds]
h1fuelcell has joined #ruby
ghostlight has quit [Ping timeout: 264 seconds]
nullobject has joined #ruby
ghostlight has joined #ruby
boon_ has joined #ruby
xrlk has joined #ruby
Salih has quit [Ping timeout: 250 seconds]
h1fuelcell has quit [Ping timeout: 248 seconds]
Salih has joined #ruby
tpendragon has joined #ruby
b_ has quit [Ping timeout: 265 seconds]
Klumben has joined #ruby
sdothum has joined #ruby
biberu has joined #ruby
eightbitraptor has joined #ruby
futilegames has joined #ruby
vma[m] has joined #ruby
tobyn[m] has joined #ruby
yaw has joined #ruby
hanmac has joined #ruby
hogetaro has quit [Quit: Leaving...]
gbgdev has quit [Remote host closed the connection]
eightbitraptor has quit [Ping timeout: 260 seconds]
jaguarmagenta has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
yaw has quit [Ping timeout: 252 seconds]
b_ has joined #ruby
Salih has quit [Ping timeout: 252 seconds]
Salih has joined #ruby
ruby-lang315 has joined #ruby
gbgdev has joined #ruby
jshjsh has joined #ruby
jcao219 has quit [Ping timeout: 245 seconds]
XV8 has joined #ruby
abucha has quit [Read error: Connection reset by peer]
SpiffTR has joined #ruby
SpiffTR has quit [Read error: Connection reset by peer]
SpiffTR1 has joined #ruby
nullobject has quit [Ping timeout: 245 seconds]
Salih has quit [Ping timeout: 258 seconds]
nadir has joined #ruby
govg has quit [Ping timeout: 258 seconds]
JoshS has quit [Ping timeout: 268 seconds]
prestorium has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Ropeney has joined #ruby
charliesome has joined #ruby
Salih has joined #ruby
Salih has joined #ruby
Salih has quit [Changing host]
bigkevmcd has joined #ruby
XV8 has quit [Remote host closed the connection]
XV8 has joined #ruby
prestorium has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ruby-lang315> how to understand nested loop?
<lizard2010> loop inside loop?
<ruby-lang315> yup
<ruby-lang315> i abit of confuse when doing nested loop
tk__ has joined #ruby
pwnd_nsfw` has joined #ruby
<ruby-lang315> a good resource to recommend?
rwb has quit [Ping timeout: 246 seconds]
AlexRussia has joined #ruby
johnmilton has joined #ruby
JeanCarloMachado has quit [Read error: No route to host]
pwnd_nsfw has quit [Ping timeout: 258 seconds]
prestorium has quit [Quit: Leaving]
nankyokusei has joined #ruby
marr has joined #ruby
GodFather has quit [Remote host closed the connection]
ruby-lang315 has quit [Ping timeout: 260 seconds]
gix has quit [Quit: Client exiting]
GodFather has joined #ruby
lenwood has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
gmci has joined #ruby
synthroid has joined #ruby
TomyWork has quit [Ping timeout: 256 seconds]
brendan- has joined #ruby
lenwood has quit [Client Quit]
lenwood has joined #ruby
ruby-lang160 has joined #ruby
h1fuelcell has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
montanonic has quit [Ping timeout: 258 seconds]
tyang has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
b_ has quit [Ping timeout: 248 seconds]
n008f4g_ has quit [Ping timeout: 250 seconds]
h1fuelcell has quit [Ping timeout: 264 seconds]
shinnya has joined #ruby
elastix has quit [Ping timeout: 250 seconds]
blackbombay has quit [Ping timeout: 265 seconds]
quazimodo has quit [Ping timeout: 268 seconds]
prestorium has joined #ruby
koooge has quit [Quit: Leaving...]
gix has joined #ruby
beilabs has quit [Remote host closed the connection]
govg has joined #ruby
beilabs has joined #ruby
Ishido has quit [Read error: Connection reset by peer]
gbgdev_ has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
gbgdev has quit [Ping timeout: 252 seconds]
saneax is now known as saneax-_-|AFK
lenwood has quit [Ping timeout: 268 seconds]
arne_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arne_> how do i cleverly add elements of one array to another
beilabs has quit [Ping timeout: 264 seconds]
<tobiasvl> cleverly?
<arne_> >> (test = [1]) << [2,3]
shayan has quit [Quit: shayan]
<arne_> i want the elements to be part of test, not the array [2,3]
<ruby-lang160> is it possible to have a hash that map a key to more than 1 value?
<tobiasvl> arne_: (test = [1]).concat [2,3]
shayan has joined #ruby
yardenbar has joined #ruby
<arne_> tobiasvl: thank
<arne_> s
<elomatreb> ruby-lang160: Not directly, but you can assign an array that you can destructure to more then one variable
<arne_> ruby-lang160: well, you could easily build something like that
arne_ is now known as Bish
gix has quit [Ping timeout: 258 seconds]
gbgdev has joined #ruby
<elomatreb> Like so: https://eval.in/698217
<Bish> >> multi_hash = Hash.new { |h,k| h[k] = [] };multi_hash[:first] << :value1; multi_hash[:first] << :value2; multi_hash
<ruby[bot]> Bish: # => {:first=>[:value1, :value2]} (https://eval.in/698219)
quazimodo has joined #ruby
gbgdev_ has quit [Ping timeout: 245 seconds]
elastix has joined #ruby
<Bish> >> multi_hash = Hash.new { |h,k| h[k] = [] };multi_hash[:first] << :value1; multi_hash[:first] << :value2; first_val,second_val = multi_hash[:first]; p first_val,second_val;
<ruby[bot]> Bish: # => :value1 ...check link for more (https://eval.in/698224)
SteenJobs has quit [Quit: SteenJobs]
<Bish> elomatreb: my code basicially does that, but be careful with the size
nullobject has joined #ruby
<Bish> like when you do f,s,t = [1,2]
futilegames has quit [Quit: futilegames]
<elomatreb> Bish: That's a fancy way for sure
howdoi has joined #ruby
Gerak has joined #ruby
<Gerak> exit
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Gerak has quit [Client Quit]
gix has joined #ruby
yaw has joined #ruby
<ruby-lang160> basically you are adding the first key with 2 value attached to it?
pandaant has quit [Ping timeout: 264 seconds]
synthroi_ has joined #ruby
psychicist__ has joined #ruby
<ruby-lang160> @Bish is it correct?
<elomatreb> ruby-lang160: You're still only storing one actualy value for the key, but that value is an Array that can contain as many values as you like
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<ruby-lang160> ok 1 key with multiple values in a array correct?
synthroid has quit [Ping timeout: 268 seconds]
lenwood has joined #ruby
yaw has quit [Ping timeout: 260 seconds]
<elomatreb> ruby-lang160: Basically, yes. Bish's solution "just" does some fancy things with the Hash initilizer that automatically assigns this array
<Bish> ruby-lang160: basicially it's still a hashmap that maps to array
<Bish> but the default value for a non existing key will be defaulted to empty arra
<Bish> that's all there is to the magic
symm has joined #ruby
Gerak has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
<ruby-lang160> thx man
Robtop__ has joined #ruby
<ruby-lang160> i was wondering this for a long time
<ruby-lang160> haha
shayan has quit [Quit: shayan]
<Bish> ruby-lang160: it's not considered good code either, so be careful with that
<ruby-lang160> oh i see
<Bish> ofc there a good uses for the "default_proc" of Hash.new, and this might be one of them
<elomatreb> If you're thinking about doing something like this in actual code, you may want to create value objects instead of being fancy with arrays
jdawgaz has joined #ruby
<Bish> but there is this beautiful gem, where you can build a "endless hash"
<ruby-lang160> you guys know so much of it
eggshke has quit []
tpendragon has quit [Ping timeout: 258 seconds]
<Bish> >> h = Hash.new { |h,k| h[k] = Hash.new(&h.default_proc); } h[:lol][:rofl][:etc]; h
<ruby[bot]> Bish: # => /tmp/execpad-22950d58a15b/source-22950d58a15b:2: syntax error, unexpected tIDENTIFIER, expecting key ...check link for more (https://eval.in/698252)
<Bish> >> h = Hash.new { |h,k| h[k] = Hash.new(&h.default_proc) }; h[:lol][:rofl][:etc]; h
<ruby[bot]> Bish: # => {:lol=>{:rofl=>{:etc=>{}}}} (https://eval.in/698253)
<Bish> *
<ruby-lang160> thx man
pwnd_nsfw` has quit [Ping timeout: 245 seconds]
<ruby-lang160> appreciate it
<Bish> well, as i said :D be careful
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Bish> what elomatreb said is still true
<ruby-lang160> do you have any good resource for nested loop?
<Bish> nested loops? just do them?
c355e3b has joined #ruby
<Bish> >> loop { loop { break } break }
<ruby[bot]> Bish: # => /tmp/execpad-98cab7d4feb8/source-98cab7d4feb8:2: syntax error, unexpected keyword_break, expecting ' ...check link for more (https://eval.in/698257)
<Bish> :(
<elomatreb> You want to understand how a certain piece of code using nested loops works, I assume?
<ruby-lang160> yup definately
<ruby-lang160> single loop is easy to understand than nested loop :)
<elomatreb> Usually one goes about this by adding print statements, outputting the value of variables modified in the loops. Then you can look at the output and see what is going on
MrPomas_ has joined #ruby
LuckyABA has joined #ruby
<ruby-lang160> where the hell you guys learn this advanced stuffs?
MrPomas_ has quit [Read error: Connection reset by peer]
<elomatreb> It's just a matter of practice, really
<Bish> ruby-lang160: think of it as excel-cells, you have one loop to go DOWN and one to go SIDEWAYS
<Bish> basicially.
<Bish> that's for double loops
<ruby-lang160> oh i see
b_ has joined #ruby
MrPomas has quit [Ping timeout: 268 seconds]
<elomatreb> Another important thing is that you don't actually see that many actual loops in Ruby, most things usually done by loops in other languages can be done using iterators
terens has quit [Ping timeout: 268 seconds]
lxsameer has quit [Quit: WeeChat 1.6]
rodfersou is now known as rodfersou|lunch
<ruby-lang160> i practing this part
<ruby-lang160> til i was stuck
nullobject has quit [Ping timeout: 240 seconds]
<Bish> (1..5).to_a.each { |row| (1..5).to_a.each {|column| puts "I am in row #{row} and column #{column}" } }
<ruby-lang160> apprently i can do from the left hand side
<Bish> ruby-lang160: have you checked out pry?
shayan has joined #ruby
<ruby-lang160> but from the right hand side
<ruby-lang160> it's hard for me
<Bish> well, if you want to go from the "right side" you need to know where to start so you can count down
<ruby-lang160> haha can't think anymore further that's why
<ytti> binding.pry has saved me so much time, one of the very few projects i've donated
<ruby-lang160> i can do other nested loop
<Gerak> why not do it from the left and simply reverse the string?
<ytti> and not realy a fair sum, considering how much it has given me
MrPomas has joined #ruby
<ruby-lang160> but for this i was stuck for hours
<Bish> Gerak: because that's pretty advanced and doesn't help you in the progress of learning
b_ has quit [Client Quit]
SpiffTR1 has quit [Quit: Leaving.]
eightbitraptor has joined #ruby
<ruby-lang160> i tried using print
<ruby-lang160> it was very easy
<ruby-lang160> haha
terens has joined #ruby
<Bish> yeah that helps, have you tried my mini example?
<Bish> (1..5).to_a.each { |row| (1..5).to_a.each {|column| puts "I am in row #{row} and column #{column}" } }
<Bish> it goes through a 5x5 grid, and prints every point basicially
CloCkWeRX has quit [Quit: Leaving.]
raul782 has joined #ruby
<Bish> and that shows you how the row counter and column counter increments
<ruby-lang160> @ yup i tried
<Bish> spoken out it basicially means "for every row, make another loop that goes through every column"
jtdoncas has joined #ruby
Iacobus__ has joined #ruby
<Bish> that's why column increments first
jaguarmagenta has joined #ruby
minimalism has joined #ruby
<Bish> and when the first row is done,it will do the same with the second and so on
GodFather has quit [Ping timeout: 252 seconds]
<ruby-lang160> ok thx bish
cdg has joined #ruby
jtdoncas has quit [Ping timeout: 250 seconds]
shayan has quit [Quit: shayan]
cdg has quit [Read error: Connection reset by peer]
cdg_ has joined #ruby
h1fuelcell has joined #ruby
ramortegui has joined #ruby
brendan- has joined #ruby
edwinvdgraaf has quit [Ping timeout: 250 seconds]
Guest59158 has quit [Quit: ZNC - http://znc.in]
jhack has joined #ruby
h1fuelcell has quit [Ping timeout: 248 seconds]
jhack has quit [Client Quit]
Silox| has quit [Quit: Connection closed for inactivity]
AndrewIsHere has joined #ruby
MrPomas has quit []
jhack has joined #ruby
jhack_ has joined #ruby
shayan has joined #ruby
AndrewIsHere has quit [Ping timeout: 258 seconds]
jhack__ has joined #ruby
GodFather has joined #ruby
shayan has quit [Client Quit]
jhack has quit [Ping timeout: 260 seconds]
jhack__ is now known as jhack
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
giraffe has joined #ruby
giraffe is now known as Guest71260
jhack_ has quit [Ping timeout: 240 seconds]
tpendragon has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Robtop__ has quit [Read error: Connection reset by peer]
<Bish> most stupid question, how do i insert stuff into a string
<tobiasvl> Bish: "here's stuff: #{stuff}"
<Bish> *guesses insert*
<Bish> tobiasvl: no, with mutation
<Bish> at position
<tobiasvl> insert then
<Bish> and without mutation?
<dminuoso> with mutation?
<Bish> >> (test = "123").insert(0,'2'); test
<ruby[bot]> Bish: # => "2123" (https://eval.in/698282)
<dminuoso> Haskell users will argue with you all day long that functions should not modify stuff.
<dminuoso> They will be hating you forever.
codfection has quit [Ping timeout: 258 seconds]
<Bish> well, they don't need to argue since in haskell it doesn't?
<Bish> but in ruby it does
<Bish> i want the equivalent of insert like it does with gsub gsub!
<dminuoso> a = a.insert(0, '2') ?
jdawgaz has joined #ruby
<tobiasvl> Bish: insert DOES mutate
<Bish> yeah, and what if i don't want that
<dminuoso> Yeah. Ruby is really inconsistent with this crap.
<tobiasvl> Bish: I thought you said "with mutation"
malconis has joined #ruby
<Bish> yes i did, still i want to know
<dminuoso> Bish: then dup...
* Bish wnats to believe
<dminuoso> Bish: foo.dup.insert
<Bish> not very clean :(
edwinvdgraaf has joined #ruby
<dminuoso> String.send(:alias_method, :clean, :dup); foo.clean.insert # Bish
<dminuoso> this maybe?
<adaedra> ...
<dminuoso> :)
pwnd_nsfw has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
gnufied has joined #ruby
tk__ has quit [Quit: ばいばい]
quazimodo has quit [Ping timeout: 260 seconds]
fullofcaffeine has joined #ruby
minimalism has quit [Quit: minimalism]
gbgdev has quit [Remote host closed the connection]
jaruga___ has joined #ruby
gbgdev has joined #ruby
DLSteve has joined #ruby
DaveTaboola has quit [Quit: Textual IRC Client: www.textualapp.com]
aryaching has joined #ruby
sepp2k has joined #ruby
pandaant has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nowz has joined #ruby
malconis has quit [Ping timeout: 264 seconds]
brendan- has joined #ruby
Definity has quit [Ping timeout: 258 seconds]
malconis has joined #ruby
the_drow has joined #ruby
pwnd_nsfw` has joined #ruby
minimalism has joined #ruby
pandaant has quit [Remote host closed the connection]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
Snickers has quit [Ping timeout: 248 seconds]
SpiffTR has joined #ruby
nullobject has joined #ruby
maattdd has joined #ruby
JakFrist[WVU] has joined #ruby
polishdub has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jhack has quit [Quit: jhack]
Robtop__ has joined #ruby
BrianJ has joined #ruby
mic_e has quit [Read error: Connection reset by peer]
lenwood has quit [Ping timeout: 248 seconds]
pwnd_nsfw` has quit [Ping timeout: 245 seconds]
nankyokusei has joined #ruby
kelseynz has joined #ruby
camonz has joined #ruby
<camonz> hello
ruby-lang160 has quit [Ping timeout: 260 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
<camonz> I have an array where I want the slice of each pair of items, i.e. given [1, 2, 3, 4, 5] I want slices of [1, 2], [2, 3], [3, 4], [4, 5], #each_slice looks like it'll give me only [1, 2], [3, 4], [5]
<camonz> is there a way to get these slices easily?
Snickers has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
JakFrist[WVU] has quit [Quit: Textual IRC Client: www.textualapp.com]
dionysus69 has joined #ruby
s2013 has quit [Quit: Textual IRC Client: www.textualapp.com]
jhack has joined #ruby
pawnbox has quit [Remote host closed the connection]
JakFrist[WVU] has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
<camonz> from the docs #each_cons(2) looks like what I want :)
pawnbox has joined #ruby
kelseynz has quit [Quit: kelseynz]
JakFrist[WVU] has quit [Client Quit]
rwb has joined #ruby
rippa has joined #ruby
h1fuelcell has joined #ruby
codfection has joined #ruby
yardenbar has quit [Ping timeout: 245 seconds]
nullobject has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
skalfyfan has joined #ruby
h1fuelcell has quit [Ping timeout: 246 seconds]
jaguarmagenta has quit [Remote host closed the connection]
raul782 has quit []
JakFrist[WVU] has joined #ruby
AndrewIsHere has joined #ruby
JakFrist[WVU] has quit [Client Quit]
jhack has quit [Ping timeout: 248 seconds]
jaguarmagenta has joined #ruby
codfection has quit [Max SendQ exceeded]
codfection has joined #ruby
brendan- has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
AndrewIsHere has quit [Ping timeout: 240 seconds]
Gerak has left #ruby [#ruby]
Guest30569 has quit [Changing host]
Guest30569 has joined #ruby
Guest30569 is now known as Nicmavr
kuSuSE has joined #ruby
nettoweb has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
daed has quit [Quit: leaving]
dayd is now known as daed
daed has quit [Changing host]
daed has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
konsolebox has joined #ruby
arknemona has joined #ruby
<PaulePanter> Hi. Is there an easy way to get all 10⁶ possibilities for [0, 0, 0, 0, 0, 0]?
<PaulePanter> That means each combination of digits 0 to 9 in that array.
BrianJ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<PaulePanter> My stupid solution is to create six for loops.
<arknemona> what's the most straightforward way to throw an error if a hash key doesn't exist?
<arknemona> is there a method of Hash to do this?
marr has quit [Ping timeout: 258 seconds]
<Gravious> PaulePanter, you could try it recursively perhaps? so the possibilities for a list of length n is (0..9).each { |x| x + possibilities for list of length n - 1 } ?
gbgdev_ has joined #ruby
gbgdev has quit [Ping timeout: 252 seconds]
stan has joined #ruby
<apeiros> PaulePanter: (programmatical effort wise) cheap: 1e6.to_i.times do |i| ("%06d" % i).chars.map(&:to_i) end
<apeiros> errr, misses a map after .times
n008f4g_ has joined #ruby
emilford has joined #ruby
<apeiros> alternatively either your nested loops or a single loop with a nested divmod loop
brendan- has joined #ruby
xall has joined #ruby
amclain has joined #ruby
stan has quit [Client Quit]
<adaedra> Array.new(n) { x } > n.times.map { x |
<apeiros> wow. totally. why did I say n.times.map?
<apeiros> must be the drugs/medicine :-S
stan_ has joined #ruby
<Gravious> apeiros, that's nice
<Gravious> i mean your solution not your comment about drugs :D
stan_ is now known as stan
<apeiros> thanks
h1fuelcell has joined #ruby
lmc has joined #ruby
Snickers has quit [Quit: Snickers]
<apeiros> I think I have Integer#digits(base: 10, pad: 0) for that in my snippets somewhere…
<apeiros> Array.new(1e6.to_i) { |i| i.digits(pad: 6) } # with that
<adaedra> apeiros: that's nice
<adaedra> i mean drugs, not your solution
* adaedra disappears
<apeiros> I guess they are. I prefer that over pain :-p
<adaedra> pain for breakfast <3
h1fuelcell has quit [Ping timeout: 248 seconds]
Ishido has joined #ruby
BrianJ has joined #ruby
pskosinski_ is now known as pskosinski
SpiffTR has quit [Quit: Leaving.]
<Bish> can i somehow create proc with a binding to a current scope?
the_drow has joined #ruby
<PaulePanter> apeiros: Thank you, that’s nice.
<Bish> i want to create a proc which i can give gsub as a block
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Bish> and it doesn't have the magic variables $~ $&
<Bish> since it's in a different scope
gheegh has quit [Ping timeout: 264 seconds]
Guest50076 has joined #ruby
mark_66 has left #ruby ["PART #RubyOnRails :PART #elixir-lang :PART #crystal-lang :PING 1481817502"]
<Bish> wow that's a buggy irc client
<elomatreb> Bish: Can't you have gsub pass in the MatchData object?
Kazlock has joined #ruby
<Bish> no gsub gives me the match as a string
<elomatreb> Bish: Yeah, I just read that too. nvm then
h1fuelcell has joined #ruby
<Bish> and i am using the same gsub block over and over again
antoniobeyah has joined #ruby
aganov has quit [Remote host closed the connection]
OTORelic2 has joined #ruby
<Bish> so i thought i might make a proc out of that
<Bish> but that one is losing the scope the regex is done in
<Bish> does that change if i make it a method?
<elomatreb> Give gsub a block that uses the global variables where they are visible, and pass them explicitely to a proc?
psychicist__ has quit [Ping timeout: 245 seconds]
<Bish> elomatreb: possible
chouhoulis has joined #ruby
Snickers has joined #ruby
lmc has quit [Quit: Leaving...]
pawnbox has joined #ruby
lmc has joined #ruby
andikr has quit [Remote host closed the connection]
millerti has joined #ruby
vondruch has quit [Ping timeout: 256 seconds]
<Bish> ahh this all bulshit
tyang__ has joined #ruby
nfk has joined #ruby
blackwind_123 has joined #ruby
<Bish> >> p = Proc.new { p $&,$~ }; "test".gsub(/./,&p)
<ruby[bot]> Bish: # => "t" ...check link for more (https://eval.in/698374)
SpiffTR has joined #ruby
Snickers has quit [Quit: Snickers]
<Bish> >> p = Proc.new { Proc.new { p $&,$~ }; } "test".gsub(/./,&p.call)
<ruby[bot]> Bish: # => /tmp/execpad-342e28a40c65/source-342e28a40c65:2: syntax error, unexpected tSTRING_BEG, expecting key ...check link for more (https://eval.in/698381)
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Bish> i cannot even reproduce it ;;
nullobject has joined #ruby
conta has quit [Ping timeout: 268 seconds]
tyang has quit [Ping timeout: 250 seconds]
<Bish> >> class Derp; def subber(*args); p $~,$&; end; def do;"test".gsub(/./,&method(:subber)) end;end;Derp.new.do;
<ruby[bot]> Bish: # => nil ...check link for more (https://eval.in/698387)
<Bish> who can fix this for me :(
<konsolebox> PaulePanter: (0..9).to_a.repeated_permutation(6)
loincloth has joined #ruby
jhack has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
shayan has joined #ruby
<PaulePanter> konsolebox: Interesting. I didn’t know that one.
chouhoulis has quit [Remote host closed the connection]
<tekeli-li> noob here. what is `p $~,$&`?
<Bish> so called "magic variables" with are global
chouhoulis has joined #ruby
<Bish> in case you use a regex these hold a) the full match, even if you only requested a group b) the matchData object
SesMan has joined #ruby
<tekeli-li> Looks like ASCII soup tho o.o
<adaedra> There are probably more readable versions
<Bish> >> "abc".scan(/.(.)/) { |real_match| P [real_match,$~,$&] }
<ruby[bot]> Bish: # => undefined method `P' for main:Object ...check link for more (https://eval.in/698396)
<Bish> >> "abc".scan(/.(.)/) { |real_match| p [real_match,$~,$&] }
<ruby[bot]> Bish: # => [["b"], #<MatchData "ab" 1:"b">, "ab"] ...check link for more (https://eval.in/698398)
<tekeli-li> welp, guess i'll learn eventually
<adaedra> learn2type
<adaedra> tekeli-li: of course
<adaedra> ?cheatsheet
<ruby[bot]> adaedra: I don't know anything about cheatsheet
* adaedra throws ruby[bot] in a fire
* tekeli-li helps ruby[bot] up, dusts off its shoulder and invites it for a coffee
<elomatreb> `require "english"` is great
<adaedra> tekeli-li: you have a list of globals here: https://docs.ruby-lang.org/en/2.3.0/globals_rdoc.html
<adaedra> yay perlisms?
AndrewIsHere has joined #ruby
Devalo has joined #ruby
<tekeli-li> adaedra, I really hate Perl. Bad memories from horrible teachers.
<adaedra> require English then. :D
nullobject has quit [Ping timeout: 240 seconds]
<Bish> that scoping problem seems to be really hard
<Bish> some of the not-so-often-seen limits of ruby as it seems
<elomatreb> Well, in all my time programming Ruby I never *had* to use the global Regex vars, usually there is some solution using MatchData
<Bish> yeah how do i simulate gsub
edwinvdgraaf has quit [Ping timeout: 258 seconds]
<Bish> it's c-code
<Bish> surely don't want MRI-C-Code
symm has quit [Quit: Leaving...]
<Bish> and writing my own gsub implementation will be slower and have more bugs
<elomatreb> Have you tried my suggestion from earlier?
arknemona has quit [Ping timeout: 260 seconds]
SpiffTR1 has joined #ruby
Derderderd has quit [Ping timeout: 248 seconds]
<OTORelic2>
SpiffTR has quit [Read error: Connection reset by peer]
ishe_ua has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
<Bish> elomatreb: yeah that will work, sure, but it won't be as pretty
<elomatreb> Sorry, best I could come up with
<Bish> yeah same here
<Bish> np, this seems not to be solveable easily
Kazlock has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
codfection has quit [Ping timeout: 265 seconds]
XV8 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LuckyABA has joined #ruby
bradleyprice has quit [Remote host closed the connection]
teclator has quit [Remote host closed the connection]
yardenbar has joined #ruby
Shashikant86 has joined #ruby
Salih has quit [Ping timeout: 248 seconds]
arknemona has joined #ruby
_djbkd has quit [Remote host closed the connection]
SpiffTR1 has quit [Quit: Leaving.]
djbkd has joined #ruby
djbkd_ has joined #ruby
teclator has joined #ruby
elastix has quit [Quit: Leaving]
Jackneill_ has joined #ruby
last_staff has quit [Quit: last_staff]
pawnbox has joined #ruby
djbkd has quit [Ping timeout: 258 seconds]
Dimik has joined #ruby
chouhoulis has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
elastix has joined #ruby
grenierm has joined #ruby
[Butch] has joined #ruby
dviola has joined #ruby
shayan has quit [Quit: shayan]
impermanence has joined #ruby
<impermanence> After gem install rake all goes good I get "rake: command not found"? Is there a default install path (RHEL) or...? What am I missing here?
nankyokusei has joined #ruby
codfection has joined #ruby
codfection has quit [Max SendQ exceeded]
codfection has joined #ruby
jsrn_ has quit [Quit: Leaving]
psychicist__ has joined #ruby
brendan- has joined #ruby
nowz has quit [Remote host closed the connection]
yeticry has quit [Ping timeout: 258 seconds]
synthroi_ has quit [Remote host closed the connection]
yeticry has joined #ruby
Robtop__ has quit [Read error: Connection reset by peer]
<impermanence> K, so added to path and good now.
<impermanence> :)
rlex has quit [Ping timeout: 246 seconds]
patronus has quit [Read error: No route to host]
sjums has quit [Quit: Connection reset by beer]
xall has quit [Ping timeout: 248 seconds]
tabakhase has quit [Ping timeout: 265 seconds]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lel has quit [Ping timeout: 250 seconds]
pwnd_nsfw has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
optiz0r has quit [Remote host closed the connection]
sjums has joined #ruby
lel has joined #ruby
patteh has quit [Remote host closed the connection]
xall has joined #ruby
patteh has joined #ruby
Dimik has quit []
rlex has joined #ruby
yaw has joined #ruby
tabakhase has joined #ruby
optiz0r has joined #ruby
bradleyprice has joined #ruby
tercenya has joined #ruby
enterprisey has joined #ruby
jdawgaz has joined #ruby
xall has quit [Ping timeout: 268 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Chair has quit [Ping timeout: 258 seconds]
eightbitraptor has quit [Ping timeout: 250 seconds]
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aufi has quit [Quit: Leaving]
shayan has joined #ruby
Derderderd has joined #ruby
blackbombay has joined #ruby
jrmhurst92 has joined #ruby
jaguarmagenta has joined #ruby
jinie has quit [Ping timeout: 250 seconds]
the_drow has joined #ruby
nullobject has joined #ruby
pawnbox has quit [Remote host closed the connection]
SpiffTR has joined #ruby
grenierm has quit [Quit: grenierm]
jaguarmagenta has quit [Ping timeout: 252 seconds]
gbgdev_ has quit [Remote host closed the connection]
tyang has joined #ruby
tyang has quit [Read error: Connection reset by peer]
tyang has joined #ruby
Beams has quit [Quit: .]
tyang has quit [Client Quit]
SpiffTR has quit [Client Quit]
raul782 has joined #ruby
johnmilton has quit [Ping timeout: 248 seconds]
pawnbox has joined #ruby
tyang__ has quit [Ping timeout: 250 seconds]
jinie has joined #ruby
aupadhye has quit [Quit: Leaving]
claudiuinberlin has quit []
antoniobeyah has quit [Quit: antoniobeyah]
fullofcaffeine has joined #ruby
XV8 has joined #ruby
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
shayan has quit [Quit: shayan]
johnmilton has joined #ruby
shayan has joined #ruby
AndrewIsHere has quit []
antoniobeyah has joined #ruby
synthroid has joined #ruby
splud has joined #ruby
antoniobeyah has quit [Client Quit]
synthroid has quit [Remote host closed the connection]
nullobject has quit [Ping timeout: 268 seconds]
synthroid has joined #ruby
antoniobeyah has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ycyclist has joined #ruby
shayan has quit [Quit: shayan]
n008f4g_ has quit [Ping timeout: 265 seconds]
weaksauce has quit [Ping timeout: 244 seconds]
<arknemona> impermanence obviously ruby gems path isn't in your $PATH
Guest50076 has quit [Remote host closed the connection]
<arknemona> oops I missed the next message
tyang has joined #ruby
enterprisey has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
synthroi_ has joined #ruby
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
MrBusiness2 has quit [Quit: https://www.youtube.com/watch?v=xIIqYqtR1lY -- Suicide is Painless - Johnny Mandel]
yaw has quit [Ping timeout: 258 seconds]
psmolen has quit [Ping timeout: 256 seconds]
psmolen has joined #ruby
synthroid has quit [Ping timeout: 264 seconds]
yaw has joined #ruby
gbgdev has joined #ruby
vdl has joined #ruby
psychicist__ has quit [Quit: Lost terminal]
the_drow has quit [Quit: This computer has gone to sleep]
nowz has joined #ruby
djbkd has joined #ruby
tomphp has quit [Ping timeout: 258 seconds]
loincloth has quit []
loincloth has joined #ruby
yaw has quit [Ping timeout: 258 seconds]
bturker has quit [Ping timeout: 256 seconds]
xall has joined #ruby
OTORelic2 has quit [Ping timeout: 256 seconds]
Tanfrieze has quit [Read error: Connection reset by peer]
ldnunes has quit [Read error: Connection reset by peer]
synthroid has joined #ruby
ldnunes has joined #ruby
sp4rrow has joined #ruby
psychicist__ has joined #ruby
symm has joined #ruby
synthroi_ has quit [Ping timeout: 258 seconds]
djbkd has quit [Quit: My people need me...]
jtdoncas has joined #ruby
xall has quit [Ping timeout: 250 seconds]
hotpancakes has joined #ruby
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
gbgdev has quit [Remote host closed the connection]
eugenmayer1 has joined #ruby
<eugenmayer1> is there any elegant trick for this http://pastebin.com/3Fnap7SB to check, if storage exists at all, so no exception is thrown?
<ruby[bot]> eugenmayer1: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/d1fb04179f2f76b6595cae11f02b2fdb
<ruby[bot]> eugenmayer1: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<djellemah> eugenmayer1: @config.dig('storage','main') || '/mnt/data'
StoneCypher has joined #ruby
<eugenmayer1> djellemah: i read about .try .. but that is not similar?
<StoneCypher> what's the preferred new-to-ruby not-new-to-programming book
SpiffTR has joined #ruby
<marahin> Hello. What's the up-to-date approach when it comes to creating simple GUI in Ruby? The only key is that it has to be cross-platform and/or best looking on macOS.
yaw has joined #ruby
bradleyprice has quit [Ping timeout: 252 seconds]
<eugenmayer1> StoneCypher: i would say, ruby is one of the worsed languages to profit from prior development experience. The reason is, the magic and the weak typing / modules / includes and all this sugar. Basically, what i can give you is, try to not avoid learning ruby as you would do with any usual programing language ( where you would map concepts of the language you know to the new language on demand )
synthroi_ has joined #ruby
djbkd has joined #ruby
<eugenmayer1> StoneCypher: ruby needs to be explicitly learned, no way around it - since it is not a language, its mostly a framework included ( not rails only, also the usual language ).
<Gravious> StoneCypher, i thought pick axe was fine for this
hotpancakes has quit [Remote host closed the connection]
<Gravious> in fact i've not finished yet
<StoneCypher> Gravious: what's the full name of pickaxe, please?
* Gravious is quite new to Ruby but not new to programming
<StoneCypher> lovely, thanks much
<eugenmayer1> djellemah: is .dig 2.1+ ?
gbgdev has joined #ruby
duderonomy has quit [Ping timeout: 250 seconds]
<eugenmayer1> .dig?
<eugenmayer1> hash.dig?
<eugenmayer1> arg, 2.3.0 ;/ Any alternatives to this on 2.1?
synthroid has quit [Ping timeout: 258 seconds]
SpiffTR has quit [Quit: Leaving.]
synthroid has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
TomyLobo has joined #ruby
shayan has joined #ruby
n008f4g_ has joined #ruby
nowz has quit [Remote host closed the connection]
synthroi_ has quit [Ping timeout: 260 seconds]
nowz has joined #ruby
conta has joined #ruby
whathappens has joined #ruby
hotpancakes has joined #ruby
minimalism has quit [Quit: minimalism]
<marahin> so are there any GUI libraries for Ruby that are up-to-date and look good on macOS/Windows?
howdoi has quit [Quit: Connection closed for inactivity]
<StoneCypher> ugh, pragprog still isn't on kindle? :(
h1fuelcell has quit [Remote host closed the connection]
<havenwood> marahin: Up until Ruby 2.4 tk shipped with the Ruby stdlib. It'll now be a gem but its probably one of the more-often-used ones for Ruby.
<djellemah> marahin: You could try Qt https://github.com/ryanmelt/qtbindings probably pita to get your app installed on windows though.
conta has quit [Ping timeout: 260 seconds]
<marahin> djellemah perfect way would be to "package" the script with the graphical environment required to run it
<marahin> i think shoes did it back in the day
cout has joined #ruby
<cout> LOL, I just found the Poken I got at rubyconf one year at the bottom of a box
jshjsh has quit [Quit: Leaving]
frozengeek has quit [Quit: frozengeek]
conta has joined #ruby
minimalism has joined #ruby
Salih has joined #ruby
Salih has quit [Changing host]
Salih has joined #ruby
nullobject has joined #ruby
enilsen16 has joined #ruby
pwnd_nsfw` has joined #ruby
hotpanca_ has joined #ruby
shayan has quit [Quit: shayan]
berndl has joined #ruby
beawesomeinstead has quit [Read error: Connection reset by peer]
beawesomeinstead has joined #ruby
hotpancakes has quit [Ping timeout: 268 seconds]
pwnd_nsfw has quit [Ping timeout: 258 seconds]
bturker has joined #ruby
bradleyprice has joined #ruby
eugenmayer1 has left #ruby [#ruby]
benlieb has joined #ruby
ldnunes has quit [Ping timeout: 258 seconds]
conta has quit [Ping timeout: 258 seconds]
bturker has quit [Ping timeout: 256 seconds]
jcao219 has joined #ruby
StoneCypher has quit [Quit: leaving]
jenrzzz has joined #ruby
<benlieb> i sure would like to have a “?” in my variable names sometimes...
claudiuinberlin has joined #ruby
Kazlock has joined #ruby
xall has joined #ruby
b0nn has quit [Quit: leaving]
rakm has joined #ruby
b0nn has joined #ruby
Gravious has quit [Remote host closed the connection]
Jackneill_ has quit [Remote host closed the connection]
b0nn has quit [Client Quit]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
b0nn has joined #ruby
Lord_of_Life has quit [Excess Flood]
nullobject has quit [Ping timeout: 250 seconds]
ldnunes has joined #ruby
yeticry has quit [Ping timeout: 256 seconds]
Sirithcam has joined #ruby
gbgdev_ has joined #ruby
gbgdev has quit [Ping timeout: 265 seconds]
yeticry has joined #ruby
gbgdev has joined #ruby
ramortegui has quit [Ping timeout: 240 seconds]
Lord_of_Life has joined #ruby
Salih has quit [Ping timeout: 268 seconds]
gbgdev_ has quit [Ping timeout: 260 seconds]
johnmilton has quit [Ping timeout: 268 seconds]
baconoverflow_ has joined #ruby
baconoverflow_ is now known as BaconOverflow
nowz has quit [Quit: Leaving]
ta_ has quit [Remote host closed the connection]
raul782 has quit [Remote host closed the connection]
nikivi has joined #ruby
jdawgaz has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has quit [Ping timeout: 252 seconds]
AnoHito has joined #ruby
skalfyfan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marxarelli has joined #ruby
enoch85 has quit [Ping timeout: 246 seconds]
LoneHerm_ has joined #ruby
Paradox has quit [Ping timeout: 265 seconds]
jtdoncas has quit [Ping timeout: 260 seconds]
enoch85 has joined #ruby
enoch85 has joined #ruby
enoch85 has quit [Changing host]
bturker has joined #ruby
jaguarmagenta has joined #ruby
MrBusiness2 has joined #ruby
cschneid_ has joined #ruby
lenwood has joined #ruby
johnmilton has joined #ruby
Kazlock has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 240 seconds]
bturker has quit [Ping timeout: 256 seconds]
jaguarmagenta has quit [Ping timeout: 260 seconds]
soc42 has joined #ruby
byte512 has quit [Ping timeout: 250 seconds]
is_null has quit [Changing host]
is_null has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
cosmicfires has left #ruby ["Leaving"]
nankyokusei has quit [Remote host closed the connection]
jcao219 has quit [Ping timeout: 256 seconds]
nankyokusei has joined #ruby
whathappens has quit [Remote host closed the connection]
fullofcaffeine has quit [Remote host closed the connection]
whathappens has joined #ruby
cdg_ has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
enilsen16 has quit [Quit: enilsen16]
nunchuck has joined #ruby
hotpancakes has joined #ruby
ixti has joined #ruby
whathappens has quit [Ping timeout: 246 seconds]
nullobject has joined #ruby
harfangk has joined #ruby
nettoweb has joined #ruby
muelleme has joined #ruby
banisterfiend has quit [Ping timeout: 260 seconds]
rgiscard has joined #ruby
Kazlock has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
dcluna has quit [Read error: No route to host]
nankyokusei has quit [Ping timeout: 260 seconds]
fullofcaffeine has joined #ruby
Paradox has joined #ruby
hotpanca_ has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
mistergibson has joined #ruby
johnmccabe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
synthroi_ has joined #ruby
<harfangk> >> [*"A".."Z"]
<ruby[bot]> harfangk: # => ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", ...check link for more (https://eval.in/698600)
sdwrage has quit [Quit: Leaving]
<harfangk> what does that * stand for in this bit of code? I've looked at Array and Range but can't find anything about it
cfec0b8d has joined #ruby
jtdoncas has joined #ruby
synthroid has quit [Ping timeout: 260 seconds]
raul782 has joined #ruby
biberu has quit [Read error: Connection reset by peer]
psychicist__ has quit [Ping timeout: 264 seconds]
johnmilton has quit [Quit: Namaste]
kuSuSE has quit [Quit: Konversation terminated!]
Fernando-Basso has quit [Quit: Leaving]
enilsen16 has joined #ruby
<cfec0b8d> Hi! Who know why construction line this https://gist.github.com/killer2tester/5b90e79e0a151677af7f8c1500f732d9 not working?
synthroid has joined #ruby
<cfec0b8d> ruby version ruby 2.3.1p112 (2016-04-26)
jcao219 has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
symm has quit [Ping timeout: 246 seconds]
synthroi_ has quit [Ping timeout: 246 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
<djellemah> harfangk: it's called a splat and it works by calling to_a on its operand, in this case ("A".."Z").to_a . It's also used to declare variable parameters to a method.
dcluna has joined #ruby
symm has joined #ruby
<Eiam> djellemah: not a fan of that example of splat usage at all =(
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Eiam> [*"A"...
<Eiam> cfec0b8d: match returns <MatchData>
wrkrcoop has joined #ruby
<Eiam> cfec0b8d: there could be multiple matches returned
<Eiam> you may want to look at =~
<cfec0b8d> Eiam: i try but its same not match
ramortegui has joined #ruby
SpiffTR has joined #ruby
wrkrcoop has left #ruby [#ruby]
<harfangk> djellemah thank you! this is a quite strange usage of splat
<Eiam> harfangk: yeah like I said, not a fan of that usage personally, but w/e =)
<djellemah> imo it makes a bit more sense when you're constructing an array from different sources: rest = [4,5,6]; [1,2,3, *rest]
<harfangk> i think the line of code i was looking at was a result out of golf
<harfangk> hence use of *
<Eiam> cfec0b8d: >> line = "PWRB"; if line.match("PWRB") puts "yahoo" end
<djellemah> [*?A..?Z]
<Eiam> >> line = "PWRB"; if line.match("PWRB") puts "yahoo" end
<ruby[bot]> Eiam: # => /tmp/execpad-e7cc997b247c/source-e7cc997b247c:2: syntax error, unexpected tIDENTIFIER, expecting key ...check link for more (https://eval.in/698606)
<Eiam> bah w/e. drop it in irb, it works fine
<djellemah> >> [*?A..?Z]
<ruby[bot]> djellemah: # => ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", ...check link for more (https://eval.in/698607)
nullobject has quit [Ping timeout: 265 seconds]
Devalo has quit [Remote host closed the connection]
<harfangk> heh
<harfangk> how does that ? work like that?
banisterfiend has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Devalo has joined #ruby
<djellemah> It's for single-character string literals :-O
<Eiam> cfec0b8d: I'd rather use if /pwrb/i =~ line
<Eiam> or whatever regex you wanted
rodfersou|lunch has quit [Quit: leaving]
hahuang61 has joined #ruby
<harfangk> interesting
<harfangk> there's always small surprises in weird corners of ruby
inukshuk has quit [Ping timeout: 246 seconds]
sneakerhax has quit [Quit: Back later]
johnmilton has joined #ruby
h1fuelcell has quit [Ping timeout: 248 seconds]
symm has quit [Quit: Leaving...]
<djellemah> >> [*?⚀..?⚅].sample
<ruby[bot]> djellemah: # => "⚂" (https://eval.in/698610)
inukshuk has joined #ruby
vuoto has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
ldnunes has quit [Quit: Leaving]
meshsmith has joined #ruby
<djellemah> I didn't invent that, just passing it on.
synthroi_ has joined #ruby
bturker has joined #ruby
skalfyfan has joined #ruby
AnoHito_ has joined #ruby
inukshuk has quit [Ping timeout: 250 seconds]
synthroid has quit [Ping timeout: 258 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
djbkd has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 258 seconds]
hahuang65 has joined #ruby
sp4rrow has joined #ruby
inukshuk has joined #ruby
AnoHito has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
Fernando-Basso has joined #ruby
djbkd_ has quit [Ping timeout: 268 seconds]
terens has quit [Disconnected by services]
rakm has joined #ruby
soc42 has quit [Remote host closed the connection]
terens_ has joined #ruby
yaw has quit [Ping timeout: 264 seconds]
chouhoul_ has joined #ruby
prestorium has quit [Read error: Connection reset by peer]
<shadeslayer> hey, so I have this class which mixes in the observable module, is there a way to test that Observable.changed and Observable.notify_observers are called?
jaruga___ has quit [Quit: jaruga___]
chouhoulis has quit [Ping timeout: 245 seconds]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
enilsen16 has quit [Quit: enilsen16]
_djbkd has joined #ruby
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby
TheBrayn has quit [Quit: WeeChat 1.5]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
enilsen16 has joined #ruby
nikivi has quit [Quit: zzz]
Robtop__ has joined #ruby
mochiyoda_ has joined #ruby
nikivi has joined #ruby
<tekeli-li> What does this mean at the top of a .rb file? `# -*- ruby -*-`
blackwind_123 has quit [Ping timeout: 252 seconds]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
TheBrayn has joined #ruby
Paradox has quit [Remote host closed the connection]
_djbkd has quit [Ping timeout: 252 seconds]
sdothum has joined #ruby
Paradox has joined #ruby
sp4rrow has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 258 seconds]
enilsen16 has quit [Quit: enilsen16]
<shadeslayer> oh
<shadeslayer> so I made a stub module with attribute accessors, and module_eval'd it into the class I was testing :)
hogetaro has joined #ruby
johnmilton has quit [Ping timeout: 252 seconds]
jenrzzz_ has joined #ruby
<arknemona> speaking of attributes, what does the `attribute` keyword do?
<arknemona> is an attribute in ruby different from a instance variable?
johnmilton has joined #ruby
tildes has joined #ruby
jcao219 has quit [Ping timeout: 258 seconds]
johnmilton has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 245 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackwind_123 has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
marr has joined #ruby
muelleme has quit [Ping timeout: 248 seconds]
<tekeli-li> Oh, is that an Emacs thing?
Dimik has joined #ruby
d0nn1e has quit [Ping timeout: 260 seconds]
frozengeek has joined #ruby
CalimeroTeknik has joined #ruby
<CalimeroTeknik> hello! has anyone found a ruby expression that looks like an English sentence? for fun
synthroi_ has quit []
<CalimeroTeknik> with print, if, unless, while, or, not there is some material
XV8 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xall has quit [Ping timeout: 265 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
d0nn1e has joined #ruby
<tekeli-li> Yes, answered my own Q: https://stackoverflow.com/a/12180609
rwb has quit [Ping timeout: 260 seconds]
tildes has quit [Ping timeout: 265 seconds]
nullobject has joined #ruby
nikivi has quit [Quit: irc]
majjoha has joined #ruby
raul782 has quit [Read error: Connection reset by peer]
nofxx has joined #ruby
<majjoha> I am a bit in doubt. Is there effectively any difference between `Hash.new([])`, and `Hash.new {|h,k| h[k] = [] }`?
cdg has joined #ruby
gheegh has joined #ruby
h1fuelcell has joined #ruby
<canton7> yeah, what happens when you try and access an item which doesn't exist, for a start
tyang__ has joined #ruby
Sirithcam has quit [Ping timeout: 245 seconds]
<canton7> the first one returns the same array element for each unknown key, but the second creates a new array
<canton7> try h[1] << 2; h[2]
<majjoha> Ah. Makes sense. Thanks.
raul782 has joined #ruby
sepp2k has quit [Quit: Leaving.]
tyang has quit [Ping timeout: 252 seconds]
skalfyfan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
tyang__ has quit [Ping timeout: 250 seconds]
_djbkd has joined #ruby
jcao219 has joined #ruby
montanonic has joined #ruby
quazimodo has joined #ruby
nankyokusei has joined #ruby
lxsameer has joined #ruby
jaguarmagenta has joined #ruby
araujo has quit [Ping timeout: 252 seconds]
araujo has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Ping timeout: 252 seconds]
last_staff has quit [Quit: last_staff]
last_staff has joined #ruby
Jayson_Virissimo has joined #ruby
raul782 has quit [Ping timeout: 252 seconds]
Puffball has quit [Remote host closed the connection]
raul782 has joined #ruby
ryan_notabot has quit [Quit: Leaving]
ramfjord has joined #ruby
Puffball has joined #ruby
Michael-Dot has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
meshsmith_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 250 seconds]
GodFather has joined #ruby
codfection has quit [Remote host closed the connection]
yaewa has quit [Quit: Leaving...]
Cohedrin has joined #ruby
ryan_notabot has joined #ruby
ryan_notabot has quit [Read error: Connection reset by peer]
meshsmith has quit [Ping timeout: 258 seconds]
ryan_notabot has joined #ruby
nullobject has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
moei has joined #ruby
konsolebox has quit [Quit: Leaving]
muelleme has joined #ruby
raul782 has quit [Ping timeout: 245 seconds]
Michael-Dot has quit []
chouhoul_ has quit [Remote host closed the connection]
lenwood has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
Gravious has joined #ruby
agent_white has joined #ruby
h1fuelcell has quit [Ping timeout: 248 seconds]
antoniobeyah has quit [Quit: antoniobeyah]
xall has joined #ruby
mikecmpbll has joined #ruby
johnmccabe has joined #ruby
skalfyfan has joined #ruby
LoneHermit has joined #ruby
lmc has quit [Quit: Leaving...]
xall has quit [Ping timeout: 265 seconds]
vuoto has quit [Remote host closed the connection]
rwb has joined #ruby
pwnd_nsfw` has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
berndl has quit [Ping timeout: 258 seconds]
cibs has joined #ruby
muelleme has quit [Ping timeout: 248 seconds]
frozengeek_ has joined #ruby
Robtop__ has quit [Ping timeout: 240 seconds]
aryaching has quit [Ping timeout: 258 seconds]
elastix has quit [Quit: Leaving]
frozengeek has quit [Ping timeout: 245 seconds]
gheegh_ has joined #ruby
gheegh has quit [Ping timeout: 260 seconds]
Gravious has quit [Remote host closed the connection]
Gravious has joined #ruby
skalfyfan has quit [Read error: Connection reset by peer]
nullobject has joined #ruby
devster31 has quit [Ping timeout: 246 seconds]
teclator has quit [Ping timeout: 258 seconds]
ramfjord has quit [Ping timeout: 256 seconds]
teclator has joined #ruby
Gravious_ has joined #ruby
tommylommykins has quit [Ping timeout: 265 seconds]
Bilge has quit [Ping timeout: 260 seconds]
last_staff has quit [Quit: last_staff]
c355e3b has joined #ruby
CustosLimen has quit [Ping timeout: 268 seconds]
sjums has quit [Quit: Connection reset by beer]
Gravious has quit [Ping timeout: 258 seconds]
SpiffTR has quit [Quit: Leaving.]
devster31 has joined #ruby
jtdoncas has quit [Ping timeout: 258 seconds]
CustosLimen has joined #ruby
Bilge has joined #ruby
sjums has joined #ruby
enilsen16 has joined #ruby
pwnd_nsfw has joined #ruby
aibot has quit [Read error: Connection reset by peer]
aibot has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 240 seconds]
lxsameer has quit [Quit: WeeChat 1.6]
gloscombe has joined #ruby
nikivi has joined #ruby
tommylommykins has joined #ruby
mochiyoda has joined #ruby
millerti has joined #ruby
aibot has quit [Remote host closed the connection]
aibot has joined #ruby
nettoweb has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
frozengeek_ has quit [Quit: frozengeek_]
malconis has quit [Read error: Connection reset by peer]
mochiyoda_ has quit [Ping timeout: 258 seconds]
Immune_ has quit [Ping timeout: 248 seconds]
hahuang61 has joined #ruby
ramortegui has quit [Read error: Connection reset by peer]
MrBusiness2 has quit [Quit: https://www.youtube.com/watch?v=xIIqYqtR1lY -- Suicide is Painless - Johnny Mandel]
gbgdev has quit [Remote host closed the connection]
aryaching has joined #ruby
dnicole has quit [Remote host closed the connection]
dnicole has joined #ruby
hahuang61 has quit [Ping timeout: 245 seconds]
dcluna has quit [Quit: ZNC - http://znc.in]
minimalism has quit [Quit: minimalism]
dcluna has joined #ruby
shayan has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dnicole has quit [Ping timeout: 258 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
hahuang61 has joined #ruby
nikivi has quit [Quit: irc]
saneax-_-|AFK is now known as saneax
Cohedrin has quit [Client Quit]
aibot has quit [Remote host closed the connection]
aibot has joined #ruby
BaconOverflow has quit [Quit: Connection closed for inactivity]
Qommand0r has quit [Ping timeout: 245 seconds]
enilsen16 has quit [Quit: enilsen16]
workmad3 has joined #ruby
jhack has quit [Quit: jhack]
bturker has joined #ruby
benlieb has quit [Quit: benlieb]
minimalism has joined #ruby
Sammichmaker has quit [Quit: Leaving]
Qommand0r has joined #ruby
dcluna has quit [Quit: ZNC - http://znc.in]
Cohedrin has joined #ruby
quazimodo has quit [Ping timeout: 265 seconds]
dcluna has joined #ruby
claudiuinberlin has quit []
bturker has quit [Ping timeout: 256 seconds]
saneax is now known as saneax-_-|AFK
Jayson_Virissimo has quit []
jhack has joined #ruby
jdawgaz has joined #ruby
raul782 has joined #ruby
aibot has quit [Remote host closed the connection]
aibot has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
elastix has joined #ruby
dnicole has joined #ruby
bradleyprice has quit [Remote host closed the connection]
fooqri has joined #ruby
fooqri has quit [Max SendQ exceeded]
harai_ has joined #ruby
dcluna has quit [Quit: ZNC - http://znc.in]
fooqri has joined #ruby
fooqri has quit [Max SendQ exceeded]
nankyokusei has joined #ruby
splud has quit [Quit: splud]
Gravious_ is now known as Gravious
lacour has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
dnicole has quit [Remote host closed the connection]
dcluna has joined #ruby
saneax-_-|AFK is now known as saneax
nankyokusei has quit [Ping timeout: 264 seconds]
dcluna has quit [Read error: No route to host]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
dcluna has joined #ruby
LoneHermit has quit [Remote host closed the connection]
frozengeek_ has joined #ruby
hotpancakes has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 250 seconds]
cfec0b8d has quit [Ping timeout: 260 seconds]
pwnd_nsfw has joined #ruby
workmad3 has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Anonymoose2 has quit [Ping timeout: 240 seconds]
jtdoncas has joined #ruby
tyang has joined #ruby
bradleyprice has joined #ruby
MrBusiness2 has joined #ruby
bogn has quit [Remote host closed the connection]
BrianJ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tyang__ has joined #ruby
immune has joined #ruby
tyang__ has quit [Client Quit]
bradleyprice has quit [Ping timeout: 250 seconds]
bradleyprice has joined #ruby
jaguarmagenta has joined #ruby
johnny56_ has quit [Ping timeout: 246 seconds]
johnny56 has joined #ruby
dcluna has quit [Quit: ZNC - http://znc.in]
tyang has quit [Ping timeout: 258 seconds]
<montanonic> Anyone here using Opal in production? It seems like no one has been talking about it this year, as evidenced by the fact that almost every post and article about Opal is from 2015.
jhack has quit [Quit: jhack]
jaguarmagenta has quit [Ping timeout: 246 seconds]
jhack has joined #ruby
yeticry has quit [Ping timeout: 260 seconds]
statelesscode has joined #ruby
yeticry has joined #ruby
statelesscode_ has quit [Ping timeout: 265 seconds]
jhack has quit [Client Quit]
toretore has quit [Ping timeout: 256 seconds]
angelixd has joined #ruby
jhack has joined #ruby
jhack has quit [Client Quit]
govg has quit [Ping timeout: 268 seconds]
hollusion has joined #ruby
BrianJ has joined #ruby
hollusion has quit [Quit: Leaving]
aryaching has quit [Ping timeout: 250 seconds]
<Radar> Everyone's using Elixir instead.
GodFather has quit [Ping timeout: 252 seconds]
pcmantz has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
h1fuelcell has joined #ruby
<montanonic> There's no ElixirJS
quazimodo has joined #ruby
xall has joined #ruby
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 260 seconds]
dcluna has joined #ruby
hightower2 has joined #ruby
marxarelli is now known as marxarelli|afk
bturker has joined #ruby
<al2o3-cr> shit happenzz
Fernando-Basso has quit [Quit: WeeChat 1.6]
hightower3 has quit [Ping timeout: 258 seconds]
xall has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
polishdub has quit [Quit: Leaving]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
bturker has quit [Ping timeout: 256 seconds]
elastix has quit [Quit: Leaving]
koooge has joined #ruby
Gravious has quit [Ping timeout: 256 seconds]
Gravious has joined #ruby
ruby-lang108 has joined #ruby
jtdoncas has quit [Quit: WeeChat 1.5]
ruby-lang108 has quit [Client Quit]
<Radar> montanonic: Can I suggest writing in ES6 instead?
pwnd_nsfw has quit [Ping timeout: 258 seconds]
<Radar> Seems that's the way the JS community is trending these days. Dunno why you'd want to write in a fancy bleeding-edge language that not many developers are using other than the "oooh new shiny" factor
gbgdev has joined #ruby
pwnd_nsfw has joined #ruby
arescorpio has joined #ruby
cschneid_ has quit [Remote host closed the connection]
Azure has quit [Read error: Connection reset by peer]
<havenwood> montanonic: It's called ElixirScript
<montanonic> Radar: Yeah my default is ES6. The problem with opal right now is it seems like *no one* is using it, period. I wanted to understand why, if that's the case.
<havenwood> montanonic: Though Elm seems to be rather popular in the Phoenix community.
<montanonic> havenwood: ah, didn't know that
<montanonic> Yeah, I actually started Elm -> Elixir
<montanonic> But now am working on a large Rails app
<havenwood> montanonic: Coffeescript is the most popular, being the default.
Azure has joined #ruby