milardovich has quit [Remote host closed the connection]
imode has joined #ruby
FahmeF has quit [Ping timeout: 258 seconds]
stan has quit [Quit: No Ping reply in 210 seconds.]
smelnicki has quit [Ping timeout: 248 seconds]
stan has joined #ruby
stan has quit [Read error: Connection reset by peer]
enterprisey has joined #ruby
stan_ has joined #ruby
stan_ has quit [Read error: Connection reset by peer]
conta1 has quit [Ping timeout: 258 seconds]
stan_ has joined #ruby
stan_ has quit [Read error: Connection reset by peer]
cagmz_ has joined #ruby
stan_ has joined #ruby
stan_ has quit [Read error: Connection reset by peer]
stan_ has joined #ruby
cagmz has quit [Ping timeout: 248 seconds]
stan_ has quit [Read error: Connection reset by peer]
zachk has quit [Quit: zzzzZZZZzzzzz]
csk has joined #ruby
milardovich has joined #ruby
stan_ has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
naprimer has joined #ruby
cdg has quit [Ping timeout: 258 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skweek has quit [Ping timeout: 248 seconds]
kculpis has quit [Quit: Leaving]
enterprisey has quit [Quit: Leaving]
stan_ has quit [Quit: No Ping reply in 180 seconds.]
postmodern has joined #ruby
al2o3-cr has quit [Read error: Connection reset by peer]
gizmore|2 has joined #ruby
gr33n7007h has joined #ruby
stan_ has joined #ruby
stan_ has quit [Read error: Connection reset by peer]
kculpis has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
nankyoku_ has joined #ruby
skweek has joined #ruby
troys_ is now known as troys
rgr has quit [Remote host closed the connection]
rgr has joined #ruby
gr33n7007h is now known as al2o3-cr
nankyokusei has quit [Ping timeout: 240 seconds]
Dimik has joined #ruby
stan has joined #ruby
dviola has quit [Quit: WeeChat 1.9.1]
stan has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
blackmesa1 has quit [Ping timeout: 255 seconds]
d^sh has quit [Ping timeout: 248 seconds]
d^sh has joined #ruby
stan has joined #ruby
marr has quit [Ping timeout: 258 seconds]
bronson has joined #ruby
stan has quit [Read error: Connection reset by peer]
tvw has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 248 seconds]
stan_ has joined #ruby
stan_ has quit [Read error: Connection reset by peer]
stan_ has joined #ruby
bmurt has joined #ruby
Dimik has quit [Ping timeout: 258 seconds]
cdg has joined #ruby
eightlimbed has joined #ruby
fmcgeough has joined #ruby
tamouse__ has quit [Ping timeout: 248 seconds]
fmcgeough has quit [Client Quit]
cdg has quit [Ping timeout: 258 seconds]
hahuang65 has joined #ruby
stan_ has quit [Quit: No Ping reply in 180 seconds.]
hahuang65 has quit [Ping timeout: 258 seconds]
stan_ has joined #ruby
Mjauepusen has joined #ruby
stan_ has quit [Read error: Connection reset by peer]
stan_ has joined #ruby
troys is now known as troys_
stan_ has quit [Read error: Connection reset by peer]
skweek has quit [Ping timeout: 248 seconds]
dviola has joined #ruby
stan__ has joined #ruby
nofxxx has joined #ruby
_whitelogger has joined #ruby
csk has quit [Quit: ZZZzzz…]
zautomata has joined #ruby
zautomata has quit [Client Quit]
zautomata has joined #ruby
tamouse__ has joined #ruby
tamouse__ has quit [Ping timeout: 248 seconds]
MrSparkle has quit [Quit: MrSparkle]
eightlimbed has quit [Quit: Ex-Chat]
xco has joined #ruby
<xco>
i’m perplexed, can i ever get “TypeError: nil can't be coerced into Float” on (score.to_f - mean_scores_for_token) ** 2.0 when mean_scores_for_token is 0.0?
cdg has joined #ruby
<havenwood>
xco: nope, looks like `mean_scores_for_token` is `nil`.
<xco>
in that case doing mean_scores_for_token.to_f should fix it if it’s nil
<xco>
i guess
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erlend has quit [Ping timeout: 258 seconds]
erlend has joined #ruby
kies has quit [Ping timeout: 258 seconds]
stan__ has quit [Quit: No Ping reply in 180 seconds.]
stan has joined #ruby
kies has joined #ruby
stan has quit [Quit: No Ping reply in 180 seconds.]
cadillac_ has joined #ruby
zautomata has quit [Quit: WeeChat 1.4]
zautomata has joined #ruby
stan has joined #ruby
FahmeF has joined #ruby
bronson has joined #ruby
postmodern has quit [Quit: Leaving]
bronson has quit [Ping timeout: 240 seconds]
cameron__ has joined #ruby
xuanrui has joined #ruby
alfiemax has joined #ruby
cameron__ has quit [Ping timeout: 248 seconds]
gix has quit [Ping timeout: 248 seconds]
apparition has joined #ruby
postmodern has joined #ruby
gix has joined #ruby
ledestin has joined #ruby
ledestin has quit [Client Quit]
ledestin has joined #ruby
stan has quit [Quit: No Ping reply in 180 seconds.]
cameron__ has joined #ruby
cameron__ has quit [Client Quit]
stan has joined #ruby
stan has quit [Read error: Connection reset by peer]
FahmeF has quit []
hahuang65 has joined #ruby
stan has joined #ruby
smelnicki has joined #ruby
stan has quit [Read error: Connection reset by peer]
hahuang65 has quit [Ping timeout: 240 seconds]
cadillac_ has quit [Read error: Connection reset by peer]
stan_ has joined #ruby
cadillac_ has joined #ruby
stan___ has joined #ruby
stan_ has quit [Ping timeout: 258 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stan___ has quit [Read error: Connection reset by peer]
stan_ has joined #ruby
_whitelogger has joined #ruby
r__rios has quit [Read error: Connection reset by peer]
jphase_ has joined #ruby
jphase has quit [Ping timeout: 258 seconds]
MrBismuth has joined #ruby
nofxxx has quit [Remote host closed the connection]
nofxxx has joined #ruby
nofxxx has quit [Remote host closed the connection]
smelnicki has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 248 seconds]
nofxxx has joined #ruby
nofxxx has quit [Ping timeout: 248 seconds]
webguynow has quit [Ping timeout: 248 seconds]
webguynow has joined #ruby
alfiemax has joined #ruby
dviola has quit [Quit: WeeChat 1.9.1]
troys_ is now known as troys
stan_ has quit [Quit: No Ping reply in 180 seconds.]
biox has quit [Quit: brb servers are ded]
biox has joined #ruby
stan has joined #ruby
cdg has quit [Remote host closed the connection]
bronson has joined #ruby
thmzz has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 240 seconds]
troys has quit [Quit: Bye]
thinkpad has quit [Ping timeout: 246 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
kapil___ has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.9.1]
alfiemax has quit [Ping timeout: 240 seconds]
gr33n7007h has joined #ruby
stan has quit [Ping timeout: 258 seconds]
stan has joined #ruby
stan has quit [Read error: Connection reset by peer]
gr33n7007h is now known as al2o3-cr
govg has joined #ruby
hahuang65 has joined #ruby
cdg has joined #ruby
claudiuinberlin has joined #ruby
hahuang65 has quit [Ping timeout: 248 seconds]
cdg has quit [Ping timeout: 255 seconds]
stan_ has joined #ruby
stan_ has quit [Read error: Connection reset by peer]
stan__ has joined #ruby
stan__ has quit [Read error: Connection reset by peer]
stan__ has joined #ruby
harai has joined #ruby
stan__ has quit [Read error: Connection reset by peer]
stan__ has joined #ruby
apparition has quit [Quit: Bye]
stan__ has quit [Quit: No Ping reply in 180 seconds.]
stan__ has joined #ruby
pppktz has joined #ruby
jphase_ has quit [Remote host closed the connection]
uZiel has joined #ruby
Mjauepusen has quit [Ping timeout: 240 seconds]
jinie has quit [Ping timeout: 240 seconds]
jinie has joined #ruby
Asher1 has quit [Read error: Connection reset by peer]
Asher has joined #ruby
_whitelogger has joined #ruby
selim has quit [Ping timeout: 240 seconds]
selim has joined #ruby
_whitelogger has joined #ruby
harai has quit [Ping timeout: 248 seconds]
DoubleMalt has joined #ruby
SuperTaz has joined #ruby
Pisuke has joined #ruby
stan__ has quit [Ping timeout: 258 seconds]
MyMind has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
phaul has joined #ruby
al2o3-cr has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 248 seconds]
al2o3-cr has joined #ruby
stan has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
dinfuehr has joined #ruby
postmodern has quit [Quit: Leaving]
conta has joined #ruby
Mjauepusen has joined #ruby
nofxxx has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
stan has quit [Quit: No Ping reply in 180 seconds.]
nofxxx has quit [Ping timeout: 240 seconds]
G has quit [Quit: leaving]
alfiemax has joined #ruby
oetjenj has joined #ruby
stan has joined #ruby
jphase has joined #ruby
alfiemax has quit [Ping timeout: 258 seconds]
jphase has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
TomyLobo has joined #ruby
pppktz has quit [Ping timeout: 258 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby
_aeris_ has quit [Ping timeout: 248 seconds]
mtkd has quit [Read error: Connection reset by peer]
hahuang65 has quit [Ping timeout: 246 seconds]
^mtkd has joined #ruby
Ishido has joined #ruby
al2o3-cr has joined #ruby
MarkBilk has joined #ruby
_aeris_ has joined #ruby
MrSparkle has joined #ruby
comrumino has quit [Ping timeout: 252 seconds]
Klumben has quit [Ping timeout: 246 seconds]
bmn has quit [Ping timeout: 252 seconds]
Junaos has quit [Ping timeout: 258 seconds]
Junaos has joined #ruby
strayArch has joined #ruby
bmn has joined #ruby
rippa has joined #ruby
marr has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
<Mon_Ouie>
I would rather fix the code of mean_scores_for_token (or the code that computes it if it's a variable) to make sure it isn't nil in the first place
<Mon_Ouie>
(forgot to check the time of the previous messages though…)
harai has joined #ruby
alfiemax has joined #ruby
cdg has joined #ruby
alfiemax_ has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
alfiemax has quit [Ping timeout: 255 seconds]
cdg has quit [Ping timeout: 258 seconds]
alfiemax_ has quit [Ping timeout: 240 seconds]
imode has quit [Ping timeout: 240 seconds]
conta has quit [Quit: conta]
<xco>
Mon_Ouie: seen. good point :)
Klumben has joined #ruby
DTZUZO has quit [Ping timeout: 260 seconds]
shime has joined #ruby
xco has quit [Read error: Connection reset by peer]
shime has quit [Client Quit]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
xco has joined #ruby
blackmesa1 has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
apparition has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
kapil___ has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
lxsameer has joined #ruby
conta has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
_joes_ has joined #ruby
_joes_ has left #ruby [#ruby]
bronson has joined #ruby
DoubleMalt has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
VladGh has quit [Ping timeout: 248 seconds]
graft_ has quit [Ping timeout: 248 seconds]
graft_ has joined #ruby
graft_ has quit [Changing host]
graft_ has joined #ruby
nofxxx has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
thinkpad has joined #ruby
VladGh has joined #ruby
Emmanuel_Chanel has joined #ruby
nofxxx has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Ping timeout: 248 seconds]
blackmesa1 has quit [Ping timeout: 264 seconds]
dinfuehr has quit [Ping timeout: 248 seconds]
dinfuehr has joined #ruby
hahuang65 has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
conta has quit [Quit: conta]
rgr has quit [Quit: rgr]
ur5us has quit [Remote host closed the connection]
cdg has joined #ruby
Silthias has joined #ruby
Silthias1 has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 255 seconds]
Emmanuel_Chanel has quit [Ping timeout: 258 seconds]
pppktz has joined #ruby
rgr has joined #ruby
rgr has quit [Remote host closed the connection]
mkali has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
nicesignal has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
ahrs has joined #ruby
orbyt_ has joined #ruby
houhoulis has quit [Remote host closed the connection]
LastWhisper____ has joined #ruby
Silthias1 has joined #ruby
alfiemax has quit [Remote host closed the connection]
nadir has quit [Quit: Connection closed for inactivity]
bronson has quit [Ping timeout: 258 seconds]
alfiemax has joined #ruby
tamouse__ has quit [Read error: Connection reset by peer]
Silthias has quit [Ping timeout: 240 seconds]
nofxxx has joined #ruby
alfiemax has quit [Ping timeout: 258 seconds]
xenops has quit [Ping timeout: 240 seconds]
nofxxx has quit [Ping timeout: 258 seconds]
eventpuddle has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
agent_white has joined #ruby
dachi has joined #ruby
<dachi>
hi. do you know how to change Rails Devise module orders? I need one gem to execute a hook before another. I have tried changing order in Gemfile and in User model's devise :ext1, :ext2 list. I'm looking at User.devise_modules and order does not change..
tvw has quit [Remote host closed the connection]
imode has joined #ruby
tfitts has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
enterprisey has quit [Ping timeout: 248 seconds]
Emmanuel_Chanel_ has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby
houhoulis has joined #ruby
cdg has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 248 seconds]
enterprisey has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
nadir has joined #ruby
imode has quit [Ping timeout: 258 seconds]
stan has quit [Quit: No Ping reply in 180 seconds.]
stan has joined #ruby
cdg has joined #ruby
stan has quit [Read error: Connection reset by peer]
kobain has quit [Read error: Connection reset by peer]
kobain has joined #ruby
stan has joined #ruby
jinie_ has quit [Ping timeout: 248 seconds]
jinie_ has joined #ruby
cdg has quit [Remote host closed the connection]
LastWhisper____ has joined #ruby
csk has quit [Read error: Connection reset by peer]
shinnya has joined #ruby
ShalokShalom_ has quit [Remote host closed the connection]
csk has joined #ruby
Phage has quit [Ping timeout: 240 seconds]
jinie_ has quit [Ping timeout: 248 seconds]
nankyokusei has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nankyoku_ has quit [Ping timeout: 240 seconds]
tamouse__ has joined #ruby
charliesome has joined #ruby
jinie_ has joined #ruby
Phage has joined #ruby
Phage has quit [Changing host]
Phage has joined #ruby
tamouse__ has quit [Ping timeout: 260 seconds]
charliesome has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
Cohedrin_ has joined #ruby
charliesome has quit [Ping timeout: 264 seconds]
stan has quit [Quit: No Ping reply in 180 seconds.]
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stan has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
harai has joined #ruby
meadmoon has joined #ruby
Joufflu has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
<Radar>
Generating this Hash: { 1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0 }, can it be done in shorter code than: (1..5).zip([0]*5)
milardovich has quit [Remote host closed the connection]
<Radar>
cc baweaver
<baweaver>
hm
<baweaver>
don't think so
<Radar>
:D :D
<baweaver>
unless there were a zero block or itself was shorter or some other hackery
<baweaver>
Not thinking of any regex or other hackery
<Radar>
0x would probably come up with some crazy. RIP.
raynold has joined #ruby
phaul has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
orbyt_ has joined #ruby
Vivekananda has joined #ruby
imode has joined #ruby
cdg has joined #ruby
moei has quit [Quit: Leaving...]
bronson has quit [Ping timeout: 240 seconds]
dachi has quit [Ping timeout: 260 seconds]
cdg has quit [Ping timeout: 258 seconds]
John__ has quit [Read error: Connection reset by peer]
mjolnird has quit [Quit: Leaving]
al2o3-cr has quit [Ping timeout: 246 seconds]
<matthewd>
Assuming Hash.new(0) isn't sufficient, yeah, feels tough to shrink. Despite only being a couple of characters short of the straight literal. :/
meadmoon has quit [Quit: I am functioning within established parameters.]
serhart has joined #ruby
charliesome has joined #ruby
serhart has quit [Client Quit]
serhart has joined #ruby
orbyt_ has quit [Remote host closed the connection]
orbyt_ has joined #ruby
serhart has quit [Client Quit]
orbyt_ has quit [Client Quit]
serhart has joined #ruby
serhart has quit [Remote host closed the connection]
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
serhart has joined #ruby
milardovich has quit [Remote host closed the connection]
dviola has quit [Quit: WeeChat 1.9.1]
enterprisey has quit [Read error: Connection reset by peer]