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]
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]
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]