apeiros changed the topic of #ruby-lang to: Ruby 1.9.3-p374: http://ruby-lang.org (ruby-2.0.0-rc1) || Paste >3 lines of text on http://gist.github.com
mpatel has joined #ruby-lang
ilyam has quit [Ping timeout: 244 seconds]
havenn has joined #ruby-lang
srbaker has joined #ruby-lang
ilyam has joined #ruby-lang
spuk has quit [Ping timeout: 264 seconds]
spuk has joined #ruby-lang
FiXato has quit [Ping timeout: 276 seconds]
FiXato has joined #ruby-lang
Cymurai has quit [Ping timeout: 276 seconds]
havenn has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby-lang
jtoy has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
<epitron> you don't need to do *some_array btw
<epitron> head,*tail = some_array works :)
<epitron> ruby might optimize that away though
<epitron> (ie: they could generate equivalent VM bytecodes)
zhul_mechanos has quit [Quit: zhul_mechanos]
srbaker has quit [Quit: Computer has gone to sleep.]
ryanv-raptor has joined #ruby-lang
<UziMonkey> really.. I wonder how that works
<UziMonkey> when there is a comma on the left, does it automatically splat a single parameter on the right?
kmlawson has quit [Read error: Connection reset by peer]
kmlawson has joined #ruby-lang
<UziMonkey> "The * can appear anywhere on the right-hand side:"
<UziMonkey> shouldn't that read "on the left-hand side"?
crudson1 has joined #ruby-lang
crudson has quit [Ping timeout: 256 seconds]
iamjarvo has joined #ruby-lang
BigFatFatty has left #ruby-lang [#ruby-lang]
Cymurai has joined #ruby-lang
<UziMonkey> OK, I see now
Cymurai has quit [Client Quit]
Cymurai has joined #ruby-lang
<UziMonkey> (page 328 of pickaxe book :P)
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby-lang
idkazuma has quit [Read error: Connection reset by peer]
xyzodiac has quit [Quit: Computer has gone to sleep.]
s1n4 has quit [Quit: leaving]
wyhaines has quit [Remote host closed the connection]
mrsolo has quit [Quit: Leaving]
cardoni has joined #ruby-lang
ryanv-raptor has quit [Quit: Leaving.]
cardoni has quit [Ping timeout: 245 seconds]
jgv has quit [Quit: Textual IRC Client: www.textualapp.com]
Cymurai has quit [Ping timeout: 244 seconds]
xyzodiac has joined #ruby-lang
spuk_ has joined #ruby-lang
unlikely_monkey has joined #ruby-lang
spuk has quit [Read error: Connection reset by peer]
Radagast has joined #ruby-lang
cored has quit [Ping timeout: 252 seconds]
yxhuvud2 has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
karamorf has quit [Remote host closed the connection]
yxhuvud has quit [Ping timeout: 256 seconds]
ilyam has quit [Remote host closed the connection]
Cymurai has joined #ruby-lang
nXqd has quit [Ping timeout: 240 seconds]
ilyam has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
dous has quit [Remote host closed the connection]
cardoni has joined #ruby-lang
pbjorklund has joined #ruby-lang
cored has quit [Ping timeout: 244 seconds]
srbaker has joined #ruby-lang
pbjorklund_ has quit [Ping timeout: 244 seconds]
cardoni has quit [Ping timeout: 252 seconds]
kurko__ has joined #ruby-lang
bantic has quit [Quit: bantic]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
jtoy has quit [Quit: jtoy]
marr has quit [Ping timeout: 248 seconds]
mwjcomputing has joined #ruby-lang
cored has quit [Quit: leaving]
bzb has quit [Quit: Leaving]
security is now known as megha
lun_ has quit [Ping timeout: 248 seconds]
kentos has quit [Ping timeout: 276 seconds]
jonahR has joined #ruby-lang
megha has quit [Ping timeout: 252 seconds]
kurko_ has quit [Ping timeout: 252 seconds]
xyzodiac has quit [Quit: Computer has gone to sleep.]
kurko__ has quit [Ping timeout: 248 seconds]
lun_ has joined #ruby-lang
s1n4 has joined #ruby-lang
kurko_ has joined #ruby-lang
madish has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121026125834]]
gregmoreno has quit [Ping timeout: 255 seconds]
lun_ has quit [Ping timeout: 255 seconds]
xyzodiac has joined #ruby-lang
kentos has joined #ruby-lang
lun_ has joined #ruby-lang
drbrain has quit [Remote host closed the connection]
ttilley has quit [Quit: ttilley]
havenn has quit [Ping timeout: 248 seconds]
shirokuro11 has joined #ruby-lang
shirokuro11 has quit [Remote host closed the connection]
havenn has joined #ruby-lang
<vbatts> zzak: i added comments on http://bugs.ruby-lang.org/issues/7656 how did you get the results you found?
cjs226 has joined #ruby-lang
jtoy has joined #ruby-lang
s1n4 has quit [Quit: leaving]
megha has joined #ruby-lang
lsegal has joined #ruby-lang
zenspider has quit [Quit: Terminated with extreme prejudice - dircproxy 1.1.0]
cardoni has joined #ruby-lang
jtoy has quit [Quit: jtoy]
krohrbaugh has quit [Quit: Leaving.]
bluepojo_ has joined #ruby-lang
bzalasky has joined #ruby-lang
Radagast has quit [Ping timeout: 264 seconds]
jonahR has quit [Quit: jonahR]
bluepojo has quit [Ping timeout: 252 seconds]
mtparet has quit [Remote host closed the connection]
bluepojo_ has quit [Ping timeout: 248 seconds]
mjio has quit []
megha has quit [Quit: WeeChat 0.4.0]
lun_ has quit [Read error: Connection reset by peer]
retro|cz has quit [Remote host closed the connection]
ridget has quit [Remote host closed the connection]
ridget has joined #ruby-lang
ilyam has quit [Quit: ilyam]
lun_ has joined #ruby-lang
mercwith1mouth has quit [Quit: Lost terminal]
mercwithamouth has quit [Remote host closed the connection]
davidbalber|away is now known as davidbalbert
drbrain has joined #ruby-lang
ridget has quit [Ping timeout: 260 seconds]
mjio has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
tsou has quit [Quit: leaving]
bzalasky has quit [Remote host closed the connection]
ridget has joined #ruby-lang
bzalasky has joined #ruby-lang
ilyam has joined #ruby-lang
ilyam has quit [Client Quit]
krz has joined #ruby-lang
threedaymonk has quit [Ping timeout: 264 seconds]
Bosox20051 has joined #ruby-lang
threedaymonk has joined #ruby-lang
t0h_ has quit [Ping timeout: 252 seconds]
lun_ has quit [Ping timeout: 276 seconds]
krzkrzkrz has joined #ruby-lang
peppyheppy has quit [Quit: peppyheppy]
lun_ has joined #ruby-lang
<freedrull> sinatra app slowly turning into a hairy beast wanting to be converted to rails :yessssssssssssssssssssss:
<lianj> :nooooooooo:
krohrbaugh has joined #ruby-lang
krz has quit [Ping timeout: 264 seconds]
krzkrzkrz is now known as krz
mwjcomputing has quit [Quit: Leaving]
alvaro_o has quit [Quit: Ex-Chat]
t0h has joined #ruby-lang
hahuang65 has quit [Quit: Computer has gone to sleep.]
srbaker has quit [Quit: Computer has gone to sleep.]
jadams has left #ruby-lang [#ruby-lang]
<firefux> freedrull: with rails you get hairy beast from the start ;)
lun_ has quit [Ping timeout: 245 seconds]
spuk_ has quit [Ping timeout: 244 seconds]
<havenn> firefux: How can you see its hair when its fiery eyes are burning a hole in your soul?
lun_ has joined #ruby-lang
<firefux> havenn: that bad?
<havenn> firefux: I jest. :P
* firefux hasn't really use rails :P
<havenn> firefux: I mostly find it overwhelming because of ignorance.
<havenn> firefux: Never worked in a Rails shop, only dabbled.
<lianj> freedrull: one option is to split the sinatra app in more separated rack or sinatra-base middlewares
lun_ has quit [Read error: Connection reset by peer]
tsou has joined #ruby-lang
cardoni has quit [Quit: cardoni]
havenn is now known as havenwood
lun_ has joined #ruby-lang
<freedrull> lianj: that sounds cool
<freedrull> maybe i will try that haha
<freedrull> also anyone have any good ideas for how to fix that nasty if statement around line 11 https://gist.github.com/mcfiredrill/4711575
<freedrull> hmm maybe there is a addPlaylistItem function
<freedrull> then i dont have to use if statement to check if i need to write a comma haha
bzalasky has quit [Remote host closed the connection]
cardoni has joined #ruby-lang
ryanv-raptor has joined #ruby-lang
ryanv-raptor has left #ruby-lang [#ruby-lang]
arubin has joined #ruby-lang
cardoni has quit [Client Quit]
bradland has quit [Quit: bradland]
lun_ has quit [Ping timeout: 256 seconds]
<lianj> freedrull: <%= @items.map{|i| '{ title: "%s", mp3: "%s" }' % [item.title, item.url] }.join(', ') %> ?
mpatel has quit [Quit: mpatel]
srbaker has joined #ruby-lang
<freedrull> lianj: oof. nice one.
lun_ has joined #ruby-lang
bzalasky has joined #ruby-lang
srbaker has quit [Ping timeout: 252 seconds]
methods has joined #ruby-lang
dustint has quit [Quit: Leaving]
methods has left #ruby-lang [#ruby-lang]
eam_ has joined #ruby-lang
zanea_ has joined #ruby-lang
charliesome has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
tdy_ has quit [Quit: WeeChat 0.4.0]
mercwithamouth has joined #ruby-lang
havenwood has joined #ruby-lang
a3li` has joined #ruby-lang
tdy has joined #ruby-lang
KillerFox has quit [*.net *.split]
ruskie has quit [*.net *.split]
abuiles_ has quit [*.net *.split]
grandy has quit [*.net *.split]
a3li has quit [*.net *.split]
zanea has quit [*.net *.split]
eam has quit [*.net *.split]
mame1 has quit [*.net *.split]
kurko_ has joined #ruby-lang
cardoni has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
ruskie has joined #ruby-lang
<mercwithamouth> can someone tell me why i'm getting undefined method `attr_accessible`? http://pastie.org/6050163
<mercwithamouth> despite horrible code =)
<havenwood> mercwithamouth: The code you're pasting is giving an undefined method error?
spuk has joined #ruby-lang
tsou has quit [Quit: leaving]
<mercwithamouth> havenwood: for attr_accessible
<havenwood> mercwithamouth: attr_accessor?
<havenwood> mercwithamouth: There isn't an attr in the code you pasted that I see?
<firefux> yeah, he probably wants attr_accesor
havenwood has quit [Remote host closed the connection]
<firefux> err attr_accessor
<mercwithamouth> ahh you are right =)
<mercwithamouth> this is NOT rails
<mercwithamouth> sorry
ramonmaruko has quit [Remote host closed the connection]
<mercwithamouth> ty
<firefux> that's what happens when you learn rails before ruby :)
<mercwithamouth> lol indeed.
cardoni has quit [Ping timeout: 244 seconds]
<mercwithamouth> i'm working out a crazy graph related problem a friend gave me for practice
ramonmaruko has joined #ruby-lang
<kentos> discrete math ftw
r0bby_ is now known as robbyoconnor
xyzodiac has quit [Quit: Computer has gone to sleep.]
<mercwithamouth> lol wish i'd taken it =)
<kentos> you can always checkout some DVDs tuts from the library/ torrent network
<kentos> although I got 7 lessons into one and got a lil bored w/ just me and the TV
yfeldblum has joined #ruby-lang
<mercwithamouth> i may actually do that...
<mercwithamouth> or opencourseware/cousera...something
<mercwithamouth> coursera?
unlikely_monkey has quit [Remote host closed the connection]
ryanf has quit [Ping timeout: 255 seconds]
mame1 has joined #ruby-lang
KillerFox has joined #ruby-lang
srbaker has joined #ruby-lang
srbaker has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby-lang
dcwu has joined #ruby-lang
tpope has quit [Ping timeout: 255 seconds]
tpope has joined #ruby-lang
tjadc has joined #ruby-lang
soypirate has quit [Ping timeout: 252 seconds]
hhatch has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
gouthamvel has joined #ruby-lang
ryanf has joined #ruby-lang
peppyheppy has joined #ruby-lang
ryanf has quit [Ping timeout: 255 seconds]
AntiTyping_ has joined #ruby-lang
arubin has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
AntiTyping has quit [Ping timeout: 248 seconds]
AntiTyping_ is now known as AntiTyping
havenwood has joined #ruby-lang
vlad_starkov has joined #ruby-lang
cardoni has joined #ruby-lang
dhruvasagar has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
cordax has joined #ruby-lang
Demux has joined #ruby-lang
gregmore_ has joined #ruby-lang
cardoni has quit [Ping timeout: 248 seconds]
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]
henrikhodne is now known as henrik_hodne
AntiTyping has quit [Quit: AntiTyping]
TheMoonMaster has joined #ruby-lang
jayne has joined #ruby-lang
henrik_hodne has quit [Quit: ZNC - http://znc.in]
dr_bob has joined #ruby-lang
megha has joined #ruby-lang
lun_ has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby-lang
Bosox20051 has quit [Ping timeout: 276 seconds]
gregmore_ has quit [Remote host closed the connection]
cathper has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
dzhulk has quit [Quit: Leaving.]
jett has joined #ruby-lang
fsvehla has quit [Quit: fsvehla]
Cymurai has quit [Quit: Leaving]
dzhulk has joined #ruby-lang
torrieri has joined #ruby-lang
Cymurai has joined #ruby-lang
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
jett has left #ruby-lang [#ruby-lang]
ijett has joined #ruby-lang
vlad_starkov has joined #ruby-lang
dzhulk has quit [Ping timeout: 248 seconds]
<ijett> hi
<ijett> clear
dc5ala has joined #ruby-lang
cardoni has joined #ruby-lang
<ijett> hows it going?
vlad_starkov has quit [Ping timeout: 248 seconds]
wallerdev has quit [Quit: wallerdev]
lun_ has joined #ruby-lang
antbody has quit [Quit: leaving]
facest has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
faces has quit [Ping timeout: 256 seconds]
cardoni has quit [Ping timeout: 248 seconds]
<ijett> can anyone recommend a good source for learning ruby on rails?
<ijett> a good book coming out maybe?
Demux has quit [Quit: ~ Trillian Astra - www.trillian.im ~]
torrieri has quit [Quit: Leaving...]
benteaa has quit [Remote host closed the connection]
<injekt> postmodern: they'll be pretty much identical
<injekt> ijett: guides.rubyonrails.org
<ijett> injekt: thanks
chekcmate has joined #ruby-lang
<chekcmate> mornin!
zmack has joined #ruby-lang
noop has quit [Ping timeout: 248 seconds]
dcwu1 has joined #ruby-lang
ijett has quit [Remote host closed the connection]
ryanf has joined #ruby-lang
vlad_starkov has joined #ruby-lang
dcwu has quit [Ping timeout: 248 seconds]
sepp2k has joined #ruby-lang
srbaker has joined #ruby-lang
toretore has joined #ruby-lang
charliesome_ has joined #ruby-lang
srbaker has quit [Ping timeout: 252 seconds]
maxmanders has joined #ruby-lang
Guest85414 has quit [Ping timeout: 252 seconds]
wycats_ has quit [Ping timeout: 252 seconds]
torrieri has joined #ruby-lang
techlife has quit [Ping timeout: 276 seconds]
<yorickpeterse> Morning
tbuehlmann has joined #ruby-lang
noop has joined #ruby-lang
gregmore_ has joined #ruby-lang
techlife has joined #ruby-lang
mercwithamouth has quit [Ping timeout: 260 seconds]
torrieri has quit [Ping timeout: 245 seconds]
gregmore_ has quit [Ping timeout: 276 seconds]
megha has quit [Ping timeout: 276 seconds]
skade has joined #ruby-lang
banister`sleep has quit [Remote host closed the connection]
stardiviner has quit [Ping timeout: 260 seconds]
stardiviner has joined #ruby-lang
<chekcmate> yorickpeterse: http://goo.gl/ef9iD let's build an army!
apeiros_ has joined #ruby-lang
<yorickpeterse> Fuck me that's expensive
<chekcmate> fucking you won't make them cheaper
gnufied has joined #ruby-lang
<yorickpeterse> ...
<chekcmate> aw come on... slept bad?
<yorickpeterse> Nah, it's a cheap shot and those are reserved for mondays
ryanf has quit [Quit: leaving]
marr has joined #ruby-lang
<chekcmate> I also have some army-UAVs which are that small, but I guess they've got 1 or 2 zeros more in the price heh
<chekcmate> yorickpeterse: well... tuesday is also the little brother of monday..
robotmay has joined #ruby-lang
cardoni has joined #ruby-lang
<andrewvos> i fuking wish it was wednessay at least
<andrewvos> words r hard
<yorickpeterse> prgmr lyfe
* yorickpeterse hates himself for typing that
<andrewvos> yeah
<andrewvos> morning youngin
<yorickpeterse> Jesus, the OpenSSL Ruby docs are meh
blacktulip has joined #ruby-lang
techlife has quit [Ping timeout: 255 seconds]
cardoni has quit [Ping timeout: 248 seconds]
<andrewvos> you would expect them to be less than meh?
banister`sleep has joined #ruby-lang
<yorickpeterse> Actually I'm not that surprised. I think I need to at least fix the typos though
<andrewvos> :)
<andrewvos> Is that somethkng you want to spend today on?
<whitequark> yorickpeterse: oh neat, STM32F103
<yorickpeterse> andrewvos: that will take like 10 minutes
<yorickpeterse> whitequark: what
<whitequark> yorickpeterse: in that quadrocopter
<yorickpeterse> Also wat: "You can add extensions to the certificate with OpenSSL::SSL::ExtensionFactory to indicate the purpose of the certificate."
<yorickpeterse> dem factories
<whitequark> yorickpeterse: these are the chips which I target with Foundry first
<whitequark> shoulda buy a pair of those, probably
<yorickpeterse> ah
<yorickpeterse> Rubycopter of Death
<whitequark> hehe
<whitequark> also do you realize you can make them cooperate with the onboard radio?
dzhulk has joined #ruby-lang
kgrz has joined #ruby-lang
<yorickpeterse> I figured something like that
mercwithamouth has joined #ruby-lang
<whitequark> they don't even cost that much...
<yorickpeterse> I don't have 150 bucks to spare
<yorickpeterse> Considering I'm spending most on holidays
rue|w has joined #ruby-lang
<whitequark> yorickpeterse: well, it's the cost of r&d amortized over a batch of two hundred
<chekcmate> you'll get them in april/may when you order now afaik
<whitequark> I am able to read thank you
<chekcmate> didn't know it says that on the website, I found it on a news page....
<whitequark> chekcmate: the very link you've posted here contains that text
techlife has joined #ruby-lang
<chekcmate> ok, maybe I should've said that I haven't been on that particular link
<andrewvos> How is rubygems doing?
wycats__ has joined #ruby-lang
tbuehlmann has quit [Ping timeout: 264 seconds]
<yorickpeterse> it's back up
fsvehla has joined #ruby-lang
kain has quit [Quit: exit]
kain has joined #ruby-lang
woollyams has joined #ruby-lang
a3li` is now known as a3li
mercwithamouth has quit [Ping timeout: 255 seconds]
Egbrt has joined #ruby-lang
kain has quit [Quit: exit]
torrieri has joined #ruby-lang
kain has joined #ruby-lang
madish has joined #ruby-lang
megha has joined #ruby-lang
torrieri has quit [Ping timeout: 248 seconds]
adambeynon has joined #ruby-lang
Smol has quit [Read error: Operation timed out]
Smol has joined #ruby-lang
jaska has quit [Read error: Operation timed out]
jaska has joined #ruby-lang
wasnotrice has quit [Ping timeout: 252 seconds]
wasnotrice has joined #ruby-lang
workmad3 has joined #ruby-lang
charliesome has quit [Disconnected by services]
charliesome_ is now known as charliesome
noop has quit [Ping timeout: 264 seconds]
srbaker has joined #ruby-lang
cardoni has joined #ruby-lang
spuk has quit [Ping timeout: 260 seconds]
Kuukunen has quit [Ping timeout: 260 seconds]
Kuukunen has joined #ruby-lang
spuk has joined #ruby-lang
bca has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
bca is now known as Guest16497
srbaker has quit [Ping timeout: 252 seconds]
sora_h has quit [Excess Flood]
cardoni has quit [Ping timeout: 264 seconds]
bpot has quit [Ping timeout: 264 seconds]
sora_h has joined #ruby-lang
guilleiguaran has quit [Ping timeout: 252 seconds]
xcombelle has joined #ruby-lang
dcwu1 has quit [Quit: Leaving.]
torrieri has joined #ruby-lang
noop has joined #ruby-lang
torrieri has quit [Ping timeout: 248 seconds]
nkr has joined #ruby-lang
hakunin_ has joined #ruby-lang
hakunin has quit [Read error: Connection reset by peer]
sush24 has joined #ruby-lang
gustavnils has joined #ruby-lang
woollyams has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Guest85414 has joined #ruby-lang
tbuehlmann has joined #ruby-lang
JohnBat26 has quit [Remote host closed the connection]
Cymurai has quit [Ping timeout: 276 seconds]
cultureulterior_ has joined #ruby-lang
Averna has quit [Quit: Leaving.]
sush24 has quit [Quit: This computer has gone to sleep]
roolo has joined #ruby-lang
torrieri has joined #ruby-lang
kmlawson_ has joined #ruby-lang
kmlawson has quit [Read error: Connection reset by peer]
kmlawson_ is now known as kmlawson
torrieri has quit [Ping timeout: 256 seconds]
antbody has joined #ruby-lang
megha has quit [Quit: WeeChat 0.4.0]
antbody has quit [Ping timeout: 256 seconds]
socialcoder has joined #ruby-lang
<socialcoder> in chapters.each_with_index do |chap, idx| , what exactly is _with_index
<socialcoder> please, anyone?
antbody has joined #ruby-lang
apod has joined #ruby-lang
<apeiros_> part of the method name
<tbuehlmann> for an array ['Introduction', 'foo'], idx would give you the index of the actual item. so, 0, then 1
<socialcoder> sec, let me show u the whole code
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
<tbuehlmann> I don't wanna see. just try something like try `['Introduction', 'foo'].each_with_index { |chap, idx| puts idx }`
<tbuehlmann> and have a look at the docs, it's really not that hard
<socialcoder> hmm
<socialcoder> apeiros: u said part of the method name
<socialcoder> do u mean with_index is part of the ruby language?
<apeiros_> no
<apeiros_> I mean, "each_with_index" is the name of the method you call.
<apeiros_> "_with_index" is just a part of that name.
<socialcoder> it could be each_with_sandex also?
<apeiros_> if you define a method with that name - sure
<socialcoder> ah i see
<apeiros_> each_with_ponies_and_rainbows
<socialcoder> what is its purpose?
<apeiros_> as tbuehlmann said, consult the docs
cardoni has joined #ruby-lang
<apeiros_> it's Array#each_with_index
<socialcoder> ok
<socialcoder> it passes the indexof the element
<socialcoder> gotcha
cardoni has quit [Ping timeout: 245 seconds]
neocoin has quit [Remote host closed the connection]
torrieri has joined #ruby-lang
Vektur has quit [Remote host closed the connection]
Vektur has joined #ruby-lang
krz has quit [Quit: krz]
torrieri has quit [Ping timeout: 246 seconds]
beiter has joined #ruby-lang
sush24 has joined #ruby-lang
carloslopes has joined #ruby-lang
Axsuul has quit [Ping timeout: 240 seconds]
socialcoder has quit []
maxmanders has quit [Quit: Computer has gone to sleep.]
dzhulk has quit [Quit: Leaving.]
arca0 has joined #ruby-lang
torrieri has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 255 seconds]
gnufied has quit [Quit: Leaving.]
torrieri has quit [Ping timeout: 252 seconds]
gnufied has joined #ruby-lang
Egbrt has quit [Quit: Egbrt]
cathper has left #ruby-lang [#ruby-lang]
jxie has quit [Quit: leaving]
Bearproof has joined #ruby-lang
bzb has joined #ruby-lang
Bearproof has left #ruby-lang [#ruby-lang]
bpot has joined #ruby-lang
guilleiguaran has joined #ruby-lang
s1n4 has joined #ruby-lang
PowerTux has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
PowerTux has left #ruby-lang [#ruby-lang]
torrieri has joined #ruby-lang
cjs226 has quit []
torrieri has quit [Ping timeout: 264 seconds]
fsvehla has quit [Read error: Connection reset by peer]
beiter has quit [Quit: beiter]
fsvehla has joined #ruby-lang
antbody has quit [Ping timeout: 240 seconds]
dr_bob has quit [Quit: Leaving.]
kurko_ has joined #ruby-lang
antbody has joined #ruby-lang
dr_bob has joined #ruby-lang
bzb has quit [Remote host closed the connection]
Egbrt has joined #ruby-lang
gokul has joined #ruby-lang
dr_bob has quit [Read error: Connection reset by peer]
JohnBat26 has joined #ruby-lang
beiter has joined #ruby-lang
torrieri has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
cjs226 has joined #ruby-lang
torrieri has quit [Ping timeout: 248 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
antbody has quit [Ping timeout: 255 seconds]
antbody has joined #ruby-lang
s1n4 has quit [Quit: leaving]
gokul has quit [Quit: Leaving]
xcombelle has quit [Remote host closed the connection]
cardoni has joined #ruby-lang
idkazuma has joined #ruby-lang
postmodern has quit [Quit: Leaving]
fsvehla has quit [Read error: Connection reset by peer]
cardoni has quit [Ping timeout: 256 seconds]
fsvehla has joined #ruby-lang
neocoin has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 252 seconds]
marr has quit [Read error: Connection reset by peer]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_starkov has joined #ruby-lang
iamjarvo has joined #ruby-lang
fsvehla has quit [Read error: Connection reset by peer]
kgrz has quit [Ping timeout: 252 seconds]
Bearproof has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
vlad_starkov has quit [Ping timeout: 252 seconds]
felipe has joined #ruby-lang
xalei has joined #ruby-lang
jtoy has joined #ruby-lang
fsvehla has joined #ruby-lang
Bearproof has quit [Quit: Leaving.]
outoftime has joined #ruby-lang
antbody has quit [Quit: leaving]
<chekcmate> ruby multiple assignment is ok like this? a, b, c = 0
fsvehla has quit [Read error: Connection reset by peer]
<lianj> whats the quesion?
<chekcmate> if a,b,c = 0 is ok
<chekcmate> instead of a = 0; b = 0; ...
<chekcmate> and does it work like that with every object?
<lianj> a = b = c = 0
<chekcmate> @_o?
fsvehla has joined #ruby-lang
<chekcmate> and he does a, b, c, d = 1, 2, 3, 4
<lianj> yes
<chekcmate> but if a,b,c,d should get all the same value, a, b, c, d = x is fine?
mistym has joined #ruby-lang
<lianj> no, b,c,d are nil then
<chekcmate> what if I want all to be nil?
<chekcmate> is there another way than a = b = ...?
outoftime has quit [Quit: Leaving]
<lianj> so want all to be nil?
<chekcmate> ok!
<chekcmate> yea
gjaldon has joined #ruby-lang
<whitequark> chekcmate: just write a = b = c = nil.
<chekcmate> ok
dustint has joined #ruby-lang
torrieri has joined #ruby-lang
<lianj> whitequark: sadly a,b,c = nil works too in this case, but its a confused hack
<chekcmate> yes, that's what I first thought
<chekcmate> but when tested with anything else than nil, it became clear
mistym has quit [Remote host closed the connection]
torrieri has quit [Ping timeout: 245 seconds]
dr_bob has joined #ruby-lang
workmad3 has quit [Ping timeout: 248 seconds]
stardiviner has quit [Ping timeout: 255 seconds]
scampbell has joined #ruby-lang
stardiviner has joined #ruby-lang
fsvehla has quit [Read error: Connection reset by peer]
stardiviner has quit [Client Quit]
fsvehla has joined #ruby-lang
goatish_mound has joined #ruby-lang
Bearproof has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
gjaldon has quit [Remote host closed the connection]
bzb has joined #ruby-lang
marr has joined #ruby-lang
b1rkh0ff has quit [Ping timeout: 264 seconds]
cardoni has joined #ruby-lang
xalei has quit [Remote host closed the connection]
dvorak has quit [Ping timeout: 248 seconds]
workmad3 has joined #ruby-lang
cardoni has quit [Ping timeout: 245 seconds]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
torrieri has joined #ruby-lang
mjolk has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
b1rkh0ff has joined #ruby-lang
fsvehla has quit [Read error: Connection reset by peer]
unlikely_monkey has joined #ruby-lang
fsvehla has joined #ruby-lang
iamjarvo has quit [Quit: Leaving.]
cultureulterior_ has quit [Read error: Connection reset by peer]
cultureulterior_ has joined #ruby-lang
torrieri has quit [Ping timeout: 252 seconds]
MaddinXx has joined #ruby-lang
arca0 has quit [Quit: leaving]
xyzodiac has joined #ruby-lang
<injekt> ugh I hate a = b = c = d
<chekcmate> me too!
<chekcmate> it looks weird
cultureulterior_ has quit [Read error: Connection reset by peer]
cultureulterior_ has joined #ruby-lang
xyzodiac has quit [Client Quit]
grough has joined #ruby-lang
cultureulterior_ has quit [Ping timeout: 272 seconds]
cultureulterior_ has joined #ruby-lang
zmack_ has joined #ruby-lang
zmack has quit [Ping timeout: 248 seconds]
<lianj> initializing four things to nil must look weird because it is
<heftig> lianj: no, that would initialize a, b and c to d
<heftig> if you want to initialize all to nil, you would do a = b = c = d = nil or a = b = c = d = d
<whitequark> just write a = b = c = d = a
<heftig> (or = c, = b, = a)
<whitequark> a strange loop!
fsvehla has quit [Read error: Connection reset by peer]
melter has quit [Remote host closed the connection]
fsvehla has joined #ruby-lang
melter has joined #ruby-lang
torrieri has joined #ruby-lang
fsvehla has quit [Client Quit]
<yorickpeterse> a wild recursion appeared!
torrieri has quit [Ping timeout: 260 seconds]
mistym has quit [Remote host closed the connection]
rue|w has quit [Remote host closed the connection]
glebm has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby-lang
jMCg has joined #ruby-lang
<jMCg> helly happy people!
<lianj> heftig: just saying in the nil case, this work too ruby -e 'a,b,c,d = nil; p [a,b,c,d]; p [e]'
vlad_starkov has joined #ruby-lang
<jMCg> I have a piece of ruby 1.9 code, which I need to be 1.8 compatible: https://github.com/igalic/mcollective-agents/blob/master/mcollective/agent/nexusdpl.rb#L64
<jMCg> (I've asked this question once alraedy in this same channel, fixed it, and then lost the code)
<heftig> lianj: a,b,c,d=[]
<heftig> if you use nil, it would actually be [nil]
arca0 has joined #ruby-lang
rue|w has joined #ruby-lang
<injekt> huh
<lianj> heftig: so what are we talking about :P
rue|w has quit [Read error: Connection reset by peer]
<jMCg> so the question is, how do I express: *group, app = mvn.split "." ; group.join "." in Ruby 1.8
<apeiros_> jMCg: you add a pop to the mix
<injekt> groups = mvn.split("."); app = mvn.pop; group.join(".")
<apeiros_> like that ^
Egbrt has quit [Quit: Egbrt]
<apeiros_> the inkjet plotted the course…
<injekt> HAR
rue|w has joined #ruby-lang
<lianj> or [0...-1].join(".")
iamjarvo has joined #ruby-lang
scottschecter has quit [Quit: WeeChat 0.3.9.2]
<apeiros_> o0
<jMCg> apeiros_, injekt - ack. Thanks.
<injekt> app is used
<lianj> oh
scottschecter has joined #ruby-lang
<chekcmate> what does the * mean at *group, app = mvn.split "."?
<chekcmate> is it a wildcard?
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
cardoni has joined #ruby-lang
__BigO__ has joined #ruby-lang
<lianj> a, *b = [1,2,3] => [1], [2,3]; *a, b = [1,2.3] => [1,2], [3]
<chekcmate> lianj: thanks :)
<chekcmate> that looks useful!
glebm has joined #ruby-lang
Egbrt has joined #ruby-lang
<chekcmate> [1,2.3] (did you mean to . instead of ,?
jxie has joined #ruby-lang
<lianj> s/./,
<heftig> not [1] and [3], 1 and 3
<manveru> a, *b, c = [1,2,3,4] :)
Future[Chimp] has joined #ruby-lang
<chekcmate> => a = 1, b = 2,3 c = 4?
<lianj> yes
<chekcmate> :)
<chekcmate> how about **b?
<heftig> a, *b, (c, *d) = [1,2,3,[4,5,6]]
<heftig> chekcmate: syntax error
cardoni has quit [Ping timeout: 252 seconds]
davidbalber|away is now known as davidbalbert
<chekcmate> alright, that really seems to come in handy!
unlikely_monkey has quit [Remote host closed the connection]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<heftig> a, b = b, a does a swap in a single statement
jrafanie has joined #ruby-lang
toretore has quit [Quit: Leaving]
* chekcmate finally found a worthy irc theme http://goo.gl/XWa59
<heftig> that looks hideous
<chekcmate> haha
davidbalbert is now known as davidbalber|away
davidbalber|away is now known as davidbalbert
torrieri has joined #ruby-lang
s1n4 has joined #ruby-lang
<chekcmate> heftig: is this a 1.9 feature?
<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
mephux has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
<injekt> heh
<injekt> irb(main):002:0> Gem::Specification.find_by_name('slop').gem_dir
<injekt> => "/Users/lee/.gem/ruby/1.9.3/gems/slop-3.4.3"
<injekt> how's that?
Cymurai has joined #ruby-lang
<crankharder> myeh
<injekt> or maybe
<injekt> Gem.loaded_specs['slop'].full_gem_path
<chekcmate> wah, another assault on a journalist in denmark ´o_o`
<injekt> maybe that'll be faster as it only goes through loaded gems, who knows
carloslopes has quit [Remote host closed the connection]
tristanmedia has joined #ruby-lang
ryanv-raptor has joined #ruby-lang
<vbatts|work> zzak: yes
dous has quit [Ping timeout: 264 seconds]
methods has joined #ruby-lang
guns has joined #ruby-lang
skade has joined #ruby-lang
<zzak> vbatts|work: i'm on r39046
<zzak> vbatts|work: ruby -rpp -e 'include PP::PPMethods; obj = Object.new; check_inspect_key(obj.object_id); push_inspect_key(obj.object_id);'
<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?
bantic has quit [Ping timeout: 244 seconds]
tjadc has quit [Ping timeout: 246 seconds]
<vbatts|work> zzak: poor formating. sorry
yibe_ has joined #ruby-lang
tbuehlmann has joined #ruby-lang
carloslopes has quit [Ping timeout: 256 seconds]
AnozerOne has joined #ruby-lang
Egbrt has quit [Quit: Egbrt]
dhruvasagar has quit [Ping timeout: 245 seconds]
Egbrt has joined #ruby-lang
dhruvasagar has joined #ruby-lang
<zzak> vbatts|work: how does that apply to ::check_inspect_key?
Rarrikins_z_i_g_ has quit [Ping timeout: 276 seconds]
carloslopes has joined #ruby-lang
AnozerOne has quit [Quit: Quitte]
<vbatts|work> zzak: ? i'm not understanding your question
<vbatts|work> :-\
<zzak> you said the example is out of context, but the context of the example was PPMethods::check_inspect_key, where you added the documentation
cordax has joined #ruby-lang
<zzak> in your reply you added a new example adding pretty_print on Foo, this example works, but it's a different context then the example from before
roolo has quit [Quit: Linkinus - http://linkinus.com]
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]
gregmore_ has joined #ruby-lang
peppyheppy has joined #ruby-lang
rue|w has joined #ruby-lang
GitNick has joined #ruby-lang
megha has joined #ruby-lang
rue|w has quit [Ping timeout: 276 seconds]
Bearproof has joined #ruby-lang
Bearproof has left #ruby-lang [#ruby-lang]
rodj has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jtoy has quit [Quit: jtoy]
maxmanders has quit [Quit: Computer has gone to sleep.]
sulo has quit [Remote host closed the connection]
jtoy has joined #ruby-lang
lun__ has joined #ruby-lang
lun_ has quit [Read error: Connection reset by peer]
thufir_ has quit [Quit: Leaving.]
tenderlove has joined #ruby-lang
retro|cz has joined #ruby-lang
matti has quit [Ping timeout: 240 seconds]
davidbalbert is now known as davidbalber|away
tylersmith has left #ruby-lang [#ruby-lang]
blazes816 has left #ruby-lang [#ruby-lang]
tylersmith has joined #ruby-lang
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
sn0wb1rd has joined #ruby-lang
megha has quit [Quit: WeeChat 0.4.0]
tylersmith has quit [Client Quit]
workmad3 has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
cultureulterior_ has quit [Quit: cultureulterior_]
torrieri has joined #ruby-lang
skade has joined #ruby-lang
torrieri has quit [Client Quit]
jonahR has quit [Quit: jonahR]
torrieri has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
mistym is now known as mistym_lunch
rodj has quit [Ping timeout: 245 seconds]
hahuang65 has joined #ruby-lang
mercwithamouth has joined #ruby-lang
jtperreault has joined #ruby-lang
alvaro_o has quit [Read error: Connection reset by peer]
jtperreault has left #ruby-lang ["WeeChat 0.3.7"]
alvaro_o has joined #ruby-lang
davidbalber|away is now known as davidbalbert
glebm has joined #ruby-lang
spinagon has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
retro|cz has quit [Ping timeout: 272 seconds]
spinagon has quit [Read error: Connection reset by peer]
fsvehla has joined #ruby-lang
Egbrt has quit [Quit: Egbrt]
cardoni has joined #ruby-lang
dous has joined #ruby-lang
tylersmith has joined #ruby-lang
cardoni has quit [Ping timeout: 255 seconds]
Cymurai has quit [Quit: Leaving]
goatish_mound is now known as rsl
dous has quit [Ping timeout: 272 seconds]
beiter has quit [Quit: beiter]
srbaker has quit [Quit: Computer has gone to sleep.]
bin7me has joined #ruby-lang
billyoc has joined #ruby-lang
arca0 has quit [Remote host closed the connection]
Bearproof1 has joined #ruby-lang
derekprior has quit [Quit: Computer has gone to sleep.]
gnufied has quit [Quit: Leaving.]
bantic has quit [Ping timeout: 246 seconds]
Weems has quit []
Egbrt has joined #ruby-lang
torrieri has quit [Ping timeout: 240 seconds]
jonahR has joined #ruby-lang
jamiguet has joined #ruby-lang
jamiguet has left #ruby-lang [#ruby-lang]
mrsolo has joined #ruby-lang
bantic has joined #ruby-lang
Stilo has joined #ruby-lang
Bosox20051 has joined #ruby-lang
jrafanie has quit [Quit: jrafanie]
toretore has joined #ruby-lang
Nisstyre-laptop has quit [Quit: Leaving]
drbrain has quit [Remote host closed the connection]
mistym_lunch is now known as mistym
sepp2k has quit [Read error: Connection reset by peer]
Egbrt has quit [Quit: Egbrt]
Nisstyre-laptop has joined #ruby-lang
xalei has joined #ruby-lang
bluepojo has joined #ruby-lang
tylersmith has quit [Quit: tylersmith]
torrieri has joined #ruby-lang
bantic_ has joined #ruby-lang
sn0wb1rd_ has joined #ruby-lang
tylersmith has joined #ruby-lang
cordax has quit [Quit: Computer has gone to sleep.]
dous has joined #ruby-lang
sn0wb1rd__ has joined #ruby-lang
sn0wb1rd has quit [Ping timeout: 264 seconds]
sn0wb1rd__ is now known as sn0wb1rd
bantic has quit [Ping timeout: 276 seconds]
bantic_ is now known as bantic
sn0wb1rd has quit [Client Quit]
torrieri has quit [Ping timeout: 272 seconds]
sn0wb1rd_ has quit [Ping timeout: 256 seconds]
dous has quit [Ping timeout: 255 seconds]
xcombelle has quit [Remote host closed the connection]
srbaker has joined #ruby-lang
ddfreyne has quit [Excess Flood]
arooni-mobile has joined #ruby-lang
ddfreyne has joined #ruby-lang
Future[Chimp] has quit [Quit: Leaving]
Egbrt has joined #ruby-lang
benanne has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
s0ber_ has joined #ruby-lang
mixandgo has joined #ruby-lang
Nisstyre-laptop has quit [Quit: Leaving]
<mixandgo> how can I decode an nginx uid cookie (that looks like this: fwAAAVERZ0eVz379AwMWAg==)
s0ber has quit [Ping timeout: 240 seconds]
s0ber_ is now known as s0ber
glebm has quit [Ping timeout: 276 seconds]
tenderlove has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 264 seconds]
sepp2k has joined #ruby-lang
glebm has joined #ruby-lang
matti__ has joined #ruby-lang
<apeiros_> why would you decode it? it's a uid
<apeiros_> it's base64 btw
michagogo has left #ruby-lang [#ruby-lang]
jrafanie has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
tylersmith has quit [Quit: tylersmith]
<mixandgo> apeiros_: is there a way to decode it ?
<apeiros_> unpack("m*") decodes base64
<apeiros_> also the stdlib Base64
gix has quit [Ping timeout: 240 seconds]
tjadc has joined #ruby-lang
<mixandgo> weird, I get an empty string
<mixandgo> >> Base64.decode64("fwAAAVERZ0eVz379AwMWAg==").unpack("m*")
<mixandgo> => [""]
Bearproof1 has left #ruby-lang [#ruby-lang]
nkr has quit [Quit: Linkinus - http://linkinus.com]
gix has joined #ruby-lang
<apeiros_> erm
<apeiros_> you do either or, not both
Banistergalaxy has quit [Ping timeout: 276 seconds]
postmodern has joined #ruby-lang
<postmodern> trying to use gauntlet but it's not downloading anything
<postmodern> even copy/pasting the example from the README does nothing
Banistergalaxy has joined #ruby-lang
priodev has joined #ruby-lang
bzb has quit [Read error: Connection reset by peer]
s1n4 has joined #ruby-lang
s1n4 has quit [Changing host]
s1n4 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<yorickpeterse> postmodern: so I just hacked verification for OpenPGP during installation in that Gem
<yorickpeterse> * using
s1n4 has left #ruby-lang [#ruby-lang]
<postmodern> yorickpeterse, nice! using rubygems-opengpg or manually?
<yorickpeterse> former
kurko__ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
kurko_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<yorickpeterse> Now I just need to see what it does if I mess up the Gem
<yorickpeterse> Now I just need to make it into a pull request
brianpWins has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
glebm has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
torrieri has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
<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]
io_syl has joined #ruby-lang
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
gix- has joined #ruby-lang
gix has quit [Disconnected by services]
adambeynon has quit [Quit: Computer has gone to sleep.]
toretore has quit [Quit: Leaving]
cored has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
<yorickpeterse> postmodern: hmmm, rubygems-tasks looks nice
<yorickpeterse> I should use that
<postmodern> yorickpeterse, basically what you'd expect
<postmodern> yorickpeterse, also makes proper use of file tasks
<postmodern> yorickpeterse, i got carried away and added signing tasks, but they just create a separate .asc file
<apeiros_> zzak: want something to do? :)
<yorickpeterse> postmodern: hmm
<yorickpeterse> looking at this GPG code it's in dire need of a refactor
<apeiros_> zzak: Array#uniq should mention that it uses #eql? and #hash like Hash
<yorickpeterse> Though that would probably result in an entirely new project
retro|cz has joined #ruby-lang
<zzak> apeiros_: didnt we have this conversation before?
<zzak> i forget what we decided to do
<zzak> apeiros_: it says "It compares values using their #hash and #eql? methods for efficiency."
retro|cz has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Quit: Leaving.]
<Mon_Ouie> Ah, I was looking at the documentation of my local version when I said that, not head
Egbrt has quit [Ping timeout: 264 seconds]
<zzak> found the commit
<zzak> thanks to eregon
soypirate has joined #ruby-lang
ridget has joined #ruby-lang
torrieri has joined #ruby-lang
<zzak> here's the discussion: http://bugs.ruby-lang.org/issues/7657
gustavnils has quit [Quit: Textual IRC Client: www.textualapp.com]
Cymurai has joined #ruby-lang
asdfqwer has joined #ruby-lang
wmoxam has quit [Quit: leaving]
torrieri has quit [Ping timeout: 272 seconds]
<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.]
jrafanie has quit [Quit: jrafanie]
Bearproof has joined #ruby-lang
davidbalbert is now known as davidbalber|away
zhul_mechanos has quit [Quit: zhul_mechanos]
hahuang65 has joined #ruby-lang
kurko_ has joined #ruby-lang
davidbalber|away is now known as davidbalbert
emmdeeess has joined #ruby-lang
havenwood has joined #ruby-lang
torrieri has joined #ruby-lang
emmdeeess has quit [Client Quit]
iamjarvo1 has joined #ruby-lang
mwjcomputing has joined #ruby-lang
emmdeeess has joined #ruby-lang
iamjarvo has quit [Ping timeout: 248 seconds]
Cymurai has joined #ruby-lang
torrieri has quit [Ping timeout: 252 seconds]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
<emmdeeess> i need some help formatting an array
<emmdeeess> is this the place to ask?
<UziMonkey> it sure is
<emmdeeess> ok, thanks - i just started playing with ruby and i'm not a programmer, so bear with me
<emmdeeess> i have a ruby job that scrapes a web page and returns an array
<zenspider> rawr
<emmdeeess> and i want to format that array so it returns a string that looks like this: item1 - item2<br>item3 - item4<br>
<emmdeeess> etc, to the end of the array
mephux has quit [Excess Flood]
<emmdeeess> it will always have an even number of items, but it could contain any total number