00:00
SteenJobs_ has joined #ruby
00:01
arquebus has joined #ruby
00:02
<
baweaver >
Tohuw: 'nope'.gsub!(/foo/, '') # => nil
00:02
<
baweaver >
beware of that.
00:02
<
baweaver >
most bang methods return nil if they don't match / do something
00:03
imtar has quit [Quit: WeeChat 1.9]
00:03
arquebus has quit [Client Quit]
00:03
<
ineb >
/query Papierkorb
00:04
Moosashi has quit [Quit: Moosashi]
00:06
rundor has joined #ruby
00:11
jtdowney has joined #ruby
00:16
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:24
kkiero has quit [Quit: leaving]
00:31
phinxy has joined #ruby
00:32
bronson has joined #ruby
00:35
alex`` has quit [Ping timeout: 246 seconds]
00:36
bronson has quit [Ping timeout: 248 seconds]
00:38
eightlimbed has joined #ruby
00:38
eightlimbed__ has joined #ruby
00:38
eightlimbed has quit [Client Quit]
00:38
eightlimbed__ has quit [Remote host closed the connection]
00:38
<
Tohuw >
baweaver: great call-out, thanks!
00:40
bronson has joined #ruby
00:40
bronson has quit [Remote host closed the connection]
00:42
SteenJobs_ has quit [Quit: SteenJobs_]
00:42
zapata has joined #ruby
00:48
rundor has quit [Remote host closed the connection]
00:52
rundor has joined #ruby
00:53
moei has quit [Quit: Leaving...]
00:58
Azure has quit [Read error: Connection reset by peer]
01:00
jameser has joined #ruby
01:01
Azure has joined #ruby
01:02
milardovich has joined #ruby
01:05
SteenJobs_ has joined #ruby
01:05
jameser has quit [Ping timeout: 248 seconds]
01:08
rundor has quit [Remote host closed the connection]
01:08
pavelz_home has quit [Ping timeout: 240 seconds]
01:10
moei has joined #ruby
01:11
grant has joined #ruby
01:12
KeyJoo has quit [Read error: Connection reset by peer]
01:13
SteenJobs_ has quit [Quit: SteenJobs_]
01:13
enterprisey has quit [Remote host closed the connection]
01:15
KeyJoo has joined #ruby
01:16
jameser has joined #ruby
01:17
milardovich has quit [Remote host closed the connection]
01:21
jameser has quit [Ping timeout: 240 seconds]
01:22
FastJack has quit [Ping timeout: 258 seconds]
01:22
milardovich has joined #ruby
01:24
marr has quit [Ping timeout: 268 seconds]
01:26
milardovich has quit [Remote host closed the connection]
01:27
cagomez has joined #ruby
01:29
Unison has joined #ruby
01:29
Dimik has joined #ruby
01:32
cagomez has quit [Ping timeout: 255 seconds]
01:37
eelster has joined #ruby
01:38
eelster has quit [Client Quit]
01:39
gizmore|2 has joined #ruby
01:39
eelster has joined #ruby
01:41
bronson has joined #ruby
01:42
gizmore has quit [Ping timeout: 260 seconds]
01:44
gizmore|2 has quit [Ping timeout: 240 seconds]
01:45
gizmore|2 has joined #ruby
01:45
d^sh has quit [Ping timeout: 260 seconds]
01:45
shiranuidong has quit [Remote host closed the connection]
01:46
bronson has quit [Ping timeout: 260 seconds]
01:46
shiranuidong has joined #ruby
01:46
shiranuidong has quit [Max SendQ exceeded]
01:47
d^sh has joined #ruby
01:49
Unison has quit [Quit: WeeChat 1.4]
01:52
cdg has quit [Remote host closed the connection]
01:56
dstrunk has joined #ruby
01:56
smulverine has joined #ruby
01:59
jenrzzz has joined #ruby
02:00
shiranuidong has joined #ruby
02:01
gusrub has joined #ruby
02:01
gusrub has quit [Client Quit]
02:04
grant has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:05
paradisaeidae has joined #ruby
02:06
paradisaeidae_ has joined #ruby
02:10
ur5us has joined #ruby
02:12
ramfjord has quit [Ping timeout: 240 seconds]
02:15
ur5us has quit [Remote host closed the connection]
02:16
ramfjord has joined #ruby
02:16
lxsameer has quit [Quit: WeeChat 1.9]
02:19
TheBloke has quit [Ping timeout: 260 seconds]
02:20
bkxd has joined #ruby
02:20
bkxd_ has joined #ruby
02:21
bambanx has joined #ruby
02:22
SeepingN has joined #ruby
02:32
jeffreylevesque_ has joined #ruby
02:34
bkxd has quit [Ping timeout: 260 seconds]
02:35
bkxd_ has quit [Ping timeout: 260 seconds]
02:36
brent__ has joined #ruby
02:42
bronson has joined #ruby
02:47
bronson has quit [Ping timeout: 260 seconds]
02:48
smulverine has quit [Quit: WeeChat 1.9]
02:53
dionysus69 has joined #ruby
02:55
brent__ has quit [Remote host closed the connection]
02:58
smulverine has joined #ruby
03:02
eckhardt has joined #ruby
03:08
houhoulis has joined #ruby
03:10
jenrzzz has quit [Ping timeout: 268 seconds]
03:10
uZiel has joined #ruby
03:10
GodFather has joined #ruby
03:12
milardovich has joined #ruby
03:12
jenrzzz has joined #ruby
03:12
jenrzzz has joined #ruby
03:12
jenrzzz has quit [Changing host]
03:13
bkxd has joined #ruby
03:13
guardianx has joined #ruby
03:16
GodFather_ has quit [Remote host closed the connection]
03:16
GodFather has quit [Remote host closed the connection]
03:17
milardovich has quit [Ping timeout: 255 seconds]
03:18
rahult has joined #ruby
03:19
jenrzzz has quit [Ping timeout: 255 seconds]
03:19
davidmichaelkarr has quit [Quit: Connection closed for inactivity]
03:20
bkxd has quit [Ping timeout: 248 seconds]
03:22
govg has quit [Ping timeout: 240 seconds]
03:22
rahult has quit [Ping timeout: 260 seconds]
03:23
electrostat has quit [Ping timeout: 240 seconds]
03:31
haylon has quit [Remote host closed the connection]
03:32
KeyJoo has quit [Read error: Connection reset by peer]
03:33
KeyJoo has joined #ruby
03:35
uZiel has quit [Ping timeout: 248 seconds]
03:40
gix has quit [Ping timeout: 255 seconds]
03:41
bronson has joined #ruby
03:43
agent_white has joined #ruby
03:43
sarmiena_ has joined #ruby
03:44
jameser has joined #ruby
03:44
gix has joined #ruby
03:46
bronson has quit [Ping timeout: 240 seconds]
03:46
jameser_ has joined #ruby
03:48
jameser has quit [Ping timeout: 240 seconds]
03:50
sarmiena_ has quit [Quit: sarmiena_]
03:52
jameser_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:55
ramfjord has quit [Ping timeout: 248 seconds]
04:10
t-recx has quit [Quit: t-recx]
04:18
_whitelogger has joined #ruby
04:19
arcaos has joined #ruby
04:21
AxelAlex has joined #ruby
04:24
uZiel has joined #ruby
04:25
hutch34_ has joined #ruby
04:26
Moosashi has joined #ruby
04:28
bkxd has joined #ruby
04:29
hutch34_ has quit [Ping timeout: 255 seconds]
04:31
bkxd_ has joined #ruby
04:34
guardianx has quit []
04:40
arcaos has quit [Ping timeout: 240 seconds]
04:41
sleepee has quit [Ping timeout: 240 seconds]
04:42
bronson has joined #ruby
04:43
rahult has joined #ruby
04:47
bronson has quit [Ping timeout: 268 seconds]
04:48
rahult has quit [Ping timeout: 268 seconds]
04:52
nertzy has joined #ruby
04:53
pwned has joined #ruby
05:02
guardianx has joined #ruby
05:06
bruno- has quit [Ping timeout: 255 seconds]
05:06
houhoulis has quit []
05:07
dviola has quit [Quit: WeeChat 1.9]
05:11
paradisaeidae_ has quit [Quit: ChatZilla 0.9.93 [Firefox 54.0.1/20170628145605]]
05:11
paradisaeidae has quit [Quit: ChatZilla 0.9.93 [Firefox 54.0.1/20170628145605]]
05:16
jenrzzz has joined #ruby
05:16
govg has joined #ruby
05:18
Moosashi has quit [Quit: Moosashi]
05:18
bkxd has quit [Ping timeout: 248 seconds]
05:19
bkxd_ has quit [Ping timeout: 255 seconds]
05:20
jenrzzz has quit [Ping timeout: 268 seconds]
05:23
grant has joined #ruby
05:23
uZiel has quit [Ping timeout: 248 seconds]
05:24
jphase has quit [Ping timeout: 260 seconds]
05:27
nofxxxx has joined #ruby
05:29
KeyJoo has quit [Ping timeout: 240 seconds]
05:31
nofxxx has quit [Ping timeout: 255 seconds]
05:35
sleepee has joined #ruby
05:37
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:37
enterprisey has joined #ruby
05:39
radial has joined #ruby
05:39
uZiel has joined #ruby
05:40
<
radial >
how can i do something for each element except the last one in an array, and do something different for the last one?
05:41
<
havenwood >
radial: *head, tail = array
05:41
<
havenwood >
no prob, you're welcome
05:43
bronson has joined #ruby
05:43
<
baweaver >
havenwood waits for poor unsuspecting newbies to come in with questions
05:44
Bhootrk_ has quit [Ping timeout: 255 seconds]
05:44
govg has quit [Ping timeout: 260 seconds]
05:45
* havenwood
pounces
05:45
* firebird
is a 'newbie' with no questions, but waves hello \o
05:46
<
havenwood >
firebird: hi!
05:46
<
baweaver >
Wanna chat ruby anyways firebird ?
05:47
<
firebird >
I've been playing with ruby lately as I have the ambition to replace the python irc bots I run with ruby (using cinch). Ruby seems to grok with my brain a bit easier, still a long ways off but I'm working at it :)
05:47
<
baweaver >
well we're around if you have questions
05:47
bronson has quit [Ping timeout: 240 seconds]
05:50
<
firebird >
baweaver, great, thanks. :) For the use case of one of the bots I was pleasantly surprised with the cinch plugins already out there that people created (that bot has more basic needs than another one I run)
05:51
<
firebird >
been plugging away at putting it all together and getting the correct configuration sorted, and thus of course learning more about it along the way.
05:53
kwesidev has joined #ruby
05:53
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:53
kculpis has quit [Quit: Leaving]
05:58
perniciouscaffei has joined #ruby
06:00
govg has joined #ruby
06:01
milardovich has joined #ruby
06:04
bkxd_ has joined #ruby
06:04
bkxd has joined #ruby
06:06
milardovich has quit [Ping timeout: 240 seconds]
06:09
radial has left #ruby [#ruby]
06:11
bkxd_ has quit [Ping timeout: 260 seconds]
06:11
bkxd has quit [Ping timeout: 260 seconds]
06:15
belmoussaoui has quit [Ping timeout: 260 seconds]
06:18
jenrzzz has joined #ruby
06:21
eblip has joined #ruby
06:22
warrshrike has joined #ruby
06:22
eb0t has quit [Ping timeout: 248 seconds]
06:23
jenrzzz has quit [Ping timeout: 255 seconds]
06:23
<
warrshrike >
need a little help
06:23
<
warrshrike >
so levinshtein is an algorithm that gives 'difference' between two strings
06:24
<
warrshrike >
i.e. number of additions, deletions needed to make them same
06:24
<
warrshrike >
now strings are made of characters which implement == method
06:25
<
warrshrike >
i want to run levishtein on arrays of type "Node'; node class overloads ==
06:25
<
warrshrike >
so you can do node == node => true/false
06:25
<
warrshrike >
any idea how id do this?
06:26
xuanrui has joined #ruby
06:32
<
baweaver >
Break Levenshtein into its component pieces
06:32
<
baweaver >
what operations does it perform to get the distance between two strings?
06:33
<
baweaver >
because if you count Damerau in there as well you get transposition in addition to the three base operations distinguishing distance.
06:34
<
baweaver >
== is strict equality which means that they're the same
06:34
<
baweaver >
that doesn't really get the distance, making that an odd statement
06:35
<
baweaver >
Strings are made of strings by the way. 'a' is still a string in Ruby.
06:35
<
baweaver >
def ==(other) self.something(other) end
06:35
<
baweaver >
is how you'd define an overload
06:36
belmoussaoui has joined #ruby
06:37
belmoussaoui has quit [Remote host closed the connection]
06:37
<
baweaver >
warrshrike
06:37
belmoussaoui has joined #ruby
06:38
<
warrshrike >
baweaver: right so i mentioned == because i assumed it responded to to equality like strings the levinshtein implementation might work without modification
06:38
<
warrshrike >
whats a damerau?
06:39
<
baweaver >
Typical Levenshtein is comprised of three operations
06:39
<
baweaver >
Damerau added one more
06:40
<
baweaver >
If you don't define a == method it'll just grab the one from Object
06:40
<
baweaver >
&ri Object#==
06:40
<
warrshrike >
okay yeah but the one from object will give a nonsensical result
06:41
<
warrshrike >
hmm okay so i think this guy explains it better
06:41
<
warrshrike >
im thinking to grab his code and modify it for my type instead of strings
06:41
<
warrshrike >
that sound good?
06:41
<
baweaver >
Give it a shot
06:41
<
baweaver >
I'd write some tests to verify it works and run it through Guard
06:42
<
baweaver >
that way you can keep a command line open on the side to see whether it's working in real time
06:43
<
warrshrike >
wow guard seems cool ive never used it before
06:43
<
baweaver >
Whenever I'm not entirely sure what I'm doing I write out the expected case first and keep factoring away until I get green lights
06:43
<
warrshrike >
thanks!
06:43
<
warrshrike >
TDD ftw
06:43
<
baweaver >
I skip between TDD, RDD, and JGIDDD
06:44
<
baweaver >
Repl driven (pry), Just get it done driven
06:44
bronson has joined #ruby
06:45
<
warrshrike >
il be honest though testing really feels like a drag
06:45
<
warrshrike >
esp at first
06:45
<
warrshrike >
having to write tests before code etc
06:45
<
baweaver >
No doubt
06:45
<
warrshrike >
seems very...strange
06:45
<
warrshrike >
i guess it saves pain down the line so...
06:45
<
baweaver >
I do it whenever I know exactly what I want but not how to do it
06:45
<
baweaver >
REPL is when I have jack all clue
06:46
<
warrshrike >
yeah i mostly use repl too
06:46
<
warrshrike >
tho that^ sounds like a good rule of thumb
06:46
<
baweaver >
pry --gem is great
06:46
<
baweaver >
loads the entire path with it
06:47
<
baweaver >
Damerau added transposition to the equation, for reference
06:48
bronson has quit [Ping timeout: 255 seconds]
06:49
cam27 has joined #ruby
06:50
bambanx has quit [Quit: Leaving]
06:52
PatrikasZvaigzde has quit [Ping timeout: 248 seconds]
06:54
belmoussaoui has quit [Ping timeout: 255 seconds]
06:55
belmoussaoui has joined #ruby
06:56
PatrikasZvaigzde has joined #ruby
06:57
belmoussaoui has quit [Client Quit]
07:00
guardianx has quit [Read error: Connection reset by peer]
07:02
smulverine has quit [Quit: WeeChat 1.9]
07:02
milardovich has joined #ruby
07:02
belmoussaoui has joined #ruby
07:05
djbkd has joined #ruby
07:07
milardovich has quit [Ping timeout: 268 seconds]
07:09
jamal7 has joined #ruby
07:10
shiranuidong has quit [Ping timeout: 248 seconds]
07:10
belmoussaoui has quit [Ping timeout: 268 seconds]
07:10
belmoussaoui has joined #ruby
07:11
shiranuidong has joined #ruby
07:12
belmoussaoui has quit [Remote host closed the connection]
07:12
belmoussaoui has joined #ruby
07:15
jamal7 has quit [Remote host closed the connection]
07:16
jamal has joined #ruby
07:17
dionysus69 has quit [Ping timeout: 255 seconds]
07:18
jamal has quit [Client Quit]
07:19
jenrzzz has joined #ruby
07:19
jenrzzz has quit [Changing host]
07:19
jenrzzz has joined #ruby
07:19
jamal7 has joined #ruby
07:21
warrshrike has quit [Ping timeout: 260 seconds]
07:23
belmoussaoui has quit [Ping timeout: 255 seconds]
07:24
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:27
farnas has joined #ruby
07:27
farnas has left #ruby [#ruby]
07:28
nocaberi has joined #ruby
07:30
Bock has quit [Ping timeout: 255 seconds]
07:30
nocaberi is now known as Bock
07:31
im0nde has joined #ruby
07:39
FastJack has joined #ruby
07:45
bronson has joined #ruby
07:45
grant has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:47
djbkd has quit [Remote host closed the connection]
07:48
jamal7 has quit [Remote host closed the connection]
07:48
jamal7 has joined #ruby
07:49
bronson has quit [Ping timeout: 240 seconds]
07:55
________ has joined #ruby
08:00
smulverine has joined #ruby
08:01
_main_ has joined #ruby
08:01
_main_ has quit [Read error: Connection reset by peer]
08:02
jamal7_ has joined #ruby
08:02
__main__ has quit [Read error: Connection reset by peer]
08:02
_main_ has joined #ruby
08:03
_main_ has quit [Read error: Connection reset by peer]
08:03
antgel has joined #ruby
08:04
__main__ has joined #ruby
08:05
jamal7 has quit [Ping timeout: 260 seconds]
08:05
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:07
jamal7_ is now known as jamal7
08:08
arcaos has joined #ruby
08:08
bkxd has joined #ruby
08:09
bkxd_ has joined #ruby
08:15
Dimik has quit [Ping timeout: 240 seconds]
08:17
enterprisey has quit [Read error: Connection reset by peer]
08:18
jamal7 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:19
rahult has joined #ruby
08:22
bkxd has quit [Ping timeout: 248 seconds]
08:22
bkxd has joined #ruby
08:22
bkxd_ has quit [Ping timeout: 248 seconds]
08:23
bkxd_ has joined #ruby
08:24
rahult has quit [Ping timeout: 255 seconds]
08:27
bkxd__ has joined #ruby
08:27
bkxd has quit [Ping timeout: 255 seconds]
08:28
bkxd has joined #ruby
08:28
bkxd_ has quit [Ping timeout: 260 seconds]
08:28
milardovich has joined #ruby
08:31
jenrzzz has quit [Ping timeout: 255 seconds]
08:33
milardovich has quit [Ping timeout: 240 seconds]
08:37
imtar has joined #ruby
08:39
newbie60 has joined #ruby
08:40
pwned has quit [Ping timeout: 248 seconds]
08:40
lxsameer has joined #ruby
08:43
smulverine has quit [Quit: WeeChat 1.9]
08:46
bronson has joined #ruby
08:47
bkxd_ has joined #ruby
08:47
apparition47 has joined #ruby
08:47
pavelz_home has joined #ruby
08:48
bkxd___ has joined #ruby
08:49
bkxd__ has quit [Ping timeout: 260 seconds]
08:49
bkxd has quit [Ping timeout: 260 seconds]
08:50
bronson has quit [Ping timeout: 240 seconds]
08:52
pavelz_home has quit [Ping timeout: 260 seconds]
09:00
uZiel has quit [Ping timeout: 248 seconds]
09:01
s1kx has quit [Quit: s1kx]
09:01
arcaos has quit [Ping timeout: 248 seconds]
09:01
acalycine has joined #ruby
09:01
acalycine has joined #ruby
09:01
acalycine has quit [Changing host]
09:01
<
acalycine >
How do I return a value from an each block?
09:02
rippa has joined #ruby
09:04
<
acalycine >
gameid is what I want to access outside of that each loop.
09:04
<
acalycine >
I haven't coded Ruby in a bit, sorry.
09:05
pwned has joined #ruby
09:14
cam27 has quit [Quit: cam27]
09:17
alex`` has joined #ruby
09:18
arcaos has joined #ruby
09:19
c__ has joined #ruby
09:28
kwesidev has quit [Ping timeout: 240 seconds]
09:28
marr has joined #ruby
09:29
milardovich has joined #ruby
09:29
bkxd_ has quit [Ping timeout: 255 seconds]
09:30
bkxd___ has quit [Ping timeout: 255 seconds]
09:31
kwesidev has joined #ruby
09:34
bkxd has joined #ruby
09:34
milardovich has quit [Ping timeout: 258 seconds]
09:36
TheBloke has joined #ruby
09:39
bkxd_ has joined #ruby
09:43
<
acalycine >
Anybody?
09:45
SteenJobs_ has joined #ruby
09:46
SteenJobs_ has quit [Client Quit]
09:47
bronson has joined #ruby
09:51
pavelz_home has joined #ruby
09:51
hutch34_ has joined #ruby
09:51
bronson has quit [Ping timeout: 240 seconds]
09:52
<
Papierkorb >
&ri Enumerable#find acalycine
09:52
<
acalycine >
Ah, that returns the value.
09:56
hutch34_ has quit [Ping timeout: 255 seconds]
09:58
milardovich has joined #ruby
09:58
Azure has quit [Read error: Connection reset by peer]
09:59
milardovich has quit [Remote host closed the connection]
09:59
c__ has quit [Remote host closed the connection]
10:00
c_ has joined #ruby
10:00
c_ is now known as Guest47631
10:01
high_fiver has joined #ruby
10:02
Norm has quit [Ping timeout: 260 seconds]
10:03
milardovich has joined #ruby
10:06
antgel has quit [Ping timeout: 255 seconds]
10:08
milardovich has quit [Ping timeout: 248 seconds]
10:08
Norm has joined #ruby
10:09
kwesidev has quit [Ping timeout: 260 seconds]
10:10
dionysus69 has joined #ruby
10:12
Guest34441 is now known as julian
10:13
kwesidev has joined #ruby
10:15
belmoussaoui has joined #ruby
10:17
belmoussaoui has quit [Remote host closed the connection]
10:17
belmoussaoui has joined #ruby
10:21
acalycine has quit [Quit: WeeChat 1.9]
10:22
naftilos76 has joined #ruby
10:30
jenrzzz has joined #ruby
10:30
jenrzzz has quit [Changing host]
10:30
jenrzzz has joined #ruby
10:33
biberu has joined #ruby
10:34
jenrzzz has quit [Ping timeout: 246 seconds]
10:36
Azure has joined #ruby
10:38
Azure has quit [Read error: Connection reset by peer]
10:44
<
naftilos76 >
Does anybody know a tool that can validate CSS property values?
10:44
<
naftilos76 >
In ruby i mean...
10:48
bronson has joined #ruby
10:48
antgel has joined #ruby
10:49
ltem has joined #ruby
10:51
rgr has joined #ruby
10:52
high_fiver has quit [Ping timeout: 255 seconds]
10:52
bronson has quit [Ping timeout: 248 seconds]
10:53
phinxy has quit [Read error: Connection reset by peer]
10:54
________ has quit [Quit: Connection closed for inactivity]
10:54
rgr has quit [Client Quit]
10:55
warrshrike has joined #ruby
10:55
bkxd has quit [Ping timeout: 240 seconds]
10:55
bkxd_ has quit [Ping timeout: 240 seconds]
10:55
<
warrshrike >
def method(first:, second:)
10:55
<
warrshrike >
what does the : after first mean here?
10:56
Azure has joined #ruby
10:56
bkxd has joined #ruby
10:56
bkxd_ has joined #ruby
10:57
guardianx has joined #ruby
10:58
kwesidev has quit [Ping timeout: 260 seconds]
11:00
flyhigh has joined #ruby
11:01
bkxd_ has quit [Ping timeout: 260 seconds]
11:02
bkxd has quit [Ping timeout: 260 seconds]
11:04
bkxd has joined #ruby
11:05
bkxd_ has joined #ruby
11:14
acalycine has joined #ruby
11:14
acalycine has joined #ruby
11:14
acalycine has quit [Changing host]
11:14
acalycine has quit [Client Quit]
11:15
guardianx has left #ruby [#ruby]
11:20
flyhigh has quit [Quit: Konversation terminated!]
11:23
belmoussaoui has quit [Ping timeout: 276 seconds]
11:23
belmoussaoui has joined #ruby
11:27
belmoussaoui has quit [Client Quit]
11:27
cadillac_ has quit [Ping timeout: 248 seconds]
11:27
belmoussaoui has joined #ruby
11:29
cadillac_ has joined #ruby
11:33
<
apeiros >
warrshrike: it means that it's a keyword-argument, not a positional one. and since no default is given, it also means it's required.
11:41
belmoussaoui has quit [Ping timeout: 246 seconds]
11:41
belmoussaoui has joined #ruby
11:42
belmoussaoui has quit [Remote host closed the connection]
11:42
belmoussaoui has joined #ruby
11:48
bronson has joined #ruby
11:49
bkxd has quit [Ping timeout: 240 seconds]
11:49
bkxd_ has quit [Ping timeout: 260 seconds]
11:50
bkxd has joined #ruby
11:50
bkxd_ has joined #ruby
11:53
bronson has quit [Ping timeout: 268 seconds]
11:56
rahult has joined #ruby
11:57
<
warrshrike >
apeiros: yeah got it
11:57
<
warrshrike >
also when does float division give nan?
11:58
<
warrshrike >
is it only qhwn 0/0
11:58
<
warrshrike >
are is it possible to get NaN in some other case too?
12:00
rahult has quit [Ping timeout: 240 seconds]
12:01
flyhigh has joined #ruby
12:02
InfinityFye has joined #ruby
12:03
<
apeiros >
there are a couple of mathematical operations which have an undefined result and therefore give nan (or domain error, like 0/0, only 0/0.0 will give nan)
12:03
im0nde has quit [Quit: im0nde]
12:04
anisha has joined #ruby
12:04
im0nde has joined #ruby
12:04
milardovich has joined #ruby
12:04
<
apeiros >
google is probably a better source for operations resulting in nan than my memory ;-)
12:04
belmoussaoui has quit [Ping timeout: 246 seconds]
12:06
<
warrshrike >
gotcha thanks!
12:06
<
warrshrike >
the others seem unlikely so in my app its like div by zero
12:07
naftilos76 has quit [Quit: Αποχώρησε]
12:07
flyhigh has quit [Quit: Konversation terminated!]
12:09
milardovich has quit [Ping timeout: 260 seconds]
12:12
belmoussaoui has joined #ruby
12:16
nowhereman has quit [Ping timeout: 260 seconds]
12:22
warrshrike has quit [Ping timeout: 260 seconds]
12:25
belmoussaoui has quit [Ping timeout: 255 seconds]
12:26
belmoussaoui has joined #ruby
12:27
belmoussaoui has quit [Remote host closed the connection]
12:32
jenrzzz has joined #ruby
12:32
jenrzzz has joined #ruby
12:32
jenrzzz has quit [Changing host]
12:36
jenrzzz has quit [Ping timeout: 255 seconds]
12:36
anisha has quit [Quit: This computer has gone to sleep]
12:41
bkxd_ has quit [Ping timeout: 246 seconds]
12:42
bkxd_ has joined #ruby
12:44
roshanavand has joined #ruby
12:49
bronson has joined #ruby
12:54
bronson has quit [Ping timeout: 248 seconds]
12:58
roshanavand has quit [Ping timeout: 248 seconds]
12:59
roshanavand has joined #ruby
13:01
agent_white has quit [Ping timeout: 276 seconds]
13:02
agent_white has joined #ruby
13:02
t-recx has joined #ruby
13:04
milardovich has joined #ruby
13:05
Guest47631 has quit [Remote host closed the connection]
13:10
milardovich has quit [Ping timeout: 276 seconds]
13:14
c__ has joined #ruby
13:15
c__ has quit [Remote host closed the connection]
13:16
c__ has joined #ruby
13:19
antgel has quit [Ping timeout: 260 seconds]
13:22
vuoto has joined #ruby
13:31
belmoussaoui has joined #ruby
13:31
nowhereman has joined #ruby
13:32
Norm has quit [Ping timeout: 240 seconds]
13:32
belmoussaoui has quit [Remote host closed the connection]
13:32
code_zombie has joined #ruby
13:33
94KAA4PLN has joined #ruby
13:34
smulverine has joined #ruby
13:35
jameser has joined #ruby
13:39
kkiero has joined #ruby
13:41
Norm has joined #ruby
13:45
smulverine has quit [Quit: WeeChat 1.9]
13:48
vuoto has quit [Remote host closed the connection]
13:49
vuoto has joined #ruby
13:50
bronson has joined #ruby
13:53
94KAA4PLN has quit [Ping timeout: 246 seconds]
13:54
bronson has quit [Ping timeout: 240 seconds]
13:57
InfinityFye has quit [Ping timeout: 255 seconds]
14:00
kwesidev has joined #ruby
14:00
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:01
belmoussaoui has joined #ruby
14:02
nowhereman has quit [Read error: Connection reset by peer]
14:02
nowhereman has joined #ruby
14:05
jenrzzz has joined #ruby
14:05
jenrzzz has joined #ruby
14:05
jenrzzz has quit [Changing host]
14:05
milardovich has joined #ruby
14:06
kwesidev has quit [Ping timeout: 240 seconds]
14:07
bkxd has quit [Ping timeout: 260 seconds]
14:07
nowhereman has quit [Ping timeout: 248 seconds]
14:07
bkxd_ has quit [Ping timeout: 260 seconds]
14:09
ar1a has quit [Ping timeout: 240 seconds]
14:10
milardovich has quit [Ping timeout: 248 seconds]
14:13
nowhereman has joined #ruby
14:14
jenrzzz has quit [Ping timeout: 240 seconds]
14:19
alex`` has quit [Quit: WeeChat 1.9]
14:20
im0nde has quit [Quit: im0nde]
14:22
nowhereman has quit [Ping timeout: 240 seconds]
14:24
kwesidev has joined #ruby
14:26
zenguy_pc has quit [Ping timeout: 255 seconds]
14:26
rkoller has joined #ruby
14:26
ElFerna has joined #ruby
14:27
ElFerna has quit [Client Quit]
14:27
rkoller has quit [Client Quit]
14:28
zenguy_pc has joined #ruby
14:31
c__ has quit [Remote host closed the connection]
14:31
dionysus69 has quit [Ping timeout: 255 seconds]
14:33
mrfoo has joined #ruby
14:35
InfinityFye has joined #ruby
14:37
uZiel has joined #ruby
14:38
mrfoo has quit [Client Quit]
14:38
rahult has joined #ruby
14:42
rahult has quit [Ping timeout: 240 seconds]
14:43
cam27 has joined #ruby
14:51
sagax has quit [Ping timeout: 255 seconds]
14:51
bronson has joined #ruby
14:55
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
14:56
bronson has quit [Ping timeout: 240 seconds]
14:58
Emmanuel_Chanel has joined #ruby
14:59
SeepingN has joined #ruby
15:00
romankapitonov has joined #ruby
15:06
belmoussaoui has quit [Remote host closed the connection]
15:09
Emmanuel_Chanel has quit [Read error: No route to host]
15:12
Emmanuel_Chanel has joined #ruby
15:17
InfinityFye has quit [Ping timeout: 255 seconds]
15:18
mathys has joined #ruby
15:23
milardovich has joined #ruby
15:26
apparition47 has quit [Quit: Bye]
15:27
milardovich has quit [Ping timeout: 240 seconds]
15:29
cadillac_ has quit [Read error: Connection reset by peer]
15:32
cadillac_ has joined #ruby
15:32
rahult has joined #ruby
15:32
kculpis has joined #ruby
15:37
rahult has quit [Ping timeout: 240 seconds]
15:42
chouhoulis has joined #ruby
15:44
kwesidev has quit [Ping timeout: 240 seconds]
15:46
chouhoul_ has joined #ruby
15:46
kwesidev has joined #ruby
15:48
smulverine has joined #ruby
15:48
chouhoulis has quit [Ping timeout: 240 seconds]
15:49
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:52
bronson has joined #ruby
15:54
cagmz has joined #ruby
15:56
bronson has quit [Ping timeout: 240 seconds]
15:58
woodruffw has quit [Ping timeout: 240 seconds]
15:59
Rodya_ has joined #ruby
16:00
dionysus69 has joined #ruby
16:04
chouhoul_ has quit [Remote host closed the connection]
16:05
chouhoulis has joined #ruby
16:05
chouhoulis has quit [Remote host closed the connection]
16:06
houhoulis has joined #ruby
16:09
mathys has quit [Quit: Leaving]
16:11
rabajaj has joined #ruby
16:11
jenrzzz has joined #ruby
16:11
jenrzzz has joined #ruby
16:11
jenrzzz has quit [Changing host]
16:13
electrostat has joined #ruby
16:16
kculpis has quit [Quit: Leaving]
16:16
jenrzzz has quit [Ping timeout: 240 seconds]
16:19
kculpis has joined #ruby
16:22
Rodya_ has quit [Remote host closed the connection]
16:22
dionysus69 has quit [Ping timeout: 268 seconds]
16:26
Rodya_ has joined #ruby
16:32
belmoussaoui has joined #ruby
16:35
ltem has quit [Quit: Leaving]
16:41
InfinityFye has joined #ruby
16:46
uZiel has quit [Ping timeout: 248 seconds]
16:50
InfinityFye has quit [Ping timeout: 260 seconds]
16:52
ar1a has joined #ruby
16:53
bronson has joined #ruby
16:54
c1 has joined #ruby
16:54
nanoz has joined #ruby
16:57
bronson has quit [Ping timeout: 240 seconds]
16:58
runescape07rsps has joined #ruby
16:59
woodruffw has joined #ruby
16:59
woodruffw has joined #ruby
16:59
woodruffw has quit [Changing host]
17:00
nanoz has left #ruby ["Leaving"]
17:02
smulverine has quit [Quit: WeeChat 1.9]
17:04
InfinityFye has joined #ruby
17:06
cadillac_ has quit [Ping timeout: 268 seconds]
17:10
dionysus69 has joined #ruby
17:13
jenrzzz has joined #ruby
17:13
jenrzzz has joined #ruby
17:13
jenrzzz has quit [Changing host]
17:18
jenrzzz has quit [Ping timeout: 240 seconds]
17:24
milardovich has joined #ruby
17:28
milardovich has quit [Ping timeout: 240 seconds]
17:31
enterprisey has joined #ruby
17:33
c1 has quit [Ping timeout: 260 seconds]
17:33
hutch34_ has joined #ruby
17:34
c1 has joined #ruby
17:37
houhoulis has quit [Remote host closed the connection]
17:38
milardovich has joined #ruby
17:38
runescape07rsps has quit [Quit: Leaving]
17:41
Maringan has joined #ruby
17:41
vuoto has quit [Quit: Lost terminal]
17:41
benjen has quit [Ping timeout: 240 seconds]
17:43
milardovich has quit [Ping timeout: 268 seconds]
17:45
kamilkucharski has joined #ruby
17:45
Rodya_ has quit [Remote host closed the connection]
17:45
im0nde has joined #ruby
17:46
hutch34_ has quit [Ping timeout: 246 seconds]
17:52
sharkyshark has joined #ruby
17:52
<
sharkyshark >
what does this regex mean? / (?i-mx:driving layup)/
17:52
<
sharkyshark >
what is the (?-mx:
17:53
kwesidev has quit [Ping timeout: 260 seconds]
17:54
bronson has joined #ruby
17:55
<
sharkyshark >
guess no one works on sundays
17:57
naitian has quit [Ping timeout: 260 seconds]
17:58
<
havenwood >
sharkyshark: "m" for Regexp::MULTILINE and "x" for Regexp::EXTENDED.
17:58
<
havenwood >
sharkyshark: They're Regexp options.
17:58
bronson has quit [Ping timeout: 255 seconds]
17:59
<
sharkyshark >
ah i see
17:59
<
sharkyshark >
thanks
17:59
<
havenwood >
sharkyshark: You have Regexp::IGNORECASE set and the other two not.
17:59
<
havenwood >
The "i" one.
17:59
<
sharkyshark >
ohhh, thats what the dash is for
17:59
<
havenwood >
>> Regexp.union /x/i, /y/
18:00
<
ruby[bot] >
havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
18:00
<
havenwood >
#=> /(?i-mx:x)|(?-mix:y)/
18:00
<
sharkyshark >
so if it just read / (?imx):stuff/
18:00
<
sharkyshark >
then it would be all three turned on
18:00
<
havenwood >
sharkyshark: all three off
18:00
<
sharkyshark >
hmm you sure? seems like they'd all be on there
18:00
<
havenwood >
sharkyshark: left of the dash on, right off
18:00
<
havenwood >
see example above
18:01
<
sharkyshark >
yeah thats what i wrote... i had no dash in my example, so all on
18:01
<
havenwood >
sharkyshark: Your example: i-mx
18:02
<
sharkyshark >
oh yeah i just wrote another one out here, / (?imx):stuff/, in this spot all three would be turned on yeah
18:02
<
havenwood >
sharkyshark: Your example wasn't: -mix
18:02
<
havenwood >
sharkyshark: yeah, if it's -mix
18:02
<
sharkyshark >
wouldnt all three be off then? cause they would be right of the dahs?
18:02
<
sharkyshark >
*dash
18:02
perniciouscaffei has joined #ruby
18:02
<
havenwood >
that's all off
18:03
<
havenwood >
>> Regexp.union /x/i, /y/mix
18:03
<
havenwood >
sharkyshark: ^
18:03
<
havenwood >
no dash
18:03
naitian has joined #ruby
18:04
Dimik has joined #ruby
18:08
hutch34_ has joined #ruby
18:10
enterprisey has quit [Quit: Leaving]
18:11
brent__ has joined #ruby
18:12
im0nde has quit [Quit: im0nde]
18:13
im0nde has joined #ruby
18:13
im0nde has quit [Client Quit]
18:13
MichaelBurge has joined #ruby
18:15
dionysus69 has quit [Ping timeout: 240 seconds]
18:19
dviola has joined #ruby
18:27
hutch34 has joined #ruby
18:27
hutch34_ has quit [Ping timeout: 268 seconds]
18:28
wimplash has joined #ruby
18:30
rgtk has joined #ruby
18:30
jackjackdripper has joined #ruby
18:31
wimplash has quit [Client Quit]
18:33
nowhere_man has joined #ruby
18:34
dstrunk has joined #ruby
18:36
newage1 has joined #ruby
18:36
<
newage1 >
i need to order meth, alphabay is down. where do i go?
18:36
<
adaedra >
!troll newage1
18:38
maus_ has joined #ruby
18:39
milardovich has joined #ruby
18:43
hutch34_ has joined #ruby
18:44
milardovich has quit [Ping timeout: 255 seconds]
18:45
hutch34 has quit [Ping timeout: 246 seconds]
18:52
vuoto has joined #ruby
18:55
bronson has joined #ruby
18:59
bronson has quit [Ping timeout: 240 seconds]
18:59
pwned has quit [Ping timeout: 276 seconds]
19:00
LiquidInsect has quit [Ping timeout: 248 seconds]
19:01
rgtk has quit [Ping timeout: 260 seconds]
19:02
mikecmpbll has joined #ruby
19:02
brent__ has quit [Remote host closed the connection]
19:06
naftilos76 has joined #ruby
19:08
rahult has joined #ruby
19:12
ltem has joined #ruby
19:13
alveric1 has quit [Quit: WeeChat 1.9]
19:14
rahult has quit [Ping timeout: 276 seconds]
19:15
jenrzzz has joined #ruby
19:15
jenrzzz has joined #ruby
19:15
jenrzzz has quit [Changing host]
19:18
jackjackdripper has quit [Quit: Leaving.]
19:20
jenrzzz has quit [Ping timeout: 255 seconds]
19:23
jackjackdripper has joined #ruby
19:24
__Yiota has joined #ruby
19:25
brent__ has joined #ruby
19:26
pwned has joined #ruby
19:28
__Yiota has quit [Client Quit]
19:28
enterprisey has joined #ruby
19:30
enterprisey has quit [Remote host closed the connection]
19:34
rabajaj has quit [Quit: Leaving]
19:36
arcaos has quit [Ping timeout: 260 seconds]
19:36
belmoussaoui has quit [Ping timeout: 255 seconds]
19:37
eljimmy has joined #ruby
19:44
Maringan has quit [Remote host closed the connection]
19:47
brent__ has quit [Remote host closed the connection]
19:48
brent__ has joined #ruby
19:49
kamilkucharski has quit [Ping timeout: 248 seconds]
19:52
dionysus69 has joined #ruby
19:53
swills has quit [Remote host closed the connection]
19:55
segmond has joined #ruby
19:55
bronson has joined #ruby
19:56
naftilos76 has quit [Quit: Αποχώρησε]
19:59
juiko has joined #ruby
20:00
bronson has quit [Ping timeout: 240 seconds]
20:00
rgtk has joined #ruby
20:05
cam27 has quit [Quit: cam27]
20:07
brian_penguin has joined #ruby
20:07
kkiero_ has joined #ruby
20:10
kkiero has quit [Ping timeout: 240 seconds]
20:10
jackjackdripper has quit [Quit: Leaving.]
20:12
brent__ has quit [Remote host closed the connection]
20:16
sleepee has quit [Quit: Leaving]
20:17
brian_penguin has quit [Quit: Leaving]
20:19
vuoto has quit [Remote host closed the connection]
20:19
milardovich has joined #ruby
20:21
hutch34_ has quit [Ping timeout: 248 seconds]
20:22
cam27 has joined #ruby
20:22
belmoussaoui has joined #ruby
20:22
hutch34_ has joined #ruby
20:22
_sfiguser has joined #ruby
20:24
swills has joined #ruby
20:24
swills has joined #ruby
20:25
shortCircuit__ has left #ruby ["WeeChat 1.8"]
20:29
banisterfiend has joined #ruby
20:30
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:36
jackjackdripper has joined #ruby
20:39
__Yiota has joined #ruby
20:44
hutch34_ has quit [Ping timeout: 255 seconds]
20:44
milardovich has quit [Remote host closed the connection]
20:49
jenrzzz has joined #ruby
20:52
milardovich has joined #ruby
20:53
houhoulis has joined #ruby
20:56
bronson has joined #ruby
20:57
milardovich has quit [Remote host closed the connection]
20:57
milardovich has joined #ruby
20:58
milardovich has quit [Remote host closed the connection]
20:58
konsolebox has quit [Quit: .]
20:58
milardovich has joined #ruby
21:01
bronson has quit [Ping timeout: 248 seconds]
21:07
milardovich has quit [Remote host closed the connection]
21:07
apofis has joined #ruby
21:10
rundor has joined #ruby
21:13
tacoboy has joined #ruby
21:15
belmoussaoui has quit [Read error: Connection reset by peer]
21:16
rgtk has quit [Ping timeout: 246 seconds]
21:16
pwned has quit [Ping timeout: 255 seconds]
21:17
jenrzzz has quit [Ping timeout: 240 seconds]
21:18
bruno- has joined #ruby
21:20
jackjackdripper has quit [Quit: Leaving.]
21:22
rgtk has joined #ruby
21:26
foamz has joined #ruby
21:26
ur5us has joined #ruby
21:27
<
foamz >
its in one of my bundle files and it seems to have been deleted from github
21:27
DoubleMalt has joined #ruby
21:29
kkiero_ has quit [Ping timeout: 268 seconds]
21:30
petto has joined #ruby
21:30
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:31
maus_ has quit [Remote host closed the connection]
21:33
high_fiver has joined #ruby
21:35
__Yiota has joined #ruby
21:36
phinxy has joined #ruby
21:38
kobain has joined #ruby
21:39
mikecmpbll has quit [Quit: inabit. zz.]
21:40
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:41
houhoulis has quit [Remote host closed the connection]
21:43
roshanavand has quit [Quit: roshanavand]
21:45
JAP{NECRO}H has joined #ruby
21:49
high_fiver has quit [Ping timeout: 255 seconds]
21:53
psychicist__ has quit [Quit: Lost terminal]
21:58
bronson has joined #ruby
22:00
imtar has quit [Quit: WeeChat 1.9]
22:01
psychicist__ has joined #ruby
22:02
bronson has quit [Ping timeout: 240 seconds]
22:02
millerti has joined #ruby
22:04
JAP{NECRO}H has quit [Read error: Connection reset by peer]
22:04
JAP{NECRO}H has joined #ruby
22:05
rahult has joined #ruby
22:06
bruno- has quit [Ping timeout: 255 seconds]
22:09
JAP{NECRO}H has quit [Read error: Connection reset by peer]
22:13
__Yiota has quit [Ping timeout: 240 seconds]
22:14
rahult has quit [Quit: Back to the world of zombies]
22:17
_sfiguser has quit [Remote host closed the connection]
22:20
Dimik has quit [Ping timeout: 255 seconds]
22:22
MtnGoat has joined #ruby
22:26
ltem has quit [Quit: Leaving]
22:32
rundor has quit [Remote host closed the connection]
22:32
bruno- has joined #ruby
22:32
rundor has joined #ruby
22:32
rundor has quit [Remote host closed the connection]
22:32
arcaos has joined #ruby
22:33
rundor has joined #ruby
22:33
rundor has quit [Remote host closed the connection]
22:33
rundor has joined #ruby
22:34
rundor has quit [Remote host closed the connection]
22:34
rundor has joined #ruby
22:34
__Yiota has joined #ruby
22:35
rundor has quit [Remote host closed the connection]
22:35
rundor has joined #ruby
22:35
sneakerhax has joined #ruby
22:36
rundor has quit [Remote host closed the connection]
22:36
duderonomy has quit [Ping timeout: 248 seconds]
22:36
duderono_ has joined #ruby
22:39
robouk has quit [Remote host closed the connection]
22:40
robouk has joined #ruby
22:42
enterprisey has joined #ruby
22:45
kkiero has joined #ruby
22:48
apofis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:50
konsolebox has joined #ruby
22:53
enterprisey has quit [Remote host closed the connection]
22:53
petto has quit [Remote host closed the connection]
22:54
JAP{NECRO}H has joined #ruby
22:54
petto has joined #ruby
22:58
TomyLobo2 has quit [Ping timeout: 255 seconds]
22:58
petto has quit [Ping timeout: 240 seconds]
22:58
bronson has joined #ruby
23:03
bronson has quit [Ping timeout: 268 seconds]
23:04
jnollette has quit [Ping timeout: 255 seconds]
23:07
milardovich has joined #ruby
23:08
duderono_ has quit [Ping timeout: 255 seconds]
23:12
milardovich has quit [Ping timeout: 255 seconds]
23:13
bonhoeffer has joined #ruby
23:14
<
bonhoeffer >
what is the latest version of rails
23:15
<
Papierkorb >
?rails bonhoeffer
23:15
<
ruby[bot] >
bonhoeffer: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
23:15
<
bonhoeffer >
sorry -- wrong room
23:20
jnollette has joined #ruby
23:21
AxelAlex has quit [Quit: AxelAlex]
23:23
JAP{NECRO}H has quit [Ping timeout: 255 seconds]
23:26
lxsameer has quit [Quit: WeeChat 1.9]
23:26
mesamoo has quit [Quit: Konversation terminated!]
23:29
xuanrui has quit [Remote host closed the connection]
23:35
ar1a has quit [Ping timeout: 240 seconds]
23:36
ar1a has joined #ruby
23:40
MtnGoat has quit [Ping timeout: 248 seconds]
23:40
t-recx has quit [Quit: t-recx]
23:46
InfinityFye has quit [Ping timeout: 260 seconds]
23:49
Dimik has joined #ruby
23:50
kkiero has quit [Quit: leaving]
23:51
kkiero has joined #ruby
23:51
gusrub has joined #ruby
23:57
gusrub has quit [Remote host closed the connection]
23:59
bronson has joined #ruby