havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: 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 || Books: https://goo.gl/wpGhoQ
SteenJobs_ has joined #ruby
arquebus has joined #ruby
<baweaver> Tohuw: 'nope'.gsub!(/foo/, '') # => nil
<baweaver> beware of that.
<baweaver> most bang methods return nil if they don't match / do something
imtar has quit [Quit: WeeChat 1.9]
arquebus has quit [Client Quit]
<ineb> /query Papierkorb
<ineb> gnarf
Moosashi has quit [Quit: Moosashi]
rundor has joined #ruby
jtdowney has joined #ruby
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kkiero has quit [Quit: leaving]
phinxy has joined #ruby
bronson has joined #ruby
alex`` has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 248 seconds]
eightlimbed has joined #ruby
eightlimbed__ has joined #ruby
eightlimbed has quit [Client Quit]
eightlimbed__ has quit [Remote host closed the connection]
<Tohuw> baweaver: great call-out, thanks!
bronson has joined #ruby
bronson has quit [Remote host closed the connection]
SteenJobs_ has quit [Quit: SteenJobs_]
zapata has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
moei has quit [Quit: Leaving...]
Azure has quit [Read error: Connection reset by peer]
jameser has joined #ruby
Azure has joined #ruby
milardovich has joined #ruby
SteenJobs_ has joined #ruby
jameser has quit [Ping timeout: 248 seconds]
rundor has quit [Remote host closed the connection]
pavelz_home has quit [Ping timeout: 240 seconds]
moei has joined #ruby
grant has joined #ruby
KeyJoo has quit [Read error: Connection reset by peer]
SteenJobs_ has quit [Quit: SteenJobs_]
enterprisey has quit [Remote host closed the connection]
KeyJoo has joined #ruby
jameser has joined #ruby
milardovich has quit [Remote host closed the connection]
jameser has quit [Ping timeout: 240 seconds]
FastJack has quit [Ping timeout: 258 seconds]
milardovich has joined #ruby
marr has quit [Ping timeout: 268 seconds]
milardovich has quit [Remote host closed the connection]
cagomez has joined #ruby
Unison has joined #ruby
Dimik has joined #ruby
cagomez has quit [Ping timeout: 255 seconds]
eelster has joined #ruby
eelster has quit [Client Quit]
gizmore|2 has joined #ruby
eelster has joined #ruby
bronson has joined #ruby
gizmore has quit [Ping timeout: 260 seconds]
gizmore|2 has quit [Ping timeout: 240 seconds]
gizmore|2 has joined #ruby
d^sh has quit [Ping timeout: 260 seconds]
shiranuidong has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 260 seconds]
shiranuidong has joined #ruby
shiranuidong has quit [Max SendQ exceeded]
d^sh has joined #ruby
Unison has quit [Quit: WeeChat 1.4]
cdg has quit [Remote host closed the connection]
dstrunk has joined #ruby
smulverine has joined #ruby
jenrzzz has joined #ruby
shiranuidong has joined #ruby
gusrub has joined #ruby
gusrub has quit [Client Quit]
grant has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
paradisaeidae has joined #ruby
paradisaeidae_ has joined #ruby
ur5us has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
ramfjord has joined #ruby
lxsameer has quit [Quit: WeeChat 1.9]
TheBloke has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
bkxd_ has joined #ruby
bambanx has joined #ruby
SeepingN has joined #ruby
jeffreylevesque_ has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
bkxd_ has quit [Ping timeout: 260 seconds]
brent__ has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
smulverine has quit [Quit: WeeChat 1.9]
dionysus69 has joined #ruby
brent__ has quit [Remote host closed the connection]
smulverine has joined #ruby
eckhardt has joined #ruby
jeffreylevesque_ has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
houhoulis has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
uZiel has joined #ruby
GodFather has joined #ruby
milardovich has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
bkxd has joined #ruby
guardianx has joined #ruby
GodFather_ has quit [Remote host closed the connection]
GodFather has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 255 seconds]
rahult has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
davidmichaelkarr has quit [Quit: Connection closed for inactivity]
bkxd has quit [Ping timeout: 248 seconds]
govg has quit [Ping timeout: 240 seconds]
rahult has quit [Ping timeout: 260 seconds]
electrostat has quit [Ping timeout: 240 seconds]
haylon has quit [Remote host closed the connection]
KeyJoo has quit [Read error: Connection reset by peer]
KeyJoo has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
gix has quit [Ping timeout: 255 seconds]
bronson has joined #ruby
agent_white has joined #ruby
sarmiena_ has joined #ruby
jameser has joined #ruby
gix has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
jameser_ has joined #ruby
jameser has quit [Ping timeout: 240 seconds]
sarmiena_ has quit [Quit: sarmiena_]
jameser_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 248 seconds]
t-recx has quit [Quit: t-recx]
_whitelogger has joined #ruby
arcaos has joined #ruby
AxelAlex has joined #ruby
uZiel has joined #ruby
hutch34_ has joined #ruby
Moosashi has joined #ruby
bkxd has joined #ruby
hutch34_ has quit [Ping timeout: 255 seconds]
bkxd_ has joined #ruby
guardianx has quit []
arcaos has quit [Ping timeout: 240 seconds]
sleepee has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
rahult has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
rahult has quit [Ping timeout: 268 seconds]
nertzy has joined #ruby
pwned has joined #ruby
guardianx has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
houhoulis has quit []
dviola has quit [Quit: WeeChat 1.9]
paradisaeidae_ has quit [Quit: ChatZilla 0.9.93 [Firefox 54.0.1/20170628145605]]
paradisaeidae has quit [Quit: ChatZilla 0.9.93 [Firefox 54.0.1/20170628145605]]
jenrzzz has joined #ruby
govg has joined #ruby
Moosashi has quit [Quit: Moosashi]
bkxd has quit [Ping timeout: 248 seconds]
bkxd_ has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
grant has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
jphase has quit [Ping timeout: 260 seconds]
nofxxxx has joined #ruby
KeyJoo has quit [Ping timeout: 240 seconds]
nofxxx has quit [Ping timeout: 255 seconds]
sleepee has joined #ruby
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
enterprisey has joined #ruby
radial has joined #ruby
uZiel has joined #ruby
<radial> how can i do something for each element except the last one in an array, and do something different for the last one?
<havenwood> radial: *head, tail = array
<radial> ah, cool
<radial> thanks
<havenwood> no prob, you're welcome
bronson has joined #ruby
<baweaver> ninjas
<baweaver> havenwood waits for poor unsuspecting newbies to come in with questions
Bhootrk_ has quit [Ping timeout: 255 seconds]
govg has quit [Ping timeout: 260 seconds]
* havenwood pounces
* firebird is a 'newbie' with no questions, but waves hello \o
<havenwood> firebird: hi!
<baweaver> Wanna chat ruby anyways firebird ?
<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 :)
<baweaver> well we're around if you have questions
bronson has quit [Ping timeout: 240 seconds]
<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)
<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.
kwesidev has joined #ruby
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kculpis has quit [Quit: Leaving]
perniciouscaffei has joined #ruby
govg has joined #ruby
milardovich has joined #ruby
bkxd_ has joined #ruby
bkxd has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
radial has left #ruby [#ruby]
bkxd_ has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 260 seconds]
belmoussaoui has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
eblip has joined #ruby
warrshrike has joined #ruby
eb0t has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
<warrshrike> need a little help
<warrshrike> so levinshtein is an algorithm that gives 'difference' between two strings
<warrshrike> i.e. number of additions, deletions needed to make them same
<warrshrike> heres an example https://github.com/dbalatero/levenshtein-ffi
<warrshrike> now strings are made of characters which implement == method
<warrshrike> i want to run levishtein on arrays of type "Node'; node class overloads ==
<warrshrike> so you can do node == node => true/false
<warrshrike> any idea how id do this?
xuanrui has joined #ruby
<baweaver> Break Levenshtein into its component pieces
<baweaver> what operations does it perform to get the distance between two strings?
<baweaver> because if you count Damerau in there as well you get transposition in addition to the three base operations distinguishing distance.
<baweaver> == is strict equality which means that they're the same
<baweaver> that doesn't really get the distance, making that an odd statement
<baweaver> Strings are made of strings by the way. 'a' is still a string in Ruby.
<baweaver> def ==(other) self.something(other) end
<baweaver> is how you'd define an overload
belmoussaoui has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
<baweaver> warrshrike
belmoussaoui has joined #ruby
<warrshrike> baweaver: right so i mentioned == because i assumed it responded to to equality like strings the levinshtein implementation might work without modification
<warrshrike> whats a damerau?
<baweaver> Typical Levenshtein is comprised of three operations
<baweaver> Damerau added one more
<baweaver> If you don't define a == method it'll just grab the one from Object
<baweaver> &ri Object#==
<warrshrike> okay yeah but the one from object will give a nonsensical result
<warrshrike> hmm okay so i think this guy explains it better
<warrshrike> im thinking to grab his code and modify it for my type instead of strings
<warrshrike> that sound good?
<baweaver> Give it a shot
<baweaver> I'd write some tests to verify it works and run it through Guard
<baweaver> that way you can keep a command line open on the side to see whether it's working in real time
<warrshrike> wow guard seems cool ive never used it before
<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
<warrshrike> thanks!
<warrshrike> TDD ftw
<baweaver> I skip between TDD, RDD, and JGIDDD
<baweaver> Repl driven (pry), Just get it done driven
bronson has joined #ruby
<warrshrike> lol
<warrshrike> il be honest though testing really feels like a drag
<warrshrike> esp at first
<warrshrike> having to write tests before code etc
<baweaver> No doubt
<warrshrike> seems very...strange
<warrshrike> i guess it saves pain down the line so...
<baweaver> I do it whenever I know exactly what I want but not how to do it
<baweaver> REPL is when I have jack all clue
<warrshrike> yeah i mostly use repl too
<warrshrike> tho that^ sounds like a good rule of thumb
<baweaver> pry --gem is great
<baweaver> loads the entire path with it
<baweaver> Damerau added transposition to the equation, for reference
bronson has quit [Ping timeout: 255 seconds]
cam27 has joined #ruby
bambanx has quit [Quit: Leaving]
PatrikasZvaigzde has quit [Ping timeout: 248 seconds]
belmoussaoui has quit [Ping timeout: 255 seconds]
belmoussaoui has joined #ruby
PatrikasZvaigzde has joined #ruby
belmoussaoui has quit [Client Quit]
guardianx has quit [Read error: Connection reset by peer]
smulverine has quit [Quit: WeeChat 1.9]
milardovich has joined #ruby
belmoussaoui has joined #ruby
djbkd has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
jamal7 has joined #ruby
shiranuidong has quit [Ping timeout: 248 seconds]
belmoussaoui has quit [Ping timeout: 268 seconds]
belmoussaoui has joined #ruby
shiranuidong has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
belmoussaoui has joined #ruby
jamal7 has quit [Remote host closed the connection]
jamal has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
jamal has quit [Client Quit]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
jamal7 has joined #ruby
warrshrike has quit [Ping timeout: 260 seconds]
belmoussaoui has quit [Ping timeout: 255 seconds]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
farnas has joined #ruby
farnas has left #ruby [#ruby]
nocaberi has joined #ruby
Bock has quit [Ping timeout: 255 seconds]
nocaberi is now known as Bock
im0nde has joined #ruby
FastJack has joined #ruby
bronson has joined #ruby
grant has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
jamal7 has quit [Remote host closed the connection]
jamal7 has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
________ has joined #ruby
smulverine has joined #ruby
_main_ has joined #ruby
_main_ has quit [Read error: Connection reset by peer]
jamal7_ has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
_main_ has joined #ruby
_main_ has quit [Read error: Connection reset by peer]
antgel has joined #ruby
__main__ has joined #ruby
jamal7 has quit [Ping timeout: 260 seconds]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamal7_ is now known as jamal7
arcaos has joined #ruby
bkxd has joined #ruby
bkxd_ has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
enterprisey has quit [Read error: Connection reset by peer]
jamal7 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rahult has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
bkxd_ has quit [Ping timeout: 248 seconds]
bkxd_ has joined #ruby
rahult has quit [Ping timeout: 255 seconds]
bkxd__ has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
bkxd_ has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
milardovich has quit [Ping timeout: 240 seconds]
imtar has joined #ruby
newbie60 has joined #ruby
pwned has quit [Ping timeout: 248 seconds]
lxsameer has joined #ruby
smulverine has quit [Quit: WeeChat 1.9]
bronson has joined #ruby
bkxd_ has joined #ruby
apparition47 has joined #ruby
pavelz_home has joined #ruby
bkxd___ has joined #ruby
bkxd__ has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 260 seconds]
newbie60 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
bronson has quit [Ping timeout: 240 seconds]
pavelz_home has quit [Ping timeout: 260 seconds]
uZiel has quit [Ping timeout: 248 seconds]
s1kx has quit [Quit: s1kx]
arcaos has quit [Ping timeout: 248 seconds]
acalycine has joined #ruby
acalycine has joined #ruby
acalycine has quit [Changing host]
<acalycine> How do I return a value from an each block?
rippa has joined #ruby
<acalycine> gameid is what I want to access outside of that each loop.
<acalycine> I haven't coded Ruby in a bit, sorry.
pwned has joined #ruby
cam27 has quit [Quit: cam27]
alex`` has joined #ruby
arcaos has joined #ruby
c__ has joined #ruby
kwesidev has quit [Ping timeout: 240 seconds]
marr has joined #ruby
milardovich has joined #ruby
bkxd_ has quit [Ping timeout: 255 seconds]
bkxd___ has quit [Ping timeout: 255 seconds]
kwesidev has joined #ruby
bkxd has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
TheBloke has joined #ruby
bkxd_ has joined #ruby
<acalycine> Anybody?
SteenJobs_ has joined #ruby
SteenJobs_ has quit [Client Quit]
bronson has joined #ruby
pavelz_home has joined #ruby
hutch34_ has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
<Papierkorb> &ri Enumerable#find acalycine
<acalycine> Ah, that returns the value.
<acalycine> Cool.
hutch34_ has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
Azure has quit [Read error: Connection reset by peer]
milardovich has quit [Remote host closed the connection]
c__ has quit [Remote host closed the connection]
c_ has joined #ruby
c_ is now known as Guest47631
high_fiver has joined #ruby
Norm has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
antgel has quit [Ping timeout: 255 seconds]
milardovich has quit [Ping timeout: 248 seconds]
Norm has joined #ruby
kwesidev has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
Guest34441 is now known as julian
kwesidev has joined #ruby
belmoussaoui has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
belmoussaoui has joined #ruby
acalycine has quit [Quit: WeeChat 1.9]
naftilos76 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
biberu has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
Azure has joined #ruby
Azure has quit [Read error: Connection reset by peer]
<naftilos76> Does anybody know a tool that can validate CSS property values?
<naftilos76> In ruby i mean...
bronson has joined #ruby
antgel has joined #ruby
ltem has joined #ruby
rgr has joined #ruby
high_fiver has quit [Ping timeout: 255 seconds]
bronson has quit [Ping timeout: 248 seconds]
phinxy has quit [Read error: Connection reset by peer]
________ has quit [Quit: Connection closed for inactivity]
rgr has quit [Client Quit]
warrshrike has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
bkxd_ has quit [Ping timeout: 240 seconds]
<warrshrike> def method(first:, second:)
<warrshrike> what does the : after first mean here?
Azure has joined #ruby
bkxd has joined #ruby
bkxd_ has joined #ruby
guardianx has joined #ruby
kwesidev has quit [Ping timeout: 260 seconds]
flyhigh has joined #ruby
bkxd_ has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
bkxd_ has joined #ruby
acalycine has joined #ruby
acalycine has joined #ruby
acalycine has quit [Changing host]
acalycine has quit [Client Quit]
guardianx has left #ruby [#ruby]
flyhigh has quit [Quit: Konversation terminated!]
belmoussaoui has quit [Ping timeout: 276 seconds]
belmoussaoui has joined #ruby
belmoussaoui has quit [Client Quit]
cadillac_ has quit [Ping timeout: 248 seconds]
belmoussaoui has joined #ruby
cadillac_ has joined #ruby
<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.
belmoussaoui has quit [Ping timeout: 246 seconds]
belmoussaoui has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
belmoussaoui has joined #ruby
bronson has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
bkxd_ has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
bkxd_ has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
rahult has joined #ruby
<warrshrike> apeiros: yeah got it
<warrshrike> also when does float division give nan?
<warrshrike> is it only qhwn 0/0
<warrshrike> when*
<warrshrike> are is it possible to get NaN in some other case too?
rahult has quit [Ping timeout: 240 seconds]
flyhigh has joined #ruby
InfinityFye has joined #ruby
<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)
im0nde has quit [Quit: im0nde]
anisha has joined #ruby
im0nde has joined #ruby
milardovich has joined #ruby
<apeiros> google is probably a better source for operations resulting in nan than my memory ;-)
belmoussaoui has quit [Ping timeout: 246 seconds]
<warrshrike> gotcha thanks!
<warrshrike> the others seem unlikely so in my app its like div by zero
naftilos76 has quit [Quit: Αποχώρησε]
flyhigh has quit [Quit: Konversation terminated!]
milardovich has quit [Ping timeout: 260 seconds]
belmoussaoui has joined #ruby
nowhereman has quit [Ping timeout: 260 seconds]
warrshrike has quit [Ping timeout: 260 seconds]
belmoussaoui has quit [Ping timeout: 255 seconds]
belmoussaoui has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has quit [Ping timeout: 255 seconds]
anisha has quit [Quit: This computer has gone to sleep]
bkxd_ has quit [Ping timeout: 246 seconds]
bkxd_ has joined #ruby
roshanavand has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
roshanavand has quit [Ping timeout: 248 seconds]
roshanavand has joined #ruby
agent_white has quit [Ping timeout: 276 seconds]
agent_white has joined #ruby
t-recx has joined #ruby
milardovich has joined #ruby
Guest47631 has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 276 seconds]
c__ has joined #ruby
c__ has quit [Remote host closed the connection]
c__ has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
vuoto has joined #ruby
belmoussaoui has joined #ruby
nowhereman has joined #ruby
Norm has quit [Ping timeout: 240 seconds]
belmoussaoui has quit [Remote host closed the connection]
code_zombie has joined #ruby
94KAA4PLN has joined #ruby
smulverine has joined #ruby
jameser has joined #ruby
kkiero has joined #ruby
Norm has joined #ruby
smulverine has quit [Quit: WeeChat 1.9]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
bronson has joined #ruby
94KAA4PLN has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 240 seconds]
InfinityFye has quit [Ping timeout: 255 seconds]
kwesidev has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
belmoussaoui has joined #ruby
nowhereman has quit [Read error: Connection reset by peer]
nowhereman has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
milardovich has joined #ruby
kwesidev has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 260 seconds]
nowhereman has quit [Ping timeout: 248 seconds]
bkxd_ has quit [Ping timeout: 260 seconds]
ar1a has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 248 seconds]
nowhereman has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
alex`` has quit [Quit: WeeChat 1.9]
im0nde has quit [Quit: im0nde]
nowhereman has quit [Ping timeout: 240 seconds]
kwesidev has joined #ruby
zenguy_pc has quit [Ping timeout: 255 seconds]
rkoller has joined #ruby
ElFerna has joined #ruby
ElFerna has quit [Client Quit]
rkoller has quit [Client Quit]
zenguy_pc has joined #ruby
c__ has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 255 seconds]
mrfoo has joined #ruby
InfinityFye has joined #ruby
uZiel has joined #ruby
mrfoo has quit [Client Quit]
rahult has joined #ruby
rahult has quit [Ping timeout: 240 seconds]
cam27 has joined #ruby
sagax has quit [Ping timeout: 255 seconds]
bronson has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 240 seconds]
Emmanuel_Chanel has joined #ruby
SeepingN has joined #ruby
romankapitonov has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
Emmanuel_Chanel has quit [Read error: No route to host]
Emmanuel_Chanel has joined #ruby
InfinityFye has quit [Ping timeout: 255 seconds]
mathys has joined #ruby
milardovich has joined #ruby
apparition47 has quit [Quit: Bye]
milardovich has quit [Ping timeout: 240 seconds]
cadillac_ has quit [Read error: Connection reset by peer]
cadillac_ has joined #ruby
rahult has joined #ruby
kculpis has joined #ruby
rahult has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
kwesidev has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby
kwesidev has joined #ruby
smulverine has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
cagmz has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
woodruffw has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
dionysus69 has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
houhoulis has joined #ruby
mathys has quit [Quit: Leaving]
rabajaj has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
electrostat has joined #ruby
kculpis has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 240 seconds]
kculpis has joined #ruby
Rodya_ has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 268 seconds]
Rodya_ has joined #ruby
belmoussaoui has joined #ruby
ltem has quit [Quit: Leaving]
InfinityFye has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
InfinityFye has quit [Ping timeout: 260 seconds]
ar1a has joined #ruby
bronson has joined #ruby
c1 has joined #ruby
nanoz has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
runescape07rsps has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
nanoz has left #ruby ["Leaving"]
smulverine has quit [Quit: WeeChat 1.9]
InfinityFye has joined #ruby
cadillac_ has quit [Ping timeout: 268 seconds]
dionysus69 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
enterprisey has joined #ruby
c1 has quit [Ping timeout: 260 seconds]
hutch34_ has joined #ruby
c1 has joined #ruby
houhoulis has quit [Remote host closed the connection]
milardovich has joined #ruby
runescape07rsps has quit [Quit: Leaving]
Maringan has joined #ruby
vuoto has quit [Quit: Lost terminal]
benjen has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 268 seconds]
kamilkucharski has joined #ruby
Rodya_ has quit [Remote host closed the connection]
im0nde has joined #ruby
hutch34_ has quit [Ping timeout: 246 seconds]
sharkyshark has joined #ruby
<sharkyshark> what does this regex mean? / (?i-mx:driving layup)/
<sharkyshark> what is the (?-mx:
kwesidev has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
<sharkyshark> guess no one works on sundays
naitian has quit [Ping timeout: 260 seconds]
<havenwood> sharkyshark: "m" for Regexp::MULTILINE and "x" for Regexp::EXTENDED.
<havenwood> sharkyshark: They're Regexp options.
bronson has quit [Ping timeout: 255 seconds]
<sharkyshark> ah i see
<sharkyshark> thanks
<havenwood> sharkyshark: You have Regexp::IGNORECASE set and the other two not.
<havenwood> The "i" one.
<sharkyshark> ohhh, thats what the dash is for
<havenwood> >> Regexp.union /x/i, /y/
<ruby[bot]> havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<havenwood> #=> /(?i-mx:x)|(?-mix:y)/
<sharkyshark> so if it just read / (?imx):stuff/
<sharkyshark> then it would be all three turned on
<havenwood> sharkyshark: all three off
<sharkyshark> hmm you sure? seems like they'd all be on there
<havenwood> sharkyshark: left of the dash on, right off
<havenwood> see example above
<sharkyshark> yeah thats what i wrote... i had no dash in my example, so all on
<havenwood> sharkyshark: Your example: i-mx
<sharkyshark> oh yeah i just wrote another one out here, / (?imx):stuff/, in this spot all three would be turned on yeah
<havenwood> sharkyshark: Your example wasn't: -mix
<havenwood> sharkyshark: yeah, if it's -mix
<sharkyshark> wouldnt all three be off then? cause they would be right of the dahs?
<sharkyshark> *dash
perniciouscaffei has joined #ruby
<havenwood> that's all off
<havenwood> yeah
<havenwood> >> Regexp.union /x/i, /y/mix
<ruby[bot]> havenwood: # => /(?i-mx:x)|(?mix:y)/ (https://eval.in/836440)
<havenwood> sharkyshark: ^
<havenwood> no dash
naitian has joined #ruby
Dimik has joined #ruby
hutch34_ has joined #ruby
enterprisey has quit [Quit: Leaving]
<kamilkucharski> Hello! I have a question about ruby spec. In reference documentation we have ceil with argument for Integer class (http://ruby-doc.org/core-2.4.1/Integer.html#method-i-ceil), but in ruby spec we haven't any test for that (https://github.com/ruby/spec/blob/master/core/integer/ceil_spec.rb). Now my question: why? Should be there? Or maybe ruby spec should pass since 1.9
brent__ has joined #ruby
im0nde has quit [Quit: im0nde]
im0nde has joined #ruby
im0nde has quit [Client Quit]
MichaelBurge has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
hutch34 has joined #ruby
hutch34_ has quit [Ping timeout: 268 seconds]
wimplash has joined #ruby
rgtk has joined #ruby
jackjackdripper has joined #ruby
wimplash has quit [Client Quit]
nowhere_man has joined #ruby
dstrunk has joined #ruby
newage1 has joined #ruby
<newage1> i need to order meth, alphabay is down. where do i go?
<adaedra> !troll newage1
newage1 was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
maus_ has joined #ruby
milardovich has joined #ruby
hutch34_ has joined #ruby
milardovich has quit [Ping timeout: 255 seconds]
hutch34 has quit [Ping timeout: 246 seconds]
vuoto has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
pwned has quit [Ping timeout: 276 seconds]
LiquidInsect has quit [Ping timeout: 248 seconds]
rgtk has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
brent__ has quit [Remote host closed the connection]
naftilos76 has joined #ruby
rahult has joined #ruby
ltem has joined #ruby
alveric1 has quit [Quit: WeeChat 1.9]
rahult has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jackjackdripper has quit [Quit: Leaving.]
jenrzzz has quit [Ping timeout: 255 seconds]
jackjackdripper has joined #ruby
__Yiota has joined #ruby
brent__ has joined #ruby
pwned has joined #ruby
__Yiota has quit [Client Quit]
enterprisey has joined #ruby
enterprisey has quit [Remote host closed the connection]
rabajaj has quit [Quit: Leaving]
arcaos has quit [Ping timeout: 260 seconds]
belmoussaoui has quit [Ping timeout: 255 seconds]
eljimmy has joined #ruby
Maringan has quit [Remote host closed the connection]
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
kamilkucharski has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
swills has quit [Remote host closed the connection]
segmond has joined #ruby
bronson has joined #ruby
naftilos76 has quit [Quit: Αποχώρησε]
juiko has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
rgtk has joined #ruby
cam27 has quit [Quit: cam27]
brian_penguin has joined #ruby
kkiero_ has joined #ruby
kkiero has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Quit: Leaving.]
brent__ has quit [Remote host closed the connection]
sleepee has quit [Quit: Leaving]
brian_penguin has quit [Quit: Leaving]
vuoto has quit [Remote host closed the connection]
milardovich has joined #ruby
hutch34_ has quit [Ping timeout: 248 seconds]
cam27 has joined #ruby
belmoussaoui has joined #ruby
hutch34_ has joined #ruby
_sfiguser has joined #ruby
swills has joined #ruby
swills has joined #ruby
shortCircuit__ has left #ruby ["WeeChat 1.8"]
banisterfiend has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jackjackdripper has joined #ruby
__Yiota has joined #ruby
hutch34_ has quit [Ping timeout: 255 seconds]
milardovich has quit [Remote host closed the connection]
jenrzzz has joined #ruby
milardovich has joined #ruby
houhoulis has joined #ruby
bronson has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
konsolebox has quit [Quit: .]
milardovich has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
milardovich has quit [Remote host closed the connection]
apofis has joined #ruby
rundor has joined #ruby
tacoboy has joined #ruby
belmoussaoui has quit [Read error: Connection reset by peer]
biberu has quit []
rgtk has quit [Ping timeout: 246 seconds]
pwned has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
rgtk has joined #ruby
foamz has joined #ruby
ur5us has joined #ruby
<foamz> hello, does anyone have a source for this repo anywhere: https://github.com/Beakr/bot
<foamz> its in one of my bundle files and it seems to have been deleted from github
DoubleMalt has joined #ruby
kkiero_ has quit [Ping timeout: 268 seconds]
petto has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maus_ has quit [Remote host closed the connection]
high_fiver has joined #ruby
__Yiota has joined #ruby
phinxy has joined #ruby
kobain has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
houhoulis has quit [Remote host closed the connection]
roshanavand has quit [Quit: roshanavand]
JAP{NECRO}H has joined #ruby
high_fiver has quit [Ping timeout: 255 seconds]
psychicist__ has quit [Quit: Lost terminal]
bronson has joined #ruby
imtar has quit [Quit: WeeChat 1.9]
psychicist__ has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
millerti has joined #ruby
JAP{NECRO}H has quit [Read error: Connection reset by peer]
JAP{NECRO}H has joined #ruby
rahult has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
JAP{NECRO}H has quit [Read error: Connection reset by peer]
__Yiota has quit [Ping timeout: 240 seconds]
rahult has quit [Quit: Back to the world of zombies]
_sfiguser has quit [Remote host closed the connection]
Dimik has quit [Ping timeout: 255 seconds]
MtnGoat has joined #ruby
ltem has quit [Quit: Leaving]
rundor has quit [Remote host closed the connection]
bruno- has joined #ruby
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
arcaos has joined #ruby
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
__Yiota has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
sneakerhax has joined #ruby
rundor has quit [Remote host closed the connection]
duderonomy has quit [Ping timeout: 248 seconds]
duderono_ has joined #ruby
robouk has quit [Remote host closed the connection]
robouk has joined #ruby
enterprisey has joined #ruby
kkiero has joined #ruby
apofis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
enterprisey has quit [Remote host closed the connection]
petto has quit [Remote host closed the connection]
JAP{NECRO}H has joined #ruby
petto has joined #ruby
TomyLobo2 has quit [Ping timeout: 255 seconds]
petto has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
jnollette has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
duderono_ has quit [Ping timeout: 255 seconds]
milardovich has quit [Ping timeout: 255 seconds]
bonhoeffer has joined #ruby
<bonhoeffer> what is the latest version of rails
<Papierkorb> ?rails bonhoeffer
<ruby[bot]> bonhoeffer: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<bonhoeffer> sorry -- wrong room
jnollette has joined #ruby
AxelAlex has quit [Quit: AxelAlex]
JAP{NECRO}H has quit [Ping timeout: 255 seconds]
lxsameer has quit [Quit: WeeChat 1.9]
mesamoo has quit [Quit: Konversation terminated!]
xuanrui has quit [Remote host closed the connection]
ar1a has quit [Ping timeout: 240 seconds]
ar1a has joined #ruby
MtnGoat has quit [Ping timeout: 248 seconds]
t-recx has quit [Quit: t-recx]
InfinityFye has quit [Ping timeout: 260 seconds]
Dimik has joined #ruby
kkiero has quit [Quit: leaving]
kkiero has joined #ruby
gusrub has joined #ruby
gusrub has quit [Remote host closed the connection]
bronson has joined #ruby