havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.0, 2.3.3 & 2.2.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby
enilsen16 has quit [Quit: enilsen16]
harai_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
enilsen16 has joined #ruby
charliesome has joined #ruby
enilsen16 has quit [Client Quit]
lmc has quit [Quit: Leaving...]
enilsen16 has joined #ruby
ur5us has joined #ruby
littlefeet has joined #ruby
foption has quit [Remote host closed the connection]
arescorpio has joined #ruby
gusrub has quit [Remote host closed the connection]
enyo has joined #ruby
Devalo has joined #ruby
enyo has quit [Ping timeout: 245 seconds]
gusrub has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.6]
marr has quit [Ping timeout: 258 seconds]
bronson has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
troys_ is now known as troys
Qommand0r has quit [Ping timeout: 246 seconds]
dhollinger has quit [Ping timeout: 258 seconds]
uu has quit [Ping timeout: 264 seconds]
xall has joined #ruby
Pumukel has joined #ruby
al2o3-cr has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
djbkd_ has quit [Quit: Leaving...]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
xall has quit [Ping timeout: 248 seconds]
brendan- has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Qommand0r has joined #ruby
rgiscard has quit [Quit: Cheers]
alexar has joined #ruby
enilsen16 has quit [Quit: enilsen16]
d0nn1e has quit [Ping timeout: 246 seconds]
ResidentBiscuit has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
harai_ has quit [Ping timeout: 240 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
eb0t has quit [Read error: Connection reset by peer]
d0nn1e has joined #ruby
eb0t has joined #ruby
jhack has joined #ruby
ResidentBiscuit has quit [Ping timeout: 258 seconds]
polysics has joined #ruby
uu has joined #ruby
symm- has joined #ruby
jhack has quit [Quit: jhack]
Guest88 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polysics has quit [Ping timeout: 268 seconds]
nankyokusei has joined #ruby
h1fuelcell has joined #ruby
Rodya_ has joined #ruby
alexar has quit [Remote host closed the connection]
alexar has joined #ruby
symm- has quit [Quit: Leaving...]
nankyokusei has quit [Ping timeout: 246 seconds]
shayan_ has joined #ruby
xall has joined #ruby
anjen has quit [Quit: anjen]
jhack has joined #ruby
oaklndr1 has quit [Remote host closed the connection]
xall has quit [Ping timeout: 256 seconds]
aremaref has quit [Ping timeout: 265 seconds]
oaklndr1 has joined #ruby
oaklndr1 has quit [Ping timeout: 258 seconds]
tvw has quit []
shayan_ has quit [Quit: shayan_]
[Butch] has quit [Quit: I'm out . . .]
yeticry has quit [Quit: leaving]
spk has quit [Quit: ZNC - http://znc.in]
h1fuelcell has quit [Remote host closed the connection]
Gasher has quit [Quit: Leaving]
naprimer_3 has joined #ruby
naprimer_2 has quit [Ping timeout: 258 seconds]
bronson has joined #ruby
shayan_ has joined #ruby
h1fuelcell has joined #ruby
A124 has quit [Quit: '']
troys is now known as troys_
Pumukel has joined #ruby
gusrub has quit [Remote host closed the connection]
beilabs has joined #ruby
kus has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
A124 has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
beilabs_ has quit [Ping timeout: 246 seconds]
shayan_ has quit [Quit: shayan_]
Pumukel has quit [Ping timeout: 246 seconds]
jackjackdripper has quit [Quit: Leaving.]
gusrub has joined #ruby
FastJack has quit [Ping timeout: 264 seconds]
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
spk has joined #ruby
xall has joined #ruby
beilabs has quit [Ping timeout: 248 seconds]
cyphase has quit [Ping timeout: 260 seconds]
xall has quit [Ping timeout: 248 seconds]
rnetocombr has joined #ruby
cyphase has joined #ruby
FastJack has joined #ruby
polysics has joined #ruby
newbie1 has quit [Ping timeout: 252 seconds]
yaewa has joined #ruby
moei has quit [Ping timeout: 256 seconds]
ruby has joined #ruby
ruby is now known as Guest53205
polysics has quit [Ping timeout: 264 seconds]
nowhere_man has quit [Ping timeout: 245 seconds]
Channel6 has joined #ruby
_sfiguser has quit [Ping timeout: 260 seconds]
jhack has quit [Quit: jhack]
jeyraof has joined #ruby
jeyraof has quit [Client Quit]
_sfiguser has joined #ruby
enyo has joined #ruby
splud has quit [Quit: splud]
ruby-lang492 has joined #ruby
splud has joined #ruby
enyo has quit [Ping timeout: 252 seconds]
h1fuelcell has quit [Remote host closed the connection]
machinewar has joined #ruby
h1fuelcell has joined #ruby
pilne has quit [Quit: Quitting!]
enilsen16 has joined #ruby
rnetocombr has quit [Quit: Leaving]
unreal has quit [Read error: Connection reset by peer]
h1fuelcell has quit [Ping timeout: 248 seconds]
xall has joined #ruby
johnmilton has joined #ruby
Qommand0r has quit [Ping timeout: 245 seconds]
SCHAAP137 has quit [Quit: ZNC - http://znc.in]
xall has quit [Ping timeout: 260 seconds]
unreal has joined #ruby
d^sh_ has joined #ruby
bronson has joined #ruby
Qommand0r has joined #ruby
splud has quit [Quit: splud]
SCHAAP137 has joined #ruby
feynman has quit [Read error: Connection reset by peer]
d^sh has quit [Ping timeout: 252 seconds]
<username_> is it possible to pass arguments AND a block to a function?
<username_> im basically trying to simulate passing arguments and a first class function
<ruby-lang492> username why not
<username_> ruby-lang492: like myFunction(arg1, arg2) do; .....; end
<ruby-lang492> ya
<ruby-lang492> which client side programming is best for rails?
<username_> ruby-lang492: javascript
<ruby-lang492> javascript syntanx and ruby abit like different
vikaton has joined #ruby
<ruby-lang492> anything that is similiar to ruby syntax?
bronson has quit [Ping timeout: 245 seconds]
bb010g has joined #ruby
_defk0n_ has quit [Quit: Its been real!]
<username_> coffeescript?
<username_> precompile to js
<ruby-lang492> coffeescript good for beginneers to learn?
troys_ is now known as troys
<ruby-lang492> must you know js to learn coffescript?
<Papierkorb> Learn JS. you need to anyway.
symm- has joined #ruby
_defk0n_ has joined #ruby
<ruby-lang492> ok thx
enilsen16 has quit [Quit: enilsen16]
<ruby-lang492> JavaScript and JQuery: Interactive Front-End Web Development good book?
nadir|mobile has joined #ruby
_defk0n_ has quit [Client Quit]
Qommand0r has quit [Quit: WeeChat 1.6]
dhollinger has joined #ruby
SCHAAP137 has quit [Quit: ZNC - http://znc.in]
ruby-lang492 has quit [Ping timeout: 260 seconds]
Yxhuvud has quit [Ping timeout: 264 seconds]
johnmilton has quit [Remote host closed the connection]
cyphase has quit [Ping timeout: 246 seconds]
SCHAAP137 has joined #ruby
<machinewar> is there any way for a method to know its the last one in a method chain?
cyphase has joined #ruby
polysics has joined #ruby
JoshS has joined #ruby
xall has joined #ruby
kus has quit [Quit: Konversation terminated!]
Robtop__ has joined #ruby
jmignault has joined #ruby
xall has quit [Ping timeout: 258 seconds]
nankyokusei has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 265 seconds]
tarvos has joined #ruby
jmignault has quit [Ping timeout: 246 seconds]
nankyokusei has quit [Ping timeout: 258 seconds]
optiz0r has quit [Ping timeout: 256 seconds]
testuser1 has joined #ruby
username_ has quit [Ping timeout: 245 seconds]
libastral has quit [Ping timeout: 248 seconds]
libastral has joined #ruby
skweek has joined #ruby
hanmac has quit [Ping timeout: 240 seconds]
symm- has quit [Ping timeout: 268 seconds]
dnicole_ has quit [Remote host closed the connection]
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
h1fuelcell has joined #ruby
tarvos has quit [Quit: Page closed]
iMadper is now known as Madper|AAAFFFKKK
symm- has joined #ruby
pwnd_nsfw has joined #ruby
h1fuelcell has quit [Ping timeout: 256 seconds]
Robtop__ has quit [Ping timeout: 245 seconds]
blackbom1 has quit [Ping timeout: 265 seconds]
blackbombay has joined #ruby
xall has joined #ruby
hanmac has joined #ruby
bronson has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
Pumukel has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
xall has quit [Ping timeout: 268 seconds]
_djbkd has joined #ruby
aremaref has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
shayan_ has joined #ruby
cyphase has quit [Ping timeout: 246 seconds]
arescorpio has quit [Quit: Leaving.]
xall has joined #ruby
harai_ has joined #ruby
cyphase has joined #ruby
jolamb has quit [Ping timeout: 260 seconds]
theRoUS has quit [Ping timeout: 256 seconds]
jack has joined #ruby
theRoUS has joined #ruby
xall has quit [Ping timeout: 248 seconds]
pawnbox has joined #ruby
beilabs has joined #ruby
jolamb has joined #ruby
gusrub has quit [Read error: Connection reset by peer]
gusrub has joined #ruby
dviola has quit [Quit: WeeChat 1.6]
enyo has joined #ruby
_djbkd has quit [Quit: My people need me...]
xall has joined #ruby
gusrub__ has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
gusrub__ has quit [Remote host closed the connection]
gusrub has quit [Ping timeout: 246 seconds]
enyo has quit [Ping timeout: 258 seconds]
ruby590 has joined #ruby
gusrub has joined #ruby
optiz0r has joined #ruby
enilsen16 has joined #ruby
ruby590 has left #ruby [#ruby]
beilabs has quit [Ping timeout: 252 seconds]
JosephAustin has joined #ruby
symm- has quit [Quit: Leaving...]
<JosephAustin> Hey you guys. I have a question i cant seem to google-fu an answer to. is 'load <file>' thread safe? Or if some other thread is midway through a function in the loaded file, will it explode in my face
enilsen16 has quit [Client Quit]
<JosephAustin> because i wanted code to dynamically reload with like, 100+ threads accessing it >_> i mean, rails does it
j0bk has quit [Ping timeout: 250 seconds]
j0bk has joined #ruby
Trynemjoel has quit [Quit: Quitting]
SeepingN has joined #ruby
enilsen16 has joined #ruby
foption has joined #ruby
foption has quit [Remote host closed the connection]
<JosephAustin> i wonder why i cant find anyone else asking this. Live code in a multi-user environment should be a common problem
ur5us has quit [Remote host closed the connection]
brendan- has joined #ruby
Trynemjoel has joined #ruby
<JosephAustin> … closest thing ive found suggests 'autoload' is at least not threadsafe
<JosephAustin> oh. thats an old article and may no longer be true.
harai has joined #ruby
jshjsh has joined #ruby
harai_ has quit [Ping timeout: 248 seconds]
<JosephAustin> guess ill have to write some elaborate test and find out
JoshS has quit [Ping timeout: 268 seconds]
chouhoulis has quit [Ping timeout: 258 seconds]
h1fuelcell has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
<JosephAustin> seems like load is threadsafe
h1fuelcell has quit [Remote host closed the connection]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Ikri has joined #ruby
AlexRussia has quit [Ping timeout: 268 seconds]
pawnbox has quit [Remote host closed the connection]
Guest53205 has quit []
pawnbox has joined #ruby
enilsen16 has quit [Quit: enilsen16]
bronson has joined #ruby
pawnbox has quit [Remote host closed the connection]
symm- has joined #ruby
enilsen16 has joined #ruby
pawnbox has joined #ruby
<JosephAustin> so is autoload multithreaded now, or did that never happen
<JosephAustin> okay then.
JosephAustin has left #ruby [#ruby]
Pumukel has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
pawnbox has quit [Remote host closed the connection]
shayan_ has quit [Quit: shayan_]
alexar has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 246 seconds]
alexar has joined #ruby
braincrash has joined #ruby
Ikri has quit [Remote host closed the connection]
sicktastic has joined #ruby
h1fuelcell has joined #ruby
pawnbox has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
xall has quit [Ping timeout: 265 seconds]
rippa has joined #ruby
gix has quit [Ping timeout: 252 seconds]
shayan_ has joined #ruby
troys is now known as troys_
foption has joined #ruby
gix has joined #ruby
Rodya_ has quit [Remote host closed the connection]
tarvos has joined #ruby
jshjsh has quit [Ping timeout: 268 seconds]
sicktastic has quit [Remote host closed the connection]
xall has joined #ruby
cyphase has quit [Ping timeout: 260 seconds]
vikaton has quit [Quit: Connection closed for inactivity]
nankyokusei has joined #ruby
h1fuelcell has joined #ruby
lightstalker has quit [Remote host closed the connection]
hays_ has quit [Changing host]
hays_ has joined #ruby
cyphase has joined #ruby
duderonomy has joined #ruby
frozengeek has quit [Quit: frozengeek]
lightstalker has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
aremaref has quit [Ping timeout: 245 seconds]
_defk0n_ has joined #ruby
h1fuelcell has quit [Ping timeout: 248 seconds]
matp has quit [Quit: ZZzzzZz...]
Madper|AAAFFFKKK is now known as Madper
troys_ is now known as troys
Pumukel has joined #ruby
username_ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
duderonomy has quit [Ping timeout: 245 seconds]
duderonomy has joined #ruby
Channel6 has quit [Quit: Leaving]
_whitelogger has joined #ruby
tarvos has quit [Quit: Lost terminal]
gusrub has quit []
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
EasyMode has joined #ruby
bluOxigen has joined #ruby
JoshS has joined #ruby
bronson has joined #ruby
reverberations has quit [Ping timeout: 265 seconds]
xall has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 260 seconds]
xall has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
reverberations has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
ResidentBiscuit has joined #ruby
enyo has joined #ruby
username_ has quit [Ping timeout: 248 seconds]
AlexRussia has joined #ruby
xall has quit [Ping timeout: 252 seconds]
Anonymoose2 has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
machinewar has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 245 seconds]
reverberations has quit [Ping timeout: 268 seconds]
ResidentBiscuit has quit [Ping timeout: 258 seconds]
enyo has quit [Ping timeout: 252 seconds]
troys is now known as troys_
Xiti` has joined #ruby
raul782 has joined #ruby
minimalism has joined #ruby
Xiti has quit [Ping timeout: 245 seconds]
harai has quit [Ping timeout: 260 seconds]
bocaneri has joined #ruby
pwnd_nsfw has quit [Read error: Connection reset by peer]
Anonymoose2 has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
h1fuelcell has joined #ruby
blackbombay has quit [Ping timeout: 268 seconds]
blackbombay has joined #ruby
h1fuelcell has quit [Ping timeout: 248 seconds]
enilsen16 has quit [Quit: enilsen16]
dionysus69 has joined #ruby
eggshke has joined #ruby
Devalo has joined #ruby
anisha has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
saneax-_-|AFK is now known as saneax
_defk0n_ has quit [Quit: Its been real!]
Devalo has quit [Ping timeout: 246 seconds]
triangles has joined #ruby
codeshah has joined #ruby
reverberations has joined #ruby
troys_ is now known as troys
beilabs has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
beilabs has joined #ruby
A_Drone has joined #ruby
shayan_ has quit [Quit: shayan_]
bronson has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MissionCritical has quit [Ping timeout: 250 seconds]
bronson has quit [Ping timeout: 260 seconds]
hipopo99 has joined #ruby
hipopo99 has left #ruby [#ruby]
beilabs has quit [Ping timeout: 245 seconds]
Xiti` has quit [Ping timeout: 252 seconds]
symm- has quit [Ping timeout: 258 seconds]
nhhc has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.6]
CloCkWeRX has quit [Quit: Leaving.]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZU has quit [Quit: WeeChat 1.5]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nankyokusei has joined #ruby
troys has quit [Quit: Bye]
Lap64 has joined #ruby
coyo has quit [Quit: Heaven is not a place, Bartleby, it's being with people who love you.]
h1fuelcell has joined #ruby
coyo has joined #ruby
ignarps has quit [Ping timeout: 258 seconds]
nankyokusei has quit [Ping timeout: 256 seconds]
amclain has quit [Quit: Leaving]
beilabs has joined #ruby
h1fuelcell has quit [Ping timeout: 248 seconds]
cgibsonmm has joined #ruby
Pumukel has joined #ruby
jack has quit [Quit: Page closed]
<dminuoso> Is there some useful library that abstracts the notion of network interfaces away?
<dminuoso> I just want to interrogate the state of network interfaces on my computer.
cgibsonm_ has joined #ruby
cgibsonmm has quit [Client Quit]
cgibsonm_ has quit [Client Quit]
cgibsonmm has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
harfangk has joined #ruby
Pumukel has quit [Ping timeout: 246 seconds]
ignarps has joined #ruby
cibs has joined #ruby
ayonkhan has joined #ruby
symm- has joined #ruby
braincrash has quit [Ping timeout: 246 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
CloCkWeRX has joined #ruby
AlexRussia has joined #ruby
JoshS has quit [Ping timeout: 265 seconds]
dionysus69 has quit [Remote host closed the connection]
Guest88 has joined #ruby
jgt has joined #ruby
howdoi has joined #ruby
Macaveli has joined #ruby
JoshS has joined #ruby
pwnd_nsfw has joined #ruby
kassav has joined #ruby
Macaveli has quit [Client Quit]
ayonkhan has quit [Ping timeout: 245 seconds]
beilabs has quit [Remote host closed the connection]
beilabs has joined #ruby
<dminuoso> Man my fingers are itching, I have the chance to develop a really awesome custom provisioning system. I'm still not sure what technologies I should employ.
<dminuoso> Part of me really wants to write this in C++ because it's fun
enyo has joined #ruby
ayonkhan has joined #ruby
naprimer_3 has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
beilabs has quit [Ping timeout: 252 seconds]
cibs has quit [Ping timeout: 268 seconds]
emilkarl has joined #ruby
enyo has quit [Ping timeout: 258 seconds]
cibs has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
x00r__ has joined #ruby
ayonkhan has quit [Ping timeout: 258 seconds]
x00r__ has quit [Client Quit]
x00r___ has joined #ruby
cgibsonmm has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
Guest88 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spectrum has joined #ruby
emilkarl has quit [Read error: Connection reset by peer]
SJr has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ResidentBiscuit has quit [Ping timeout: 258 seconds]
bluOxigen has quit [Ping timeout: 246 seconds]
emilkarl has joined #ruby
harai has joined #ruby
SpiffTR has joined #ruby
blaxter has joined #ruby
SesMan has joined #ruby
SpiffTR has quit [Quit: Leaving.]
enyo has joined #ruby
Devalo has joined #ruby
h1fuelcell has joined #ruby
Devalo has quit [Remote host closed the connection]
jgt has quit [Read error: No route to host]
h1fuelcell has quit [Ping timeout: 248 seconds]
Pumukel has joined #ruby
walterheck has joined #ruby
naprimer has joined #ruby
Devalo has joined #ruby
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 246 seconds]
wugy has joined #ruby
wugy has quit [Excess Flood]
matp has joined #ruby
symm- has quit [Ping timeout: 268 seconds]
cgibsonmm has joined #ruby
cgibsonmm has quit [Remote host closed the connection]
BitWhisperer has quit [Ping timeout: 265 seconds]
cgibsonmm has joined #ruby
biberu has joined #ruby
BitWhisperer has joined #ruby
raul782 has quit [Remote host closed the connection]
enyo has quit [Ping timeout: 246 seconds]
olegt has joined #ruby
bronson has joined #ruby
Devalo has quit [Remote host closed the connection]
Fernando-Basso has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
Kug3lis has joined #ruby
rajdesai has joined #ruby
slackbotgz has joined #ruby
raul782 has joined #ruby
raul782 has quit [Remote host closed the connection]
blaxter has quit [Quit: foo]
BitWhisperer has quit [Ping timeout: 246 seconds]
haylon has quit [Quit: Leaving]
icey has quit [Ping timeout: 265 seconds]
lszhu has quit [Ping timeout: 252 seconds]
testuser1 has quit [Quit: Leaving.]
testuser1 has joined #ruby
lszhu has joined #ruby
testuser1 has quit [Client Quit]
naprimer has quit [Ping timeout: 246 seconds]
BitWhisperer has joined #ruby
icey has joined #ruby
icey has quit [Changing host]
icey has joined #ruby
enyo has joined #ruby
atmosx has joined #ruby
ayonkhan has joined #ruby
marr has joined #ruby
lxsameer has joined #ruby
nankyokusei has joined #ruby
emilkarl has quit [Quit: emilkarl]
nankyokusei has quit [Ping timeout: 258 seconds]
dionysus69 has joined #ruby
Pumukel has joined #ruby
charliesome has joined #ruby
h1fuelcell has joined #ruby
roshanavand__ has joined #ruby
loechel has joined #ruby
jgt has joined #ruby
naprimer has joined #ruby
slackbotgz has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
h1fuelcell has quit [Ping timeout: 248 seconds]
cibs has quit [Ping timeout: 268 seconds]
spectrum has quit [Read error: Connection reset by peer]
cibs has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
flying has joined #ruby
beilabs has joined #ruby
ishe_ua has joined #ruby
jgt has quit [Ping timeout: 258 seconds]
braincrash has joined #ruby
alem0lars has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
Couch has joined #ruby
duderonomy has joined #ruby
bronson has joined #ruby
Pumukel has quit [Ping timeout: 246 seconds]
beilabs has quit [Remote host closed the connection]
jgt has joined #ruby
alem0lars has joined #ruby
pwnd_nsfw` has joined #ruby
pawnbox has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 258 seconds]
pawnbox has joined #ruby
jenrzzz has joined #ruby
lenwood has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
pwnd_nsfw has quit [Ping timeout: 264 seconds]
ResidentBiscuit has joined #ruby
cgibsonmm has quit [Remote host closed the connection]
nettoweb has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
cgibsonmm has joined #ruby
cgibsonmm has quit [Remote host closed the connection]
nettoweb has quit [Client Quit]
cgibsonmm has joined #ruby
testuser1 has joined #ruby
cgibsonmm has quit [Remote host closed the connection]
ResidentBiscuit has quit [Ping timeout: 240 seconds]
braincrash has quit [Ping timeout: 246 seconds]
Guest1564 has joined #ruby
djbkd has quit [Quit: Leaving...]
matp has quit [Quit: Bye!]
matp has joined #ruby
testuser1 has quit [Ping timeout: 260 seconds]
ferr1 has joined #ruby
milardovich has joined #ruby
Cra2yZer` has quit [Remote host closed the connection]
Cra2yZer` has joined #ruby
eggshke has quit [Ping timeout: 245 seconds]
eggshke has joined #ruby
Guest1564 has quit [Ping timeout: 245 seconds]
rajdesai has quit [Remote host closed the connection]
rajdesai has joined #ruby
djbkd has joined #ruby
AlexRussia has quit [Ping timeout: 268 seconds]
jgt has quit [Read error: Connection reset by peer]
rajdesai has quit [Ping timeout: 264 seconds]
pawnbox_ has joined #ruby
Devalo has joined #ruby
pawnbox has quit [Ping timeout: 256 seconds]
banisterfiend has joined #ruby
BTRE has quit [Ping timeout: 256 seconds]
_whitelogger has joined #ruby
Keltia_ has joined #ruby
chrisseaton_ has joined #ruby
Heero_ has joined #ruby
avdi_ has joined #ruby
Eleeleth_ has joined #ruby
rann_ has joined #ruby
canton7 has quit [Ping timeout: 260 seconds]
ken_barber has quit [Ping timeout: 246 seconds]
hayden___ has joined #ruby
poikon_ has joined #ruby
edorf_ has joined #ruby
andersh_ has joined #ruby
quoboo_ has joined #ruby
HashNuke_ has joined #ruby
bove_ has joined #ruby
boxrick1_ has joined #ruby
lipoqil_ has joined #ruby
Antiarc_ has joined #ruby
chromis_ has joined #ruby
chee has quit [Ping timeout: 258 seconds]
adambeynon_ has joined #ruby
D9- has joined #ruby
vaxxon_ has joined #ruby
<manveru> C++ and fun... don't think i ever heard that :)
TheSpect1e has joined #ruby
djbkd has quit []
camilasann has joined #ruby
doubleemms has quit [Remote host closed the connection]
cyphase has quit [Ping timeout: 240 seconds]
Dutjub has quit [Quit: Dutjub]
jshjsh has joined #ruby
Pumukel has joined #ruby
shortdudey123_ has joined #ruby
canton7 has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
svkurowski has quit [*.net *.split]
dminuoso has quit [*.net *.split]
crayfishx has quit [*.net *.split]
jokke has quit [*.net *.split]
izaac has quit [*.net *.split]
Caius has quit [*.net *.split]
camilasan has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
Log1x has quit [*.net *.split]
paramourne has quit [*.net *.split]
Liothen has quit [*.net *.split]
chridal has quit [*.net *.split]
sjums_ has quit [*.net *.split]
Rich_Morin has quit [*.net *.split]
darix has quit [*.net *.split]
chg has quit [*.net *.split]
russt has quit [*.net *.split]
infernix has quit [*.net *.split]
leah2 has quit [*.net *.split]
voker57 has quit [*.net *.split]
Antiarc has quit [*.net *.split]
rgs has quit [*.net *.split]
Ariadeno has quit [*.net *.split]
fatbob has quit [*.net *.split]
vaxxon has quit [*.net *.split]
alxgsv has quit [*.net *.split]
fedruantine has quit [*.net *.split]
claw has quit [*.net *.split]
KnownSyntax has quit [*.net *.split]
nunchuck has quit [*.net *.split]
multivac[m] has quit [*.net *.split]
JStoker has quit [*.net *.split]
daveyboi[m] has quit [*.net *.split]
philidor[m] has quit [*.net *.split]
beawesomeinstead has quit [*.net *.split]
andersh has quit [*.net *.split]
jokester has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
dmnd has quit [*.net *.split]
awk has quit [*.net *.split]
bove has quit [*.net *.split]
Heero has quit [*.net *.split]
Cyrus has quit [*.net *.split]
GooseYArd has quit [*.net *.split]
rann has quit [*.net *.split]
quoboo has quit [*.net *.split]
boxrick1 has quit [*.net *.split]
greister has quit [*.net *.split]
hayden__ has quit [*.net *.split]
electrostat has quit [*.net *.split]
Eleeleth has quit [*.net *.split]
edorf has quit [*.net *.split]
HashNuke has quit [*.net *.split]
poikon has quit [*.net *.split]
lucas_ has quit [*.net *.split]
davidmichaelkarr has quit [*.net *.split]
lipoqil has quit [*.net *.split]
shortdudey123 has quit [*.net *.split]
Keltia has quit [*.net *.split]
edgr has quit [*.net *.split]
chromis has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
adambeynon has quit [*.net *.split]
avdi has quit [*.net *.split]
perry has quit [*.net *.split]
TheSpectre has quit [*.net *.split]
D9 has quit [*.net *.split]
surrounder has quit [*.net *.split]
bjmllr has quit [*.net *.split]
Phage has quit [*.net *.split]
phantummm has quit [*.net *.split]
twe4ked has quit [*.net *.split]
syndikate has quit [*.net *.split]
cb has quit [*.net *.split]
RushPL has quit [*.net *.split]
Rush has quit [*.net *.split]
contradictioned has quit [*.net *.split]
tjikkun has quit [*.net *.split]
artmann_ has quit [*.net *.split]
elomatreb has quit [*.net *.split]
thejoecarroll_ has quit [*.net *.split]
ljarvis has quit [*.net *.split]
r4z3r has quit [*.net *.split]
MadWasp has quit [*.net *.split]
pocketprotector has quit [*.net *.split]
nirix has quit [*.net *.split]
squarebracket has quit [*.net *.split]
EvilJStoker has quit [*.net *.split]
unsymbol has quit [*.net *.split]
beawesomeinstead has joined #ruby
shortdudey123_ is now known as shortdudey123
russt has joined #ruby
adambeynon_ is now known as adambeynon
davidmichaelkarr has joined #ruby
Liothen has joined #ruby
Liothen has quit [Changing host]
Liothen has joined #ruby
edorf_ is now known as edorf
cyphase has joined #ruby
hayden___ is now known as hayden__
syndikate has joined #ruby
bronson has joined #ruby
Eleeleth_ is now known as Eleeleth
andersh_ is now known as andersh
<apeiros> manveru: sure, why not?
chromis_ is now known as chromis
Heero_ is now known as Heero
paramourne has joined #ruby
quoboo_ is now known as quoboo
<apeiros> I enjoyed programming my arduino
poikon_ is now known as poikon
chrisseaton_ is now known as chrisseaton
<apeiros> of course, I'd have had more fun using ruby, but still, it's fun.
HashNuke_ is now known as HashNuke
rann_ is now known as rann
lipoqil_ is now known as lipoqil
boxrick1_ is now known as boxrick1
bove_ is now known as bove
fedruantine has joined #ruby
ur5us has quit [Remote host closed the connection]
KnownSyntax has joined #ruby
ghostlight has quit [Ping timeout: 264 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
uu has quit [Ping timeout: 252 seconds]
aupadhye has joined #ruby
chee has joined #ruby
svkurowski has joined #ruby
izaac has joined #ruby
Rich_Morin has joined #ruby
Caius has joined #ruby
sjums_ has joined #ruby
tjikkun has joined #ruby
chg has joined #ruby
Log1x has joined #ruby
kaspergrubbe has joined #ruby
chridal has joined #ruby
infernix has joined #ruby
darix has joined #ruby
jokke has joined #ruby
crayfishx has joined #ruby
dminuoso has joined #ruby
leah2 has joined #ruby
voker57 has joined #ruby
claw has joined #ruby
Phage has joined #ruby
fatbob has joined #ruby
Ariadeno has joined #ruby
multivac[m] has joined #ruby
rgs has joined #ruby
philidor[m] has joined #ruby
daveyboi[m] has joined #ruby
JStoker has joined #ruby
jokester has joined #ruby
roger_rabbit has joined #ruby
awk has joined #ruby
Cyrus has joined #ruby
lucas_ has joined #ruby
electrostat has joined #ruby
GooseYArd has joined #ruby
edgr has joined #ruby
perry has joined #ruby
phantummm has joined #ruby
twe4ked has joined #ruby
cb has joined #ruby
surrounder has joined #ruby
RushPL has joined #ruby
Rush has joined #ruby
contradictioned has joined #ruby
thejoecarroll_ has joined #ruby
elomatreb has joined #ruby
artmann_ has joined #ruby
squarebracket has joined #ruby
EvilJStoker has joined #ruby
r4z3r has joined #ruby
nirix has joined #ruby
ljarvis has joined #ruby
MadWasp has joined #ruby
pocketprotector has joined #ruby
unsymbol has joined #ruby
avdi_ is now known as avdi
sepp2k has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
perry has quit [Excess Flood]
roger_rabbit has quit [Max SendQ exceeded]
perry has joined #ruby
perry has joined #ruby
perry has quit [Changing host]
CloCkWeRX has quit [Ping timeout: 246 seconds]
roger_rabbit has joined #ruby
bjmllr has joined #ruby
Lap64 has quit [Quit: Leaving]
ResidentBiscuit has joined #ruby
Jackneill has joined #ruby
tatey has joined #ruby
ResidentBiscuit has quit [Ping timeout: 240 seconds]
<zenspider> apeiros: there used to be a ruby 2 arduino project... dunno if it still works
cyphase has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
anisha has quit [Ping timeout: 260 seconds]
Macaveli has joined #ruby
pandaant has joined #ruby
<apeiros> zenspider: given the resources the arduino provides, I think I'll stick with C++ for it :)
<apeiros> I love ruby. but sometimes working in other languages feels good.
alxgsv has joined #ruby
<zenspider> it was a transpiler
<zenspider> resources weren't an issue
cyphase has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
ghostlight has joined #ruby
uu has joined #ruby
Devalo has quit [Remote host closed the connection]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tatey has quit [Quit: ZNC - http://znc.in]
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
tatey has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
AlexRussia has joined #ruby
rajdesai has joined #ruby
rippa has joined #ruby
frozengeek has joined #ruby
manjaro-kde5__ has joined #ruby
anisha has joined #ruby
nankyokusei has quit [Ping timeout: 245 seconds]
saneax is now known as saneax-_-|AFK
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
manjaro-kde5__ has quit [Client Quit]
cgibsonmm has joined #ruby
CloCkWeRX has joined #ruby
lenwood has quit [Ping timeout: 258 seconds]
dnicole has joined #ruby
h1fuelcell has joined #ruby
ken_barber has joined #ruby
Kug3lis has joined #ruby
Pumukel has joined #ruby
h1fuelcell has quit [Ping timeout: 248 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
aidalgol has quit [Quit: zZzZZZzz]
Pumukel has quit [Ping timeout: 246 seconds]
killua has joined #ruby
<killua> hi
Pumukel has joined #ruby
CloCkWeRX has quit [Ping timeout: 258 seconds]
TomyLobo has joined #ruby
<manveru> looks like rcov is broken on 2.4 :(
cgibsonmm has quit [Remote host closed the connection]
<killua> getting warnings on compiling source on fedora
enyo has quit [Ping timeout: 246 seconds]
aupadhye has quit [Ping timeout: 258 seconds]
killua is now known as help
<manveru> oh, rcov was broken since 1.9...
help is now known as Guest28591
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 260 seconds]
gajus has joined #ruby
<apeiros> manveru: simple-rcov replaced it
eggshke has quit [Remote host closed the connection]
<manveru> jup
charliesome has joined #ruby
nadir|mobile is now known as nadir
<zenspider> you mean simplecov ?
<manveru> simplecov
Pumukel has joined #ruby
cyberRavan has joined #ruby
mdw has joined #ruby
tatey has quit [Quit: ZNC - http://znc.in]
Guest28591 has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
tatey has joined #ruby
<manveru> well, it's buggy but it kinda works
<manveru> now just gotta figure out how to make it work with bacon
benlieb has joined #ruby
postmodern has quit [Quit: Leaving]
loechel has joined #ruby
aupadhye has joined #ruby
CloCkWeRX has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
aupadhye has quit [Ping timeout: 245 seconds]
karapetyan has joined #ruby
benlieb has quit [Quit: benlieb]
<zenspider> bacon?? that's still used somewhere?
<manveru> i still use it for my stuff :)
<zenspider> manveru: good luck. simplecov is kinda a pita. I can get it to work with minitest SOMETIMES>.. so maybe you can use minitest-bacon :)
<manveru> no worries, got simplecov working already
<manveru> it's got an annoying bug though, it copies the assets for the coverage html from the gem without adjusting permissions
Devalo has quit [Remote host closed the connection]
<manveru> so when i run it twice, it'll fail because the files are read-only
rajdesai has quit [Remote host closed the connection]
rajdesai has joined #ruby
muuse has joined #ruby
Gasher has joined #ruby
rajdesai has quit [Ping timeout: 265 seconds]
CloCkWeRX has quit [Ping timeout: 258 seconds]
d^sh_ is now known as d^sh
enyo has joined #ruby
montanonic has quit [Ping timeout: 248 seconds]
montanonic has joined #ruby
mdw_ has joined #ruby
iogf has joined #ruby
foption has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 248 seconds]
foption has joined #ruby
Bacta has joined #ruby
marcoecc has quit [Remote host closed the connection]
mdw has quit [Ping timeout: 252 seconds]
h1fuelcell has joined #ruby
doubleemms has joined #ruby
iogf has quit [Remote host closed the connection]
doubleemms has quit [Ping timeout: 240 seconds]
h1fuelcell has quit [Ping timeout: 248 seconds]
shinnya has joined #ruby
A124 has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
nunchuck has joined #ruby
dmnd has joined #ruby
CloCkWeRX has joined #ruby
dviola has joined #ruby
A124 has joined #ruby
catphish has left #ruby ["Leaving"]
aupadhye has joined #ruby
karapety_ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
flying has quit [Read error: Connection reset by peer]
flying has joined #ruby
Qommand0r has joined #ruby
vasilakisfil has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
<vasilakisfil> hello! when I do 1&.foobar I get undefined method foobar.. shouldn't I get nil ?
sdwrage has joined #ruby
nowhere_man has joined #ruby
milardovich has quit [Remote host closed the connection]
pawnbox has joined #ruby
milardovich has joined #ruby
bronson has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
karapety_ has quit [Remote host closed the connection]
<vasilakisfil> ok I think I got it.. it only works for nil
milardovich has quit [Ping timeout: 264 seconds]
<dminuoso> vasilakisfil: &. will invoke if the LHS is not nil - if the method still does not exist, you get the exception.
<dminuoso> vasilakisfil: For example:
<dminuoso> 1.this_method_does_not_exist
<dminuoso> >> 1.this_method_does_not_exist
<ruby[bot]> dminuoso: # => undefined method `this_method_does_not_exist' for 1:Fixnum (NoMethodError) ...check link for more (https://eval.in/705902)
<dminuoso> >> 1&.this_method_does_not_exist
<ruby[bot]> dminuoso: # => undefined method `this_method_does_not_exist' for 1:Fixnum (NoMethodError) ...check link for more (https://eval.in/705903)
<dminuoso> These two are equivalent, because 1 is not nil
montanonic has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 265 seconds]
<zenspider> I know I sound like an old man... but UGH I do not like &.
<dminuoso> ^-
mdw_ has quit [Quit: Sleeping Zzzzz]
<herwin> now I feel like an old man...
<dminuoso> zenspider: I only use it in rails, because it's sometimes the more elegant way: td= resource.house&.street&.district&.city&.name
<zenspider> that's not elegant
rajdesai has joined #ruby
hightower2 has joined #ruby
skydiver_ has joined #ruby
minimalism has quit [Quit: minimalism]
<dminuoso> Yeah I guess
tubuliferous has quit [Ping timeout: 248 seconds]
hightower3 has quit [Ping timeout: 260 seconds]
Yxhuvud has joined #ruby
sdothum has joined #ruby
* apeiros remembers when zenspider patched NilClass#method_missing
<apeiros> boy was I pissed :D
<apeiros> If we could subclass NilClass maybe we could have a sane null-pattern in ruby. but the way it is now I don't feel like using that. and non-nullable is IMO not viable everywhere. so &. while ugly is a viable compromise. that's my $0.02 :)
SpiffTR has joined #ruby
nankyokusei has joined #ruby
mdw has joined #ruby
jottr has joined #ruby
mdw has quit [Max SendQ exceeded]
nhhc has quit [Quit: Leaving]
mdw has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
rwb has quit [Ping timeout: 256 seconds]
jottr has quit [Ping timeout: 248 seconds]
cyberRavan has left #ruby [#ruby]
psychicist__ has joined #ruby
GinoManWorks has joined #ruby
foption has quit [Remote host closed the connection]
foption has joined #ruby
h1fuelcell has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
atomicTrue has joined #ruby
shinnya has quit [Ping timeout: 256 seconds]
h1fuelcell has quit [Ping timeout: 248 seconds]
millerti_ has joined #ruby
millerti has quit [Ping timeout: 248 seconds]
SpiffTR has quit [Quit: Leaving.]
last_staff has joined #ruby
gnufied has joined #ruby
milardovich has joined #ruby
ishe_ua has quit [Remote host closed the connection]
_ixti_ has joined #ruby
ixti has quit [Ping timeout: 246 seconds]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
nowhere_man has quit [Remote host closed the connection]
foption has quit [Read error: Connection reset by peer]
jottr has joined #ruby
foption has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
jmignault has joined #ruby
bronson has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
atomicTrue has left #ruby [#ruby]
ramortegui has joined #ruby
SpiffTR has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
flyingX has joined #ruby
flying has quit [Ping timeout: 245 seconds]
kus has joined #ruby
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
beilabs has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
jottr has quit [Ping timeout: 245 seconds]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
reverberations has quit [Ping timeout: 258 seconds]
foption has quit [Remote host closed the connection]
foption has joined #ruby
milardovich has joined #ruby
gnufied has quit [Ping timeout: 258 seconds]
kassav has quit [Read error: No route to host]
kassav_ has joined #ruby
kassav_ is now known as kassav
Kug3lis has joined #ruby
pandaant has quit [Remote host closed the connection]
Kug3lis has quit [Client Quit]
Mr_Pancake has joined #ruby
sepp2k1 has joined #ruby
last_staff has quit [Quit: last_staff]
anisha has quit [Quit: Leaving]
sepp2k has quit [Ping timeout: 256 seconds]
koldbrutality has quit [Ping timeout: 252 seconds]
cratchet311 has joined #ruby
doubleemms has joined #ruby
h1fuelcell has joined #ruby
jottr has joined #ruby
Kug3lis has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Ax has joined #ruby
machinewar has joined #ruby
newbie1 has joined #ruby
cratchet311 has quit [Read error: Connection reset by peer]
cratchet311 has joined #ruby
UserJosh has joined #ruby
jhack has joined #ruby
doubleemms has quit [Ping timeout: 258 seconds]
jottr has quit [Ping timeout: 252 seconds]
ruid_ has joined #ruby
Ax has quit [Ping timeout: 265 seconds]
jshjsh has quit [Ping timeout: 268 seconds]
c355e3b has joined #ruby
tvon has quit [Remote host closed the connection]
milardovich has quit [Remote host closed the connection]
tvon has joined #ruby
jmignault has quit [Ping timeout: 256 seconds]
milardov_ has joined #ruby
milardov_ has quit [Remote host closed the connection]
rajdesai has quit [Ping timeout: 245 seconds]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
ruid_ has quit [Ping timeout: 256 seconds]
cratchet311 has quit [Remote host closed the connection]
milardovich has joined #ruby
tvon has quit [Ping timeout: 252 seconds]
cratchet311 has joined #ruby
symm- has joined #ruby
SpiffTR has quit [Quit: Leaving.]
milardovich has quit [Remote host closed the connection]
cratchet311 has quit [Remote host closed the connection]
SpiffTR has joined #ruby
cratchet311 has joined #ruby
Fernando-Basso has quit [Quit: WeeChat 1.6]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
tvon has joined #ruby
saslam has joined #ruby
DLSteve_ has joined #ruby
Azure has joined #ruby
machinewar has quit [Remote host closed the connection]
cratchet311 has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 258 seconds]
bronson has joined #ruby
bronson has quit [Ping timeout: 258 seconds]
jmignault has joined #ruby
GodFather has joined #ruby
ruid_ has joined #ruby
phoo1234567 has joined #ruby
psychicist__ has quit [Ping timeout: 258 seconds]
beilabs has quit [Remote host closed the connection]
psychicist__ has joined #ruby
braincrash has joined #ruby
Yxhuvud has quit [Ping timeout: 265 seconds]
polysics has quit [Remote host closed the connection]
polysics has joined #ruby
Rodya_ has joined #ruby
polysics has quit [Ping timeout: 246 seconds]
beilabs has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
nankyokusei has joined #ruby
ferr1 has quit [Quit: WeeChat 1.6]
zacts has quit [Ping timeout: 245 seconds]
CloCkWeRX has quit [Quit: Leaving.]
walterheck has quit [Ping timeout: 252 seconds]
Yxhuvud has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
milardovich has quit [Remote host closed the connection]
polysics has joined #ruby
milardovich has joined #ruby
Aria has quit [Ping timeout: 248 seconds]
polysics has quit [Remote host closed the connection]
polysics has joined #ruby
jenrzzz has joined #ruby
polysics has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
UserJosh is now known as JoshS
gnufied has joined #ruby
ayonkhan has quit [Quit: Textual IRC Client: www.textualapp.com]
kassav has quit [Quit: kassav]
bronson has joined #ruby
ruid_ has quit [Ping timeout: 265 seconds]
kassav_ has joined #ruby
kassav_ is now known as kassav
cgfbee has quit [Ping timeout: 258 seconds]
GeekOfflineNL has joined #ruby
bronson has quit [Remote host closed the connection]
Couch has quit [Quit: Ex-Chat]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bluOxigen has joined #ruby
cgfbee has joined #ruby
wlanboy has quit [Ping timeout: 248 seconds]
flyingX has quit [Remote host closed the connection]
flying has joined #ruby
Kug3lis has joined #ruby
wlanboy has joined #ruby
wlanboy has quit [Changing host]
wlanboy has joined #ruby
gnufied has quit [Ping timeout: 258 seconds]
doubleemms has joined #ruby
siddart has joined #ruby
machinewar has joined #ruby
username_ has joined #ruby
<machinewar> best way to test for a class to implement a method with rspec? expect(klass.new).to respond_to(:method), or expect(klass.instance_methods).to include(:method)
<machinewar> not quite sure the best way to test this
bronson has joined #ruby
flying has quit []
flying has joined #ruby
doubleemms has quit [Ping timeout: 258 seconds]
bronson has quit [Remote host closed the connection]
SpiffTR has quit [Quit: Leaving.]
username_ has quit [Quit: Lost terminal]
<herwin> first way looks more suitable to me, since that also covers things that are handled via method_missing
gnufied has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
flying has quit []
<Papierkorb> machinewar: do you have a `subject` set up? if so, just ask that to respond_to your :method
aredridel has joined #ruby
roshanavand__ has quit [Ping timeout: 265 seconds]
psychicist__ has quit [Ping timeout: 258 seconds]
Fernando-Basso has joined #ruby
<Papierkorb> machinewar: while herwin's point is valid, your code can become nasty as you may have to clutter the example with (dummy) arguments to the #initializer - You can get around that if you just use your subject. Though to me it'd also be ok to check the instance_methods
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
gnufied has quit [Ping timeout: 258 seconds]
<machinewar> Papierkorb: that's what I was thinking in the case that I add arguments to the initialize function. if my subject is a class though I won't be able to check the instance responds to the method right?
Guest74384 has joined #ruby
kassav has quit [Quit: kassav]
<Papierkorb> machinewar: Why's your subject the class?
kassav_ has joined #ruby
haylon has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
<Papierkorb> machinewar: Is that class 'special'?
kassav_ is now known as kassav
<Papierkorb> As in, is the class itself you want to test, or do you want to test instances of that class?
<machinewar> Papierkorb: well I actually lied the subject is an array of classes
<machinewar> making sure they all implement an interface
Fernando-Basso has quit [Client Quit]
username_ has joined #ruby
<machinewar> its not the best test
<Papierkorb> machinewar: Either store instances of each class instead, or have require all initializers to have the same arguments, or use #instance_methods
<machinewar> makes sense thanks
<Papierkorb> machinewar: I'd go with the first option I think
blackbom1 has joined #ruby
<Papierkorb> Most flexible, and you actually ask the instance if it responds to something, so you're really asking the thing you're testing
<machinewar> yep
<Papierkorb> The #instance_methods solution is only asking the class if the instance would have the method, it's not really testing the instance itself
Ishido has joined #ruby
GodFather has joined #ruby
blackbombay has quit [Ping timeout: 258 seconds]
<Rich_Morin> clear
<Papierkorb> Ctrl+L
GeekOfflineNL has quit [Quit: Leaving]
pwnd_nsfw` has quit [Read error: Connection reset by peer]
pwnd_nsfw` has joined #ruby
Fernando-Basso has joined #ruby
flying has joined #ruby
polysics has joined #ruby
<username_> why is there a Thread class to spin up new threads if CRuby is single threaded?
<username_> its just single threaded unless you spin up your own threads?
<apeiros> why do you think CRuby was single threaded?
GodFather has quit [Ping timeout: 252 seconds]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> CRuby (usually called MRI) has multiple threads. it does not allow them to run in parallel. but concurrency doesn't necessarily have to be parallel.
<username_> ahhhh i see i see
<username_> derp
<username_> apeiros: thanks
polysics has quit [Ping timeout: 258 seconds]
<apeiros> also other implementations do allow parallelism. see jruby.
<apeiros> i.e. language != implementation
harfangk has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
<username_> apeiros: nice
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Ping timeout: 264 seconds]
d0nn1e has quit [Ping timeout: 260 seconds]
Guest74384 has quit [Ping timeout: 264 seconds]
d0nn1e has joined #ruby
shayan_ has joined #ruby
raul782 has joined #ruby
chouhoulis has joined #ruby
gnufied has joined #ruby
zacts has joined #ruby
Xiti has joined #ruby
polysics has joined #ruby
xit has joined #ruby
minimalism has joined #ruby
xit has quit [Client Quit]
xit has joined #ruby
bronson has joined #ruby
milardovich has joined #ruby
rwb has joined #ruby
milardovich has quit [Remote host closed the connection]
kassav has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
vuoto has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
roshanavand__ has joined #ruby
vuoto_ has joined #ruby
alexar has quit [Remote host closed the connection]
vuoto has quit [Client Quit]
CrazyEddy has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 252 seconds]
alexar has joined #ruby
Bacta has quit [Ping timeout: 245 seconds]
polysics has quit [Remote host closed the connection]
conta has joined #ruby
polysics has joined #ruby
nankyokusei has joined #ruby
mic_e has joined #ruby
amclain has joined #ruby
psychicist__ has joined #ruby
polysics has quit [Ping timeout: 258 seconds]
nankyokusei has quit [Ping timeout: 246 seconds]
gnufied has quit [Ping timeout: 265 seconds]
skydiver_ has quit [Ping timeout: 252 seconds]
vuoto_ has quit [Remote host closed the connection]
vasilakisfil has quit [Remote host closed the connection]
xit has quit [Ping timeout: 265 seconds]
gusrub has joined #ruby
agit0 has joined #ruby
skweek has joined #ruby
nanoz has joined #ruby
canteen4 has quit [Ping timeout: 268 seconds]
ace05 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
doubleemms has joined #ruby
roychri has quit [Quit: And that's the way the cookie crumbles!]
canteen4 has joined #ruby
xit has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
doubleemms has quit [Ping timeout: 258 seconds]
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xit has left #ruby ["Killed buffer"]
mrwn has joined #ruby
splud has joined #ruby
CrazyEddy has joined #ruby
xen0fon has quit [Ping timeout: 268 seconds]
jhack has quit [Quit: jhack]
xen0fon has joined #ruby
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
sdwrage has quit [Quit: Leaving]
mustmodify has joined #ruby
SpiffTR has joined #ruby
milardovich has quit [Ping timeout: 252 seconds]
Lord_of_Life has quit [Excess Flood]
<mustmodify> Does BigDecimal have some feature where BigDecimal.new('invalid') == nil instead of 0.0? Because 0 is kind of a dumb answer.
mrwn has quit [Remote host closed the connection]
tubuliferous has joined #ruby
Bacta has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lord_of_Life has joined #ruby
jmignault has quit [Ping timeout: 264 seconds]
nettoweb has joined #ruby
aupadhye has quit [Ping timeout: 258 seconds]
jottr has joined #ruby
bronson has joined #ruby
jottr has quit [Read error: Connection reset by peer]
jottr has joined #ruby
brendan- has joined #ruby
gnufied has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
blackbom1 has quit [Ping timeout: 258 seconds]
ignarps has quit [Ping timeout: 260 seconds]
tubuliferous has quit [Ping timeout: 256 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polysics has joined #ruby
roshanavand__ has quit [Ping timeout: 268 seconds]
<apeiros> mustmodify: oh wow, indeed. I'd expect an exception…
<hanmac> mustmodify: BigDecimal("invalid") does cause an ArgumentError if that helps you
tubuliferous has joined #ruby
<hanmac> hm okay BigDecimal.new("invalid") does that too
blackbom1 has joined #ruby
alexar_ has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<apeiros> hanmac: which ruby version? (I'm still on 2.3)
<apeiros> >> require 'bigdecimal'; BigDecimal.new('invalid')
<ruby[bot]> apeiros: # => #<BigDecimal:40d15c8c,'0.0',9(9)> (https://eval.in/706132)
polysics has quit [Ping timeout: 245 seconds]
<hanmac> apeiros: didnt you know me? ;P RUBY_RELEASE_DATE => "2016-12-29"
<hanmac> i am a nightly builder
<apeiros> I'd assume you're on 2.4, yes
<apeiros> but assumptions are for the weak
alexar has quit [Ping timeout: 258 seconds]
duderonomy has joined #ruby
<apeiros> so I guess 2.4's BD is more sane than 2.3's :)
<hanmac> you asumed wrong, i am already on RUBY_VERSION => "2.5.0" xD
roshanavand__ has joined #ruby
SpiffTR has quit [Quit: Leaving.]
<mustmodify> So at some point it starts raising an exception?
<mustmodify> s/\?/./g
<apeiros> I guess the answer is: use 2.4+ if you can, otherwise verify the input through e.g. a regex
<hanmac> >> RUBY_VERSION
<ruby[bot]> hanmac: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<hanmac> huch?
<elomatreb> what
<mustmodify> >> ENV['RUBY_VERSION']
<elomatreb> You have to authed to use the bot
<elomatreb> >> ENV['RUBY_VERSION']
<mustmodify> Oh.
<ruby[bot]> elomatreb: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<mustmodify> well... uh...
<apeiros> >> RUBY_VERSION
<hanmac> it seems we all need to be very sorry because we broke the bot ;P
<ruby[bot]> apeiros: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
ignarps has joined #ruby
<apeiros> wth?
<hanmac> >> "test?"
<mustmodify> The bot is TERRIBLY sorry. So that's something.
<ruby[bot]> hanmac: # => "test?" (https://eval.in/706133)
<hanmac> hm okay that seems to work
<elomatreb> >> RUBY_VERSION.class
<ruby[bot]> elomatreb: # => String (https://eval.in/706136)
<hanmac> oO
<mustmodify> try >>nil&.foo
<mustmodify> that was introduced in 2.3
<apeiros> the bot does use 2.3 by default
<hanmac> >> p RUBY_VERSION; 0
<ruby[bot]> hanmac: # => "2.3.0" ...check link for more (https://eval.in/706140)
<hanmac> ha i tricked you bot!
<mustmodify> LOL What?
<apeiros> the weird thing is - RUBY_VERSION as code has worked in the past just fine…
aremaref has joined #ruby
bocaneri has quit [Remote host closed the connection]
hotpancakes has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
h1fuelcell has joined #ruby
reverberations has joined #ruby
splud has quit [Quit: splud]
Ax has joined #ruby
hutch34 has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
shayan_ has quit [Quit: shayan_]
h1fuelcell has quit [Ping timeout: 265 seconds]
milardovich has joined #ruby
skweek has quit [Ping timeout: 268 seconds]
Ax has quit [Ping timeout: 265 seconds]
agit0 has quit [Ping timeout: 245 seconds]
izaac has quit [Ping timeout: 250 seconds]
pilne has joined #ruby
izaac has joined #ruby
jottr has joined #ruby
jottr has quit [Client Quit]
milardovich has quit [Remote host closed the connection]
psychicist__ has quit [Read error: Connection reset by peer]
machinewar has quit []
Rodya_ has quit [Quit: Leaving...]
milardovich has joined #ruby
splud has joined #ruby
Kug3lis has joined #ruby
rwb has quit [Remote host closed the connection]
Kug3lis has quit [Client Quit]
nettoweb has joined #ruby
braincrash has quit [Ping timeout: 248 seconds]
milardovich has quit [Ping timeout: 252 seconds]
braincrash has joined #ruby
alexar_ has quit [Read error: Connection reset by peer]
neoncortex has joined #ruby
alexar has joined #ruby
alan_w has quit [Ping timeout: 256 seconds]
alexar has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 248 seconds]
alexar has joined #ruby
bronson has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kus has quit [Quit: Konversation terminated!]
agit0 has joined #ruby
Guest66 has joined #ruby
ruid_ has joined #ruby
bronson has quit [Ping timeout: 258 seconds]
xen0fon has quit [Quit: xen0fon]
dionysus69 has joined #ruby
polysics has joined #ruby
BTRE has joined #ruby
doubleemms has joined #ruby
nankyokusei has joined #ruby
sepp2k1 has quit [Quit: Leaving.]
rwb has joined #ruby
xen0fon has joined #ruby
hotpancakes has quit []
dionysus69 has quit [Ping timeout: 256 seconds]
dionysus70 has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
polysics has quit [Ping timeout: 248 seconds]
micah has joined #ruby
<micah> i've got a simple rails app (rack) that works fine. I want to run a second one, using the same code base, but change some values. I can create a whole new repository with the new values, but it seems like I should be able to pass a variable in and use it in the app?
dionysus70 is now known as dionysus69
ruid_ is now known as ruind
jgt has joined #ruby
ruind is now known as ruid
ruid has quit [Changing host]
ruid has joined #ruby
hutch34 has quit [Ping timeout: 245 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nanoz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
duderonomy has joined #ruby
h1fuelcell has joined #ruby
Lord_of_Life has quit [Excess Flood]
Lord_of_Life has joined #ruby
Guest66 has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 252 seconds]
duderonomy has quit [Read error: Connection reset by peer]
foption has quit [Ping timeout: 258 seconds]
hahuang61 has joined #ruby
foption has joined #ruby
hahuang65 has quit [Ping timeout: 258 seconds]
Anonymoose2 has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
Anonymoose2 has quit [Max SendQ exceeded]
ramortegui has joined #ruby
Anonymoose2 has joined #ruby
reverberations has quit [Ping timeout: 265 seconds]
last_staff has joined #ruby
h1fuelcell has quit [Ping timeout: 248 seconds]
Bacta has quit [Ping timeout: 265 seconds]
Azure has joined #ruby
ych has joined #ruby
alexar has quit [Ping timeout: 258 seconds]
shayan_ has joined #ruby
ignarps has quit [Ping timeout: 265 seconds]
SpiffTR has joined #ruby
jgt1 has joined #ruby
ych has quit [Read error: Connection reset by peer]
ignarps has joined #ruby
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
koldbrutality has joined #ruby
jgt has quit [Ping timeout: 268 seconds]
SeepingN has quit [Ping timeout: 258 seconds]
conta has quit [Ping timeout: 258 seconds]
tubuliferous has joined #ruby
Chris___ has joined #ruby
<Chris___> hi everyone
GodFather has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
blackbombay has joined #ruby
alexar has joined #ruby
<Chris___> does anyone know if savon client supports eventmachines? or is it a lost cause to use soap with eventmachine
polishdub has joined #ruby
Anonymoose2 has quit [Ping timeout: 265 seconds]
xrlk has quit [Quit: HEIL HITLER]
xrlk has joined #ruby
blackbom1 has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
cgibsonmm has joined #ruby
perniciouscaffei has joined #ruby
mustmodify has left #ruby [#ruby]
<Chris___> does anyone know if savon client supports eventmachines? or is it a lost cause to use soap with eventmachine
ace05 has quit [Remote host closed the connection]
ace05 has joined #ruby
bronson has joined #ruby
hahuang61 has quit [Ping timeout: 256 seconds]
benlieb has joined #ruby
siddart has quit [Ping timeout: 246 seconds]
benlieb has quit [Client Quit]
Chris___ has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 258 seconds]
symm- has joined #ruby
dionysus69 has quit [Ping timeout: 258 seconds]
dionysus69 has joined #ruby
shayan_ has quit [Quit: shayan_]
_ixti_ has quit [Ping timeout: 265 seconds]
polysics has joined #ruby
sepp2k has joined #ruby
duderonomy has joined #ruby
polysics has quit [Ping timeout: 246 seconds]
dnicole has quit [Remote host closed the connection]
micah has left #ruby [#ruby]
shayan_ has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
tubuliferous has quit [Ping timeout: 256 seconds]
foption has quit [Read error: Connection reset by peer]
foption has joined #ruby
cdg_ has joined #ruby
kus has joined #ruby
jshjsh has joined #ruby
cdg has quit [Ping timeout: 258 seconds]
cgibsonmm has quit [Remote host closed the connection]
UserJosh has joined #ruby
JoshS has quit [Ping timeout: 258 seconds]
SpiffTR has quit [Quit: Leaving.]
reverberations has joined #ruby
jshjsh has quit [Ping timeout: 268 seconds]
benlieb has joined #ruby
nicknight has joined #ruby
hutch34 has joined #ruby
benlieb has quit [Client Quit]
JoshS has joined #ruby
futilegames has left #ruby [#ruby]
UserJosh has quit [Ping timeout: 256 seconds]
flying has quit []
graft_ has joined #ruby
milardovich has joined #ruby
graft_ is now known as graft
<graft> i understand what is happening but don't know how to fix it
<graft> well, i have an inkling of what's happening, i never did understand === that well
iogf has joined #ruby
<graft> nor 'when'
nicknight has quit [Quit: WeeChat 1.4]
blackbom1 has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
milardovich has quit [Ping timeout: 264 seconds]
shayan_ has quit [Quit: shayan_]
dionysus69 has joined #ruby
e1z0_ has joined #ruby
JoshS has quit [Ping timeout: 265 seconds]
tvon_ has joined #ruby
JoshS has joined #ruby
tvon_ has quit [Read error: Connection reset by peer]
blackbombay has quit [Ping timeout: 256 seconds]
tvon_ has joined #ruby
<apeiros> graft: case expression when condition --> evaluates as `condition === expression`
cdg has joined #ruby
bmurt has joined #ruby
<apeiros> and String === String is false
<elomatreb> graft: === is called on the object you give when, and the behaviour for classes there is to check if other is an instance
<apeiros> String === "some string" is true
dnicole has joined #ruby
<apeiros> hence `case "foo"; when String` will trigger
Trynemjoel has quit [Ping timeout: 260 seconds]
<apeiros> and String === String calls Class#===, since String is an instance of Class.
tvon has quit [Ping timeout: 258 seconds]
dionysus69 has quit [Ping timeout: 252 seconds]
GodFather has quit [Ping timeout: 252 seconds]
cdg_ has quit [Ping timeout: 264 seconds]
<apeiros> also note that === doesn't mean "same", not at all. neither does ==.
<apeiros> .equal? is the method to test sameness (misnomer IMO, should have called it same? really)
siddart has joined #ruby
cdg has quit [Remote host closed the connection]
bronson has joined #ruby
cdg has joined #ruby
duderonomy has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
<graft> apeiros: when also tests == though
gnufied has quit [Quit: Leaving]
<apeiros> no
pawnbox has joined #ruby
Gasher has quit [Quit: Leaving]
<graft> apeiros: sometimes it surely does, for example when :symbol
<apeiros> as said above, when tests ===
<graft> oh, just === for symbol is the same as ==
<apeiros> an object may implement === as an alias to ==, eql?, equal? or whatever else
<apeiros> but when still tests ===
<graft> understood
roshanavand__ has quit [Ping timeout: 258 seconds]
Kug3lis has joined #ruby
<apeiros> Object has ==, ===, eql? all as aliases of equal?
bronson has quit [Ping timeout: 256 seconds]
dnicole has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 258 seconds]
<apeiros> (it might actually be slightly more sophisticated)
hutch34 has quit [Quit: WeeChat 1.5]
BTRE has quit [Ping timeout: 268 seconds]
nankyokusei has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
polysics has joined #ruby
aidalgol has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
beilabs has quit [Remote host closed the connection]
polysics has quit [Ping timeout: 256 seconds]
walterheck has joined #ruby
ruid has quit [Ping timeout: 268 seconds]
beilabs has joined #ruby
futilegames has joined #ruby
futilegames has left #ruby [#ruby]
maloik97 has quit [Remote host closed the connection]
maloik has joined #ruby
beilabs has quit [Ping timeout: 268 seconds]
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tubuliferous has joined #ruby
SpiffTR has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
kus has quit [Quit: Konversation terminated!]
cdg has joined #ruby
montanonic has joined #ruby
kus has joined #ruby
cdg_ has joined #ruby
duderonomy has joined #ruby
harfangk has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
cdg has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
Kug3lis has quit [Quit: Textual IRC Client: www.textualapp.com]
rwb has quit [Ping timeout: 252 seconds]
duderonomy has quit [Ping timeout: 246 seconds]
nowhere_man has joined #ruby
Trynemjoel has joined #ruby
kus has quit [Quit: Konversation terminated!]
tvon_ has quit [Remote host closed the connection]
tvon has joined #ruby
nadir has joined #ruby
walterheck has quit [Ping timeout: 265 seconds]
futilegames has joined #ruby
testuser1 has joined #ruby
tvon has quit [Ping timeout: 265 seconds]
testuser1 has quit [Client Quit]
elementaru has joined #ruby
moei has quit [Quit: Leaving...]
siddart has quit [Quit: WeeChat 1.4]
xen0fon has quit [Quit: xen0fon]
tubuliferous has quit [Ping timeout: 265 seconds]
tvon has joined #ruby
SpiffTR has quit [Quit: Leaving.]
SpiffTR has joined #ruby
tvon has quit [Remote host closed the connection]
kith has joined #ruby
newbie1 has quit [Read error: Connection reset by peer]
bronson has joined #ruby
newbie1 has joined #ruby
hahuang61 has joined #ruby
ruid has joined #ruby
futilegames has left #ruby [#ruby]
bronson has quit [Ping timeout: 258 seconds]
GinoManWorks has quit [Quit: Leaving]
jhack has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
ace05 has quit [Remote host closed the connection]
djellemah has joined #ruby
djellemah has quit [Remote host closed the connection]
ace05 has joined #ruby
elementaru has quit [Quit: ChatZilla 0.9.93 [SeaMonkey 2.40/20160118183220]]
last_staff has quit [Quit: last_staff]
leonthemisfit has joined #ruby
polysics has joined #ruby
pawnbox has quit [Remote host closed the connection]
shayan_ has joined #ruby
pawnbox has joined #ruby
rajdesai has joined #ruby
polysics_ has joined #ruby
NewYears is now known as nchambers
polysics has quit [Read error: Connection reset by peer]
cdg has joined #ruby
BTRE has joined #ruby
cdg_ has quit [Ping timeout: 240 seconds]
conta has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Ping timeout: 252 seconds]
SpiffTR has quit [Quit: Leaving.]
mwlang has joined #ruby
rajdesai has quit [Remote host closed the connection]
JoshS has quit [Quit: Leaving]
ramortegui has quit [Quit: Ex-Chat]
tvon has joined #ruby
Synthead has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
milardovich has joined #ruby
jgt1 has quit [Ping timeout: 258 seconds]
moei has joined #ruby
polishdub has quit [Quit: Leaving]
tubuliferous has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
milardovich has quit [Ping timeout: 252 seconds]
shayan_ has quit [Quit: shayan_]
pawnbox has quit [Remote host closed the connection]
cdg has quit [Remote host closed the connection]
pawnbox has joined #ruby
shayan_ has joined #ruby
skweek has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
cdg has joined #ruby
djbkd has joined #ruby
ruid has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
Fernando-Basso has quit [Quit: WeeChat 1.6]
catphish has joined #ruby
<catphish> >> string1 = "hello"; string2 = "hello"; {string1 => 'test'}[string2]
<ruby[bot]> catphish: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<catphish> well that didn't work as expected :(
<catphish> >> string1 = "hello"; string2 = "hello"; hash = {string1 => 'test'}; hash[string2]
bronson has quit [Ping timeout: 246 seconds]
<ruby[bot]> catphish: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<zenspider> works fine on my side
<zenspider> wonder what's up with the bot...
<catphish> how odd
<zenspider> apeiros: ^^^
<catphish> anyway, i'm looking for an explanation of why that code works
<zenspider> in plain IRB:
<zenspider> >> string1 = "hello"; string2 = "hello"; {string1 => 'test'}[string2]
<zenspider> => "test"
<ruby[bot]> zenspider: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<zenspider> catphish: do you expect it to fail?
<Radar> catphish: Because the key is the same.
<apeiros> zenspider: yes, this bug started to pop up today. will take a look at it on saturday.
<catphish> is there some property of string1 and string2 that means they are equal as far as hash is concerned?
<zenspider> >> string1 = "hello"; string2 = "hello"; [string1, string2].map(&:hash)
<zenspider> => "test"
<apeiros> no idea what's going on there :-/
<ruby[bot]> zenspider: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<Radar> catphish: Even though the objects "hello" and "hello" are different objects, for the purpose of a hash lookup they are the same.
<zenspider> ruby[bot]: fuck you... you're buggy
<catphish> Radar: what makes them the same?
<zenspider> >> string1 = "hello"; string2 = "hello"; [string1, string2].map(&:hash)
<Radar> catphish: I think zenspider just showed you what makes them the same.
<ruby[bot]> zenspider: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<zenspider> UGH. wtf
<Radar> admin plz ban ruby[bot]
<zenspider> catphish: run my code locally. :(
Jackneill has quit [Remote host closed the connection]
<catphish> zenspider: hash returns the same value, so does Hash use #hash?
raul782 has quit [Remote host closed the connection]
<zenspider> catphish: name seems to hint that :P
<zenspider> (yes)
<catphish> zenspider: not really, but ok :)
<apeiros> oh, seems to be a bug with eval.in
raul782 has joined #ruby
<zenspider> Hash using hash? c'mon
<apeiros> I get server errors when evaluating code there. ruboto's handling of the server error is probably bugged.
<catphish> zenspider: at least to me, those are totally different uses of the word hash
<zenspider> apeiros: interesting
<catphish> but perhaps theres a reason why they mean the same thing
<zenspider> catphish: well... read up on your CS on hash tables... it's a neat data stucture
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
<zenspider> one of my favorites
<catphish> zenspider: i probably should :) is it basically a binary search on an integer hash of the input?
<apeiros> hm, charliesome is not on
shayan_ has quit [Quit: shayan_]
<catphish> anyway, that makes sense now, thanks zenspider :)
<catphish> would have been easier if the bot wasnt being an asshat :)
shayan_ has joined #ruby
<zenspider> catphish: no, not really... but yes the hash values are involved to bin them
nankyokusei has joined #ruby
<catphish> zenspider: awesomely the #hash of an array is some function of the #hash of everything in the array
<catphish> which is really what i was hoping, i wanted to be able to do things like {[1,2] => value}[1,2]
<catphish> and that works
Azure has joined #ruby
lxsameer has quit [Quit: WeeChat 1.6]
<apeiros> catphish: any object which implements sensible #eql? and #hash methods can be used as a hash key
<catphish> apeiros: fantastic, that seems to be the case for array :)
<apeiros> just remember that mutating a key turns the hash inconsistent
<zenspider> catphish: until you modify the contents of an array already used as a key... then things go awry
<apeiros> you can use Hash#rehash, but that's a strong smell
<catphish> well i won't do that :)
<zenspider> problem: solved
a7d7p has joined #ruby
<catphish> it's a really simple use case, i want to correlate packets from the same source IP and port, and [ip, port] seemed neater than "#{ip}:#{port}" as a key :)
nankyokusei has quit [Ping timeout: 252 seconds]
<catphish> then i started thinking about why the latter would work and the former wouldn't
<catphish> thanks all
djbkd has quit [Quit: My people need me...]
<zenspider> n/p
<catphish> except you ruby[bot]
SeepingN has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
<apeiros> catphish: not really its fault
<apeiros> (except for handling the server errors badly)
<catphish> it appeared to be passing through an error
tubuliferous has quit [Ping timeout: 252 seconds]
rwb has joined #ruby
<apeiros> catphish: the eval.in servers (external service ruboto uses for eval) crash with an internal server error. and ruboto has a bug handling that server error (which is the exception you see)
<catphish> oooh ok :)
<catphish> apeiros: just coincidence that my code had a [] call :)
<apeiros> yes
loechel has quit [Remote host closed the connection]
<catphish> >> 1
<ruby[bot]> catphish: # => 1 (https://eval.in/706216)
montanonic has quit [Ping timeout: 258 seconds]
<catphish> at least its not totally broken :)
<apeiros> it crashes somewhat randomly :-/
jenrzzz has joined #ruby
nofxx has joined #ruby
nofxx has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
phoo1234567 has quit [Quit: Gotta go]
jenrzzz has quit [Ping timeout: 258 seconds]
<zenspider> apeiros: huh. the code I pasted doesn't error if I paste it into eval.in directly? is it the wrapper morphing the code to cause it to output?
<apeiros> zenspider: I had `puts "hi"` in eval.in and it crashed with an internal server error. so I think it's randomly crashing.
<zenspider> ah! suck
<apeiros> sadly yes
<apeiros> but I'll fix the reporting of the error on saturday
<apeiros> but now pillow hitting time
xen0fon has joined #ruby
Pumukel has joined #ruby
raul782 has quit [Ping timeout: 252 seconds]
a7d7p has quit [Quit: a7d7p]
symm has joined #ruby
symm- has quit [Ping timeout: 248 seconds]
saslam has quit [Ping timeout: 248 seconds]
DLSteve_ has quit [Quit: All rise, the honorable DLSteve has left the channel.]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
raul782 has joined #ruby
jgt1 has joined #ruby
shayan_ has quit [Quit: shayan_]
frozengeek has quit [Quit: frozengeek]
c355e3b has joined #ruby
raul782 has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 246 seconds]
jgt1 has quit [Ping timeout: 246 seconds]
montanonic has joined #ruby
shayan_ has joined #ruby
Pumukel has joined #ruby
marr has quit [Ping timeout: 248 seconds]
charliesome has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
montanonic has quit [Ping timeout: 268 seconds]
neoncortex has quit [Quit: WeeChat 1.0.1]
Pumukel has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
alan_w has joined #ruby
bronson has quit [Ping timeout: 268 seconds]