havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
gusrub has quit [Ping timeout: 240 seconds]
ResidentBiscuit has quit []
mim1k has joined #ruby
elcontrastador has joined #ruby
ascarter has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mjolnird has quit [Quit: Leaving]
mjolnird has joined #ruby
domgetter has quit []
mim1k has quit [Ping timeout: 260 seconds]
kkiero has quit [Quit: leaving]
elarson has quit [Ping timeout: 268 seconds]
ascarter has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 260 seconds]
<LiamW> impermanence: what exactly does it do?
<LiamW> it looks like a mapreduce sort of thing
<impermanence> LiamW: hey. It loops through an array of string and counts same elements in a row, i.e. [1, 1, 2, 1, 2, 2] = 1: 2, 2: 1, 1: 1, 2: 2
<impermanence> yes I guess it is if that is what mapreduce means.
<LiamW> ahhhh
<impermanence> I've been wondering
<LiamW> no this isn't map reduce
<LiamW> but there's shorthand for this
<Radar> chunk will probably do that
<LiamW> chunk and group_by
<impermanence> I tried using a ternary but no love
<Radar> >> [1, 1, 2, 1, 2, 2].chunk{|y| y}.map{|y, ys| [y, ys.length]}
<ruby[bot]> Radar: # => [[1, 2], [2, 1], [1, 1], [2, 2]] (https://eval.in/842119)
<havenwood> >> [1, 1, 2, 1, 2, 2].chunk(&:itself).map { |k, v| [k, v.size] }
<ruby[bot]> havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<havenwood> same thing
bmurt has joined #ruby
<impermanence> havenwood: yeah (lamenting) that's what I was trying to head for, lol.
skweek has quit [Ping timeout: 240 seconds]
<LiamW> >> Process.wait
<ruby[bot]> LiamW: # => (https://eval.in/842120)
<LiamW> wat, it didn't error?
<LiamW> "Forbidden syscall waitpid"
<LiamW> nice
<LiamW> how do I stop getting nerd baited
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<impermanence> havenwood: your line moved my "algorithm" to one line, lol.
<impermanence> havenwood: some_array.chunk(&:itself).map { |k, v| Pair.new(first: k, second: v.size) }
<LiamW> what's with the Pair class
Joufflu has quit [Ping timeout: 255 seconds]
bmurt has joined #ruby
* LiamW leaves impermanence to go ponder its existence
runescape07rsps has quit [Quit: Leaving]
<impermanence> LIamW: heh, it's an instantiation w/ two values is all. I edited code to remove what I at least thought were superfluous details.
<LiamW> yeah but why do you need a pair class
<LiamW> also you can tab complete nicks
<impermanence> LiamW: sorry, yes I know.
<impermanence> Pair is an API I guess.
nobitanobi has joined #ruby
<LiamW> why not just a 2-tuple (array)
<impermanence> LiamW: It's an exercise :|
impermanence has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
cadillac_ has quit [Read error: Connection reset by peer]
impermanence has joined #ruby
<impermanence> chunk was exactly what I was looking. I'm going to read through Enumerable many times.
Trynemjoel has quit [Ping timeout: 276 seconds]
rgtk has joined #ruby
raul782 has joined #ruby
Trynemjoel has joined #ruby
cadillac_ has joined #ruby
yabbes has quit [Quit: lu]
yabbes has joined #ruby
digitalnomad has joined #ruby
cschneid_ has quit [Remote host closed the connection]
knight33 has joined #ruby
P_R_Deltoid has quit [Ping timeout: 260 seconds]
nobitanobi has quit []
jeffreylevesque has joined #ruby
jeffreylevesque has quit [Client Quit]
beilabs has joined #ruby
ziyangtian2 has joined #ruby
eightlimbed_ has joined #ruby
beilabs has quit [Ping timeout: 260 seconds]
rgtk has quit [Ping timeout: 260 seconds]
rahult has joined #ruby
pb122 has quit [Quit: Leaving]
yabbes has quit [Ping timeout: 260 seconds]
rahult has quit [Client Quit]
t-recx has quit [Quit: t-recx]
aurelien` has joined #ruby
mim1k has joined #ruby
aurelien has quit [Ping timeout: 276 seconds]
ascarter has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enodata has quit [Quit: enodata]
mim1k has quit [Ping timeout: 240 seconds]
enodata has joined #ruby
LiamW has left #ruby ["WeeChat 1.8"]
millerti has joined #ruby
ascarter has quit [Ping timeout: 240 seconds]
ekinmur has joined #ruby
mim1k has joined #ruby
gizmore|2 has joined #ruby
ziyangtian2 has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 255 seconds]
gizmore has quit [Ping timeout: 260 seconds]
mjolnird has quit [Quit: Leaving]
rahult has joined #ruby
mjolnird has joined #ruby
beilabs has joined #ruby
logicscience has joined #ruby
mim1k has joined #ruby
P_R_Deltoid has joined #ruby
sneakerhax has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xiti` has quit [Quit: Xiti`]
Xiti has joined #ruby
rahult has joined #ruby
beilabs has quit [Remote host closed the connection]
beilabs has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
beilabs has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
Joufflu has joined #ruby
eightlimbed_ has quit [Ping timeout: 246 seconds]
mim1k has quit [Ping timeout: 268 seconds]
pb122 has joined #ruby
cschneid_ has joined #ruby
charliesome has joined #ruby
agent_white has quit [Quit: bbl]
jnollette has quit [Ping timeout: 260 seconds]
SeepingN has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
P_R_Deltoid has quit [Ping timeout: 240 seconds]
jnollette has joined #ruby
ChewCraft is now known as Chew
ascarter has quit [Ping timeout: 260 seconds]
rubylegend2092 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
kobain has quit [Ping timeout: 255 seconds]
kobain has joined #ruby
raul782 has quit [Remote host closed the connection]
eightlimbed_ has joined #ruby
ecuanaso has joined #ruby
goyox86 has joined #ruby
s1kx has quit [Remote host closed the connection]
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
cadillac_ has quit [Quit: I quit]
eckhardt has joined #ruby
phinxy has quit [Read error: Connection reset by peer]
sleepee has joined #ruby
tacoboy has quit [Remote host closed the connection]
firebird has quit [Quit: WeeChat 1.9]
rahult has joined #ruby
samlisl_ has joined #ruby
runescape07rsps has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kculpis has quit [Ping timeout: 260 seconds]
astrobunny has joined #ruby
cschneid_ has quit [Remote host closed the connection]
smulverine has joined #ruby
uZiel has joined #ruby
impermanence has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ascarter has joined #ruby
ascarter_ has joined #ruby
beauby has quit [Ping timeout: 240 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shiranuidong has joined #ruby
ryzokuken has joined #ruby
|ifei5g00d has quit [Ping timeout: 268 seconds]
charliesome has joined #ruby
|ifei5g00d has joined #ruby
govg has joined #ruby
ascarter_ has quit [Ping timeout: 260 seconds]
uZiel has quit [Ping timeout: 248 seconds]
ascarter has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jnollette has quit [Quit: All your IRC are belong to ZNC]
jnollette has joined #ruby
beauby has joined #ruby
eightlimbed_ has quit [Ping timeout: 246 seconds]
xuanrui has joined #ruby
gix has quit [Ping timeout: 260 seconds]
claw has quit [Ping timeout: 240 seconds]
s3nd1v0g1us has quit [Quit: tempusfugit]
gix has joined #ruby
beauby has quit [Ping timeout: 240 seconds]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
cschneid_ has joined #ruby
beauby has joined #ruby
beilabs has joined #ruby
beilabs has quit [Remote host closed the connection]
uZiel has joined #ruby
beilabs has joined #ruby
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cschneid_ has quit [Ping timeout: 240 seconds]
goyox86 has quit [Ping timeout: 240 seconds]
jackjackdripper has joined #ruby
beilabs_ has joined #ruby
beilabs_ has quit [Remote host closed the connection]
beilabs_ has joined #ruby
ledestin has joined #ruby
beauby has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goyox86 has joined #ruby
dviola has quit [Quit: WeeChat 1.9]
beilabs has quit [Ping timeout: 240 seconds]
beilabs_ has quit [Ping timeout: 240 seconds]
goyox86 has quit [Client Quit]
segy_ has joined #ruby
segy has quit [Ping timeout: 260 seconds]
segy_ is now known as segy
claw has joined #ruby
djbkd has joined #ruby
raul782 has joined #ruby
mim1k has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
raul782 has quit [Client Quit]
maxtweddell has joined #ruby
rahult has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
<maxtweddell> Hien:
<maxtweddell> Hi
<maxtweddell> How are we all today
swills has quit [Quit: No Ping reply in 180 seconds.]
swills has joined #ruby
swills has joined #ruby
mim1k has joined #ruby
ascarter has joined #ruby
<maxtweddell> besides quiet
digitalnomad has joined #ruby
<havenwood> maxtweddell: hi
mim1k has quit [Ping timeout: 255 seconds]
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<maxtweddell> what is good advanced ruby book?
<havenwood> maxtweddell: Ruby Under a Microscope
<maxtweddell> thanks
<maxtweddell> i'll have a look
<baweaver> ding
<baweaver> ohai
<maxtweddell> the annoying thing with programming books s that shipping is really expesnvei to wera I live
<baweaver> depends on what you mean by advanced.
<baweaver> safaribooksonline.com
<maxtweddell> yeah but I want the real book
<baweaver> Get access to a ton of them for a flat monthly fee
PsionTheory has joined #ruby
<maxtweddell> not fake internet books
ascarter has quit [Ping timeout: 248 seconds]
<baweaver> Then that's your decision, but that is a valid alternative if they truly are too expensive.
<maxtweddell> It's not like I can't afford them
<maxtweddell> it's just an annoyance
<maxtweddell> But yeah, I do actually use online books a lot
<maxtweddell> but I do prefer paper ones
<baweaver> Most of the time I use it to decide if it's even one I want to get a physical copy of
uZiel has quit [Ping timeout: 248 seconds]
<maxtweddell> and I should probably get a proper e reader
maxtweddell is now known as quix
Dimik has joined #ruby
ledestin has quit [Quit: Textual IRC Client: www.textualapp.com]
x|h has joined #ruby
ta_ has quit [Remote host closed the connection]
_whitelogger has joined #ruby
digitalnomad has quit [Quit: Textual IRC Client: www.textualapp.com]
Joufflu has quit [Ping timeout: 255 seconds]
digitalnomad has joined #ruby
howdoi has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
solrize has quit [Ping timeout: 276 seconds]
pb122-two has joined #ruby
pb122 has quit [Ping timeout: 260 seconds]
_sfiguser has quit [Ping timeout: 255 seconds]
bambanx has joined #ruby
ekinmur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patrontechnosoft has joined #ruby
patrontechnosoft has quit [Remote host closed the connection]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
_sfiguser has joined #ruby
P_R_Deltoid has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
<quix> hmm
gusrub has joined #ruby
bambanx has quit [Quit: Leaving]
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
Joufflu has joined #ruby
MichaelBurge_ has quit [Remote host closed the connection]
pb122 has joined #ruby
rafa2000 has joined #ruby
rafa2000 has left #ruby [#ruby]
MichaelBurge has joined #ruby
pb122-two has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
uZiel has joined #ruby
Ishido has joined #ruby
mgorbach has quit [Ping timeout: 248 seconds]
nofxxxx has joined #ruby
mgorbach has joined #ruby
ascarter has quit [Ping timeout: 260 seconds]
nofxxx has quit [Ping timeout: 260 seconds]
oleo has quit [Quit: irc client terminated!]
<Joufflu> I only own fake internets books :(
94KAA7MF2 has joined #ruby
cschneid_ has joined #ruby
beauby has joined #ruby
94KAA7MF2 has quit [Client Quit]
belmoussaoui has joined #ruby
P_R_Deltoid has quit [Quit: Leaving]
cschneid_ has quit [Ping timeout: 246 seconds]
belmoussaoui has quit [Ping timeout: 268 seconds]
ryzokuken has quit [Quit: Leaving]
pb122-two has joined #ruby
pb122 has quit [Ping timeout: 260 seconds]
armando has joined #ruby
armando has quit [Client Quit]
armando has joined #ruby
pb122 has joined #ruby
gusrub has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
beauby has quit [Ping timeout: 260 seconds]
pb122-two has quit [Ping timeout: 248 seconds]
acalycine has joined #ruby
acalycine has joined #ruby
acalycine has quit [Changing host]
ur5us has quit [Remote host closed the connection]
gusrub has joined #ruby
mim1k has joined #ruby
_sfiguser has quit [Ping timeout: 260 seconds]
gusrub has quit [Remote host closed the connection]
quix has quit [Ping timeout: 260 seconds]
sleepee has quit [Quit: Leaving]
rabajaj has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clemens3 has quit [Ping timeout: 260 seconds]
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
moei has quit [Quit: Leaving...]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
Joufflu has quit [Quit: Leaving]
ta_ has joined #ruby
aurelien` is now known as aurelien
aurelien has quit [Changing host]
aurelien has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
pb122 has quit [Quit: Leaving]
_sfiguser has joined #ruby
charliesome has joined #ruby
jaruga has joined #ruby
Tempesta has joined #ruby
mim1k has joined #ruby
anisha has joined #ruby
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
clemens3 has joined #ruby
ana_ has joined #ruby
solrize has joined #ruby
ana_ has quit [Client Quit]
astrobunny has quit [Remote host closed the connection]
logicscience has quit [Ping timeout: 255 seconds]
mim1k has quit [Ping timeout: 260 seconds]
conta has joined #ruby
astrobun_ has joined #ruby
ascarter has joined #ruby
tomphp has joined #ruby
astrobun_ has quit [Read error: Connection reset by peer]
tomphp has quit [Client Quit]
astrobunny has joined #ruby
ana_ has joined #ruby
ascarter has quit [Ping timeout: 240 seconds]
Silthias has joined #ruby
rambo2763 has joined #ruby
high_fiver has joined #ruby
Seenox has joined #ruby
beilabs has joined #ruby
mim1k has joined #ruby
beilabs has quit [Ping timeout: 260 seconds]
astrobunny has quit [Remote host closed the connection]
mark_66 has joined #ruby
astrobunny has joined #ruby
duncan_bayne has joined #ruby
cgfbee has quit [Remote host closed the connection]
Silthias has quit [Read error: Connection reset by peer]
duncan_bayne has left #ruby ["ERC (IRC client for Emacs 25.2.1)"]
acalycine has quit [Ping timeout: 260 seconds]
rambo2763 has quit [Quit: Leaving]
Silthias has joined #ruby
ledestin has joined #ruby
cgfbee has joined #ruby
anisha has quit [Ping timeout: 268 seconds]
jaruga has quit [Quit: jaruga]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
vondruch_ has quit [Ping timeout: 240 seconds]
mlehrer has joined #ruby
anisha has joined #ruby
mim1k has quit [Ping timeout: 255 seconds]
acalycine has joined #ruby
acalycine has joined #ruby
acalycine has quit [Changing host]
acalycine has quit [Ping timeout: 240 seconds]
acalycine has joined #ruby
acalycine has joined #ruby
acalycine has quit [Changing host]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
smulverine has quit [Remote host closed the connection]
dionysus69 has joined #ruby
runescape07rsps has quit [Quit: Leaving]
pygospa has joined #ruby
lamppid has quit [Remote host closed the connection]
ascarter has joined #ruby
yabbes has joined #ruby
sagax has quit [Quit: Konversation terminated!]
ascarter has quit [Ping timeout: 268 seconds]
vondruch_ has joined #ruby
dennisvennink has joined #ruby
vondruch_ has quit [Client Quit]
vondruch_ has joined #ruby
bigkevmcd has joined #ruby
minimalism has quit [Quit: minimalism]
sysvalve has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
alex``` has joined #ruby
acalycine has quit [Ping timeout: 240 seconds]
acalycine has joined #ruby
acalycine has joined #ruby
acalycine has quit [Changing host]
jackjackdripper has quit [Quit: Leaving.]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eip`> guys I need help with DataMapper, anyone around?
Joufflu has joined #ruby
cveron has joined #ruby
vondruch_ is now known as vondruch
Dimik has quit [Ping timeout: 240 seconds]
simmaniac has joined #ruby
rgtk has joined #ruby
millerti has joined #ruby
Beams has joined #ruby
sysvalve has quit [Ping timeout: 260 seconds]
aupadhye has joined #ruby
mark_66 has quit [Ping timeout: 260 seconds]
alex``` has quit [Quit: WeeChat 1.9]
leandrobighetti has joined #ruby
catphish has joined #ruby
<catphish> i've now got a proper backtrace for my infinite-loop-on-exit bug, would be very grateful if someone could have a look: https://paste.ubuntu.com/25261847/
workmad3 has joined #ruby
<catphish> my build is: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
mustaffa__ has joined #ruby
<catphish> i realise this is a little out of date
millerti has quit [Ping timeout: 260 seconds]
ascarter has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
anisha has quit [Ping timeout: 255 seconds]
uZiel has quit [Remote host closed the connection]
anisha has joined #ruby
ascarter has quit [Ping timeout: 248 seconds]
dhollinger has quit [Ping timeout: 276 seconds]
facest has quit [Read error: Connection reset by peer]
uZiel has joined #ruby
FahmeF has joined #ruby
<catphish> perhaps it's trying to shut down a timer thread that doesn't exist, though i don't know what one of those is :(
rgtk has quit [Ping timeout: 255 seconds]
<dminuoso> catphish: Update your Ruby to 2.3.4
vixus has joined #ruby
marr has joined #ruby
<dminuoso> I'm honest about this, because I won't bother spending any time on this if there's a chance that this was fixed along the way.
tomphp has joined #ruby
c_3 has quit [Ping timeout: 276 seconds]
astrobunny has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
Alina-malina has quit [Ping timeout: 246 seconds]
<catphish> i'll upgrade my env to 2.3.4 and let you know if it continues to occur
MrSparkle has quit [Ping timeout: 240 seconds]
faces has joined #ruby
tvw has joined #ruby
Alina-malina has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
dhollinger has joined #ruby
c__ has joined #ruby
moei has joined #ruby
t-recx has joined #ruby
konsolebox has quit [Ping timeout: 260 seconds]
PsionTheory has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
agent_white has left #ruby [#ruby]
theod has joined #ruby
mark_66 has joined #ruby
faces has quit [Quit: Leaving]
faces has joined #ruby
konsolebox has joined #ruby
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
mustaffa__ has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
millerti has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
tomphp has quit [Client Quit]
vondruch has quit [Client Quit]
vondruch has joined #ruby
elcontrastador has quit [Ping timeout: 240 seconds]
beilabs has joined #ruby
tvw has quit []
tvw has joined #ruby
tvw has quit [Client Quit]
ascarter has joined #ruby
ur5us has joined #ruby
iMadper has joined #ruby
ams__ has joined #ruby
yabbes has quit [Ping timeout: 258 seconds]
millerti has quit [Ping timeout: 260 seconds]
drale2k has quit [Quit: ZNC - http://znc.in]
Joufflu has quit [Ping timeout: 255 seconds]
drale2k has joined #ruby
ascarter has quit [Ping timeout: 260 seconds]
dn` has quit [Ping timeout: 240 seconds]
Serpent7776 has joined #ruby
FahmeF has quit [Read error: Connection reset by peer]
FahmeF has joined #ruby
yabbes has joined #ruby
unshadow has joined #ruby
unshadow has quit [Client Quit]
rgtk has joined #ruby
avelldiroll has quit [Quit: WeeChat 1.6]
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
avelldiroll has joined #ruby
<catphish> i've upgraded to 2.4.3 - i'll have to wait to see if my the issue continues to occur
zapata has quit [Ping timeout: 255 seconds]
c__ has quit [Read error: Connection reset by peer]
c__ has joined #ruby
ecuanaso has joined #ruby
FahmeF has quit [Read error: Connection reset by peer]
acalycine has quit [Quit: WeeChat 1.9]
FahmeF has joined #ruby
beilabs has quit [Remote host closed the connection]
dn` has joined #ruby
Serpent has joined #ruby
saltsa has quit [Ping timeout: 255 seconds]
saltsa has joined #ruby
zapata has joined #ruby
Serpent7776 has quit [Ping timeout: 240 seconds]
vixus has quit [Ping timeout: 268 seconds]
kkiero has joined #ruby
jinie_ has quit [Ping timeout: 240 seconds]
jinie_ has joined #ruby
rahul_bajaj has joined #ruby
rabajaj has quit [Ping timeout: 240 seconds]
__Yiota has joined #ruby
rahul_bajaj has quit [Ping timeout: 260 seconds]
ascarter has joined #ruby
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
impermanence has joined #ruby
impermanence has quit [Client Quit]
leandrobighetti has quit []
InfinityFye has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
ascarter has quit [Ping timeout: 276 seconds]
ur5us has quit [Remote host closed the connection]
rgtk has quit [Ping timeout: 248 seconds]
yabbes has quit [Ping timeout: 240 seconds]
leandrobighetti has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaruga has joined #ruby
ldnunes has joined #ruby
beauby has joined #ruby
kkiero has quit [Ping timeout: 260 seconds]
Serpent is now known as Serpent7776
elcontrastador has joined #ruby
theod_ has joined #ruby
gregf_ has joined #ruby
eip` has left #ruby [#ruby]
theod has quit [Ping timeout: 246 seconds]
beilabs has joined #ruby
beilabs has quit [Remote host closed the connection]
FahmeF has quit [Remote host closed the connection]
cveron has quit [Quit: Leaving]
cveron has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cveron has quit [Client Quit]
cveron has joined #ruby
tacoboy has joined #ruby
charliesome has joined #ruby
rgtk has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Quit: Leaving.]
Ishido has joined #ruby
Xeago has joined #ruby
FahmeF has joined #ruby
tribals has joined #ruby
<tribals> hi there
ascarter has joined #ruby
<tribals> i'm trying to understand ruby lazy iteration
ncthom91 has joined #ruby
<tribals> it is not working
<tribals> when you return enumerator from other enumerator/enumerable it is straightforward, but i don't understand how to return enumerator from two-level iteration
<tribals> any idea how to do that?
kkiero has joined #ruby
belmoussaoui has joined #ruby
ascarter has quit [Ping timeout: 240 seconds]
belmoussaoui has quit [Client Quit]
Guest42862 has quit [Quit: leaving]
Ishido has quit [Ping timeout: 246 seconds]
eelster has joined #ruby
rgtk has quit [Ping timeout: 240 seconds]
Ishido has joined #ruby
synthroid has joined #ruby
Burgestrand has joined #ruby
jordanm has quit [Ping timeout: 268 seconds]
synthroi_ has joined #ruby
synthro__ has joined #ruby
sepp2k has joined #ruby
FahmeF has quit [Remote host closed the connection]
synthroid has quit [Ping timeout: 268 seconds]
synthroi_ has quit [Ping timeout: 260 seconds]
selim has quit [Ping timeout: 240 seconds]
selim has joined #ruby
mabus44 has joined #ruby
X-tonic has joined #ruby
FahmeF has joined #ruby
mabus44 has quit [Ping timeout: 246 seconds]
cdg has joined #ruby
GorillaApe has joined #ruby
<GorillaApe> hell/o
ta_ has quit [Remote host closed the connection]
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<GorillaApe> on bsd running a simple ruby program with just executing a system command its rss keeps increasing without stopping. On ubuntu it stays stable.
ekinmur has joined #ruby
<dminuoso> tribals: you dont, that's the point
<tribals> dminuoso: thanks
<dminuoso> tribals: note that you could probably just do: input.each.scan(pattern).with_object([]) { |o, e| o << e.to_i }
uZiel has quit [Remote host closed the connection]
beauby has quit [Ping timeout: 260 seconds]
brw has quit [Ping timeout: 260 seconds]
brw has joined #ruby
<dminuoso> or as I prefer nowadays [*o, e.to_i] :D
_sfiguser has quit [Ping timeout: 258 seconds]
beauby has joined #ruby
mabus44 has joined #ruby
DoubleMalt has joined #ruby
hutch34 has joined #ruby
toretore has joined #ruby
rgtk has joined #ruby
kkiero has quit [Ping timeout: 240 seconds]
catphish has quit [Quit: Leaving]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
_sfiguser has joined #ruby
Beams has quit [Quit: .]
toretore has quit [Quit: Leaving]
Beams has joined #ruby
cdg_ has joined #ruby
beilabs has joined #ruby
aglorei1 has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
ascarter has quit [Ping timeout: 240 seconds]
beilabs has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
aglorei has quit [Ping timeout: 248 seconds]
Ishido has quit [Ping timeout: 240 seconds]
apparition47 has joined #ruby
vuoto has joined #ruby
Xiti has quit [Quit: Xiti]
DLSteve has joined #ruby
mustaffa has joined #ruby
Ishido has joined #ruby
ekinmur has quit [Quit: Textual IRC Client: www.textualapp.com]
belmoussaoui has joined #ruby
tribals has quit [Quit: Leaving]
Ishido has quit [Ping timeout: 255 seconds]
beauby has quit [Ping timeout: 240 seconds]
oleo has joined #ruby
Xiti has joined #ruby
govg has quit [Ping timeout: 240 seconds]
eightlimbed_ has joined #ruby
Paraxial has quit [Ping timeout: 246 seconds]
govg has joined #ruby
Paraxial has joined #ruby
spiette has quit [Ping timeout: 240 seconds]
spiette has joined #ruby
banisterfiend has joined #ruby
digitalnomad has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jphase has joined #ruby
high_fiver has quit [Ping timeout: 255 seconds]
beauby has joined #ruby
Beams has quit [Quit: .]
oleo has quit [Quit: irc client terminated!]
Beams has joined #ruby
MacMeep has joined #ruby
MacMeep has quit [Remote host closed the connection]
eightlimbed_ has quit [Ping timeout: 246 seconds]
aleph- has joined #ruby
ResidentBiscuit has joined #ruby
mark_66 has quit [Remote host closed the connection]
ResidentBiscuit has quit [Max SendQ exceeded]
chouhoulis has joined #ruby
<aleph-> Hey folks. O/
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
kristofferR has joined #ruby
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
ResidentBiscuit has joined #ruby
7GHABRDEE has joined #ruby
17SABNDFD has joined #ruby
perniciouscaffei has joined #ruby
7GHABRDEE has quit [Client Quit]
oleo has joined #ruby
17SABNDFD has quit [Client Quit]
logicscience has joined #ruby
jphase has quit [Remote host closed the connection]
GodFather has joined #ruby
<dminuoso> o7
ascarter has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<aleph-> So question since I'm not sure. Anyway to get a watcher process like nodemon in node/js to work with a ruby project involving sinatra?
banisterfiend has joined #ruby
jphase has joined #ruby
ruby-lang304 has joined #ruby
FahmeF has quit [Ping timeout: 240 seconds]
Rapture has joined #ruby
FahmeF has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
jordanm has joined #ruby
eightlimbed_ has joined #ruby
banisterfiend has quit [Ping timeout: 240 seconds]
<_sfiguser> hello guys... is there a book/course which can teach me to do things like these... http://journal.stuffwithstuff.com/2013/12/08/babys-first-garbage-collector/ like writing virtual machine hypervisors... or web servers... or emulators.. i mean when can i learn to program this low level stuff ?
ruby-lang304 has quit [Ping timeout: 260 seconds]
ascarter has quit [Ping timeout: 255 seconds]
rgr_ has joined #ruby
abhi56rai has joined #ruby
abhi56rai has quit [Client Quit]
cdg_ has quit [Remote host closed the connection]
cdg has joined #ruby
rgr has quit [Ping timeout: 258 seconds]
ecuanaso has joined #ruby
chouhoulis has quit [Remote host closed the connection]
knight33 has joined #ruby
skweek has joined #ruby
yabbes has joined #ruby
rgtk has quit [Ping timeout: 240 seconds]
__Yiota has joined #ruby
polishdub has joined #ruby
sekmo has joined #ruby
quirkycoders has joined #ruby
__Yiota has quit [Client Quit]
dviola has joined #ruby
<quirkycoders> I having an issue with what I thought should be a relatively easy task. I'm trying to override an existing method using alias_method but I'm getting an inifite loop: https://gist.github.com/jpstokes/e8a6e681d84daa92b7f3938c56942990
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Adem has joined #ruby
InfinityFye has quit [Quit: Leaving]
Adem has quit [Max SendQ exceeded]
<dminuoso> quirkycoders: Use Module#prepend
<aleph-> _sfiguser: Definitely read Tenebaum's book. Using it to help me write a filesystem.
<_sfiguser> aleph-, which one from tanenbaum ?
<dminuoso> _sfiguser: Writing web servers and emulators is relatively easy. Writing a virtual machine hypervisor is not.
<quirkycoders> dminuoso: I'll check it out
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aleph-> _sfiguser: The book just linked. Operating System implementations
Burgestrand has quit [Quit: Closing time!]
<dminuoso> quirkycoders: Also, you really don't want a class_eval there.
nopolitica has quit [Ping timeout: 248 seconds]
<quirkycoders> hmmm...in this case I'm overriding a spree object and this as far as I know is how you do that.
<quirkycoders> Overriding the method is something I'm trying to do in addition to overriding this particular spree object
laphoriag75 has joined #ruby
PsionTheory has joined #ruby
nopolitica has joined #ruby
ecuanaso has joined #ruby
[dmp] has quit [Quit: WeeChat 1.3]
synthroid has joined #ruby
jphase_ has joined #ruby
synthroi_ has joined #ruby
cschneid_ has joined #ruby
dangerousdave has joined #ruby
jphase has quit [Ping timeout: 258 seconds]
xzhao has joined #ruby
synthro__ has quit [Ping timeout: 260 seconds]
synthroid has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 240 seconds]
haylon has joined #ruby
<quirkycoders> dminuoso: That worked! thanks!
sekmo has quit [Quit: Textual IRC Client: www.textualapp.com]
jnix|w has joined #ruby
<jnix|w> #bash
ana_ has quit [Ping timeout: 240 seconds]
[Butch] has joined #ruby
shiranuidong has quit [Quit: Leaving]
jphase_ has quit [Remote host closed the connection]
xzhao has quit [Remote host closed the connection]
jphase has joined #ruby
leandrobighetti has quit []
mabus44 has quit [Ping timeout: 260 seconds]
xzhao has joined #ruby
xzhao has quit [Remote host closed the connection]
digitalnomad has joined #ruby
mabus44 has joined #ruby
baroquebobcat has joined #ruby
ascarter has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
goyox86 has joined #ruby
rippa has joined #ruby
beilabs has quit [Remote host closed the connection]
theod_ has quit [Remote host closed the connection]
quirkycoders has quit [Remote host closed the connection]
ascarter has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
MrSparkle has joined #ruby
chouhoulis has joined #ruby
brent__ has joined #ruby
apparition47 has quit [Quit: Bye]
bruno- has quit [Ping timeout: 260 seconds]
jphase_ has joined #ruby
<haylon> If I have a "hash", that's setup like default['thing1']['thing2']['thing3'], what would I need to search for to make it work with regular ruby hashes?
logicscience has quit [Remote host closed the connection]
cveron has quit [Quit: Leaving]
vuoto has quit [Ping timeout: 240 seconds]
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Takumo> Hey, anyone able to help me with this build error for MRI 2.2.6 ? ix.io/yWQ
jphase has quit [Ping timeout: 240 seconds]
herbmillerjr has quit [Quit: Konversation terminated!]
<Takumo> gcc 7.1.1 / linux 4.12.4 / OpenSSL 1.1.0f / libffi 3.2.1
konsolebox has quit [Ping timeout: 276 seconds]
uZiel has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vuoto has joined #ruby
synthroi_ has quit [Remote host closed the connection]
digitalnomad has joined #ruby
synthroid has joined #ruby
rabajaj has joined #ruby
logicscience has joined #ruby
synthroid has quit [Ping timeout: 240 seconds]
synthroi_ has joined #ruby
t-recx has quit [Ping timeout: 246 seconds]
uZiel has quit [Ping timeout: 248 seconds]
Barry has joined #ruby
t-recx has joined #ruby
<apeiros> haylon: I don't understand what you're asking for
baroquebobcat has quit [Quit: baroquebobcat]
mtkd has quit [Ping timeout: 255 seconds]
<apeiros> what does "work with regular hashes" comprise?
bruno- has joined #ruby
mtkd has joined #ruby
<haylon> I have some Chef Hashes, default['thing1']['thing2'] = 'value' and I want to make it so its in the form of default = { 'thing1' => {'thing2' => 'value' } }
<apeiros> Takumo: I probably won't be able to help. but for others to assess whether they can, you should provide more info. many people will not bother to say anything with that little up-front info.
eelster has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<apeiros> haylon: still not sure. you want to convert Hash to ChefHash (or whatever the class is), or the other way round? or something else entirely?
amclain has joined #ruby
<haylon> Chef hash to Hash
konsolebox has joined #ruby
eightlimbed_ has quit [Ping timeout: 246 seconds]
<apeiros> then you probably should take a look at that class' docs and whether it has a to_h or similar method
<haylon> I think there is, but I'm not familiar with chef-shell. That channel has been real quiet today, so I came here.
rkoller has joined #ruby
marxarelli has joined #ruby
<apeiros> where at "read its docs" are you stumbling?
<apeiros> figuring out the right class? finding the docs? else?
beauby has quit [Ping timeout: 240 seconds]
sneakerhax has quit [Ping timeout: 240 seconds]
jphase_ has quit [Remote host closed the connection]
<Takumo> apeiros: what's missing?
simmaniac has quit [Quit: Leaving]
conta has joined #ruby
SpComb^ has quit [Ping timeout: 260 seconds]
laphoriag75 has quit [Remote host closed the connection]
<apeiros> "this build error" <- the "this". f.ex.
<haylon> apeiros: probably me rushing
SpComb has joined #ruby
<haylon> Thank you though for your help apeiros
<apeiros> yw
<Takumo> there's a link to the log but as for what the issue is, to be honest I'm not really sure what in there is actually the cause of the problem, so I'm a bit lost as to what better detail to provide
<Takumo> when trying to build mri 2.2.6
<apeiros> well, anything beyond "this build error" would be more useful. otherwise, the answer is "well, just apply the fix" :-p
<apeiros> and you can gist (as in, gist.github.com, not in here) full build logs no problem.
<Takumo> yeah I did link the error but that was only make.log -- bit more googling seems to suggest an issue with gcc 7
cdg has quit [Remote host closed the connection]
<apeiros> there was no link in your question…
<apeiros> 17:48 Takumo: Hey, anyone able to help me with this build error for MRI 2.2.6 ? ix.io/yWQ
<apeiros> 17:49 Takumo: gcc 7.1.1 / linux 4.12.4 / OpenSSL 1.1.0f / libffi 3.2.1
<Takumo> oh my bad
<Takumo> that was meant to be a link just didn't paste properly!
<Takumo> PICNIC error
rgtk has joined #ruby
Barry has quit [Quit: Page closed]
<apeiros> oh, I see
<Takumo> don't worry about answering it now though, work ends in 20 minutes so I'll just have to pick this up in the morning... got a rails 4 project I need to do a fix on but looks like ruby 2.2 doesn't like my system and rails 4 doesn't work on ruby 2.4 ... oh the fun
<apeiros> yeah, as warned, I'm the wrong person anyway. was just sharing the exp. that people won't try to help if upfront info is lacking.
cagomez has joined #ruby
chouhoulis has quit [Remote host closed the connection]
<Takumo> yeah, I did have a link just not properly formatted
Serpent7776 has quit [Quit: Leaving]
mabus44 has quit [Ping timeout: 255 seconds]
<apeiros> yupp. I see now.
jphase has joined #ruby
beauby has joined #ruby
gusrub has joined #ruby
uZiel has joined #ruby
goyox86 has quit [Quit: goyox86]
dionysus69 has quit [Ping timeout: 255 seconds]
__Yiota has joined #ruby
jackjackdripper has joined #ruby
FahmeF has quit [Ping timeout: 240 seconds]
arkinor has joined #ruby
FahmeF has joined #ruby
cschneid_ has quit []
beilabs has joined #ruby
xuanrui has quit [Ping timeout: 260 seconds]
Beams has quit [Quit: .]
beilabs has quit [Remote host closed the connection]
beilabs has joined #ruby
aleph- has quit [Remote host closed the connection]
xzhao has joined #ruby
conta has quit [Ping timeout: 246 seconds]
DTZUZO has quit [Quit: WeeChat 1.9]
DTZUZO has joined #ruby
aleph- has joined #ruby
guacamole has joined #ruby
johnzorn has quit [Quit: Ciao]
ascarter has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
Puffball has quit [Ping timeout: 260 seconds]
Puffball has joined #ruby
quobo has joined #ruby
cagomez has quit [Remote host closed the connection]
ascarter has quit [Ping timeout: 246 seconds]
X-tonic has quit [Quit: Leaving.]
cagomez_ has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
eelster has joined #ruby
skweek has quit [Ping timeout: 276 seconds]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
torQue_ has joined #ruby
arkinor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sneakerhax has joined #ruby
xzhao has quit [Read error: Connection reset by peer]
xzhao has joined #ruby
7IZAATAS8 has joined #ruby
AxelAlex has joined #ruby
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mabus44 has joined #ruby
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
digitalnomad has joined #ruby
whippythellama has joined #ruby
haylon has quit [Remote host closed the connection]
minimalism has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
opencw has joined #ruby
rgtk has quit [Ping timeout: 260 seconds]
Moosashi_ has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
FahmeF has quit [Remote host closed the connection]
rahul_bajaj has joined #ruby
rabajaj has quit [Ping timeout: 246 seconds]
belmoussaoui has quit [Ping timeout: 276 seconds]
dangerousdave has quit [Quit: Textual IRC Client: www.textualapp.com]
gusrub has quit [Remote host closed the connection]
cdg has joined #ruby
gusrub has joined #ruby
PaulCapestany has joined #ruby
aupadhye has quit [Ping timeout: 255 seconds]
7IZAATAS8 has quit [Quit: 7IZAATAS8]
cdg_ has joined #ruby
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beauby has quit [Ping timeout: 255 seconds]
high_fiver has joined #ruby
Moosashi_ has quit [Quit: Moosashi_]
94KAA7Q5Y has joined #ruby
gusrub has quit [Ping timeout: 260 seconds]
cdg has quit [Ping timeout: 255 seconds]
nadir has joined #ruby
94KAA7Q5Y has quit [Excess Flood]
avelldiroll has quit [Ping timeout: 248 seconds]
Moosashi_ has joined #ruby
goyox86__ has joined #ruby
digitalnomad has joined #ruby
belmoussaoui_ has joined #ruby
belmoussaoui_ has quit [Excess Flood]
FahmeF has joined #ruby
avelldiroll has joined #ruby
jackjackdripper has joined #ruby
ascarter has joined #ruby
melkor has joined #ruby
belmoussaoui_ has joined #ruby
duderonomy has joined #ruby
Moosashi_ has quit [Quit: Moosashi_]
ecuanaso has joined #ruby
dionysus69 has joined #ruby
belmoussaoui_ has quit [Ping timeout: 240 seconds]
ascarter has quit [Ping timeout: 240 seconds]
uZiel has quit [Ping timeout: 248 seconds]
<KrzaQ> Are there any popular jiting interpreters for ruby? I tried googling, but found some niche projects, mostly looking old. I'd love to have something like pypy
<havenwood> KrzaQ: Look at production-ready JRuby or up-and-coming TruffleRuby.
<KrzaQ> Thanks
<havenwood> KrzaQ: There's a #jruby channel here or truffleruby on gitter: https://gitter.im/graalvm/truffleruby
kaspergr1bbe is now known as kaspergrubbe
normie1 has joined #ruby
belmoussaoui_ has joined #ruby
Moosashi has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
Moosashi has quit [Client Quit]
ramfjord has joined #ruby
SeepingN has joined #ruby
t-recx has quit [Ping timeout: 240 seconds]
A124 has quit [Read error: No route to host]
beauby has joined #ruby
Dimik has joined #ruby
runescape07rsps has joined #ruby
belmoussaoui has joined #ruby
A124 has joined #ruby
belmoussaoui_ has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
t-recx has joined #ruby
cadillac_ has joined #ruby
rahul_bajaj has quit [Ping timeout: 276 seconds]
Moosashi has joined #ruby
eightlimbed_ has joined #ruby
beauby has quit [Ping timeout: 240 seconds]
TomyLobo has joined #ruby
cagomez_ has quit [Remote host closed the connection]
qba73 has joined #ruby
cagomez has joined #ruby
Bock has quit [Ping timeout: 276 seconds]
ltem has joined #ruby
cagomez_ has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
melkor has quit [Quit: leaving]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta1 has joined #ruby
<dionysus69> I have arrays named lets say, arr1 arr2 arr3
<dionysus69> how do I access these with each.with_index(1) loop?
<dionysus69> arr + index something like that
<dionysus69> but whats the proper way to concatenate variable names?
Moosashi has quit [Quit: Moosashi]
FahmeF has quit [Read error: Connection reset by peer]
gusrub has joined #ruby
FahmeF has joined #ruby
tacoboy has quit [Ping timeout: 246 seconds]
uZiel has quit [Remote host closed the connection]
FahmeF has quit [Read error: No route to host]
tacoboy has joined #ruby
<havenwood> dionysus69: There are many ways. Here's one: [*arr1, *arr2, *arr3]
Moosashi has joined #ruby
<dionysus69> what you did there is created array of those arrays right?
FahmeF has joined #ruby
<dionysus69> what is that splat operator doing though in arrays case?
FahmeF has quit [Client Quit]
alex`` has joined #ruby
__Yiota has joined #ruby
npgm has joined #ruby
jaruga has quit [Quit: jaruga]
inoperable has quit [Quit: user rectified]
jackjackdripper has quit [Quit: Leaving.]
beauby has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davidmichaelkarr has joined #ruby
bane_ has joined #ruby
beauby has quit [Ping timeout: 255 seconds]
conta1 has quit [Ping timeout: 268 seconds]
ascarter has joined #ruby
AxelAlex has quit [Quit: AxelAlex]
ryzokuken has joined #ruby
goyox86__ has quit [Ping timeout: 260 seconds]
iomotoko has quit [Quit: leaving]
belmoussaoui has quit [Ping timeout: 260 seconds]
Moosashi has quit [Quit: Moosashi]
ascarter has quit [Ping timeout: 255 seconds]
uZiel has joined #ruby
ecuanaso has joined #ruby
belmoussaoui has joined #ruby
normie1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eightlimbed_ has quit [Ping timeout: 246 seconds]
normie1 has joined #ruby
normie1 has quit [Client Quit]
quobo has quit [Quit: Connection closed for inactivity]
belmoussaoui has quit [Remote host closed the connection]
mwlang has joined #ruby
belmoussaoui has joined #ruby
jackjackdripper has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has quit [Quit: WeeChat 1.9]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Joufflu has joined #ruby
wilbert has joined #ruby
evie_hammond has quit [Ping timeout: 240 seconds]
reber has joined #ruby
conta1 has joined #ruby
ecuanaso has joined #ruby
mabus44 has quit [Ping timeout: 240 seconds]
jphase has quit [Read error: Connection reset by peer]
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackjackdripper has quit [Quit: Leaving.]
Moosashi has joined #ruby
jackjackdripper has joined #ruby
conta1 has quit [Ping timeout: 260 seconds]
mabus44 has joined #ruby
cagomez_ has quit [Remote host closed the connection]
jphase has joined #ruby
Azure has joined #ruby
beauby has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bruno- has quit [Ping timeout: 246 seconds]
evie_hammond has joined #ruby
eckhardt has joined #ruby
Moosashi_ has joined #ruby
Moosashi has quit [Ping timeout: 240 seconds]
Moosashi_ is now known as Moosashi
normie1 has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jamesaxl has joined #ruby
qba73 has quit []
t-recx has quit [Quit: t-recx]
ledestin has joined #ruby
Moosashi has quit [Quit: Moosashi]
jenrzzz has joined #ruby
yabbes has quit [Read error: Connection reset by peer]
belmoussaoui_ has joined #ruby
beauby has quit [Ping timeout: 268 seconds]
dasher00 has joined #ruby
belmoussaoui has quit [Ping timeout: 258 seconds]
terens has joined #ruby
<terens> hi
jnollette has quit [Quit: All your IRC are belong to ZNC]
jnollette has joined #ruby
runescape07rsps has quit [Ping timeout: 240 seconds]
<baweaver> dionysus69: you're making it too complicated.
<baweaver> >> a1,a2,a3 =[[1,2],[2,3],[3,4]]; a1
<ruby[bot]> baweaver: # => [1, 2] (https://eval.in/842567)
<baweaver> consider that for a second. You're adding a number to the end of the arrays. An index number. What else has an index?
<dionysus69> thing is the arrays are too large and I didnt want to declare them in 2d array way
ascarter has joined #ruby
<baweaver> Too large meaning?
<dionysus69> but ye that case would eliminate need for var names too
<baweaver> and what are the real names there?
<baweaver> why do you need three arrays?
<baweaver> why not four or ten or twenty?
Murda has joined #ruby
cagomez has joined #ruby
<dionysus69> there are 60 :D
bane_ has quit [Quit: Konversation terminated!]
cagomez has quit [Remote host closed the connection]
<baweaver> Where does the info come from?
cagomez has joined #ruby
<dionysus69> its static
<dionysus69> list of cities
<baweaver> and why are they grouped like that?
<dionysus69> seeds.rb db init basically
<dionysus69> its i18n
<dionysus69> in 3 languages
<dionysus69> they are grouped by the district
<baweaver> Is that necessary?
<dionysus69> for later i will use select tag with opt groups
fmcgeough has joined #ruby
<dionysus69> well ye :P without grouping it would become ux downer
<baweaver> Then add region to the data
<baweaver> don't artificially do so
<dionysus69> what do you mean?
<baweaver> Read into i18n. Make each city into a single DB entity and then make that name into a key per language
goyox86__ has joined #ruby
<baweaver> City name:string region:int
<dionysus69> I use globalize gem
jrm has quit [Quit: ciao]
<dionysus69> ye thats how it is now too, district has many towns
<dionysus69> town has a district FK
<dionysus69> so I create dist = District.create(name:...) >>>> dist << Town.create...
yabbes has joined #ruby
<dionysus69> dist.towns << Town.create *
<baweaver> dist.towns = towns.map { |t| Town.create ... }
jrm has joined #ruby
<baweaver> Note that Globalize has attributes for locales in their docs
<baweaver> so make a Georgian, Zulu, and Russian locale to be stored with it.
<dionysus69> my problem atm is towns is not a single array :) its 60 separate
<baweaver> Then make it a single array
ascarter has quit [Ping timeout: 240 seconds]
<baweaver> you're making this more complicated than it needs to be if you wanted a simple solution
terens has quit [Quit: Page closed]
dennisvennink has joined #ruby
<dionysus69> ye sometimes I get stubborn with a roadblock :P
<baweaver> Get it done first
<dionysus69> :D
<baweaver> stubbornness does you no favors.
<dionysus69> you are right :)
<baweaver> Improve it after you have it working
beauby has joined #ruby
AxelAlex has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
synthroid has joined #ruby
cagomez has quit [Remote host closed the connection]
torQue_ has quit [Quit: ChatZilla 0.9.93 [Firefox 54.0.1/20170628075643]]
synthroi_ has quit [Ping timeout: 240 seconds]
Murda has quit [Quit: Murda]
cagomez has joined #ruby
goyox86__ has quit [Ping timeout: 246 seconds]
cagomez has quit [Ping timeout: 240 seconds]
yabbes has quit [Quit: lu]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fmcgeough has quit [Quit: fmcgeough]
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
AxelAlex has quit [Quit: AxelAlex]
DTZUZU has quit [Ping timeout: 255 seconds]
DTZUZO has quit [Ping timeout: 260 seconds]
DTZUZU has joined #ruby
jackjackdripper1 has joined #ruby
high_fiver has quit [Ping timeout: 255 seconds]
jackjackdripper has quit [Ping timeout: 260 seconds]
tobiasvl has quit [Remote host closed the connection]
reber has quit [Quit: Leaving]
|ifei5g00d has quit [Read error: Connection reset by peer]
high_fiver has joined #ruby
|ifei5g00d has joined #ruby
ryzokuken has quit [Quit: Leaving]
blindMoe has joined #ruby
runescape07rsps has joined #ruby
<blindMoe> Anyone have a suggestion of what to check when getting NOAUTH errors from redis when sidekiq tries to use it? I am specifying the proper config file ( sidekiq.yml ) in the command line, quadruple checked the redis password both in the sidekiq.rb config file and using the command line
leandrobighetti has joined #ruby
<blindMoe> by command line I mean I used the redis cli to authenticate to ensure the password works
tomphp has joined #ruby
jamesaxl has quit [Quit: WeeChat 1.8]
ryzokuken has joined #ruby
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
laphoriag75 has joined #ruby
DTZUZO has joined #ruby
normie1 has quit [Quit: Textual IRC Client: www.textualapp.com]
aufi has joined #ruby
vuoto has quit [Remote host closed the connection]
runescape07rsps has quit [Quit: Leaving]
synthroid has quit []
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
laphoriag75 has left #ruby [#ruby]
workmad3 has joined #ruby
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eelster has quit [Quit: Textual IRC Client: www.textualapp.com]
hkdsun has quit [Ping timeout: 268 seconds]
Moosashi has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
kahra has quit [Ping timeout: 248 seconds]
mabus44 has quit [Quit: WeeChat 1.9]
cagomez has joined #ruby
leandrobighetti has quit []
kahra has joined #ruby
ascarter has joined #ruby
cagomez has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
whippythellama has quit [Ping timeout: 240 seconds]
_sfiguser has quit [Ping timeout: 240 seconds]
enodata has quit [Quit: enodata]
hkdsun has joined #ruby
ldnunes has quit [Quit: Leaving]
cagomez has joined #ruby
digitalnomad has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
Moosashi_ has joined #ruby
ascarter has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
Moosashi has quit [Ping timeout: 240 seconds]
Moosashi_ is now known as Moosashi
cagomez has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
_sfiguser has joined #ruby
guacamole has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
ryzokuken has quit [Quit: Leaving]
jphase has quit [Ping timeout: 268 seconds]
antgel_ has joined #ruby
Moosashi has quit [Quit: Moosashi]
marxarelli is now known as marxarelli|afk
[Butch] has quit [Quit: I'm out . . .]
mwlang has quit [Quit: mwlang]
eightlimbed_ has joined #ruby
marxarelli|afk is now known as marxarelli
sepp2k has quit [Ping timeout: 260 seconds]
antgel_ has quit [Ping timeout: 260 seconds]
Moosashi has joined #ruby
dasher00 has quit [Quit: Leaving]
danman has joined #ruby
office_boy_ has joined #ruby
TomyLobo has quit [Ping timeout: 255 seconds]
office_boy_ has quit [Client Quit]
polishdub has quit [Quit: leaving]
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aufi has quit [Ping timeout: 248 seconds]
Moosashi has quit [Quit: Moosashi]
mustaffa has quit [Ping timeout: 276 seconds]
eightlimbed_ has quit [Ping timeout: 246 seconds]
ltem has quit [Read error: Connection reset by peer]
ltem has joined #ruby
brent__ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 276 seconds]
ltem has quit [Remote host closed the connection]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ResidentBiscuit has quit [Quit: Critical Miss]
bambanx has joined #ruby
jinie_ has quit [Ping timeout: 248 seconds]
postmodern has joined #ruby
ascarter has joined #ruby
jinie_ has joined #ruby
Moosashi has joined #ruby
digitalnomad has joined #ruby
brent__ has joined #ruby
ascarter has quit [Ping timeout: 255 seconds]
Moosashi has quit [Quit: Moosashi]
Moosashi has joined #ruby
hahuang65 has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
chouhoul_ has joined #ruby
Moosashi has quit [Quit: Moosashi]
gusrub has quit [Remote host closed the connection]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 240 seconds]
logicscience has quit [Ping timeout: 240 seconds]
beauby has quit [Ping timeout: 240 seconds]
chouhoul_ has quit [Ping timeout: 248 seconds]
beauby has joined #ruby
brendan- has joined #ruby
DoubleMalt has quit [Ping timeout: 240 seconds]
NightMonkey has quit [Ping timeout: 268 seconds]
gusrub has joined #ruby
InfinityFye has joined #ruby
PsionTheory has quit [Read error: Connection reset by peer]
Moosashi has joined #ruby
eckhardt has joined #ruby
mikeiniowa has quit [Remote host closed the connection]
arahael has left #ruby ["WeeChat 1.4"]
sunrunner20 has quit [Excess Flood]
mikeiniowa has joined #ruby
sunrunner20 has joined #ruby
DoubleMalt has joined #ruby
xco has joined #ruby
cyberRodent has quit [Remote host closed the connection]
<xco> how do a store the value of a key called “acces_token” in ruby that’s a result from a curl command that looks like {"access_token":"QjJ3wI….”, “expires”: “…”}
<xco> do i**
cyberRodent has joined #ruby
cdg has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
cdg_ has quit [Ping timeout: 255 seconds]
Moosashi_ has joined #ruby
Moosashi has quit [Ping timeout: 240 seconds]
Moosashi_ is now known as Moosashi
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
<gr33n7007h> xco: that looks like json, so parse the json
digitalnomad has joined #ruby
brent__ has quit [Remote host closed the connection]
runescape07rsps has joined #ruby
<gr33n7007h> e.g hostname = JSON.parse(`curl -s ipinfo.io`)['hostname']
alveric2 has joined #ruby
ascarter has quit [Ping timeout: 240 seconds]
xco has quit [Quit: xco]
phinxy has joined #ruby
alveric1 has quit [Ping timeout: 260 seconds]
DTZUZU has quit [Ping timeout: 268 seconds]
DTZUZO has quit [Ping timeout: 260 seconds]
DTZUZU has joined #ruby
rahult has joined #ruby
banisterfiend has joined #ruby
DTZUZO has joined #ruby
jphase has joined #ruby
AxelAlex has joined #ruby
ascarter has joined #ruby
sleepee has joined #ruby
ascarter has quit [Ping timeout: 240 seconds]
Trynemjoel has joined #ruby
blindMoe has quit [Ping timeout: 246 seconds]
cdg has joined #ruby
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sneakerhax has quit [Ping timeout: 268 seconds]
ramfjord has quit [Ping timeout: 268 seconds]
Trynemjoel has quit [Ping timeout: 276 seconds]
astrobunny has joined #ruby
cdg has quit [Ping timeout: 240 seconds]