baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
jtdoncas has joined #ruby
lightheaded has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
jhack has quit [Quit: jhack]
polyidus has joined #ruby
devbug has joined #ruby
lightheaded has quit [Ping timeout: 258 seconds]
devbug has quit [Read error: Connection reset by peer]
jphase has quit [Ping timeout: 250 seconds]
ruby_ has quit [Remote host closed the connection]
ruby_ has joined #ruby
grimel has quit [Remote host closed the connection]
ruby_ has quit [Read error: Connection reset by peer]
quazimodo has quit [Ping timeout: 250 seconds]
ta has joined #ruby
ruby_ has joined #ruby
devbug has joined #ruby
whathappens has quit [Quit: Leaving...]
quazimodo has joined #ruby
SteenJobs has joined #ruby
LoneHerm_ has quit []
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #ruby
ruby_ has quit [Ping timeout: 252 seconds]
SteenJobs has quit [Client Quit]
ta has quit [Ping timeout: 265 seconds]
Ebok has quit [Quit: Leaving]
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
Snowy has quit [Remote host closed the connection]
polyidus has quit [Quit: Textual IRC Client: www.textualapp.com]
lalalaaa has joined #ruby
jphase has joined #ruby
SteenJobs has joined #ruby
devbug has quit [Read error: Connection reset by peer]
RedNifre_ has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dminuoso has joined #ruby
RedNifre has quit [Ping timeout: 252 seconds]
banisterfiend has joined #ruby
ruby_ has joined #ruby
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dminuoso has quit [Ping timeout: 250 seconds]
Rodya_ has joined #ruby
tvw has quit [Ping timeout: 265 seconds]
shinnya has quit [Ping timeout: 240 seconds]
jphase has quit [Remote host closed the connection]
ruby_ has quit [Ping timeout: 250 seconds]
jphase has joined #ruby
quazimodo has quit [Ping timeout: 255 seconds]
DoubleMalt has quit [Ping timeout: 250 seconds]
Sashimi has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bob434 has quit [Quit: This computer has gone to sleep]
AzureStigma has quit [Quit: Textual IRC Client: www.textualapp.com]
replay has quit [Quit: Textual IRC Client: www.textualapp.com]
ruby_ has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
jphase has quit [Ping timeout: 250 seconds]
code has quit [Ping timeout: 276 seconds]
code has joined #ruby
code has joined #ruby
code has quit [Changing host]
shmuli has quit [Remote host closed the connection]
d5sx43 has joined #ruby
aupadhye has joined #ruby
d5sx43 has quit [Client Quit]
SteenJobs has joined #ruby
SteenJobs has quit [Client Quit]
devbug has joined #ruby
djbkd has quit [Quit: My people need me...]
DoubleMalt has joined #ruby
Immune has quit [Ping timeout: 252 seconds]
duderonomy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
NetSage has joined #ruby
bob434 has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
bob434 has quit [Max SendQ exceeded]
symm- has quit [Quit: Leaving...]
devbug has quit [Quit: ZZZzzz…]
bob434 has joined #ruby
arnonhongklay has joined #ruby
Limix has joined #ruby
qubit77 has joined #ruby
arescorpio has joined #ruby
workmad3 has joined #ruby
ruby_ has quit [Remote host closed the connection]
ruby_ has joined #ruby
toretore has quit [Ping timeout: 258 seconds]
lightheaded has joined #ruby
flopsec has joined #ruby
workmad3 has quit [Ping timeout: 258 seconds]
nando293921 has quit [Ping timeout: 265 seconds]
jmignault has joined #ruby
lightheaded has quit [Ping timeout: 258 seconds]
davedev24 has quit []
zacts has joined #ruby
Rodya_ has quit [Remote host closed the connection]
davedev24 has joined #ruby
Rodya_ has joined #ruby
alxgsv has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
l4v2 has joined #ruby
BackEndCoder has quit [Excess Flood]
BackEndCoder has joined #ruby
jhack has joined #ruby
mim1k_ has joined #ruby
davedev24 has quit []
aupadhye has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 255 seconds]
aupadhye has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
arnonhon_ has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
bob434 has joined #ruby
jphase has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
jenrzzz_ has quit [Ping timeout: 264 seconds]
quoboo has quit [Ping timeout: 240 seconds]
code has left #ruby [#ruby]
Kyhz has quit [Ping timeout: 244 seconds]
Quobo has joined #ruby
Quobo is now known as Guest30874
chimkan has quit [Quit: chimkan]
nankyokusei has joined #ruby
Limix has quit [Quit: Limix]
jgpawletko has joined #ruby
CryptoManiac has quit [Ping timeout: 255 seconds]
jgpawletko has quit [Client Quit]
nankyokusei has quit [Ping timeout: 265 seconds]
zel has joined #ruby
zel is now known as Guest50945
jmignault has quit [Ping timeout: 264 seconds]
jtdoncas has quit [Ping timeout: 264 seconds]
ruby_ has quit [Remote host closed the connection]
davedev24 has joined #ruby
astrobun_ has joined #ruby
tectonic has joined #ruby
rodfersou has joined #ruby
astrobun_ has quit [Remote host closed the connection]
rsampaio_ has joined #ruby
pawnbox has joined #ruby
ruby_ has joined #ruby
jonadab has quit [Read error: No route to host]
dminuoso has joined #ruby
pawnbox has quit [Ping timeout: 265 seconds]
craigp has quit [Ping timeout: 244 seconds]
nando293921 has joined #ruby
jonadab has joined #ruby
shinnya has joined #ruby
domgetter has joined #ruby
ta has joined #ruby
dminuoso has quit [Ping timeout: 250 seconds]
davedev24 has quit []
Rodya_ has quit [Remote host closed the connection]
Vivekananda has quit [Quit: Leaving]
mtkd has quit [Ping timeout: 250 seconds]
lightheaded has joined #ruby
Rodya_ has joined #ruby
mtkd has joined #ruby
ta has quit [Ping timeout: 240 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
arnonhon_ has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
nando293921 has quit [Quit: Lost terminal]
ur5us has joined #ruby
spudowiar has quit [Quit: zzzzzzzzzzzzzzz]
lightheaded has quit [Ping timeout: 258 seconds]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
CryptoManiac has joined #ruby
CryptoManiac has quit [Changing host]
CryptoManiac has joined #ruby
ruby_ has quit [Remote host closed the connection]
ruby_ has joined #ruby
jackjackdripper has joined #ruby
CryptoManiac has quit [Ping timeout: 240 seconds]
ruby_ has quit [Remote host closed the connection]
ruby_ has joined #ruby
tdy has joined #ruby
Limix has joined #ruby
A5101 has joined #ruby
pawnbox has joined #ruby
ruby_ has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
ruby_ has joined #ruby
rodfersou has quit [Quit: leaving]
Niham has joined #ruby
Niham has quit [Client Quit]
shinnya has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
JeanCarloMachado has quit [Ping timeout: 252 seconds]
Immune has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruby_ has quit [Ping timeout: 244 seconds]
cdg has joined #ruby
workmad3 has joined #ruby
GodFather has quit [Ping timeout: 258 seconds]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
raMpin has joined #ruby
duderonomy has joined #ruby
vF3hNGxc47h8 has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 255 seconds]
SteenJobs has joined #ruby
SteenJobs has quit [Client Quit]
SteenJobs has joined #ruby
arnonhongklay has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
dminuoso has joined #ruby
Vingador has joined #ruby
yfeldblum has joined #ruby
Vingador has quit [Read error: Connection reset by peer]
bruce_lee has quit [Remote host closed the connection]
BackEndCoder has quit [Excess Flood]
BackEndCoder has joined #ruby
Vingador has joined #ruby
arnonhongklay has joined #ruby
jhack has quit [Ping timeout: 255 seconds]
jhack has joined #ruby
dminuoso has quit [Ping timeout: 252 seconds]
pokalyis has joined #ruby
nando293921 has joined #ruby
giz|work has quit [Ping timeout: 252 seconds]
lightheaded has joined #ruby
tmtwd has joined #ruby
braincrash has quit [Quit: bye bye]
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arnonhongklay has quit [Ping timeout: 244 seconds]
lightheaded has quit [Ping timeout: 258 seconds]
pawnbox has joined #ruby
gix has quit [Ping timeout: 258 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
pawnbox has quit [Ping timeout: 244 seconds]
gix has joined #ruby
arnonhongklay has joined #ruby
nettoweb has joined #ruby
braincrash has joined #ruby
braincrash is now known as braincras
SteenJobs has quit [Quit: SteenJobs]
Vingador has quit [Read error: Connection reset by peer]
arnonhongklay has quit [Read error: Connection reset by peer]
Vingador has joined #ruby
arnonhongklay has joined #ruby
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
eizua has joined #ruby
nankyokusei has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
CryptoManiac has joined #ruby
CryptoManiac has quit [Changing host]
CryptoManiac has joined #ruby
lele has quit [Ping timeout: 260 seconds]
Big7i has joined #ruby
CryptoManiac has quit [Disconnected by services]
charliesome has joined #ruby
SteenJobs has joined #ruby
ta has joined #ruby
lele has joined #ruby
jmignault has joined #ruby
charliesome has quit [Client Quit]
arnonhongklay has quit [Read error: Connection reset by peer]
ruby_ has joined #ruby
SteenJobs has quit [Client Quit]
charliesome has joined #ruby
ta has quit [Ping timeout: 244 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arnonhongklay has joined #ruby
jmignault has quit [Ping timeout: 240 seconds]
pokalyis has joined #ruby
hk238 has joined #ruby
duncannz has joined #ruby
dminuoso has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
robertjpayne has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
pokalyis has joined #ruby
dminuoso has quit [Ping timeout: 260 seconds]
Immune has quit [Ping timeout: 252 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lightheaded has joined #ruby
cdg has quit [Remote host closed the connection]
pokalyis has joined #ruby
cdg has joined #ruby
lightheaded has quit [Ping timeout: 258 seconds]
djbkd has joined #ruby
Sammichmaker has quit [Read error: Connection reset by peer]
cdg_ has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dviola has quit [Quit: WeeChat 1.5]
johnny56_ has quit [Ping timeout: 264 seconds]
pokalyis has joined #ruby
johnny56_ has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
nanoz has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
A5101 has quit [Ping timeout: 250 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cydrobolt has joined #ruby
<cydrobolt> hey
<cydrobolt> i'm getting this error with rvm and ruby
<cydrobolt> Ignoring redcarpet-3.3.4 because its extensions are not built. Try: gem pristine redcarpet --version 3.3.4
<cydrobolt> I ran the pristine command but no luck, still shows up each time I open a terminal (rvm init)
pokalyis has joined #ruby
<cydrobolt> I'm running rvm 1.26.11 and ruby 2.3.1p112
<cydrobolt> is there a way I could mute the warning?
ruby_ has quit []
Vingador has quit [Remote host closed the connection]
ruby_ has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
statelesscode has quit [Ping timeout: 265 seconds]
pokalyis has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skweek has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
decomposite has quit [Ping timeout: 252 seconds]
csaunders has quit [Ping timeout: 276 seconds]
j0bk has quit [Ping timeout: 244 seconds]
djbkd has quit [Remote host closed the connection]
charliesome has quit [Client Quit]
Robtop__ has joined #ruby
djbkd has joined #ruby
flacc has joined #ruby
ghostlight has quit [Ping timeout: 250 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<domgetter> cydrobolt are you installing through bundler?
ses1984 has quit [Ping timeout: 244 seconds]
_dev has quit [Ping timeout: 255 seconds]
j0bk has joined #ruby
tectonic has quit []
csaunders has joined #ruby
_dev has joined #ruby
decomposite has joined #ruby
ghostlight has joined #ruby
ses1984 has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
ruby_ has quit [Remote host closed the connection]
Limix has quit [Quit: Limix]
bob434 has quit [Quit: This computer has gone to sleep]
charliesome has quit [Client Quit]
SteenJobs has joined #ruby
pokalyis has joined #ruby
charliesome has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
jphase_ has joined #ruby
charliesome has quit [Client Quit]
pawnbox has joined #ruby
yfeldblum has quit [Remote host closed the connection]
charliesome has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BlkDynmt has quit [Quit: BlkDynmt]
jphase has quit [Ping timeout: 244 seconds]
pokalyis has joined #ruby
arnonhongklay has quit [Ping timeout: 244 seconds]
cdg_ has quit [Remote host closed the connection]
cdg has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
whiteline has quit [Remote host closed the connection]
raMpin has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
CloCkWeRX has joined #ruby
ruby_ has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jphase_ has quit [Remote host closed the connection]
jphase has joined #ruby
vuoto has joined #ruby
dminuoso has joined #ruby
jphase_ has joined #ruby
jphase has quit [Ping timeout: 250 seconds]
dminuoso has quit [Ping timeout: 258 seconds]
pokalyis has joined #ruby
vuoto has quit [Remote host closed the connection]
Guest30874 is now known as quoboo
quoboo is now known as Guest24039
Guest24039 has quit [Changing host]
Guest24039 has joined #ruby
lightheaded has joined #ruby
Guest24039 is now known as quoboo
Big7i has quit [Remote host closed the connection]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sumobob has quit [Ping timeout: 250 seconds]
lightheaded has quit [Ping timeout: 258 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agent_white has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
robertjpayne has quit []
ruby_ has quit [Remote host closed the connection]
flacc has quit [Read error: Connection reset by peer]
pokalyis has joined #ruby
pawnbox has joined #ruby
pokalyis has quit [Read error: Connection reset by peer]
pokalyis has joined #ruby
Vivekananda has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jackjackdripper1 has joined #ruby
tmtwd has quit [Ping timeout: 265 seconds]
flacc has joined #ruby
pokalyis has quit [Client Quit]
arnonhongklay has quit [Read error: Connection reset by peer]
jackjackdripper has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
pokalyis has joined #ruby
arnonhongklay has joined #ruby
<nofxx> I'm sure there's a jedi way to do this... got a big array that goes to a chart, so is that common: [[Date.UTC(10,10,2015), 10], ... where 10 illustrate the 'count' of things for that day... how to map this to sum what's old? so suppose got 3 days with 10, 10, 10 maps to 10, 20, 30...
cdg has quit [Remote host closed the connection]
ruby_ has joined #ruby
cdg has joined #ruby
charliesome has quit [Client Quit]
charliesome has joined #ruby
ledestin has joined #ruby
<nofxx> ah... an acc = 0 line is not so ugly anyways
jackjackdripper has joined #ruby
jackjackdripper1 has quit [Ping timeout: 250 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
charliesome has quit [Client Quit]
arescorpio has quit [Quit: Leaving.]
solocshaw has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruby_ has quit [Remote host closed the connection]
pokalyis has joined #ruby
jaguarmagenta has joined #ruby
ta has joined #ruby
dminuoso has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
nankyokusei has joined #ruby
charliesome has quit [Client Quit]
cdg_ has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
ta has quit [Ping timeout: 244 seconds]
arnonhongklay has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
charliesome has quit [Client Quit]
pokalyis has joined #ruby
s2013 has joined #ruby
cdg_ has quit [Remote host closed the connection]
A5101 has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
cdg has quit [Ping timeout: 244 seconds]
ELLIOTTCABLE is now known as ec
pokalyis has quit [Client Quit]
pokalyis has joined #ruby
arnonhon_ has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arnonhongklay has quit [Ping timeout: 250 seconds]
pokalyis has joined #ruby
cubix1 has joined #ruby
pawnbox has joined #ruby
johnny56_ has quit [Ping timeout: 264 seconds]
vuoto has joined #ruby
johnny56_ has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solocshaw has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pokalyis has joined #ruby
pawnbox has quit [Remote host closed the connection]
ruby_ has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
arnonhon_ has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
miqlas-H has joined #ruby
LoneHerm_ has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
k3rn31 has joined #ruby
pokalyis has joined #ruby
lightheaded has joined #ruby
Satyajit has joined #ruby
k3rn31 has quit [Ping timeout: 250 seconds]
LoneHerm_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
lightheaded has quit [Ping timeout: 258 seconds]
ruby_ has quit [Remote host closed the connection]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruby_ has joined #ruby
vuoto has quit [Quit: Lost terminal]
pokalyis has joined #ruby
flacc has quit [Remote host closed the connection]
flacc has joined #ruby
gizmore has joined #ruby
ruby_ has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
ruby_ has joined #ruby
ruby_ has quit [Remote host closed the connection]
cubix1 has quit [Quit: Leaving.]
yfeldblu_ has joined #ruby
flacc has quit [Ping timeout: 250 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gingray has joined #ruby
pokalyis has joined #ruby
yfeldblu_ has quit [Client Quit]
charliesome has joined #ruby
LoneHerm_ has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
sand-bird has joined #ruby
Silthias has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
Silthias1 has quit [Ping timeout: 255 seconds]
yfeldblu_ has joined #ruby
pokalyis has joined #ruby
charliesome has quit [Ping timeout: 244 seconds]
LoneHerm_ has quit [Remote host closed the connection]
eGGshke has joined #ruby
agent_white has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
nando293921 has quit [Quit: leaving]
Spami has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nando293921 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
charliesome has joined #ruby
mtkd has quit [Ping timeout: 244 seconds]
pokalyis has joined #ruby
mtkd has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
nando293921 has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lalalaaa> In the past I've never had to add any gem paths to my zshrc in order to use them after install. Why do I now all of a sudden have to? Have you guys always done this?
charliesome has joined #ruby
l4v2 has quit [Quit: l4v2]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
vuoto has joined #ruby
claudiuinberlin has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHerm_ has joined #ruby
rippa has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
dionysus69 has joined #ruby
ur5us has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
devbug has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
firstdayonthejob has joined #ruby
lightheaded has joined #ruby
Rodya_ has quit [Remote host closed the connection]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
lightheaded has quit [Ping timeout: 258 seconds]
pawnbox has quit [Remote host closed the connection]
segy has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
segy has joined #ruby
jaguarmagenta has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
Spami has joined #ruby
charliesome has quit [Ping timeout: 265 seconds]
arnonhongklay has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
<dminuoso> Do any of you folks use puppet? If so, how do you jam ruby-2.3.1 in there?
ta has joined #ruby
vuoto has quit [Remote host closed the connection]
<dminuoso> The only soluion I can see is trying to make sure that the puppet agent uses the brightbox ppa.
<dminuoso> (But that only covers ubuntu)
arnonhongklay has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
Immune has joined #ruby
ta has quit [Ping timeout: 244 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
charliesome has quit [Client Quit]
johnny56_ has quit [Ping timeout: 264 seconds]
yardenbar has joined #ruby
bronson has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
johnny56_ has joined #ruby
guardian has quit [Ping timeout: 265 seconds]
nankyokusei has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
vuoto has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
cdg has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
A5101 has quit [Ping timeout: 252 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
d0nn1e has quit [Ping timeout: 250 seconds]
lightheaded has joined #ruby
omphe has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
d0nn1e has joined #ruby
cdg has quit [Ping timeout: 250 seconds]
pokalyis has joined #ruby
jphase_ has quit [Remote host closed the connection]
jphase has joined #ruby
claudiuinberlin has joined #ruby
jphase_ has joined #ruby
vuoto has quit [Ping timeout: 244 seconds]
jphase has quit [Ping timeout: 250 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
pokalyis has joined #ruby
jphase_ has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
bkxd has joined #ruby
arnonhongklay has quit [Ping timeout: 276 seconds]
nofxx has quit [Ping timeout: 244 seconds]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
arnonhongklay has joined #ruby
pawnbox has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
guardian has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhon_ has joined #ruby
pawnbox has joined #ruby
LoneHerm_ has quit [Ping timeout: 240 seconds]
bocaneri has joined #ruby
spider-mario has joined #ruby
Dimik has quit [Ping timeout: 252 seconds]
jgt2 has joined #ruby
slucx has joined #ruby
slucx has quit [Client Quit]
vuoto has joined #ruby
WSO has quit [Quit: Connection closed for inactivity]
gigetoo has quit [Ping timeout: 276 seconds]
Xentil has quit [Ping timeout: 265 seconds]
aupadhye has quit [Quit: Leaving]
domgetter has quit [Ping timeout: 244 seconds]
robertjpayne has joined #ruby
<NetSage> dminuoso: perhaps use something like rbenv with puppet? https://github.com/justindowning/puppet-rbenv
<dminuoso> NetSage: I find rbenv too intrusive for production use.
minimalism has quit [Quit: minimalism]
<dminuoso> NetSage: Though come to think of it, I could live with forcing all our production servers running ruby code to run on Ubuntu.
dbck has joined #ruby
pandaant has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
elastix has joined #ruby
maloik has quit [Remote host closed the connection]
arnonhon_ has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
maloik has joined #ruby
orangey has quit [Ping timeout: 276 seconds]
quazimodo has joined #ruby
claudiuinberlin has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
ereslibre_laptop is now known as ereslibre
gigetoo has joined #ruby
minimalism has joined #ruby
pawnbox has quit [Remote host closed the connection]
tvw has joined #ruby
Jackneill has joined #ruby
BackEndCoder has quit [Excess Flood]
BackEndCoder has joined #ruby
yfeldblum has joined #ruby
elastix has quit [Quit: elastix]
BlkDynmt has joined #ruby
elastix has joined #ruby
pawnbox has joined #ruby
devbug has quit [Quit: ZZZzzz…]
nofxx has quit [Ping timeout: 260 seconds]
conta has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
BlkDynmt has quit [Ping timeout: 255 seconds]
futilegames has joined #ruby
ur5us has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
ta has joined #ruby
futilegames has quit [Client Quit]
yfeldblum has quit [Ping timeout: 250 seconds]
ur5us has quit [Read error: No route to host]
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
ur5us has joined #ruby
sand-bird has quit [Remote host closed the connection]
ta has quit [Ping timeout: 250 seconds]
jaguarmagenta has joined #ruby
eGGshke has quit [Quit: Leaving...]
James123 has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
<James123> I want to parse an xml with ruby (nokogiri). In this xml, to indicate that foo is true/false is it better (for ease of use) to use <foo>true</foo> (<foo>false</foo>) or use <foo></foo> for true and no tags at all for false? Thank you!
CloCkWeRX has quit [Quit: Leaving.]
jaguarmagenta has quit [Ping timeout: 244 seconds]
<dminuoso> James123: depends on the context. generally Id say put in 0/1
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
vuoto has quit [Remote host closed the connection]
DoubleMalt has quit [Ping timeout: 276 seconds]
conta has quit [Ping timeout: 264 seconds]
blackwind_123 has quit [Ping timeout: 276 seconds]
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
NNIIGGEERR has joined #ruby
NNIIGGEERR has left #ruby [#ruby]
nankyokusei has joined #ruby
minimalism has quit [Quit: minimalism]
giz|work has joined #ruby
ur5us has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 244 seconds]
Ishido has joined #ruby
quazimodo has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
NNIIGGEERR has joined #ruby
pokalyis has joined #ruby
quazimodo has joined #ruby
minimalism has joined #ruby
BlkDynmt has joined #ruby
tvw has quit [Ping timeout: 264 seconds]
arnonhongklay has quit [Ping timeout: 258 seconds]
tvw has joined #ruby
ur5us has joined #ruby
gigetoo has quit [Ping timeout: 250 seconds]
futilegames has joined #ruby
arnonhongklay has joined #ruby
giz|work has quit [Ping timeout: 255 seconds]
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
AlphaAtom has joined #ruby
vuoto has joined #ruby
conta has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
cdg has joined #ruby
AlphaAtom has joined #ruby
zeroDi has joined #ruby
joes has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
joes has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
cdg has quit [Ping timeout: 244 seconds]
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
rsampaio has joined #ruby
edwinvdgraaf has joined #ruby
Hyuk has joined #ruby
futilegames has quit [Quit: futilegames]
AlphaAtom has joined #ruby
AlphaAtom has quit [Client Quit]
elastix has quit [Quit: elastix]
rsampaio has quit [Ping timeout: 264 seconds]
arnonhon_ has joined #ruby
hk238 has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
jgt2 has quit [Ping timeout: 250 seconds]
hk238 has quit [Client Quit]
futilegames has joined #ruby
toretore has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agit0 has joined #ruby
omphe has joined #ruby
omphe has quit [Client Quit]
omphe has joined #ruby
quazimodo has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Ping timeout: 265 seconds]
quazimodo has joined #ruby
Immune has quit [Ping timeout: 252 seconds]
<dminuoso> >> a = "s"; {a: 1}
<ruby[bot]> dminuoso: # => {:a=>1} (https://eval.in/634528)
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> >> {"a": 1}
<ruby[bot]> dminuoso: # => {:a=>1} (https://eval.in/634529)
<dminuoso> TIL.
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hk238 has joined #ruby
WSO has joined #ruby
arnonhon_ has quit [Remote host closed the connection]
zipace has joined #ruby
arnonhongklay has joined #ruby
Alostar has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
NNIIGGEERR has quit [Remote host closed the connection]
nclbr has joined #ruby
pandaant has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
ta has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
Littlemyu has joined #ruby
kirun has joined #ruby
ur5us has quit [Remote host closed the connection]
ta has quit [Ping timeout: 265 seconds]
quazimodo has quit [Ping timeout: 255 seconds]
govg has joined #ruby
ec0 has quit [Ping timeout: 250 seconds]
hanmac has quit [Ping timeout: 255 seconds]
spectrum has joined #ruby
opus has joined #ruby
omphe has joined #ruby
alfiemax has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
govg has quit [Ping timeout: 244 seconds]
jgt2 has joined #ruby
<Littlemyu> Hello! Looking for help on Tcl/Tk for latest Ruby release 2.3.1: can't find any up to date documentation, Tk reference from ruby-doc is basically just a list of classes/methods without description
<Littlemyu> or maybe someone can recommend a better GUI library for Ruby 2.3.1
<Littlemyu> qtbindings sadly has no support for latest ruby
postmodern has quit [Quit: Leaving]
flying has joined #ruby
Vingador has joined #ruby
jaguarmagenta has joined #ruby
quazimodo has joined #ruby
brendan- has quit [Quit: Textual IRC Client: www.textualapp.com]
dreamyspell has quit [Killed (leguin.freenode.net (Nickname regained by services))]
dreamyspell has joined #ruby
govg has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
hanmac has joined #ruby
jgt2 has quit [Ping timeout: 258 seconds]
conta has quit [Ping timeout: 252 seconds]
alfiemax has joined #ruby
claudiuinberlin has joined #ruby
bob434 has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pwnd_nsfw` has joined #ruby
Es0teric has joined #ruby
nofxx has joined #ruby
vuoto has quit [Remote host closed the connection]
arnonhongklay has quit [Read error: Connection reset by peer]
opus has quit [Quit: Textual IRC Client: www.textualapp.com]
arnonhongklay has joined #ruby
nofxx has quit [Remote host closed the connection]
Robtop__ has quit [Ping timeout: 250 seconds]
Littlemyu has quit [Ping timeout: 240 seconds]
tomchapi_ has joined #ruby
opus has joined #ruby
tomchapin has quit [Ping timeout: 244 seconds]
moogz has quit [Quit: Lost terminal]
mikecmpbll has quit [Quit: inabit. zz.]
edwinvdgraaf has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.2 Aria]
arnonhongklay has quit [Ping timeout: 265 seconds]
nankyokusei has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
sdothum has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
dome22xl has joined #ruby
dome22xl is now known as puppetpies
quazimodo has quit [Ping timeout: 244 seconds]
bkxd has quit [Ping timeout: 240 seconds]
quazimodo has joined #ruby
leitz has joined #ruby
PlasmaStar has quit [Ping timeout: 265 seconds]
jphase has joined #ruby
robertjpayne has left #ruby [#ruby]
PlasmaStar has joined #ruby
flying has quit [Remote host closed the connection]
dionysus69 has joined #ruby
arnonhongklay has joined #ruby
jphase has quit [Ping timeout: 250 seconds]
rsampaio_ has quit [Ping timeout: 255 seconds]
vuoto has joined #ruby
galeido has joined #ruby
JeanCarloMachado has joined #ruby
hk238 has joined #ruby
hk238 has quit [Changing host]
hk238 has joined #ruby
flying has joined #ruby
NetSage has quit [Remote host closed the connection]
flying has quit [Remote host closed the connection]
flying has joined #ruby
flying has quit [Remote host closed the connection]
arnonhongklay has quit [Remote host closed the connection]
opus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xentil has joined #ruby
Tempesta has quit [Ping timeout: 252 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
arup_r has joined #ruby
<arup_r> Is this invalid Ruby ? https://gist.github.com/aruprakshit/4bb0af22bf3935bc6aac464575e3375c .. I am getting syntax error
arnonhongklay has joined #ruby
<canton7> if there's a syntax error, yes, something's invalid :P
<Papierkorb> arup_r: the rescue/.. body can only be on the method body level, not inside some block
<arup_r> oh I see :)
<Papierkorb> use begin instead, or refactor the block body into its own method
<arup_r> so i have to use use begin ..rescue.. end block inside the the #each block
<arup_r> Papierkorb: good idea. +1
tk__ has joined #ruby
govg has quit [Ping timeout: 240 seconds]
BlkDynmt has joined #ruby
_joes_|2 has joined #ruby
Mon_Ouie has quit [Ping timeout: 276 seconds]
<quazimodo> this is odd
<quazimodo> i'm using es6
<quazimodo> and i see -no- advantage over coffeescript
<Papierkorb> No need to compile it
<Papierkorb> it just works.
<ytti> i'd put that other way around
<Papierkorb> exactly
Mon_Ouie has joined #ruby
qubit77 has quit [Quit: Connection closed for inactivity]
ziprar has joined #ruby
zipace has quit [Disconnected by services]
govg has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
raMp has joined #ruby
ta has joined #ruby
agent_white has quit [Quit: agent_white]
arup_r has quit [Remote host closed the connection]
ta has quit [Ping timeout: 244 seconds]
arnonhongklay has quit [Ping timeout: 240 seconds]
arnonhongklay has joined #ruby
eizua has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
pawnbox has quit [Remote host closed the connection]
shinnya has joined #ruby
jmignault has joined #ruby
dionysus69 has quit [Quit: dionysus69]
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
pawnbox has joined #ruby
govg has quit [Ping timeout: 244 seconds]
Sashimi has joined #ruby
hopsoft has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
DaniG2k has joined #ruby
jgt2 has joined #ruby
astrobun_ has joined #ruby
puppetpies has quit [Quit: Leaving]
bob434 has quit [Quit: This computer has gone to sleep]
jgt2 has quit [Ping timeout: 258 seconds]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
_joes_|2 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
_joes_|2 has joined #ruby
vuoto has quit [Remote host closed the connection]
gigetoo has joined #ruby
minimalism has quit [Quit: minimalism]
govg has joined #ruby
jaguarmagenta has joined #ruby
johnmilton has quit [Ping timeout: 240 seconds]
DaniG2k has quit [Quit: leaving]
nankyokusei has joined #ruby
spudowiar has joined #ruby
jaguarmagenta has quit [Ping timeout: 258 seconds]
arup_r has joined #ruby
omphe has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
<arup_r> Hi, I am looking for an idea. How can I add a custom method ( def display; "#{ self.country} is Big"; end) to OS object australia = OpenStruct.new(:country => "Australia", :population => 20_000_000)
<arup_r> this is an example.
claudiuinberlin has quit [Remote host closed the connection]
<arup_r> I know this is possible with Struct, but no idea how to do it with OpenStruct.
<Papierkorb> arup_r: Don't use a OpenStruct in that case
<arup_r> ok... I will use Struct
<arup_r> make sense why should I pick Struct in my example... :)
<Papierkorb> Note that Struct#initialize takes an optional block
<arup_r> ^ I know. But was looking for if any way the same can be done with OS.. seems answer is no.
<Papierkorb> well, sure you can abuse its singleton_class
arnonhon_ has joined #ruby
<Papierkorb> but doesn't sound like a good idea to do so
<arup_r> hmm
arnonhongklay has quit [Read error: Connection reset by peer]
<toretore> def australia.display
<toretore> if you want to create a class, create a class
JeanCarloMachado has quit [Ping timeout: 265 seconds]
zacts has quit [Ping timeout: 265 seconds]
johnmilton has joined #ruby
tvw has quit [Remote host closed the connection]
_joes_|2 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<arup_r> toretore: and Papierkorb this is how I designed https://gist.github.com/aruprakshit/fd685ccc964e61334b775ca90c17de66 .. I could use OS, if I don't need to define the #blank? method. I think Struct implementation looks clean
<arup_r> but thanks to all
pokalyis has joined #ruby
pawnbox has joined #ruby
astrobun_ has quit [Remote host closed the connection]
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jhack has quit []
pawnbox has quit [Ping timeout: 264 seconds]
arnonhon_ has quit [Read error: Connection reset by peer]
solocshaw has joined #ruby
AndyBotwin has joined #ruby
arnonhongklay has joined #ruby
jtdoncas has joined #ruby
ruby_ has joined #ruby
<arup_r> Is this the correct way to get the difference between 2 dates in days? (Date.new(2001,2,5) - Date.new(2001,2,3)).to_i # 2
Spami has joined #ruby
<arup_r> or should i need to include the time also with date? I will be triggering emails as reminder last 15/7 days and last day
<arup_r> so should I need to include the time with date or only date is fine?
agit0 has quit [Read error: Connection reset by peer]
<dminuoso> &ri Date#-
<dminuoso> arup_r: Did you read the documentation?
pawnbox has joined #ruby
<arup_r> dminuoso: yes, why ?
<dminuoso> 16:12 < arup_r> Is this the correct way to get the difference between 2 dates in days? (Date.new(2001,2,5) - Date.new(2001,2,3)).to_i # 2
<dminuoso> Id like to know which part of the documentation you missed to ask that question then.
vuoto has joined #ruby
<arup_r> dminuoso: I am asking if I should add time part or only date part is ok to go
<dminuoso> arup_r: Did you look at the examples?
<toretore> it depends
<arup_r> toretore: can u elaborate please?
<toretore> if you elaborate first
<dminuoso> arup_r: If you have read the documentation and looked at the examples, I do not understand how you can still ask that question.
<dminuoso> Unless you didn't understand any of it, at which point I'd like you to explain what confused you so I can clear it up.
<arup_r> toretore: what part of my question is not clear? I will clarify it.
<toretore> it'll probably be fine
<arup_r> ok thank you toretore
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aries_liuxueyang has quit [Ping timeout: 240 seconds]
ericsupreme has joined #ruby
jgt2 has joined #ruby
David27 has joined #ruby
miqlas-H has joined #ruby
blaxter has joined #ruby
aries_liuxueyang has joined #ruby
jgt2 has quit [Ping timeout: 265 seconds]
dviola has joined #ruby
Mozzz has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
jtdoncas has quit [Ping timeout: 276 seconds]
ta has joined #ruby
nettoweb has joined #ruby
LoneHermit has joined #ruby
arnonhongklay has quit [Ping timeout: 265 seconds]
elementaru has joined #ruby
ta has quit [Ping timeout: 240 seconds]
omphe has joined #ruby
LoneHermit has quit [Ping timeout: 265 seconds]
ruby_ has quit [Remote host closed the connection]
charliesome has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
ruby_ has joined #ruby
arnonhongklay has joined #ruby
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Spami has quit [Quit: This computer has gone to sleep]
raMp has quit [Read error: Connection reset by peer]
blaxter has quit [Quit: foo]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
l4v2 has joined #ruby
ruby_ has quit [Ping timeout: 252 seconds]
ruby_ has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
s2013 has joined #ruby
arnonhongklay has joined #ruby
JesseH has joined #ruby
Alostar has quit [Quit: Lost terminal]
k3rn31 has joined #ruby
govg has quit [Ping timeout: 244 seconds]
AndrewIsHere has joined #ruby
nando293921 has joined #ruby
jgt2 has joined #ruby
AzureStigma has joined #ruby
Rodya_ has joined #ruby
charliesome has joined #ruby
AzureStigma has quit [Client Quit]
redpants has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
tmtwd has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
segy has joined #ruby
statelesscode has joined #ruby
statelesscode has quit [Client Quit]
Kingpin_ has joined #ruby
AzureStigma has joined #ruby
lel has joined #ruby
kuimbae has joined #ruby
BlkDynmt has joined #ruby
segy has quit [Ping timeout: 250 seconds]
kuimbae has left #ruby [#ruby]
bob434 has joined #ruby
Azure has joined #ruby
Nimonas has joined #ruby
Xentil has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
<dminuoso> asm>> def m;end
<ruby[bot]> dminuoso: I have disassembled your code, the result is at https://eval.in/634618
elementaru has quit [Ping timeout: 276 seconds]
dionysus69 has joined #ruby
segy has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AndrewIsHere has quit []
Mozzz has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
Es0teric has joined #ruby
pawnbox has joined #ruby
JeanCarloMachado has joined #ruby
David27 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
k3rn31 has quit [Quit: Computer has gone to sleep.]
arnonhongklay has quit [Read error: Connection reset by peer]
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Littlemyu has joined #ruby
quazimodo has quit [Ping timeout: 276 seconds]
BlkDynmt has quit [Quit: BlkDynmt]
jaguarmagenta has joined #ruby
tk__ has quit [Quit: ばいばい]
David27 has joined #ruby
ineb has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
dbck has quit [Ping timeout: 252 seconds]
ruby_ has quit [Remote host closed the connection]
sumobob has joined #ruby
ruby_ has joined #ruby
Sashimi has joined #ruby
jgt3 has joined #ruby
jgt2 has quit [Ping timeout: 244 seconds]
ruby_ has quit [Ping timeout: 252 seconds]
Bellthoven has joined #ruby
Channel6 has joined #ruby
Sashimi has quit [Client Quit]
nankyokusei has joined #ruby
nettoweb has joined #ruby
nankyokusei has quit [Ping timeout: 255 seconds]
claudiuinberlin has quit [Remote host closed the connection]
shmoon_ has joined #ruby
<shmoon_> ho
arup_r has left #ruby [#ruby]
<shmoon_> it says "First, when the module keyword is processed, the interpreter creates a new entry in the constant table of the class object stored in the Object constant. Said entry associates the name "Colors" to a newly created module object."
<shmoon_> is it definitely a ruby thing ? cuz when i google "ruby constant table" i dont find anything
<shmoon_> does it mean ruby has something like Object[class constant].class_object[an object].constant_table[a hash][:Colors].module_object[:RED].value = '0xff0000' ?
zacts has joined #ruby
<Mon_Ouie> Maybe people don't call it a constant table that often, but modules definitely store constants and methods
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Ping timeout: 264 seconds]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JeanCarloMachado has joined #ruby
<Papierkorb> shmoon_: on a related note, you can infact query an objects constants.
solocshaw has quit [Ping timeout: 250 seconds]
kang00 has joined #ruby
matti has quit [Ping timeout: 244 seconds]
craigp has joined #ruby
<Papierkorb> >> self.class.constants.map{|name| [ name, self.class.const_get(name) ]}.to_h # Try this in irb/pry too shmoon_
<ruby[bot]> Papierkorb: # => {:Object=>Object, :Module=>Module, :Class=>Class, :BasicObject=>BasicObject, :Kernel=>Kernel, :NilCl ...check link for more (https://eval.in/634630)
jaguarmagenta has quit [Remote host closed the connection]
matti has joined #ruby
<kang00> Any python user?
Hyuk has joined #ruby
<Mon_Ouie> You might have more luck in #python
<dminuoso> shmoon_: The phrase "const table" is something that I only see inside the ruby source code. The const table you mean for example is a member "struct st_table *const_tbl" inside the rb_classext_struct.
jaguarmagenta has joined #ruby
<dminuoso> Papierkorb: You mean a classes/modules constants. :)
<dminuoso> Afaik a constant cannot exist outside a class/module.
<Mon_Ouie> >> 3::SomeConstant
<ruby[bot]> Mon_Ouie: # => 3 is not a class/module (TypeError) ...check link for more (https://eval.in/634633)
<shmoon_> hmm
<shmoon_> so its confusing i guess
devster31 has quit [Ping timeout: 276 seconds]
<dminuoso> Mon_Ouie: Well, it could be a constant of an objects singleton class
<shmoon_> was just trying to understand how autoloading works in rails
<ardian_> Hi, I am working on a GUI Twitter app, and I am only able to login via the secret tokens, is there any way like you login with your username and password
<shmoon_> apparently there is `autoload` in ruby which will get removed in 3.0
matti has quit [Ping timeout: 244 seconds]
<dminuoso> shmoon_: And rails autoloading is different.
<shmoon_> why is it getting removed ? I read it has thread-safety issues, wouldn't that also exist in require too then ?
matti has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
<shmoon_> dminuoso: yeah I think I am getting it now. Rails probably has a mechanism in place for autoloading which i will read up on
<shmoon_> but before that wondering what thread-safety concerns are there around ruby autoload ?
<shmoon_> maybe an example would be nice to understand
<shmoon_> :)
<Mon_Ouie> autoload in Ruby means that when you try to access a constant and that constant is not defined, require is called to load the files that define it
<shmoon_> Mon_Ouie: yup right
devster31 has joined #ruby
devster31 has quit [Max SendQ exceeded]
<dminuoso> shmoon_: Matz is basically saying that since require is called explicitly, it makes it much easier to handler.
<shmoon_> I read that only :)
devster31 has joined #ruby
devster31 has quit [Max SendQ exceeded]
<dminuoso> Heh.
<shmoon_> he says "But autoload itself has
<shmoon_> fundamental flaw under multi-thread environment."
devster31 has joined #ruby
devster31 has quit [Max SendQ exceeded]
<shmoon_> i don't understand multi thread flaws much hence was asking what it meant with an example if possible
omphe has joined #ruby
devster31 has joined #ruby
devster31 has quit [Max SendQ exceeded]
devster31 has joined #ruby
devster31 has quit [Max SendQ exceeded]
devster31 has joined #ruby
devster31 has quit [Max SendQ exceeded]
JeanCarloMachado has quit [Quit: Lost terminal]
devster31 has joined #ruby
JeanCarloMachado has joined #ruby
<Papierkorb> shmoon_: If you have an `autoload Foo`, and Foo has not been used yet, so it's not loaded already. Then you have two threads running in parallel (on different CPU cores), both are now trying to use `Foo`. Ruby sees it's not loaded yet and will thus do a `require` on its own. This is a concurrency issue.
<dminuoso> It's described in its entirety there.
<dminuoso> (And it seems to be fairly complex in nature)
arnonhongklay has quit [Read error: Connection reset by peer]
<shmoon_> Papierkorb: so when both tries to require the file containing Foo one should ideally succeed and the other fail yeah ?
miqlas-H has quit [Ping timeout: 276 seconds]
<shmoon_> or when the entire operation is broken into real smaller operations both can end up loading the file causing error that constant is defined twice ?
<Papierkorb> shmoon_: it's a complex race-condition, anything could happen. The issue report above has the gory details
miqlas-H has joined #ruby
claudiuinberlin has joined #ruby
<dminuoso> On that note, I would like for autoload to work with iseq streams written out a file.. :|
arnonhongklay has joined #ruby
<dminuoso> And require too while Im at it.
<Papierkorb> it could produce a success in one thread, and a "NameError: Foo" in the other thread(s). Or something different. That alone though already creates a hard to debug issue, can crash the application, or could get a satellite to crash onto earth.
miqlas-H has quit [Client Quit]
jphase has joined #ruby
jgt3 has quit [Read error: Connection reset by peer]
<havenwood> shmoon_: Even with the thread safety issues resolved many prefer explicit requiring.
JeanCarloMachado has quit [Ping timeout: 244 seconds]
<shmoon_> hmm
<shmoon_> i don't understand threads well but wondering if someone could explain simply how/when multiple threads access a program ?
yfeldblum has joined #ruby
<shmoon_> if I have a piece of code and 2 threads are executing it for some reason imagine a webserver trying to serve 2 users parallely then wont the 2 threads have their own memory and do work just fine
<Mon_Ouie> No, threads share memory
banisterfiend has joined #ruby
JeanCarloMachado has joined #ruby
<shmoon_> or maybe executing `ruby script.rb` at the same time from 2 iterm2 windows
anisha has joined #ruby
<Mon_Ouie> That's different, that would be two processes, not two threads
<shmoon_> will that be safe then ?
<dminuoso> shmoon_: Autoload works with markers. So you have a marker MARK_A that a constant A will be autoloaded. Thread 1 will fetch the constant, and start the autoload procedure. To do that the marker is removed. If Thread 2 will now attempt to fetch the constant, it will get an Unitialized Constant Error.
<Mon_Ouie> Yes, separate processes do not share memory
<havenwood> shmoon_: Processes don't share memory but threads can. Threads can also share mutable data and then problems arise where you have to synchronize access to that data.
baratheon has joined #ruby
<shmoon_> ok I understand now, so in this case if I have a constant Foo, its stored in memoery which is shared by multiiple threads
<dminuoso> shmoon_: So essentially there is a race condition if two threads attempt to access a constant at a similar time, that one will falsely get an "Uninitialized Constant" error.
<dminuoso> (The other possible error condition does not exist as long as we have the global VM lock)
jgt3 has joined #ruby
<shmoon_> dminuoso: is markers a C concept ?
<shmoon_> just wondering how thread 1 can fetch the constant without autoloading first
<dminuoso> shmoon_: No, its just how Ruby coins the term inside the autoloading logic.
vuoto has quit [Remote host closed the connection]
<dminuoso> shmoon_: Think of this marker as a paper note on a box saying "Find the contents in file XYZ". Now if thread 1 attempts to find the constant, it discovers this note - and takes it away and follows it, when it comes back, it places the contents inside the box. Now there is a timeframe where the box is empty, and has no note on it.
vuoto has joined #ruby
<dminuoso> So in that time frame any other observer would think "hey this constant is not initialized"
<shmoon_> aah
<shmoon_> dam got it :D
<shmoon_> can the implementation be changed to fix this issue though ? It seems like it can be rather than removing the feature altogether
hopsoft has joined #ruby
<shmoon_> some apps might find this feature super useful
<havenwood> The Ruby in Hollywood meetup is taking a field trip to Italy if any Rubyists in Veneto wants to join us on Wednesday in Venice!
ericsupreme has quit [Quit: Leaving]
<dminuoso> shmoon_: Not easily, which is why the bug has been around for 7 years.
ta has joined #ruby
<shmoon_> I see
<shmoon_> fair enough
<shmoon_> thanks for the awesome explaantion dminuoso++ :)
jphase has quit []
ayonkhan has joined #ruby
ta has quit [Ping timeout: 276 seconds]
jhack has joined #ruby
Bellthoven has quit []
redpants has quit [Ping timeout: 264 seconds]
jhack has quit [Client Quit]
habitullence_ has joined #ruby
habitullence has quit [Ping timeout: 250 seconds]
habitullence_ is now known as habitullence
nankyokusei has joined #ruby
swills has quit [Quit: Leaving]
arnonhongklay has quit [Read error: Connection reset by peer]
sumobob has quit [Ping timeout: 250 seconds]
A5101 has joined #ruby
jhack has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
arnonhongklay has joined #ruby
eizua has joined #ruby
rails793 has joined #ruby
<shmoon_> interesting it seems like module A; module B; end; end; is different from module A;end; module A::B;end; howcome/why so ?
GodFather has joined #ruby
kspencer is now known as No_One
<Mon_Ouie> If you try to access a constant C inside the body of module B's definition, it will look for it in B, then in A, then in Object
Immune has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
<Mon_Ouie> In the second case it only looks for it in B and in Object because the body of B is not inside module A
solocshaw has joined #ruby
<Mon_Ouie> You can get insight into this by printing Module.nesting in both cases
segy has quit [Quit: ZNC - http://znc.in]
hk238 has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 265 seconds]
rails793 has quit [Ping timeout: 264 seconds]
Bellthoven has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arnonhongklay has joined #ruby
pokalyis has joined #ruby
ayonkhan has quit [Ping timeout: 244 seconds]
segy has joined #ruby
redpants has joined #ruby
Limix has joined #ruby
lalalaaa has quit [Quit: leaving]
Kingpin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ayonkhan has joined #ruby
s2013 has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.2 Aria]
chrisco has joined #ruby
meatchicken has joined #ruby
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
segy has quit [Ping timeout: 244 seconds]
Edward__ has quit [Ping timeout: 240 seconds]
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pwnd_nsfw has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
ayonkhan has quit [Quit: Textual IRC Client: www.textualapp.com]
vuoto has quit [Quit: Lost terminal]
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
segy has joined #ruby
Limix has quit [Quit: Limix]
johnmilton has quit [Ping timeout: 244 seconds]
dionysus69 has quit [Ping timeout: 244 seconds]
habitullence_ has joined #ruby
jgt3 has quit [Ping timeout: 250 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
brunodlz has joined #ruby
habitullence has quit [Ping timeout: 276 seconds]
habitullence_ is now known as habitullence
pokalyis has joined #ruby
johnmilton has joined #ruby
sumobob has joined #ruby
pero has joined #ruby
eizua has quit [Quit: Leaving]
craigp has quit [Ping timeout: 252 seconds]
hk238 has joined #ruby
<pero> having an issue installing a gem - seems i'm getting redirected until the process gets killed http://pastebin.com/pNw7rYFn
<ruby[bot]> pero: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/ff4ff8d3c2914e3fbcde2c787696caf9
<ruby[bot]> pero: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
BlkDynmt has joined #ruby
chrisco has quit []
soulisson has joined #ruby
<soulisson> Hi, I would like to add a string of bytes to a string but I get an encoding error, any suggestion?
<jhass> .force_encoding("ASCII-8bit")
<jhass> I think there's String#b for that these days
<soulisson> jhass, thanks
Immune has quit [Ping timeout: 252 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bellthoven has quit []
pokalyis has joined #ruby
arnonhongklay has quit [Ping timeout: 276 seconds]
segy has quit [Quit: ZNC - http://znc.in]
Aliks has joined #ruby
swills has joined #ruby
segy has joined #ruby
Guest69 has joined #ruby
cdg has joined #ruby
pawnbox has joined #ruby
Guest69 has quit [Client Quit]
statelesscode has joined #ruby
arnonhongklay has joined #ruby
statelesscode has quit [Client Quit]
zacts has quit [Quit: WeeChat 1.4]
segy has quit [Ping timeout: 244 seconds]
rvaldes has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
Vingador has quit [Ping timeout: 244 seconds]
arnonhongklay has joined #ruby
RodrigoEduardo__ has quit [Ping timeout: 244 seconds]
segy has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
dionysus69 has joined #ruby
sumobob_ has joined #ruby
mlehrer has joined #ruby
Aliks has quit [Remote host closed the connection]
lxsameer has joined #ruby
cdg has quit [Remote host closed the connection]
sumobob has quit [Ping timeout: 250 seconds]
hk238|2 has joined #ruby
sumobob_ has quit [Ping timeout: 250 seconds]
domgetter has joined #ruby
statelesscode has joined #ruby
hk238 has quit [Ping timeout: 276 seconds]
fsdf has joined #ruby
fsdf has quit [Client Quit]
jmignault has quit [Ping timeout: 265 seconds]
soulisson has quit [Ping timeout: 258 seconds]
hk238|2 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
skweek has joined #ruby
jackjackdripper has joined #ruby
Vile` has joined #ruby
Immune has joined #ruby
nankyokusei has joined #ruby
jgt3 has joined #ruby
<dminuoso> pero: I cant reproduce this. Are you using an HTTP proxy?
<pero> nope
arnonhongklay has quit [Read error: Connection reset by peer]
<pero> there's a lot of threads about peripheral issues
<pero> i'm getting killed because that box doesnt have much ram
nando293921 has quit [Ping timeout: 252 seconds]
<pero> but there's tons on google about the redirect behavior eating resources
Bellthoven has joined #ruby
<dminuoso> pero: Oh I didn't look closely enough.
<pero> i'm now working around this by installing all the gems i need locally
<pero> but i'm stuck
<pero> do you know where i can put the spec files locally
<pero> so that install doesnt look for them?
jgt3 has quit [Ping timeout: 255 seconds]
<dminuoso> pero: You shouldnt have the issue in the first place.
<pero> say for example i installed 'bundler' a-ok
<dminuoso> pero: Since you have looked, can you point out some of these sources claiming that redirects would blow up resource usage?
<dminuoso> (I mean "Killed" gives me the impression that the out of memory killer has done its duty)
arnonhongklay has joined #ruby
<epitron> pero: do you know how much memory the process is using before it dies?
anisha has joined #ruby
solocshaw has quit [Ping timeout: 250 seconds]
BlkDynmt has quit [Quit: BlkDynmt]
pokalyis has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
colegatron_origi has quit [Ping timeout: 244 seconds]
<pero> there's another thread on rubygems where someone posits that this is 'expected behavior, not a bug'
flopsec has quit [Ping timeout: 244 seconds]
<pero> umm
zacts has joined #ruby
Littlemyu has quit [Ping timeout: 265 seconds]
<epitron> Oh, I think this is a bug they fixed
colegatron_origi has joined #ruby
pokalyis has joined #ruby
<epitron> I remember experiencing that weird behavior a few years ago
<dminuoso> pero: That doesnt mean its eating lots of memory.
<pero> well it maxes out my ram in 1.5 seconds
<dminuoso> pero: What does free -h indicate?
<epitron> Rubygems shouldn't need to fetch every gemspec ever for a gem
<dminuoso> Im curious about proper free memory after +buffers/-cache
shakes has joined #ruby
<epitron> pero: what version of rubygems are you using?
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pero> 2.0.14
omphe has joined #ruby
alxgsv has quit [Quit: https://fnordserver.eu]
arnonhongklay has quit [Remote host closed the connection]
Satyajit has quit [Quit: https://fnordserver.eu]
<epitron> That's pretty old
<pero> centos :>
<epitron> I'm using 2.5.1 on my phone
<dminuoso> pero: 61M is not a lot mmm.
<pero> sure but it's still just essentially wget
<dminuoso> No wait, thats strange.
<epitron> You used to be able to update rubygems through the gem command
<epitron> gem update --system
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
<pero> epitron, killed :>
<dminuoso> pero: its not just wget, but ruby running along with it.
Guest50945 has quit [Ping timeout: 244 seconds]
ta_ has quit [Ping timeout: 264 seconds]
vuoto has joined #ruby
<epitron> pero: first try wiping out the .gem directory
<pero> in my home dir?
<epitron> Or rename it
<epitron> Yeah
<dminuoso> pero: I have a theory. It might be downloading into tmpfs.
<epitron> That's where it stores all the specs it downloaded
<dminuoso> pero: That would definitely explain why you would run out of memory.
<dminuoso> (Or moving things into tmps)
<epitron> dminuoso: or its trying to load all these specs into memory
<pero> ok i renamed .gem
<dminuoso> epitron: Possibly.
<pero> now try update?
<epitron> To do its dependency check
arnonhongklay has joined #ruby
<pero> gets kileld
<epitron> pero: yeah, although that only works as root I believe
<epitron> Centos probably has a tripwire against changing system files
<pero> hmm didnt get as root
<pero> didnt get killed
<dminuoso> pero: The OOM Killer picks processes semi randomly.
<pero> hmm
kang00 has left #ruby ["AndroIRC"]
<dminuoso> pero: It might not mean anything. In fact after the OOM killer has done its duty, you should really inspect dmesg and/or reboot your system.
<dminuoso> pero: The OOM killer can rampage and possibly kill services relevant to the running system.
DoubleMalt has joined #ruby
<epitron> pero: I think a better solution is to add a supplemental centos package repository with a newer ruby/rubygems
<epitron> Which Ruby version is that?
AnoHito has quit [Read error: Connection reset by peer]
<pero> ruby 2.0.0p598 (2014-11-13) [x86_64-linux]
<epitron> Ouch
AnoHito has joined #ruby
<epitron> You should be on 2.1 at least
<pero> it's whatever was in EPEL
armyriad has quit [Quit: Leaving]
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
<epitron> You can also build your own in /opt or something with ruby-install
<pero> so nuke the ruby install and set up rvm and try again?
<epitron> Or in your home dir, if you have enough RAM for gcc
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> epitron: It wont be enough RAM.
<epitron> No, centos probably depends on Ruby as a package dependency
<dminuoso> It would be easier to cross compile Ruby.
<epitron> Either upgrade the centos package, or build a second Ruby
<pero> the thing is
<epitron> dminuoso: it could just be a user limit
<pero> i'm just trying to install jekyll
<pero> i can find a lot of people installing jekyll on 128mb ram
<pero> why me :>
<dminuoso> epitron: GCC itself when loaded requires multiple dozens of MB just by running.
<dminuoso> I dont think 128MB is going to be enough.
<epitron> dminuoso: right, but if he runs it as root..
<epitron> pero: I'm pretty sure it's just that version of rubygems...
<dminuoso> epitron: How does that change anything?
<epitron> <epitron> dminuoso: it could just be a user limit
flopsec has joined #ruby
<dminuoso> Ah.
<dminuoso> as in ulimit
<epitron> <pero> hmm didnt get killed as root
Azure has joined #ruby
<pero> but it also didn't do anything
<dminuoso> epitron: As I said, might not mean anything. The OOM killer assigns a lower score for processes running as root.
<dminuoso> epitron: Meaning root processes are less likely to get killed by it.
<dminuoso> epitron: How much RAM does the machine have?
<pero> 128mb
<dminuoso> Yeah.
<epitron> Ok
<epitron> Shrug!
<dminuoso> pero: That also means there is a fair chance your OOM killer has randomly killed system processes. Before you resume, reboot your system.
<pero> ok
<epitron> Good luck! I'm out
<pero> thx
<pero> no idea what to do with those - those are just rpms from various distros
brunodlz has quit [Quit: Textual IRC Client: www.textualapp.com]
<dminuoso> pero: Mmm, to build a custom Ruby you probably require 256MB of ram at the very least, possibly twice as much.
<pero> i dont think rolling my own will fly
<dminuoso> What do you mean?
<pero> same thing you said
jackjackdripper has quit [Quit: Leaving.]
<pero> dont think this box is capable of compiling it
<dminuoso> Well, if you insisted you could simply notch up the swap.
<dminuoso> (It will be pretty slow, but eventually you'd have a working Ruby)
jhack has quit [Quit: jhack]
<epitron> pero: look for you distro, and a ruby 2.1
<epitron> *your
<pero> it's not there, epitron
<pero> it just has rpms of whatever ships with the os
<dminuoso> The only packages are from some seemingly dubious websites.
<pero> which is what i have installed
<epitron> you might be able to install rubygems as a gem as well
mtkd has quit [Ping timeout: 240 seconds]
<epitron> i've never tried that
<dminuoso> Nvm!
<dminuoso> That seems fairly official in fact.
arnonhongklay has quit [Read error: Connection reset by peer]
<pero> that looks fairly new - never heard of that
arnonhongklay has joined #ruby
<pero> ok thanks bunches guys i gotta step out for a bit
<pero> i'll try that when i come back
omphe has joined #ruby
mtkd has joined #ruby
nettoweb has joined #ruby
Vingador has joined #ruby
kais has joined #ruby
Vingador has quit [Remote host closed the connection]
Vingador has joined #ruby
elementaru has joined #ruby
jtdoncas has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AzureStigma has quit [Quit: Textual IRC Client: www.textualapp.com]
roger_rabbit has joined #ruby
Nimonas has quit [Ping timeout: 276 seconds]
arnonhongklay has quit [Read error: Connection reset by peer]
nankyokusei has quit []
kais has quit [Quit: kais]
nando293921 has joined #ruby
arnonhongklay has joined #ruby
BlkDynmt has joined #ruby
<dminuoso> asm>> a.send(:foo)
<ruby[bot]> dminuoso: I have disassembled your code, the result is at https://eval.in/634653
<pero> ok so i can't do anything about the swap file
<pero> openvz yada yada yada
eladmeidar has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
<pero> dminuoso, should i remove the ruby i had installed previously before installing 2.3?
<dminuoso> pero: Probably yes.
<dminuoso> I mean, I have no idea how CentOS packages them, so its the safer bet.
<dminuoso> Besides, you shouldn't want ruby 2.0.0 anyway
zel has joined #ruby
<pero> i doubt it uses ruby for anything so should be safe
zel is now known as Guest33798
<pero> ok progress
miqlas-H has joined #ruby
skweek has quit [Ping timeout: 250 seconds]
jackjackdripper has joined #ruby
<pero> ok gets killed building ffi but i got around that before
<pero> looking promising
nankyokusei has joined #ruby
omphe has joined #ruby
<pero> success :>
<dminuoso> Hooray. :)
elementaru has quit [Remote host closed the connection]
jtdoncas has quit [Ping timeout: 264 seconds]
rsampaio_ has joined #ruby
zacts has quit [Quit: WeeChat 1.4]
pawnbox has quit [Remote host closed the connection]
gnufied has joined #ruby
gnufied has quit [Remote host closed the connection]
plasticxu has joined #ruby
phrozen77_ has joined #ruby
M-manveru1 has joined #ruby
hfp_ has joined #ruby
Muz_ has joined #ruby
ReK2 has joined #ruby
phrozen77 has quit [Read error: Connection reset by peer]
M-manveru has quit [Ping timeout: 240 seconds]
hfp has quit [Ping timeout: 240 seconds]
hfp_ is now known as hfp
Muz has quit [Ping timeout: 240 seconds]
clamstar has quit [Ping timeout: 240 seconds]
Pisuke has quit [Excess Flood]
Guest5052 has quit [Ping timeout: 240 seconds]
linduxed has quit [Ping timeout: 240 seconds]
ReK2GnULinuX has quit [Remote host closed the connection]
plasticxme has quit [Ping timeout: 240 seconds]
ReK2 has quit [Changing host]
ReK2 has joined #ruby
Sembei has joined #ruby
linduxed_ has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
ruurd has joined #ruby
ruurd is now known as Guest95890
tomchapi_ has quit [Read error: Connection reset by peer]
tomchapin has joined #ruby
banisterfiend has quit [Ping timeout: 265 seconds]
Vingador has quit [Remote host closed the connection]
pawnbox has joined #ruby
craigp has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
dionysus69 has quit [Quit: dionysus69]
spudowiar has quit [Quit: Leaving.]
jtdoncas has joined #ruby
clamstar has joined #ruby
symm- has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
Bellthoven has quit []
James123 has quit [Quit: Lost terminal]
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Remote host closed the connection]
pawnbox has joined #ruby
SteenJobs has joined #ruby
dviola has quit [Quit: WeeChat 1.5]
dmr8 has joined #ruby
jgt3 has joined #ruby
jtdoncas has quit [Ping timeout: 240 seconds]
jgt3 has quit [Ping timeout: 244 seconds]
cyphase has quit [Ping timeout: 244 seconds]
lel has quit [Quit: Reconnecting]
lel has joined #ruby
lel has quit [Changing host]
lel has joined #ruby
cyphase has joined #ruby
Bellthoven has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
SteenJobs has joined #ruby
SteenJobs has quit [Client Quit]
gizmore has quit [Ping timeout: 240 seconds]
gizmore has joined #ruby
ruby-lang755 has joined #ruby
miqlas-H has joined #ruby
dmr8 has quit [Quit: Leaving]
ruby-lang755 has left #ruby [#ruby]
dmr8 has joined #ruby
dsuper7 has joined #ruby
zacts has joined #ruby
yfeldblum has joined #ruby
ta has joined #ruby
hopsoft has joined #ruby
floatingpoint has joined #ruby
grill has quit [Ping timeout: 244 seconds]
claudiuinberlin has quit [Remote host closed the connection]
ta has quit [Ping timeout: 276 seconds]
redpants has quit [Ping timeout: 240 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
claudiuinberlin has joined #ruby
pwnd_nsfw has joined #ruby
Dimik has joined #ruby
ur5us has joined #ruby
leitz has quit [Quit: Nappy time]
RiPuk has quit [Quit: Leaving]
ur5us has quit [Remote host closed the connection]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
noodle has quit [Quit: /quit]
vuoto has quit [Remote host closed the connection]
nettoweb has joined #ruby
zacts has quit [Quit: WeeChat 1.4]
Rodya_ has joined #ruby
grill has joined #ruby
floatingpoint has quit [Ping timeout: 276 seconds]
floatingpoint has joined #ruby
haZmask has joined #ruby
wldcordeiro has joined #ruby
Dobler has joined #ruby
redpants has joined #ruby
noodle has joined #ruby
grill has quit [Ping timeout: 276 seconds]
Bellthoven has quit []
moss has quit [Quit: QUITTING]
Coldblackice has joined #ruby
Coldblackice has quit [Max SendQ exceeded]
Coldblackice has joined #ruby
JeanCarloMachado has quit [Read error: Connection reset by peer]
nanoz has quit [Read error: Connection reset by peer]
Jackneill has quit [Remote host closed the connection]
dminuoso has quit [Ping timeout: 244 seconds]
Channel6 has quit [Quit: Leaving]
Coldblackice has quit [Client Quit]
omphe has quit [Read error: Connection reset by peer]
Coldblackice has joined #ruby
jmignault has joined #ruby
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacts has joined #ruby
ruby-lang357 has joined #ruby
ruby-lang357 has quit [Client Quit]
ruby-lang234 has joined #ruby
David27 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
hinbody has quit [Ping timeout: 250 seconds]
ruby-lang234 has quit [Client Quit]
anisha has quit [Quit: Leaving]
jmignault has quit [Ping timeout: 244 seconds]
kais has joined #ruby
spudowiar has joined #ruby
anisha has joined #ruby
Pupeno has quit [Quit: Leaving...]
tvw has joined #ruby
<kais> Hello. I'm new to Ruby. I'd like to know how is it possible to do something equivalent to the following javascript code https://gist.github.com/anonymous/8489b149d7733f5291999292bd84a4e6 in Ruby
<Mon_Ouie> a = {b: {c: "Hello World"}} ?
flashpoint9 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<claudiuinberlin> @kais, also you can achieve that using a class or struct
blackwell has quit [Ping timeout: 250 seconds]
pero has left #ruby ["Leaving"]
<Papierkorb> kais: Please elaborate on your use-case. What are you trying to do?
PaulCape_ has quit [Quit: .]
<kais> Mon_Ouie: I got an error`<main>': undefined method `b' for {:b=>{:c=>"Hello World"}}:Hash (NoMethodError) using the following code https://gist.github.com/anonymous/8b1f7dc1ca90cee5720cbc9f117b9282.
TheMoonMaster has quit [Ping timeout: 265 seconds]
Caelum has quit [Ping timeout: 255 seconds]
lxsameer has quit [Quit: WeeChat 1.5]
<kais> claudiuinberlin: I read the docs but didn't find how to do so. can you please give me an example?
<kais> Papierkorb: I'm trying to re-write my js code to ruby in which there is a lot of OOP stuff.
<Papierkorb> kais: Use classes. Ruby makes a distinction between loose data in hashes and arrays and proper classes
<kais> Papierkorb: Ok. But I don't know how to do that using classes. Also, what's wrong with 'a = {b: {c: "Hello World"}}'?
<Papierkorb> kais: a hash is whatever. it only manages data, it doesn't know what's in it. To make sense of data, use classes
<Papierkorb> That's a separation of concern
<kais> Papierkorb: ok.
minimalism has joined #ruby
<Papierkorb> kais: At least read the quickstart please https://www.ruby-lang.org/en/documentation/quickstart/
solocshaw has joined #ruby
<boshhead> kais: you're accessing the hash wrong, try a[:b]
Rodya_ has quit [Remote host closed the connection]
TheMoonMaster has joined #ruby
TheMoonMaster is now known as Guest50633
Rodya_ has joined #ruby
<kais> Papierkorb: trying the method a[:b[:c results in the error "undefined method `b' for [{:b=>[{:c=>"Hello World"}]}]:Array (NoMethodError)"
<boshhead> kais: syntax error again: it's a[:b][:c]
<Papierkorb> kais: Please read carefully what the guides and people tell you
<boshhead> kais: a is the hash, you're looking up the key ':b' (which means symbol b), that gives you another hash, and you look up another key.
flashpoint9 has quit [Remote host closed the connection]
dmr8 has quit [Ping timeout: 258 seconds]
<boshhead> kais: but yes i agree you need to be looking at basic ruby tutorials before just diving right in
<boshhead> kais: or better yet, pick up some good books
dmr8 has joined #ruby
jgt3 has joined #ruby
framling has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
<kais> boshhead: are you sure it works? can you show me a full-working code?
claudiuinberlin has quit [Remote host closed the connection]
<boshhead> a = {b: {c: "Hello World"}}; a[:b][:c]
zacts has quit [Ping timeout: 244 seconds]
<kais> boshhead: That didn't output anything: there is no 'hello world' message.
<boshhead> kais: what are you doing this in, launch irb
eladmeidar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<boshhead> kais: or change a[:b][:c] to : puts a[:b][:c]
nankyokusei has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
PaulCapestany has joined #ruby
Puffball has quit [Remote host closed the connection]
<kais> boshhead: Oh, I got wrong. Didn't know you was using irb. now adding puts fixed that.
<kais> boshead: Thank you.
pwnd_nsfw` has joined #ruby
alxgsv has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
lightheaded has quit [Remote host closed the connection]
flying has joined #ruby
dminuoso has joined #ruby
pwnd_nsfw has quit [Ping timeout: 250 seconds]
kais has quit [Quit: kais]
ddffg has quit [Ping timeout: 244 seconds]
Guest50633 has quit [Ping timeout: 276 seconds]
claudiuinberlin has joined #ruby
jmignault has joined #ruby
tmtwd has quit [Ping timeout: 244 seconds]
redpants has quit [Ping timeout: 276 seconds]
Puffball has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
AzureStigma has joined #ruby
Xeago has quit [Ping timeout: 250 seconds]
kais has joined #ruby
claudiuinberlin has quit []
kais has quit [Client Quit]
Xeago has joined #ruby
pawnbox has quit [Remote host closed the connection]
ta has joined #ruby
A5101 has quit [Quit: WeeChat 1.4]
arquebus has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
arquebus has quit [Client Quit]
l4v2 has quit [Quit: l4v2]
d0nn1e has quit [Ping timeout: 258 seconds]
ta has quit [Ping timeout: 265 seconds]
d0nn1e has joined #ruby
lightheaded has joined #ruby
dmr8 has quit [Quit: Leaving]
blackwell has joined #ruby
quazimodo has joined #ruby
ddffg has joined #ruby
pawnbox has joined #ruby
lightheaded has quit [Read error: Connection reset by peer]
lheaded has joined #ruby
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AzureStigma has quit [Quit: Textual IRC Client: www.textualapp.com]
pawnbox has quit [Ping timeout: 260 seconds]
Guest55906 has joined #ruby
Bellthoven has joined #ruby
tmtwd has joined #ruby
blackwell has quit [Ping timeout: 244 seconds]
shakes has quit [Quit: Leaving]
s2013 has joined #ruby
Guest55906 has quit [Ping timeout: 240 seconds]
cyphase has quit [Ping timeout: 250 seconds]
Stazer has joined #ruby
dreamyspell has quit [Quit: Leaving]
TheMoonMaster_ has joined #ruby
TheMoonMaster_ has joined #ruby
TheMoonMaster_ has quit [Changing host]
NetSage has joined #ruby
redpants has joined #ruby
bungoman has joined #ruby
flashpoint9 has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tmtwd has quit [Ping timeout: 258 seconds]
dsuper7 has quit [Quit: Catch you on the flip side....]
haZmask has quit []
haZmask has joined #ruby
haZmask has quit [Client Quit]
smvap0r has joined #ruby
aidalgol has quit [Remote host closed the connection]
aidalgol has joined #ruby
postmodern has joined #ruby
arnonhongklay has joined #ruby
lheaded has quit [Remote host closed the connection]
cyphase has joined #ruby
jmignault has quit [Ping timeout: 252 seconds]
vapor has joined #ruby
arnonhongklay has quit [Ping timeout: 276 seconds]
bob434 has quit [Quit: This computer has gone to sleep]
Caelum has joined #ruby
bob434 has joined #ruby
firstdayonthejob has quit [Ping timeout: 250 seconds]
s2013 has joined #ruby
smvap0r has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
bkxd has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
dminuoso has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
solocshaw has quit [Remote host closed the connection]
banisterfiend has joined #ruby
Caelum has quit [Ping timeout: 258 seconds]
nclbr has quit [Quit: Leaving...]
banisterfiend has quit [Client Quit]
segy has joined #ruby
smvap0r has joined #ruby
dminuoso has quit [Ping timeout: 260 seconds]
Blueshift has joined #ruby
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
smvap0r has quit [Remote host closed the connection]
Satyajit has joined #ruby
solocshaw has joined #ruby
sdwrage has joined #ruby
nettoweb has joined #ruby
zacts has joined #ruby
zacts has quit [Client Quit]
tmtwd has joined #ruby
zacts has joined #ruby
segy has quit [Ping timeout: 276 seconds]
xpitr has quit [Ping timeout: 265 seconds]
vapor has quit []
cstrahan has quit [Ping timeout: 265 seconds]
xpitr has joined #ruby
xpitr has quit [Changing host]
xpitr has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vapor has joined #ruby
cstrahan has joined #ruby
vapor has quit [Client Quit]
smvap0r has joined #ruby
s2013 has joined #ruby
TheMoonMaster_ has quit [Quit: Later!]
Mon_Ouie has quit [Quit: WeeChat 1.5]
Mon_Ouie has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
smvap0r has quit [Client Quit]
segy has joined #ruby
sickvap0r has joined #ruby
flashpoint9 has joined #ruby
quazimodo has quit [Ping timeout: 240 seconds]
TheMoonMaster has joined #ruby
hakunin has quit []
sickvap0r has quit [Client Quit]
tvw has quit [Remote host closed the connection]
BlkDynmt has quit [Quit: BlkDynmt]
spider-mario has quit [Remote host closed the connection]
cdg has joined #ruby
sumobob has joined #ruby
bkxd has quit [Ping timeout: 258 seconds]
sumobob has quit [Remote host closed the connection]
solocshaw has quit [Remote host closed the connection]
Caelum has joined #ruby
cdg has quit [Read error: Connection reset by peer]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has joined #ruby
Hobogrammer has joined #ruby
solocshaw has joined #ruby
bkxd has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
l4v2 has joined #ruby
rsampaio_ has quit [Ping timeout: 258 seconds]
solocshaw has quit [Remote host closed the connection]
Vile` has quit [Quit: brb]
flying has quit []
flashpoint9 has joined #ruby
cdg has quit [Remote host closed the connection]
naftilos76 has joined #ruby
solocshaw has joined #ruby
Bellthoven has quit []
Caelum has quit [Ping timeout: 264 seconds]
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
smathews1 has joined #ruby
tmtwd has quit [Ping timeout: 240 seconds]
Sashimi has joined #ruby
nankyokusei has joined #ruby
ziprar is now known as zipace
gingray has quit [Ping timeout: 252 seconds]
hopsoft has joined #ruby
ta has joined #ruby
kirun has quit [Quit: Konversation terminated!]
captainsplash has joined #ruby
Blueshift has left #ruby [#ruby]
nankyokusei has quit [Ping timeout: 244 seconds]
ddffg has quit [Ping timeout: 244 seconds]
ta has quit [Ping timeout: 250 seconds]
TheMoonMaster has quit [Excess Flood]
TheMoonMaster has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
toretore has quit [Ping timeout: 252 seconds]
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
captainsplash has quit [Quit: Leaving]
solocshaw has quit [Ping timeout: 250 seconds]
dtzitz has joined #ruby
dminuoso has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
Puffball has quit [Remote host closed the connection]
Vile` has joined #ruby
segy has joined #ruby
Caelum has joined #ruby
dtzit__ has joined #ruby
dtzit__ is now known as anrgywombat