sush24 has quit [Read error: Connection reset by peer]
Cakey has quit [Ping timeout: 240 seconds]
futurechimp has joined #ruby-lang
Xeitgeist has joined #ruby-lang
mbj has left #ruby-lang [#ruby-lang]
<cout>
ugh
tkuchiki has quit [Remote host closed the connection]
<cout>
just got bitten by { true: 50, false: 50 }
<cout>
couldn't figure out why both keys were true :)
jp- has joined #ruby-lang
breakingthings has joined #ruby-lang
<gnufied>
lol
alekst has joined #ruby-lang
jxpx777 has joined #ruby-lang
jxpx777_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 260 seconds]
jxpx777 has quit [Ping timeout: 246 seconds]
Johz has joined #ruby-lang
sush24_ has quit [Quit: This computer has gone to sleep]
sjltaylo_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sush24 has joined #ruby-lang
MartynKeigher has quit [Max SendQ exceeded]
jiuweigui has quit [Quit: Gone...]
snk has joined #ruby-lang
bungoman has joined #ruby-lang
MartynKeigher has joined #ruby-lang
sirupsen has joined #ruby-lang
sirupsen has quit [Client Quit]
stevechiagozie has joined #ruby-lang
scampbell has joined #ruby-lang
Uranio has joined #ruby-lang
thang_ has left #ruby-lang [#ruby-lang]
thang has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
TejasDinkar has quit [Quit: This computer has gone to sleep]
rue has joined #ruby-lang
hashkey_ has joined #ruby-lang
hashkey has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Read error: Operation timed out]
joshuawscott has joined #ruby-lang
Xeitgeist has left #ruby-lang [#ruby-lang]
yfeldblum has quit [Ping timeout: 276 seconds]
kurko__ has joined #ruby-lang
spuk has quit [Ping timeout: 248 seconds]
umgrossco has joined #ruby-lang
<maloik>
yay, conf schedule is all done \o/
<yorickpeterse>
conf schedule?
nettsundere has joined #ruby-lang
bondar has quit []
<maloik>
for arrrrcamp
kek has joined #ruby-lang
hashkey_ is now known as hashkey
GeissT has quit [Quit: MillBroChat AdIRC User]
futurechimp has quit [Quit: This computer has gone to sleep]
jxie has joined #ruby-lang
futurechimp has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 246 seconds]
lfox has joined #ruby-lang
<zzak>
:o
lfox has quit [Client Quit]
<yorickpeterse>
ah
lfox has joined #ruby-lang
kleech has joined #ruby-lang
<kleech>
Should `rvm jruby-d20 do ruby -v` not show I am using Ruby 2.0 mode? It shows 1.9.3 still...
bgant has joined #ruby-lang
<zzak>
ljarvis: sup LJ
<zzak>
maloik: is it online?
<maloik>
zzak: most likely tomorrow
<maloik>
your time became 11:20 ;)
tkuchiki has joined #ruby-lang
<zzak>
maloik: did you just push the schedule back an hour?
<maloik>
nope not really
<erikh>
ljarvis: #yorick-lang
<erikh>
also good morning everybody
<zzak>
hi
Squarepy has joined #ruby-lang
<maloik>
we've composed the schedule with 30min breaks though as opposed to 20min like previous editions
<maloik>
wanna see what people think about that
<kleech>
Anyone know if there is a JRuby version which can be installed which defaults to 2.0 syntax (without having to --2.0 or set an ENV)?
<erikh>
what's hard about setting the env?
<erikh>
but I don't know the answer to your question. you might want to try #jruby.
cstrahan has joined #ruby-lang
<kleech>
erikh: Ooops, I thought I was in JRuby!
<erikh>
np :0
<yorickpeterse>
"Making gemset rbx-head pristine... " fucking hours later
<yorickpeterse>
ugh, RVM makes my head hurt
<erikh>
fwiw, one thing I did with our fixtures when I was working on perl stuff is marshal them
<erikh>
cut down footprint by quite a lot
<erikh>
but I guess they were different than the rails fixtures
<zzak>
maloik: from my experience the hallway track is usually the most engaging
joshuawscott has quit [Quit: Leaving.]
<yorickpeterse>
erikh: well in this case there's no point keeping them around in the end package so I just remove them before building
<maloik>
zzak: I agree, which is why we'll encourage speakers to take it to the 'lounge area' for some discussions rather than going through lengthy Q&A
sush24 has quit [Quit: This computer has gone to sleep]
<erikh>
yorickpeterse: ah, distclean or something I presume
<erikh>
maloik: dat green room
<yorickpeterse>
more or less
<maloik>
green room ?
<erikh>
a term in movies and television, the staging area for guests.
wmoxam_ has joined #ruby-lang
<maloik>
right I know, I just didn't get it :P
<maloik>
oh wait
<maloik>
I'm confusing it with green key I suppose
<erikh>
ah, well, it's almost 7am here.
<maloik>
or whatever that's called
<erikh>
I'm not funny yet
<maloik>
7am doesn't exist in my world
<ljarvis>
7am is a lie in
<gnufied>
I go for a run at 7AM
<erikh>
I run in the evening
<erikh>
still a fattie though
<erikh>
but losing weight
<erikh>
I know, TMI
<gnufied>
Nice.
<ljarvis>
running sucks
<yorickpeterse>
Ok I'm done with RVM, proposed to get rid of it at $WORK
<erikh>
rvm nerd rage
<maloik>
actually I do go for runs at around 7am as well
<erikh>
so, mavericks + vmware fusion 6
<erikh>
is complete win
jiuweigui has joined #ruby-lang
tharindu_ has quit [Read error: Connection reset by peer]
<gnufied>
rvm alternative?
<gnufied>
sounds heavy weight
<gnufied>
:-)
<erikh>
ha
<yorickpeterse>
e.g. RVM now constantly keeps saving wrappers
<yorickpeterse>
why???? no idea
<gnufied>
I switched to chruby from rbenv and had to switch back to rbenv btw
<yorickpeterse>
rbenv rehash fuckno
<erikh>
chruby meets my needs, but I don't do rails things.
<gnufied>
I found chruby quiet painful to work with outside "shell" environments
<yorickpeterse>
honestly I don't see why you'd need more than chruby + ruby-install
<erikh>
oh
<erikh>
well, don't do that then
<yorickpeterse>
gnufied: true, it's a bit of a bish currently in cronjobs for example
<yorickpeterse>
since it enforces a login shell, though that might've been fixed
<erikh>
you guys
<erikh>
smh
* yorickpeterse
checks
<yorickpeterse>
oh neat, that has been resolved
<erikh>
you don't need a ruby switcher to run ruby in crons and on servers
<gnufied>
No really. I was in world of hurt trying to get proper ruby version in Emacs
<erikh>
you just need to know how to set GEM_HOME, GEM_PATH, and PATH
<gnufied>
with chruby
<yorickpeterse>
erikh: which is what chruby does
<erikh>
right -- but if you know what ruby you want, always, it's super simple
<erikh>
like absurdly so
<yorickpeterse>
true, but the issue was that it would spit out an error "HERP DERP NOT A LOGIN SHELL", though it would still work
<gnufied>
erikh: but it uses RPROMPT or some stuff to detect auto ruby switching
<erikh>
so stop using chruby in your cron bits
<yorickpeterse>
"Regenerating wrappers for ...." WHY DOES THIS TAKE SO LONG?
<erikh>
that's what i'm saying
<yorickpeterse>
FFS I'm supposed to do things, not wait for RVM to get its shit together
<gnufied>
it is a problem for tool like Emacs too.
<erikh>
well sure, that's different though
<erikh>
you actually need to switch ruby there
<erikh>
in cron I doubt you have to
<gnufied>
yep. and honestly rbenv worked well enough, I don't mind the shims
<gnufied>
;-)
<ljarvis>
someone is eating derp sizzurp
<erikh>
ljarvis: dat #yorick-lang
<ljarvis>
wait to you eat or drink syrup
<yorickpeterse>
I think you eat it
<ljarvis>
i guess it depends how thick it is
<ljarvis>
my canadian half is coming out
<erikh>
you eat it, unless you're ... special
<ljarvis>
canadian ^
<erikh>
no
<erikh>
just special
<erikh>
like the short bus
<ljarvis>
YES GOT DAMMIT
<erikh>
hahaa
<ljarvis>
I cant spell today
<erikh>
so mad
<erikh>
so english
<ljarvis>
could be worse
<erikh>
yeah you could be german
<ljarvis>
yorickpeterse: give me your best british impression
<yorickpeterse>
ljarvis: "cunt"
<erikh>
haha
<erikh>
so true
<ljarvis>
yep
<ljarvis>
andrewvos could probably beat that
<yorickpeterse>
he's drinking coconut stuff somewhere in Cancun
<erikh>
so, VMware 6 actually doesn't actually eat up the battery
<ljarvis>
the only thing more british than "cunt" is "prick".. "fuck off ya prick"
<erikh>
if the machines are idle
<zzak>
maloik: +1
<erikh>
getting 7 hours battery life with it
<yorickpeterse>
oh so now RVM is suddenly fast
<yorickpeterse>
grrrr
<ljarvis>
heh, I dont even get that from this mbp without running something that phat
<erikh>
disk cache probably
vlad_starkov has quit [Remote host closed the connection]
<yorickpeterse>
HAHA and it still generates the fucking wrappers
<erikh>
ljarvis: do you have gfxCardStatus?
<erikh>
flipping the nvidia on will do it
<erikh>
also, mavericks
<ljarvis>
what is this i dont even
<erikh>
much better battery life
<erikh>
like, retardedly so
<ljarvis>
interesting
<ljarvis>
this has annoyed me for like a year and I've no idea what's draining it
<erikh>
my discrete is on with vmware running and i'm still getting 7 hours
<yorickpeterse>
I get around 6 hours on Lunix
<erikh>
yeah, check out gfxCardStatus
<yorickpeterse>
on a MBP
<erikh>
yorickpeterse: it largely depends on which video card is enabled
<yorickpeterse>
Yeah I have the Nvidia one turned off because of that
<yorickpeterse>
That alone easily saves you an hour or two
<erikh>
yep, so, with mavericks, I have it on
<erikh>
and I'm getting ~7h
<yorickpeterse>
noice
<ljarvis>
I think it's worrying i get like 3 hours use out of this machine before it's dead
<erikh>
ljarvis: damnit get that tool already
<gnufied>
I have gfxCardStatus but no Nvidia option (only Intel and AMD) should I install Nvidia to get 7 hours of batter life?
<gnufied>
bettery*
<ljarvis>
erikh: im on it
nathanstitt has joined #ruby-lang
<ljarvis>
bettery
<ljarvis>
tehe
<erikh>
gnufied: no, it you have an amd card instead
<erikh>
the nvidia only comes with certain models
mdedetrich has quit [Quit: Computer has gone to sleep.]
<erikh>
and, the integrated card (intel) is usually much better on battery life
<erikh>
well chip technically but horseshoes
<ljarvis>
somehow i dont think this will give me 3+ hours though
Pupeno_ has joined #ruby-lang
<erikh>
ljarvis: it'll tell you what's kicking on your discrete graphics
<erikh>
turn those things off when you need battery
<ljarvis>
sweet
<erikh>
you can also force it to use intel
Pupeno_ has quit [Remote host closed the connection]
<erikh>
which sometimes works but is a bit unstable
arBmind1 has quit [Read error: Operation timed out]
VTLob has quit [Quit: VTLob]
joshuawscott has joined #ruby-lang
choi0hun has joined #ruby-lang
Pupeno has quit [Ping timeout: 264 seconds]
bf4 has joined #ruby-lang
arBmind has joined #ruby-lang
nettsundere has quit [Quit: nettsundere]
nneko001__ has quit [Quit: Konversation terminated!]
sush24 has joined #ruby-lang
sstrickl has joined #ruby-lang
sstrickl has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
wmoxam_ has quit [Quit: leaving]
Plyturon has joined #ruby-lang
choi0hun has quit [Remote host closed the connection]
futurechimp has quit [Quit: This computer has gone to sleep]
richardburton has joined #ruby-lang
benlovell has quit [Read error: Operation timed out]
gja has joined #ruby-lang
benlovell has joined #ruby-lang
VTLob has joined #ruby-lang
tonni has quit [Remote host closed the connection]
nettsundere has joined #ruby-lang
arBmind1 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
arBmind has quit [Ping timeout: 245 seconds]
<maloik>
zzak: actually just put it online, we're going to try tweeting at another time than usual
<maloik>
noticed ticket sales often come in during the evening so this may work better for us, we'll see :-)
hhatch has quit [Ping timeout: 245 seconds]
go|dfish has quit [Ping timeout: 264 seconds]
pothibo has joined #ruby-lang
Cakey has joined #ruby-lang
wallerdev has joined #ruby-lang
nisstyre has joined #ruby-lang
toretore has quit [Read error: Connection reset by peer]
toretore has joined #ruby-lang
Kabaka has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
malev has joined #ruby-lang
vlad_starkov has joined #ruby-lang
jsullivandigs has joined #ruby-lang
kleech has quit [Remote host closed the connection]
anteaya has joined #ruby-lang
stardiviner has joined #ruby-lang
Kabaka has joined #ruby-lang
Senjai has quit [Ping timeout: 260 seconds]
tonni has joined #ruby-lang
lightcap has joined #ruby-lang
shinnya has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
Senjai has joined #ruby-lang
kofight has joined #ruby-lang
sush24 has quit [Ping timeout: 245 seconds]
jxpx777_ has quit [Quit: Leaving...]
dhruvasagar has joined #ruby-lang
lightcap has quit [Ping timeout: 260 seconds]
Uranio has quit [Quit: while you reading this, a kitty dies]
skade has quit [Quit: Computer has gone to sleep.]
Uranio has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Johz has quit [Quit: Leaving]
yfeldblum has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
futurechimp has joined #ruby-lang
charliesome has joined #ruby-lang
nisstyre has quit [Quit: Leaving]
MaddinXx_ has quit [Remote host closed the connection]
julweber has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
<yorickpeterse>
hhahahaha
<yorickpeterse>
fucking ddfreyne
brianpWins has joined #ruby-lang
Cakey has joined #ruby-lang
futurechimp has quit [Ping timeout: 311 seconds]
benlovell has joined #ruby-lang
Squarepy has quit [Remote host closed the connection]
futurechimp has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
hogeo has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
solars has quit [Ping timeout: 245 seconds]
bondar has quit [Ping timeout: 245 seconds]
dagobah has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
Plyturon has quit [Ping timeout: 245 seconds]
bgant has quit [Quit: Leaving.]
JohnBat26 has quit [Ping timeout: 245 seconds]
Andrevan has joined #ruby-lang
richardburton has joined #ruby-lang
<banisterfiend>
lol just got a job offer for a position programming PHP, java, and perl
<banisterfiend>
couldn't think of anything more horrifying
dhruvasagar has joined #ruby-lang
<eam>
php and java are pretty grim, but modern perl is pretty nice these days
<eam>
I have to use ruby 1.8.7 and I'd take perl over that in a heartbeat :)
__butch__ has joined #ruby-lang
sepp2k has joined #ruby-lang
mistym has joined #ruby-lang
benlovel1 has joined #ruby-lang
benlovell has quit [Ping timeout: 246 seconds]
benlovel1 has quit [Client Quit]
benlovell has joined #ruby-lang
joshuawscott has joined #ruby-lang
julweber has joined #ruby-lang
vlad_starkov has joined #ruby-lang
apeiros has joined #ruby-lang
kek has quit [Remote host closed the connection]
julweber has quit [Ping timeout: 245 seconds]
benlovell has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Ping timeout: 240 seconds]
lfox has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 256 seconds]
Kabaka has quit [Remote host closed the connection]
diegoviola has joined #ruby-lang
cirenyc has joined #ruby-lang
cirenyc has left #ruby-lang [#ruby-lang]
<ljarvis>
perl is awesome
<ljarvis>
also java wouldn't be *that* bad
<ljarvis>
php would be my least favourite
Kabaka has joined #ruby-lang
<eam>
agreed
_jpb_ has joined #ruby-lang
<apeiros>
agreed on php being the last one of these I'd want to code in
elia has quit [Ping timeout: 264 seconds]
<darix>
for the jvm you can just write mirah or skala or jruby and noboy would notice ;)
bzalasky has quit [Read error: Connection reset by peer]
<ljarvis>
i enjoyed scala when i wrote it, but it's just too big
bzalasky has joined #ruby-lang
robbyoconnor has joined #ruby-lang
<darix>
ljarvis: to big in what regard?
vlad_starkov has quit [Read error: Connection reset by peer]
<ljarvis>
darix: 30 ways to do 1 thing, but only 1 good way.. every time I did something I thought was right, I'd ask someone and they'd tell me a similar way but that saves 10x memory, it just got tedious very quickly
<darix>
hehe sounds like it
vlad_starkov has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
iliketur_ has joined #ruby-lang
robbyoconnor has quit [Quit: Konversation terminated!]
<tubbo>
but it just runs every like 2 seconds no matter what i put as the duration..
benlovell has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
<cout>
tubbo: maybe your query takes 1 second to run
<tubbo>
oh wait now it works
<tubbo>
wtf lol
<cout>
maybe you didn't save your file
<tubbo>
haha maybe :)
Coincidental has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
robbyoconnor has joined #ruby-lang
VTLob has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
r0bby_ has joined #ruby-lang
gregmoreno has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
mmorga has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 256 seconds]
<headius>
drbrain: PR for you when you get a chance, that is all
iliketur_ has joined #ruby-lang
julweber has quit [Remote host closed the connection]
iliketur_ has quit [Client Quit]
r0bby_ has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
yalue has quit [Quit: Leaving]
havenwood has joined #ruby-lang
Voker57 has quit [Ping timeout: 260 seconds]
julweber has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
Gillo has quit [Remote host closed the connection]
jonahR has joined #ruby-lang
lightcap has joined #ruby-lang
gregmoreno has joined #ruby-lang
symm- has joined #ruby-lang
<symm->
hi
<mistym>
Hi symm-
<symm->
does this channel ban for inactive lurking? I have the feeling I'd been devoiced for a while, having done nothing bad whatsoever :)
mentero has joined #ruby-lang
<symm->
hi mistym
alexju has joined #ruby-lang
nettsundere has quit [Quit: nettsundere]
__butch__ has quit [Quit: Leaving.]
Voker57 has joined #ruby-lang
enebo has quit [Quit: enebo]
pskosinski has joined #ruby-lang
fenicks has joined #ruby-lang
<maloik>
symm-: not something I pay a lot of attention to, but I've hardly seen anyone getting flags in here so I doubt it was done on purpose or for a reason ?
<chris2>
i think you get voice if you are registered?
gja has quit [Quit: This computer has gone to sleep]
<maloik>
with the network? or with a bot in here
<chris2>
there is certainly no punishment for lurking :)
<maloik>
I'm currently authed apparently
<chris2>
hm, no
<chris2>
there is no such mode here
Coincidental has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
Gillo has joined #ruby-lang
skmp has quit [Quit: Leaving.]
weems has quit []
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
kstuart has quit [Quit: kstuart]
weems has joined #ruby-lang
weems has quit [Changing host]
weems has joined #ruby-lang
kstuart has joined #ruby-lang
tbuehlmann has joined #ruby-lang
bzalasky has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
<symm->
ok :) thanks
roadt_ has quit [Ping timeout: 260 seconds]
dabradley has quit [Ping timeout: 276 seconds]
dabradley has joined #ruby-lang
daveinden has joined #ruby-lang
r0bby_ has joined #ruby-lang
robbyoconnor has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
r0bby_ has quit [Ping timeout: 245 seconds]
Coincidental has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Uranio has quit [Quit: while you reading this, a kitty dies]
vlad_starkov has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
mistym is now known as mistym_lunch
iliketur_ has joined #ruby-lang
daveinden has quit [Quit: Leaving.]
brianpWins has quit [Quit: brianpWins]
jonahR has quit [Quit: jonahR]
brianpWins has joined #ruby-lang
jonahR has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]
jonahR has quit [Client Quit]
crudson has joined #ruby-lang
pkrnj has joined #ruby-lang
enebo has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 245 seconds]
Plyturon has quit [Ping timeout: 245 seconds]
Coincidental has joined #ruby-lang
headius has quit [Ping timeout: 245 seconds]
bantic has joined #ruby-lang
bzalasky has joined #ruby-lang
axsuul has joined #ruby-lang
Lea has joined #ruby-lang
antulik-afk has quit [Ping timeout: 264 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
antulik-afk has joined #ruby-lang
mmorga_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mmorga has quit [Ping timeout: 245 seconds]
daveinden has joined #ruby-lang
mistym_lunch is now known as mistym
jonahR has joined #ruby-lang
tonni has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
relix has joined #ruby-lang
pothibo has quit [Quit: pothibo]
headius has joined #ruby-lang
bzalasky has joined #ruby-lang
headius has quit [Ping timeout: 240 seconds]
scampbell has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
Kabaka has quit [Ping timeout: 240 seconds]
toretore has quit [Quit: Leaving]
GaelanAintAround has quit [Read error: Connection reset by peer]
zz_dlu has quit [Read error: Connection reset by peer]
elia has joined #ruby-lang
mentero has quit [Quit: WeeChat 0.4.1]
mbj has joined #ruby-lang
GaelanAintAround has joined #ruby-lang
iliketur_ has joined #ruby-lang
zz_dlu has joined #ruby-lang
KINGSABRI has joined #ruby-lang
<KINGSABRI>
hi guys
Kabaka has joined #ruby-lang
pskrz has quit [Quit: pskrz]
<KINGSABRI>
How I can match first occurance by regex ?
<KINGSABRI>
Host: domain.com:8080
<KINGSABRI>
I need to match only the first " : "
<KINGSABRI>
like I've text
umgrossco has quit [Quit: Nettalk6 - www.ntalk.de]
vlad_starkov has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
machuga is now known as machuga|away
MaddinXx_ has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
fragamus has joined #ruby-lang
MartynKeigher has quit [Excess Flood]
Coincidental has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
jeffreyio2 has quit [Read error: Connection reset by peer]
MartynKeigher has joined #ruby-lang
daveinden has left #ruby-lang [#ruby-lang]
<nofxx>
KINGSABRI: =~ /:/ ?
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
<yorickpeterse>
STAND BACK PEOPLE, I'm doing a Git rebase
<KINGSABRI>
nofxx: thanks,, but this matching space case, what if we have
<KINGSABRI>
Host: domain.com:8080
<KINGSABRI>
Anything: foo : bar
<KINGSABRI>
thats why I'm asking for first occurrence
<drbrain>
KINGSABRI: so your string is "Host: domain.com:8080"?
<drbrain>
and you want to match the : following Host, but not the one in domain.com:8080?
Gillo has quit [Remote host closed the connection]
<KINGSABRI>
drbrain: yes and it could be more this like
<KINGSABRI>
Host: domain.com:8080
<KINGSABRI>
see there is a space between : and bar too
<KINGSABRI>
Anything: foo: bar
<KINGSABRI>
I need it matching 1st one only
<drbrain>
the =~ /:/ will match the first :
<KINGSABRI>
/:/ will match every single :
tylersmith has quit [Remote host closed the connection]
iliketur_ has joined #ruby-lang
<nofxx>
yorickpeterse: magit emacs makes it really easy... + git-up
<drbrain>
KINGSABRI: "I want to find the first :" and "I want to split a string into a field and value on :, and the value can itself contain :" are different problems
<drbrain>
for the second problem, the one you have, you can use split