earthquake has quit [Read error: Connection reset by peer]
thufir_ has joined #ruby-lang
earthquake has joined #ruby-lang
mephux has quit [Excess Flood]
mephux has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
stardiviner has quit [Ping timeout: 264 seconds]
srbaker has joined #ruby-lang
stardiviner has joined #ruby-lang
Asher has quit [Quit: Leaving.]
KA_ has joined #ruby-lang
Asher has joined #ruby-lang
srbaker has quit [Ping timeout: 252 seconds]
rebelcan has quit [Ping timeout: 252 seconds]
nmeum has quit [Ping timeout: 276 seconds]
rebelcan has joined #ruby-lang
nmeum has joined #ruby-lang
rippa has joined #ruby-lang
grandy has joined #ruby-lang
abuiles_ has joined #ruby-lang
noop has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
peppyheppy has quit [Quit: peppyheppy]
KA_ has quit [Quit: KA_]
kurko_ has quit [Quit: Computer has gone to sleep.]
peppyheppy has joined #ruby-lang
iamjarvo has quit [Quit: Leaving.]
unlikely_monkey has joined #ruby-lang
nXqd has joined #ruby-lang
JohnBat26 has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
rippa has joined #ruby-lang
<postmodern>
regular expression optimization
<freedrull>
trying to get a simple sinatra streaming example working, i can see the '/stream' route getting called in my log, but the es.onsrouce event never seems to fire in the js https://gist.github.com/mcfiredrill/4712633
<postmodern>
what is faster: /[a-fA-F]/ or /[a-f]/i
rippa has quit [Ping timeout: 240 seconds]
ridget has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
Skitsu`work has quit [Ping timeout: 246 seconds]
Skitsu`work has joined #ruby-lang
solars has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
davidbalbert is now known as davidbalber|away
cordax has quit [Quit: Computer has gone to sleep.]
mjio has quit []
nXqd has quit [Ping timeout: 248 seconds]
antbody has joined #ruby-lang
srbaker has joined #ruby-lang
thufir_ has quit [Remote host closed the connection]
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
skade has joined #ruby-lang
srbaker has quit [Ping timeout: 245 seconds]
gouthamvel has quit []
jayne has quit [Read error: Connection reset by peer]
TheMoonMaster has quit [Ping timeout: 264 seconds]
thufir_ has joined #ruby-lang
unlikely_monkey has quit [Remote host closed the connection]
<chekcmate>
because I get syntax errors when trying to *a,b=[1,2,3] e.g. - *a=[1,2] works though
<heftig>
it is.
<chekcmate>
ah ok
<zzak>
vbatts: i just tried your example
<heftig>
1.8 only supports splat in the last position (a, *b = 3,4,5)
<chekcmate>
we're currently switching versions, but I'm not on 1.9 yet
<chekcmate>
next week or so...
Bearproof has left #ruby-lang [#ruby-lang]
<chekcmate>
heftig: okay, thanks a lot
torrieri has quit [Ping timeout: 255 seconds]
<zzak>
vbatts: you're using trunk right?
vbatts|work has quit [Ping timeout: 276 seconds]
krz has joined #ruby-lang
davidbalbert is now known as davidbalber|away
dzhulk has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby-lang
davidbalber|away is now known as davidbalbert
<crankharder>
say I wanted to put a bash script in a gem, and have it available inside the app - can I do that?
rins has joined #ruby-lang
<injekt>
yes
<injekt>
a gem is just made up of files
<crankharder>
agree, but the gem is not within the app, so the path to the script is dependent on where the gem is installed
<injekt>
question, if you're downloading a file and the url is encoded, would you expect the saved file to be encoded or decoded?
<injekt>
ie google.com/foo+bar.html would save as "foo bar.html" or "foo+bar.html"
dous has joined #ruby-lang
dous has quit [Changing host]
dous has joined #ruby-lang
<injekt>
crankharder: that seems like bad design
mephux has quit [Excess Flood]
<crankharder>
?
vbatts|work has joined #ruby-lang
<crankharder>
bad design would be "oh yea, we included this bash script for you, but you're on your own your own finding out where in the system it's installed"
<crankharder>
good design: "just run 'script/pimpin'" and it'll work
<injekt>
sure, but bad design is also "im including this script from another gem that this app is not dependent on, herp"
<injekt>
"the gem might not be install so meh"
cardoni has joined #ruby-lang
cardoni has quit [Remote host closed the connection]
<crankharder>
i dont follow. the script is part of the gem... the gem would be installed/bundled
<zzak>
vbatts|work: pp.rb:154:in `push_inspect_key': undefined method `[]=' for nil:NilClass (NoMethodError)
<zzak>
vbatts|work: either example is wrong, or its a bug in pp. can you open a ticket if you can confirm?
methods has left #ruby-lang [#ruby-lang]
krz has quit [Quit: krz]
tristanmedia has quit [Quit: tristanmedia]
chekcmate has quit [Quit: Page closed]
dzhulk has quit [Quit: Leaving.]
bantic has joined #ruby-lang
tdy has quit [Ping timeout: 248 seconds]
krohrbaugh has quit [Quit: Leaving.]
tbuehlmann has quit [Remote host closed the connection]
zhul_mechanos has joined #ruby-lang
dzhulk has joined #ruby-lang
grough has quit [Quit: Computer has gone to sleep.]
mjolk has quit [Quit: Leaving]
tdy has joined #ruby-lang
<vbatts|work>
zzak: i get the same, using your example, but that isn't the context that the logic would be used. perhaps it's a bug as well, but in the current context the code is used, it properly returns booleans
Stilo has joined #ruby-lang
carloslopes has joined #ruby-lang
yibe_ has quit [Ping timeout: 252 seconds]
maxmanders has joined #ruby-lang
<zzak>
vbatts|work: can you show me an example that works then?
MaddinXx has quit [Remote host closed the connection]
<vbatts|work>
zzak: ah. misleading example is the concern? i see.
<zzak>
exactly
beiter has quit [Quit: beiter]
cardoni has joined #ruby-lang
stardiviner has joined #ruby-lang
arca0 has quit [Remote host closed the connection]
apod has quit [Quit: Leaving]
dous has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
cardoni has quit [Ping timeout: 248 seconds]
<zzak>
vbatts|work: if you want to send a new patch, i would just remove the example. and maybe nodoc all the core classes that define their own pretty_print()
<zzak>
user shouldnt care about implementation for each class
vlad_starkov has quit [Remote host closed the connection]
<zzak>
otherwise i can make those changes and commit it a bit later
bzalasky has quit [Remote host closed the connection]
<zzak>
vbatts|work: thanks again for helping out with docs!
dous has quit [Ping timeout: 255 seconds]
<vbatts|work>
zzak: i'll modify the doc, because i'm mostly through with PrettyPrint too, so i'll close this issue and just open a new one
<zzak>
will redmine let you close it?
<chris2>
!seen zem
<chris2>
corundum: seen zem
<corundum>
nope!
<chris2>
corundum: seen mfp
<corundum>
mfp was last seen 1812 days, 13 hours, 39 minutes and 17 seconds ago, quitting IRC (Read error: 110 (Connection timed out))
<vbatts|work>
zzak: ha! i was about to ask how to workflow this issue :-\
<zzak>
vbatts|work: its ok to use the same ticket
<vbatts|work>
alrighty
<zzak>
if you want to file a non-doc bug for PPMethods::check_inspect_key, that should be a separate ticket tho
dhruvasagar has quit [Ping timeout: 272 seconds]
mephux has quit [Excess Flood]
arca0 has joined #ruby-lang
jonahR has joined #ruby-lang
apod has joined #ruby-lang
mephux has joined #ruby-lang
zmack_ has quit [Remote host closed the connection]
Rarrikins_z_i_g_ has joined #ruby-lang
krohrbaugh has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
alvaro_o has joined #ruby-lang
michagogo has joined #ruby-lang
<michagogo>
I have a question... I have ruby 1.9.3p327 installed on Windows, using RubyInstaller. Should I be upgrading to p374? How would I go about doing that?
<injekt>
michagogo: using ruby installer?
<injekt>
p374 has been released in ruby installer
<michagogo>
injekt: What do I do? Just download the new installer and run it?
vbatts|work has quit [Ping timeout: 245 seconds]
ivanoats has joined #ruby-lang
<michagogo>
(that is, will it do all the upgrading and out everything in the right places?)
eam_ is now known as eam
<michagogo>
(also, what's the difference between this channel and #ruby?)
BigFatFatty has joined #ruby-lang
bantic has joined #ruby-lang
<injekt>
no idea, I've never used it before, check the docs on upgrading?
<injekt>
this one is official, #ruby is not
imajes has quit [Excess Flood]
vbatts|work has joined #ruby-lang
imajes has joined #ruby-lang
beiter has joined #ruby-lang
<michagogo>
Odd...
<michagogo>
That one should be ##ruby, then
dr_bob has left #ruby-lang [#ruby-lang]
<injekt>
yup
<michagogo>
#ruby-lang is actually supposed to be a channel in the #ruby namespace
<michagogo>
Also, that channel has more than twice as many users...
wallerdev has joined #ruby-lang
kurko__ has joined #ruby-lang
torrieri has joined #ruby-lang
<injekt>
yeah this is an ongoing debate, you're not the first person who's mentioned it, many have tried to fix it
<michagogo>
Any idea if there's a group registration for ruby?
<michagogo>
If there is, the GC should be able to resolve it, I think
<injekt>
the gc?
gregmore_ has joined #ruby-lang
<michagogo>
group contact
<injekt>
ah
<injekt>
well, good luck
<michagogo>
Hmm
<michagogo>
Do you know if any @ruby/name cloaks exist?
<injekt>
no idea
ivanoats has quit [Ping timeout: 272 seconds]
apod has quit [Quit: Leaving]
huma has joined #ruby-lang
wyhaines has joined #ruby-lang
s1n4 has quit [Quit: leaving]
__butch__ has joined #ruby-lang
rippa has joined #ruby-lang
FiXato has quit [Max SendQ exceeded]
peppyheppy has quit [Quit: peppyheppy]
FiXato has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
srbaker has joined #ruby-lang
io_syl has joined #ruby-lang
cardoni has joined #ruby-lang
madish has quit [Read error: Connection reset by peer]
madish has joined #ruby-lang
sulo has joined #ruby-lang
madish has quit [Client Quit]
cardoni has quit [Ping timeout: 260 seconds]
xcombelle has joined #ruby-lang
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
GitNick has quit [Ping timeout: 248 seconds]
gregmore_ has quit [Read error: Connection reset by peer]
blazes816 has joined #ruby-lang
tylersmith has joined #ruby-lang
gregmore_ has joined #ruby-lang
gregmore_ has quit [Remote host closed the connection]
<postmodern>
yorickpeterse, excellent, that makes rubygems-openpgp actually useful
mercwithamouth has quit [Ping timeout: 256 seconds]
peppyheppy has quit [Ping timeout: 256 seconds]
<yorickpeterse>
Yeah
dous has joined #ruby-lang
dous has quit [Changing host]
dous has joined #ruby-lang
<yorickpeterse>
Seein how the rubygems-trust stuff isn't going anywhere for at least another month or two this might just be a star
<yorickpeterse>
* start
<yorickpeterse>
even if it's only going to be used by a small group of people
krohrbaugh has joined #ruby-lang
peppyheppy has joined #ruby-lang
<yorickpeterse>
Now we just need to have some key signing parties :)
torrieri has quit [Ping timeout: 272 seconds]
xalei has quit [Remote host closed the connection]
<postmodern>
yorickpeterse, yeah people can vote with their feet, use existing signing mechanism or test out rubygems-openpgp
dous has quit [Ping timeout: 256 seconds]
<postmodern>
yorickpeterse, also yeah, working out all the details for a openssl based signing mechanism isn't going to happen over night. Better to get it right.
tylersmith has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
glebm has joined #ruby-lang
<yorickpeterse>
yeah
arooni-mobile has quit [Ping timeout: 264 seconds]
adambeynon has joined #ruby-lang
lun_ has joined #ruby-lang
lun__ has quit [Ping timeout: 272 seconds]
huma has quit []
skade has quit [Quit: Computer has gone to sleep.]
lun__ has joined #ruby-lang
lun_ has quit [Read error: Connection reset by peer]
cordax has joined #ruby-lang
tenderlove has joined #ruby-lang
tbuehlmann has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
drbrain has joined #ruby-lang
maxmanders has joined #ruby-lang
io_syl has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
<postmodern>
yorickpeterse, yeah i noticed weird organization in the code
voker57 has quit [Read error: Connection reset by peer]
drbrain_ has joined #ruby-lang
kogent has joined #ruby-lang
carloslopes has joined #ruby-lang
tenderlo_ has joined #ruby-lang
thone has joined #ruby-lang
_carloslopes has joined #ruby-lang
carloslopes has quit [Read error: Connection reset by peer]
tenderlo_ is now known as tenderlove_
tylersmith has quit [Quit: tylersmith]
tenderlove has quit [Ping timeout: 248 seconds]
tenderlove_ is now known as tenderlove
swav has quit [Remote host closed the connection]
drbrain has quit [Ping timeout: 272 seconds]
swav has joined #ruby-lang
thone_ has quit [Ping timeout: 264 seconds]
imajes has quit [Excess Flood]
agarie has joined #ruby-lang
imajes has joined #ruby-lang
kurko_ has joined #ruby-lang
<apeiros_>
zzak: we had? I'm swiss. My memory is full of holes…
imajes has quit [Excess Flood]
blacktulip has quit [Remote host closed the connection]
<apeiros_>
I'd say it uses a Hash internally and therefore relies on #hash and #eql? just like Hash. And I'd refer to whatever hash docs describe properties of hash keys best
workmad3 has joined #ruby-lang
<apeiros_>
ah, awesome
<apeiros_>
zzak++
imajes has joined #ruby-lang
peppyheppy has quit [Quit: peppyheppy]
<zzak>
apeiros_: i could be wrong, but ya np, it was Benoit that did all the work. so thanks eregon!
stratos has joined #ruby-lang
peppyheppy has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
wyhaines has quit [Remote host closed the connection]
stratos has quit [Client Quit]
fsvehla has quit [Quit: fsvehla]
cjs226 has quit []
spuk has joined #ruby-lang
hahuang65 has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Ping timeout: 264 seconds]
peppyheppy has quit [Quit: peppyheppy]
Mon_Ouie has quit [Quit: WeeChat 0.4.0]
idkazuma has joined #ruby-lang
hahuang65 has joined #ruby-lang
naquad has quit [Ping timeout: 264 seconds]
Cymurai has quit [Ping timeout: 272 seconds]
davidbalbert is now known as davidbalber|away
davidbalber|away is now known as davidbalbert
jonahR has quit [Quit: jonahR]
ryanf has joined #ruby-lang
_carloslopes has quit [Remote host closed the connection]
dustint has quit [Remote host closed the connection]
sulo has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
mixandgo has quit [Quit: mixandgo]
sush24 has joined #ruby-lang
achiu has quit [Quit: WeeChat 0.3.9.2]
imajes has quit [Excess Flood]
carloslopes has joined #ruby-lang
sulo has quit [Ping timeout: 244 seconds]
imajes has joined #ruby-lang
achiu has joined #ruby-lang
imajes has quit [Excess Flood]
spuk has quit [Ping timeout: 245 seconds]
davidbalbert is now known as davidbalber|away
lcdhoffman has joined #ruby-lang
imajes has joined #ruby-lang
asdfqwer has quit []
davidbalber|away is now known as davidbalbert
iamjarvo has joined #ruby-lang
kiwnix has joined #ruby-lang
spuk has joined #ruby-lang
__BigO__ has quit [Remote host closed the connection]
mixandgo has joined #ruby-lang
mixandgo has quit [Client Quit]
torrieri has joined #ruby-lang
dous has joined #ruby-lang
bin7me has quit [Quit: Verlassend]
jbsan has joined #ruby-lang
torrieri has quit [Ping timeout: 272 seconds]
dous has quit [Ping timeout: 276 seconds]
glebm has quit [Quit: Computer has gone to sleep.]
drbrain_ has quit [Remote host closed the connection]
mjio has joined #ruby-lang
hahuang65 has quit [Quit: Computer has gone to sleep.]
tenderlove has quit [Ping timeout: 276 seconds]
cored has quit [Quit: leaving]
naquad has joined #ruby-lang
mistym has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
tjadc has quit [Remote host closed the connection]
kogent_ has joined #ruby-lang
<naquad>
is there any way to make a virtual model with .attributes= and .attributes methods? i need a virtual model to use ActiveModel validations for form
__butch__ has quit [Remote host closed the connection]
drbrain has joined #ruby-lang
__butch__ has joined #ruby-lang
kogent has quit [Ping timeout: 272 seconds]
kogent_ is now known as kogent
cored has joined #ruby-lang
tenderlove has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
tenderlo_ has joined #ruby-lang
solars has quit [Ping timeout: 252 seconds]
mercwithamouth has joined #ruby-lang
imajes has quit [Excess Flood]
maxmanders has quit [Quit: Computer has gone to sleep.]
imajes has joined #ruby-lang
lun__ has quit [Remote host closed the connection]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
skade has joined #ruby-lang
tenderlo_ is now known as tenderlove
cjs226 has joined #ruby-lang
dous has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
__butch__1 has joined #ruby-lang
__butch__1 has quit [Client Quit]
__butch__ has joined #ruby-lang
benanne has quit [Quit: kbai]
ryanv-raptor has quit [Quit: Leaving.]
zenspider has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
__butch__ has quit [Ping timeout: 252 seconds]
havenwood has quit [Remote host closed the connection]
kiwnix has quit [Remote host closed the connection]
cored has quit [Ping timeout: 260 seconds]
cupakromer has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]