jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kavanagh has quit [Quit: That's all folks!]
skade has quit [Quit: Computer has gone to sleep.]
<al2o3-cr> and i thought i talked nonsense
crystal77 has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
mozzarel1 is now known as mozzarella
jhack has joined #ruby
<al2o3-cr> it'd prolly warrant a hack, just to justify shit
ElFerna has joined #ruby
xall has joined #ruby
xaxisx has quit [Ping timeout: 252 seconds]
nadir has quit []
xall has quit [Ping timeout: 250 seconds]
dc4 has quit [Ping timeout: 250 seconds]
ullu_ has quit [Ping timeout: 250 seconds]
r_rios_ has joined #ruby
rcvalle has quit [Quit: rcvalle]
GodFather has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hxegon is now known as hxegon_afk
Madplatypus has quit [Quit: Connection closed for inactivity]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has quit [Remote host closed the connection]
zeroDi has quit [Quit: WeeChat 1.5]
ur5us has joined #ruby
postmodern has quit [Quit: Leaving]
yqt has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
GodFather has quit [Remote host closed the connection]
whathappens has quit [Remote host closed the connection]
rhllor has quit [Quit: rhllor]
marr has quit [Ping timeout: 246 seconds]
replay has quit []
GodFather has joined #ruby
pontiki has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dc4 has joined #ruby
mtkd has quit [Ping timeout: 252 seconds]
solocshaw has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
mtkd has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
shakes has joined #ruby
agentmeerkat has joined #ruby
jenrzzz has joined #ruby
nankyokusei has joined #ruby
agentmeerkat has quit [Ping timeout: 252 seconds]
nankyokusei has quit [Ping timeout: 260 seconds]
<karapetyan> hello!
<karapetyan> could you help me understand problem with recursive function?
ledestin has joined #ruby
charliesome has joined #ruby
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
eichenwald has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<shevy> put the code on a pastie?
<karapetyan> puts shows correct value. but why 4th string return nil?
poguez_ has quit [Quit: Connection closed for inactivity]
bilal80 has quit [Quit: bilal80]
Mon_Ouie has joined #ruby
jhack has quit [Quit: jhack]
<karapetyan> oh, actually i don't need increment on 6.th line
harfangk has joined #ruby
swills has joined #ruby
aaeron has joined #ruby
macsteps has quit [Remote host closed the connection]
<karapetyan> any help?)
shakes has quit [Quit: Leaving]
jhack has joined #ruby
ur5us has quit [Remote host closed the connection]
blackmes1 has joined #ruby
nadir has joined #ruby
LoneHerm_ has joined #ruby
ekinmur has joined #ruby
jhack has quit [Quit: jhack]
thatsnotjack has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 260 seconds]
aaeron has quit [Quit: aaeron]
ekinmur has quit [Client Quit]
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thatsnotjack has quit [Ping timeout: 272 seconds]
GodFather has quit [Remote host closed the connection]
GodFather has joined #ruby
hahuang61 has joined #ruby
pilne has left #ruby ["Leaving!"]
Vile` has quit [Ping timeout: 276 seconds]
whathapp_ has joined #ruby
whathapp_ has quit [Write error: Connection reset by peer]
solocshaw has quit [Ping timeout: 250 seconds]
whathappens has joined #ruby
daniel has joined #ruby
hahuang61 has quit [Ping timeout: 272 seconds]
<shevy> I am not sure what you want to do
<shevy> can you do it simpler
<shevy> input -> desired output
daniel is now known as Guest93521
dennisvennink has joined #ruby
neo_ has quit [Remote host closed the connection]
neo_ has joined #ruby
neo_ has quit [Remote host closed the connection]
neo_ has joined #ruby
gato has joined #ruby
gato has quit [Client Quit]
LuckyABA has joined #ruby
rkazak has joined #ruby
solocshaw has joined #ruby
agentmeerkat has joined #ruby
<rapha> good morning
<rapha> (well at least here it's 4 in the morning and the neighbours are fighting too loudly for me to be able to sleep)
<rapha> and since it's also the time for cronjobs to run...
<rapha> i'm trying to usw a couple of rake tasks with cronic (http://habilis.net/cronic/) but as stuff like "Loading application" is written to STDERR, an email still gets sent. Is there any way to have it output things to stdout instead?"
<adam12> cronic command 2>&1
<adam12> ?
Xiti has joined #ruby
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
harfangk has quit [Quit: harfangk]
FastJack has joined #ruby
Radar has quit [Quit: ZNC - http://znc.in]
dennisvennink has joined #ruby
amcoder has joined #ruby
cb- has joined #ruby
Jello_Raptor has joined #ruby
khelair has joined #ruby
wnd has joined #ruby
DEac- has joined #ruby
KillerFox has joined #ruby
JeanCarloMachado has joined #ruby
lucas has joined #ruby
DanKnox_ has joined #ruby
thoraxe has joined #ruby
joast has joined #ruby
callumacrae has joined #ruby
Antiarc has joined #ruby
kith has joined #ruby
webhat has joined #ruby
tw1sted has joined #ruby
forgot has joined #ruby
hypnosb has joined #ruby
mame3 has joined #ruby
r_rios_ has quit [Quit: FUIR]
callumacrae has quit [Max SendQ exceeded]
`tim` has joined #ruby
JesseH has joined #ruby
harfangk has joined #ruby
ullu_ has joined #ruby
callumacrae has joined #ruby
solocshaw has quit [Ping timeout: 276 seconds]
d0nn1e has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
d0nn1e has joined #ruby
AndrewIsHere has joined #ruby
Akuma has quit [Quit: So long sukkas!]
solocshaw has joined #ruby
douglascorrea has quit []
AndrewIsHere has quit [Ping timeout: 250 seconds]
dc4 has quit [Ping timeout: 272 seconds]
solocshaw has quit [Ping timeout: 250 seconds]
ekinmur has joined #ruby
jaguarmagenta has joined #ruby
mattwashere has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
weaksauce has joined #ruby
rbennacer has joined #ruby
cd-rum has joined #ruby
neo_ has quit [Remote host closed the connection]
jaguarmagenta has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
neo_ has joined #ruby
blackmes1 has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
Robtop__ has quit [Read error: Connection reset by peer]
Robtop__ has joined #ruby
ramfjord has joined #ruby
neo_ has quit [Ping timeout: 250 seconds]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aryaching has quit [Remote host closed the connection]
solocshaw has joined #ruby
blackmes1 has quit [Ping timeout: 246 seconds]
roamingdog has joined #ruby
chouhoulis has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cd-rum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
axsuul has joined #ruby
Yzguy has joined #ruby
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
whathappens has quit [Remote host closed the connection]
eichenwald has quit [Quit: eichenwald]
whathappens has joined #ruby
solocshaw has quit [Quit: solocshaw]
User458764 has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
kriskropd has joined #ruby
macsteps has joined #ruby
pontiki has quit [Quit: Lost terminal]
ramfjord has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
macsteps has quit [Ping timeout: 258 seconds]
chouhoulis has quit [Remote host closed the connection]
rkazak has quit [Quit: Sleep.....ing....]
GodFather has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
banjara has joined #ruby
nankyokusei has joined #ruby
banjara1 has joined #ruby
LoneHermit has joined #ruby
arescorpio has joined #ruby
banjara has quit [Ping timeout: 250 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
Yzguy has quit [Quit: Zzz...]
chouhoulis has joined #ruby
ullu_ has quit [Ping timeout: 276 seconds]
Wsewolod has joined #ruby
tummy has joined #ruby
banjara1 has quit [Quit: Leaving.]
pwnd_nsfw` has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
Robtop__ has quit [Ping timeout: 250 seconds]
neo_ has joined #ruby
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmes1 has joined #ruby
Rodya_ has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shinnya has quit [Ping timeout: 276 seconds]
braincras has quit [Quit: bye bye]
Tempesta_ has joined #ruby
blackmes1 has quit [Ping timeout: 258 seconds]
cd-rum has joined #ruby
Tempesta_ has quit [Client Quit]
Cyrus has joined #ruby
`tim` has joined #ruby
chartractegg has joined #ruby
Tempesta has quit [Ping timeout: 264 seconds]
hahuang61 has joined #ruby
axsuul has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
Tempesta has joined #ruby
tummy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cd-rum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sero has quit [Remote host closed the connection]
charliesome has joined #ruby
rbennacer has quit [Remote host closed the connection]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
hahuang61 has quit [Ping timeout: 258 seconds]
gix has quit [Ping timeout: 240 seconds]
rbennacer has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
harfangk has quit [Quit: harfangk]
braincrash has joined #ruby
braincrash is now known as braincras
chartractegg has quit [Quit: chartractegg]
gix has joined #ruby
dennisvennink has joined #ruby
pawnbox has quit [Ping timeout: 258 seconds]
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 260 seconds]
unshadow has quit [Read error: Connection reset by peer]
unshadow_ has joined #ruby
karapetyan has joined #ruby
mattwashere has quit []
arnonhongklay has quit [Remote host closed the connection]
tummy has joined #ruby
jgt has quit [Ping timeout: 272 seconds]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
AndrewIsHere has joined #ruby
Devalo has joined #ruby
nettoweb has quit [Client Quit]
AndrewIsHere has quit [Ping timeout: 250 seconds]
rbennacer has quit [Remote host closed the connection]
Yzguy has joined #ruby
Devalo has quit [Ping timeout: 276 seconds]
ReK2GnULinuX has quit [Ping timeout: 240 seconds]
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
jaguarmagenta has joined #ruby
LoneHermit has quit [Remote host closed the connection]
skweek has joined #ruby
LoneHermit has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
exadeci has quit [Quit: Connection closed for inactivity]
ElFerna has quit [Ping timeout: 264 seconds]
blackmes1 has joined #ruby
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
Rodya_ has quit [Read error: Connection reset by peer]
Rodya_ has joined #ruby
blackmes1 has quit [Ping timeout: 276 seconds]
kareeoleez has joined #ruby
mistermocha has joined #ruby
arnonhongklay has joined #ruby
jaguarmagenta has joined #ruby
alfiemax has joined #ruby
naftilos76 has joined #ruby
naftilos76 has quit [Max SendQ exceeded]
naftilos76 has joined #ruby
arescorpio has quit [Quit: Leaving.]
ramfjord has quit [Ping timeout: 276 seconds]
roamingdog has quit [Remote host closed the connection]
ramfjord has joined #ruby
minimalism has joined #ruby
whathappens has quit [Quit: Leaving...]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
mtkd has quit [Ping timeout: 252 seconds]
craigp has quit [Ping timeout: 244 seconds]
duncannz has joined #ruby
leea has joined #ruby
rkazak has joined #ruby
pawnbox has joined #ruby
wigust has quit [Ping timeout: 252 seconds]
leea has quit [Client Quit]
rikai has quit [Quit: No Ping reply in 180 seconds.]
rikai has joined #ruby
roamingdog has joined #ruby
ICantCook has quit [Ping timeout: 276 seconds]
davedev24 has quit [Remote host closed the connection]
roamingdog has quit [Read error: Connection reset by peer]
ICantCook has joined #ruby
roamingdog has joined #ruby
rikai has quit [Client Quit]
_RG has joined #ruby
_RG has quit [Client Quit]
frustrum has joined #ruby
neo_ has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 276 seconds]
neo_ has joined #ruby
frustrum has quit [Client Quit]
ICantCook has quit [Read error: Connection timed out]
rikai has joined #ruby
ICantCook has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
Yzguy has quit [Quit: Cya]
neo_ has quit [Remote host closed the connection]
neo_ has joined #ruby
Devalo has joined #ruby
giz|work|2 has joined #ruby
ICantCook has quit [Client Quit]
phrozen77 has joined #ruby
cd-rum has joined #ruby
nankyokusei has joined #ruby
hahuang61 has joined #ruby
mrodrigues has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
ullu_ has joined #ruby
Devalo has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 250 seconds]
queequeg2 has joined #ruby
queequeg1 has quit [Ping timeout: 264 seconds]
floatingpoint has joined #ruby
mrodrigues has quit [Quit: leaving]
ullu_ has quit [Ping timeout: 246 seconds]
mrodrigues has joined #ruby
giz|work|2 has quit [Ping timeout: 276 seconds]
axsuul has joined #ruby
tummy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arnonhongklay has quit [Remote host closed the connection]
axsuul has quit [Max SendQ exceeded]
axsuul has joined #ruby
neo_ has quit [Remote host closed the connection]
cd-rum has quit [Ping timeout: 264 seconds]
neo_ has joined #ruby
LoneHermit has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
neo_ has quit [Ping timeout: 250 seconds]
Skuzzy has joined #ruby
<Skuzzy> Hey fellas how do I write an if statement in ruby?
<alfiemax> Skuzzy, heard of google ??
<Skuzzy> wow alfiemax please review the code of conduct before spewing your garbage here
kareeoleez has quit [Remote host closed the connection]
<Skuzzy> how do I wriote an if statemnt?
harfangk has joined #ruby
cd-rum has joined #ruby
SilverKey has joined #ruby
<alfiemax> Skuzzy, did you?
<Skuzzy> I did, did you?
<alfiemax> so did you google?
tummy has joined #ruby
GinoManWorks has joined #ruby
<alfiemax> did you check rubydocs?
<Skuzzy> You are so unwelcoming to beginners
<alfiemax> what did you do that you finally had to come here
<alfiemax> nop i'm not
<Skuzzy> How am I supposed to learn in an environment like this
blackmes1 has joined #ruby
<Nilium> He's also.. trying... to troll #go-nuts
<Nilium> So, just ignore them. Or ban them.
<alfiemax> i'm unwelcome to all who don't put in any effort to even do a google search and expect others to spoon feed you
neo_ has joined #ruby
<Skuzzy> #go-nuts are a bunch of pansies, they would have answered a question like this, good onto the ruby folks for calling me on my shit
mrodrigues has quit [Ping timeout: 246 seconds]
dminuoso has joined #ruby
GinoManWorks_ has quit [Ping timeout: 276 seconds]
arnonhongklay has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<alfiemax> Skuzzy, this is all i can do for any lazy bunch that comes in here and asks questions like this
<Nilium> alfiemax: No, they're a troll, it's OK.
cd-rum_ has joined #ruby
blackmes1 has quit [Ping timeout: 276 seconds]
cd-rum has quit [Ping timeout: 272 seconds]
JohanTux has joined #ruby
d0nn1e has quit [Ping timeout: 258 seconds]
Mon_Ouie has joined #ruby
ramfjord has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
elifoster has joined #ruby
rkazak has joined #ruby
axsuul has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rodya_ has quit [Read error: Connection reset by peer]
<shevy> he has too much time available
Rodya_ has joined #ruby
banisterfiend is now known as banisterfiend`
etehtsea has joined #ruby
solocshaw has joined #ruby
chouhoulis has quit [Remote host closed the connection]
solocshaw has quit [Ping timeout: 244 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
etehtsea has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
nadir has quit [Quit: Connection closed for inactivity]
GinoManWorks_ has joined #ruby
neo_ has quit []
duoi has quit [Ping timeout: 250 seconds]
davedev24 has joined #ruby
LoneHerm_ has joined #ruby
craigp has joined #ruby
n1x-nz has joined #ruby
SilverKey has quit [Quit: Halted.]
GinoManWorks has quit [Ping timeout: 264 seconds]
duoi has joined #ruby
last_staff has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
jaguarmagenta has quit [Remote host closed the connection]
sauvin has joined #ruby
hadronzoo has joined #ruby
etehtsea has quit [Ping timeout: 264 seconds]
skweek has quit [Ping timeout: 244 seconds]
GinoManWorks has joined #ruby
jenrzzz has joined #ruby
aufi_ has joined #ruby
kareeoleez has joined #ruby
GinoManWorks_ has quit [Ping timeout: 240 seconds]
GinoManWorks_ has joined #ruby
dminuoso has joined #ruby
Rodya_ has quit [Quit: Leaving...]
emiltin has joined #ruby
raeoks has joined #ruby
GinoManWorks has quit [Ping timeout: 272 seconds]
raeoks has quit [Max SendQ exceeded]
harfangk has quit [Quit: harfangk]
floatingpoint has quit [Quit: Goodnight]
etehtsea has joined #ruby
unshadow_ has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
cd-rum_ has quit [Ping timeout: 260 seconds]
Hyuk has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
raeoks has joined #ruby
djbkd has quit [Remote host closed the connection]
mistermocha has quit [Remote host closed the connection]
dc4 has joined #ruby
User458764 has joined #ruby
Madplatypus has joined #ruby
User458764 has quit [Max SendQ exceeded]
firstdayonthejob has joined #ruby
User458764 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
nankyokusei has joined #ruby
tummy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
raeoks has quit [Ping timeout: 276 seconds]
Hobogrammer has quit [Quit: WeeChat 0.4.2]
blackmes1 has joined #ruby
aaeron has joined #ruby
aaeron_ has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
agentmeerkat has quit [Ping timeout: 264 seconds]
aaeron has quit [Ping timeout: 260 seconds]
aaeron_ is now known as aaeron
blackmes1 has quit [Ping timeout: 246 seconds]
axsuul has joined #ruby
arch__ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
etehtsea has quit [Ping timeout: 276 seconds]
burgestrand has joined #ruby
erlend has quit [Ping timeout: 260 seconds]
aganov has joined #ruby
erlend has joined #ruby
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Ping timeout: 276 seconds]
amclain has quit [Quit: Leaving]
xall has joined #ruby
craigp has quit [Ping timeout: 258 seconds]
conta has joined #ruby
nankyokusei has joined #ruby
nankyokusei has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
nankyokusei has joined #ruby
User458764 has joined #ruby
ur5us has joined #ruby
nankyokusei has quit [Remote host closed the connection]
pawnbox has joined #ruby
dminuoso has quit [Ping timeout: 276 seconds]
xue has joined #ruby
aaeron has quit [Ping timeout: 260 seconds]
dennisvennink has joined #ruby
mtkd has joined #ruby
ryez has joined #ruby
ur5us has quit [Ping timeout: 276 seconds]
voodoofish4302 has joined #ruby
voodoofish4301 has quit [Ping timeout: 276 seconds]
djbkd has joined #ruby
dminuoso has joined #ruby
emiltin has quit [Quit: Computer has gone to sleep.]
etehtsea has joined #ruby
dionysus69 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
harfangk has joined #ruby
tvw has joined #ruby
djbkd has quit [Ping timeout: 260 seconds]
blaxter has joined #ruby
postmodern has joined #ruby
emilkarl has joined #ruby
etehtsea has quit [Ping timeout: 250 seconds]
agit0 has quit [Quit: zzzZZZ….]
firstdayonthejob has quit [Ping timeout: 246 seconds]
codecop has joined #ruby
hahuang61 has joined #ruby
unshadow has joined #ruby
chipotle has quit [Ping timeout: 258 seconds]
User458764 has joined #ruby
vondruch has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
Vile` has joined #ruby
terminalrecluse has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
DoubleMalt has joined #ruby
skweek has joined #ruby
_tpavel has joined #ruby
djbkd has joined #ruby
_tpavel has quit [Read error: Connection reset by peer]
dminuoso has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 276 seconds]
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Coldblackice has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
skweek has quit [Remote host closed the connection]
anisha has joined #ruby
roamingdog has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
cd-rum has joined #ruby
shaman42 has quit [Ping timeout: 260 seconds]
unshadow has quit [Ping timeout: 246 seconds]
voodoofish4302 has quit [Ping timeout: 264 seconds]
voodoofish4301 has joined #ruby
dminuoso has joined #ruby
hahuang61 has joined #ruby
Nahra`` has quit [Remote host closed the connection]
n1x-nz has quit [Ping timeout: 264 seconds]
pLaToOn has joined #ruby
<pLaToOn> moin
fclausen has quit [Ping timeout: 240 seconds]
agentmeerkat has joined #ruby
jolamb has quit [Quit: ZNC - http://znc.in]
blackmes1 has joined #ruby
Wildfyr has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
shaman42 has joined #ruby
Nahra has joined #ruby
skade has joined #ruby
blaxter has quit [Quit: foo]
theRoUS has quit [Ping timeout: 244 seconds]
abonec has joined #ruby
nadir has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
elifoster has quit [Quit: dormir]
agentmeerkat has quit [Ping timeout: 260 seconds]
cd-rum_ has joined #ruby
cd-rum has quit [Ping timeout: 246 seconds]
xall has quit [Ping timeout: 258 seconds]
yfeldblum has joined #ruby
Vile` has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
mark_66 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zenspider has joined #ruby
zenspider has quit [Changing host]
zenspider has joined #ruby
<zenspider> rawr
blackgoat has quit [Quit: WeeChat 1.5]
craigp has joined #ruby
giz|work|2 has joined #ruby
TheWhip has joined #ruby
solocshaw has joined #ruby
araujo_ has joined #ruby
agit0 has joined #ruby
araujo has quit [Ping timeout: 272 seconds]
emiltin has joined #ruby
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest17731 has joined #ruby
solocshaw has quit [Ping timeout: 244 seconds]
bkxd has joined #ruby
Silthias has joined #ruby
ciampix has joined #ruby
pLaToOn has quit [Read error: Connection reset by peer]
araujo_ has quit [Max SendQ exceeded]
jolamb has joined #ruby
solars has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Dimik has joined #ruby
giz|work|2 has quit [Ping timeout: 264 seconds]
biberu has joined #ruby
jaguarmagenta has joined #ruby
dennisvennink has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
colegatron has quit [Ping timeout: 240 seconds]
emiltin has quit [Quit: Computer has gone to sleep.]
harfangk has quit [Quit: harfangk]
AndrewIsHere has joined #ruby
multi_io has quit [Ping timeout: 250 seconds]
multi_io has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 264 seconds]
rann has joined #ruby
Xeago_ has quit [Ping timeout: 264 seconds]
ponga has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
ciampix has quit [Ping timeout: 260 seconds]
AndrewIsHere has quit [Ping timeout: 250 seconds]
Guest88101 is now known as ndrst
arnonhongklay has quit [Remote host closed the connection]
yeticry has joined #ruby
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<alfiemax> maybe someone here can help me with this
carella has quit [Read error: Connection timed out]
roamingdog has joined #ruby
ur5us has joined #ruby
unshadow has joined #ruby
carella has joined #ruby
<hanmac> alfiemax: what kind of class is e? Time or DateTime?
<alfiemax> DateTime
pawnbox has quit [Remote host closed the connection]
<hanmac> hm an idea would be to port it to time first ... (i noticed that Time and DateTime has different outputs)
roamingdog has quit [Ping timeout: 246 seconds]
<alfiemax> hmm, let me try
giz|work|2 has joined #ruby
<alfiemax> tried that,
<alfiemax> updateed the gist with the output
TheWhip has quit [Remote host closed the connection]
jgt has joined #ruby
wuyin has quit [Ping timeout: 260 seconds]
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wuyin has joined #ruby
emilkarl has joined #ruby
joonty has joined #ruby
blackmes1 has joined #ruby
djbkd has quit [Remote host closed the connection]
rkazak has joined #ruby
Hyuk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
n1x-nz has joined #ruby
<hanmac> alfiemax: it seems json has no love for Time/Date/DateTime objects and does simply use their to_s method :/
zeroDi has joined #ruby
conta has quit [Ping timeout: 244 seconds]
Coldblackice has quit [Ping timeout: 260 seconds]
conta has joined #ruby
mikecmpbll has joined #ruby
colegatron has joined #ruby
duncannz has quit [Quit: Leaving]
ferr1 has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
<j416> alfiemax: what is wrong with the first variant?
giz|work|2 has quit [Ping timeout: 258 seconds]
dennisvennink has joined #ruby
Snowy has joined #ruby
Couch has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
tvw has quit []
unshadow has quit [Quit: leaving]
giz|work|2 has joined #ruby
Dimik has quit [Ping timeout: 244 seconds]
skweek has quit [Remote host closed the connection]
etehtsea has joined #ruby
pawnbox has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
skweek has joined #ruby
burgestrand has joined #ruby
marr has joined #ruby
ciampix has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
raeoks has joined #ruby
giz|work|2 has quit [Ping timeout: 276 seconds]
tomphp has joined #ruby
haxrbyte_ has quit [Quit: Leaving...]
arnonhongklay has joined #ruby
etehtsea has quit [Ping timeout: 240 seconds]
blackmes1 has joined #ruby
etehtsea has joined #ruby
chipotle has joined #ruby
conta has quit [Remote host closed the connection]
TomyWork has joined #ruby
conta has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
ahmetkapikiran has joined #ruby
jenrzzz has joined #ruby
craigp has quit [Ping timeout: 276 seconds]
craigp has joined #ruby
ur5us has quit [Remote host closed the connection]
ullu_ has joined #ruby
sdothum has joined #ruby
yeticry has quit [Ping timeout: 246 seconds]
arch__ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
lxsameer has joined #ruby
yeticry has joined #ruby
AndrewIsHere has joined #ruby
ullu_ has quit [Ping timeout: 260 seconds]
Xeago_ has joined #ruby
yitsushi has joined #ruby
Xeago_ has quit [Remote host closed the connection]
AndrewIsHere has quit [Ping timeout: 250 seconds]
psmmr has joined #ruby
dc4 has quit [Ping timeout: 252 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Hyuk has joined #ruby
yitsushi is now known as yitsushi^away
etehtsea has quit [Ping timeout: 240 seconds]
yitsushi^away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
giz|work|2 has joined #ruby
yitsushi has joined #ruby
etehtsea has joined #ruby
etehtsea has quit [Client Quit]
Xeago_ has joined #ruby
agentmeerkat has joined #ruby
mdw has joined #ruby
chipotle has quit [Ping timeout: 250 seconds]
conta1 has joined #ruby
mdw_ has joined #ruby
conta has quit [Ping timeout: 246 seconds]
conta1 is now known as conta
mdw_ has quit [Max SendQ exceeded]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
mdw_ has joined #ruby
kfrer has quit [Quit: kfrer]
dangerousdave has joined #ruby
agentmeerkat has quit [Ping timeout: 252 seconds]
mdw has quit [Ping timeout: 240 seconds]
GodFather has quit [Ping timeout: 250 seconds]
conta has quit [Ping timeout: 258 seconds]
conta has joined #ruby
ahmetkapikiran has joined #ruby
charliesome has joined #ruby
User458764 has joined #ruby
giz|work|2 has quit [Ping timeout: 272 seconds]
conta has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
conta has joined #ruby
saneax is now known as saneax_AFK
zeroDi has quit [Quit: WeeChat 1.5]
skade has joined #ruby
psmmr has quit [Ping timeout: 276 seconds]
Silthias has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
Silthias has joined #ruby
axsuul has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cd-rum_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cd-rum has joined #ruby
postmodern has quit [Quit: Leaving]
xcesariox has joined #ruby
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
n1x-nz has quit [Quit: Computer says no]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
conta1 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jgt has quit [Ping timeout: 252 seconds]
solars has quit [Ping timeout: 260 seconds]
dangerousdave has quit [Ping timeout: 276 seconds]
charliesome has joined #ruby
conta has quit [Ping timeout: 260 seconds]
conta1 is now known as conta
yitsushi is now known as yitsushi^away
yitsushi^away is now known as yitsushi
jaguarmagenta has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.5]
jenrzzz has quit [Ping timeout: 240 seconds]
Mon_Ouie has joined #ruby
klaas- has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
<jokke> w...t...f...
<jokke> range = "70:B3:D5:FA:40:00".."70:B3:D5:FA:4F:FF"
<jokke> range.include? '70:B3:D5:FA:40:EA'
<jokke> => false
<jokke> range.begin <= '70:B3:D5:FA:40:EA' && range.end >= '70:B3:D5:FA:40:EA'
<jokke> => true
siaw23 has joined #ruby
<Mon_Ouie> Use Range#cover?
<jokke> cover?
<Mon_Ouie> Range#include? works by iterating, not by simply comparing the beginning and the end
<jokke> ahh
<Mon_Ouie> &ri Range#cover?
<jokke> that's super inefficient
<siaw23> i have a module like this in another file in another folder: https://gist.github.com/siaw23/599fee7f56c59c6cd5af7d9b43829634 how do i use the “open_recent_notice” in another file in another folder? do i require the file with the method with it’s path and also “include” something?
<jokke> good to know
<Mon_Ouie> I believe it's only special cased for Numeric
jaruga___ has joined #ruby
jaruga___ is now known as jaruga
User458764 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yitsushi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ljarvis> siaw23: require the file and then include the module, then you'll be able to use the method
<siaw23> yup did that and all’s fine. thanks :)
xcesariox has quit [Remote host closed the connection]
matp has quit [Ping timeout: 240 seconds]
cd-rum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nhhc has joined #ruby
platzhirsch has joined #ruby
pandaant has joined #ruby
mdw has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
agentmeerkat has joined #ruby
haxrbyte has joined #ruby
User458764 has joined #ruby
mdw_ has quit [Ping timeout: 276 seconds]
jgt has joined #ruby
haxrbyte has quit [Client Quit]
agentmeerkat has quit [Ping timeout: 260 seconds]
scottj has quit [Quit: leaving]
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Wildfyr> Uh, what is wrong with my program
<dminuoso> Wildfyr: I don't know.
<Wildfyr> It is a RPN calculator, and all of the operators except division work
<dminuoso> Wildfyr: Can you be more specific than "it does not work" ?
latemus has joined #ruby
<latemus> hey guys
<Wildfyr> from my understanding it should output 2.5 but gives out a 0.4
<latemus> and seven
siaw23 has quit [Quit: siaw23]
latemus has left #ruby [#ruby]
<ccooke> Wildfyr: because the order of operations matters for division when it doesn't for addition or multiplication, and you have the operands the wrong way round everywhere
<ccooke> 5 / 2 would be 2.5, as expected. 2 / 5 is 0.4
DenSchub has joined #ruby
<Wildfyr> ccooke: oh ...
<Wildfyr> didn't notice ir
<Wildfyr> it*
<Wildfyr> thanks
<ccooke> np
<ccooke> (also, consider replacing the repeated if/end blocks with a single case/when/end
<Wildfyr> ccooke: okay
<dminuoso> Wildfyr: Another minor thing, if you use "rescue" inside a method without a begin, indent the rescue on the same column as "def" and its "end"
<dminuoso> Looks much nicer. :)
yfeldblum has joined #ruby
<Mon_Ouie> And instead of using shift and insert(0, x) (a.k.a unshift), use push and pop to implement a stack --- inserting/removing at the beginning of an array is going to be more expensive than doing so at the end of the array
anisha_ has joined #ruby
saneax_AFK is now known as saneax
<Wildfyr> Mon_Ouie: okay
<Wildfyr> ccooke: noob question, how would i get the correct order
<dminuoso> Wildfyr: a / b - change the order of the operands.
<dminuoso> In chat.
anisha has quit [Ping timeout: 260 seconds]
<ccooke> Wildfyr: you're using shifts to pull the operands off the stack. If you do those into variables before you process the operand, you can control the order
<Wildfyr> ccooke: okay
<ccooke> as it is, you're always using the top of the stack - the most recent number - first
chip_ has joined #ruby
<ccooke> so if the stack is [2 3 + 2 /], then the + will see [2 3] as the stack, pull off the 3 first, then the 2, and run 3 + 2.
<ccooke> the / sees a stack like [5 2], pulls off the 2 first, then pulls off the 5
<Wildfyr> ccooke: thanks for the explanation
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Wildfyr> great
karapetyan has quit [Remote host closed the connection]
toretore has joined #ruby
karapetyan has joined #ruby
<dminuoso> Anyone here speak Japanese? Got a ruby related paragraph that I would like an accurate translation for.
dennisvennink has joined #ruby
ramfjord has joined #ruby
allcentury has joined #ruby
Hyuk has quit [Ping timeout: 240 seconds]
agit0 has quit [Quit: zzzZZZ….]
yitsushi has joined #ruby
conta has quit [Ping timeout: 276 seconds]
complex5852 has joined #ruby
User458764 has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
User458764 has quit [Max SendQ exceeded]
User458764 has joined #ruby
<complex5852> Got a question about passing a hash to a method (kinda new to language). So let's say I have two strings "a" and "b" and I wanna pass it as foo(a: b), I know there is a .to_sym function but how would you make this as elegant as possible? I tried foo("#{a}: #{b}") but it didn't seem to like that.
GodFather has joined #ruby
<dminuoso> complex5852: What prevents you from passing them as foo(a: b) ?
<complex5852> They are in string form natively and a and b are variable
<complex5852> a wont always be the same
DenSchub has quit [Ping timeout: 272 seconds]
<complex5852> (to give you some context, this is in rails where I'm reading a and b from controller params)
<dminuoso> complex5852: { a.to_sym => b }
<dminuoso> Is plain and I do not think it can get more elegant than that.
<complex5852> Okay, ill go with that, thanks!
<dminuoso> complex5852: There are some other trickery functions especially in Rails, but they are simply oversized for what you are describing.
charliesome has joined #ruby
the_drow has joined #ruby
craigp has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
troulouliou_div2 has joined #ruby
karapetyan has quit [Remote host closed the connection]
roamingdog has joined #ruby
jgt1 has joined #ruby
jgt has quit [Ping timeout: 264 seconds]
ciampix has quit [Ping timeout: 260 seconds]
agit0 has joined #ruby
roamingdog has quit [Ping timeout: 246 seconds]
AnoHito has quit [Ping timeout: 264 seconds]
<gregf_> >> class Foo; def bar(**kwargs); p kwargs;end;end; Foo.new.bar(a: 100); # complex5852 is this what you're trying?
<ruby[bot]> gregf_: # => {:a=>100} ...check link for more (https://eval.in/599021)
<complex5852> Well as part of a method but yea basically
<gregf_> >> class Foo; def bar **kwargs; p kwargs;end;end; a = "foo"; Foo.new.bar(a.to_sym => 100); #oh, prolly this or else
<ruby[bot]> gregf_: # => {:foo=>100} ...check link for more (https://eval.in/599026)
dminuoso has quit [Ping timeout: 260 seconds]
jgt1 has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
AnoHito has joined #ruby
DenSchub has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DenSchub has quit [Client Quit]
nando294021 has quit [Quit: Lost terminal]
Vingador has joined #ruby
Wildfyr has quit [Ping timeout: 258 seconds]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
binaryplease1 has joined #ruby
dionysus69 has quit [Ping timeout: 258 seconds]
kobain has joined #ruby
al2o3-cr has quit [Ping timeout: 264 seconds]
binaryplease has quit [Ping timeout: 276 seconds]
dminuoso has joined #ruby
jgt1 has joined #ruby
DenSchub has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
Piredez has joined #ruby
dionysus69 has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
emilkarl has joined #ruby
binaryplease1 is now known as binaryplease
johnmilton has joined #ruby
Piredez has quit [Quit: ZNC - http://znc.in]
Piredez has joined #ruby
yitsushi has quit [Quit: Textual IRC Client: www.textualapp.com]
Piredez is now known as yitsushi
yitsushi is now known as lightgod
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago_ has quit [Remote host closed the connection]
soulisson has joined #ruby
DenSchub has quit [Ping timeout: 240 seconds]
<soulisson> In ruby, can a library be on multiple files?
ryez has quit [Ping timeout: 250 seconds]
solocshaw has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
bkxd has quit [Ping timeout: 276 seconds]
stoopidmunkey has joined #ruby
<tobiasvl> yes
<soulisson> thanks
<dminuoso> soulisson: It is usually a great idea to limit a file to a single module or class.
ahmetkapikiran has quit [Quit: ahmetkapikiran]
solocshaw has quit [Ping timeout: 244 seconds]
ldnunes has joined #ruby
<dminuoso> (You don't have to force this, but use this as a general pointer)
alfiemax has joined #ruby
Vingador has quit [Read error: Connection reset by peer]
<soulisson> dminuoso, ok, so if my library has multiple classes best to put each class in its own file?
<shevy> yesterday I had a strange thought
<shevy> I had an old directory actions/ with lots of individual .rb files
hanmac has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
ullu_ has joined #ruby
<shevy> all of these started with like "class Bla"
<shevy> in my rewrite, the toplevel was a module, and the name was different so I had to manually change all of it
<shevy> so then I was wondering... (a) what if we could write module and class agnostic code... and (b) designate the main namespace at a later point
<shevy> like container { }
<shevy> then designate the name and the type of the main container lateron
giz|work|2 has joined #ruby
dminuoso has quit [Remote host closed the connection]
Xeago_ has joined #ruby
ahmetkapikiran has joined #ruby
dminuoso has joined #ruby
Xeago_ has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
conta has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Xeago_ has joined #ruby
hk238 has joined #ruby
rodfersou has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
blur3d has joined #ruby
hanmac has joined #ruby
GodFather has quit [Ping timeout: 250 seconds]
joonty has joined #ruby
giz|work|2 has quit [Ping timeout: 258 seconds]
ldnunes has quit [Read error: Connection reset by peer]
mikecmpb_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ldnunes has joined #ruby
jrafanie has joined #ruby
nettoweb has joined #ruby
complex5852 has quit [Ping timeout: 250 seconds]
last_staff has quit [Quit: last_staff]
eatsfoobars has joined #ruby
eatsfoobars has quit [Client Quit]
eatsfoobars has joined #ruby
last_staff has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
platzhirsch has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
<soulisson> In OOP, calling a method is the same as sending a message to the target object?
yardenbar has joined #ruby
last_staff has quit [Quit: last_staff]
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<toretore> soulisson: basically, yes
itguru has joined #ruby
<soulisson> toretore, thanks
agentmeerkat has joined #ruby
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
User458764 has joined #ruby
Vile` has joined #ruby
User458764 has quit [Client Quit]
dminuoso has quit [Ping timeout: 276 seconds]
agentmeerkat has quit [Ping timeout: 244 seconds]
eatsfoobars has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
lightgod is now known as yitsushi
amcoder has quit [Ping timeout: 244 seconds]
User458764 has joined #ruby
tk__ has joined #ruby
bmaland has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
swills has quit [Ping timeout: 240 seconds]
Xeago_ has quit [Remote host closed the connection]
joonty has quit [Quit: This computer has gone to sleep]
Xeago_ has joined #ruby
yitsushi is now known as yitsushi^away
fmcgeough has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
allcentury has quit [Ping timeout: 250 seconds]
giz|work|2 has joined #ruby
Xeago_ has quit [Remote host closed the connection]
ullu_ has quit [Ping timeout: 276 seconds]
Xeago_ has joined #ruby
yitsushi^away is now known as yitsushi
Vile` has quit [Ping timeout: 252 seconds]
roamingdog has joined #ruby
craigp has joined #ruby
rodfersou is now known as rodfersou|afk
Xeago_ has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
roamingdog has quit [Ping timeout: 240 seconds]
yardenbar has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
minimalism has quit [Quit: minimalism]
sergio_101 has joined #ruby
ahmetkapikiran has joined #ruby
joonty has joined #ruby
SirOliver has joined #ruby
DenSchub has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
allcentury has joined #ruby
chipotle has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
DarthGandalf has quit [Ping timeout: 250 seconds]
Xeago_ has joined #ruby
mark_66 has quit [Remote host closed the connection]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
freerobby1 has quit [Quit: Leaving.]
mark_66 has joined #ruby
freerobby has joined #ruby
mdw has joined #ruby
Xeago_ has quit [Remote host closed the connection]
Silthias has quit [Ping timeout: 272 seconds]
Silthias has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
minimalism has joined #ruby
ChiefAlexander has joined #ruby
mdw_ has joined #ruby
aegis3121 has joined #ruby
crystal77 has joined #ruby
rodfersou|afk is now known as rodfersou
SirOliver has quit [Read error: Connection reset by peer]
mdw has quit [Ping timeout: 260 seconds]
aupadhye has joined #ruby
dminuoso has joined #ruby
SirOliver has joined #ruby
mrodrigues has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
allcentury has quit [Ping timeout: 240 seconds]
jgt1 has quit [Ping timeout: 258 seconds]
Parko has quit [Ping timeout: 258 seconds]
malconis has joined #ruby
mdw has joined #ruby
malconis has quit [Remote host closed the connection]
malconis has joined #ruby
zapata has joined #ruby
zapata is now known as Guest22126
giz|work has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
SirOliver has quit [Ping timeout: 240 seconds]
swills has joined #ruby
mdw_ has quit [Ping timeout: 260 seconds]
TomyWork has quit [Ping timeout: 276 seconds]
giz|work|2 has quit [Ping timeout: 240 seconds]
c0mrad3 has joined #ruby
agentmeerkat has joined #ruby
marsjaninzmarsa has quit [Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in]
ekinmur has joined #ruby
marsjaninzmarsa has joined #ruby
kareeole_ has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
SirOliver has joined #ruby
`tim` has joined #ruby
hackerdude has quit [Ping timeout: 264 seconds]
ncthom91 has joined #ruby
agentmeerkat has quit [Ping timeout: 276 seconds]
Xeago_ has joined #ruby
kareeoleez has quit [Ping timeout: 240 seconds]
ncthom91 has quit [Client Quit]
agentmeerkat has joined #ruby
Xeago_ has quit [Remote host closed the connection]
blackmes1 has joined #ruby
Xeago_ has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
chouhoulis has joined #ruby
crystal77 has quit [Quit: Textual IRC Client: www.textualapp.com]
jgt1 has joined #ruby
chip_ has quit [Ping timeout: 260 seconds]
JohanTux has quit []
ChiefAlexander has joined #ruby
loocash has joined #ruby
lsmola has quit [Quit: Leaving]
blackmes1 has quit [Ping timeout: 250 seconds]
psmmr has joined #ruby
arch__ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Xeago_ has quit [Remote host closed the connection]
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
davedev24 has joined #ruby
SirOliver has quit [Read error: Connection reset by peer]
<soulisson> Do hashes store key value pairs?
<dminuoso> soulisson: Yes.
prestorium has quit [Quit: Leaving]
<soulisson> dminuoso, thanks
atmosx_alt is now known as atmosx
loocash has quit [Quit: Leaving]
SirOliver has joined #ruby
prestorium has joined #ruby
<fujinuma> I've read "Well Grounded Rubyist" book what do you suggest next?
SirOliver has quit [Read error: Connection reset by peer]
<fujinuma> also Rails 4 in Action
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 240 seconds]
<fujinuma> my knowledge lacking at Database, Testing, Design Patterns
jaguarmagenta has joined #ruby
deecross has joined #ruby
davedev24 has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
charliesome has joined #ruby
<dminuoso> fujinuma: Eloquent Ruby is probably one of the better books out there.
SirOliver has joined #ruby
<fujinuma> dminuoso: I'm currently work on Ruby on Rails projects what's next suggestion?
User458764 has joined #ruby
<dminuoso> fujinuma: Writing code.
<dminuoso> If those two books don't give you enough to work with Ruby, then nothing else will.
Xeago_ has joined #ruby
MrBusiness2 has joined #ruby
blaxter has joined #ruby
Xeago_ has quit [Remote host closed the connection]
jaguarmagenta has quit [Ping timeout: 264 seconds]
ramfjord has joined #ruby
DaniG2k has joined #ruby
<DaniG2k> jeez I just tried getting up and running with Sensu :S it's a massive pain
MrBusiness3 has quit [Ping timeout: 250 seconds]
aryaching has joined #ruby
shinnya has joined #ruby
mattwashere has joined #ruby
giz|work has quit [Ping timeout: 260 seconds]
tvw has quit [Ping timeout: 272 seconds]
Silthias1 has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
Silthias has quit [Ping timeout: 240 seconds]
TomyLobo has joined #ruby
deecross has quit [Remote host closed the connection]
dumdedum has joined #ruby
Silthias1 has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
chip_ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
emilkarl has quit [Quit: Textual IRC Client: www.textualapp.com]
deecross has joined #ruby
tvw has joined #ruby
jaguarmagenta has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
User458764 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deecross has quit [Remote host closed the connection]
SirOliver has quit [Read error: Connection reset by peer]
JeremyM_ has joined #ruby
DaniG2k has quit [Remote host closed the connection]
deecross has joined #ruby
pandaant has quit [Remote host closed the connection]
SirOliver has joined #ruby
SirOliver has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
ChiefAlexander has joined #ruby
banisterfiend` is now known as banisterfiend
tvon has joined #ruby
deecross has left #ruby [#ruby]
blur3d has quit [Quit: blur3d]
arnonhon_ has joined #ruby
arnonhongklay has quit [Ping timeout: 246 seconds]
tvw has quit [Remote host closed the connection]
jaguarmagenta has quit [Remote host closed the connection]
SirOliver has joined #ruby
SirOliver has quit [Read error: Connection reset by peer]
last_staff has joined #ruby
SirOliver has joined #ruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
xall has joined #ruby
Xeago_ has quit [Remote host closed the connection]
jgt1 has quit [Quit: WeeChat 1.4]
rbennacer has joined #ruby
dumdedum has quit [Ping timeout: 250 seconds]
SirOliver has quit [Client Quit]
SirOliver has joined #ruby
conta has quit [Ping timeout: 264 seconds]
SirOliver has quit [Client Quit]
ChiefAlexander has quit [Remote host closed the connection]
dopamean_ has joined #ruby
Robtop__ has joined #ruby
codecop has quit [Remote host closed the connection]
crdpink has quit [Excess Flood]
Fridtjof has quit [Ping timeout: 250 seconds]
crdpink has joined #ruby
Fridtjof has joined #ruby
deecross has joined #ruby
MrBusiness3 has joined #ruby
Asher has quit [Quit: Leaving.]
SilverKey has joined #ruby
nando293921 has joined #ruby
blackmes1 has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
Asher has joined #ruby
alfiemax has joined #ruby
MrBusiness2 has quit [Ping timeout: 250 seconds]
dumdedum has joined #ruby
ullu_ has joined #ruby
<dminuoso> asm>> get :index, { term: 'foo' }, format: :json
<ruby[bot]> dminuoso: I have disassembled your code, the result is at https://eval.in/599187
lele has quit [Ping timeout: 260 seconds]
Es0teric has joined #ruby
matp has joined #ruby
dumdedum has quit [Client Quit]
ChiefAlexander has joined #ruby
floatingpoint has joined #ruby
blackmes1 has quit [Ping timeout: 246 seconds]
lele has joined #ruby
TheWhip has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
ullu_ has quit [Ping timeout: 260 seconds]
kareeole_ has quit [Remote host closed the connection]
TheWhip has joined #ruby
Xeago_ has joined #ruby
SilverKey has joined #ruby
ciampix has joined #ruby
TheWhip has quit [Ping timeout: 260 seconds]
<dminuoso> dminuoso> asm>> get :index, term: 'foo' , format: :json
<dminuoso> asm>> get :index, term: 'foo' , format: :json
<ruby[bot]> dminuoso: I have disassembled your code, the result is at https://eval.in/599196
blackmes1 has joined #ruby
JeremyM_ has quit [Quit: Textual IRC Client: www.textualapp.com]
saneax is now known as saneax_AFK
DarthGandalf has joined #ruby
psmmr has quit [Ping timeout: 276 seconds]
_bart has joined #ruby
<_bart> When I do 'example'.hash, what hashing algorithm is actually used to create the 32 bit hash?
mrodrigues has quit [Quit: leaving]
<dminuoso> (By default its fed with the object ID)
<dminuoso> Sorry my bad, misclick.
psmmr has joined #ruby
xall has quit [Ping timeout: 250 seconds]
<_bart> dminuoso: thanks
chipotle has quit [Ping timeout: 250 seconds]
<dminuoso> _bart: also that happens to be 2.1.1, you might want to switch the version (not sure if that bit has been touched)
aryaching has quit [Remote host closed the connection]
loocash has joined #ruby
aryaching has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
burgestrand has joined #ruby
senayar_ has joined #ruby
senayar has quit [Read error: Connection reset by peer]
<Mon_Ouie> It uses SipHash (https://en.wikipedia.org/wiki/SipHash)
aganov has quit [Remote host closed the connection]
<dminuoso> Thanks Mon_Ouie. :)
* dminuoso does not know much about Ruby, but he knows how to find where things are
thatsnotjack has joined #ruby
infra-red has joined #ruby
Silthias has joined #ruby
burgestrand has quit [Client Quit]
terlar has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
<_bart> Mon_Ouie: thanks
Rabbit__ has joined #ruby
infra-red has quit [Client Quit]
last_staff has quit [Quit: last_staff]
LuckyABA has joined #ruby
ChiefAlexander has joined #ruby
zeroDi has joined #ruby
deecross has left #ruby [#ruby]
senayar_ has quit []
Hyuk has joined #ruby
SilverKey has quit [Quit: Halted.]
rbennace_ has joined #ruby
tvw has joined #ruby
voodoofish4301 has quit [Quit: Leaving.]
Hyuk has quit [Max SendQ exceeded]
voodoofish4301 has joined #ruby
leea has joined #ruby
Guest99599 is now known as dionyziz
symm- has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
axl_ has joined #ruby
dionyziz has left #ruby [#ruby]
neo_ has joined #ruby
roamingdog has joined #ruby
anisha_ has quit [Quit: This computer has gone to sleep]
hxegon_afk is now known as hxegon
raldu is now known as ooc
SilverKey has joined #ruby
pawnbox has quit [Remote host closed the connection]
ooc is now known as raldu
skarlso has joined #ruby
Devalo has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.5]
eatsfoobars has joined #ruby
TheWhip has joined #ruby
ramfjord has joined #ruby
blackmes1 has quit [Ping timeout: 250 seconds]
craigp has quit [Ping timeout: 260 seconds]
skade has quit [Quit: Computer has gone to sleep.]
skarlso has quit [Quit: Bye]
skarlso has joined #ruby
DoubleMalt has quit [Ping timeout: 252 seconds]
klaas has joined #ruby
Xeago_ has quit [Ping timeout: 250 seconds]
flopsec has joined #ruby
descript has joined #ruby
pawnbox has joined #ruby
eatsfoobars has quit [Read error: Connection reset by peer]
skarlso has quit [Client Quit]
mark_66 has left #ruby ["PART #RubyOnRails :PART #elixir-lang :PART #crystal-lang :PONG :card.freenode.net"]
Devalo has quit [Remote host closed the connection]
the_drow has quit [Quit: Leaving]
<crankharder> having some trouble getting nokogiri 1.6.8 installed on OSX. the nokogiri help says it's supposed to "just work" with vendored libxml2, but that's saying it cant find libxml2. specifically speciying a path to homebrew installed libxml2 also fails to find it. any ideas? https://gist.github.com/anonymous/3717250e8502697950d1e23bf219fa44
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
rkazak has joined #ruby
Guest17731 has quit [Remote host closed the connection]
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
descript has quit [Ping timeout: 240 seconds]
tvon has quit [Quit: Peace out, y'all!]
rodfersou is now known as rodfersou|lunch
aufi_ has quit [Remote host closed the connection]
skarlso has joined #ruby
<dminuoso> crankharder: Also homebrew installs things into /usr/local/Cellar by default, are you sure the path is correct?
rkazak has quit [Client Quit]
<crankharder> dminuoso: yea, that path is a symlink
<crankharder> the path in my --with* cmds came from the output of homebrew post-install
smathy has joined #ruby
karapetyan has joined #ruby
psftlc has joined #ruby
macsteps has joined #ruby
shinnya has quit [Ping timeout: 276 seconds]
<crankharder> dminuoso: xcode-select --install did the trick
<crankharder> thanks! :)
<dminuoso> crankharder: include/libxml2 is the correct include directory btw.
shinnya has joined #ruby
ferr1 has quit [Quit: WeeChat 1.5]
blackmes1 has joined #ruby
rkazak has joined #ruby
sepp2k has quit [Quit: Leaving.]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ncthom91 has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
loocash has quit [Quit: Leaving]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
smathy has joined #ruby
User458764 has joined #ruby
dionysus69 has quit [Ping timeout: 258 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
conta has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
tokynet has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
Vingador has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
xaxisx has joined #ruby
Xeago_ has joined #ruby
DarthGandalf has quit [Ping timeout: 244 seconds]
Ishido has joined #ruby
macsteps has quit [Remote host closed the connection]
polishdub has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
amclain has joined #ruby
loocash has joined #ruby
rbennace_ has quit [Remote host closed the connection]
skade has joined #ruby
xaxisx has quit [Quit: Leaving]
skarlso has quit [Quit: Bye]
karapetyan has joined #ruby
rbennacer has joined #ruby
carella has quit [Ping timeout: 260 seconds]
Ishido has quit [Ping timeout: 244 seconds]
LuckyABA has joined #ruby
carella has joined #ruby
agentmeerkat has quit [Ping timeout: 276 seconds]
Devalo has joined #ruby
carella has quit [Remote host closed the connection]
agentmeerkat has joined #ruby
Xeago_ has quit [Remote host closed the connection]
carella has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
tk__ has quit [Quit: ばいばい]
mikecmpbll has quit [Ping timeout: 272 seconds]
darkdreamingdan has joined #ruby
araujo has joined #ruby
rbennacer has quit [Ping timeout: 258 seconds]
<darkdreamingdan> hey guys, can anyone help me understand what happens here? http://pastebin.com/2pxxwYCi
<ruby[bot]> darkdreamingdan: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/9f9de33bfef5fbaba111a8ba997d2611
<ruby[bot]> darkdreamingdan: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<darkdreamingdan> where frequencies is a hash
<darkdreamingdan> sort_by method returns a 2d array, as i understand
<darkdreamingdan> but what's the count statement actually doing?
<darkdreamingdan> is it returning count to the sort_by function? im confused
aegis3121 has quit [Ping timeout: 240 seconds]
<darkdreamingdan> i've just never seen a variable as an isolated statement before in other langs
karapetyan has quit [Remote host closed the connection]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
karapetyan has joined #ruby
<toretore> darkdreamingdan: the part between { and } is an anonymous function, which is run by sort_by to determine the value to sort by; in your case, it returns the valye of `count`
<darkdreamingdan> so in ruby, an isolated statement is deduced as a 'return' if it's not a method?
<toretore> no
<toretore> the last expression in a function is returned implicitly
terlar has quit [Ping timeout: 258 seconds]
<toretore> the value of your last expression is whatever's in count
<elomatreb> the last evaluated expression, to be exact
<darkdreamingdan> right, does that mean that ruby /always/ returns something in a method
<toretore> yes
<elomatreb> yes
<darkdreamingdan> assuming the method isn't empty
<dminuoso> The last evaluated expression outside ensure blocks, to be even more exact.
<darkdreamingdan> ah i see
nando293921 has quit [Quit: Lost terminal]
<toretore> an "empty" method returns nil
<darkdreamingdan> but i guess i can also use 'return' to force it earlier, if i wish
<toretore> yes
<darkdreamingdan> great, thanks.
<elomatreb> yes, but it's not used often
floatingpoint has quit [Quit: Goodnight]
<toretore> explicit return is somewhat of a code smell
psftlc has quit [Remote host closed the connection]
gigidell has joined #ruby
KensoDev has joined #ruby
<smathy> darkdreamingdan, the starting array must have been an array of tuples, not a hash.
<darkdreamingdan> well i mean something like "if somethingbad return false end"
Ishido has joined #ruby
jaguarmagenta has joined #ruby
diegoviola has joined #ruby
<toretore> then it should probably be `if something bad; false; else; ...; end`
<smathy> darkdreamingdan, >> [ [ :foo, 3 ], [ :bar, 2 ]].sort_by { |word, count| count }
Couch has quit [Ping timeout: 272 seconds]
<elomatreb> You are free to do so, but most codestyle guides tell you to avoid to where possible
SilverKey has quit [Quit: Halted.]
<elomatreb> *it
<smathy> >> [ [ :foo, 3 ], [ :bar, 2 ]].sort_by { |word, count| count }
<ruby[bot]> smathy: # => [[:bar, 2], [:foo, 3]] (https://eval.in/599265)
rann has quit [Remote host closed the connection]
<darkdreamingdan> that's a hash, no?
<elomatreb> Yes, but the value passed to your block is a array of the form [key, value] iirc
<elomatreb> if you want to have key and value of a hash in a block as separate values, you can specify two block parameters (like {key:"value"}.each {|key, value| ... }
itguru has quit [Ping timeout: 246 seconds]
mattwashere has quit [Remote host closed the connection]
<darkdreamingdan> toretore: i see
jaguarmagenta has quit [Ping timeout: 250 seconds]
<toretore> darkdreamingdan: insert `p(value)` at various points in your code to inspect values, this will help you understand how things work and how values change
<elomatreb> I'm an idiot btw, misread your code
SilverKey has joined #ruby
nando293921 has joined #ruby
tomphp has quit [Ping timeout: 276 seconds]
<darkdreamingdan> yeah, i figure the code is doing exactly as you just described
<darkdreamingdan> i'll bear hat in mind, thanks tore
Hobogrammer has joined #ruby
<smathy> darkdreamingdan, count won't be being set to anything.
<darkdreamingdan> what's confusing me now is this
SilverKey has quit [Client Quit]
<darkdreamingdan> <smathy> darkdreamingdan, the starting array must have been an array of tuples, not a hash.
ponga has quit [Quit: Connection closed for inactivity]
<darkdreamingdan> surely it's a hash that i call .sort_by on
<toretore> darkdreamingdan: it's not a strict ban, purr say, i use early return sometimes, but i've also gotten myself in trouble more than once by using it and then keep adding more of them until it's a mess
<smathy> darkdreamingdan, yes, I was assuming the sort_by was actually working. You're right, it's a hash, but it's not working.
rkazak has quit [Ping timeout: 260 seconds]
<smathy> >> [ { foo: 4 }, { bar: 1 }].sort_by { |word, count| count }
<ruby[bot]> smathy: # => [{:foo=>4}, {:bar=>1}] (https://eval.in/599266)
skade has quit [Quit: Computer has gone to sleep.]
<smathy> See ^
_bart has quit [Ping timeout: 264 seconds]
<darkdreamingdan> hmm
agit0 has quit [Quit: zzzZZZ….]
mattwashere has joined #ruby
<darkdreamingdan> if text is "test a a a a", the code returns [["a", 4], ["test", 1]] for me
mikecmpbll has joined #ruby
<smathy> Umm, OMG, I'm embarrassing myself. I had an extra array in there. Sorry.
<darkdreamingdan> Oh right
<darkdreamingdan> so like
<smathy> >> { foo: 4, bar: 1 }.sort_by { |word, count| count }
<ruby[bot]> smathy: # => [[:bar, 1], [:foo, 4]] (https://eval.in/599267)
<darkdreamingdan> right
<darkdreamingdan> ok, i get it now
User458764 has joined #ruby
<smathy> So yeah, Ruby is doing what you think and destructuring each hash element into the local `word` and `count` vars, and then using the `count` for the sort.
<hanmac> darkdreamingdan: in your case you dont need the word variable in the second {} and you might replace it with a "_"
<darkdreamingdan> right, does that still have the same space complexity or does _ have a significance
diegoviola has quit [Ping timeout: 250 seconds]
<toretore> you should think of it as a throw-away variable name; ruby does treat it somewhat differently but that's not something you should assume
mikecmpbll has quit [Ping timeout: 250 seconds]
<darkdreamingdan> i.e. are you suggesting that to keep code tidy, or because it has a performance advantage too
TheWhip has quit [Remote host closed the connection]
<darkdreamingdan> sure
kavanagh has joined #ruby
<hanmac> darkdreamingdan: as for the sort_by thing you might do: sort_by(&:last)
<darkdreamingdan> that's an argument to construct backwards, i guess?
watersoul has quit [Ping timeout: 252 seconds]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheWhip has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
<hanmac> darkdreamingdan: &:symbol means a block parameter ... ruby does treat &:last like {|o| o.last} and because o is an array of [word, count] it does return count
<darkdreamingdan> ohhh
bradland has joined #ruby
zarubin has quit [Ping timeout: 246 seconds]
<hanmac> darkdreamingdan: also for the first {} you might use each_with_object for counting ... its a few less lines, imo like that better : each_with_object(Hash.new(0)) {|o,h| h[o] +=1 }
zarubin has joined #ruby
macsteps has joined #ruby
<darkdreamingdan> do rubyists dislike calling methods with no arguments with empty paranthises?
<darkdreamingdan> someMethod()
<ljarvis> darkdreamingdan: firstly, camelCase method names are already bad
tomphp has joined #ruby
<darkdreamingdan> lol
<ljarvis> and yeah generally you would avoid the parentheses
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
axsuul has joined #ruby
User458764 has joined #ruby
[Butch] has joined #ruby
abonec has quit [Ping timeout: 244 seconds]
davedev2_ has joined #ruby
iceden has quit [Remote host closed the connection]
loocash has quit [Quit: Leaving]
mdw has quit [Quit: Sleeping Zzzzz]
dminuoso has quit [Ping timeout: 246 seconds]
conta has quit [Ping timeout: 264 seconds]
davedev__ has joined #ruby
aep-shoutlet has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
Devalo has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
Snowy has quit [Remote host closed the connection]
SilverKey has joined #ruby
wjimenez5271 has quit [Quit: ZNC - http://znc.in]
nogic has joined #ruby
davedev2_ has quit [Ping timeout: 250 seconds]
wjimenez5271 has joined #ruby
LoneHerm_ has joined #ruby
deecross has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
agit0 has joined #ruby
dikaio has joined #ruby
wrkrcoop has joined #ruby
dikaio has quit [Max SendQ exceeded]
<wrkrcoop> my team is trying to put together a weekly ruby meeting where we discuss anything related to ruby. anyone have any suggestions on what would be a good topic?
AndrewIsHere has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
deecross has quit [Ping timeout: 276 seconds]
wjimenez5271 has quit [Quit: ZNC - http://znc.in]
Devalo has joined #ruby
<darkdreamingdan> >> f = { "test" => 1, "test" => 2 } p(f)
<darkdreamingdan> >> { "test" => 1, "test" => 2 }
<smathy> wrkrcoop, if there are no pressing topics, I'd be asking whether this meeting is going to be that valuable.
<darkdreamingdan> how do i use the bot?
miqlas-H has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
wjimenez5271 has joined #ruby
yqt has joined #ruby
<darkdreamingdan> i'm a bit confused over symbols. why should i use symbol keys in a hash instead of strings
<darkdreamingdan> my assumption is that it doesnt waste memory on big strings, and internalizes it
replay has joined #ruby
<wrkrcoop> smathy: what would define a pressing topic?
bitemyapp has left #ruby [#ruby]
<wrkrcoop> we all suck at tests
chip_ has quit [Ping timeout: 276 seconds]
soulisson has left #ruby ["Quitte"]
deecross has joined #ruby
<smathy> wrkrcoop, there you go :)
SCHAAP137 has joined #ruby
<wrkrcoop> smathy: but would that be pressing?
<smathy> If it's something your team would benefit from improving, or something they're passionate about learning more about then I'd say it qualifies.
Xeago_ has joined #ruby
aegis3121 has joined #ruby
SilverKey has quit [Quit: Halted.]
Oclair has quit [Quit: Bye Bye]
aegis3121 has quit [Ping timeout: 276 seconds]
djbkd has joined #ruby
<shevy> wrkrcoop discuss writing style!
<shevy> like "def foo bar" versus "def foo(bar)"
<wrkrcoop> shevy: got any good links?
TheWhip has quit []
<wrkrcoop> shevy: what is your opnion on def foo bar vs def foo(bar)
<shevy> well you can align it towards https://github.com/bbatsov/ruby-style-guide
<shevy> but that style guide is very CONTROVERSIAL too
<shevy> wrkrcoop always parens if there are arguments, in def!
<toretore> `def foo bar` is the donald trump of ruby style
<shevy> wrkrcoop the best is - there are ruby people who use BOTH at the same time :)
<shevy> let me find an example
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shinnya has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
<shevy> but anyway there are many more style differences between ruby people
<shevy> wrkrcoop I lately was curious about https://rubygems.org/gems/bioinform
<shevy> but I did not understand the code... style was only partially responsible, it was quite math-heavy, with different matrices
pawnbox has joined #ruby
rcvalle has joined #ruby
<darkdreamingdan> tabs4life
* darkdreamingdan runs
<shevy> wrkrcoop some style advice makes sense IMO like https://github.com/bbatsov/ruby-style-guide#spaces-around-equals
aaeron has joined #ruby
skarlso has joined #ruby
rippa has joined #ruby
firstdayonthejob has joined #ruby
bb010g has joined #ruby
SilverKey has joined #ruby
snath has joined #ruby
rodfersou|lunch is now known as rodfersou
Devalo has quit [Remote host closed the connection]
SilverKey has quit [Client Quit]
Xeago_ has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
Xeago_ has joined #ruby
SilverKey has quit [Max SendQ exceeded]
floatingpoint has joined #ruby
SilverKey has joined #ruby
tristanp_ has joined #ruby
tristanp has quit [Ping timeout: 264 seconds]
weaksauce has quit [Ping timeout: 252 seconds]
snath has left #ruby ["Leaving"]
floatingpoint has quit [Ping timeout: 276 seconds]
Xeago_ has quit [Remote host closed the connection]
karapety_ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
GodFather_ has joined #ruby
GodFather has quit [Read error: No route to host]
kavanagh has quit [Quit: That's all folks!]
wrkrcoop has quit [Quit: wrkrcoop]
blackmes1 has quit [Ping timeout: 258 seconds]
Silthias has quit [Quit: Leaving.]
theRoUS has joined #ruby
ncthom91 has quit [Quit: Textual IRC Client: www.textualapp.com]
neo_ has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
neo_ has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
postmodern has joined #ruby
_djbkd has joined #ruby
AndroidLoverInSF has joined #ruby
banisterfiend has quit [Remote host closed the connection]
karapetyan has joined #ruby
neo_ has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
karapety_ has quit [Read error: Connection reset by peer]
dminuoso has joined #ruby
banisterfiend has joined #ruby
jrafanie has joined #ruby
karapetyan has quit [Remote host closed the connection]
CloCkWeRX has quit [Remote host closed the connection]
sneakers has joined #ruby
swills has quit [Remote host closed the connection]
theRoUS has quit [Changing host]
theRoUS has joined #ruby
karapetyan has joined #ruby
yqt has quit [Ping timeout: 240 seconds]
_djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
PlasmaStar has quit [Ping timeout: 244 seconds]
kavanagh has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
blackmes1 has joined #ruby
nettoweb has quit [Ping timeout: 258 seconds]
Madplatypus has joined #ruby
User458764 has joined #ruby
PlasmaStar has joined #ruby
LoneHermit has joined #ruby
dionysus69 has joined #ruby
ChiefAlexander has joined #ruby
watersoul has joined #ruby
RegulationD has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
LoneHermit has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Dreamer3 has joined #ruby
centrx has joined #ruby
jaruga has quit [Quit: jaruga]
wrkrcoop has joined #ruby
jackhill has joined #ruby
djbkd has quit [Remote host closed the connection]
<jackhill> Hi all, I've inherited some ruby scripts that I would like to clean up and make a gem. Thougths on bundler versus straight gem? This is my first Ruby experience.
AndroidLoverInSF has quit [Quit: This computer has gone to sleep]
ChiefAlexander has quit [Remote host closed the connection]
djbkd has joined #ruby
swills has joined #ruby
<shevy> straight gem
macsteps has quit [Remote host closed the connection]
<shevy> in both cases first clean it up anyway; I am still trying to clean up https://rubygems.org/gems/rubywebdialogs and it's quite awful
_djbkd has joined #ruby
<shevy> old code written by other people in an alien style is really hard to keep updated :(
djbkd has quit [Read error: Connection reset by peer]
dennisvennink has joined #ruby
floatingpoint has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
mattwashere has quit [Remote host closed the connection]
nando293921 has quit [Read error: Connection reset by peer]
nando294021 has joined #ruby
nando294021 has quit [Client Quit]
stoopidmunkey has quit []
AndroidLoverInSF has joined #ruby
chip_ has joined #ruby
aegis3121 has joined #ruby
<jackhill> shevy: okay, makes sense, thanks!
Devalo has joined #ruby
ramfjord has joined #ruby
shinnya has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
psmmr has quit [Ping timeout: 276 seconds]
macsteps has joined #ruby
jaguarmagenta has joined #ruby
<havenwood> jackhill: Here's a gem dev's guidbook: http://yukimotopress.github.io/gem-dev
AndroidLoverInSF has quit [Ping timeout: 260 seconds]
AndroidLoverInSF has joined #ruby
<jackhill> havenwood: thanks
troulouliou_div2 has quit [Quit: Leaving]
leea has joined #ruby
whathappens has joined #ruby
mattwashere has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
ChiefAlexander has joined #ruby
alfiemax has joined #ruby
armatechnicos has joined #ruby
<shevy> the more gems you write the easier this will be :)
<shevy> you can fill out the Gem::Specification.new do |s| part to describe your gem
kirun has joined #ruby
<shevy> ruby version, gem version, you can add via
<shevy> s.required_ruby_version = '>= 2.3.1' s.required_rubygems_version = '>= 2.6.6' s.rubygems_version = '>= 2.6.6' - or something like that
<shevy> and dependencies via s.add_dependency 'foobar', '>= 0.0.6'
armatechnicos has left #ruby ["Leaving"]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
Coldblackice has joined #ruby
kraken has joined #ruby
kraken is now known as kraken_
hk238 has joined #ruby
vuoto has joined #ruby
<kraken_> Alright, I'm creating a chess game, and I have classes for each piece. How do I require_relative all of these classes in one of my other classes without having to write it out for each piece?
<shevy> hmm I solve that differently
sauvin has quit [Remote host closed the connection]
AndrewIsHere has quit [Remote host closed the connection]
<shevy> I create a gem, then have some class method that batch-requires all .rb files in a certain directory
<shevy> e. g. my_gem/pieces/
roamingdog has quit [Ping timeout: 276 seconds]
<shevy> via Dir[path_to_the_gem+'*.rb'] or the "#{}" variant
<kraken_> ah I see
Dimik has joined #ruby
dennisvennink has quit [Quit: Textual IRC Client: www.textualapp.com]
Devalo has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 258 seconds]
fmcgeough has quit [Quit: fmcgeough]
pawnbox has quit [Remote host closed the connection]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
smathy has quit [Read error: Connection reset by peer]
smathy has joined #ruby
nettoweb has joined #ruby
Devalo has joined #ruby
pawnbox has joined #ruby
neo__ has joined #ruby
karapety_ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
allcentury has joined #ruby
SilverKey has quit [Quit: Halted.]
mesamoo has joined #ruby
smathy is now known as smathy_afk
neo__ has quit [Ping timeout: 260 seconds]
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
neo__ has joined #ruby
dminuoso has joined #ruby
SilverKey has joined #ruby
cyphase has quit [Ping timeout: 258 seconds]
shinnya has quit [Ping timeout: 258 seconds]
dminuoso has quit [Ping timeout: 258 seconds]
AndrewIsHere has joined #ruby
cyphase has joined #ruby
blackmes1 has joined #ruby
gizmore has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
axsuul has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aep-shoutlet has quit [Quit: Connection closed for inactivity]
User458764 has joined #ruby
giz|work has joined #ruby
DarthGandalf has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
psmmr has joined #ruby
kavanagh has quit [Quit: That's all folks!]
jhack has joined #ruby
jhack has quit [Client Quit]
rippa is now known as spinagon
aaeron has quit [Quit: aaeron]
jhack has joined #ruby
johnmilton has quit [Remote host closed the connection]
floatingpoint has quit [Quit: Goodnight]
shiinko has joined #ruby
floatingpoint has joined #ruby
<shiinko> hey, I'm trying to install ruby-sass from AUR but its dependency ruby-maruku won't install: http://pastie.org/private/jzj0hgsqv7mlnl8rfv7a I've checked AUR comments and nobody else has reported this issue what can I do?
karapety_ has quit [Remote host closed the connection]
smathy has joined #ruby
jenrzzz has joined #ruby
<adaedra> Don't use the AUR to install gems and use rubygems
<shiinko> so, install gems directly with gem command?
aagdbl has joined #ruby
chip_ has quit [Ping timeout: 276 seconds]
<shiinko> Arch bible teaches us to install everything through pacman, using third party package managers is a sin /s :-)
blaxter has quit [Quit: foo]
ChiefAlexander has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
<aagdbl> i have an integer n. how can I dynamically define a method with arity n?
braincras has quit [Ping timeout: 250 seconds]
chip_ has joined #ruby
<havenwood> shiinko: Here's a nice example of a Ruby setup on Archlinux: https://gist.github.com/jhass/8839655bb038e829fba1
blaxter has joined #ruby
<shiinko> havenwood, I have RVM installed
<alfiemax> shiinko, then why not use the gem command?/
<fujinuma> is it true that ruby core code discussion in in Japanese?
psmmr has quit [Ping timeout: 276 seconds]
<alfiemax> fujinuma, doubt that
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
braincrash has joined #ruby
<havenwood> fujinuma: Some discussion is in Japanese and some is in English.
<adaedra> shiinko: if you have rvm installed, this is another reason to install gems yourself and not by AUR
<alfiemax> i think i've wandered into some discussions sommetime back and it was in english
<shiinko> alright
<havenwood> fujinuma: Other languages too, but those are the primary ones.
<adaedra> shiinko: as much as I like the AUR, gem are responsibility of rubygems
leea has joined #ruby
<fujinuma> havenwood: what matz writes in?
ChiefAlexander has joined #ruby
<havenwood> fujinuma: Matz's native tongue is Japanese but he speaks English as well.
<alfiemax> actually he speaks real good english than i expected. it was really nice talking to him too
<adaedra> native tongue?
<havenwood> fujinuma: Check his RubyKaigi keynotes for Japanese or RubyConf keynotes for English.
<bradland> adaedra: that means it's his first language.
<adaedra> bradland: yeah, I guessed, but I didn't know english used the word "tongue" with this meaning too.
<fujinuma> havenwood: an idiot said that matz changed the ruby core code without noting in English :?
<fujinuma> havenwood: I was curious about that :|
<bradland> you're curious about matz changing the ruby core code and not noting it in english?
floatingpoint has quit [Quit: Goodnight]
patrick_star_2 has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
blaxter has quit [Quit: foo]
swills has quit [Ping timeout: 260 seconds]
SilverKey has quit [Quit: Halted.]
blackmesa has joined #ruby
<bradland> fujinuma: Ruby is open source. It has many, many contributors, and you can watch its development openly on Github. https://github.com/ruby/ruby
ur5us has joined #ruby
karapetyan has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
<bradland> If you click on the "commits" link near the top of that page, you can see all of the changes that are happening to Ruby on a daily basis. https://github.com/ruby/ruby/commits/trunk
<fujinuma> bradland: I don't remember the version he said it's been changed without.
<shevy> fujinuma matz mostly works on mruby since several years, he is not extremely active on core MRI anymore, save for a few assignments on the issue-tracker or some central decisions to be made, such as frozen strings
<bradland> fujinuma: i'm curious why you're asking?
<shevy> some of the discussion happens in japanese, I don't think this can be easily avoided
duffy_duck has quit [Ping timeout: 258 seconds]
<fujinuma> bradland: to ensure he said bullshit ;D
aagdbl has quit [Quit: This computer has gone to sleep]
<wrkrcoop> when i run rackup it says it can’t find bundler …
<shevy> the official ruby changelog is strictly in english as far as I can see: https://github.com/ruby/ruby/blob/trunk/ChangeLog
<wrkrcoop> but bundler is def installed
<bradland> ok, that's what i thought. i have no interest in helping anyone disparage matz. good day.
<wrkrcoop> getting a ‘NameError: uninitialized constant Bundler’
<shevy> eh that won't work anyway, matz is awesome
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kavanagh has joined #ruby
<fujinuma> bradland: who's going to do that? Matz is great
braincrash has quit [Ping timeout: 258 seconds]
aagdbl has joined #ruby
karapetyan has quit [Remote host closed the connection]
floatingpoint has joined #ruby
whathappens has quit [Remote host closed the connection]
karapetyan has joined #ruby
macsteps has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 276 seconds]
patrick_star_2 is now known as duffy_duck
braincrash has joined #ruby
<havenwood> aagdbl: I'll cheat and say: def define_method_with_arity_of n; define_method "arity_of_#{n}", method(methods.find { |meth| method(meth).arity == n }) end
rbennacer has quit [Ping timeout: 244 seconds]
weaksauce has joined #ruby
nhhc has quit [Quit: Leaving]
ur5us has quit [Remote host closed the connection]
coyo has joined #ruby
<wrkrcoop> anyone know why i’d be getting a ‘NameError: uninitialized constant Bundler’ when i run rackup
agit0 has joined #ruby
anisha has joined #ruby
cajone has quit [Read error: Connection reset by peer]
AndrewIs_ has joined #ruby
p0p0pr37_ has joined #ruby
deecross_ has joined #ruby
mattp__ has joined #ruby
pawnbox_ has joined #ruby
abonec has joined #ruby
okdas has quit [Ping timeout: 252 seconds]
tvsutton_ has quit [Ping timeout: 252 seconds]
twodayslate has quit [Ping timeout: 252 seconds]
crank1988 has quit [Ping timeout: 252 seconds]
chridal has quit [Ping timeout: 252 seconds]
g3funk has quit [Ping timeout: 252 seconds]
[reed] has quit [Ping timeout: 252 seconds]
kitallis has quit [Ping timeout: 252 seconds]
nsno has quit [Ping timeout: 252 seconds]
eboaz_ has joined #ruby
freerobby has quit [Quit: Leaving.]
M-shine1 has quit [Ping timeout: 252 seconds]
aibot has quit [Ping timeout: 252 seconds]
M-mistake has quit [Ping timeout: 252 seconds]
NightMonkey has quit [Ping timeout: 252 seconds]
Guest46485 has quit [Ping timeout: 252 seconds]
davidcelis has quit [Ping timeout: 252 seconds]
maxmanders_ has quit [Ping timeout: 252 seconds]
JackMc has quit [Ping timeout: 252 seconds]
webnanners has quit [Ping timeout: 252 seconds]
cajone has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
jolamb has quit [Ping timeout: 252 seconds]
zenlot has quit [Ping timeout: 252 seconds]
segy has quit [Ping timeout: 252 seconds]
SebastianThorn has quit [Ping timeout: 252 seconds]
mgorbach has quit [Ping timeout: 252 seconds]
pabs has quit [Ping timeout: 252 seconds]
mattp_ has quit [Ping timeout: 252 seconds]
majuscule has quit [Ping timeout: 252 seconds]
slash_nick has quit [Ping timeout: 252 seconds]
nug has quit [Ping timeout: 252 seconds]
TheMoonMaster has quit [Ping timeout: 252 seconds]
icedp has quit [Ping timeout: 252 seconds]
Expanse has quit [Ping timeout: 252 seconds]
mdw has joined #ruby
freerobby has joined #ruby
dminuoso has joined #ruby
AndrewIsHere has quit [Ping timeout: 252 seconds]
theRoUS has quit [Ping timeout: 252 seconds]
deecross has quit [Ping timeout: 252 seconds]
Rabbit__ has quit [Ping timeout: 252 seconds]
shaman42 has quit [Ping timeout: 252 seconds]
kriskropd has quit [Ping timeout: 252 seconds]
JesseH has quit [Ping timeout: 252 seconds]
aibot has joined #ruby
brendan- has quit [Ping timeout: 252 seconds]
kbni has quit [Ping timeout: 252 seconds]
nevynxxx has quit [Ping timeout: 252 seconds]
YaknotiS has quit [Ping timeout: 252 seconds]
woodruffw has quit [Ping timeout: 252 seconds]
kappy has quit [Ping timeout: 252 seconds]
ahuman has quit [Ping timeout: 252 seconds]
p0p0pr37 has quit [Ping timeout: 252 seconds]
bnjf has quit [Ping timeout: 252 seconds]
sneakerhax has quit [Ping timeout: 252 seconds]
Jamo has quit [Ping timeout: 252 seconds]
Tristan-Speccy has quit [Ping timeout: 252 seconds]
sethetter has quit [Ping timeout: 252 seconds]
jyaworski has quit [Ping timeout: 252 seconds]
genpaku has quit [Ping timeout: 252 seconds]
awk has quit [Ping timeout: 252 seconds]
alnewkirk has quit [Ping timeout: 252 seconds]
guacamole has quit [Ping timeout: 252 seconds]
AdamMeghji__ has quit [Ping timeout: 252 seconds]
jackhill has quit [Ping timeout: 252 seconds]
akkad has quit [Ping timeout: 252 seconds]
bratchley has quit [Ping timeout: 252 seconds]
michael_mbp has quit [Ping timeout: 252 seconds]
pfg has quit [Ping timeout: 252 seconds]
danzilio has quit [Ping timeout: 252 seconds]
FifthWall has quit [Ping timeout: 252 seconds]
eboaz has quit [Ping timeout: 252 seconds]
ltp has quit [Ping timeout: 252 seconds]
bmn has quit [Ping timeout: 252 seconds]
Papierkorb has quit [Ping timeout: 252 seconds]
brainslug has quit [Ping timeout: 252 seconds]
p0p0pr37_ is now known as p0p0pr37
ahuman has joined #ruby
duffy_duck has quit [Ping timeout: 252 seconds]
sergio_101 has quit [Ping timeout: 252 seconds]
hightower2 has quit [Ping timeout: 252 seconds]
ex0ns has quit [Ping timeout: 252 seconds]
elementaru has quit [Ping timeout: 252 seconds]
Authenticator has quit [Ping timeout: 252 seconds]
Gnubie_ has quit [Ping timeout: 252 seconds]
nexace has quit [Ping timeout: 252 seconds]
jidar has quit [Ping timeout: 252 seconds]
KramerC has quit [Ping timeout: 252 seconds]
ex0ns has joined #ruby
Gnubie_ has joined #ruby
slash_nick has joined #ruby
SebastianThorn has joined #ruby
twodayslate has joined #ruby
pabs has joined #ruby
bnjf has joined #ruby
ltp has joined #ruby
bratchley has joined #ruby
sethetter has joined #ruby
JackMc has joined #ruby
shaman42 has joined #ruby
pfg has joined #ruby
jackhill has joined #ruby
Rabbit__ has joined #ruby
awk has joined #ruby
guacamole has joined #ruby
danzilio has joined #ruby
Jamo has joined #ruby
genpaku has joined #ruby
nexace has joined #ruby
zenlot has joined #ruby
awk is now known as Guest1412
Expanse has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
AdamMeghji__ has joined #ruby
GodFather_ has quit [Quit: Ex-Chat]
GodFather_ has joined #ruby
<havenwood> wrkrcoop: Is Bundler installed on the Ruby you're using? Sanity check `command -v bundler` and `gem which bundler`?
mattwashere has quit [Remote host closed the connection]
wrkrcoop has quit [Quit: wrkrcoop]
<havenwood> wrkrcoop: Same issue with?: bundle exec rackup
M-shine has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
webnanners has joined #ruby
chridal has joined #ruby
okdas has joined #ruby
okdas has quit [Changing host]
okdas has joined #ruby
brainslug has joined #ruby
crank1988 has joined #ruby
Papierkorb has joined #ruby
jyaworski has joined #ruby
icedp has joined #ruby
segy has joined #ruby
nug has joined #ruby
tvsutton has joined #ruby
maxmanders has joined #ruby
jolamb has joined #ruby
theRoUS has joined #ruby
bmn has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
mattwashere has joined #ruby
kitallis has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
kbni has joined #ruby
M-mistake has joined #ruby
[reed] has joined #ruby
[reed] has joined #ruby
[reed] has quit [Changing host]
FifthWall has joined #ruby
KramerC has joined #ruby
majuscule has joined #ruby
davidcelis has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
g3funk has joined #ruby
mattwashere has quit [Remote host closed the connection]
alnewkirk has joined #ruby
Tristan-Speccy has joined #ruby
NightMonkey has joined #ruby
Tristan-Speccy is now known as Guest83412
nevynxxx has joined #ruby
mgorbach has joined #ruby
kappy has joined #ruby
duracrisis has joined #ruby
ianconnolly has joined #ruby
duracrisis is now known as Guest61689
mattwashere has joined #ruby
TheMoonMaster has joined #ruby
coyo has quit [Ping timeout: 240 seconds]
woodruffw has joined #ruby
woodruffw has quit [Excess Flood]
woodruffw has joined #ruby
elementaru has joined #ruby
Vingador has quit [Ping timeout: 240 seconds]
JesseH has joined #ruby
hightower2 has joined #ruby
akkad has joined #ruby
jidar has joined #ruby
YaknotiS has joined #ruby
michael_mbp has joined #ruby
duffy_duck has joined #ruby
kriskropd has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
SilverKey has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
SilverKey has quit [Client Quit]
SilverKey has joined #ruby
jenrzzz has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thatsnotjack has quit [Quit: leaving]
aaeron has joined #ruby
mathias__ has joined #ruby
mathias__ has left #ruby [#ruby]
skade has joined #ruby
hutch34 has joined #ruby
slackbotgz has joined #ruby
jaguarmagenta has joined #ruby
mattwashere has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
GodFather_ has quit [Ping timeout: 250 seconds]
yardenbar has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
ChiefAlexander has quit [Remote host closed the connection]
allcentury has joined #ruby
floatingpoint has quit [Quit: Goodnight]
ChiefAlexander has joined #ruby
axsuul has joined #ruby
GodFather_ has joined #ruby
hahuang61 has joined #ruby
yardenbar has quit [Ping timeout: 260 seconds]
mattwashere has joined #ruby
AndroidLoverInSF has quit [Quit: Leaving]
symm- has quit [Ping timeout: 246 seconds]
crised has joined #ruby
rbennacer has joined #ruby
Silthias has joined #ruby
lxsameer has joined #ruby
symm- has joined #ruby
hahuang61 has quit [Ping timeout: 272 seconds]
floatingpoint has joined #ruby
Silthias has quit [Ping timeout: 272 seconds]
blackmesa has joined #ruby
abonec has quit [Ping timeout: 272 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
coyo has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
kareeoleez has joined #ruby
ciampix has quit [Remote host closed the connection]
kareeole_ has joined #ruby
kareeole_ is now known as kareeoleez_
dminuoso has joined #ruby
mtkd has joined #ruby
karapetyan has quit [Remote host closed the connection]
wrkrcoop has joined #ruby
A124 has quit [Quit: '']
kareeoleez has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
nankyokusei has joined #ruby
coyo has quit [Ping timeout: 246 seconds]
A124 has joined #ruby
karapetyan has joined #ruby
slackbotgz has quit [Remote host closed the connection]
dminuoso has quit [Ping timeout: 240 seconds]
centrx has quit [Remote host closed the connection]
blackmes1 has joined #ruby
dopamean_ has quit [Quit: happy 4th]
LoneHerm_ has joined #ruby
elifoster has joined #ruby
floatingpoint has quit [Quit: Goodnight]
yqt has joined #ruby
[Butch]_ has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
rbennacer has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 264 seconds]
aagdbl has quit [Quit: This computer has gone to sleep]
aagdbl has joined #ruby
rbennacer has joined #ruby
[Butch] has quit [Ping timeout: 272 seconds]
[Butch]_ is now known as [Butch]
LoneHerm_ has quit [Ping timeout: 260 seconds]
nando293921 has joined #ruby
aagdbl has quit [Client Quit]
isberg has joined #ruby
ChiefAlexander has quit [Quit: Leaving...]
Es0teric has quit [Quit: Computer has gone to sleep.]
abonec has joined #ruby
spider-mario has joined #ruby
coyo has joined #ruby
wigust has joined #ruby
SilverKey has quit [Quit: Halted.]
wigust has quit [Remote host closed the connection]
prestorium has quit [Quit: Leaving]
Devalo has joined #ruby
wigust has joined #ruby
Devalo has quit [Remote host closed the connection]
shinnya has joined #ruby
SirOliver has joined #ruby
ramfjord_ has joined #ruby
jetpack_joe has joined #ruby
anisha_ has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
anisha has quit [Ping timeout: 272 seconds]
ldnunes has quit [Quit: Leaving]
_djbkd has quit [Remote host closed the connection]
SirOliver has quit [Quit: ZZZzzz…]
wigust has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 276 seconds]
axsuul has quit [Read error: Connection reset by peer]
rodfersou has quit [Quit: leaving]
centrx has joined #ruby
Stazer has joined #ruby
centrx has quit [Client Quit]
naftilos76 has quit [Remote host closed the connection]
SirOliver has joined #ruby
wigust has joined #ruby
SirOliver has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
freerobby has quit [Quit: Leaving.]
GodFather_ has quit [Quit: Ex-Chat]
aegis3121 has quit [Quit: Textual IRC Client: www.textualapp.com]
GodFather_ has joined #ruby
elifoster has quit [Quit: going to the store]
jenrzzz has joined #ruby
jetpack_joe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
allcentury has quit [Ping timeout: 260 seconds]
abonec has quit [Ping timeout: 240 seconds]
mattwashere has quit []
isberg has quit [Quit: I'm out]
uberbrodt has quit [Quit: Lost terminal]
skade has quit [Quit: Computer has gone to sleep.]
kavanagh has quit [Quit: That's all folks!]
aupadhye has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
tokynet has quit [Quit: Connection closed for inactivity]
smathy is now known as smathy_afk
smathy_afk is now known as smathy
Contigi has joined #ruby
wlos has joined #ruby
Ishido has quit [Remote host closed the connection]
blackgoat has joined #ruby
mistermocha has joined #ruby
deecross_ has quit [Remote host closed the connection]
RegulationD has quit []
watersoul_ has joined #ruby
RegulationD has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
chip_ has quit [Ping timeout: 272 seconds]
abort has joined #ruby
jgw has joined #ruby
pabs_ has joined #ruby
LoneHermit has joined #ruby
bhaak_ has joined #ruby
ljarvis_ has joined #ruby
tvl has joined #ruby
lnx_ has joined #ruby
hirvi_ has joined #ruby
mc_fail_ has joined #ruby
spinagon has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jsaak_ has joined #ruby
neo__ has quit []
AndrewIs_ is now known as AndrewIsHere
lnx has quit [Write error: Broken pipe]
abort_ has quit [Write error: Broken pipe]
tobiasvl has quit [Write error: Broken pipe]
ohcibi has quit [Write error: Broken pipe]
cgfbee has quit [Excess Flood]
KrzaQ has quit [Excess Flood]
matp has quit [Excess Flood]
Sthebig has quit [Excess Flood]
Phanes has quit [Excess Flood]
agit0 has quit [Excess Flood]
demophoon has quit [Excess Flood]
electrostat has quit [Excess Flood]
tvl is now known as tobiasvl
gigidell has quit [Max SendQ exceeded]
mc_fail has quit [Write error: Broken pipe]
Jamo has quit [Write error: Broken pipe]
Nanuq has quit [Remote host closed the connection]
jgw_ has quit [Remote host closed the connection]
ltp has quit [Remote host closed the connection]
ljarvis has quit [Remote host closed the connection]
darix has quit [Remote host closed the connection]
pabs has quit [Remote host closed the connection]
KrzaQ has joined #ruby
Phanes has joined #ruby
Phanes has quit [Changing host]
Phanes has joined #ruby
electrostat has joined #ruby
ohcibi has joined #ruby
gigidell has joined #ruby
Nanuq has joined #ruby
ltp has joined #ruby
darix has joined #ruby
Sthebig has joined #ruby
Sthebig has quit [Changing host]
Sthebig has joined #ruby
demophoon has joined #ruby
watersoul has quit [Remote host closed the connection]
hahuang61 has joined #ruby
giz|work has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
pabs_ is now known as pabs
cgfbee has joined #ruby
LoneHermit has quit [Ping timeout: 244 seconds]
roamingdog has joined #ruby
tvw has quit [Ping timeout: 260 seconds]
bhaak has quit [Ping timeout: 260 seconds]
hirvi has quit [Ping timeout: 260 seconds]
jsaak has quit [Ping timeout: 260 seconds]
joevandy1 has quit [Ping timeout: 260 seconds]
ahuman has quit [Ping timeout: 240 seconds]
joevandyk has joined #ruby
Jamo has joined #ruby
nettoweb has joined #ruby
last_staff has joined #ruby
ahuman has joined #ruby
whathappens has joined #ruby
djbkd has quit [Remote host closed the connection]
mdw_ has joined #ruby
mdw has quit [Ping timeout: 240 seconds]
Adam_FrVancouver has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
Devalo has joined #ruby
Adam_FrVancouver has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
freerobby has joined #ruby
nogic has quit [Ping timeout: 240 seconds]
DenSchub has quit [Ping timeout: 246 seconds]
DenSchub has joined #ruby
DenSchub has quit [Client Quit]
darix has quit [Quit: Changing server]
darix has joined #ruby
jetpack_joe has joined #ruby
Devalo has quit [Ping timeout: 264 seconds]
Xeago_ has joined #ruby
axl_ has quit [Quit: axl_]
[Butch] has quit [Ping timeout: 250 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
jaguarmagenta has joined #ruby
macsteps has joined #ruby
macsteps has quit [Remote host closed the connection]
macsteps has joined #ruby
DenSchub has joined #ruby
Xeago_ has quit [Ping timeout: 272 seconds]
mdw_ has quit [Quit: Sleeping Zzzzz]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Ping timeout: 250 seconds]
rbennacer has quit [Remote host closed the connection]
kareeoleez_ is now known as kareeoleez
firstdayonthejob has quit [Ping timeout: 246 seconds]
roamingdog has quit [Read error: Connection reset by peer]
carella has quit [Read error: Connection timed out]
lxsameer has quit [Quit: WeeChat 1.5]
roamingdog has joined #ruby
anisha_ has quit [Quit: This computer has gone to sleep]
carella has joined #ruby
kraken_ has quit [Quit: Leaving]
ramfjord_ has quit [Ping timeout: 258 seconds]
B1n4r10 has joined #ruby
kavanagh has joined #ruby
cd-rum has joined #ruby
ramfjord has joined #ruby
cd-rum has quit [Max SendQ exceeded]
agentmeerkat has quit [Ping timeout: 264 seconds]
aaeron has quit [Quit: aaeron]
cd-rum has joined #ruby
aaeron has joined #ruby
jetpack_joe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zenlot6 has joined #ruby
zenlot has quit [Ping timeout: 258 seconds]
skade has joined #ruby
kareeole_ has joined #ruby
skade has quit [Client Quit]
kareeoleez has quit [Ping timeout: 260 seconds]
whathappens has quit [Remote host closed the connection]
wlos has quit [Quit: Konversation terminated!]
whathappens has joined #ruby
cd-rum has quit [Ping timeout: 258 seconds]
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
vuoto has quit [Read error: Connection reset by peer]
whathappens has quit [Ping timeout: 240 seconds]
anna` has left #ruby ["-"]
cd-rum has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
polishdub has quit [Quit: Leaving]
kirun has quit [Remote host closed the connection]
rcvalle has quit [Quit: rcvalle]
whathappens has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
kareeole_ has quit [Ping timeout: 272 seconds]
cd-rum has quit [Client Quit]
hahuang61 has quit [Ping timeout: 258 seconds]
kareeoleez has joined #ruby
[gmi] has joined #ruby
nankyokusei has joined #ruby
craigp has joined #ruby
B1n4r10 has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 246 seconds]
hxegon is now known as hxegon_afk
LoneHermit has joined #ruby
[gmi] has quit [Quit: Leaving]
jetpack_joe has joined #ruby
panpainter has joined #ruby
kraken has joined #ruby
kraken is now known as kraken_
jenrzzz has joined #ruby
kareeoleez has quit [Remote host closed the connection]
<kraken_> if I ahve an array arr = [3,2,1,43,4], and I want to assign arr[0] and arr[3] the same variable, is there any way to do this in one line?
LoneHermit has quit [Ping timeout: 250 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
<elomatreb> kraken_: Not sure if this is what you mean, but: https://eval.in/599413
swills has joined #ruby
psmmr has joined #ruby
<kraken_> looks great to me
<kraken_> thank you
<elomatreb> np
c0mrad3 has quit [Quit: Connection closed for inactivity]
<kraken_> I guess they would both point to the exact same object though wouldn't they
wrkrcoop has quit [Quit: wrkrcoop]
matp has joined #ruby
<elomatreb> kraken_: Yes: https://eval.in/599414
dennisvennink has joined #ruby
<havenwood> kraken_: Is that what you want?
<kraken_> hmm I see
<kraken_> It is
<kraken_> thank you
jetpack_joe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whathappens has quit [Remote host closed the connection]
toretore has quit [Ping timeout: 246 seconds]
whathappens has joined #ruby
nankyokusei has joined #ruby
isberg has joined #ruby
spider-mario has quit [Remote host closed the connection]
biberu has quit []
whathappens has quit [Ping timeout: 258 seconds]
chouhoul_ has joined #ruby
chouhou__ has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 240 seconds]
preyalone has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
chouhoul_ has quit [Ping timeout: 240 seconds]
bhaak_ has quit [Ping timeout: 260 seconds]
bhaak has joined #ruby
<kraken_> is there any way anyone would recommend cleaning up this extremely long method? https://gist.github.com/KrakenHH/9eb28fba3a6afadd19081e5c32c015a4
chouhou__ has quit [Ping timeout: 264 seconds]
aaeron has quit [Quit: aaeron]
jhack has quit [Quit: jhack]
Regulati_ has joined #ruby
Stazer has quit [Ping timeout: 258 seconds]
GodFather_ has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
psmmr has quit [Remote host closed the connection]
<elomatreb> kraken_: I guess you could store the order of the pieces in a variable beforehand, and then iterate over it, placing the figures. Do again for black/white
<kraken_> hmm I see
<kraken_> makes sense
wigust has quit [Remote host closed the connection]
wigust has joined #ruby
smathy has joined #ruby
smathy has quit [Client Quit]
davedev__ has quit [Remote host closed the connection]
SilverKey has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
agentmeerkat has joined #ruby
SilverKey has quit [Client Quit]
hutch34 has joined #ruby
symm- has quit [Ping timeout: 264 seconds]
kareeoleez has joined #ruby
wrkrcoop has joined #ruby
isberg has quit [Remote host closed the connection]
agentmeerkat has quit [Ping timeout: 246 seconds]
yqt has quit [Ping timeout: 250 seconds]
gizless has joined #ruby
hahuang61 has joined #ruby
blur3d has joined #ruby
blur3d has quit [Client Quit]
gizmore has quit [Ping timeout: 276 seconds]
crised has quit [Remote host closed the connection]
kareeoleez has quit [Remote host closed the connection]
mattwashere has joined #ruby
mattwashere has quit [Remote host closed the connection]
wrkrcoop has quit [Quit: wrkrcoop]
hahuang61 has quit [Quit: WeeChat 1.5]
KindOne has joined #ruby
craigp has quit [Ping timeout: 250 seconds]
KindOne has left #ruby ["."]
mtkd has quit [Ping timeout: 246 seconds]
skweek has quit [Ping timeout: 246 seconds]
skweek has joined #ruby
mtkd has joined #ruby
rbennacer has joined #ruby
solocshaw has joined #ruby
sneakers has quit [Ping timeout: 260 seconds]
B1n4r10 has joined #ruby
SilverKey has joined #ruby
TheCoffee has joined #ruby