havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.7.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
bradleyprice has joined #ruby
bradleyprice has quit [Remote host closed the connection]
mistergibson has joined #ruby
rgrant has joined #ruby
sgen has quit [Ping timeout: 250 seconds]
coreyja has joined #ruby
bradleyprice has joined #ruby
deimos has quit [Remote host closed the connection]
rgrant is now known as [rg]
bradleyprice has quit [Remote host closed the connection]
FrankDW2 has quit [Read error: Connection reset by peer]
queip has joined #ruby
deimos has joined #ruby
octos has quit [Read error: Connection reset by peer]
octos has joined #ruby
bradleyprice has joined #ruby
nowhereman has joined #ruby
nowhere_man has quit [Ping timeout: 258 seconds]
[rg] has quit [Remote host closed the connection]
SeepingN has joined #ruby
rsh has joined #ruby
hutch1 has joined #ruby
dbugger__ has joined #ruby
_dbugger has quit [Ping timeout: 252 seconds]
powerbit has quit [Read error: Connection reset by peer]
d^sh has quit [Ping timeout: 246 seconds]
d^sh has joined #ruby
duderonomy has joined #ruby
faitswulff has quit [Remote host closed the connection]
AJA4350 has quit [Quit: AJA4350]
sgen has joined #ruby
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 248 seconds]
salerace has quit [Read error: Connection reset by peer]
salerace has joined #ruby
<zxq2> with TLS, using an ephemeral key exchange algorithm, the ServerKeyExchange message is digitally signed using the key from the server's certificate, right?
galaxie has quit [Remote host closed the connection]
galaxie has joined #ruby
salerace has quit [Ping timeout: 264 seconds]
sgen has quit [Ping timeout: 252 seconds]
staticx has joined #ruby
salerace has joined #ruby
exmortus has quit [Ping timeout: 264 seconds]
hutch1 has quit [Ping timeout: 258 seconds]
Inline_ has joined #ruby
Inline has quit [Ping timeout: 250 seconds]
cerulean has joined #ruby
cerulean has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Remote host closed the connection]
TQBFJOTL` has joined #ruby
hutch1 has joined #ruby
TQBFJOTLD has quit [Ping timeout: 268 seconds]
esrse has joined #ruby
comet23 has joined #ruby
brool has quit [Ping timeout: 252 seconds]
<comet23> so i have a weird problem
<comet23> wait let me rephrase
braincrash has quit [Quit: bye bye]
tdy has joined #ruby
<comet23> I would like to call a class method from within another class during the initialization process
orbyt_ has joined #ruby
rsh has quit [Ping timeout: 264 seconds]
braincrash has joined #ruby
TQBFJOTL` has quit [Ping timeout: 264 seconds]
sgen has joined #ruby
bradleyprice has quit [Remote host closed the connection]
rsh_ has joined #ruby
comet23 is now known as pnus
doodlebug has joined #ruby
d^sh has quit [Ping timeout: 268 seconds]
hutch1 has quit [Ping timeout: 258 seconds]
faitswulff has joined #ruby
d^sh has joined #ruby
bradleyprice has joined #ruby
bradleyprice has quit [Ping timeout: 248 seconds]
faitswulff has quit []
imadper has joined #ruby
code_zombie_ has joined #ruby
mosh has quit [Ping timeout: 248 seconds]
uranoss has quit [Ping timeout: 248 seconds]
jidar has quit [Ping timeout: 248 seconds]
IGnorAND has quit [Quit: ZNC 1.7.3 - https://znc.in]
agrecascino has quit [Ping timeout: 248 seconds]
dhollinger has quit [Ping timeout: 248 seconds]
twe4ked has quit [Ping timeout: 248 seconds]
sgen has quit [Ping timeout: 248 seconds]
code_zombie has quit [Ping timeout: 248 seconds]
giraffe has quit [Ping timeout: 248 seconds]
mcspud has quit [Ping timeout: 248 seconds]
dar123 has quit [Ping timeout: 250 seconds]
hutch1 has joined #ruby
agrecascino has joined #ruby
pnus has quit [Ping timeout: 248 seconds]
LtHummus has quit [Ping timeout: 248 seconds]
Seich has quit [Ping timeout: 250 seconds]
twe4ked has joined #ruby
LtHummus_ has joined #ruby
uranoss has joined #ruby
Seich has joined #ruby
bradleyprice has joined #ruby
IGnorAND has joined #ruby
mosh has joined #ruby
giraffe has joined #ruby
dar123 has joined #ruby
bradleyprice has quit [Ping timeout: 258 seconds]
jidar has joined #ruby
dhollinger has joined #ruby
pnus has joined #ruby
ricekrispie has quit [Read error: Connection reset by peer]
mcspud has joined #ruby
howdoi has joined #ruby
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
zlogan2003 has joined #ruby
dellavg_ has joined #ruby
arahael4 has joined #ruby
hutch1 has quit [Ping timeout: 272 seconds]
element119 has joined #ruby
element119 has left #ruby [#ruby]
element119 has joined #ruby
arahael has joined #ruby
arahael4 has quit [Ping timeout: 264 seconds]
aupadhye has joined #ruby
bradleyprice has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
bradleyprice has quit [Ping timeout: 248 seconds]
arahael has quit [Ping timeout: 245 seconds]
ur5us has quit [Ping timeout: 268 seconds]
arahael has joined #ruby
bradleyprice has joined #ruby
kyrylo has joined #ruby
dellavg_ has quit [Ping timeout: 264 seconds]
bradleyprice has quit [Ping timeout: 252 seconds]
arahael has quit [Ping timeout: 245 seconds]
arahael has joined #ruby
infernix has joined #ruby
Inline_ has quit [Quit: Leaving]
fphilipe_ has joined #ruby
arahael has quit [Ping timeout: 248 seconds]
prestorium has joined #ruby
arahael has joined #ruby
bradleyprice has joined #ruby
arahael has quit [Ping timeout: 245 seconds]
prestorium has quit [Quit: prestorium]
bradleyprice has quit [Ping timeout: 258 seconds]
sauvin has joined #ruby
yield has joined #ruby
reber has joined #ruby
alotofnoodles has joined #ruby
arahael has joined #ruby
zlogan2003 has quit [Ping timeout: 258 seconds]
Nicmavr has quit [Ping timeout: 245 seconds]
bradleyprice has joined #ruby
schne1der has joined #ruby
bradleyprice has quit [Ping timeout: 248 seconds]
fphilipe_ has quit [Ping timeout: 248 seconds]
bradleyprice has joined #ruby
bradleyprice has quit [Ping timeout: 252 seconds]
arahael has quit [Ping timeout: 264 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
arahael has joined #ruby
xco has joined #ruby
alotofnoodles has quit [Remote host closed the connection]
ropeney_ has quit [Ping timeout: 268 seconds]
element119 has quit [Remote host closed the connection]
bradleyprice has joined #ruby
fphilipe_ has joined #ruby
hiroaki has quit [Ping timeout: 272 seconds]
alem0lars has joined #ruby
matthewd has quit [Ping timeout: 258 seconds]
matthewd has joined #ruby
bradleyprice has quit [Ping timeout: 248 seconds]
schne1der has quit [Ping timeout: 264 seconds]
ropeney has joined #ruby
prestorium has joined #ruby
alem0lars has quit [Remote host closed the connection]
arahael has quit [Ping timeout: 248 seconds]
arahael has joined #ruby
cerulean has joined #ruby
salerace has quit [Ping timeout: 248 seconds]
bradleyprice has joined #ruby
cerulean has quit [Ping timeout: 248 seconds]
silviu has joined #ruby
arahael has quit [Ping timeout: 268 seconds]
pnus has quit [Quit: Connection closed for inactivity]
bradleyprice has quit [Ping timeout: 250 seconds]
arahael has joined #ruby
code_zombie_ has quit [Quit: Leaving]
bradleyprice has joined #ruby
ur5us has joined #ruby
arahael has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bradleyprice has quit [Ping timeout: 252 seconds]
arahael has joined #ruby
ur5us has quit [Ping timeout: 272 seconds]
mayurvpatil has joined #ruby
lxsameer has joined #ruby
rbanffy has quit [Quit: rbanffy]
arahael has quit [Ping timeout: 248 seconds]
salerace has joined #ruby
arahael has joined #ruby
arahael1 has joined #ruby
salerace has quit [Ping timeout: 248 seconds]
bradleyprice has joined #ruby
arahael has quit [Ping timeout: 268 seconds]
clemens3 has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bradleyprice has quit [Ping timeout: 248 seconds]
nowhereman has quit [Ping timeout: 245 seconds]
arahael1 has quit [Ping timeout: 268 seconds]
schne1der has joined #ruby
clemens3 has quit [Quit: WeeChat 1.6]
arahael1 has joined #ruby
<xco> hi! I need help making this if clause a one-liner https://gist.github.com/xcobar/23d919440b2779cf10c7c88a87a0076f
<xco> possibly with early return?
DTZUZU has quit [Ping timeout: 252 seconds]
DTZUZU has joined #ruby
yield has quit [Remote host closed the connection]
yield has joined #ruby
mikecmpbll has joined #ruby
thunderbirdtr has joined #ruby
AndreYuhai has quit [Remote host closed the connection]
jud has quit [Quit: Leaving]
arahael1 has quit [Ping timeout: 272 seconds]
mayurvpatil has quit [Quit: This computer has gone to sleep]
tdy has quit [Ping timeout: 272 seconds]
reber has quit [Remote host closed the connection]
teclator_home has quit [Ping timeout: 244 seconds]
arahael1 has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
mayurvpatil has joined #ruby
ur5us has joined #ruby
Furai has quit [Quit: WeeChat 2.5]
yield has quit [Remote host closed the connection]
yield has joined #ruby
Furai has joined #ruby
arahael1 has quit [Ping timeout: 245 seconds]
arahael1 has joined #ruby
clemens3 has joined #ruby
arahael1 has quit [Quit: WeeChat 2.2]
<phaul> xco: in that example the return is not needed as there is nothing in the method that's after it
<phaul> so its just do_something! if something?
yasumi2136 has joined #ruby
<xco> phaul: thanks, but got it figured out. there are stuff after the if clause
<xco> so i just did
<xco> return if something? && do_something!
<phaul> with that the execution of return depends on the value of do_something!.
<xco> which is what i want :D
<xco> do_something! will ALWAYS be execute
<xco> d
claudiuinberlin has joined #ruby
<phaul> but if doosomething is: def do_something! ; ...; nil; end then return will not be
<phaul> one has to know what do_something! does to see what this code does, which makes it worse than the original imho
<xco> you have a good point
<xco> thing is, i KNOW do_something! always returns TRUE
<xco> but that’s bad i guess because i shouldn’t take that into consideration
<xco> i shouldn’t make it known in the code what do_something! does
yasumi2136 has quit [Remote host closed the connection]
yasumi2136 has joined #ruby
claudiuinberlin has quit [Read error: Connection reset by peer]
powerbit has joined #ruby
bradleyprice has joined #ruby
tdy has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
bradleyprice has quit [Ping timeout: 252 seconds]
mikecmpbll has joined #ruby
clemens3 has quit [Quit: WeeChat 1.6]
Jonopoly has joined #ruby
tdy has quit [Ping timeout: 272 seconds]
<NL3limin4t0r> xco: If you don't mind returning the value of `do_something!` you can do `return do_something! if something?`. Alternatively if you really want a oneliner and you know the result of `do_something!` is always truthy you can do `do_something! and return if something?`. You could also stick the contents in a helper `def validate_something; return true unless something?; do_something!; false; end` then `return
<NL3limin4t0r> unless validate_something`.
GodFather has joined #ruby
<xco> NL3limin4t0r: thanks. i ended up doing `return do_something! if something?` anyway :)
queip has quit [Ping timeout: 268 seconds]
cd has joined #ruby
queip has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
asio_ has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 245 seconds]
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
NL3limin4t0r has joined #ruby
cerulean has joined #ruby
alotofnoodles has joined #ruby
Swyper has joined #ruby
infernix has quit [Ping timeout: 258 seconds]
cerulean has quit [Ping timeout: 258 seconds]
miskatonic has joined #ruby
infernix has joined #ruby
Swyper has quit [Remote host closed the connection]
prestorium has quit [Ping timeout: 248 seconds]
staticx is now known as snosk8r
dbugger__ has quit [Read error: Connection reset by peer]
dbugger__ has joined #ruby
mayurvpatil has quit [Quit: This computer has gone to sleep]
infernix has quit [Ping timeout: 244 seconds]
doodleb15 has joined #ruby
doodleb15 has quit [Read error: Connection reset by peer]
doodlebug has quit [Read error: Connection reset by peer]
Swyper has joined #ruby
doodleb10 has joined #ruby
doodleb10 has quit [Read error: Connection reset by peer]
queip has quit [Ping timeout: 245 seconds]
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
yasumi2136 has quit [Remote host closed the connection]
yasumi2136 has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
yasumi2136 has quit [Client Quit]
arup_r has joined #ruby
cek has joined #ruby
queip has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
mayurvpatil has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
<cek> /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
<cek> but: * optflags: -O3 -fno-fast-math
<cek> and also somehow CFLAGS = -O0 -ggdb
<cek> wtf is going on with ruby build process
<cek> so the question is what are the actual flags used
Swyper has quit [Remote host closed the connection]
queip has quit [Ping timeout: 245 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
<cek> trying to understand why 2.4.3, which is higher than r43439 , doesn't experience https://redmine.ruby-lang.org/issues/12950 , but 2.4.4 and higher do
aupadhye has quit [Read error: Connection reset by peer]
aupadhye has joined #ruby
bradleyprice has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
bradleyprice has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
queip has joined #ruby
esrse has quit [Ping timeout: 258 seconds]
salerace has joined #ruby
apparition has joined #ruby
AJA4350 has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
silviu12 has joined #ruby
silviu11 has quit [Remote host closed the connection]
helpa has quit [Remote host closed the connection]
helpa-bot has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
queip has quit [Ping timeout: 248 seconds]
helpa-bot has quit [Remote host closed the connection]
helpa has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
yield has quit [Remote host closed the connection]
bradleyprice has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
galaxie has quit [Remote host closed the connection]
galaxie has joined #ruby
bradleyprice has quit [Ping timeout: 250 seconds]
jcalla has quit [Ping timeout: 252 seconds]
queip has joined #ruby
arup_r has quit []
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
bradleyprice has joined #ruby
conta has joined #ruby
crankharder has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
bradleyprice has quit [Ping timeout: 252 seconds]
salerace has quit [Ping timeout: 258 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
infernix has joined #ruby
salerace has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
infernix has quit [Read error: Connection reset by peer]
conta has quit [Ping timeout: 246 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
conta has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
miskatonic has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
infernix has joined #ruby
prestorium has joined #ruby
jcalla has joined #ruby
prestorium has quit [Client Quit]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
ovnimancer has joined #ruby
bradleyprice has joined #ruby
ovnimancer has quit [Client Quit]
oholiab has left #ruby ["WeeChat 1.4"]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
mayurvpatil_ has joined #ruby
alotofnoodles has quit [Remote host closed the connection]
bradleyprice has quit [Ping timeout: 248 seconds]
mayurvpatil has quit [Ping timeout: 268 seconds]
miskatonic has quit [Remote host closed the connection]
ricekrispie has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
EnderMB has joined #ruby
EnderMB has left #ruby [#ruby]
bradleyprice has joined #ruby
prestorium has joined #ruby
bradleyprice has quit [Ping timeout: 252 seconds]
schne1der has quit [Ping timeout: 245 seconds]
aupadhye has quit [Quit: Leaving]
bradleyprice has joined #ruby
hutch1 has joined #ruby
prestorium has quit [Quit: prestorium]
franklinyu has quit [Read error: Connection reset by peer]
Rapture has joined #ruby
vondruch_ has joined #ruby
rbanffy has joined #ruby
rbanffy has quit [Remote host closed the connection]
vondruch has quit [Ping timeout: 252 seconds]
vondruch_ is now known as vondruch
dar123 has joined #ruby
mayurvpatil_ has quit [Quit: Leaving]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
Rapture has joined #ruby
jeremycw has joined #ruby
bradleyprice has quit [Ping timeout: 248 seconds]
brool has joined #ruby
infernix has quit [Ping timeout: 245 seconds]
dviola has joined #ruby
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
moei has joined #ruby
Onwarion has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
conta has quit [Ping timeout: 248 seconds]
apparition has quit [Quit: Bye]
duderonomy has quit [Ping timeout: 245 seconds]
cthulchu_ has joined #ruby
infernix has joined #ruby
xco has quit [Quit: xco]
xco has joined #ruby
cthulchu_ has quit [Ping timeout: 245 seconds]
xco has quit [Client Quit]
DaRock has quit [Ping timeout: 264 seconds]
teclator_ has joined #ruby
bradleyprice has joined #ruby
cthulchu_ has joined #ruby
bradleyprice has quit [Remote host closed the connection]
prestorium has joined #ruby
bradleyprice has joined #ruby
yaewa has joined #ruby
moei has quit [Ping timeout: 245 seconds]
yield has joined #ruby
cthulchu_ has quit [Ping timeout: 245 seconds]
yield has quit [Ping timeout: 272 seconds]
prestorium has quit [Quit: prestorium]
prestorium has joined #ruby
prestorium has quit [Client Quit]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
SeepingN has joined #ruby
yield has joined #ruby
AJA4350 has quit [Ping timeout: 272 seconds]
wald0 has joined #ruby
queip has quit [Ping timeout: 268 seconds]
teclator_ is now known as teclator_home
queip has joined #ruby
fphilipe_ has quit [Ping timeout: 245 seconds]
schne1der has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.4]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ai9zO5AP has joined #ruby
hutch1 has quit [Ping timeout: 246 seconds]
silviu has quit [Remote host closed the connection]
themsay has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cek has quit [Quit: Connection closed for inactivity]
prestorium has joined #ruby
prestorium has quit [Client Quit]
hutch1 has joined #ruby
fphilipe_ has joined #ruby
budonyc has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
miskatonic has joined #ruby
dviola has quit [Quit: WeeChat 2.5]
dviola has joined #ruby
dar123 has joined #ruby
Mike11 has joined #ruby
hutch1 has quit [Ping timeout: 245 seconds]
duderonomy has joined #ruby
rsh__ has joined #ruby
rsh_ has quit [Ping timeout: 245 seconds]
xco has joined #ruby
prestorium has joined #ruby
iliaskarim has joined #ruby
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
Fr4n has joined #ruby
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
hutch1 has joined #ruby
prestorium has quit [Quit: prestorium]
queip has quit [Ping timeout: 248 seconds]
Harlin has quit [Quit: Lost terminal]
rsh__ has quit [Ping timeout: 248 seconds]
NL3limin4t0r has joined #ruby
prestorium has joined #ruby
NL3limin4t0r is now known as NL3limin4t0r_afk
queip has joined #ruby
prestorium has quit [Quit: prestorium]
queip has quit [Ping timeout: 246 seconds]
Onwarion_ has joined #ruby
Onwarion has quit [Ping timeout: 268 seconds]
queip has joined #ruby
Onwarion_ has quit [Ping timeout: 258 seconds]
brool has quit [Ping timeout: 250 seconds]
lxsameer has quit [Ping timeout: 248 seconds]
rsh has joined #ruby
Xiti has quit [Quit: Xiti]
code_zombie has joined #ruby
themsay has quit [Read error: Connection reset by peer]
sauvin has quit [Ping timeout: 245 seconds]
themsay has joined #ruby
Xiti has joined #ruby
jenrzzz has joined #ruby
Esa_ has joined #ruby
tdy has joined #ruby
prestorium has joined #ruby
rsh has quit [Ping timeout: 272 seconds]
themsay has quit [Ping timeout: 268 seconds]
rsh has joined #ruby
prestorium has quit [Quit: prestorium]
Onwarion has joined #ruby
happyhans has joined #ruby
yield has quit []
drale2k_ has joined #ruby
reber has joined #ruby
drale2k_ has quit [Client Quit]
_whitelogger has joined #ruby
happyhans has quit [Quit: Page closed]
themsay has joined #ruby
zlogan2003 has joined #ruby
nixy0 is now known as nixy
griffindy has joined #ruby
kyrylo has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
miskatonic has joined #ruby
bradleyprice has quit [Remote host closed the connection]
jenrzzz has joined #ruby
LtHummus_ has quit [Quit: ZNC 1.7.3 - https://znc.in]
LtHummus has joined #ruby
drale2k_ has joined #ruby
bradleyprice has joined #ruby
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
bradleyprice_ has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
Mike11 has quit [Quit: Leaving.]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sagax has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
SigizMG has quit [Quit: Textual IRC Client: www.textualapp.com]
xco has quit [Quit: xco]
xco has joined #ruby
drale2k_ has joined #ruby
rsh has quit [Ping timeout: 248 seconds]
drale2k_ has quit [Client Quit]
jenrzzz has joined #ruby
rokra has joined #ruby
queip has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Read error: Connection reset by peer]
<rokra> Hey I m getting an error by doing an insert into : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'error_log' Safe Mode Restriction-Bypass Issue'
rsh has joined #ruby
<rokra> do u know what could be the issue? I m doing a multiple insert in a loop
<SeepingN> the error is in the syntax which we can't see............
giraffe has quit [Remote host closed the connection]
tpendragon has quit [Remote host closed the connection]
queip has joined #ruby
schne1der has quit [Ping timeout: 245 seconds]
prestorium has joined #ruby
<rokra> SeepingN: https://dpaste.de/kTSS
prestorium has quit [Client Quit]
liKe2k1 has joined #ruby
<liKe2k1> Hey guys, how can I optimize multiple regex group matches. Currently 16 matches (sperate lines with line =~ regex) takes about 2 seconds..
<havenwood> liKe2k1: Show the code?
<liKe2k1> Give me a minute
CCDelivery has joined #ruby
CCDelivery has quit [Remote host closed the connection]
<liKe2k1> Oh crap.. found my issue.
jenrzzz has joined #ruby
<liKe2k1> body.each_line do |chunk] ... if body ~= regex do ...is not the best to reach the goal
<liKe2k1> +way
<havenwood> liKe2k1: Especially if there are many lines!
<liKe2k1> Yep :/ arround 900000
<havenwood> liKe2k1: If you're not using the match data from ~=, it's faster to use #match? too.
rsh has quit [Ping timeout: 272 seconds]
<havenwood> liKe2k1: if body.match? regex
<liKe2k1> i use the capture group
<havenwood> ah, roger that
<havenwood> liKe2k1: sounds like a good 900000x improvement ;)
<liKe2k1> but for completition: https://dpaste.de/2KUp
axsuul has quit [Ping timeout: 268 seconds]
rindolf has joined #ruby
<rindolf> hi all
<liKe2k1> hi
<rokra> liKe2k1: start to avoid .* which is computing consuming
<rindolf> liKe2k1: sup?
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
<liKe2k1> rokra, thanks I will consider it after I figure it out which chars are valid.
themsay has quit [Read error: Connection reset by peer]
axsuul has joined #ruby
zlogan85 has joined #ruby
<liKe2k1> havenwood, Yep Its now on steroids! :D
<havenwood> liKe2k1: nice
<liKe2k1> Thanks!
themsay has joined #ruby
zlogan2003 has quit [Ping timeout: 258 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
fphilipe_ has quit [Ping timeout: 248 seconds]
prestorium has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Esa_ has quit []
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has joined #ruby
sameerynho has joined #ruby
bradleyprice has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
bradleyprice has quit [Remote host closed the connection]
bradleyprice_ has quit [Read error: Connection reset by peer]
bradleyprice has joined #ruby
rindolf has quit [Quit: http://www.shlomifish.org/ ; Some people grow older and wiser. Not I. I grow older and more foolish.]
tpanarch1st has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
griffindy has joined #ruby
dbugger__ has quit [Ping timeout: 250 seconds]
fphilipe_ has joined #ruby
drale2k_ has joined #ruby
snickers has joined #ruby
dbugger has joined #ruby
griffindy has quit [Ping timeout: 245 seconds]
drale2k_ has quit [Client Quit]
prestorium has quit [Quit: prestorium]
DTZUZO has joined #ruby
hutch1 has quit [Ping timeout: 268 seconds]
reber has quit [Remote host closed the connection]
jinie has joined #ruby
jinie has quit [Client Quit]
wald0 has quit [Quit: Lost terminal]
ur5us has joined #ruby
Mike11 has joined #ruby
iliaskarim has quit [Ping timeout: 272 seconds]
jinie has joined #ruby
envex has quit []
fphilipe_ has quit [Ping timeout: 248 seconds]
Emmanuel_Chanel has joined #ruby
zlogan85 has quit [Ping timeout: 250 seconds]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
bradleyprice has joined #ruby
AJA4350 has joined #ruby
sameerynho has quit [Ping timeout: 246 seconds]
xco has quit [Quit: xco]
queip has quit [Ping timeout: 246 seconds]
Ai9zO5AP has quit [Ping timeout: 245 seconds]
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
queip has joined #ruby
jenrzzz_ has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
Matadoer has joined #ruby
prestorium has joined #ruby
rsh has joined #ruby
fphilipe_ has joined #ruby
gigetoo has quit [Ping timeout: 248 seconds]
xco has joined #ruby
gigetoo has joined #ruby
rsh has quit [Ping timeout: 248 seconds]
wolfshappen has joined #ruby
priodev has quit [Ping timeout: 272 seconds]
jeremycw has quit [Ping timeout: 272 seconds]
bradleyprice has quit [Remote host closed the connection]
dbugger has quit [Ping timeout: 248 seconds]
bradleyprice has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
bradleyprice has joined #ruby
prestorium has quit [Quit: prestorium]
nakuku has joined #ruby
ltp has joined #ruby
bradleyprice has quit [Ping timeout: 245 seconds]
xco has quit [Quit: xco]
xco has joined #ruby
priodev has joined #ruby
dbugger has joined #ruby
dviola has quit [Quit: WeeChat 2.5]
jenrzzz has quit [Ping timeout: 245 seconds]
bradleyprice has joined #ruby
fphilipe_ has quit [Ping timeout: 258 seconds]
AJA4350 has quit [Ping timeout: 248 seconds]
shansen has quit [Remote host closed the connection]
yaewa has quit [Quit: Leaving...]
shansen has joined #ruby
ricekrispie has quit [Quit: YEET]
xco has quit [Quit: xco]
bradleyprice has quit [Remote host closed the connection]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
bradleyprice has joined #ruby
xco has joined #ruby
nahra has joined #ruby
bradleyprice has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
xco has quit [Quit: xco]
Mike11 has quit [Quit: Leaving.]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 248 seconds]
cd has quit [Quit: cd]
mozzarella has quit [Remote host closed the connection]
rsh has joined #ruby
mozzarella has joined #ruby
nakuku has quit [Remote host closed the connection]
rsh has quit [Ping timeout: 248 seconds]
Swyper has joined #ruby
xco has joined #ruby
xco has quit [Client Quit]
xco has joined #ruby
tdy has joined #ruby