eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zanoni>
well as I suspected, tr or gsub fixed my issue, however, what if I just want a character removed, but no replacement
<zanoni>
?
Arahael has joined #ruby
<Arahael>
What's a good tool for auto-formatting ruby code?
Cohedrin has joined #ruby
<Arahael>
What's a good tool for auto-formatting ruby code?
Cohedrin has quit [Client Quit]
Cohedrin has joined #ruby
konsolebox has quit [Ping timeout: 255 seconds]
nadir has quit [Quit: Connection closed for inactivity]
konsolebox has joined #ruby
<zanoni>
formatting for writing code? then any of the ide's sublime, jet brains, etc , also use something like Rubocop , that will give you feedback on your formatting
<Arahael>
zanoni: Yes, but I want it to automatically fix the crap.
<zanoni>
i doubt there is anything automatic, but if you follow style, then there shouldn't be any crap, the editors will normally give you the right indents
<Radar>
Arahael: rubocop -a + pray
nowhere_man has joined #ruby
<Arahael>
Radar: Awesome.
<Arahael>
zanoni: Trouble is, we don't have a standard editor in the team.
<Radar>
Arahael: yeah it sounds awesome but then it fucks with everyone's styles and generally causes messy commit messages which then lead to merge conflicts that take days to fix...
<Arahael>
Radar: Git's -w to the rescue. But yes, we're introducing style guides to reduce just this from happening.
<Arahael>
It's still manually triggered though, on a per-file / proejct basis, whenever appropriate, for the moment. :)
nowhereman_ has quit [Ping timeout: 276 seconds]
bmurt has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
kobain has joined #ruby
nadir has joined #ruby
Technodrome has joined #ruby
apeiros_ has quit [Remote host closed the connection]
ShekharReddy has quit [Quit: Connection closed for inactivity]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gizmore|2 has quit [Remote host closed the connection]
gmconklin_ has joined #ruby
hndk has joined #ruby
dviola has quit [Quit: WeeChat 1.9.1]
gmconklin has quit [Ping timeout: 260 seconds]
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
drowze has joined #ruby
John__ has quit [Read error: Connection reset by peer]
konsolebox has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
drowze has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
mjolnird has quit [Remote host closed the connection]
konsolebox has joined #ruby
epochwolf has quit [Ping timeout: 250 seconds]
hndk has quit [Quit: Leaving]
pilne has quit [Quit: Quitting!]
milardovich has quit [Ping timeout: 248 seconds]
epochwolf has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
devchild has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
mim1k has joined #ruby
devchild has quit [Ping timeout: 255 seconds]
mim1k has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
eckhardt has joined #ruby
rainbowz has joined #ruby
i8igmac has joined #ruby
drowze has joined #ruby
daemonwrangler has joined #ruby
rainbowz has quit [Quit: WeeChat 1.4]
despai has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackjackdripper has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
Archrover has quit [Quit: I'll be back soon...]
milardovich has quit [Remote host closed the connection]
konsolebox has quit [Ping timeout: 268 seconds]
konsolebox has joined #ruby
uZiel has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wald0 has quit [Quit: Lost terminal]
ur5us has quit [Remote host closed the connection]
RexMundi41 has joined #ruby
christiandsg has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
devchild has joined #ruby
guardianx has quit []
konsolebox has quit [Ping timeout: 276 seconds]
malice` has quit [Remote host closed the connection]
govg has joined #ruby
DaniG2k has joined #ruby
konsolebox has joined #ruby
devchild has quit [Ping timeout: 250 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enterprisey has joined #ruby
milardovich has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
Technodrome has joined #ruby
drowze has quit [Quit: WeeChat 1.9.1]
milardovich has quit [Remote host closed the connection]
lupine_ has joined #ruby
lupine has quit [Ping timeout: 255 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has quit [Ping timeout: 248 seconds]
ferr has quit [Quit: WeeChat 1.9.1]
konsolebox has joined #ruby
milardovich has joined #ruby
Yzguy has joined #ruby
milardov_ has joined #ruby
quobo has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
Dimik has joined #ruby
Nightmare has quit [Remote host closed the connection]
devchild has joined #ruby
war_pigs has joined #ruby
konsolebox has quit [Ping timeout: 276 seconds]
devchild has quit [Ping timeout: 260 seconds]
konsolebox has joined #ruby
milardov_ has quit [Remote host closed the connection]
milardovich has joined #ruby
guacamole has joined #ruby
DaniG2k has quit [Quit: leaving]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anisha has joined #ruby
paradisaeidae has quit [Quit: ChatZilla 0.9.93 [Firefox 56.0.2/20171024165158]]
paradisaeidae_ has quit [Quit: ChatZilla 0.9.93 [Firefox 56.0.2/20171024165158]]
ramfjord has quit [Ping timeout: 248 seconds]
mim1k has joined #ruby
ramfjord has joined #ruby
hays has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
lytol has joined #ruby
hays has quit [Ping timeout: 248 seconds]
milardov_ has joined #ruby
christiandsg has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 248 seconds]
christiandsg has joined #ruby
iamarun has joined #ruby
dionysus69 has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
Barrt has quit [Ping timeout: 248 seconds]
gmconklin_ has quit [Ping timeout: 260 seconds]
silvermine has quit [Quit: WeeChat 2.0-dev]
silvermine has joined #ruby
christiandsg has quit [Remote host closed the connection]
silvermine has quit [Quit: WeeChat 2.0-dev]
silvermine has joined #ruby
Jello_Raptor has quit [Remote host closed the connection]
b100s has joined #ruby
<b100s>
hi2all; what if i want to call from class' method a function, which is decribed in the same namespace? is it possible? or everything described in the same namespace will be either class method or instance one?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reber has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ShekharReddy has joined #ruby
Jello_Raptor has joined #ruby
konsolebox has quit [Ping timeout: 268 seconds]
konsolebox has joined #ruby
yeticry_ has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 276 seconds]
silvermine has quit [Quit: WeeChat 2.0-dev]
exhiled has joined #ruby
silvermine has joined #ruby
devchild has joined #ruby
devchild has quit [Ping timeout: 248 seconds]
Cohedrin has joined #ruby
milardovich has joined #ruby
mjolnird has joined #ruby
milardov_ has quit [Ping timeout: 240 seconds]
yeticry has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anisha has quit [Read error: Connection reset by peer]
silvermine has quit [Quit: WeeChat 2.0-dev]
silvermine has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
<b100s>
is it possible to share var in threads?
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<craysiii>
hey everyone, looking to see if someone can critique my code and tell me if anything is sticking out before i publish as my first gem https://github.com/craysiii/binance
anisha has joined #ruby
muelleme has joined #ruby
enterprisey has quit [Ping timeout: 240 seconds]
<dminuoso>
b100s: Yes. Keep in mind that most ruby structures and methods are not thread safe.
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
<dminuoso>
b100s: You should always refer to the documentation relevant to your ruby installation.
<dminuoso>
b100s: If you look at the documentation closely of the 2.3 variant, you will see at the bottom that you should use set_local_variable and get_local_variable
<dminuoso>
Errr *thread_variable_get and *thread_variable_set
<dminuoso>
Wow.
banisterfiend has joined #ruby
rabajaj has joined #ruby
milardov_ has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
enterprisey has joined #ruby
i8igmac has quit [Remote host closed the connection]
hutch34 has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
Dimik has joined #ruby
xlegoman has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has quit [Ping timeout: 258 seconds]
banisterfiend has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Quit: Leaving.]
aufi has joined #ruby
muelleme has quit [Ping timeout: 268 seconds]
RevanOne has quit [Ping timeout: 268 seconds]
conta has joined #ruby
mjolnird has quit [Remote host closed the connection]
mjolnird has joined #ruby
mim1k has joined #ruby
RevanOne has joined #ruby
lupine_ has quit [Ping timeout: 250 seconds]
lupine has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
RevanOne has quit [Client Quit]
RevanOne has joined #ruby
andikr has joined #ruby
milardovich has joined #ruby
vondruch has quit [Ping timeout: 268 seconds]
milardov_ has quit [Ping timeout: 240 seconds]
Xiti has quit [Ping timeout: 260 seconds]
Xiti has joined #ruby
oetjenj has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
Yzguy has quit [Quit: Zzz...]
Xiti has quit [Quit: Xiti]
Yzguy has joined #ruby
CrazyEddy has quit [Ping timeout: 258 seconds]
guille-moe has joined #ruby
plexigras has quit [Ping timeout: 240 seconds]
Yzguy has quit [Client Quit]
Xiti has joined #ruby
Dimik has quit [Ping timeout: 258 seconds]
mson has quit [Quit: Connection closed for inactivity]
deepredsky has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
claudiuinberlin has joined #ruby
vondruch has joined #ruby
tomaw has quit [Ping timeout: 622 seconds]
vondruch has quit [Client Quit]
vondruch has joined #ruby
miskatonic has joined #ruby
gradio has joined #ruby
milardov_ has joined #ruby
jameser has joined #ruby
webguynow has quit [Ping timeout: 255 seconds]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
tomaw has joined #ruby
mim1k has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
ta__ has joined #ruby
aupadhye has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
aupadhye has quit [Ping timeout: 250 seconds]
marr has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
Guest83850 is now known as silverdust
silverdust has quit [Changing host]
silverdust has joined #ruby
webguynow has joined #ruby
guille-moe has quit [Ping timeout: 276 seconds]
mark_66 has joined #ruby
Burgestrand has joined #ruby
TomyWork has joined #ruby
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
aupadhye has joined #ruby
Burgestrand has quit [Quit: Closing time!]
ramfjord has joined #ruby
Burgestrand has joined #ruby
maum has quit [Read error: Connection reset by peer]
plexigras has joined #ruby
ta__ has quit [Remote host closed the connection]
guille-moe has joined #ruby
mim1k has joined #ruby
mim1k has quit [Disconnected by services]
mim1k_ has joined #ruby
mim1k_ is now known as mim1k
milardovich has joined #ruby
milardov_ has quit [Ping timeout: 248 seconds]
Burgestrand has quit [Quit: Closing time!]
hutch34 has joined #ruby
ta_ has joined #ruby
bigkevmcd has joined #ruby
Burgestrand has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
p0s1x has joined #ruby
wopi has joined #ruby
c0ncealed has quit [Remote host closed the connection]
dhollinger has quit [Read error: Connection reset by peer]
dhollinger has joined #ruby
Serpent7776 has joined #ruby
jottr has joined #ruby
astrobunny has quit [Remote host closed the connection]
despai has joined #ruby
CrazyEddy has joined #ruby
p0s1x has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: Closing time!]
dionysus69 has joined #ruby
GodFather_ has joined #ruby
p0s1x has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest70176 has quit [Ping timeout: 255 seconds]
Burgestrand has joined #ruby
nofxx has quit [Read error: Connection reset by peer]
nofxx_ has joined #ruby
milardovich has joined #ruby
astronavt has quit [Remote host closed the connection]
astronavt has joined #ruby
uZiel has quit [Remote host closed the connection]
milardov_ has quit [Ping timeout: 260 seconds]
astronavt has quit [Remote host closed the connection]
astronavt has joined #ruby
uZiel has joined #ruby
michaelzinn has joined #ruby
ferr has joined #ruby
ferr has left #ruby [#ruby]
astronavt has quit [Client Quit]
dinfuehr has quit [Ping timeout: 240 seconds]
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
dinfuehr has joined #ruby
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
Burgestrand has quit [Quit: Closing time!]
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
p0s1x has quit [Ping timeout: 248 seconds]
Burgestrand has joined #ruby
jaruga has joined #ruby
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
agent_white has quit [Quit: Lost terminal]
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
ldnunes has joined #ruby
kickr_ has joined #ruby
deepredsky has quit [Ping timeout: 240 seconds]
miah_ has joined #ruby
c0ncealed has quit [Remote host closed the connection]
nicesignal has quit [Remote host closed the connection]
miah has quit [Ping timeout: 240 seconds]
nicesignal has joined #ruby
c0ncealed has joined #ruby
kickr has quit [Ping timeout: 240 seconds]
deepredsky has joined #ruby
bkxd has joined #ruby
enterprisey has quit [Remote host closed the connection]
deepredsky has quit [Ping timeout: 248 seconds]
ap4y has quit [Read error: Connection reset by peer]
deepredsky has joined #ruby
tacoboy has joined #ruby
milardov_ has joined #ruby
silvermine has quit [Quit: WeeChat 2.0-dev]
milardovich has quit [Ping timeout: 255 seconds]
silvermine has joined #ruby
hutch34 has joined #ruby
deepredsky has quit [Ping timeout: 248 seconds]
deepredsky has joined #ruby
bkxd_ has joined #ruby
enterprisey has joined #ruby
hutch34 has quit [Ping timeout: 276 seconds]
bkxd has quit [Ping timeout: 240 seconds]
deepredsky has quit [Ping timeout: 260 seconds]
guille-moe has quit [Ping timeout: 240 seconds]
deepredsky has joined #ruby
c0ncealed has quit [Remote host closed the connection]
ahrs has quit [Remote host closed the connection]
c0ncealed has joined #ruby
ahrs has joined #ruby
tcopeland has quit [Quit: tcopeland]
enterprisey has quit [Quit: Leaving]
zapata has quit [Read error: Connection reset by peer]
bkxd_ has quit []
michaelzinn has quit [Ping timeout: 276 seconds]
zapata has joined #ruby
ruurd has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
michaelzinn has joined #ruby
ruurd has quit [Client Quit]
jaruga has quit [Quit: jaruga]
Mia has quit [Read error: Connection reset by peer]
fyrril has quit [Read error: Connection reset by peer]
Mia has joined #ruby
fyrril has joined #ruby
vircung has joined #ruby
TagNotFound has quit [Ping timeout: 240 seconds]
Lloyd has quit [Ping timeout: 240 seconds]
iamdevnul has quit [Read error: Connection reset by peer]
auv has quit [Ping timeout: 250 seconds]
kireevco has quit [Ping timeout: 250 seconds]
boxrick has quit [Ping timeout: 250 seconds]
gmcintire has quit [Read error: Connection reset by peer]
ckrailo has quit [Read error: Connection reset by peer]
galeido has quit [Ping timeout: 240 seconds]
janko_s has quit [Read error: Connection reset by peer]
ghormoon has quit [Ping timeout: 250 seconds]
cstrahan has quit [Ping timeout: 250 seconds]
darthThorik has quit [Ping timeout: 264 seconds]
Meow-J has quit [Ping timeout: 264 seconds]
yo61 has quit [Ping timeout: 264 seconds]
jhill has quit [Ping timeout: 264 seconds]
Majost has quit [Ping timeout: 264 seconds]
Travis-42 has quit [Ping timeout: 264 seconds]
discopatrick has quit [Ping timeout: 264 seconds]
bove has quit [Ping timeout: 264 seconds]
iamdevnul has joined #ruby
teej has quit [Ping timeout: 240 seconds]
AndyWojo has quit [Ping timeout: 255 seconds]
rann has quit [Ping timeout: 250 seconds]
Olipro has quit [Ping timeout: 240 seconds]
gmcintire has joined #ruby
koenrh has quit [Ping timeout: 264 seconds]
TagNotFound has joined #ruby
ckrailo has joined #ruby
AndyWojo has joined #ruby
bove has joined #ruby
Travis-42 has joined #ruby
janko_s has joined #ruby
rann has joined #ruby
Lloyd has joined #ruby
discopatrick has joined #ruby
cstrahan has joined #ruby
auv has joined #ruby
teej has joined #ruby
Majost has joined #ruby
kireevco has joined #ruby
boxrick has joined #ruby
Danielss89_ has quit [Ping timeout: 240 seconds]
jhill has joined #ruby
ghormoon has joined #ruby
yo61 has joined #ruby
Meow-J has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
iamarun has quit [Remote host closed the connection]
friday has quit [Ping timeout: 240 seconds]
Olipro has joined #ruby
plexigras has quit [Ping timeout: 268 seconds]
milardovich has joined #ruby
Danielss89 has joined #ruby
friday has joined #ruby
jeffreylevesque_ has joined #ruby
vircung has quit [Remote host closed the connection]
silvermine has quit [Quit: WeeChat 2.0-dev]
vircung has joined #ruby
jeffreylevesque has quit [Ping timeout: 260 seconds]
milardov_ has quit [Ping timeout: 250 seconds]
uZiel_ has joined #ruby
cadillac_ has joined #ruby
jeffreylevesque has joined #ruby
uZiel_ has quit [Client Quit]
uZiel has quit [Quit: leaving]
uZiel has joined #ruby
jeffreylevesque_ has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 240 seconds]
Psybur has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vircung has quit [Ping timeout: 276 seconds]
Burgestrand has quit [Quit: Closing time!]
Burgestrand has joined #ruby
tjbp has joined #ruby
hutch34 has joined #ruby
tsglove has quit [Quit: Leaving]
gradio has quit [Ping timeout: 246 seconds]
gradio has joined #ruby
sagax has joined #ruby
gheegh has joined #ruby
tsglove has joined #ruby
hutch34 has quit [Ping timeout: 276 seconds]
uZiel has quit [Ping timeout: 248 seconds]
<adaedra>
Hello rubyists
<al2o3-cr>
o/
<adaedra>
We're having a bit of debate at work and I'd like additional input. When we do tests, we sometimes compare against constants (`assert_equal SomeModel::CONSTANT, ...`) and some people think we should not and that we should use the value instead (`assert_equal :value, ...`). What do you think? How would you do?
vircung has joined #ruby
<al2o3-cr>
my preference is for the former.
nahra has quit [Remote host closed the connection]
<adaedra>
why?
<adaedra>
I must admit that I don't know
<Burgestrand>
adaedra Do you have a concrete example?
<Burgestrand>
adaedra I'm thinking that a common error people do is writing the same code twice as opposed to testing that the code does what it intends to do
tcopeland has joined #ruby
<adaedra>
Let me assemble a thing
<Burgestrand>
Comparing values/settings to constants is a common source of this write twice test never kind of situations, not saying that's what it necessarily is here though
leitao has joined #ruby
<leitao>
hello. I compiling ruby on an POWER architecture, and I get the TestBacktrace testcase failing with the following error http://paste.debian.net/997799/.
<Burgestrand>
e.g. `assert_equal Project::VERSION, "1.0.0"` would be a typical example of this
<leitao>
Any idea what might be the issue?
milardov_ has joined #ruby
InfinityFye has joined #ruby
apeiros_ has joined #ruby
apeiros_ is now known as apeiros
bweston92 has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
miskatonic has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
rabajaj has quit [Remote host closed the connection]
<adaedra>
Funny, GitHub does not use the same color scheme in the editor than in the gist itself
hightower2 has joined #ruby
<Burgestrand>
adaedra my thinking is this: which one of `:err_nodata` and `Message::MISSING_DATA` is the implementation detail? I'd probably leave the implementation detail out of my test and mostly deal with the public (i.e. public internally, hehe) API.
<adaedra>
I'd say :err_nodata is.
<Burgestrand>
If both could be considered public API, e.g. if you were writing internal documentation on this and pretty much say "You can rely on the code being :err_nodata" then I wouldn't care which one you test against
<adaedra>
We put a constant so everyone uses the constant, so I guess the symbol is the internal one. So constant?
<apeiros>
IMO if you make a constant don't even mention the value it holds
<Burgestrand>
adaedra I'd agree with that, yes.
<Burgestrand>
Yeah, I'm with apeiros here, the value could be random, it could be KITTENS, if the point is that the consumers of the API doesn't need to care then neither should the test
minimalism has joined #ruby
<apeiros>
same
<apeiros>
"what he said" :)
tomphp has joined #ruby
<adaedra>
:p
<Burgestrand>
Another argument for that is that I don't think the test should break if you decide to change the internal error code
<Burgestrand>
I guess it's pretty much the same argument so never mind that one :)
Bish has quit [Quit: leaving]
apparition has joined #ruby
<adaedra>
Thanks for the input
guille-moe has joined #ruby
vircung has quit [Ping timeout: 248 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeffreylevesque has quit [Ping timeout: 255 seconds]
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gheegh has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
miskatonic has joined #ruby
vircung has joined #ruby
uZiel has joined #ruby
tomphp has joined #ruby
bmurt has joined #ruby
lexruee has quit [Ping timeout: 268 seconds]
milardovich has joined #ruby
lexruee has joined #ruby
rwb has quit [Ping timeout: 268 seconds]
milardov_ has quit [Ping timeout: 264 seconds]
Technodrome has joined #ruby
nowhere_man has joined #ruby
rfoust has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
eckhardt has joined #ruby
ldnunes has quit [Ping timeout: 248 seconds]
jaruga has joined #ruby
tacoboy has quit [Ping timeout: 240 seconds]
tacoboy has joined #ruby
silvermine has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: Closing time!]
jeffreylevesque has joined #ruby
tomphp has joined #ruby
jeffreylevesque_ has joined #ruby
Burgestrand has joined #ruby
ldnunes has joined #ruby
mson has joined #ruby
jeffreylevesque has quit [Ping timeout: 255 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has quit [Client Quit]
sspreitz has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
sspreitz has joined #ruby
koenrh has joined #ruby
galeido has joined #ruby
darthThorik has joined #ruby
guille-moe has quit [Ping timeout: 264 seconds]
Technodrome has joined #ruby
SirOliver has quit [Quit: ZZZzzz…]
miskatonic has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
guille-moe has joined #ruby
rwb has joined #ruby
mim1k has joined #ruby
SirOliver has joined #ruby
cdg has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
vee__ has quit [Ping timeout: 268 seconds]
steffes has joined #ruby
cdg_ has joined #ruby
kickr_ has quit [Quit: Leaving]
kickr has joined #ruby
despai has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 258 seconds]
gradio has left #ruby ["Leaving"]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vee__ has joined #ruby
imperator has joined #ruby
steffes has quit []
dionysus70 has joined #ruby
zanoni has joined #ruby
milardov_ has joined #ruby
DLSteve has joined #ruby
kickr has quit [Quit: Leaving]
milardovich has quit [Ping timeout: 268 seconds]
apeiros has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
synthroid has joined #ruby
vircung has quit [Remote host closed the connection]
John__ has joined #ruby
vircung has joined #ruby
silvermine has quit [Ping timeout: 255 seconds]
guille-moe has quit [Remote host closed the connection]
guille-moe has joined #ruby
silvermine has joined #ruby
gnufied has joined #ruby
JaccoP has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anisha has quit [Quit: This computer has gone to sleep]
charliesome has joined #ruby
John__ has quit [Read error: Connection reset by peer]
krawchyk has joined #ruby
dviola has joined #ruby
gheegh has joined #ruby
ta_ has quit [Remote host closed the connection]
Barrt has joined #ruby
vircung has quit [Ping timeout: 248 seconds]
polishdub has joined #ruby
exhiled has joined #ruby
SirOliver has quit [Quit: ZZZzzz…]
safetypin has joined #ruby
Gabemo has quit [Ping timeout: 260 seconds]
exhiled has quit [Client Quit]
SirOliver has joined #ruby
Gabemo has joined #ruby
milardovich has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus70 has quit [Ping timeout: 260 seconds]
vee__ has quit [Ping timeout: 255 seconds]
SirOliver has quit [Client Quit]
jackjackdripper has joined #ruby
milardov_ has quit [Ping timeout: 240 seconds]
unreal has joined #ruby
netherwolfe has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
michaelzinn has quit [Ping timeout: 255 seconds]
SirOliver has joined #ruby
tvw has joined #ruby
mtkd has joined #ruby
Rapture has joined #ruby
netherwolfe has quit [Client Quit]
xlegoman has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
Technodrome has joined #ruby
apparition has quit [Quit: Bye]
iceden has quit [Ping timeout: 260 seconds]
SirOliver has quit [Quit: ZZZzzz…]
iceden has joined #ruby
JaccoP has quit [Ping timeout: 240 seconds]
michaelzinn has joined #ruby
vee__ has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
RevanOne has quit [Ping timeout: 268 seconds]
aufi has quit [Quit: Leaving]
guille-moe has quit [Ping timeout: 240 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aufi has joined #ruby
alex`` has joined #ruby
sepp2k has joined #ruby
imperator has quit [Quit: Leaving]
RevanOne has joined #ruby
yottanami__ has joined #ruby
<yottanami__>
I am using Ruby 2.0.0p481 and I know it deprecated but I need to use it because we can not update our gems now but I got this error http://dpaste.com/0JTA3MH in new Linux kernel. Is any chance to fix it?
rippa has joined #ruby
alan_w has joined #ruby
<dminuoso>
yottanami__: Can you attach a debugger and produce a full stacktrace please?
<dminuoso>
yottanami__: Also consider upgrading to v2_0_0_648 at the very least. Cba to check what fixes were made, but you well.
<dminuoso>
*you might as well
miskatonic has joined #ruby
Dimik has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 250 seconds]
<dminuoso>
yottanami__: Also see if you can reproduce it on that exact machine with the following Ruby program: Time.now.utc
Burgestrand has quit [Quit: Closing time!]
<dminuoso>
yottanami__: Also please include the entirey of the bug screen. Id like to see the entire list of native extensions, cpu context, etc.
apeiros_ has joined #ruby
<dminuoso>
Which might make obtaining a backtrace with gdb unnecessary.
John____ has joined #ruby
Technodrome has joined #ruby
prutheus has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mson has quit [Quit: Connection closed for inactivity]
<yottanami__>
dminuoso, Actually I am trying to run it using Docker I used debian:wheezy image. when I use Kernel 4.9.0 to run my Docker image it is ok without any change but when I use 4.12.0 I got this error.
<yottanami__>
dminuoso, How can I get the full stack trace in this situation?
drowze has joined #ruby
<dminuoso>
yottanami__: I'd say throw a RUN /bin/sh before the layer that blows up, and then exec a shell and trigger this by hand.
<dminuoso>
Otherwise its pretty annoying to recover information from a docker container that failed to build
<dminuoso>
yottanami__: And when I say RUN I mean CMD of cours.e
troys has joined #ruby
<dminuoso>
yottanami__: You somehow need to get hold of that core dump, or trigger it with a simple testcase (ruby will print out the necessary debugging information to stderr)
<prutheus>
dminuoso: do you have some knowledge about ruby and gtk?
<dminuoso>
(There's more lines, I just copied the first couple)
vircung has joined #ruby
Ouchy has joined #ruby
Ouchy has quit [Changing host]
Ouchy has joined #ruby
hightower2 has quit [Ping timeout: 276 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yeticry has quit [Ping timeout: 268 seconds]
TomyWork has quit [Ping timeout: 240 seconds]
<prutheus>
dminuoso: I have an ruby application running with gtk, and on ubuntu there is just a whole container missing ... just disappeared .. any idea?
<prutheus>
only on ubuntu
amosbird has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
yeticry has joined #ruby
govg has quit [Ping timeout: 255 seconds]
vircung has quit [Ping timeout: 276 seconds]
vircung has joined #ruby
synthroid has quit [Remote host closed the connection]
govg has joined #ruby
amosbird has joined #ruby
guille-moe has joined #ruby
conta has quit [Ping timeout: 268 seconds]
deepredsky has quit [Ping timeout: 240 seconds]
anisha has joined #ruby
exhiled has joined #ruby
vircung has quit [Ping timeout: 276 seconds]
govg has quit [Ping timeout: 276 seconds]
synthroid has joined #ruby
thinkpad has quit [Ping timeout: 240 seconds]
oleo has joined #ruby
synthroi_ has joined #ruby
Cra2yZer0 has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
whippythellama has joined #ruby
yottanami__ has quit [Remote host closed the connection]
anisha has quit [Quit: This computer has gone to sleep]
synthroid has quit [Ping timeout: 268 seconds]
vircung has joined #ruby
alan_w has quit [Quit: WeeChat 1.9.1]
despai has joined #ruby
TomyLobo has joined #ruby
vircung has quit [Ping timeout: 260 seconds]
John____ has quit [Read error: Connection reset by peer]
gizmore has joined #ruby
milardovich has joined #ruby
quobo has joined #ruby
railswebdev has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
Barrt has quit [Ping timeout: 268 seconds]
andikr has quit [Remote host closed the connection]
milardovich has joined #ruby
Barrt has joined #ruby
vircung has joined #ruby
michaelzinn has quit [Ping timeout: 248 seconds]
mostlybadfly has joined #ruby
vircung has quit [Ping timeout: 248 seconds]
marxarelli has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackjackdripper has joined #ruby
Serpent7776 has quit [Quit: Leaving]
ptx0 has quit [Read error: Connection reset by peer]
fredx has quit [Remote host closed the connection]
<leitz_at_work>
Philosophy question: My project will require a web front end at some point in time. I've heard lots of Rails horror stories about security and performance. Should I go with a lighter weight option or just bite the bullet and get into Rails?
whippythellama has joined #ruby
wald0 has joined #ruby
<havenwood>
TomyLobo: yeah, they're instances of different classes - but they're two-quals equal
<havenwood>
leitz_at_work: I'm a big fan of Roda and its plugins.
<baweaver>
leitz_at_work: Rails requires a lot of knowledge as well to get started
<baweaver>
That said, most people exaggerate pretty severely.
<TomyLobo>
baweaver, a bit? one of the guys at work has a poster on his door with a bunch of client-server syncing abstract gui framework thingies (angular, react and so on). he has one for each of the past 8 years :)
troys has quit [Quit: Bye]
<TomyLobo>
if that is the kind of thing you were referring to
<baweaver>
Honestly I think it's more the fact that people hate maintaining and love creating
<baweaver>
JS is just super notorious for it
<havenwood>
Angular 3! Vue!
<TomyLobo>
heh
<baweaver>
Angular 3 doesn't exist ;)
<havenwood>
(I thought Angular 3 existing was a troll... it's not!)
<baweaver>
They skipped 2 -> 4 to sync versions
<havenwood>
oh, right
<havenwood>
they tagged a 3, then just skipped it?
<havenwood>
hehe
<baweaver>
Though Angular 1 -> 2 was basically a complete rewrite
<TomyLobo>
like winamp 2+3=5?
<havenwood>
I like the Rake versioning from pre-1.0 to version 10.
<baweaver>
Programmers just suck at counting
miah_ is now known as miah
<baweaver>
we start at 0 for crying out loud
<baweaver>
TomyLobo: Why is 6 afraid of 7?
miah has quit [Changing host]
miah has joined #ruby
<baweaver>
ohai miah
<miah>
hi =)
prutheus has quit [Quit: Page closed]
<havenwood>
baweaver: 789
<baweaver>
Ah, but why _did_ 7 8 9?
<baweaver>
because you're supposed to get 3**2 meals a day
* baweaver
avoids clicking anything youtube at work
qqmash has joined #ruby
<TomyLobo>
it's a song (Royksopp - Tricky Tricky)
qqmash has quit [Max SendQ exceeded]
<TomyLobo>
1st line in the song is "Is six afraid of seven, cause seven eight nine?"
<baweaver>
ah
Ouchy has quit [Ping timeout: 246 seconds]
troys has joined #ruby
<leitz_at_work>
baweaver, does roda have a plugin for MongoDB? (can't see @work)
<baweaver>
I would assume so
<Papierkorb>
roda doesn't care much what DBMS you use (if any). You just use it
Cohedrin has joined #ruby
tomphp has joined #ruby
RickHull has joined #ruby
<RickHull>
are there any guidelines for a proper ruby setup on windows? I used ruby-installer 2, and I would like to use my git-bash/mingw window to use both ruby and msys2 commands
<RickHull>
as it stands, the ruby-installer added ruby executables to my path in git-bash, which is good
<RickHull>
but this environment still has no access to build tools like `make`
<RickHull>
unless I do ridk.cmd exec make
<RickHull>
otherwise, I can load an msys terminal window with access to `make` -- but `ruby` is not in my path
<RickHull>
ideally I will use git-bash/mingw to have an environment with e.g. `rake` and `make`
<RickHull>
if I exectute path/to/make in git-bash, there is what looks like a DLL hell error
<TomyLobo>
is there a way to invoke irb such that it executes a .rb file and then allows me to access non-$ variables left in file scope?
<RickHull>
TomyLobo: are you familiar with pry?
<TomyLobo>
nope
<RickHull>
pry is like irb on steroids, and binding.pry will allow what you what
SeepingN has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
mfb2 has quit [Remote host closed the connection]
<RickHull>
for 99% of typical irb usage, pry is a drop in replacement
<TomyLobo>
let's see if that installs without needing ffi
vircung has quit [Remote host closed the connection]
<TomyLobo>
yay it does
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull>
put `binding.pry` in your .rb file
mfb2 has joined #ruby
<TomyLobo>
"put"?
<RickHull>
you will need: require 'pry'
<RickHull>
and then binding.pry at whichever point you would like a repl
mfb2 has quit [Remote host closed the connection]
<TomyLobo>
oh, i thought you were referring to a file called "binding.pry" ^^
mfb2 has joined #ruby
<havenwood>
?pry
<ruby[bot]>
Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
nahra has joined #ruby
michaelzinn has joined #ruby
vircung has joined #ruby
joker5bb_ has joined #ruby
devchild has joined #ruby
joker5bb has quit [Read error: Connection reset by peer]
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brent__ has joined #ruby
tomphp has joined #ruby
devchild has quit [Ping timeout: 246 seconds]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
faces has quit [Read error: Connection reset by peer]
michaelzinn has quit [Ping timeout: 276 seconds]
cagomez has quit [Read error: Connection reset by peer]
mcr1 has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
faces has joined #ruby
oetjenj has joined #ruby
<TomyLobo>
useful
<TomyLobo>
especially it doesnt spam my console indefinitely anymore
<TomyLobo>
(inspecting the result of parsing a 38 MB stellaris save file ^^)
cagomez has quit [Remote host closed the connection]
tomphp has joined #ruby
cagomez has joined #ruby
solars has joined #ruby
tomphp has quit [Client Quit]
rippa has quit [Read error: Connection reset by peer]
<TomyLobo>
i just need to ctrl-c first thing, for some reason
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<TomyLobo>
otherwise it just keeps spamming things like " 0 [main] ruby 22072 child_info_fork::abort: address space needed by 'windows_1252.so' (0x730000) is already occupied"
<TomyLobo>
(which is a babun-specific issue with 32-bit cygwin libraries)
<TomyLobo>
(and to some extent 64 bit, but the address space is larger)
nchambers is now known as bartender
apeiros has quit [Ping timeout: 276 seconds]
vipaca has joined #ruby
<TomyLobo>
" :quiet (Boolean) —
<TomyLobo>
" - i'll try that :)
<TomyLobo>
Omit the whereami banner when starting.
<TomyLobo>
yep, that was it
<TomyLobo>
nope, that only postponed it to the first inspection
tvw has quit [Remote host closed the connection]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<TomyLobo>
oh whatever, i'll give up and press ctrl-c each time
devchild has joined #ruby
claudiuinberlin has joined #ruby
mcr1 has joined #ruby
mfb2 has quit [Remote host closed the connection]
ta__ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
<jhass>
install linux :D
<jhass>
scnr
biggeektx has joined #ruby
SirOliver has joined #ruby
biggeektx has quit [Remote host closed the connection]
biggeektx has joined #ruby
jamiejackson has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull>
TomyLobo: do you use msys2?
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mfb2 has joined #ruby
mfb2 has quit [Remote host closed the connection]
michaelzinn has joined #ruby
<RickHull>
anyone know the hooks for that work, such that I can get `rake` and `make` in my path, properly linked, in the same git-bash(MINGW64) session?
mfb2 has joined #ruby
<RickHull>
as it stands, I have a ruby environment in git-bash, and make / build environment in msys2
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull>
and I haven't found any tutorials or docs on how this works
<TomyLobo>
RickHull, i use babun
<RickHull>
I can execute make successfully only in a msys2 window; in git-bash if I provide the path to it, it appears to be linking to the wrong dll (?)
jtdoncas has joined #ruby
vipaca has joined #ruby
<RickHull>
ok, interesting. I like the git-bash shell as it reminds me of putty
<TomyLobo>
babun is cygwin, prepackaged to install per-user, with nice defaults and with a decent package manager
<TomyLobo>
problem is: in order to allow that package manager to run inside the regular shell, it has to skip a certain step the cygwin setup.exe normally takes
<TomyLobo>
that step makes sure all the dlls end up in different address spaces by default, which, as I understand it, is needed in order to make cygwin's fork implementation work
<RickHull>
i have always given up on unix style dev on windows. I've never been happy with cygwin, though I never tried particularly hard
<TomyLobo>
so, your babun install is doomed if you do too much with it :)
michaelzinn has quit [Ping timeout: 276 seconds]
<RickHull>
eh, I'll probably give up. I can get `make` in git-bash with `ridk.cmd exec make`
Rr4sT has quit [Quit: Connection closed for inactivity]
<TomyLobo>
RickHull, if you're using win10, microsoft should have pressured you into downloading the update that allows you to enable the bash-on-ubuntu-on-linux thingy
<TomyLobo>
what are you make'ing anyway?
<RickHull>
it is win10. it's a shitbox though. some crippled amd 2core with no VTX
<TomyLobo>
and why :)
<RickHull>
pardon my french
<RickHull>
making mruby
<TomyLobo>
you dont need vtx
<TomyLobo>
not for bash-on-ubuntu-on-linux
<RickHull>
yeah, i mean, I would normally run a linux VM
<RickHull>
but this thing crawls as it is
<TomyLobo>
yeah it's not a VM
<TomyLobo>
so, give it a try maybe
<RickHull>
huh, cool, that seems way better
<RickHull>
i never got any notification for it, i guess I'll go to the windows app store. there's a first for everything!
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lupine has quit [Remote host closed the connection]
<TomyLobo>
app store? uhh
<TomyLobo>
i never went there ^^
<TomyLobo>
i activated developer mode or something
<chiggins>
Anyone use rest-client and need HTTP headers to be in a specific case? It's changing the capitalization on me and I think that's giving me errors
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
mfb2 has joined #ruby
michaelzinn has joined #ruby
vircung has quit [Ping timeout: 268 seconds]
tomphp has joined #ruby
goyox86 has joined #ruby
safetypin has quit [Ping timeout: 260 seconds]
k3rn31 has quit [Ping timeout: 248 seconds]
michaelzinn has quit [Ping timeout: 268 seconds]
<elomatreb>
chiggins: If that happens you have a standards violating server, that might be a more worthwhile fix if possible
nowhere_man has quit [Quit: Konversation terminated!]
Yzguy has joined #ruby
nowhere_man has joined #ruby
goyox86 has quit [Client Quit]
<chiggins>
elomatreb: Server isn't under my control, I'm trying to utilize an API
nowhere_man has quit [Ping timeout: 268 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamiejackson has quit [Ping timeout: 258 seconds]
<elomatreb>
chiggins: If I'm reading the code correctly you should be able to pass your header key as a String, and it won't touch the capitalization then
banisterfiend has joined #ruby
Guest90 has joined #ruby
jnyw has quit [Quit: WeeChat 1.9.1]
Guest90 has quit [Read error: Connection reset by peer]