apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
nathanstitt has quit [Client Quit]
toretore has quit [Quit: Leaving]
skade has quit [Quit: Computer has gone to sleep.]
smashwilson has left #ruby-lang [#ruby-lang]
skade has joined #ruby-lang
bzb has joined #ruby-lang
fijimunkii has quit [Ping timeout: 246 seconds]
io_syl has joined #ruby-lang
mannyt has quit [Quit: mannyt]
solars has quit [Ping timeout: 246 seconds]
fijimunkii has joined #ruby-lang
Boohbah has quit [Read error: Operation timed out]
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kirin` has quit [Ping timeout: 245 seconds]
verto has joined #ruby-lang
workmad3 has quit [Ping timeout: 272 seconds]
momomomomo has quit [Quit: momomomomo]
shinnya has joined #ruby-lang
mistym has quit [Remote host closed the connection]
cnivolle_ has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
cnivolle has joined #ruby-lang
Boohbah has joined #ruby-lang
lfox has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
mistym has joined #ruby-lang
micalexander has joined #ruby-lang
mistym has quit [Remote host closed the connection]
|jemc| has quit [Ping timeout: 245 seconds]
cnivolle has quit [Ping timeout: 252 seconds]
micalexander has quit [Ping timeout: 246 seconds]
skade has quit [Quit: Computer has gone to sleep.]
tlewin has quit [Quit: leaving]
hogeo has joined #ruby-lang
nigerianceo has quit []
charlespeach has joined #ruby-lang
kek has joined #ruby-lang
Cakey has joined #ruby-lang
kek has quit [Ping timeout: 245 seconds]
pumper has joined #ruby-lang
Cakey has quit [Ping timeout: 240 seconds]
havenn has quit [Remote host closed the connection]
Bosox20051 has quit [Quit: Leaving]
iliketur_ has quit [Quit: zzzzz…..]
hogeo has quit [Remote host closed the connection]
nisstyre has joined #ruby-lang
Cakey has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
JonahR has joined #ruby-lang
JonahR has quit [Client Quit]
CoreData has quit [Ping timeout: 272 seconds]
CoreData has joined #ruby-lang
JonahR has joined #ruby-lang
kitak_ has joined #ruby-lang
kitak has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
verto has joined #ruby-lang
yfeldblum has joined #ruby-lang
soba has joined #ruby-lang
verto has quit [Client Quit]
verto has joined #ruby-lang
diegoviola has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
ecnalyr has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
bdnchr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
kek has joined #ruby-lang
iliketurtles has joined #ruby-lang
micalexander has quit [Read error: Connection reset by peer]
micalexander has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
kek has quit [Ping timeout: 246 seconds]
bzb has quit [Quit: I hate to quit but my bladder's full. :-(]
datanoise has quit [Ping timeout: 264 seconds]
amerine has quit [Ping timeout: 244 seconds]
woollyams has joined #ruby-lang
amerine has joined #ruby-lang
nhmood has quit [Quit: alice.]
nhmood has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
retro|cz has quit [Ping timeout: 272 seconds]
bzalasky has joined #ruby-lang
Cakey has joined #ruby-lang
dhruvasagar has joined #ruby-lang
yfeldblum has joined #ruby-lang
symm- has quit [Ping timeout: 248 seconds]
iliketurtles has quit [Quit: zzzzz…..]
mikor has joined #ruby-lang
mikor has quit [Client Quit]
iliketurtles has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
foucist has joined #ruby-lang
crudson has left #ruby-lang [#ruby-lang]
foucist has left #ruby-lang [#ruby-lang]
vlad_starkov has joined #ruby-lang
micalexander has quit [Ping timeout: 272 seconds]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
jhulten has quit [Remote host closed the connection]
bzalasky has quit [Ping timeout: 240 seconds]
postmodern has joined #ruby-lang
jhulten has joined #ruby-lang
micalexander has joined #ruby-lang
djash40 has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
jhulten has quit [Ping timeout: 240 seconds]
thepumpkin has joined #ruby-lang
djash40 has quit []
r0bby_ has joined #ruby-lang
makarakao has joined #ruby-lang
makaraka_ has joined #ruby-lang
djash40 has joined #ruby-lang
kek has joined #ruby-lang
datanoise has joined #ruby-lang
makarakao has quit [Ping timeout: 240 seconds]
kek has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
CaptainJet has quit []
ecnalyr has joined #ruby-lang
knu has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
imperator has quit [Quit: Valete!]
djash47 has joined #ruby-lang
fijimunkii has quit [Ping timeout: 246 seconds]
djash47 has quit [Client Quit]
ecnalyr has quit [Ping timeout: 245 seconds]
aley has quit [Quit: aley]
datanoise has quit [Ping timeout: 240 seconds]
<nofxx>
looking for a gem to help me out with lots of classes, relationships and tons of attributes. With validation. The whole thing doens't save to any db but a option to export in a way to do so is nice. So I was thinking using ActiveModel only. Any new kid on the block?
<nofxx>
saw some stuff about POROs recently, but can't remember
havenwood has quit [Remote host closed the connection]
smashwilson has joined #ruby-lang
smashwilson has left #ruby-lang [#ruby-lang]
havenwood has joined #ruby-lang
iliketurtles has quit [Ping timeout: 246 seconds]
havenwood has quit [Ping timeout: 248 seconds]
djash40 has quit []
<ryanf>
datamapper stuff?
<ryanf>
I mean ruby object mapper
amerine has quit [Quit: Computer has gone to sleep.]
<ryanf>
not sure how that works with relationships
dhruvasagar has quit [Ping timeout: 240 seconds]
jxie has quit [Quit: leaving]
jsullivandigs has quit [Remote host closed the connection]
datanoise has joined #ruby-lang
jsullivandigs has joined #ruby-lang
KM has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
bastilian has quit [Quit: Leaving...]
bzalasky has joined #ruby-lang
tpope has quit [Ping timeout: 248 seconds]
<banisterfiend>
_rgn that's ok, but it doesn't send the output to my headphones, it just captures everything
<banisterfiend>
i need to be able to hear it in my headphones as well
superman1125_ has quit [Ping timeout: 246 seconds]
superman1125 has quit [Ping timeout: 248 seconds]
Snibble has joined #ruby-lang
|jemc| has joined #ruby-lang
kalesage has joined #ruby-lang
bastilian has joined #ruby-lang
bzalasky has quit [Ping timeout: 260 seconds]
mistym has quit [Remote host closed the connection]
tbuehlmann has quit [Quit: Konversation terminated!]
mistym has joined #ruby-lang
sevvie has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
kalesage has quit [Quit: ThrashIRC v2.9 sic populo comunicated]
Snibble has quit [Quit: Leaving.]
rue has joined #ruby-lang
joonty has quit [Quit: WeeChat 0.4.2]
imperator3 has joined #ruby-lang
imperator2 has quit [Ping timeout: 240 seconds]
Cakey has joined #ruby-lang
nathanstitt has quit [Ping timeout: 252 seconds]
Cakey has quit [Ping timeout: 244 seconds]
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
bantic has joined #ruby-lang
bzalasky has joined #ruby-lang
arBmind has joined #ruby-lang
mucker_ has joined #ruby-lang
mucker has quit [Read error: Connection reset by peer]
nathanstitt has joined #ruby-lang
yfeldblum has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
apeiros has quit [Ping timeout: 260 seconds]
dagobah has quit [Remote host closed the connection]
Guest25272 has joined #ruby-lang
Guest25272 is now known as diegoviola
Coincidental has quit [Ping timeout: 272 seconds]
ecnalyr has quit [Ping timeout: 245 seconds]
_if has joined #ruby-lang
tpope has joined #ruby-lang
Uranio has joined #ruby-lang
mistym has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby-lang
bantic has quit [Quit: bantic]
simoz has joined #ruby-lang
Coincidental has joined #ruby-lang
saarinen has joined #ruby-lang
hahuang65 has quit [Ping timeout: 264 seconds]
__butch__ has joined #ruby-lang
fijimunkii has quit [Ping timeout: 248 seconds]
benlovell has quit [Ping timeout: 246 seconds]
vsorlov_ has quit [Ping timeout: 260 seconds]
benlovell has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
fijimunkii has joined #ruby-lang
Maddin___ has quit [Quit: Leaving...]
dhruvasagar has quit [Ping timeout: 246 seconds]
CoreData has quit [Ping timeout: 272 seconds]
saarinen has quit [Quit: saarinen]
apeiros has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
elia has quit [Ping timeout: 244 seconds]
Nisstyre-laptop is now known as nisstyre
Cakey has joined #ruby-lang
imperator3 has quit [Ping timeout: 240 seconds]
mnngfltg has quit [Quit: Ex-Chat]
lun__ has joined #ruby-lang
Cakey has quit [Ping timeout: 240 seconds]
bzalasky has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
lun__ has quit [Ping timeout: 240 seconds]
cnivolle has joined #ruby-lang
solars has quit [Ping timeout: 268 seconds]
io_syl has joined #ruby-lang
tbuehlmann has joined #ruby-lang
jarib has quit [Quit: leaving]
jarib has joined #ruby-lang
jarib has quit [Changing host]
jarib has joined #ruby-lang
alekst has joined #ruby-lang
arooni-mobile has joined #ruby-lang
iliketurtles has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
Snibble has joined #ruby-lang
ykk` has joined #ruby-lang
<ykk`>
hey everyone
jokar has joined #ruby-lang
<ykk`>
so my wayward friend is in jail on rakers and he wants a programming book. they have a computer room for them. but if it's using windows i don't think he'll have user privileges to install ruby
<ykk`>
does windows come with something natively like how mac comes with a few options?
Snibble1 has quit [Read error: Connection reset by peer]
Snibble has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
<kith>
i'd like to try and use multiple CPUs with MRI 1.8
ecnalyr has quit [Ping timeout: 245 seconds]
workmad3 has quit [Read error: Operation timed out]
arooni-mobile has quit [Ping timeout: 244 seconds]
<manveru>
fork?
<darix>
kith: use threads?
<cout>
darix: not on 1.8
<cout>
they are green
<kith>
manveru: [19:11:12] <kith> if i fork a process within ary.each does .each keep iterating while the child process is running, or will it wait till the child is returned?
<cout>
fork is the way to go
<manveru>
it will keep iterating
<kith>
thx
<manveru>
you have to wait for the child pid at the end though
<kith>
so i somehow need to limit number of forks then right?
<manveru>
or you risk your process sanity
<ykk`>
they have no internet access and no web browsers
<darix>
ykk`: and probably not enough space to store a complete ruby install
<whitequark>
darix: threads? not even on 1.9/2.0
<ykk`>
but i may be able to volunteer to teach them to program!!!!!
<kith>
hmm process sanity?
<cout>
ykk`: well that would be interesting...
<kith>
my process are never sane... :D
<ykk`>
5"8 female teaching inmates ruby
<ykk`>
lol
<CaptainJet>
ykk`, just what are they expected to do in the computer room then?
<cout>
5inches8? :)
arooni-mobile has joined #ruby-lang
<kith>
:D
<DouweM>
ykk`: lol, they said you could volunteer?
<ykk`>
word processing and research laws?? its called he law office
<cout>
CaptainJet: type letters to people probably
<ykk`>
yes I'm .less then a foot tall.. so what?!
<jokar>
Hello, In your opinion Peter Cooper book is good or David A black?
<ykk`>
she didn't say for sure. i gotta talk to the program director next week
<DouweM>
ykk`: that's pretty cool
<cout>
jokar: never heard of peter cooper but I'll vouch for david
<ykk`>
peter is so good. his naming conventions are so expressive imho
lun__ has joined #ruby-lang
<CaptainJet>
If you teach them some Rails/Sinatra, they may end up with marketable skills by the end of your lessons
<ykk`>
yeah thats a good idea captain
<jokar>
cout: I guess you learn it by reading ruby Docs
<DouweM>
I wonder what the turnover rate of Rikers is
<ykk`>
but i would have to teach them ruby first from chris pine, right?
<DouweM>
would you have enough time to actually teach the something?
<ykk`>
sure, some inmates can be in jail for a year
<ykk`>
or years lol
<ykk`>
wait not funny
<DouweM>
huh, all right
<kith>
i would make them write actually useful software
<DouweM>
does it look like your friend's going to be inside for that long?
<kith>
writing yet another hello world isnt much fun
<DouweM>
kith: you gotta start somewhere
<kith>
yeah small web application maybe
<DouweM>
sure
<DouweM>
rebuilding twitter like railstutorial does is pretty cool
<ykk`>
he'll be in for another 1.5 months
<ykk`>
i gotta send him white t-shirts
<ykk`>
*face palm*
<jokar>
Thank you for your idea
<jokar>
ykk`: Excuse me, When you are free, Can I send Pm to you?
<ykk`>
sure
nathanstitt has quit [Quit: I growing sleepy]
mistym has joined #ruby-lang
mucker_ has quit [Remote host closed the connection]
mucker has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
jhulten has joined #ruby-lang
bastilian has quit [Quit: Leaving...]
sevvie has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby-lang
saarinen has joined #ruby-lang
Cakey has joined #ruby-lang
mucker has quit [Ping timeout: 272 seconds]
solars has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Ping timeout: 272 seconds]
elia has joined #ruby-lang
Cakey has quit [Ping timeout: 244 seconds]
bougyman has quit [Ping timeout: 246 seconds]
mbj has joined #ruby-lang
<yorickpeterse>
heh, teaching Ruby in prison
<yorickpeterse>
errr jail
arooni-mobile has quit [Ping timeout: 244 seconds]
D9_ has quit [Quit: Leaving]
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
sepp2k has quit [Ping timeout: 272 seconds]
solars has joined #ruby-lang
bastilian has joined #ruby-lang
jokar has left #ruby-lang [#ruby-lang]
RickHull has joined #ruby-lang
sepp2k has joined #ruby-lang
dingus_khan has joined #ruby-lang
arooni-mobile has joined #ruby-lang
bougyman has joined #ruby-lang
loincloth has quit [Ping timeout: 260 seconds]
earthquake has joined #ruby-lang
<ykk`>
lol yorick, gotta give back to people somehow
<ykk`>
wanna come protect me? haha
elia has quit [Quit: Computer has gone to sleep.]
<yorickpeterse>
I have doubts about customs even letting me in the country so I think I'll pass
<ykk`>
hahaha
bzb has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
bzb has joined #ruby-lang
_if has quit [Quit: leaving]
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
spencerowen has joined #ruby-lang
imperator3 has joined #ruby-lang
Coincide_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
Coincidental has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
mistym has quit [Remote host closed the connection]
grhof has joined #ruby-lang
nathanstitt has joined #ruby-lang
Uranio has quit [Ping timeout: 244 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
nofxx has quit [Quit: Leaving.]
crazysim has quit [Excess Flood]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
crazysim has joined #ruby-lang
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
Technodrome has joined #ruby-lang
<Technodrome>
Good day
<ykk`>
hi
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
nisstyre has quit [Read error: Operation timed out]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
bantic has joined #ruby-lang
loincloth has joined #ruby-lang
grhof has joined #ruby-lang
charlespeach has joined #ruby-lang
mistym has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
ruby-lang732 has joined #ruby-lang
grhof has joined #ruby-lang
ruby-lang732 has quit [Client Quit]
grhof has quit [Read error: Connection reset by peer]
Snibble has quit [Quit: Leaving.]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
aavt has joined #ruby-lang
Cakey has joined #ruby-lang
Snibble has joined #ruby-lang
zoo-zed1 has joined #ruby-lang
workmad3 has joined #ruby-lang
Cakey has quit [Ping timeout: 252 seconds]
charlespeach has quit [Quit: charlespeach]
zoo-zed1 has quit [Client Quit]
benwoody has quit [Quit: benwoody]
benlovell has quit [Quit: leaving]
mistym has quit [Remote host closed the connection]
grhof has quit []
momomomomo has joined #ruby-lang
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
<Technodrome>
[spoiler]: hey man :)
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
fijimunk1i has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
fijimunk1i has quit [Client Quit]
workmad3 has quit [Ping timeout: 240 seconds]
Uranio has joined #ruby-lang
grhof has joined #ruby-lang
r0bby_ is now known as robbyoconnor
grhof has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
nofxx has joined #ruby-lang
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
grhof has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 240 seconds]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
bzalasky has quit [Ping timeout: 265 seconds]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
yalue has quit [Quit: Leaving]
guns has joined #ruby-lang
iliketurtles has joined #ruby-lang
<cout>
is there an equivalent to File.absolute_path that doesn't expand symlinks?
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
diegoviola has quit [Ping timeout: 246 seconds]
grhof has joined #ruby-lang
saarinen has quit [Quit: saarinen]
tbuehlmann has quit [Remote host closed the connection]
ykk` has quit [Quit: ykk`]
<[spoiler]>
Technodrome: hey! :D
mistym has joined #ruby-lang
saarinen has joined #ruby-lang
<Technodrome>
[spoiler]: i'm rocking ruby hard :)
<cout>
weird, when I run pwd in zsh, I get a different result than when in irb I run `pwd` or Dir.pwd
simoz has joined #ruby-lang
coca_rails has joined #ruby-lang
slyphon has joined #ruby-lang
<yorickpeterse>
FUCK YEAH, my phone's alarm app is no longer broken
<[spoiler]>
haha, as you should!
asahi has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
grhof has quit [Read error: Connection reset by peer]
loincloth has joined #ruby-lang
grhof has joined #ruby-lang
loincloth has quit [Read error: Connection reset by peer]
nhmood has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
bzalasky has joined #ruby-lang
<asahi>
Not sure if this is the right channel for this but, I'm running a ruby process which uses postgres, and I can see that as a result of it, postgres is using 95% of CPU. Can I start additional ruby processes to finish my task quicker?
imperator3 has left #ruby-lang [#ruby-lang]
imperator2 has joined #ruby-lang
<imperator2>
cout, does File.expand_path not do that?
<imperator2>
i think i've seen that pwd behavior, can't remember what caused it now, long time ago
<imperator2>
probably some mounted filesystem
<imperator2>
where one returns your "network" directory, the other your local directory, or somethign like that
<yorickpeterse>
I'd look into that first, starting a second process isn't going to help if Pg is the bottleneck
yfeldblum has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
yfeldblu_ has quit [Ping timeout: 240 seconds]
coca_rails has quit [Remote host closed the connection]
marr has quit [Read error: Operation timed out]
nhmood has joined #ruby-lang
nhmood has quit [Max SendQ exceeded]
nhmood has joined #ruby-lang
nhmood has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 260 seconds]
nhmood has joined #ruby-lang
nhmood has quit [Max SendQ exceeded]
nhmood has joined #ruby-lang
nhmood has quit [Max SendQ exceeded]
nhmood has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
bzb has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
bzalasky_ has joined #ruby-lang
<asahi>
yorickpeterse: okay good to know. I'll see about optimizing the queries
bzalasky has quit [Ping timeout: 246 seconds]
earthquake has quit [Quit: earthquake]
mistym has joined #ruby-lang
vndr has joined #ruby-lang
dingus_khan has quit [Ping timeout: 252 seconds]
spencerowen has quit [Quit: spencerowen]
earthquake has joined #ruby-lang
bzb has joined #ruby-lang
Cakey has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
efrainolivares_ has quit [Quit: efrainolivares_]
nathanstitt has quit [Read error: Connection reset by peer]
fenicks has joined #ruby-lang
rickhull1 has joined #ruby-lang
relix has joined #ruby-lang
Snibble has quit [Quit: Leaving.]
nathanstitt has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
nigerianceo has quit []
vlad_starkov has joined #ruby-lang
nigerianceo has joined #ruby-lang
benwoody has joined #ruby-lang
<imperator2>
given a string ""h\x00e\x00l\x00o\x00W\x00o\x00r\x00l\x00d\x00\x00\x01\x02\x03", how would I get the string up to the first double null using String#[] ?
<apeiros>
/\A.*\x00{2}/
<apeiros>
or excluding the double null?
<imperator2>
excluding the double null
[spoiler] has quit [Quit: Leaving]
<apeiros>
/\A.*(?=\x00{2})/
nathanstitt has quit [Ping timeout: 244 seconds]
TheMoonMaster has quit [Remote host closed the connection]
<apeiros>
or /\A(.*?)\x00{2}/, 1
vpretzel has quit [Quit: Adios!]
<apeiros>
and: forgot the ? in the first variant:
<apeiros>
/\A.*?(?=\x00{2})/
<imperator2>
nice, thanks
vpretzel has joined #ruby-lang
Cakey has quit [Ping timeout: 244 seconds]
Snibble has joined #ruby-lang
<imperator2>
(and now I can't remember the difference between \A and ^)
TheMoonMaster has joined #ruby-lang
<toretore>
\A includes newlines
<toretore>
\A = beginning of string, ^ = beginning of line
<imperator2>
ah, that was my guess, thanks
efrainolivares has joined #ruby-lang
simoz has quit [Ping timeout: 246 seconds]
jerrytgarcia has quit [Quit: WeeChat 0.4.2]
nathanstitt has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
Coincidental has joined #ruby-lang
Scader has quit [Quit: Leaving]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
RickHull has quit [Quit: Leaving.]
coca_rails has joined #ruby-lang
grhof has joined #ruby-lang
Coincide_ has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
rue_XIW has quit [Ping timeout: 244 seconds]
elia has joined #ruby-lang
makarakao has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
__butch__ has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
coca_rails has quit [Remote host closed the connection]
grhof has quit [Read error: Connection reset by peer]
Uranio has quit [Remote host closed the connection]
grhof has joined #ruby-lang
makarakao is now known as Makorak
djash40 has joined #ruby-lang
Guest96943 has joined #ruby-lang
<djash40>
hello all
mbj has quit [Ping timeout: 260 seconds]
<djash40>
i need some help with some code that used to work but now it does not when moved to a new machine