<flashpoint9>
basically i will have a variable that would be repeated from superclass to subclass, trying to keep it dry
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
blackgoat has quit [Ping timeout: 260 seconds]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
godzillaenlacasa has quit [Quit: ZZZZZ....]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
The_Phoenix has quit [Changing host]
The_Phoenix has joined #ruby
idletask has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
pietr0 has quit [Quit: pietr0]
The_Phoenix has joined #ruby
<benzrf>
flashpoint9: first ofall, those are two different methods...
<benzrf>
second of all, you want ivars, not local vars
<flashpoint9>
the case of the methods should be the same
<flashpoint9>
i got it working with class variables, instance variables just didnt work
<flashpoint9>
i must have been missing something when i tried them
<flashpoint9>
ill retry with instance variables
<benzrf>
ok!
<flashpoint9>
thanks!
<benzrf>
flashpoint9: wait, are you expecting both versions of the method to run?
<benzrf>
cause, that's not how classes work
<flashpoint9>
no, the classes and methods arent important, i just wanted the variable
<flashpoint9>
i made dummy classes and methods for example code
<benzrf>
kk
flashpoint9 has quit [Remote host closed the connection]
mfb2 has joined #ruby
Spami has joined #ruby
bronson has joined #ruby
Rodya_ has quit [Remote host closed the connection]
hxegon has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
bkxd has joined #ruby
william3 has joined #ruby
mfb2 has quit [Ping timeout: 276 seconds]
bronson has quit [Ping timeout: 244 seconds]
paradisaeidae_ has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160407164938]]
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has quit [Quit: Leaving...]
bkxd has quit [Ping timeout: 246 seconds]
william3 has quit [Ping timeout: 250 seconds]
idletask has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
baweaver has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
baweaver has quit [Ping timeout: 268 seconds]
Rodya_ has joined #ruby
northfurr has joined #ruby
braincrash has quit [Quit: bye bye]
LoneHerm_ has joined #ruby
scorphus has joined #ruby
idletask has joined #ruby
Pupeno has quit [Remote host closed the connection]
<scorphus>
Hi! Sorry if I sound as a non-rubyist, but I need help installing a local gem in development or "editable" mode, I already have it cloned and ready
blackmes1 has quit [Ping timeout: 250 seconds]
<scorphus>
ah! looks like bundle install --path is my friend
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pupeno has joined #ruby
LoneHerm_ has quit [Ping timeout: 268 seconds]
mdih has joined #ruby
<scorphus>
hmhm, no good
bradleyprice has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
bradleyprice has joined #ruby
bradleyprice has quit [Remote host closed the connection]
InexpensiveCompu is now known as AlwaysSummer
AlwaysSummer is now known as InexpensiveCompu
bradleyprice has joined #ruby
zast has joined #ruby
dcunit3d has joined #ruby
braincras has joined #ruby
yfeldblum has joined #ruby
bradleyprice has quit [Ping timeout: 250 seconds]
yfeldblu_ has joined #ruby
gnufied has quit [Quit: Leaving]
skweek has joined #ruby
flashpoint9 has joined #ruby
<scorphus>
any ideas, I just wanna change the source code of one of the installed dependencies, should I change the one in the rvm tree? geez... I'm lost
shakes has quit [Quit: Leaving]
bkxd has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
flashpoint9 has quit [Ping timeout: 268 seconds]
blackgoat has joined #ruby
vdamewood has quit [Read error: Connection reset by peer]
vdamewood has joined #ruby
baweaver has joined #ruby
gix has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
devbug has joined #ruby
gix has joined #ruby
TheMoonMaster has quit [Ping timeout: 260 seconds]
william3 has joined #ruby
Pupeno has quit [Remote host closed the connection]
polysics has joined #ruby
bradleyprice has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
william3 has quit [Ping timeout: 250 seconds]
bradleyprice has quit [Ping timeout: 250 seconds]
TheMoonMaster has joined #ruby
polysics has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
RegulationD has joined #ruby
x77686d has quit [Quit: x77686d]
chipotle has quit [Quit: cheerio]
RegulationD has quit [Ping timeout: 246 seconds]
danman has joined #ruby
danman has quit [Client Quit]
agentmeerkat has quit [Ping timeout: 268 seconds]
agentmeerkat has joined #ruby
uchuu1 has joined #ruby
chipotle has joined #ruby
blackmes1 has joined #ruby
BTRRY has quit [Ping timeout: 244 seconds]
Rodya_ has joined #ruby
lxsameer has joined #ruby
<uchuu1>
>> RUBY_VERSION
duncannz has joined #ruby
arescorpio has joined #ruby
blackmes1 has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 250 seconds]
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHerm_ has quit [Remote host closed the connection]
cherry_lin has joined #ruby
karapetyan has quit [Remote host closed the connection]
<Ox0dea>
Even if you don't use all the fields, you can't beat the clarity of intent on that approach.
LoneHermit has joined #ruby
<cherry_lin>
any ideas why delayed_job exits with "Killed: 9" after finishing all jobs?
<arup_r>
Ox0dea: I need only comment from this.. so.. I thoguht to not make n array
<cherry_lin>
isn't it supposed to wait for new jobs to come up?
<arup_r>
an*
last_staff has quit [Quit: last_staff]
<arup_r>
Ox0dea: got you
<Ox0dea>
cherry_lin: Are you using a lot of memory?
kareeoleez has quit [Ping timeout: 268 seconds]
<nemoNoboru>
honstly, i will use the Ox0dea solution arup_r
<nemoNoboru>
regexp are expensive
<arup_r>
+1
<Ox0dea>
\o/
LoneHermit has quit [Remote host closed the connection]
<cherry_lin>
Ox0dea: I don't think that worker takes too much memory, I have 16 gb ram on my workstation and the tasks are pretty simple
<arup_r>
wow
<Ox0dea>
cherry_lin: I can't imagine why you'd get killed during a busy loop if you're not consuming excessive resources. :/
imanc has joined #ruby
<cherry_lin>
Ox0dea: I'd gladly accept your advice on monitoring worker's memory usage except monitoring htop
<cherry_lin>
also with "rake jobs:work" it doesn't crash
<cherry_lin>
but with "bin/delayed_job run" it does
<cherry_lin>
same as with bin/delayed_job -n 2 start, those two workers just disappear after finishing jobs
<imanc>
can anyone recommend a book for learning ruby for an experienced programmer (python, java, etc.)
n1colas has quit [Quit: WeeChat 1.4]
<Ox0dea>
cherry_lin: It seems the probably might be to do with buffered output.
<Ox0dea>
s/probably/problem/
Moosashi has joined #ruby
Moosashi has quit [Client Quit]
<nemoNoboru>
imanc: try reading http://poignant.guide/ is not a book for a experienced programmer but shows you the mindset of a rubyst and will teach you love for ruby
<imanc>
@nemoNoboru thanks, never thought to read why's guide.
Lomex has joined #ruby
Moosashi has joined #ruby
aryaching has joined #ruby
<nemoNoboru>
:)
Emmanuel_Chanel has quit [Ping timeout: 244 seconds]
jonr22 has joined #ruby
navneet has quit [Remote host closed the connection]
<Ox0dea>
arup_r: `s[/\d:\d+:(.+?):/, 1]` takes advantage of the structure of the data to be considerably faster than the naive approach, but still probably don't use it. :P
Moosashi has quit [Client Quit]
<arup_r>
ok
codecop has quit [Remote host closed the connection]
kareeoleez has joined #ruby
anik120 has quit [Ping timeout: 240 seconds]
navneet has joined #ruby
Pupeno has quit [Remote host closed the connection]
chouhoulis has joined #ruby
kareeoleez has quit [Ping timeout: 240 seconds]
Pupeno has joined #ruby
valetudo has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
<nemoNoboru>
what have better performance? a native ruby extension or FFI?
william3 has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
<Ox0dea>
Hazard a guess.
Emmanuel_Chanel has joined #ruby
RegulationD has joined #ruby
baweaver has joined #ruby
Emmanuel_Chanel_ has joined #ruby
blackmes1 has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
Ox0dea has quit [Quit: WeeChat 1.5-rc1]
Pupeno has quit [Remote host closed the connection]
Emmanuel_Chanel has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 276 seconds]
Lomex has quit [Remote host closed the connection]
PedramT has joined #ruby
Ox0dea has joined #ruby
baweaver has quit [Ping timeout: 268 seconds]
skade has joined #ruby
Emmanuel_Chanel_ has quit [Quit: Leaving]
Emmanuel_Chanel has joined #ruby
lkba has joined #ruby
ta_ has joined #ruby
ta__ has joined #ruby
lxsameer has joined #ruby
ur5us has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
polysics_ has quit [Remote host closed the connection]
machinewar has joined #ruby
<machinewar>
how can I use ssl cert locally? Would I need to setup something like Nginx?
william3 has joined #ruby
ta_ has quit [Ping timeout: 250 seconds]
Lomex has joined #ruby
ruby-lang210 has joined #ruby
James123 has joined #ruby
_ht has quit [Ping timeout: 276 seconds]
_ht has joined #ruby
hosttor has quit [Ping timeout: 250 seconds]
tk__ has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
stannard has joined #ruby
ruby-lang210 has quit [Ping timeout: 250 seconds]
ramfjord has quit [Ping timeout: 268 seconds]
CausaMortis has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
ItSANgo has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
The_Phoenix has joined #ruby
agit0 has joined #ruby
Lomex has quit [Remote host closed the connection]
The_Phoenix has quit [Max SendQ exceeded]
kareeoleez has joined #ruby
The_Phoenix has joined #ruby
symm- has quit [Ping timeout: 260 seconds]
Lomex has joined #ruby
moeabdol has joined #ruby
stannard has quit [Remote host closed the connection]
<Ox0dea>
arup_r: Your approach was interesting, though. :)
<arup_r>
:p
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moeabdol has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
stannard has joined #ruby
agit0 has quit [Read error: Connection reset by peer]
dmr8 has joined #ruby
william3 has quit [Remote host closed the connection]
moeabdol has joined #ruby
william3 has joined #ruby
Xeago has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
crime has joined #ruby
lxsameer has quit [Quit: WeeChat 1.4]
vircung has quit [Remote host closed the connection]
iMadper has joined #ruby
Pupeno has joined #ruby
Yiota_ has joined #ruby
kareeoleez has joined #ruby
<iMadper>
Hi all. I installed ruby2.3.0 with rbenv. When I try to install gems with gem install I got: symbol lookup error: /home/madper/.rbenv/versions/2.3.0/lib/ruby/2.3.0/x86_64-linux/socket.so: undefined symbol: parse_numeric_port Anyone met it before?
<iMadper>
in fact I can find the symbol in socket.so with nm: nm -g /home/madper/.rbenv/versions/2.3.0/lib/ruby/2.3.0/x86_64-linux/socket.so | grep parse_numeric_port
<iMadper>
U parse_numeric_port
<iMadper>
it's a bit odd ...
<iMadper>
my host is ubuntu 16.04.
Yiota has quit [Ping timeout: 240 seconds]
vircung has joined #ruby
<adaedra>
Bonjour
vircung has quit [Client Quit]
<iMadper>
Bonjour.
vircung has joined #ruby
aryaching has quit []
kareeoleez has quit [Ping timeout: 252 seconds]
edwinvdgraaf has joined #ruby
<shevy>
Jourbon.
stannard has quit [Remote host closed the connection]
kareeoleez has joined #ruby
charliesome has joined #ruby
pawnbox has joined #ruby
chouhoulis has joined #ruby
crameth has joined #ruby
Caerus has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
pawnbox has quit [Remote host closed the connection]
ta__ has quit [Remote host closed the connection]
ferr has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
minimalism has quit [Quit: minimalism]
PedramT has quit [Remote host closed the connection]
Yiota_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
steve has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
polysics has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
naftilos76 has quit [Ping timeout: 260 seconds]
noService has joined #ruby
<shevy>
ruby ruby ruby
Rodya_ has quit [Ping timeout: 252 seconds]
polysics has quit [Ping timeout: 250 seconds]
Devalo has quit [Remote host closed the connection]
<shevy>
the input may be a String or a Hash too, it's just a small case for when it is an Array
siaw has quit [Quit: siaw]
kareeoleez has quit [Ping timeout: 260 seconds]
PedramT has quit [Remote host closed the connection]
glebm has quit [Ping timeout: 250 seconds]
PedramT has joined #ruby
william3 has quit [Ping timeout: 268 seconds]
nando293921 has quit [Ping timeout: 252 seconds]
dc2 has joined #ruby
crime has joined #ruby
kareeoleez has joined #ruby
<hanmac>
shevy: why not "def foo(*any_argument)" ? or use Array(any_argument) to convert it to Array?
PedramT has quit [Ping timeout: 268 seconds]
IrishGringo has quit [Ping timeout: 250 seconds]
al2o3-cr has quit [Ping timeout: 246 seconds]
noobsu has quit [Remote host closed the connection]
Cohedrin has joined #ruby
<shevy>
ok now it is an array ;)
dc2 has quit [Ping timeout: 246 seconds]
kareeoleez has quit [Ping timeout: 250 seconds]
tomphp has joined #ruby
Cohedrin_ has joined #ruby
rubie has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
Rodya_ has quit [Remote host closed the connection]
xlegoman has joined #ruby
smathy has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
william3 has joined #ruby
Cohedrin has quit [Ping timeout: 268 seconds]
charliesome has joined #ruby
<shevy>
hanmac I am working on ruby-gtk stuff right now; in most of my projects that come with a GUI, I started to have directories called: gui/gtk/ one project has gui/tk too but I barely write ruby-tk... but there would be some place for ... gui/wxwidgets... hmm or better gui/rwx
<shevy>
wxwidgets/ is too long a directory name ... :\
sgambino has joined #ruby
newjersey has joined #ruby
sepp2k has joined #ruby
<hanmac>
hihi ok, about rwx i am currently checking it against new wxwidgets changes
charliesome_ has joined #ruby
william3 has quit [Ping timeout: 260 seconds]
hxegon has joined #ruby
charliesome has quit [Ping timeout: 244 seconds]
rubie has joined #ruby
skade has joined #ruby
rkazak has quit [Ping timeout: 276 seconds]
GodFather has joined #ruby
kareeoleez has joined #ruby
LoneHermit has quit [Remote host closed the connection]
hakunin has quit [Remote host closed the connection]
s2013 has joined #ruby
hakunin has joined #ruby
Chagel has joined #ruby
newjersey has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
imperator has joined #ruby
kareeoleez has quit [Ping timeout: 276 seconds]
hakunin has quit [Ping timeout: 240 seconds]
ta__ has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
gregf has joined #ruby
ddrmanxbxfr has joined #ruby
charliesome has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
charliesome_ has quit [Ping timeout: 276 seconds]
ta__ has quit [Ping timeout: 250 seconds]
LoneHermit has joined #ruby
charliesome_ has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
charliesome has quit [Ping timeout: 252 seconds]
johnmilton has quit [Ping timeout: 252 seconds]
Rodya_ has joined #ruby
charliesome has joined #ruby
charliesome_ has quit [Ping timeout: 260 seconds]
kareeoleez has joined #ruby
moeabdol has joined #ruby
aeterne has joined #ruby
kareeoleez has quit [Ping timeout: 268 seconds]
Rodya_ has quit [Remote host closed the connection]
moeabdol has quit [Ping timeout: 260 seconds]
flashpoi_ has joined #ruby
Ishido has joined #ruby
ssiris has joined #ruby
Devalo has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
imperator has quit [Quit: This computer has gone to sleep]
_ht has quit [Ping timeout: 260 seconds]
_ht has joined #ruby
skade has joined #ruby
kareeoleez has joined #ruby
davedev24 has joined #ruby
nando293921 has joined #ruby
DanKnox has joined #ruby
flashpoi_ has quit [Remote host closed the connection]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
stannard has joined #ruby
Waqas has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
lxsameer has quit [Ping timeout: 244 seconds]
last_staff has joined #ruby
djbkd_ has quit [Remote host closed the connection]
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stannard has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
lxsameer has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
dionysus69 has joined #ruby
rubie has quit [Remote host closed the connection]
Yiota has joined #ruby
jonr22 has joined #ruby
Yiota has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
Yiota has joined #ruby
Cohedrin has joined #ruby
[EXIT] has joined #ruby
stannard has joined #ruby
Cohedrin_ has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
noService has joined #ruby
rubie has joined #ruby
william3 has joined #ruby
tubuliferous has joined #ruby
bkxd has quit [Ping timeout: 268 seconds]
polysics has quit [Remote host closed the connection]
jonr22 has quit [Remote host closed the connection]
slackbotgz has joined #ruby
noService has quit [Ping timeout: 260 seconds]
flashpoint9 has joined #ruby
jonr22 has joined #ruby
bronson has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 260 seconds]
moeabdol has joined #ruby
skade has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
imperator has joined #ruby
Xeago has joined #ruby
karapetyan has joined #ruby
sandelius has joined #ruby
karapetyan has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
PedramT has joined #ruby
sepp2k has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tubuliferous has quit [Ping timeout: 276 seconds]
william3 has joined #ruby
sandelius has joined #ruby
ramfjord has joined #ruby
colegatron has quit [Remote host closed the connection]
fn2187_ has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
tomphp has joined #ruby
tubuliferous has joined #ruby
william3 has quit [Ping timeout: 244 seconds]
charliesome_ has joined #ruby
sphex has quit [Ping timeout: 260 seconds]
Rodya_ has quit [Remote host closed the connection]
hakunin has joined #ruby
charliesome_ has quit [Client Quit]
charliesome_ has joined #ruby
kirun has joined #ruby
Rodya_ has joined #ruby
charliesome has quit [Ping timeout: 240 seconds]
_ht has quit [Read error: Connection reset by peer]
Rodya_ has quit [Remote host closed the connection]
_ht has joined #ruby
sneakerhax has quit [Ping timeout: 268 seconds]
maletor has joined #ruby
Rodya_ has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
chipotle has quit [Quit: cheerio]
william3 has joined #ruby
Rodya_ has quit [Ping timeout: 240 seconds]
Waqas has quit [Ping timeout: 260 seconds]
hakunin has quit [Read error: Connection reset by peer]
hakunin_ has joined #ruby
Coldblackice_ has joined #ruby
polysics has joined #ruby
Rodya_ has joined #ruby
charliesome_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
dh64 has joined #ruby
naftilos76 has quit [Ping timeout: 244 seconds]
davedev24 has joined #ruby
polysics has quit [Ping timeout: 250 seconds]
al2o3-cr has joined #ruby
sphex has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 252 seconds]
s00pcan_ has joined #ruby
victortyau has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maletor has quit [Quit: Computer has gone to sleep.]
SilverKey has joined #ruby
codecop has quit [Remote host closed the connection]
symm- has joined #ruby
SilverKey has quit [Client Quit]
yohle has joined #ruby
imperator has quit [Quit: This computer has gone to sleep]
yohle has quit [Remote host closed the connection]
yohle has joined #ruby
sepp2k has quit [Quit: Leaving.]
bklane has quit [Remote host closed the connection]
bklane has joined #ruby
victortyau has joined #ruby
The_Phoenix has quit [Quit: Leaving.]
davedev2_ has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
yohle has quit [Client Quit]
tax has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
moeabdol has quit [Ping timeout: 250 seconds]
bklane has quit [Remote host closed the connection]
davedev24 has quit [Ping timeout: 250 seconds]
rubie has quit []
Es0teric has quit [Quit: Computer has gone to sleep.]
moeabdol has joined #ruby
SilverKey has joined #ruby
JagaJaga has joined #ruby
dionysus69 has joined #ruby
ddrmanxbxfr has quit [Ping timeout: 244 seconds]
antgel has quit [Ping timeout: 260 seconds]
Contigi has quit [Quit: Leaving]
cpup has quit [Ping timeout: 250 seconds]
antgel has joined #ruby
cpup has joined #ruby
tax has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Ping timeout: 268 seconds]
s00pcan_ has quit [Read error: Connection reset by peer]
moeabdol has quit [Ping timeout: 250 seconds]
william3 has quit [Remote host closed the connection]
davedev24 has joined #ruby
s00pcan_ has joined #ruby
PedramT has quit [Remote host closed the connection]
cpup has quit [Ping timeout: 240 seconds]
davedev2_ has quit [Ping timeout: 250 seconds]
cpup has joined #ruby
stevednd has quit [Quit: Leaving]
crime has quit [Remote host closed the connection]
houhoulis has joined #ruby
crime has joined #ruby
navneet has quit [Ping timeout: 240 seconds]
galeido has joined #ruby
galeido has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
yeticry has quit [Quit: leaving]
karapetyan has joined #ruby
crime has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
william3 has joined #ruby
tristanp has quit [Remote host closed the connection]
impermanence has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
imperator has joined #ruby
bklane has joined #ruby
polysics has joined #ruby
valkyr1e has quit [Quit: Bye.]
bronson has joined #ruby
Gasher has quit [Ping timeout: 240 seconds]
kaleido has left #ruby [#ruby]
yeticry has joined #ruby
Waqas has joined #ruby
stannard has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby
polysics has quit [Ping timeout: 244 seconds]
impermanence has quit [Ping timeout: 252 seconds]
bricker has joined #ruby
Coldblackice_ has quit [Ping timeout: 260 seconds]
valkyr1e has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
lkba has joined #ruby
Moosashi has joined #ruby
ta__ has joined #ruby
idletask has joined #ruby
Waqas has quit [Ping timeout: 250 seconds]
bluOxigen_ has quit [Ping timeout: 246 seconds]
hakunin_ has quit [Remote host closed the connection]
skweek has joined #ruby
anik120 has joined #ruby
MRB[away] is now known as Matthew_
ta__ has quit [Ping timeout: 250 seconds]
houhoulis has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
aswen has joined #ruby
chouhoulis has quit [Remote host closed the connection]
cpup has quit [Ping timeout: 244 seconds]
KnownSyntax_ has joined #ruby
cpup has joined #ruby
Rodya_ has quit [Remote host closed the connection]
blackmes1 has joined #ruby
johnmilton has joined #ruby
KnownSyntax has quit [Ping timeout: 244 seconds]
lxsameer has quit [Ping timeout: 250 seconds]
Qommand0r has quit [Read error: Connection reset by peer]
bricker has quit [Quit: leaving]
blackmes1 has quit [Quit: WeeChat 1.4]
blackmesa has joined #ruby
Cohedrin_ has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby
ruby-lang302 has joined #ruby
<ruby-lang302>
Hello Rubyists...
<ruby-lang302>
I'm looking for a Ruby mentor, would one of you be so kind?
baweaver has joined #ruby
Cohedrin has quit [Ping timeout: 268 seconds]
antgel has quit [Ping timeout: 250 seconds]
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
Ebok has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.4]
antgel has joined #ruby
acl_ has quit [Quit: Leaving]
al2o3-cr has joined #ruby
naftilos76 has joined #ruby
al2o3-cr has quit [Client Quit]
al2o3-cr has joined #ruby
<Zarthus>
ruby-lang302: chances are slim here. Read a book, the docs, or write something cool. If there's a problem you can't wrap your head around that google doesn't solve - we can answer it.
ruby-lang302 has quit [Ping timeout: 250 seconds]
Aviio has joined #ruby
SCHAAP137 has quit [Quit: Exiting...]
SCHAAP137 has joined #ruby
SCHAAP137 has quit [Changing host]
SCHAAP137 has joined #ruby
x77686d has joined #ruby
cpup has quit [Ping timeout: 246 seconds]
aswen has quit [Ping timeout: 276 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
victortyau has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
victortyau has joined #ruby
cpup has joined #ruby
<shevy>
insta-vanish!
bkxd has joined #ruby
r0b3rt has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Moosashi has quit [Quit: Moosashi]
Rodya_ has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
pawnbox has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
minimalism has joined #ruby
cpup has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
ocbtec has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
flashpoint9 has joined #ruby
polysics has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
nofxx has quit [Ping timeout: 250 seconds]
nofxx has joined #ruby
Devalo has joined #ruby
pawnbox has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
cpup has joined #ruby
thesheff17 has quit [Quit: Connection closed for inactivity]
victortyau has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
victortyau has joined #ruby
noService has joined #ruby
polysics has quit [Ping timeout: 276 seconds]
mfb2 has joined #ruby
imperator has quit [Quit: This computer has gone to sleep]
<Fernando-Basso>
Is he left? Gee!
SilverKey has joined #ruby
jpcody has joined #ruby
ta__ has joined #ruby
s00pcan_ has quit [Remote host closed the connection]
<jpcody>
hi! i'm seeing odd behavior where a Thread.current value is being reverted to its previous value under unicorn between some requests under uncertain conditions. i've got a simplified gist of some logs and code, and i'm wondering if anyone might be able to help me understand what i'm missing: https://gist.github.com/jpcody/e5b6c7e0e5937cc0855ef34c753a7d19
ta__ has quit [Ping timeout: 250 seconds]
iNs has quit [Quit: probably fiddling... x)]
<Papierkorb>
jpcody: Looks like a question for #RubyOnRails
<jpcody>
thanks, Papierkorb. i'll give it a whirl there, too. to me, the only rails part of it felt like how i was logging the values, but i realize now it could be some sort of issue with AR's `pluck` methodh as well. thanks for the read :)
chouhoulis has joined #ruby
Cohedrin has joined #ruby
william3 has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ruby
Cohedrin_ has quit [Ping timeout: 252 seconds]
vircung has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Ping timeout: 276 seconds]
toretore has quit [Ping timeout: 240 seconds]
edwinvdgraaf has quit [Ping timeout: 250 seconds]
vircung has joined #ruby
dmr8 has quit [Quit: Leaving]
northrup has joined #ruby
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
karapetyan has quit [Remote host closed the connection]
crameth has quit [Quit: crameth]
JagaJaga has quit [Ping timeout: 250 seconds]
axion_ has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbr has joined #ruby
SilverKey has quit [Quit: Halted.]
dfdnatural has joined #ruby
mfb2 has quit [Ping timeout: 260 seconds]
dfdnatural has quit [Client Quit]
iNs has joined #ruby
terminal_ has joined #ruby
william3 has joined #ruby
blackmesa has quit [Quit: WeeChat 1.4]
kareeoleez has quit [Remote host closed the connection]
victortyau has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has quit [Remote host closed the connection]
swills has quit [Remote host closed the connection]
hakunin has joined #ruby
bklane has quit [Remote host closed the connection]
kareeoleez has joined #ruby
pietr0 has joined #ruby
impermanence has joined #ruby
A124 has quit [Quit: '']
Devalo has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 244 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xybre has joined #ruby
mfb2 has joined #ruby
Moosashi has joined #ruby
emilford has joined #ruby
edwinvdgraaf has joined #ruby
bkxd has joined #ruby
skweek has quit [Ping timeout: 244 seconds]
neanderslob_ is now known as neanderslob
kareeoleez has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
Denis has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
Denis is now known as Guest95761
bkxd has quit [Ping timeout: 276 seconds]
swills has joined #ruby
northrup has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SeanM has joined #ruby
SeanM has quit [Client Quit]
bauerbob has joined #ruby
SilverKey has joined #ruby
SeanM has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
SeanM has quit [Client Quit]
bkxd has joined #ruby
bronson has joined #ruby
polysics has joined #ruby
<bauerbob>
hi. let’s say i have a class Foo that inherits from Base and includes Bar. all 3 implement the method my_method. now when i call super in Foo’s my_method will ruby look in Base only for another my_method or will it also look in Bar?
s2013 has joined #ruby
<bauerbob>
and which one will be called if ruby looks in both?
<Ox0dea>
bauerbob: You can ask the system!
LoneHermit has quit [Remote host closed the connection]
<Fernando-Basso>
I remember a nickname “even” in #archlinux-br. Who are you and what did you do with even?
<Ox0dea>
Do you even even, even?
<crime>
self.respond_to?(:even?) => false
blandflakes has joined #ruby
<crime>
that'd be a no
<Ox0dea>
Hm... the parity of `main`.
yfeldblum has joined #ruby
LoneHermit has quit [Ping timeout: 276 seconds]
<even>
I was in toilet :)
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Fernando-Basso>
I feel uncomfortable watching peope usign the pointer or → → → → → or ↑ ↑ ↑ ↑ ↑ ↑ to navigate source code.
<Ox0dea>
Fernando-Basso: It's mildly infuriating.
Rodya_ has quit [Read error: Connection reset by peer]
even has left #ruby [#ruby]
tinnvec_ has quit [Remote host closed the connection]
<Fernando-Basso>
It is not that I advocate in favor of the two master editors only (anyone uses whatever they want), but it does feel strange even to watch, let alone be in that horrible situation.
tinnvec has joined #ruby
dnewkerk has joined #ruby
RegulationD has joined #ruby
firstdayonthejob has quit [Ping timeout: 246 seconds]
elifoster has quit [Ping timeout: 250 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terminalrecluse has joined #ruby
Yiota has joined #ruby
naftilos76 has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
chouhoulis has joined #ruby
pawnbox has quit [Remote host closed the connection]
A124 has quit [Quit: '']
pawnbox has joined #ruby
elifoster has joined #ruby
A124 has joined #ruby
nemoNoboruAFK has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 276 seconds]
zeroDivisible has quit [Quit: WeeChat 1.4]
Dry_Lips has quit [Ping timeout: 244 seconds]
nofxx has quit [Ping timeout: 268 seconds]
gregf has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has quit [Read error: Connection reset by peer]
bb010g has quit [Quit: Connection closed for inactivity]
victortyau has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
victortyau has joined #ruby
Es0teric has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
Nahra has quit [Ping timeout: 244 seconds]
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
Dry_Lips has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
dh64 has quit [Quit: Konversation terminated!]
<crime>
How can I .gets without the user's input being actually written to the screen? I want it like how linux passwords dont actually show up when typed in
darkf has joined #ruby
Dry_Lips has quit [Read error: Connection reset by peer]
tvw has quit [Read error: Connection reset by peer]
<Ox0dea>
io/console also provides #getpass, but I vaguely recall some platform inconsistency.
<droptone>
I have a question. I've got a ruby script that runs for an extended period, and performs various tasks, like pushing data from one API to another. It's on an Amazon EC2 t2.medium VM.
<droptone>
Centos 7 is the OS. Well execution time can take about an hour sometimes, and when analyzing the processor usage it can spike as high as 99% and
<droptone>
at certain stages of the app, which I monitor via the debug logs, it will hover around 34%, then later 60% with the odd 99% spike, etc.
<droptone>
I'm attempting to make this application less resource-intesnive, and I'm not sure where to start. Nothing I'm doing is that unusual, there's just a lot of data to process.
<droptone>
I mean, for starters, if I upgrade this host to a multi-vCPU environment, what's a good way to begin altering the Ruby app to support multi-threading?
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
Dry_Lips has joined #ruby
<droptone>
To where I can divide task distribution between multiple cores? Would that help?
william3 has joined #ruby
<crime>
Ox0dea: dang ur smart, thanks!
<crime>
had no idea that io/console was even a thing
<arahael>
droptone: have you used a profiler?
<droptone>
I have not, no.
<droptone>
Any tips on where to start there?
<arahael>
droptone: that would be a good place to start.
<Ox0dea>
droptone: You'll want to ensure that the tasks can run independently of one another, but of course parallelism done right is a Good Thing.
<Ox0dea>
Also, ensure you're not doing massive reads.
<droptone>
What's the definition of a massive read Ox0?
baweaver has joined #ruby
<Ox0dea>
droptone: Prefer line-based processing if your pipeline is amenable to doing so.
<droptone>
I mean, the way this app works is, it queries an API for a specific application that our customers use, it downloads quite a bit of data, then reviewes the data and, if needed, pushes that data to the API of another application.
<droptone>
It's worked great for a year now but we're getting more customers and we need it to execut equicker.
<arahael>
droptone: i spend more time in pyhon, but a quick google search shows a few very promisig profikers.