apeiros changed the topic of #ruby-lang to: Ruby 2.1.0; 2.0.0-p353; 1.9.3-p484: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || RubyConf 2013 at http://www.justin.tv/confreaks
senj has joined #ruby-lang
senj has quit [Client Quit]
johnmilton has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
adambeynon has quit [Ping timeout: 276 seconds]
adambeynon has joined #ruby-lang
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
Cakey has quit [Ping timeout: 272 seconds]
dm78 has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
Cakey has joined #ruby-lang
jtw has quit []
makoto_ has joined #ruby-lang
mucker has quit [Ping timeout: 250 seconds]
RubyHead has quit []
charliesome has joined #ruby-lang
solars has quit [Ping timeout: 246 seconds]
dm78 has quit [Ping timeout: 248 seconds]
Lewix has joined #ruby-lang
clamstar has joined #ruby-lang
makoto_ has quit [Ping timeout: 245 seconds]
clamstar has quit [Remote host closed the connection]
mistym has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
havenwood has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
mistym has joined #ruby-lang
tkuchiki has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
Johz has quit [Quit: Leaving]
agarie has joined #ruby-lang
|jemc| has quit [Ping timeout: 248 seconds]
__butch__ has quit [Quit: Leaving.]
Cakey has quit [Ping timeout: 246 seconds]
Cakey has joined #ruby-lang
makoto_ has joined #ruby-lang
workmad3 has joined #ruby-lang
mrevd1 has quit [Quit: Leaving.]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
makoto_ has quit [Ping timeout: 260 seconds]
ben_____2 has joined #ruby-lang
itsraining has joined #ruby-lang
robbyoconnor has joined #ruby-lang
fragamus_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
marr has quit [Read error: Connection reset by peer]
fragamus_ has quit [Client Quit]
jonahR has quit [Quit: jonahR]
Cakey has quit [Ping timeout: 245 seconds]
jsrn_ has quit [Quit: Leaving]
jonr22 has joined #ruby-lang
|jemc| has joined #ruby-lang
kurko___ has joined #ruby-lang
relix has joined #ruby-lang
micalexander has joined #ruby-lang
Cakey has joined #ruby-lang
kurko______ has quit [Ping timeout: 246 seconds]
micalexander has quit [Ping timeout: 272 seconds]
CaptainJet has quit []
benanne has quit [Quit: kbai]
workmad3 has quit [Ping timeout: 272 seconds]
|jemc| has quit [Quit: WeeChat 0.4.2]
dm78 has joined #ruby-lang
RoxasShadowRS has quit [Quit: Leaving]
ggherdov has quit [Ping timeout: 265 seconds]
gnufied has quit [Ping timeout: 265 seconds]
artm_ has quit [Ping timeout: 265 seconds]
gnufied has joined #ruby-lang
pkondzior___ has quit [Ping timeout: 265 seconds]
levifig has quit [Ping timeout: 265 seconds]
achiu1 has quit [Ping timeout: 265 seconds]
pkondzior____ has joined #ruby-lang
achiu1 has joined #ruby-lang
artm_ has joined #ruby-lang
clamstar has joined #ruby-lang
ben_____2 has quit [Ping timeout: 245 seconds]
micalexander has joined #ruby-lang
dm78 has quit [Ping timeout: 248 seconds]
RobertBirnie has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
ggherdov has joined #ruby-lang
mucker has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 250 seconds]
levifig has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mucker has quit [Ping timeout: 252 seconds]
robbyoconnor has quit [Ping timeout: 264 seconds]
broconne has joined #ruby-lang
saarinen has quit [Quit: saarinen]
nihils has joined #ruby-lang
ben_____2 has joined #ruby-lang
nichtdiebohne has quit [Ping timeout: 260 seconds]
r0bgleeson has joined #ruby-lang
<r0bgleeson> does anyone know what ruby/irb uses this crazy thing for: https://github.com/sj26/ruby-1.9.3-p0/blob/master/lib/e2mmap.rb
<r0bgleeson> binding.repl.irb
<r0bgleeson> /Users/robert/.rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/e2mmap.rb:130: warning: already initialized constant UnrecognizedSwitch
<r0bgleeson> /Users/robert/.rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/e2mmap.rb:130: warning: already initialized constant NotImplementedError
havenwood has quit []
panpainter has joined #ruby-lang
<r0bgleeson> the trace doesn't go outside that file(e2mmap.rb) but i've never seen it before in my life
<r0bgleeson> it continues for a bunch of IRB-specific constants if that helps
makoto_ has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
<r0bgleeson> hummm
<r0bgleeson> def_e2meggage ExistingExceptionClass, "message..."
<r0bgleeson> lol
makoto_ has quit [Ping timeout: 248 seconds]
symm- has quit [Ping timeout: 248 seconds]
Cakey has quit [Ping timeout: 248 seconds]
<r0bgleeson> i fixed it, thanks, it seems to suggest constant reassignment because I call IRB.setup(nil) twice, i have no idea why the trace includes that file
bjh13_ has joined #ruby-lang
dm78 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
nihils has quit [Quit: Leaving...]
<r0bgleeson> centrx: if you open irb(on 1.9 or 2.1), then say IRB.setup(nil) do you get constant reassignments from that file?
<centrx> Yes, "already initialized constant"
<centrx> I am on 2.0
<r0bgleeson> but from that file?
<r0bgleeson> e2mmap.rb?
<centrx> Yes
<r0bgleeson> ok
<r0bgleeson> cool
<r0bgleeson> thx
cannie has quit [Remote host closed the connection]
<centrx> /usr/lib/ruby/2.0.0/e2mmap.rb:130: warning: already initialized constant IRB::UnrecognizedSwitch
<centrx> /usr/lib/ruby/2.0.0/e2mmap.rb:130: warning: previous definition of UnrecognizedSwitch was here
<r0bgleeson> yups
vlad_starkov has joined #ruby-lang
Cakey has joined #ruby-lang
itsraining has quit [Ping timeout: 245 seconds]
clamstar has quit [Quit: ZNC - http://znc.in]
kurko___ has quit [Quit: Computer has gone to sleep.]
bjh13_ has quit [Quit: leaving]
tylersmith has quit [Remote host closed the connection]
r0bgleeson has left #ruby-lang ["ooooooooooo"]
serroft has joined #ruby-lang
serroft has quit [Client Quit]
shinnya has quit [Ping timeout: 245 seconds]
bjh13 has quit [Quit: leaving]
bjh13 has joined #ruby-lang
amclain has joined #ruby-lang
amclain has quit [Client Quit]
cored has quit [Ping timeout: 260 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
cannie has joined #ruby-lang
Coincidental has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
cannie has quit [Remote host closed the connection]
cannie has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
|jemc| has joined #ruby-lang
jonahR has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Remote host closed the connection]
cannie has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
mistym has joined #ruby-lang
bjh13 has quit [Quit: leaving]
makoto_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
makoto_ has quit [Ping timeout: 245 seconds]
cannie has joined #ruby-lang
elliotec has joined #ruby-lang
mbj has joined #ruby-lang
elliotec has quit [Read error: Connection reset by peer]
elliotec has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
amclain has joined #ruby-lang
charliesome has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mistym has joined #ruby-lang
Cakey has joined #ruby-lang
bzalasky has joined #ruby-lang
sepp2k1 has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
clamstar has joined #ruby-lang
clamstar has quit [Remote host closed the connection]
cannie has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 250 seconds]
retro|cz has quit [Ping timeout: 250 seconds]
mykoweb has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
saarinen has quit [Client Quit]
yfeldblum has quit [Remote host closed the connection]
<Senjai> Hello all
elliotec has joined #ruby-lang
mbj has quit [Quit: leaving]
elliotec has quit [Remote host closed the connection]
jtw has joined #ruby-lang
cannie has joined #ruby-lang
Xuisce has left #ruby-lang ["Leaving..."]
bzalasky has quit [Remote host closed the connection]
tkuchiki_ has joined #ruby-lang
postmodern has quit [Quit: Leaving]
RobertBirnie has joined #ruby-lang
makoto_ has joined #ruby-lang
tkuchiki has quit [Ping timeout: 260 seconds]
makoto_ has quit [Ping timeout: 260 seconds]
<Lewix> hello Senjai
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Barrin6 has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
Cakey has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
dm78 has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
ender|dktm has quit [Ping timeout: 252 seconds]
hahuang65 has joined #ruby-lang
bzalasky has joined #ruby-lang
dm78 has quit [Ping timeout: 252 seconds]
Cakey has quit [Ping timeout: 252 seconds]
mistym has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
agarie has quit [Quit: Leaving...]
yfeldblum has quit [Ping timeout: 245 seconds]
Lewix has quit [Remote host closed the connection]
cannie has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
broconne has quit [Quit: Leaving.]
RobertBirnie has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
d4rkr4i has joined #ruby-lang
asahi has joined #ruby-lang
<asahi> I'm drawing a blank on a regex. I'm trying to capture the variable number in "n\t\n\nLength: \n35.5'\n\n     Beam:\n" so far I have /Length:.*(\d)'.*Beam:/
<centrx> (\d*\.\d*)
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby-lang
<asahi> centrx: that's not working
<asahi> it's only capturing ".5"
<centrx> Okay, the .* before it is greedy, change to \s* so it only gets the whitespace
<centrx> Do you expect any numbers like Length: \n35'
<centrx> without the decimal
<asahi> yes i do
<asahi> and the \s doesn't seem to be matching the whitespace characters
<asahi> i wonder if I'm better off removing the whitespace characters before doing the regex
broconne has joined #ruby-lang
<centrx> asahi, nah
<centrx> asahi, You either need to explicitly add the "\n" as a character in the Regex
broconne1 has joined #ruby-lang
makoto_ has joined #ruby-lang
<centrx> asahi, Or specify that is is a multiline Regex, by adding the m option after the closing slash /
<centrx> /m
<asahi> I see. got it
<asahi> centrx: thanks
<centrx> You are welcome!
broconne1 has quit [Client Quit]
broconne has quit [Ping timeout: 250 seconds]
feinbergscott has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonr22 has quit [Remote host closed the connection]
makoto_ has quit [Ping timeout: 248 seconds]
ben_____2 has quit [Ping timeout: 250 seconds]
mistym has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
ben_____2 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
RobertBirnie has joined #ruby-lang
bzalasky has joined #ruby-lang
<asahi> is there a prettier way of writing year = year[1] unless year.nil?
<centrx> That is the usual way
<centrx> You can use year.second if you are using Rails or ActiveSupport
<asahi> got it. thanks!
<centrx> You can use year.try(:second) if you are using Rails or ActiveSupport, but this is a less explicit way
<centrx> The unless year.nil? explicitly states the expected logic, so I would stick with that
snsei has joined #ruby-lang
havenwood has joined #ruby-lang
cannie has joined #ruby-lang
cannie has quit [Read error: Connection reset by peer]
ecnalyr has quit [Remote host closed the connection]
cannie has joined #ruby-lang
ecnalyr has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cannie has quit [Ping timeout: 246 seconds]
Lewix has joined #ruby-lang
ecnalyr has quit [Ping timeout: 240 seconds]
shinnya has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
<Senjai> asahi: Don't use second lol.
<Senjai> asahi: Don't use Array#forty_two either
RobertBirnie has joined #ruby-lang
<Senjai> asahi: If your using activesupport/rails its better to do something like year = year.presence[1]
<epitron> array.find_by_number(:forty_two)
<Senjai> err
<Senjai> year = year[1] if year.present?
<Senjai> or just if year
<epitron> .try is nice, but it's awkward for arrays
<epitron> year.try(:[], 1)
<epitron> the "if present" one is much more readable
<epitron> "year && year[1]" is another common one
<epitron> (for understandability, you should also name that variable "years", since it's a collection of years)
mucker has joined #ruby-lang
<epitron> year = years[1] if years.present?
Asher has quit [Ping timeout: 245 seconds]
<asahi> i like that one
<asahi> thanks
<epitron> enjoy!
cannie has joined #ruby-lang
feinbergscott has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elliotec has joined #ruby-lang
snsei_ has joined #ruby-lang
mucker has quit [Ping timeout: 272 seconds]
snsei has quit [Ping timeout: 265 seconds]
Asher has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jtw has quit []
RobertBirnie has joined #ruby-lang
makoto has joined #ruby-lang
makoto is now known as Guest45489
snsei_ has quit [Remote host closed the connection]
asahi has quit [Quit: Leaving.]
RobertBirnie has quit [Client Quit]
Guest45489 has quit [Ping timeout: 245 seconds]
cannie_ has joined #ruby-lang
cannie has quit [Ping timeout: 272 seconds]
cannie has joined #ruby-lang
cannie_ has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
rippa has joined #ruby-lang
imperator has joined #ruby-lang
mistym has quit [Remote host closed the connection]
stonerfish has joined #ruby-lang
mistym has joined #ruby-lang
rahul_j has joined #ruby-lang
Coincidental has joined #ruby-lang
stonerfish has quit [Quit: Leaving.]
yuko7 has joined #ruby-lang
Asher has quit [Ping timeout: 245 seconds]
snsei has joined #ruby-lang
panpainter has quit [Quit: panpainter]
centrx is now known as xcentr
xcentr is now known as Xcentr
d4rkr4i has quit [Quit: Leaving.]
artm has joined #ruby-lang
Xcentr is now known as centrx
mykoweb has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
panpainter has joined #ruby-lang
RobertBirnie has joined #ruby-lang
Asher has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
nichtdiebohne has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Ping timeout: 245 seconds]
hahuang65 has quit [Ping timeout: 265 seconds]
d4rkr4i has joined #ruby-lang
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
mistym has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
makoto has joined #ruby-lang
makoto is now known as Guest90204
jonahR has quit [Quit: jonahR]
Guest90204 has quit [Ping timeout: 250 seconds]
|jemc| has quit [Ping timeout: 245 seconds]
imperator has quit [Ping timeout: 245 seconds]
ikrima has joined #ruby-lang
vlad_starkov has joined #ruby-lang
RoxasShadowRS has joined #ruby-lang
mistym has joined #ruby-lang
<yorickpeterse> morning
<centrx> night
centrx has quit [Quit: Leaving]
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
ben_____2 has quit [Ping timeout: 248 seconds]
snsei has quit [Remote host closed the connection]
ben______ has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
joelroa has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
snsei has joined #ruby-lang
nichtdiebohne has quit [Quit: Leaving...]
hahuang65 has joined #ruby-lang
snsei has quit [Remote host closed the connection]
dik_dak has quit [Quit: Leaving]
joelroa has quit [Quit: Computer has gone to sleep.]
hahuang65 has quit [Ping timeout: 272 seconds]
makoto has joined #ruby-lang
makoto is now known as Guest96455
Guest96455 has quit [Ping timeout: 245 seconds]
mistym has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
cannie_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
cannie has quit [Ping timeout: 245 seconds]
amclain has quit [Quit: Leaving]
elliotec has quit [Remote host closed the connection]
Barrin6 has quit [Quit: Leaving]
elliotec has joined #ruby-lang
mucker has joined #ruby-lang
Zap-W has joined #ruby-lang
<Zap-W> hi
<Zap-W> triples = "AAA".."ZZZ" ; triples.cover? "ABCD" returns true
bzalasky has joined #ruby-lang
solars has joined #ruby-lang
fumduq has quit [Ping timeout: 248 seconds]
fumduq has joined #ruby-lang
Lewix_ has joined #ruby-lang
Lewix has quit [Ping timeout: 248 seconds]
<yorickpeterse> what about it?
makoto has joined #ruby-lang
makoto is now known as Guest96429
FlyingLeap has quit [Remote host closed the connection]
FlyingLeap has joined #ruby-lang
ecnalyr has joined #ruby-lang
ben______ has quit [Ping timeout: 248 seconds]
elliotec has quit [Read error: Connection reset by peer]
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
ecnalyr has quit [Ping timeout: 240 seconds]
<Zap-W> yorickpeterse: D isn't in the range
d4rkr4i has quit [Quit: Leaving.]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
knu has joined #ruby-lang
rahul_j has joined #ruby-lang
<yorickpeterse> #cover? doesn't check the actual values, it merely checks the start and end points
<yorickpeterse> so in that regard D is in that range from what I understand
<yorickpeterse> >> ("AAA".."ZZZ").include?('ABCD')
<eval-in> yorickpeterse => false (https://eval.in/99391)
<yorickpeterse> >> ("AAA".."ZZZ").include?('D')
<eval-in> yorickpeterse => false (https://eval.in/99392)
<yorickpeterse> >> ("AAA".."ZZZ").cover?('ABCD')
<eval-in> yorickpeterse => true (https://eval.in/99393)
<yorickpeterse> #cover doesn't check by individual values, it checks the start/end values
knu has quit [Ping timeout: 252 seconds]
bzalasky has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
rahul_j has quit [Ping timeout: 272 seconds]
ben_____ has joined #ruby-lang
rahul_j has joined #ruby-lang
vlad_starkov has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
sferik has joined #ruby-lang
lysw123 has joined #ruby-lang
rue|w has quit [Ping timeout: 272 seconds]
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
mucker has quit [Ping timeout: 245 seconds]
rue|w has joined #ruby-lang
workmad3 has joined #ruby-lang
nichtdiebohne has joined #ruby-lang
Zap-W has quit []
workmad3 has quit [Ping timeout: 260 seconds]
Cakey has joined #ruby-lang
panpainter has quit [Quit: panpainter]
rahul_j has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
phansch has joined #ruby-lang
Cakey has quit [Ping timeout: 272 seconds]
Cakey has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
elliotec has joined #ruby-lang
danijoo has joined #ruby-lang
Cakey has quit [Ping timeout: 260 seconds]
Cakey has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
benanne has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
rahul_j has joined #ruby-lang
prc has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby-lang
<yuko7> what's the diff between Array and to_a
lysw123 has quit []
Lewix_ is now known as Lewix
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
mehlah has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
phansch_ has joined #ruby-lang
phansch has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
Rylee has quit [Changing host]
Rylee has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
relix has joined #ruby-lang
d4rkr4i has joined #ruby-lang
Guest96429 has quit [Remote host closed the connection]
<ljarvis> morning
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
d4rkr4i has quit [Quit: Leaving.]
benanne has quit [Quit: kbai]
yfeldblum has quit [Ping timeout: 245 seconds]
ben_____ has quit [Ping timeout: 252 seconds]
makoto has joined #ruby-lang
makoto is now known as Guest84287
Streusel has joined #ruby-lang
<Streusel> pastie: hi!
<Streusel> :<
<Streusel> lies
Streusel has left #ruby-lang ["runs away crying"]
Cakey has quit [Ping timeout: 246 seconds]
Cakey has joined #ruby-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jsrn has joined #ruby-lang
ben_____ has joined #ruby-lang
d4rkr4i has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
symm- has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
arBmind has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sferik has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
ben_____ has quit [Ping timeout: 252 seconds]
cored has joined #ruby-lang
Cakey has quit [Ping timeout: 246 seconds]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sferik has joined #ruby-lang
yfeldblum has joined #ruby-lang
cored has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
riffraff has joined #ruby-lang
cannie_ has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
ben_____1 has joined #ruby-lang
Jamo_ has quit [Quit: Lost terminal]
cyndis has quit [Remote host closed the connection]
shaman42_ has quit [Quit: Lost terminal]
<pipecloud> yuko7: Documentation and implementation.
spuk has quit [Ping timeout: 272 seconds]
cyndis has joined #ruby-lang
workmad3 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
vlad_starkov has joined #ruby-lang
jvrmaia has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sferik has joined #ruby-lang
Cakey has joined #ruby-lang
cnivolle has joined #ruby-lang
miyabe has joined #ruby-lang
jvrmaia has quit []
Cakey has quit [Ping timeout: 248 seconds]
symm- has quit [Ping timeout: 250 seconds]
banhbeongon has joined #ruby-lang
banhbeongon is now known as dotrb
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* dotrb
eval-in has quit [Remote host closed the connection]
eval-in has joined #ruby-lang
yfeldblum has joined #ruby-lang
rolfb has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 265 seconds]
eval-in has quit [Remote host closed the connection]
eval-in has joined #ruby-lang
lavana has joined #ruby-lang
sferik has joined #ruby-lang
rolfb has quit [Quit: Linkinus - http://linkinus.com]
workmad3 has quit [Ping timeout: 260 seconds]
Lewix has quit [Remote host closed the connection]
sferik has quit [Ping timeout: 252 seconds]
yuko7 has quit [Ping timeout: 245 seconds]
vondruch has joined #ruby-lang
d4rkr4i has quit [Ping timeout: 245 seconds]
dotrb has quit [Ping timeout: 245 seconds]
kalehv has joined #ruby-lang
lavana has quit [Ping timeout: 245 seconds]
cnivolle has quit [Remote host closed the connection]
rolfb has joined #ruby-lang
marr has joined #ruby-lang
retro|cz has quit [Ping timeout: 245 seconds]
dorei has joined #ruby-lang
matp has quit [Quit: ZZZzzz…]
matp has joined #ruby-lang
nichtdiebohne has quit [Quit: Leaving...]
vondruch has quit [Quit: Ex-Chat]
vlad_starkov has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
mbj has joined #ruby-lang
yfeldblum has joined #ruby-lang
wallerdev has joined #ruby-lang
nichtdiebohne has joined #ruby-lang
bougyman has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 245 seconds]
bougyman has joined #ruby-lang
Guest84287 has quit [Remote host closed the connection]
relix has joined #ruby-lang
tonni_ has quit [Remote host closed the connection]
purezen has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<purezen> Hi guys! I am a beginner with Ruby.. I introduced myself with the language firstly, but following Micheal Hartl's tutorial for Rails.. Then, after some experimenting with Sinatra, Rack and such stuff like making gems , by following tutorials.. I went ahead to read why's Poingnant Guide to Ruby (though barring the last chapter)..
<purezen> Here now, I was hoping for someone to provide me with some guidance.. as to how I shall take myself forward.. and sharpen my Ruby skills..
feinbergscott has joined #ruby-lang
Caius has quit [Ping timeout: 260 seconds]
<purezen> Hopefully, I want to start making some OSS contributions in time. Thanks :)
vlad_starkov has quit [Remote host closed the connection]
panpainter has joined #ruby-lang
Caius has joined #ruby-lang
dwknoxy has quit [Quit: Computer has gone to sleep.]
ben_____1 has quit [Ping timeout: 245 seconds]
Markvilla has joined #ruby-lang
mykoweb has joined #ruby-lang
purezen has quit [Ping timeout: 245 seconds]
kalehv has quit [Ping timeout: 265 seconds]
purezen has joined #ruby-lang
purezen has quit [Ping timeout: 245 seconds]
makoto has joined #ruby-lang
makoto is now known as Guest49597
snsei has joined #ruby-lang
kalehv has joined #ruby-lang
Guest49597 has quit [Ping timeout: 250 seconds]
wallerdev has quit [Quit: wallerdev]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
feinbergscott has quit [Ping timeout: 245 seconds]
feinbergscott has joined #ruby-lang
yfeldblum has joined #ruby-lang
tbuehlmann has joined #ruby-lang
spuk has joined #ruby-lang
pabloh has joined #ruby-lang
yfeldblum has quit [Ping timeout: 260 seconds]
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sferik has joined #ruby-lang
feinbergscott has quit [Remote host closed the connection]
feinbergscott has joined #ruby-lang
pabloh has quit [Remote host closed the connection]
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
feinbergscott has quit [Ping timeout: 245 seconds]
bzalasky has joined #ruby-lang
d4rkr4i has joined #ruby-lang
lavana has joined #ruby-lang
tkuchiki_ has quit [Remote host closed the connection]
mbj has left #ruby-lang [#ruby-lang]
arBmind has quit [Quit: Leaving.]
Markvilla has quit [Quit: Computer has gone to sleep.]
arBmind has joined #ruby-lang
wallerdev has joined #ruby-lang
arBmind has quit [Client Quit]
lavana has quit [Ping timeout: 260 seconds]
certainty has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
symm- has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
houhoulis has joined #ruby-lang
<d4rkr4i> I wish to substitute a line like "foo->temp->tick //foo->temp" to "foo.temp.tick //foo->temp"
ben______ has joined #ruby-lang
<d4rkr4i> i.,e after a comment (//) I dont' want to make any substitution for (->) to (.)
<d4rkr4i> can't make it work with my negative lookbehind regex
<d4rkr4i> >> "foo->temp->tick //foo->temp".gsub(/(?!\/\/)\-\>/, '.')
<eval-in> d4rkr4i => "foo.temp.tick //foo.temp" (https://eval.in/99534)
nathanstitt has joined #ruby-lang
<d4rkr4i> Any help, guys?
ben______ has quit [Ping timeout: 250 seconds]
rahul_j has joined #ruby-lang
makoto has joined #ruby-lang
makoto is now known as Guest55610
shaman42 has joined #ruby-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest55610 has quit [Ping timeout: 248 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<d4rkr4i> >> "foo->temp->tick //foo->temp".gsub(/(?<!\/\/).*(\-\>)/, '.')
havenwood has joined #ruby-lang
<d4rkr4i> doesn't help either.
<badeball> d4rkr4i: you would at least have to you lookahead, as you want to match something that is followed by something. anyways, I don't feel like regexp is the best choice. here a different approach: split("//").tap { |l| l.first.gsub!("->", ".") }.join("//")
closer has quit [Quit: ZNC - http://znc.in]
<d4rkr4i> badeball: makes sense. Thanks!
closer has joined #ruby-lang
matp has quit [Quit: ZZZzzz…]
miqui has quit [Ping timeout: 265 seconds]
mehlah has quit [Quit: Leaving...]
dorei has quit []
cannie has joined #ruby-lang
sferik has joined #ruby-lang
kalehv has joined #ruby-lang
Cakey has joined #ruby-lang
clamstar has joined #ruby-lang
yfeldblum has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
bantic has joined #ruby-lang
agarie has joined #ruby-lang
rolfb has quit [Quit: Linkinus - http://linkinus.com]
knu has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
redgetan_ has joined #ruby-lang
kalehv has quit [Read error: Connection reset by peer]
rahul_j has quit [Quit: rahul_j]
albertgrala has joined #ruby-lang
albertgrala has quit [Read error: Connection reset by peer]
pipecloud is now known as shevy
shevy is now known as pipecloud
centrx has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
Johz has joined #ruby-lang
mehlah has joined #ruby-lang
clamstar has quit [Quit: ZNC - http://znc.in]
makoto has joined #ruby-lang
makoto is now known as Guest57285
feinbergscott has joined #ruby-lang
Guest57285 has quit [Ping timeout: 260 seconds]
knu has quit [Ping timeout: 252 seconds]
mucker has joined #ruby-lang
kalehv has joined #ruby-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mucker has quit [Read error: Connection reset by peer]
mucker has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 248 seconds]
phansch_ is now known as phansch
jsullivandigs has joined #ruby-lang
houhoulis has quit [Remote host closed the connection]
hjgfytdytrt has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
makoto has joined #ruby-lang
workmad3 has joined #ruby-lang
makoto is now known as Guest3577
micalexander has quit [Ping timeout: 250 seconds]
havenwood has quit [Remote host closed the connection]
Jamo_ has joined #ruby-lang
havenwood has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
Guest3577 has quit [Ping timeout: 245 seconds]
relix has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
micalexander has joined #ruby-lang
arBmind has joined #ruby-lang
jsullivandigs has joined #ruby-lang
kalehv has quit [Read error: Connection reset by peer]
kalehv has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
hjgfytdytrt has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby-lang
insidious has joined #ruby-lang
yfeldblum has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 245 seconds]
dm78 has joined #ruby-lang
yfeldblum has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
kalehv has joined #ruby-lang
makoto has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
kalehv has quit [Remote host closed the connection]
makoto is now known as Guest49770
kalehv has joined #ruby-lang
kirin` has quit [Ping timeout: 260 seconds]
Guest49770 has quit [Ping timeout: 245 seconds]
kirin` has joined #ruby-lang
panpainter has quit [Quit: panpainter]
digs has joined #ruby-lang
digs is now known as Guest47672
havenwood has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 245 seconds]
mehlah has quit [Quit: Leaving...]
alantsang has joined #ruby-lang
vlad_starkov has joined #ruby-lang
alantsang has quit [Quit: Konversation terminated!]
mehlah has joined #ruby-lang
fuhgeddaboudit has quit [Read error: Operation timed out]
tonni has joined #ruby-lang
mehlah has quit [Client Quit]
specialblend has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
relix has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mistym has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
havenwood has quit [Ping timeout: 245 seconds]
dm78 has quit [Remote host closed the connection]
kalehv_ has joined #ruby-lang
dm78 has joined #ruby-lang
kalehv has quit [Read error: Connection reset by peer]
miyabe has quit [Remote host closed the connection]
dm78 has quit [Ping timeout: 245 seconds]
ender|dktm has joined #ruby-lang
specialblend has quit [Quit: specialblend]
panpainter has joined #ruby-lang
elliotec has joined #ruby-lang
ender|dktm has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
kalehv_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
kalehv has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
kalehv has quit [Ping timeout: 245 seconds]
whatasunnyday has joined #ruby-lang
whatasunnyday has left #ruby-lang [#ruby-lang]
makoto has joined #ruby-lang
makoto is now known as Guest44606
Guest44606 has quit [Ping timeout: 246 seconds]
matp has joined #ruby-lang
sferik has joined #ruby-lang
sferik has quit [Client Quit]
d4rkr4i has quit [Ping timeout: 250 seconds]
artm has quit [Remote host closed the connection]
sferik has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
bantic has quit [Quit: bantic]
Lewix has joined #ruby-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
nichtdiebohne has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
cannie_ has joined #ruby-lang
mucker has quit [Remote host closed the connection]
cannie has quit [Ping timeout: 260 seconds]
mucker has joined #ruby-lang
cannie_ has quit [Remote host closed the connection]
mucker has quit [Ping timeout: 248 seconds]
Elico has quit [Quit: Elico]
nichtdiebohne has joined #ruby-lang
makoto has joined #ruby-lang
makoto is now known as Guest40783
kalehv has joined #ruby-lang
Guest40783 has quit [Ping timeout: 260 seconds]
kalehv has quit [Ping timeout: 250 seconds]
centrx has quit [Quit: Leaving]
TvL2386 has joined #ruby-lang
<TvL2386> hi guys, I'm having a String "\001" and when I type it in irb, irb prints: => "\u0001"..... What is this?
feinbergscott has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ben_____ has joined #ruby-lang
feinbergscott has joined #ruby-lang
dik_dak has joined #ruby-lang
feinbergscott has quit [Client Quit]
ben_____ has quit [Ping timeout: 245 seconds]
Markvilla has joined #ruby-lang
snsei has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
<yorickpeterse> Unicode
<yorickpeterse> for example
<yorickpeterse> >> puts "\u2603"
<eval-in> yorickpeterse => ☃ ... (https://eval.in/99624)
<yorickpeterse> (that's a Unicode snowman btw)
<pipecloud> yorickpeterse: No, it's the rails snowman, clearly! Or did it come from merb originally?
octaplus has joined #ruby-lang
<yorickpeterse> eh wat
<yorickpeterse> oh wtf, I somehow scratched myself on some random students macbook today it seems
<yorickpeterse> there's this big scratch on my arm where I normally rest it on a desk
<yorickpeterse> either way
<yorickpeterse> (totally related)
<yorickpeterse> now it looks like I cut myself :<
|jemc| has joined #ruby-lang
<yorickpeterse> TvL2386: basically the \u bit means "the stuff following this are unicode "numbers" yo"
dachi has joined #ruby-lang
snsei has joined #ruby-lang
x0f has joined #ruby-lang
<apeiros> where 'unicode "numbers"' means "unicode codepoint, in hex"
<yorickpeterse> Correct, but codepoint introduces another new term so I kinda left that one out
tylersmith has joined #ruby-lang
elliotec has quit []
x0f_ has quit [Ping timeout: 272 seconds]
tylersmith has quit [Remote host closed the connection]
MindfulMonk has joined #ruby-lang
<pipecloud> Pedantry is welcome.
snsei has quit [Remote host closed the connection]
Barrin6 has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
snsei has joined #ruby-lang
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
cannie has joined #ruby-lang
jackhammer2022 has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
makoto has joined #ruby-lang
makoto is now known as Guest15469
mistym has quit [Remote host closed the connection]
Guest15469 has quit [Ping timeout: 245 seconds]
octaplus has quit [Ping timeout: 246 seconds]
dachi is now known as DachiGruzia
DachiGruzia is now known as dachi
ben_____ has joined #ruby-lang
ben_____ has quit [Ping timeout: 246 seconds]
kalehv has joined #ruby-lang
mistym has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
centrx has joined #ruby-lang
vlad_starkov has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
snsei_ has joined #ruby-lang
matp has quit [Remote host closed the connection]
micalexander has quit [Ping timeout: 246 seconds]
phansch has quit [Quit: Leaving]
tylersmith has joined #ruby-lang
snsei has quit [Ping timeout: 245 seconds]
kalehv has quit [Read error: Connection reset by peer]
kalehv has joined #ruby-lang
prc has joined #ruby-lang
makoto has joined #ruby-lang
makoto is now known as Guest9706
tylersmith has quit [Ping timeout: 265 seconds]
Guest9706 has quit [Ping timeout: 248 seconds]
Cakey has quit [Ping timeout: 246 seconds]
Cakey has joined #ruby-lang
jtw has joined #ruby-lang
jtw has quit [Client Quit]
tkuchiki has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MindfulMonk has quit [Quit: Leaving]
Cakey has quit [Ping timeout: 260 seconds]
Cakey has joined #ruby-lang
mehlah has joined #ruby-lang
Cakey has quit [Ping timeout: 248 seconds]
Cakey has joined #ruby-lang
workmad3 has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
saarinen has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
mistym has quit [Ping timeout: 260 seconds]
ben______ has joined #ruby-lang
marr has quit []
makoto has joined #ruby-lang
makoto is now known as Guest68636
micalexander has joined #ruby-lang
solars has quit [Ping timeout: 245 seconds]
Guest68636 has quit [Ping timeout: 250 seconds]
micalexander has quit [Ping timeout: 260 seconds]
saarinen has quit [Quit: saarinen]
Barrin6 has quit [Quit: Leaving]