Benstr__ has quit [Quit: Computer has gone to sleep.]
Benstr__ has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
<darix>
yorickpeterse: their next package manager will use our libs for resolving and should be a lot faster
yfeldblu_ has quit [Ping timeout: 240 seconds]
Benstr__ has quit [Ping timeout: 240 seconds]
kgrz has quit [Ping timeout: 250 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
dwknoxy is now known as dknox-bbl
yatish27 has joined #ruby-lang
<yorickpeterse>
darix: speed isn't the problem
<yorickpeterse>
darix: yum shitting itself and throwing random errors for every command on the other hand *is* a problem
yell0wgh0st has joined #ruby-lang
<darix>
yorickpeterse: there is always the option to use a distro that has zypper.
<darix>
:)
mistym has joined #ruby-lang
apeiros has quit [Ping timeout: 272 seconds]
<yorickpeterse>
you make it sound like switching OS' of an infrastructure is easy
<Sphynx>
my boss wants me to edit 300+ entries in the live database lolol
<Sphynx>
no thanks :D
toastynerd has joined #ruby-lang
arBmind has joined #ruby-lang
yatish27_ has quit [Ping timeout: 264 seconds]
Benstr__ has joined #ruby-lang
futilegames has quit [Quit: futilegames]
mistym has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
futilegames has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
mbj has quit [Quit: leaving]
sdouglas has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 250 seconds]
saarinen has joined #ruby-lang
Lewix has joined #ruby-lang
skade has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
jxie has quit [Ping timeout: 240 seconds]
sdouglas has quit [Ping timeout: 250 seconds]
skade has quit [Client Quit]
yubrew has joined #ruby-lang
shinnya has joined #ruby-lang
Benstr__ has quit [Quit: Computer has gone to sleep.]
Benstr__ has joined #ruby-lang
yubrew has quit [Ping timeout: 246 seconds]
momomomomo has quit [Quit: momomomomo]
x0f_ has joined #ruby-lang
apeiros has joined #ruby-lang
Benstr__ has quit [Ping timeout: 240 seconds]
|jemc| has joined #ruby-lang
x0f has quit [Ping timeout: 260 seconds]
momomomomo has joined #ruby-lang
j4cknewt has joined #ruby-lang
postmodern has joined #ruby-lang
FarlaTux has quit [Quit: Leaving]
Dev-Gitter has quit [Quit: Leaving]
kohgpat has quit [Ping timeout: 255 seconds]
mistym has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
enkristoffer has joined #ruby-lang
abhi_rsd has joined #ruby-lang
saarinen has quit [Quit: saarinen]
nathanstitt has joined #ruby-lang
Benstr__ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
kohgpat has joined #ruby-lang
Benstr__ has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
koos303 has quit [Quit: Connection closed for inactivity]
abhi_rsd has quit [Remote host closed the connection]
karamazov has quit [Remote host closed the connection]
yatish27 has quit [Remote host closed the connection]
<darix>
yorickpeterse: depends
skade has joined #ruby-lang
yatish27 has joined #ruby-lang
jamesfordummies has joined #ruby-lang
karamazov has joined #ruby-lang
centrx has quit [Quit: Mead error: Connection reset by beer]
yatish27 has quit [Ping timeout: 245 seconds]
Sphynx has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
sdouglas has joined #ruby-lang
symm- has quit [Ping timeout: 272 seconds]
Lewix has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
yubrew has joined #ruby-lang
mikecmpbll has joined #ruby-lang
jxie has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
symm- has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby-lang
amerine has joined #ruby-lang
Meta5 has quit [Quit: Meta5]
michaeldeol has quit [Client Quit]
Lewix has joined #ruby-lang
amsi has joined #ruby-lang
diegoviola has quit [Ping timeout: 250 seconds]
shinnya has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby-lang
wallerdev has joined #ruby-lang
abhi_rsd_ has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
emmesswhy has joined #ruby-lang
yatish27 has joined #ruby-lang
yell0wgh0st has quit [Quit: yell0wgh0st]
yell0wgh0st has joined #ruby-lang
yell0wgh0st has quit [Client Quit]
yell0wgh0st has joined #ruby-lang
apeiros has joined #ruby-lang
sarkyniin has quit [Ping timeout: 240 seconds]
kgrz has joined #ruby-lang
yfeldblum has joined #ruby-lang
pglombar_ has joined #ruby-lang
pglombar_ is now known as pglombardo_
mistym has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 260 seconds]
amerine has quit [Ping timeout: 255 seconds]
wmoxam has joined #ruby-lang
seamon has joined #ruby-lang
pglombardo has quit [Ping timeout: 264 seconds]
cmisenas_ has joined #ruby-lang
cmisenas has quit [Ping timeout: 250 seconds]
yatish27 has quit [Remote host closed the connection]
cmisenas_ has left #ruby-lang [#ruby-lang]
yatish27 has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 255 seconds]
dekub has joined #ruby-lang
apeiros has joined #ruby-lang
diegoviola has joined #ruby-lang
cmisenas has joined #ruby-lang
charliesome has quit [Quit: zzz]
yatish27 has quit [Ping timeout: 246 seconds]
apeiros has quit [Ping timeout: 260 seconds]
benlovell has quit [Ping timeout: 240 seconds]
amerine has joined #ruby-lang
dekub is now known as nut
nut is now known as dekub
wallerdev has quit [Quit: wallerdev]
Meta5 has joined #ruby-lang
jbardin has joined #ruby-lang
|jemc| has quit [Ping timeout: 250 seconds]
Meta5 has quit [Client Quit]
Lewix has quit [Remote host closed the connection]
dekub is now known as nutl
jamesfordummies has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
qba73 has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
saarinen has joined #ruby-lang
AKASkip has joined #ruby-lang
momomomomo_ has joined #ruby-lang
mkaesz has quit [Quit: Leaving...]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo has quit [Ping timeout: 250 seconds]
momomomomo_ is now known as momomomomo
yell0wgh0st has quit [Quit: yell0wgh0st]
yubrew has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
jimbach has joined #ruby-lang
diegoviola has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
chadwtaylor has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
pglombardo_ has quit []
nofxx_ has joined #ruby-lang
nofxx_ has quit [Changing host]
nofxx_ has joined #ruby-lang
yubrew has quit [Ping timeout: 260 seconds]
jimbach has quit [Ping timeout: 240 seconds]
Missphoenix has quit [Quit: Leaving]
yell0wgh0st has joined #ruby-lang
wallerdev has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
momomomomo has quit [Quit: momomomomo]
sarkyniin has joined #ruby-lang
jimbach has joined #ruby-lang
workmad3 has quit [Ping timeout: 250 seconds]
sarkyniin has quit [Quit: Quitte]
sarkyniin has joined #ruby-lang
wallerdev_ has joined #ruby-lang
wallerdev has quit [Ping timeout: 272 seconds]
wallerdev_ is now known as wallerdev
dknox-bbl is now known as dknox
loincloth has quit [Remote host closed the connection]
mistym has joined #ruby-lang
havenwood has joined #ruby-lang
kohgpat has quit [Quit: Lost terminal]
toastynerd has quit [Remote host closed the connection]
brothmars has quit [Ping timeout: 250 seconds]
toastynerd has joined #ruby-lang
_sillymarkets has joined #ruby-lang
<postmodern>
swear this has been solved before
<postmodern>
but I'm trying to pass a callback into a function via FFI
<postmodern>
except that the functions invokes the callback from a new pthread
abhi_rsd_ has quit [Ping timeout: 240 seconds]
abhi_rsd_ has joined #ruby-lang
seamon has quit [Quit: Zzzzzzz]
yell0wgh0st has quit [Quit: yell0wgh0st]
RobertBirnie has joined #ruby-lang
RobertBi_ has joined #ruby-lang
jamesfordummies has joined #ruby-lang
gix has quit [Ping timeout: 260 seconds]
RobertBirnie has quit [Ping timeout: 240 seconds]
seamon has joined #ruby-lang
gix has joined #ruby-lang
charliesome has joined #ruby-lang
djbkd has joined #ruby-lang
yubrew has joined #ruby-lang
apeiros has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
djbkd has quit [Remote host closed the connection]
Meta5 has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
t4nk302 has joined #ruby-lang
toastynerd has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby-lang
Meta5 has quit [Read error: Connection reset by peer]
loincloth has joined #ruby-lang
Meta5 has joined #ruby-lang
charliesome_ has joined #ruby-lang
t4nk302 has quit [Ping timeout: 246 seconds]
taylorrf has joined #ruby-lang
charliesome has quit [Ping timeout: 264 seconds]
sepp2k has quit [Quit: Konversation terminated!]
Lewix has quit [Remote host closed the connection]
torrieri has quit [Quit: Leaving...]
Lewix has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
jamesfordummies has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
jamesfordummies has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
nutl has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 264 seconds]
sleepee has joined #ruby-lang
j4cknewt has joined #ruby-lang
SkramX has joined #ruby-lang
cmisenas has quit [Quit: cmisenas]
<SkramX>
let's say i have an array of hashes like {:x => 1, :y => 1, :z => 2, ...} all of the same structure. I want to combine (de-duplicate) based on x and y and sum z
<SkramX>
what's the best way to do that?
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
<wallerdev>
you want to combine all hashes into one hash?
Meta5 has quit [Read error: Connection reset by peer]
havenwood has quit []
<SkramX>
wallerdev: sorry, i wasnt very clear
Meta5 has joined #ruby-lang
<SkramX>
there are duplicate hashes in that array with the same x/y values. i want to squash those all down to one hash per x/y value pair and sum the z field
arooni-mobile has joined #ruby-lang
apeiros_ has joined #ruby-lang
<wallerdev>
interesting
<wallerdev>
i guess you could hash based on the values of x and y then recreate the array
apeiros has quit [Ping timeout: 240 seconds]
<wallerdev>
like data = Hash.new(0); hash.each { |k, v| data[[v['x'], v['y']] += v['z'] }
<wallerdev>
or something
<wallerdev>
would that work? haha
konr has joined #ruby-lang
jxie has quit [Ping timeout: 246 seconds]
Meta5 has quit [Read error: Connection reset by peer]
<SkramX>
i dont get how you are passing an array as a key to the hash
taylorrf has quit [Remote host closed the connection]
jbardin has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
apeiros has joined #ruby-lang
postmodern has quit [Ping timeout: 260 seconds]
torrieri has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
torrieri_ has joined #ruby-lang
apeiros has quit [Ping timeout: 240 seconds]
torrieri has quit [Read error: Connection reset by peer]
yubrew has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<SkramX>
thx, wallerdev
Meta5 has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 250 seconds]
Meta5 has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
DEac- has quit [Ping timeout: 260 seconds]
sdouglas has joined #ruby-lang
torrieri_ has quit [Ping timeout: 272 seconds]
<jhass>
SkramX: you did try calling uniq ?
<SkramX>
uniq wouldnt have helped with the summing...
havenwood has joined #ruby-lang
Meta5 has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby-lang
j4cknewt has joined #ruby-lang
<jhass>
oh, right
mistym has quit [Ping timeout: 245 seconds]
Meta5 has joined #ruby-lang
postmodern has joined #ruby-lang
futilegames has quit [Quit: futilegames]
mistym has joined #ruby-lang
sdouglas has quit [Ping timeout: 245 seconds]
burnwurst has joined #ruby-lang
AmBienCeD has joined #ruby-lang
_sillymarkets has quit [Ping timeout: 246 seconds]
lsd53 has joined #ruby-lang
<lsd53>
hey are array in ruby immutable?
<bougyman>
no
<lsd53>
thanks
charliesome_ has quit [Ping timeout: 260 seconds]
<pipework>
bougyman: yeah they are.
charliesome has joined #ruby-lang
<pipework>
oh sorry read that backwards.
<bougyman>
pipework: how?
seamon has quit [Quit: Zzzzzzz]
<bougyman>
[5] pry(main)> arr = [:a, :b, :c]; b = arr; arr << :d; b
<pipework>
bougyman: I was stupid and became temporarily illiterate
<bougyman>
=> [:a, :b, :c, :d]
<bougyman>
seems mutable, to me.
<bougyman>
ok
<pipework>
read immutable as mutable.
arooni-mobile has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby-lang
lsd53 has quit [Quit: Leaving]
j4cknewt has quit [Remote host closed the connection]
sleepee has quit [Ping timeout: 255 seconds]
momomomomo has joined #ruby-lang
j4cknewt has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
stamina has quit [Ping timeout: 240 seconds]
robbyoconnor has joined #ruby-lang
JoL1hAHN is now known as nrk
j4cknewt has quit [Remote host closed the connection]
enkristoffer has quit [Quit: ❤]
enkristoffer has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
stef1a has joined #ruby-lang
<stef1a>
how do you test the return value of a block / determine whether an error occurs at any of its steps? is there something i can wrap around the entire method?
<stef1a>
the entire block*
<stef1a>
oh, never mind
taylorrf has joined #ruby-lang
taylorrf_ has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j4cknewt has joined #ruby-lang
taylorrf has quit [Ping timeout: 246 seconds]
robbyoconnor has quit [Max SendQ exceeded]
taylorrf_ has quit [Remote host closed the connection]
sleepee has joined #ruby-lang
bungoman has joined #ruby-lang
robbyoconnor has joined #ruby-lang
Meta5 has quit [Quit: Meta5]
djbkd has quit [Remote host closed the connection]
robbyoconnor has quit [Read error: Connection reset by peer]
_ht has quit [Remote host closed the connection]
loincloth has quit [Remote host closed the connection]
cmisenas has joined #ruby-lang
arooni-mobile has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
amsi has quit [Ping timeout: 255 seconds]
sepp2k has joined #ruby-lang
torrieri has joined #ruby-lang
enkristoffer has quit [Quit: ❤]
yubrew has joined #ruby-lang
stamina has joined #ruby-lang
sleepee has quit [Ping timeout: 245 seconds]
j4cknewt has quit [Ping timeout: 260 seconds]
loincloth has joined #ruby-lang
j4cknewt has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
futilegames has joined #ruby-lang
toastynerd has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
j4cknewt has quit [Remote host closed the connection]
sleepee has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
DEac- has joined #ruby-lang
jbardin has quit [Quit: jbardin]
brothmars has joined #ruby-lang
momomomomo_ has joined #ruby-lang
momomomomo has quit [Ping timeout: 250 seconds]
momomomomo_ is now known as momomomomo
<stef1a>
what's the simplest way to write a function that takes a list of integers like 1, 3, 6, and reduces each to the smallest one greater than the previous? (1 stays 1, 3 becomes 2, 6 becomes 3)
yfeldblum has joined #ruby-lang
djbkd has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
<bougyman>
stef1a: like def arr_reduce(arr); last = nil; arr.sort.map { |i| last = last.nil? ? i : last + 1 }; end ?
AmBienCeD has quit [Ping timeout: 244 seconds]
<stef1a>
bougyman: yeah, that's a lot simpler than what i had in mind. thanks!
AmBienCeD has joined #ruby-lang
wallerdev has joined #ruby-lang
emmesswhy has joined #ruby-lang
seamon has joined #ruby-lang
hotpancakes has joined #ruby-lang
jbardin has joined #ruby-lang
j4cknewt has joined #ruby-lang
ari-_-e has quit [Ping timeout: 260 seconds]
yibeikafei has joined #ruby-lang
michaeldeol has joined #ruby-lang
Meta5 has joined #ruby-lang
<yibeikafei>
Hey guys. I'm trying to DRY out a couple of methods, and I'm thinking that I need to use blocks/yield, but I'm not familiar enough with them to know what to do. Advice? https://gist.github.com/yibeikafei/d42fd8f57c286559f96e
Meta5 has quit [Client Quit]
ari-_-e has joined #ruby-lang
fusillicode has quit [Ping timeout: 240 seconds]
postmodern has quit [Ping timeout: 246 seconds]
momomomomo_ has joined #ruby-lang
yubrew has joined #ruby-lang
momomomomo has quit [Ping timeout: 245 seconds]
momomomomo_ is now known as momomomomo
sleepee has quit [Quit: Leaving]
AmBienCeD has quit [Ping timeout: 244 seconds]
yubrew has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
dorei has quit [Read error: Connection reset by peer]
dorei has joined #ruby-lang
taylorrf has joined #ruby-lang
jstemmer has quit [Quit: leaving]
postmodern has joined #ruby-lang
<havenwood>
yibeikafei: i'd probably not use tap like that. it's the same number of lines to do something like `error_set = {}; ...; error_set` and i think more clear
djbkd has joined #ruby-lang
<havenwood>
yibeikafei: but if local variables are forbidden :P, maybe look at #each_with_object, e.g.: DOCUMENT_TYPES.each_with_object({}) { |doc_type, error_set| error_set[doc_type] = client_error }
taylorrf has quit [Ping timeout: 260 seconds]
<havenwood>
yibeikafei: it returns the Hash
stef_204 has joined #ruby-lang
<yibeikafei>
havenwood: That is nicer.
charliesome has quit [Read error: Connection reset by peer]
AmBienCeD has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
jamesfordummies has quit [Remote host closed the connection]
futilegames has quit [Quit: futilegames]
nertzy has quit [Quit: Leaving]
nofxx_ has quit [Ping timeout: 240 seconds]
nertzy has joined #ruby-lang
alexju has quit [Remote host closed the connection]
kuanding_ has joined #ruby-lang
mannyt has joined #ruby-lang
enkristoffer has joined #ruby-lang
kuanding has quit [Ping timeout: 245 seconds]
kuanding_ is now known as kuanding
loincloth has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 260 seconds]
mistym has quit [Remote host closed the connection]
amsi has joined #ruby-lang
saarinen has quit [Quit: saarinen]
sdouglas has joined #ruby-lang
saarinen has joined #ruby-lang
CaptainAnime has joined #ruby-lang
leandrosnunes has quit [Quit: WeeChat 0.4.3]
danijoo has quit [Read error: Connection reset by peer]
seamon has quit [Quit: Zzzzzzz]
momomomomo has joined #ruby-lang
danijoo has joined #ruby-lang
_sillymarkets has joined #ruby-lang
nofxx_ has joined #ruby-lang
kyb3r_ has joined #ruby-lang
<sarkyniin>
hey, is it possible to use reverse ranges on string in Ruby?
emmesswhy has quit [Quit: This computer has gone to sleep]
<sarkyniin>
for example, if I wanted to verify that "hello" finishes with "llo", I could do something like
<sarkyniin>
"if hello[-1..-3] == "llo" "
<sarkyniin>
right
<sarkyniin>
I mean
<sarkyniin>
puts quotation marks around hello in that example
emmesswhy has joined #ruby-lang
<jhass>
sarkyniin: how about .end_with?("llo") ?
<sarkyniin>
oh
<sarkyniin>
... I guess that works
ldnunes has quit [Quit: Leaving]
<wallerdev>
if hellp[-3..-1] == "llo"
j4cknewt has joined #ruby-lang
seamon has joined #ruby-lang
<sarkyniin>
jhass: that works with regex, right
<jhass>
don't think so
abhi_rsd_ has quit [Read error: Connection reset by peer]
jds has quit [Quit: Connection closed for inactivity]
yatish27 has joined #ruby-lang
molgrew has joined #ruby-lang
yubrew has joined #ruby-lang
jamesfordummies has joined #ruby-lang
Foxkeh has joined #ruby-lang
Xzyx987X_ has quit [Ping timeout: 255 seconds]
Mon_Ouie has joined #ruby-lang
yubrew has quit [Ping timeout: 245 seconds]
Foxkeh has left #ruby-lang [#ruby-lang]
Xzyx987X has joined #ruby-lang
loincloth has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
existensil has joined #ruby-lang
duderonomy has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
migbar has joined #ruby-lang
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brothmars has quit [Ping timeout: 255 seconds]
hotpancakes has quit [Remote host closed the connection]
loincloth has quit [Remote host closed the connection]
realDAB has joined #ruby-lang
loincloth has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
jimbach has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
yatish27 has joined #ruby-lang
havenwood has joined #ruby-lang
nathanstitt has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
jimbach has quit [Ping timeout: 260 seconds]
havenn has joined #ruby-lang
hotpancakes has joined #ruby-lang
cmisenas has quit [Quit: cmisenas]
stamina has quit [Quit: WeeChat 0.4.3]
yatish27 has quit [Ping timeout: 246 seconds]
AKASkip has quit [Ping timeout: 245 seconds]
stef1a has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
bungoman_ has joined #ruby-lang
chadwtaylor has quit [Quit: Leaving...]
bungoman_ has quit [Read error: Connection reset by peer]
bungoman_ has joined #ruby-lang
bungoman has quit [Ping timeout: 240 seconds]
mistym has joined #ruby-lang
havenwood has quit []
djbkd has quit [Remote host closed the connection]
sharpmachine has quit [Remote host closed the connection]
bungoman_ has quit [Ping timeout: 240 seconds]
havenn is now known as havenwood
seamon has quit [Quit: Zzzzzzz]
apeiros has joined #ruby-lang
jamesfor_ has joined #ruby-lang
yubrew has joined #ruby-lang
dbck has joined #ruby-lang
jamesfordummies has quit [Ping timeout: 260 seconds]
torrieri has quit [Quit: Leaving...]
yubrew has quit [Ping timeout: 246 seconds]
torrieri has joined #ruby-lang
solars has quit [Ping timeout: 260 seconds]
Mon_Ouie has quit [Ping timeout: 255 seconds]
realDAB has quit [Quit: realDAB]
djbkd has joined #ruby-lang
postmodern has quit [Quit: Leaving]
dbck has left #ruby-lang [#ruby-lang]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
loincloth has quit [Remote host closed the connection]
molgrew has quit [Quit: leaving]
mannyt has quit [Read error: Connection reset by peer]
nertzy has quit [Quit: This computer has gone to sleep]
djbkd has quit [Remote host closed the connection]
nertzy has joined #ruby-lang
jimbach has joined #ruby-lang
michaeldeol has quit [Read error: Connection reset by peer]
deol has joined #ruby-lang
mannyt has joined #ruby-lang
djbkd has joined #ruby-lang
jimbach has quit [Ping timeout: 246 seconds]
djbkd has quit [Ping timeout: 250 seconds]
shinnya has joined #ruby-lang
brothmars has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
pr0ton_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
spuk has quit [Changing host]
spuk has joined #ruby-lang
enkristoffer has quit [Quit: ❤]
|jemc| has joined #ruby-lang
<catepillar>
if you need to check a regex and end with, you use the $ at the end of the regex
<bougyman>
that's end of string/end of line
<catepillar>
/[0-9]$/
<catepillar>
fair enough. make sure no \n are in the string
<bougyman>
or use the /m switch
<catepillar>
i was gonna look that up
<zenspider>
or \z
<catepillar>
\z
Sgeo has joined #ruby-lang
<catepillar>
zenspider: beat me to it
<zenspider>
I've got my quickref in emacs for easy searching
pr0ton_ has quit [Quit: pr0ton_]
hellangel7 has quit [Read error: Connection reset by peer]
djbkd has joined #ruby-lang
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MichD is now known as michd
michaeldeol has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
djbkd has quit [Ping timeout: 260 seconds]
yubrew has joined #ruby-lang
seamon has joined #ruby-lang
yubrew has quit [Ping timeout: 250 seconds]
banister has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
mannyt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kgrz has quit [Remote host closed the connection]
banister is now known as banisterfiend
kgrz has joined #ruby-lang
kgrz has quit [Ping timeout: 250 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
|jemc| has quit [Ping timeout: 250 seconds]
jimbach has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
jimbach has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
djbkd has quit [Ping timeout: 245 seconds]
seamon has quit [Quit: Zzzzzzz]
emmesswhy has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Remote host closed the connection]
cmisenas has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]