apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p194: http://ruby-lang.org || Paste >3 lines of text on gist.github.com || Rails is in #rubyonrails || Log: http://irclog.whitequark.org/ruby
brianpWins has joined #ruby
jimeh2 has joined #ruby
heftig has quit [Ping timeout: 245 seconds]
pk1001100011 has quit [Quit: Burn your gods and kill the king; Subjugate your suffering; Dead heart, in a dead world]
heftig has joined #ruby
walterheck has quit [Quit: Computer has gone to sleep]
test34- has joined #ruby
test34- has quit [Changing host]
test34- has joined #ruby
nipra has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
jenrzzz-mac has quit [Quit: jenrzzz-mac]
test34 has quit [Ping timeout: 260 seconds]
nfk has quit [Quit: yawn]
kirun has quit [Quit: Client exiting]
user__ has quit [Quit: Forget progress by proxy. Land on your own moon.]
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
gloomer has joined #ruby
wallerdev has quit [Quit: wallerdev]
cpg is now known as cpg|away
jeffreybaird has quit [Quit: jeffreybaird]
rking has joined #ruby
saschagehlich has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
Tricks has joined #ruby
jenrzzz-mac has joined #ruby
sleetdrop has joined #ruby
Sheehan has joined #ruby
quest88 has quit [Quit: quest88]
looopy_ has quit [Remote host closed the connection]
cj3kim has quit [Quit: This computer has gone to sleep]
noganex has quit [Ping timeout: 240 seconds]
saschagehlich has quit [Quit: saschagehlich]
noganex has joined #ruby
mikepack has quit [Remote host closed the connection]
mockillo has quit [Ping timeout: 252 seconds]
mockillo has joined #ruby
thmzlt has quit [Remote host closed the connection]
xiaotian has joined #ruby
nipra has quit [Ping timeout: 260 seconds]
<affix> uTorrent API Class
blazed has joined #ruby
Kunda has quit [Quit: Kunda]
blazed has quit [Client Quit]
christo_m has quit [Quit: Lost terminal]
noganex has quit [Ping timeout: 244 seconds]
heftig has quit [Quit: leaving]
Sheehan has quit [Quit: Sheehan]
carloslopes has quit [Quit: Leaving]
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
andrewhl has quit [Read error: Connection reset by peer]
nipra has joined #ruby
andrewhl has joined #ruby
rdesfo has joined #ruby
cpg|away is now known as cpg
rdesfo has left #ruby [#ruby]
jenrzzz-mac has quit [Quit: jenrzzz-mac]
c0rn_ has joined #ruby
nowthatsamatt has left #ruby [#ruby]
larissa has quit [Quit: Saindo]
quest88 has joined #ruby
cj3kim has joined #ruby
maccosmo has quit [Quit: maccosmo]
maccosmo has joined #ruby
maccosmo has left #ruby [#ruby]
user__ has joined #ruby
akem has quit [Read error: Connection reset by peer]
banisterfiend has quit [Remote host closed the connection]
pdtpatrick has joined #ruby
xiaotian has quit [Quit: Computer has gone to sleep.]
brianpWins has quit [Ping timeout: 260 seconds]
freeayu has joined #ruby
ph^ has quit [Remote host closed the connection]
igotnolegs has joined #ruby
ph^ has joined #ruby
niklasb has quit [Ping timeout: 244 seconds]
heftig has joined #ruby
dv310p3r has joined #ruby
nobdraisentone has joined #ruby
<nobdraisentone> > l = []; for i in [{:t => 1}, {:t => 2}]; l << i[:t]­; end; l
<nobdraisentone> => [1, 2]
<nobdraisentone> How can I rewrite it?
c0rn_ has quit []
<nobdraisentone> Wanna something like mapping function [:t] to list
<weeb1e> [{:t => 1}, {:t => 2}].map {|i| i[:t] }
ph^ has quit [Ping timeout: 260 seconds]
sbanwart has joined #ruby
<nobdraisentone> weeb1e: how can I suppress i?
<nobdraisentone> It's redundant, actually. I wanna something point-free
<weeb1e> [1, 2]
<nobdraisentone> Great
minijupe has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
<nobdraisentone> Well, `|i| i[:t]' looks like λx → [:t] $ x. And I'm looking for that pointfree [:t] function
dangerousdave has quit [Ping timeout: 260 seconds]
<weeb1e> nobdraisentone: [] is a method on the object
<weeb1e> In the case of {:t =>1}[:t] you are really calling this method: class Hash; def [](key); end end
jimeh2 has quit [Ping timeout: 244 seconds]
jeffreybaird has joined #ruby
<shevy> nobdraisentonethat was a fun example :)
<shevy> usually, ruby code avoids "for"
<shevy> because one has .each or .map and so on
<nobdraisentone> Just take a look at ruby, sorry
wallerdev has joined #ruby
heftig has quit [Quit: leaving]
savage- has joined #ruby
<shevy> oh there is lots of code out there where people use "for"
<shevy> in idiomatic ruby though, "for" is used very very little, if at all
<shevy> I like the [1, 2] weeb1e gave though :D
<shevy> that is an array with two members
<shevy> [{:t => 1}, {:t => 2}] is also an array
<shevy> that has two hashes inside however
justsee has joined #ruby
justsee has quit [Client Quit]
<nobdraisentone> Well, let me try again
<nobdraisentone> map {|i| i[:t] } ← here is a function inside a `map'
<shevy> the |i| is just a name for the variable
<nobdraisentone> `i' here seems to be redundant
<shevy> inside the {} block
IrishGringo has quit [Ping timeout: 244 seconds]
<nobdraisentone> I just wanna get rid of it
<shevy> .map is applied on each element
Sheehan has joined #ruby
<otters> i isn't redundant
<otters> it's what you're referring to inside the block
<shevy> nobdraisentone, via the || you give that specific element a name
<shevy> nobdraisentone you can avoid giving it a name, by using i.e. something like ... .map(&:chomp)
<nobdraisentone> It's redundant, because i can write `j' instead of `i' and so on
wiel has joined #ruby
<shevy> yes you can use any other name too
<shevy> but there is no default convention that ruby would know what you want its name to be
<nobdraisentone> shevy: give some example with &:chomp please
<shevy> k
<shevy> your array will be this: array = ["abc\n", "def\n"]
<otters> map(&:m) is shorthand for map{|x|x.m}
<shevy> and then you can do:
<shevy> array.map(&:chomp) # => ["abc", "def"]
<shevy> not too useful that example, but you get the idea. you can avoid the {} notation with the second example
<shevy> I dont like the & too much though
<nobdraisentone> What if I have i[:t][:e][:s][:t]
<nobdraisentone> ?
<shevy> then I would say your data structure is really ugly to begin with
<shevy> but as weeb1e wrote
<shevy> the [] is a method
heftig has joined #ruby
<shevy> def [](input)
<shevy> hash['name_of_the_key_here']
<shevy> you see the similarity?
<nobdraisentone> what about (&:chomp) for that case?
<shevy> you can define [] in other classes
<shevy> that is using a method still nobdraisentone
<shevy> in this case .map
ten00 has joined #ruby
<shevy> see what otters wrote
ten00 has left #ruby [#ruby]
<shevy> <otters> map(&:m) is shorthand for map{|x|x.m}
<shevy> where the m is the same in both situations
<shevy> .map(&:size) is the same as .map { |x| x.size }
punkrawkR has quit [Read error: Connection reset by peer]
<shevy> %w( a bc def ghi ).map(&:size) # => [1, 2, 3, 3]
savage- has quit [Remote host closed the connection]
ipoval has quit [Quit: ipoval]
ten00 has joined #ruby
savage- has joined #ruby
ten00 has left #ruby [#ruby]
Progster has joined #ruby
<nobdraisentone> Is there some bot that can interprete ruby code and return answer?
Sheehan has quit [Quit: Sheehan]
<shevy> nobdraisentone not on the channel
<shevy> folks here usually run "irb" or "pry" locally
<shevy> that's why I can paste these above examples fairly quickly
indian has joined #ruby
Hanmac1 has joined #ruby
jeff_sebring has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
ramblex has quit [Quit: ramblex]
savage- has quit [Remote host closed the connection]
Progster has quit []
borkman has quit [Ping timeout: 256 seconds]
<nobdraisentone> [{:t => 1}, {:t => 2}].m­ap(&:[:t]) ← why this don't work?
khakimov has quit [Quit: Computer has gone to sleep.]
<otters> because
<otters> the symbol "(&:m)" is "(& :m)"
<otters> err, not symbol
<otters> but :m is a Symbol, and & calls to_proc on it
<otters> Long story short, :[:t] is not a valid Symbol and even if you put quotes around it so it is, it won't do what you want
Progster has joined #ruby
<nobdraisentone> Is it possible to use & to get [1,2] from that?
<otters> I'd use .map(&:values).flatten
shevy has quit [Ping timeout: 252 seconds]
krz has joined #ruby
heftig has quit [Quit: leaving]
andrewhl has quit [Read error: No route to host]
andrewhl has joined #ruby
looopy has joined #ruby
<otters> or, you know
<otters> .map{|x|x[:t]}
shtirlic has joined #ruby
<nobdraisentone> > use &
shtirlic_ has quit [Ping timeout: 245 seconds]
freakazoid0223 has quit [Read error: Connection reset by peer]
freeayu has quit [Ping timeout: 248 seconds]
<CannedCorn> guys...
<CannedCorn> i just deleted a ruby file that is still running
<CannedCorn> is there any way to get it back
<CannedCorn> by umm dumping the process
<CannedCorn> or am i hosed
shevy has joined #ruby
banisterfiend has joined #ruby
emmanuelux has quit [Remote host closed the connection]
Konboi has joined #ruby
Markvilla has quit [Quit: Markvilla]
<CannedCorn> i think im screwed
CannedCorn has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
t0mmyvyo has quit [Quit: http://twitter.com/tommyvyo]
eph3meral has joined #ruby
emmanuelux has joined #ruby
freeayu has joined #ruby
<eph3meral> how do make my own "int" or "float" style class, where I can just assign directly to an instance, rather than using accessor methods for instance vars?
<eph3meral> something such as
<eph3meral> foo = MyClass.new; bar = MyClass.new; foo = 5; bar = 6; foo + bar;
c0rn_ has joined #ruby
<banisterfiend> eph3meral: what do u want that to do, you realize you're replacing foo with 5, not in any way modifying the MyClass instance right
<banisterfiend> ?
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
<banisterfiend> x0F: long time no see my teutonic fren, how are you?
<eph3meral> not sure what to google for
<eph3meral> actually, yeah, sorry, hold on lemme give a better example
scb has joined #ruby
freakazoid0223 has joined #ruby
fryguy has joined #ruby
mikeycgto has quit [Ping timeout: 260 seconds]
fryguy has left #ruby ["WeeChat 0.3.7"]
looopy has quit [Remote host closed the connection]
<eph3meral> banisterfiend, I mean, yeah I could just use two separate instance vars, it's not that big of a deal
<eph3meral> but, for practical purposes of readability, it would be nice if I could use foo = 5 rather than foo.value = 5
<banisterfiend> eph3meral: the '=' is not something that can be overidden in ruby
<eph3meral> banisterfiend, ok, no problem, thanks
<Spooner> eph3meral : you could maybe use another operator, such as foo << 5
recursive has joined #ruby
<recursive> i am having a hell of a time finding out why ruby errors are no longer being written to the log file and are creating a timeout rather than raising a result: stack -- ruby+rails+unicorn+nginx, instead of raising the error, nginx timeout is being called instead (30 seconds) and no errors are being logged. using nginx-1.2.0_1,1 + ruby 1.9.3p194 (2012-04-20 revision 35410) + Rails 3.2.1
looopy has joined #ruby
wiel has quit [Quit: Page closed]
radic has quit [Disconnected by services]
<banisterfiend> Spooner: sup spoondiggitydogg
radic_ has joined #ruby
radic_ is now known as radic
Yarou has quit [Quit: Leaving]
<shevy> eph3meral problem is default ambiguity of the parser. with "foo = 5" it believes you want to set a local variable called foo.
<shevy> would be fun if the behaviour of the ruby parser could be controlled within a script
<shevy> set_main_object(bla)
<shevy> foo = 5
<shevy> would be
<shevy> bla.foo = 5
<shevy> ah well
<shevy> I suppose that is not useful enough :(
mrdtt has joined #ruby
mockillo has quit [Ping timeout: 252 seconds]
mockillo has joined #ruby
mikeycgto has joined #ruby
mikeycgto has quit [Changing host]
mikeycgto has joined #ruby
davetoo has joined #ruby
<eph3meral> shevy, yeah and it's not a big deal enough really to matter, so, it's all good
<davetoo> anybody have much experience with ruby under Cygwin?
<eph3meral> davetoo, what's your issue?
<davetoo> Cygwin installer doesn't have/install the gem command :)
<eph3meral> davetoo, I wouldn't bother with ruby under cygwin, unless you're trying to e.g. write a shell script for cygwin, except in ruby
krz has quit [Quit: krz]
Kunda has joined #ruby
<eph3meral> davetoo, yeah, http://rubygems.org/
<eph3meral> davetoo, download and install manually
<davetoo> and I don't know what I'm doing yet (with ruby)
<davetoo> cool
<eph3meral> davetoo, home page can't make it much more obvious (hopefully) how to do that
<davetoo> heh
jenrzzz-mac has joined #ruby
<eph3meral> davetoo, also, rubyinstaller.org IMO is a much better choice
<davetoo> I just got rbenv working so that's a good start
<eph3meral> what's rbenv?
<eph3meral> davetoo, is that like a bastardized version of rvm?
<shevy> rubyinstaller is nice
<davetoo> I can't answer that question because I haven't looked at/tried rvm
<shevy> ruby on windows works very well with it
<eph3meral> davetoo, yeah, go to http://rubyinstaller.org, get the latest, use that instead of what comes with cygwin
<davetoo> I want to stay within cygwin as much as possible; i.e. I use cygwin/X and cygwin bash all day long
<eph3meral> davetoo, if you write for ruby in cygwin, you're pretty much limited to cygwin stuff only
<eph3meral> davetoo, eh, it would be a way better idea IMO, to install an Ubuntu Server in virtualbox
<davetoo> all I need to do is run Vagrant
<eph3meral> davetoo, that's what I do
<eph3meral> yeah, i don't even bother with vagrant myself
<davetoo> can't run the 64-bit VMs I need inside another VM
<eph3meral> sudo apt-get install is easy enough
<eph3meral> wait, what?
<davetoo> The app I'm using comes only as a 64-bit RPM.
<eph3meral> ok, what app are you using?
<eph3meral> a ruby app?
<davetoo> nope
<eph3meral> davetoo, i still don't quite get how RPM relates to cygwin
<davetoo> I only want to use ruby for Vagrant (and puppet)
<eph3meral> oh
<eph3meral> so you're not a coder, you're more of an admin
<eph3meral> ?
bluenemo has quit [Remote host closed the connection]
<eph3meral> I'm not personally positive, but I would imagine vagrant will work much better with windows native ruby than the ruby that comes with cygwin
<eph3meral> i mean, I've only ever bothered to run vagrant with the windows native ruby, myself
<eph3meral> so, I dunno, if you can do it with cygwin ruby, then good on you :)
mpereira has joined #ruby
<davetoo> actually the Vagrant .msi installer comes with an embedded (msys) ruby
<eph3meral> ahh
<eph3meral> i use gem install vagrant usually
<eph3meral> then again I don't do much windows stuff
<eph3meral> i didn't know vagrant had an .msi, I'll have to look in to that
savage- has joined #ruby
c0rn_ has quit []
mengu has quit [Remote host closed the connection]
Croms has joined #ruby
<eph3meral> does rspec require any hard/fixed/standard filestructure?
<eph3meral> or is that just more people adopting their own conventions?
<eph3meral> i.e. what are the actual rspec file-structure/organization conventions? are there any? are they strict?
<davetoo> *sigh* I guess I'll yank this out and try Native
khakimov has joined #ruby
<davetoo> besides... Norton A/V thinks that the cygwin ruby installer is a threat, and quarantines it :)
indian has quit [Ping timeout: 246 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
nipra has quit [Ping timeout: 246 seconds]
stefanp has joined #ruby
stefanp has quit [Changing host]
stefanp has joined #ruby
stefanp_ has quit [Ping timeout: 265 seconds]
ZeroModulus has joined #ruby
cpg is now known as cpg|away
sbanwart has quit [Read error: Operation timed out]
otters has quit [Ping timeout: 260 seconds]
<eph3meral> can I override ==
ipoval has joined #ruby
<banisterfiend> eph3meral: Yeah
<banisterfiend> eph3meral: how new are you to ruby gtw?
<banisterfiend> btw
otters has joined #ruby
rossfuhrman has quit [Ping timeout: 265 seconds]
MasterIdler has joined #ruby
AlbireoX`Laptop has joined #ruby
Spooner has quit [Ping timeout: 260 seconds]
rubynoob has joined #ruby
<rubynoob> hello!
perryh_away is now known as perryh
otters has quit [Read error: Connection reset by peer]
<rubynoob> I was wondering if anyone could help me out, just getting started with ruby and read this so far: http://pine.fm/LearnToProgram/
<rubynoob> but having trouble writing my own method
sbb has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
rubynoob has quit [Client Quit]
CannedCorn has joined #ruby
hemanth_ has joined #ruby
ben_alman has quit [Excess Flood]
IrishGringo has joined #ruby
otters has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
dv310p3r has quit [Ping timeout: 260 seconds]
ben_alman has joined #ruby
AlbireoX`Laptop has quit [Remote host closed the connection]
nu7hatch has quit [Ping timeout: 244 seconds]
<eph3meral> banisterfiend, uhh, I am and always will remain a beginner, at least at heart :P
<eph3meral> banisterfiend, but with that said, I've been programming for about 15 years, ruby for maybe 2-3 solid, and then 5-ish total
<eph3meral> banisterfiend, (ruby for 5 total, that is)
andoriyu has joined #ruby
<eph3meral> banisterfiend, and actually I've done mostly rails specific stuff, not many "plain" ruby apps
<banisterfiend> cool
<andoriyu> hey
<eph3meral> which, I'm working on a plain ruby app right now
<andoriyu> here is the problem. I have image and i want to place a watermark on it, but place where is should be placed must be defined in runtime.
gongura has joined #ruby
fbernier has joined #ruby
<eph3meral> how do I set the default raketask? the one that gets triggered when I simply run:
<eph3meral> rake
<eph3meral> the google results I've got so far all deal with default task within a namespace
<eph3meral> i don't want the default within a namespace, I want the default if no namespace is provided
banisterfiend is now known as adfasdf
Xpl01t has joined #ruby
kawaguchi has joined #ruby
<eph3meral> k, nm finally found it
eywu has joined #ruby
looopy has quit [Remote host closed the connection]
eywu has quit [Client Quit]
eywu has joined #ruby
looopy has joined #ruby
gongura has quit [Quit: gongura]
sleetdrop has quit [Remote host closed the connection]
kawaguchi has quit [Quit: Leaving]
<eph3meral> hmm, how do I get colorized output to flow through to rake?
<eph3meral> i'm running rspec with a rake task
<eph3meral> and the colorized output gets stripped when I run it with rake
<eph3meral> shows up when I run the task "manually" aka "by hand"
<eph3meral> google, also not proving super useful on this one right now
<davetoo> okay.. I seem to have vagrant + veewee (native Windows packages) installed enough that 'vagrant basebox templates' runs
<davetoo> I should probably learn how to use powershell (grudgingly)
<davetoo> had to install the devkit
gloomer has quit []
cpg|away is now known as cpg
<eph3meral> davetoo, yeah, devkit is quite useful
phantasm66 has quit [Quit: *sleeeeep*]
<eph3meral> i don't like PS, way too slow
<eph3meral> although I don't like cmd.exe either :/
<davetoo> *maybe* I could write some wrappers so I can run it from cygwin bash,
<davetoo> which is what I'd rather use if I have to use a shell on Windowze
Limb has quit [Ping timeout: 245 seconds]
andoriyu has quit [Quit: This computer has gone to sleep]
<davetoo> thanks for the hints earlier
davetoo has left #ruby [#ruby]
<eph3meral> davetoo, you can do some trickery to actually run normal windows problems from within cygwin, actually, it has to do with the fact that cygwin won't see the output of cmd.exe programs for some reason
<eph3meral> so you have to start cygwin with some specific/special options
<eph3meral> but then you can run normal .exe's that send output, things like sql terminal programs
<eph3meral> or irb
<eph3meral> etc
<eph3meral> but it does compromise the usability of cygwin itself to a certain extent from what I understand
yannis has joined #ruby
Konboi has quit [Remote host closed the connection]
nipra has joined #ruby
vitoravelino is now known as vitoravelino`afk
IrishGringo has quit [Ping timeout: 244 seconds]
jetblack has quit [Ping timeout: 240 seconds]
ryanf has quit [Quit: leaving]
yoklov has quit [Quit: bye!]
JEntrep has joined #ruby
<JEntrep> What happened to this guy: http://en.wikipedia.org/wiki/Why_the_lucky_stiff
<socomm> JEntrep: Why?
<JEntrep> Seems like a cool guy
IrishGringo has joined #ruby
cpg is now known as cpg|away
<socomm> From the wiki article says he got doxed and disappeared afterwards. Guessing he found something more productive to fill his time with.
adfasdf has quit [Read error: Connection reset by peer]
<RubyPanther> He is reportedly well
andrewpthorp has joined #ruby
<_br_> JEntrep: Knowbody really knows actually. Some people tracked him down to see if he was ok, and apparent the guess is that the fame was just something he didn't want.
<andrewpthorp> Hey! I am seeing "Cannot load such file" when using require 'my_gem/client' inside of 'lib/my_gem.rb' - 'lib/my_gem/client.rb' is there. Any ideas?
<JEntrep> Wait RubyPanther dont I know you from somewhere? ...
<JEntrep> and you _br_ ?
minijupe has quit [Quit: minijupe]
<_br_> JEntrep: Extraordinary guy, he hacked together several very interesting projects. Really worth studying.
<_br_> JEntrep: Huh?
CannedCorn has quit [Quit: Computer has gone to sleep.]
<JEntrep> I mean from another channel.
vitorpacheco has quit [Ping timeout: 260 seconds]
<_br_> JEntrep: I am everywhere d(^.^)p \/
<JEntrep> o.0
<_br_> andrewpthorp: do you need require_relative ?
<andrewpthorp> I have also tried require_relative
adfasdf has joined #ruby
<andrewpthorp> and it will say cannot load such file and give the full path to the file (whichi s correct)
<RubyPanther> A lot of C extensions _why wrote for Ruby 1.6 are still working with new 1.9.x versions. Lots of beautiful code, and wacky art. I'm glad he shared as long as he did. He puts his years of service in.
olrrai has quit [Ping timeout: 260 seconds]
<_br_> RubyPanther: Couldn't agree more.
vitorpacheco has joined #ruby
<_br_> andrewpthorp: hm, thats weird.
<andrewpthorp> Even if I do "require 'my_gem/connection'" directly in IRB i get the error
Croms has quit [Read error: Connection reset by peer]
Croms has joined #ruby
<_br_> andrewpthorp: So am I understanding this right, you installed your custom gem, and then when requiring you get this issue right?
vitorpacheco has quit [Client Quit]
<andrewpthorp> Yes
<andrewpthorp> Before I added this second require, it worked fine
<andrewpthorp> but I'm trying to split up some of the functionality and getting this error
<andrewpthorp> I don't know what I'm doing wrong :x
<_br_> hm, sorry beats me. Not sure whats going on there. Possibly call the whole stack by adding -r debug to your interpreter to see exactly whats going on.
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
<andrewpthorp> hmm that's weird
<_br_> what does it say?
<andrewpthorp> Oh I just figured it out but from something different
<andrewpthorp> I ran 'git ls-files'
<andrewpthorp> and the files weren't showing up
<_br_> -.- i see
<andrewpthorp> I have to track them for the .gmespec to catch them :)
<andrewpthorp> Silly mistake on my part
<_br_> well it works ! :)
<andrewpthorp> yar
andrewhl has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 260 seconds]
IrishGringo has joined #ruby
eph3meral has quit [Quit: Leaving]
bds_orsk has joined #ruby
savage- has quit [Remote host closed the connection]
td123 has quit [Quit: WeeChat 0.3.8]
fbernier has quit [Ping timeout: 252 seconds]
andrewpthorp has quit [Quit: Leaving...]
SmoothPorcupine has joined #ruby
willb has quit [Ping timeout: 248 seconds]
bradhe has joined #ruby
<SmoothPorcupine> How do I get Ruby to BLOCK until there is DATA to READ from a FILE?
roams has quit [Ping timeout: 240 seconds]
<adfasdf> SmoothPorcupine: WHY do you use CAPITALS like THAT, it's kind of FREAKY
<SmoothPorcupine> BECAUSE this is basic IPC.
<adfasdf> IF you keep talking like THAT ima gonna BEAT yo candy ASS
itnomad has quit [Quit: Leaving]
<adfasdf> FAG
<_br_> guys, chill.
<locriani> what is your problem
<recursive> anyone having an issue with nginx/unicorn/rails not receiving rails errors and instead getting a 404 (the log shows no rails errors - not good)
mohits has quit [Ping timeout: 245 seconds]
<locriani> recursive: chances are it's your nginx config
<_br_> recursive: hm, did you check all logs, nginx, unicorn ,rails ?
emmanuelux has quit [Remote host closed the connection]
<_br_> SmoothPorcupine: What do you mean by "until there is data to read from a file" ?
<SmoothPorcupine> Until EOF > file position.
SegFaultAX has quit [Remote host closed the connection]
tomzx_ has joined #ruby
emmanuelux has joined #ruby
<_br_> SmoothPorcupine: http://abbeyworkshop.com/howto/ruby/rb-readfile/index.html You mean iterating with a loop over it?
willb has joined #ruby
<SmoothPorcupine> What I'm asking has nothing to do with whether or not a loop is being used.
cpg|away is now known as cpg
bds_orsk has quit [Quit: Leaving.]
Progster has quit [Ping timeout: 256 seconds]
phidev has joined #ruby
cpg has left #ruby [#ruby]
schickung has joined #ruby
shadoi has joined #ruby
wallerdev has quit [Quit: wallerdev]
<adfasdf> shadoi: sup doi
<shadoi> yo la tengo
<adfasdf> shadoi: when is the males tennis final?
<adfasdf> any idea?
<shadoi> when their balls drop
<adfasdf> haha
<adfasdf> u silly
<shadoi> no clue
<shadoi> haven't watched tennis since Andre Agassi
<shadoi> lol
<adfasdf> shadoi: watch it tonight, it's djkovic vs nadal
<adfasdf> if anything, watch it for djokovic's hot gf
<adfasdf> who's always sitting in the crowd
<shadoi> some russian dude vs. some… other guy?
<adfasdf> shadoi: serbian vs spaniard
SmoothPorcupine has left #ruby [#ruby]
<shadoi> this conversation is reminding me of Infinite Jest
<shadoi> hey.. I just saw her on BART.
<adfasdf> shadoi: what do u think of his woman
<shadoi> saucy little minx.
<adfasdf> hells yeah
savage- has joined #ruby
evoltech has quit [Read error: Connection reset by peer]
evoltech1 has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
<recursive> _br_: i was about to say yes, checked my nginx conf file to make sure i was looking at the correct nginx log file but wasnt, found the following: https://gist.github.com/2903961
ananthakumaran has joined #ruby
<recursive> so this is what i see going on, the request is taking > 10 seconds -- which is rediculous, but still it is, anyhow, the part i dont understand is "/home/merlot/Rails3/public/500.html", where is merlot coming from? that path doesnt even exist
sleetdrop has joined #ruby
tk___ has joined #ruby
<_br_> recursive: Apparently whats going on is that your requests times out due to your setting in the unicorn config and gets killed. Rails seems to be throwing an 500 error (internal error). Seems like there is a issue in rails? Misconfigured?
<_br_> recursive: its weird that you don't have the path to the 500 file ("merlot"), is the routing configured properly?
Xpl01t has quit []
<recursive> _br_: actually, this server is new as of thursday. the old server was running with the user merlot. i completely forgot that nginx config points to the 500.html file directly. thanks for your help. wouldn't have gotten to the bottom of the problem so fast.
brianpWins has joined #ruby
<recursive> making the changes now, but i bet you it works as expected...
mdw has joined #ruby
<recursive> so apparently, the nginx configuration test doesnt follow paths to see if they are valid "nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful" bah!
niku4i has joined #ruby
<_br_> recursive: well, hope you can get it working properly :)
liluo has joined #ruby
yonggu has joined #ruby
yonggu has left #ruby [#ruby]
niku4i has quit [Ping timeout: 260 seconds]
fixl has joined #ruby
<recursive> _br_: i am getting the correct 500.html now, tracing down why i am not receiving emails of errors now. thanks again.
liluo has quit [Remote host closed the connection]
nilg` has joined #ruby
quest88 has quit [Quit: quest88]
jeff_sebring has quit [Ping timeout: 245 seconds]
Sheehan has joined #ruby
theRoUS|home has quit [Remote host closed the connection]
ryanf has joined #ruby
luke3321 has joined #ruby
jeff_sebring has joined #ruby
MasterIdler has quit [Quit: MasterIdler]
evoltech1 has quit [Ping timeout: 260 seconds]
gloomer has joined #ruby
evoltech has joined #ruby
gloomer has quit [Read error: Connection reset by peer]
gloomer has joined #ruby
Sheehan has quit [Quit: Sheehan]
jeff_sebring has quit [Remote host closed the connection]
havenn has joined #ruby
luke3321 has quit [Quit: leaving]
lesnik_ has joined #ruby
twodollarz has quit [Ping timeout: 245 seconds]
fayimora has joined #ruby
jamesaxl has quit [Ping timeout: 252 seconds]
twodollarz has joined #ruby
pygospa has quit [Disconnected by services]
TheRealPygo has joined #ruby
nipra has quit [Ping timeout: 244 seconds]
Synthead has joined #ruby
adamkittelson has joined #ruby
socomm has quit [Read error: Connection reset by peer]
Progster has joined #ruby
socomm has joined #ruby
<ananthakumaran> is there any standard way to test a gem against multiple versions of the dependent gems
Progster has quit [Client Quit]
havenn has quit [Remote host closed the connection]
t0mmyvyo has joined #ruby
williamherry has joined #ruby
jimeh has joined #ruby
tomzx_ has quit [Quit: return 0;]
thone has quit [Ping timeout: 260 seconds]
<adfasdf> ananthakumaran: no, u should write a system to do that :D
<adfasdf> cool
adamkittelson has quit [Remote host closed the connection]
<adfasdf> ryanf: how did u find that
<ryanf> I've just known about it for a while
<ryanf> I actually subscribe to thoughtbot's open source blog for some reason
<ryanf> even though it's mostly just lists of minor changes to gems I don't use :)
indian has joined #ruby
t0mmyvyo has quit [Quit: http://twitter.com/tommyvyo]
<adfasdf> well that's a good find
<ryanf> in this case it stuck because I had just had to duct tape together an ad hoc version of the same thing
<adfasdf> ryanf: unrelated, any idea how to get travis bot to run tests against pull requests?
<ryanf> to test a rails gem
<adfasdf> oh ok
<ryanf> adfasdf: no, you know a lot more about travis than I do
rails is now known as peerAU
<ryanf> rails: sorry for pinging you :)
<adfasdf> ryanf: you dont use it for academia?
<adfasdf> hm
<adfasdf> i guess it's more a github opensource thingy
<ryanf> yeah I think some people use it privately but no idea how common that is
wingie has joined #ruby
<wingie> how do i update gem?
<ryanf> gem update
<ryanf> i do how
JEntrep has quit [Quit: Leaving]
<wingie> gem update --system
<wingie> i wanted to update the rubygem
wingie has left #ruby ["WeeChat 0.3.6"]
sacarlson has joined #ruby
qwerxy has joined #ruby
lesnik_ has quit [Quit: Lost terminal]
ringotwo has joined #ruby
gloomer has quit [Ping timeout: 252 seconds]
igotnolegs has quit [Quit: Computer has gone to sleep.]
recursive has quit [Quit: leaving]
Hanmac1 has quit [Ping timeout: 260 seconds]
thomasfedb has quit [Remote host closed the connection]
hamfz_ has joined #ruby
h4mz1d has joined #ruby
ten00 has joined #ruby
eywu has quit [Quit: Leaving.]
d3c has joined #ruby
ten00 has left #ruby ["Leaving..."]
perryh is now known as perryh_away
Bosma has quit [Ping timeout: 246 seconds]
mdw has quit [Read error: Connection reset by peer]
mdw_ has joined #ruby
yugui is now known as yugui_zzz
yugui_zzz is now known as yugui
charliesome has joined #ruby
yxhuvud has joined #ruby
maletor has joined #ruby
CheeToS has joined #ruby
mdw has joined #ruby
mdw_ has quit [Read error: Connection reset by peer]
eft has quit [Ping timeout: 240 seconds]
mdw_ has joined #ruby
hamfz_ has quit [Ping timeout: 260 seconds]
h4mz1d has quit [Ping timeout: 260 seconds]
mdw has quit [Ping timeout: 240 seconds]
jeff_sebring has joined #ruby
perryh_away is now known as perryh
srnty has quit [Ping timeout: 252 seconds]
skinny_much has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
ryanf has quit [Quit: leaving]
blacktulip has joined #ruby
tewecske has joined #ruby
CheeToS has quit [Ping timeout: 248 seconds]
oddraisin has quit [Ping timeout: 250 seconds]
oddraisin has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
mxweas_ has quit [Quit: Computer has gone to sleep.]
maletor has joined #ruby
sleetdrop has quit [Remote host closed the connection]
ibash has joined #ruby
IrishGringo has quit [Ping timeout: 244 seconds]
oddraisin has quit [Ping timeout: 246 seconds]
gtuckerkellogg has joined #ruby
schovi has joined #ruby
TheHunter_1039 has quit [Quit: TheHunter_1039]
nilg` has quit [Remote host closed the connection]
shtirlic_ has joined #ruby
ananthakumaran has quit [Ping timeout: 245 seconds]
gongura has joined #ruby
vizzord has joined #ruby
shtirlic has quit [Ping timeout: 260 seconds]
gosshedd has joined #ruby
oddraisin has joined #ruby
Occult has quit [Ping timeout: 244 seconds]
nooodl has joined #ruby
qwerxy has quit [Quit: offski]
thomasfedb has joined #ruby
oddraisin has quit [Ping timeout: 245 seconds]
Synthead has quit [Ping timeout: 244 seconds]
nfk has joined #ruby
noganex has joined #ruby
cheater_ has quit [Ping timeout: 260 seconds]
gosshedd has quit [Ping timeout: 246 seconds]
cheater_ has joined #ruby
wataken44_ has quit [Remote host closed the connection]
cheater_ has quit [Max SendQ exceeded]
wataken44 has joined #ruby
cheater_ has joined #ruby
workmad3 has joined #ruby
looopy has quit [Remote host closed the connection]
cheater_ is now known as cheater
mdw_ has quit [Read error: Connection reset by peer]
mdw has joined #ruby
skinny_much has quit [Ping timeout: 265 seconds]
fantazo has quit [Remote host closed the connection]
jamesaxl has joined #ruby
mdw_ has joined #ruby
JonnieCache|home has joined #ruby
oddraisin has joined #ruby
blacktulip has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 252 seconds]
eph3meral has joined #ruby
mdw has quit [Ping timeout: 260 seconds]
<eph3meral> any suggestions for how to go about splitting an array up in to a certain number of equal sized chunks?
<eph3meral> so, if chunk size is 2, it would split [1,2,3,4] into [[1,2] [3,4]]
<JonnieCache|home> you could do something with inject (to build a new array) and the % operator (to decide where to put each item in the new array)
<JonnieCache|home> you could probably find a "partition" method out there pre written for you
schovi has quit [Remote host closed the connection]
shtirlic has joined #ruby
<dominikh> eph3meral: arr.each_slice(chunk_size).to_a – works beutifully when the array size is a whole multiple of the chunk size; for other cases you didn't specify the desired behaviour, anyway
shtirlic_ has quit [Ping timeout: 245 seconds]
<dominikh> (but it works reasonable for those cases, too. the last slice will have the remaining elements)
<JonnieCache|home> knew there would be something on ennumerable. there always is
looopy has joined #ruby
qwerxy has joined #ruby
qwerxy has quit [Client Quit]
klip has joined #ruby
jeff_sebring has quit [Remote host closed the connection]
nipra has joined #ruby
gongura has quit [Quit: gongura]
gongura has joined #ruby
gongura has quit [Client Quit]
jeff_sebring has joined #ruby
nicoulaj has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
pk1001100011 has joined #ruby
hithacker has joined #ruby
hithacker has left #ruby [#ruby]
looopy has quit [Remote host closed the connection]
<eph3meral> dominikh, k, thanks
nfk has quit [Quit: yawn]
punkrawkR has joined #ruby
walterheck has joined #ruby
test34 has joined #ruby
test34- has quit [Ping timeout: 260 seconds]
test34 has quit [Changing host]
test34 has joined #ruby
Foxandxss has joined #ruby
Foxandxss has quit [Client Quit]
azm has joined #ruby
azm has quit [Changing host]
azm has joined #ruby
cheater_ has joined #ruby
ph^ has joined #ruby
Foxandxss has joined #ruby
dangerousdave has joined #ruby
jeff_sebring has quit [Remote host closed the connection]
cheater has quit [Ping timeout: 245 seconds]
jeff_sebring has joined #ruby
eph3meral has quit [Quit: Leaving]
walterheck has quit [Quit: Computer has gone to sleep]
schickung has quit [Quit: schickung]
Markvilla has joined #ruby
jeff_sebring has quit [Remote host closed the connection]
jeff_sebring has joined #ruby
qwerxy has joined #ruby
gongura has joined #ruby
gongura has quit [Quit: This computer has gone to sleep]
werdnativ has quit [Quit: werdnativ]
looopy has joined #ruby
workmad3 has joined #ruby
<shevy> dumdedum
gongura has joined #ruby
walterheck has joined #ruby
indian has quit [Ping timeout: 245 seconds]
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
ronniy has joined #ruby
medik has quit [Remote host closed the connection]
amacgregor_osx has quit [Ping timeout: 244 seconds]
Criztian has joined #ruby
mdw has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
looopy has quit [Remote host closed the connection]
mdw_ has quit [Ping timeout: 240 seconds]
gongura has quit [Quit: This computer has gone to sleep]
chrismcgh is now known as chrismcg
chrismcg has quit [Changing host]
chrismcg has joined #ruby
nicoulaj has quit [Remote host closed the connection]
yannis has quit [Read error: Connection timed out]
gongura has joined #ruby
davidcelis has quit [Read error: Connection reset by peer]
theRoUS_ has quit [Read error: Connection reset by peer]
theRoUS_ has joined #ruby
etehtsea has joined #ruby
gongura has quit [Client Quit]
nowthatsamatt has joined #ruby
nowthatsamatt has left #ruby [#ruby]
adamkittelson has joined #ruby
NimeshNeema has quit [Max SendQ exceeded]
davidcelis has joined #ruby
NimeshNeema has joined #ruby
NimeshNeema has quit [Max SendQ exceeded]
Kunda has quit [Quit: Kunda]
adamkittelson has quit [Remote host closed the connection]
jbw_ has quit [Ping timeout: 260 seconds]
benregn has joined #ruby
Dr4g has quit [Max SendQ exceeded]
SeanTAllen has quit [Max SendQ exceeded]
<benregn> hey, is it possible for me to reorder elements in a hash, so { first: "item", second: "item" } becomes { second: "item", first: "item" }?
zinjacoder has quit [Quit: Peace!]
mockillo has quit [Ping timeout: 252 seconds]
mockillo has joined #ruby
<dominikh> create a new hash. but I do have to wonder why you want that
<dominikh> it sounds wrong
gongura has joined #ruby
BrianE has quit [Read error: Operation timed out]
jrgifford has quit [Max SendQ exceeded]
zinjacoder has joined #ruby
ringotwo has quit [Remote host closed the connection]
test34 has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
<benregn> you mean why I want to reorder my hash or?
Spaceghostc2c has quit [Ping timeout: 252 seconds]
kapowaz has quit [Ping timeout: 245 seconds]
MoMo has quit [Ping timeout: 260 seconds]
denysonique has quit [Ping timeout: 260 seconds]
<dominikh> yes
MetaCosm has quit [Ping timeout: 252 seconds]
relix has quit [Ping timeout: 245 seconds]
moeSeth has quit [Ping timeout: 245 seconds]
srid has quit [Ping timeout: 244 seconds]
DavidTiger has quit [Ping timeout: 260 seconds]
niklasb has joined #ruby
aquaranto has quit [Ping timeout: 246 seconds]
_marvin has quit [Ping timeout: 245 seconds]
lectrick has quit [Ping timeout: 260 seconds]
cesario has quit [Ping timeout: 260 seconds]
si14 has quit [Ping timeout: 265 seconds]
amar_key has quit [Ping timeout: 245 seconds]
jeff_sebring has quit [Ping timeout: 260 seconds]
kapowaz has joined #ruby
MetaCosm has joined #ruby
ziyadb has quit [Max SendQ exceeded]
anildigital_work has quit [Ping timeout: 260 seconds]
randym has quit [Ping timeout: 252 seconds]
davidcelis has quit [Ping timeout: 245 seconds]
notbrent has quit [Ping timeout: 260 seconds]
ctevie has quit [Ping timeout: 245 seconds]
pygospa has joined #ruby
Spaceghostc2c has joined #ruby
TheRealPygo has quit [Ping timeout: 244 seconds]
aquaranto has joined #ruby
nirakara has joined #ruby
jbw_ has joined #ruby
freeayu has quit [Ping timeout: 260 seconds]
amar_key has joined #ruby
Dr4g has joined #ruby
<benregn> dominikh: it makes it handier to display it...
<benregn> maybe I'm going at the wrong way...
robotmay has joined #ruby
kuranai|off is now known as kuranai
si14 has joined #ruby
moeSeth has joined #ruby
jrgifford has joined #ruby
DavidTiger has joined #ruby
ziyadb has joined #ruby
jeff_sebring has joined #ruby
NimeshNeema has joined #ruby
cesario has joined #ruby
freeayu has joined #ruby
lectrick has joined #ruby
randym has joined #ruby
adfasdf has quit [Remote host closed the connection]
_marvin has joined #ruby
relix has joined #ruby
SeanTAllen has joined #ruby
azm has quit [Ping timeout: 244 seconds]
ctevie has joined #ruby
ctevie has quit [Changing host]
ctevie has joined #ruby
jackiechan0 has joined #ruby
denysonique has joined #ruby
perryh is now known as perryh_away
berkes has joined #ruby
berkes has quit [Read error: Connection reset by peer]
<dominikh> benregn: why are they in a hash to begin with, and why are they being inserted in the wrong order?
JonnieCache|home has quit [Quit: Lost terminal]
andrewh has joined #ruby
<dominikh> benregn: also, if you just want to reverse it, convert it to an array and reverse that; but you'd probably be better off inserting in an array to begin with. there's little point in a hash if all you do is insert and iterate
nikhil_ has joined #ruby
nirakara has quit [Ping timeout: 245 seconds]
kjellski has joined #ruby
nipra has quit [Ping timeout: 245 seconds]
<shevy> benregn what is the criteria you use for the hash ordering?
<shevy> because I'd think that a name like first: would come... first :)
TheNumb has quit [Ping timeout: 248 seconds]
niklasb has quit [Ping timeout: 246 seconds]
Vendethiel has joined #ruby
<Vendethiel> Hello
<Vendethiel> I'm looking for a ruby methods which removes element (returning false from a block, ie) from an array, and return them
ramblex has joined #ruby
<shevy> Vendethiel you can use .reject
nikhil_ has quit [Quit: This computer has gone to sleep]
<dominikh> reject will not return the removed elements
<Vendethiel> yeah :/
<dominikh> you can always write your own method ;)
<Vendethiel> sure I can, but considering the number of helper built in,I thought there was something
<shevy> can you specify a specific criteria?
<shevy> array = %w( abc def ghi ) # what to do here
jeff_sebring has quit [Remote host closed the connection]
<Vendethiel> array = ['a', 'b']; removed = array.remove_if {|val| val == 'a'}; removed == ['a']; array == ['b'];
jeff_sebring has joined #ruby
<shevy> ah, the original array is also modified already at the same time?
nfk has joined #ruby
<Vendethiel> I want to get the invalid elements (in a variable)
<Vendethiel> and remove them from the actual array
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
user__ has quit [Ping timeout: 245 seconds]
<shevy> array = ['a', 'b']; removed = array.reject {|x| x == 'a'}; array = array - removed
<dominikh> welcome to inefficient code
<Vendethiel> I'm doing that, but that's sure far from efficient
akem has quit [Max SendQ exceeded]
akem has joined #ruby
<shevy> well where are the other solutions
<Vendethiel> plus, since I'm doing that few times, it doesn't look well
vlad_starkov has joined #ruby
akem has quit [Max SendQ exceeded]
<dominikh> Vendethiel: Vendethiel r = ["a", "b", "c"]; rejected, r = r.partition {|e| e == "b"} – it's still inefficient in that it creates two new arrays instead of one and modifying the other, but you get rid of the craptastic time
akem has joined #ruby
<Vendethiel> ok, thanks :)
<dominikh> other than that, you'll have to write your own method I am afraid. At least I cannot think of any existing method that would work here
azm has joined #ruby
azm has quit [Changing host]
azm has joined #ruby
sleetdrop has joined #ruby
user__ has joined #ruby
akem has quit [Ping timeout: 245 seconds]
blacktulip has joined #ruby
user__ has quit [Max SendQ exceeded]
user__ has joined #ruby
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
akem has quit [Max SendQ exceeded]
<benregn> what is the site that presents several gems and their usage stats for a certain use case? can't find it again...
<dominikh> ruby toolbox
<dominikh> dot something
user__ has quit [Ping timeout: 240 seconds]
zomgbie has quit [Ping timeout: 240 seconds]
<benregn> thanks!
dr_diamond has joined #ruby
dr_diamond has quit [Changing host]
dr_diamond has joined #ruby
daq has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<daq> heyhey, need help with sequel
<dominikh> you could try #sequel ;)
<daq> thanx
irc1 has joined #ruby
sbanwart has joined #ruby
irc1 has left #ruby [#ruby]
sbanwart has quit [Remote host closed the connection]
dr_diamond has quit [Quit: Bye !]
DanBoy has quit [Read error: Operation timed out]
DanBoy has joined #ruby
sepp2k has joined #ruby
t0mmyvyo has joined #ruby
IrishGringo has joined #ruby
nacengineer1 has joined #ruby
nacengineer has quit [Read error: Operation timed out]
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
akem has joined #ruby
francisfish has joined #ruby
yugui is now known as yugui_zzz
vitoravelino`afk is now known as vitoravelino
ten00 has joined #ruby
t0mmyvyo has quit [Quit: http://twitter.com/tommyvyo]
kaneda_ has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
D4rkM4s73r777 has joined #ruby
Kunda has joined #ruby
ten00 has quit [Quit: Leaving...]
tomb__ has quit [Quit: Computer has gone to sleep.]
t0mmyvyo has joined #ruby
iocor has joined #ruby
tomb__ has joined #ruby
jeff_sebring has quit [Remote host closed the connection]
Vendethiel has quit [Ping timeout: 246 seconds]
Natch| has quit [Read error: Connection reset by peer]
jeff_sebring has joined #ruby
Natch| has joined #ruby
sameerynho has joined #ruby
mvangala_home has joined #ruby
lxsameer has quit [Ping timeout: 245 seconds]
borys_b_timakov has joined #ruby
BrianE has joined #ruby
Foxandxss has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
jenrzzz-mac has quit [Quit: jenrzzz-mac]
kaneda_ has joined #ruby
Sheehan has joined #ruby
Sheehan has quit [Client Quit]
g0bl1n has joined #ruby
borys_b_timakov has quit [Remote host closed the connection]
g0bl1n has quit [Remote host closed the connection]
freeayu has quit [Ping timeout: 265 seconds]
roams has joined #ruby
chrismcg is now known as zz_chrismcg
gongura has quit [Quit: This computer has gone to sleep]
<Markvilla> what is the best way to assign a block to a @variable that you can later .call?
freeayu has joined #ruby
netogallo has joined #ruby
arvidkahl has quit [Quit: arvidkahl]
Konboi has joined #ruby
<dominikh> @foo = block; @foo.call ?
user__ has joined #ruby
akem has quit [Ping timeout: 240 seconds]
liluo has joined #ruby
Vainoharhainen has quit [Quit: Linkinus - http://linkinus.com]
<Markvilla> dominikh: @foo = Proc.new {}; @foo.call
<Markvilla> other ways i've tried just executed the block
<Markvilla> :/
<Markvilla> when assigned I mean
<dominikh> you will have to show more, because I think you're having some misconception somewhere
<dominikh> it won't execute a block just because you reference it.
hemanth_ has quit [Read error: Connection reset by peer]
<dominikh> so show (exactly) what you've tried
<dominikh> preferably in a pastebin
hemanth_ has joined #ruby
user__ has quit [Max SendQ exceeded]
td123 has joined #ruby
user__ has joined #ruby
<Markvilla> it's complicated, I'm using RubyMotion, and blocks get Garbage Collected unless you assign them to an instance variable
<Markvilla> @foo = Proc.new {}; @foo.call
<Markvilla> that works
<Markvilla> while:
gongura has joined #ruby
<Markvilla> @foo = lambda {}; @foo.call
<Markvilla> doesn't
<Markvilla> -.-
<dominikh> neither of those things is a block, and both should work. how does it "not work"?
blacktulip has quit [Remote host closed the connection]
<Markvilla> that works, but if I substitute Proc.new by lambda
<Markvilla> it throws an error "wrong number of arguments (235139424 for 0)"
<Markvilla> crazy
<dominikh> why are you substituting Proc.new by lambda, anyway? They're identical for most parts, and not identical enough for it to matter in special cases (mostly related to the semantics of arguments and how return behaves)
<dominikh> yeah... see, that's an _entirely_ different thing than "it just executed the block". It does not.
<dominikh> procs do not care if you give them too few/too many arguments when calling them, lambdas do. and RubyMotion seems to be doing something extremely weird, which causes it to interpret it as 235139424 arguments?
atnight has quit [Quit: Computer has gone to sleep.]
Croms has quit [Ping timeout: 255 seconds]
<Markvilla> nice, I get it now
<dominikh> not to mention that RubyMotion already seems really flawed to me if addTarget cannot handle the GC on its own, forcing you to store it in an instance variable, but that's completely unrelated to the problem you're having
francisfish has quit [Remote host closed the connection]
markp has joined #ruby
<Markvilla> nah thats not a addTarget problem, it happens to all procs
<dominikh> I assume addTarget is implemented in an C extension; it could very well instruct Ruby not to GC the proc by marking it as in use, which is what it should do.
<markp> say I have a string "\a\b\c", how can i convert into an array of strings ["\a", "\b", "\c"] ?
yubaba has joined #ruby
<markp> split?
<dominikh> .scan(/../)
<Markvilla> dominikh: it's implemented in objective-c, and that parameter is supposed to be a Class, in which you call the "action:" selector
jeff_sebring has quit [Remote host closed the connection]
Konboi has quit [Remote host closed the connection]
<yubaba> damn, I cam in here to ask a question but the problem solved itself after i did a gem update
jeff_sebring has joined #ruby
schovi has joined #ruby
<markp> thks
yubaba has quit [Client Quit]
<benregn> how do I sort Date objects?
jeff_sebring has quit [Remote host closed the connection]
<dominikh> the same way you sort any sortable object
user__ has quit [Ping timeout: 256 seconds]
mdw has quit [Remote host closed the connection]
bradb has quit [Quit: bradb]
francisfish has joined #ruby
virunga has joined #ruby
akem has joined #ruby
qwerxy has quit [Quit: offski]
minijupe has joined #ruby
AndChat- has quit [Ping timeout: 248 seconds]
minijupe has quit [Client Quit]
sbb has quit [Remote host closed the connection]
liluo has quit [Remote host closed the connection]
mengu has joined #ruby
scb has quit [Remote host closed the connection]
kaneda_ has quit [Ping timeout: 265 seconds]
bosphorus has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
fixl has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
<benregn> ok, so I have an array of hashes, can I sort the array based on the value of a certain key in each hash?
dv310p3r has joined #ruby
<dominikh> Array#sort_by
Spooner has joined #ruby
walterheck has quit [Quit: Computer has gone to sleep]
akem has quit [Read error: Connection reset by peer]
Natch| has quit [Ping timeout: 260 seconds]
akem has joined #ruby
<benregn> for got to use !
<benregn> but it doesn't seem to sort my dates correctly...
akem has quit [Max SendQ exceeded]
<benregn> anything special that I need to do when using Date?
kaneda has joined #ruby
kaneda is now known as Guest61526
asuka_ has quit [Quit: Lost terminal]
akem has joined #ruby
Natch| has joined #ruby
asuka has joined #ruby
asuka is now known as asuka_
akem has quit [Max SendQ exceeded]
akem has joined #ruby
lkba has joined #ruby
<weeb1e> If anyone here happens to work with SourceMod in C++, drop me a message. Looking for someone interested in helping build an interface for mruby which I have embedded into SourceMod.
Guest61526 has quit [Ping timeout: 248 seconds]
kaneda_ has joined #ruby
exchgr has joined #ruby
daq has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
user__ has joined #ruby
akem has quit [Read error: Connection reset by peer]
user__ has quit [Max SendQ exceeded]
schaerli has joined #ruby
user__ has joined #ruby
user__ has quit [Max SendQ exceeded]
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
akem has joined #ruby
freeayu has quit [Quit: 离开]
beezey has joined #ruby
sleetdrop has quit [Remote host closed the connection]
sleetdrop has joined #ruby
beezey has quit [Client Quit]
joast has quit [Quit: Leaving.]
khakimov has joined #ruby
user__ has joined #ruby
akem has quit [Ping timeout: 244 seconds]
gabrtv has quit [Ping timeout: 260 seconds]
shtirlic has quit [Read error: Connection reset by peer]
akem has joined #ruby
user__ has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby
<shevy> benregn cant you upload your Date objects somewhere, it's hard to give you solid answers without the base for it
<benregn> they are actually sorting correctly now
<shevy> hehe
<benregn> it was my mistake, the block for sort_by was wrong
<benregn> not easy to find the out the error
<benregn> probably caused by my inexperience in Ruby :)
Sheehan has joined #ruby
jeffmr has joined #ruby
schickung has joined #ruby
td123 has quit [Quit: WeeChat 0.3.8]
berserkr has joined #ruby
akem has quit [Ping timeout: 240 seconds]
sameerynho has quit [Ping timeout: 245 seconds]
heftig has joined #ruby
exchgr has quit [Remote host closed the connection]
qwerxy has joined #ruby
berserkr has quit [Quit: Leaving.]
exchgr has joined #ruby
gongura has quit [Quit: This computer has gone to sleep]
sameerynho has joined #ruby
minijupe has joined #ruby
tk___ has quit [Quit: ばいばい]
jeffmr has quit [Quit: jeffmr]
vlad_starkov has quit [Remote host closed the connection]
exchgr has quit [Remote host closed the connection]
mneorr has quit [Quit: WeeChat 0.3.5]
mneorr has joined #ruby
workmad3 has joined #ruby
Sheehan has quit [Quit: Sheehan]
etehtsea has quit []
mneorr has quit [Client Quit]
andrewhl has joined #ruby
mneorr has joined #ruby
vlad_starkov has joined #ruby
yannis has joined #ruby
LordDoskias has joined #ruby
mneorr has quit [Client Quit]
mneorr has joined #ruby
xaxisx has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
ZachBeta has joined #ruby
niklasb has joined #ruby
gmci has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
demian`_ has joined #ruby
sleetdro_ has joined #ruby
nebiros_ is now known as nebiros
nebiros has quit [Changing host]
nebiros has joined #ruby
jameshyde has joined #ruby
sleetdrop has quit [Ping timeout: 244 seconds]
exchgr has joined #ruby
ronniy has quit [Remote host closed the connection]
sonkei has quit [Quit: WeeChat 0.3.8]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
whiteline has joined #ruby
<benregn> help converting a "1,6" in to a 1.6 float?
<RBV> benregn: .to_f
<benregn> RBV: notice the comma in the string
<benregn> RBV: "1,6" becomes 1.0
<benregn> not what I want
<RBV> Oh, I thought you had a rational
<benregn> no, just a string...
<RBV> So a euro-format decimal
<benregn> yeah
federic has joined #ruby
<RBV> You could gsub . for , and then do to_r
<RBV> to_f i mean
Kunda has quit [Ping timeout: 248 seconds]
<RBV> num.gsub(',','.').to_f
<benregn> yeah was thinking something a long those lines, just wanted to check if I missed something
<benregn> thanks
looopy has joined #ruby
sonkei has joined #ruby
<RBV> I would think there is a way to change the format of european numbers but I don't know
<benregn> would think so too but couldn't find out how
vizzord has quit [Quit: see you]
mdw has joined #ruby
<xargoon> i don't think ruby supports locales
minijupe has quit [Quit: minijupe]
<RBV> xargoon: I think we looked at it a while back when we were going to try to retro-fit multiple languages in our apps and it was just far too much work. The numbers were the least of our worries
mfridh has joined #ruby
<GeekOnCoffee> if you're using rails it might be a different story
JStoker has quit [Excess Flood]
<xargoon> there are libraries for doing that, but it's not bundled with ruby itself
gmci has joined #ruby
kjellski has quit [Quit: This computer has gone to sleep]
looopy has quit [Remote host closed the connection]
dbgster has joined #ruby
exchgr has quit [Remote host closed the connection]
phidev has quit []
thone has joined #ruby
exchgr has joined #ruby
exchgr has quit [Client Quit]
TheHunter_1039 has joined #ruby
JStoker has joined #ruby
rdesfo has joined #ruby
rdesfo has left #ruby [#ruby]
ibash has quit [Quit: ibash]
Foxandxss has joined #ruby
sacarlson has quit [Read error: Connection reset by peer]
ZachBeta has quit [Quit: Computer has gone to sleep.]
borys_b_timakov has joined #ruby
exchgr has joined #ruby
kaneda_ has quit [Quit: Leaving]
kaneda has joined #ruby
walterheck has joined #ruby
fserb has quit [Quit: ttyl]
kaneda is now known as Guest1343
ZachBeta has joined #ruby
chessguy has joined #ruby
benregn_ has joined #ruby
benregn has quit [Ping timeout: 245 seconds]
benregn_ is now known as benregn
sleetdro_ has quit [Remote host closed the connection]
mdw has quit [Remote host closed the connection]
sleetdrop has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
kuranai is now known as kuranai|off
hemanth__ has joined #ruby
Vendethiel has joined #ruby
dbgster has quit [Quit: dbgster]
sacarlson has joined #ruby
Criztian has quit [Remote host closed the connection]
jacobw has joined #ruby
ipoval has quit [Quit: ipoval]
ibash has joined #ruby
bier has quit [Ping timeout: 240 seconds]
robdodson has joined #ruby
looopy has joined #ruby
strnx has quit [Excess Flood]
schickung_ has joined #ruby
strnx has joined #ruby
yannis has quit [Quit: Bye!]
ybit2 has quit [Ping timeout: 244 seconds]
schickung has quit [Ping timeout: 240 seconds]
schickung_ is now known as schickung
samgranieri has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
khakimov has quit [Quit: Computer has gone to sleep.]
khakimov has joined #ruby
shtirlic has quit [Ping timeout: 245 seconds]
nooodl has quit [Ping timeout: 246 seconds]
bier has joined #ruby
ZachBeta has joined #ruby
benregn has quit [Quit: See ya!]
<tommylommykins> hmm
* tommylommykins tried writing his own thing to parse a config file
Raduwen__ has quit [Quit: Leaving...]
* tommylommykins is stuck trying to do type conversion for integers..
<tommylommykins> if I encode that that some value in a config file should be of type x
<tommylommykins> how can I dynamically convert the string read out of the config file into type x?
fserb has joined #ruby
<Mon_Ouie> That's pretty vague and totally depends on what kind of object you want to convert it to
<tommylommykins> yeah
fserb has quit [Client Quit]
ksz has joined #ruby
* tommylommykins assumes he's probably trying to it the wrong way
<ksz> hi, I'm trying to load erb view based on route param. I do this: get '/:page' do erb params[:page].to_s end
mhi^ has left #ruby [#ruby]
<ksz> but the thing is my view doesn't load, instead I have the param which prints in my layout
khakimov has quit [Quit: Computer has gone to sleep.]
akem has joined #ruby
Tricks has quit [Read error: Connection reset by peer]
sleetdrop has quit [Remote host closed the connection]
Tricks has joined #ruby
sleetdrop has joined #ruby
adeponte has joined #ruby
CheeToS has joined #ruby
looopy has quit [Remote host closed the connection]
wvms has quit [Read error: Connection reset by peer]
wvms has joined #ruby
mockillo has quit [Ping timeout: 252 seconds]
mockillo has joined #ruby
etehtsea has joined #ruby
adeponte has quit [Remote host closed the connection]
looopy has joined #ruby
rippa has joined #ruby
ksz has quit [Ping timeout: 245 seconds]
schovi has quit [Remote host closed the connection]
jamesaxl has quit [Ping timeout: 246 seconds]
jamesaxl has joined #ruby
blacktulip has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
sleetdrop has quit [Remote host closed the connection]
minijupe has joined #ruby
mvangala_home has quit [Remote host closed the connection]
sleetdrop has joined #ruby
ankso has joined #ruby
<withnale> Hi. I'm having trouble on my centos box with different rubygems handling for root/non-root user. My root user sees all of the gems (I installed via root) but the non-root doesn't. It seems that the root user is searching specs in /usr/local/share/gems/specifications where non-root is looking in /usr/share/gems/specifications. Any ideas why the difference?
ankso has left #ruby ["bye!"]
<withnale> (this is ruby 1.9.3 if it matters)
Sou|cutter has quit [Quit: WeeChat 0.3.0]
<offby1> maybe different environment variables
Vert has quit [Ping timeout: 252 seconds]
sleetdrop has quit [Remote host closed the connection]
akem has quit [Ping timeout: 244 seconds]
sepp2k has quit [Remote host closed the connection]
iaj has quit [Ping timeout: 245 seconds]
<withnale> I've checked both envs. The only envvar with a RUBY prefix that was set was RUBYOPT="rubygems" but since its 1.9.3 I've removed that using unset (and verified it) and still the same problem.
<withnale> Only one ruby on the machine, and checked they are both using the same path
schickung has quit [Quit: schickung]
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
icooba has quit [Quit: icooba]
walterheck has quit [Quit: Computer has gone to sleep]
fserb has joined #ruby
<_br_> withnale: Judging from experience accross distros, I think managing gems over the distro is not a good idea. There are serveral issues, out of which reason the ruby community has developed tools like e.g. rbenv, rvm and bundler. Possibly it makes more sense to adopt this approach. One main point why it makes sense, e.g. is that the distro vm is often much slower compared to the ones you build yourself via e.g. rvm.
akem has quit [Max SendQ exceeded]
Vert has joined #ruby
robdodson has quit [Quit: robdodson]
kirun has joined #ruby
<_br_> withnale: But to answer your question there is some env set for you in the wrong way apparently. Try "printenv" to see what's going on.
andrewhl has quit [Read error: Connection reset by peer]
andrewhl has joined #ruby
iaj has joined #ruby
fserb has quit [Quit: ttyl]
peterhil` has quit [Remote host closed the connection]
minijupe has quit [Quit: minijupe]
Gavilan has left #ruby [#ruby]
<shevy> withnale in situations like that, please always upload the output of "gem env"
peterhil` has joined #ruby
mdw has joined #ruby
rippa has quit [Ping timeout: 265 seconds]
td123 has joined #ruby
headius has joined #ruby
<_br_> shevy: ah I forgot that :)
rippa has joined #ruby
rouss has joined #ruby
<shevy> :)
schaerli_ has joined #ruby
minijupe has joined #ruby
shtirlic has joined #ruby
kah_ has joined #ruby
schaerli has quit [Read error: Operation timed out]
macmartine has joined #ruby
maletor has joined #ruby
mdw has quit [Remote host closed the connection]
imami|afk is now known as banseljaj
robdodson has joined #ruby
Guest1343 has quit [Read error: Connection reset by peer]
Guest1343 has joined #ruby
adfasdf has joined #ruby
cheater_ is now known as cheater
fserb has joined #ruby
perryh_away is now known as perryh
netogallo has quit [Ping timeout: 245 seconds]
robdodson has quit [Quit: robdodson]
kirun has quit [Quit: Client exiting]
niku4i has joined #ruby
ZachBeta has joined #ruby
savage- has quit [Remote host closed the connection]
niklasb has quit [Ping timeout: 246 seconds]
niku4i has quit [Ping timeout: 244 seconds]
Natch| has quit [Ping timeout: 245 seconds]
Natch| has joined #ruby
pdelgallego has joined #ruby
headius has quit [Quit: headius]
linduxed has quit [Ping timeout: 265 seconds]
linduxed has joined #ruby
seanstickle has joined #ruby
pdelgallego has quit [Client Quit]
burgestrand has joined #ruby
mdw has joined #ruby
Sheehan has joined #ruby
sameerynho has quit [Quit: Leaving]
rouss has quit [Ping timeout: 245 seconds]
Criztian has joined #ruby
theRoUS_ has quit [Read error: Connection reset by peer]
Natch| has quit [Ping timeout: 240 seconds]
theRoUS_ has joined #ruby
Natch| has joined #ruby
nyuszika7h has quit [Read error: Connection reset by peer]
Kunda has joined #ruby
wallerdev has joined #ruby
workmad3 has joined #ruby
Notimik has joined #ruby
minijupe has quit [Quit: minijupe]
indian has joined #ruby
mrdtt has quit [Read error: Connection reset by peer]
Notimik has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
Notimik has joined #ruby
seanstickle has quit [Quit: seanstickle]
dknight has joined #ruby
<dknight> can I POST a file using Net::HTTP.Post?
vlad_starkov has quit [Remote host closed the connection]
ibash has quit [Quit: ibash]
fserb has quit [Quit: ttyl]
tsou has left #ruby [#ruby]
IrishGringo has quit [Quit: ChatZilla 0.9.88.2 [Firefox 12.0/20120420145725]]
looopy has quit [Remote host closed the connection]
chessguy has quit [Remote host closed the connection]
TheNumb has joined #ruby
jbinto has joined #ruby
looopy has joined #ruby
Shoobdidoo has joined #ruby
Shoobdidoo has quit [Remote host closed the connection]
whiteline has quit [Quit: Lost terminal]
nooodl has joined #ruby
Vendethiel has quit [Ping timeout: 245 seconds]
seoaqua has quit [Quit: Leaving]
niklasb has joined #ruby
noganex has quit [Read error: Connection reset by peer]
joast has joined #ruby
mockillo has quit [Ping timeout: 252 seconds]
mockillo has joined #ruby
niklasb_ has joined #ruby
nyuszika7h has joined #ruby
schaerli_ has quit [Remote host closed the connection]
hemanth__ has quit [Read error: Connection reset by peer]
nw has quit [Quit: leaving]
schaerli has joined #ruby
hemanth__ has joined #ruby
noganex has joined #ruby
niklasb has quit [Read error: Connection reset by peer]
Notimik has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
schovi has joined #ruby
johnwarren has joined #ruby
nw has joined #ruby
sv-- has quit [Quit: Leaving]
<johnwarren> How do I get rid of an "invalid gem spec" error involving factory_girl_rails? http://pastebin.com/NdS2amVM
Sheehan has quit [Quit: Sheehan]
qwerxy has quit [Ping timeout: 244 seconds]
ipoval has joined #ruby
looopy has quit [Remote host closed the connection]
ibash has joined #ruby
naequs has joined #ruby
perryh is now known as perryh_away
sepp2k has joined #ruby
netogallo has joined #ruby
looopy has joined #ruby
looopy has quit [Remote host closed the connection]
ibash has quit [Quit: ibash]
hamfz_ has joined #ruby
schaerli has quit [Remote host closed the connection]
dknight has left #ruby [#ruby]
looopy has joined #ruby
Enekoos has joined #ruby
* Enekoos saluda
andrewh has quit [Quit: Lost terminal]
<msch> anyone know if i can use the debugger gem to break on raise?
niklasb_ has quit [Ping timeout: 244 seconds]
urbann has joined #ruby
yeggeps_ has quit [Ping timeout: 250 seconds]
ibash has joined #ruby
johnwarren has quit [Quit: johnwarren]
Synthead has joined #ruby
bosphorus has quit [Remote host closed the connection]
ibash has quit [Client Quit]
fserb has joined #ruby
<urbann> hi all!
<urbann> Is it somehow possible to inspect a method block/proc ?
looopy has quit [Remote host closed the connection]
jackiechan0 has quit [Quit: Sto andando via]
Sheehan has joined #ruby
<Mon_Ouie> What are you looking for more precisely?
h4mz1d has joined #ruby
CannedCorn has joined #ruby
yeggeps has joined #ruby
ZifreCL has quit [Ping timeout: 252 seconds]
mdw has quit [Read error: Connection reset by peer]
adfasdf is now known as banister
mdw_ has joined #ruby
rossfuhrman has joined #ruby
<urbann> for example if i have a method like this:
<urbann> def method(&block) p block end
<urbann> and a call like this:
<urbann> method { "my var" }
<urbann> can I somehow inspect the block and return the "my var" string
<offby1> my hunch is "no" but I hope I'm wrong
<Spooner> urbann : In that case, block.call will do it.
<Mon_Ouie> No, unless you're using some Ruby implementation that gives you a way to go back to source code
workmad3 has quit [Ping timeout: 252 seconds]
Jay_Levitt has joined #ruby
nowthatsamatt has joined #ruby
fantazo has joined #ruby
looopy has joined #ruby
looopy has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
ananthakumaran has quit [Client Quit]
andyjeffries has joined #ruby
<banister> urbann: look into sourcify
<urbann> banister: I was taking a fast look at sourcify before
<urbann> what I want to accomplish is to change the order of elements inside a block
<urbann> can sourcify help me with that ?
<urbann> from
<urbann> method { var1 var2 var3 }
<urbann> to
<urbann> method { var3 var2 var1 }
<banister> urbann: i assume u mean method1 method2 method3 ?
AlbireoX`Laptop has joined #ruby
<urbann> i mean i want to manipulate the values given inside a block
<urbann> like:
<urbann> method { my_my_var }
vlad_starkov has joined #ruby
<urbann> become method { my_new_my_var }
<shevy> that looks ... scary
<banister> urbann: you can probably do it, but only with huge amounts of magic and really ugly code. Do you have good reason for doing it? are you sure you cant solve your problem another way?
AlbireoX`Laptop has quit [Remote host closed the connection]
<urbann> I guess so, was just thinking if it was possible to do something like (block.call).reverse
niklasb_ has joined #ruby
<shevy> hehe
<shevy> he wants to build a time machine :)
qwerxy has joined #ruby
<shevy> time_machine.warp { 1824 }
<urbann> yea I know : )
<shevy> and it will reverse the flow of history too
<shevy> we will send matz with some computers to that time
vlad_starkov has quit [Ping timeout: 265 seconds]
<shevy> and he'll introduce ruby to the people of 1824
netogallo has quit [Remote host closed the connection]
qwerxy has quit [Client Quit]
<banister> shevy: i want to visit your ancestors in 1940, and tell them to STOP
exchgr has quit [Quit: exchgr]
nowthatsamatt has quit [Quit: nowthatsamatt]
<urbann> shevy: actually I don´t see why this should be so strange
<urbann> I want to use it in a "meta" context
<shevy> banister :(
seanstickle has joined #ruby
robdodson has joined #ruby
robdodson has quit [Client Quit]
<shevy> urbann yeah man META MAGIC TO INSANITY!!!!
<shevy> this is my thing
ZachBeta has quit [Quit: Computer has gone to sleep.]
<shevy> gimme all your metas
<shevy> I need meta
<shevy> gimme gimme gimme
nu7hatch has joined #ruby
Morkel has joined #ruby
Bosma has joined #ruby
zx has joined #ruby
AlbireoX`Laptop has joined #ruby
Yarou has joined #ruby
azm has quit [Ping timeout: 260 seconds]
graspee has joined #ruby
graspee has quit [Client Quit]
graspee has joined #ruby
Whoop has quit [Ping timeout: 260 seconds]
ChampS666 has joined #ruby
qwerxy has joined #ruby
h4mz1d has quit [Ping timeout: 240 seconds]
hamfz_ has quit [Ping timeout: 252 seconds]
bradhe_ has joined #ruby
federic has quit [Remote host closed the connection]
hemanth__ has quit [Read error: Connection reset by peer]
hemanth__ has joined #ruby
bradhe has quit [Ping timeout: 244 seconds]
<shevy> no meta for me today :(
zinjacoder has quit [Quit: Peace!]
looopy has joined #ruby
xiaotian has joined #ruby
srnty has joined #ruby
yeggeps has quit [Read error: Connection reset by peer]
yeggeps has joined #ruby
codebeaker has joined #ruby
jcromartie has joined #ruby
jcromartie has quit [Client Quit]
<urbann> shevy: I don't get the impression you are interested to help
<urbann> but if you can tell me how you should solve this you are welcome
jameshyde has quit [Ping timeout: 260 seconds]
looopy has quit [Remote host closed the connection]
<urbann> welcom to help
yeggeps has quit [Ping timeout: 245 seconds]
niklasb_ is now known as niklasb
<shevy> urbann my problem with the meta stuff is that it confuses me
looopy has joined #ruby
schovi has quit [Remote host closed the connection]
mohits has quit [Ping timeout: 260 seconds]
<Spooner> urbann: The last time this question was asked, there wasn't an answer except that you are trying to do something you shouldn't need to do, so there isn't a way to do it.
<Spooner> And even if it was possible, it would be better not to :)
Markvilla has quit [Quit: Markvilla]
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
sparrovv has joined #ruby
bosphorus has joined #ruby
zii has joined #ruby
<urbann> Spooner: I want to be able to write my templates like this!
Foxandxss has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
Jay_Levitt has quit [Quit: Jay_Levitt]
EvanR has quit [Ping timeout: 248 seconds]
<Spooner> That doesn't mean it is the best way to achieve what you want.
<Spooner> For example, perhaps rather than method { my_my_var } become method { my_new_my_var } - you might want to put the same named variables on two objects and use instance_eval to run the blocks in different contexts. Still, I don't really know what you are trying to do, so that might be completely wrong :)
atnight has joined #ruby
jonsparks has left #ruby [#ruby]
cantonic has joined #ruby
Markvilla has joined #ruby
<urbann> Spooner: thanks for your effort to help!
<Spooner> If you just want to reverse the order in some cases, then do: https://gist.github.com/2907195 perhaps?
<urbann> This is part of kind of a generator framework
mohits has quit [Ping timeout: 245 seconds]
sepp2k has quit [Read error: Connection reset by peer]
flype has joined #ruby
<Spooner> Alternatively, you could use controller('test.rb') { %w[index show] } and then use actions.each {|a| send "#{a}_action"}
<TTilus> hammer factory builder generators...
<TTilus> sorry
<urbann> yes I thought about using hashes and arrays but it get kind of ugly (for the end user)
sepp2k has joined #ruby
<Spooner> urbann : Indeed.
ryanf has joined #ruby
burgestrand has quit [Quit: Leaving.]
burgestrand has joined #ruby
<urbann> what I could do if I want to keep this syntax is to create a string of the code to generate and then manipulate it
<urbann> it will be a lot of code for doing that so any more suggestions are very welcome
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
francisfish has joined #ruby
indian has quit [Ping timeout: 244 seconds]
<urbann> TTilus: hammer factory builder generators... ?
looopy has quit [Remote host closed the connection]
<urbann> I didn't get what you mean ?
mbbx6spp has joined #ruby
Sheehan has quit [Quit: Sheehan]
mbbx6spp has left #ruby [#ruby]
kylemcgill has joined #ruby
tty0pts has joined #ruby
<urbann> shevy any suggestions ? I posted the gist because you asked me to
atnight has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<tty0pts> Anyone know what the initialize vector (IV) is set to when OpenSSL::Cipher::Cipher#pkcs5_keyivgen is called with one argument (just the password)?
<tty0pts> It seems to be buried in the C extension and I am not following it. Pointers appreciated.
<shevy> urbann hmm? not sure what you mean with it, I told you that meta will just confuse everyone in the long run
CannedCorn has quit [Ping timeout: 260 seconds]
niklasb has quit [Quit: WeeChat 0.3.8]
niklasb has joined #ruby
fridim_ has quit [Ping timeout: 264 seconds]
<urbann> shevy: I wrote I want to use it in a "meta" context
qwerxy has quit [Quit: offski]
dknight has joined #ruby
<urbann> how should you explain it ?
<dknight> please help me with http://paste.lisp.org/display/129952
<dknight> upon execution it gives me Net::HTTPOK:0x0000000401dbb0
bradhe has joined #ruby
<shevy> urbann dunno. I write only very simple ruby code. a while ago I decided that every time code forces me to think, it is wrong
cheese1756 has joined #ruby
zii has left #ruby ["WeeChat 0.3.8"]
<offby1> dknight: what do you need help with?
<offby1> does Net::HTTPOK:0x0000000401dbb0 indicate an error or something?
koskoz has joined #ruby
<offby1> it looks OK to me :)
<dknight> offby1: well it should return an array
<offby1> of what?
bradhe_ has quit [Ping timeout: 246 seconds]
Sheehan has joined #ruby
<urbann> shevy get yourself a life, and don't interfere with people that try to be productive and use this channel to ask ruby questions
<shevy> urbann I am sorry master!
<dknight> offby1: of links
<urbann> Spooner: thanks again for your suggestions
<urbann> until later
<urbann> buy
<dknight> offby1: when I tried the php code from imageshack api on google code, it was returning an array
<offby1> dknight: I changed it a tiny bit and saw an auth error: https://gist.github.com/2907248
mohits has quit [Ping timeout: 260 seconds]
negaduck has quit [Ping timeout: 246 seconds]
<dknight> offby1: may be because you might not have a key
<offby1> seems crazy that they return a 200 when there's an auth error
<offby1> dknight: I would imagine so, yes :)
niklasb has quit [Ping timeout: 240 seconds]
<ryanf> even if the request is successful, the response object is still going to be an instance of httpresponse. getting the content of the response requires calling .body on it (as offby1 did)
mengu has quit [Quit: Konversation terminated!]
<ryanf> and if it's returning an array in json, you'll have to decode it from string form
<ryanf> net::http is definitely not going to give you an array of anything
Whoop has joined #ruby
noganex has quit [Ping timeout: 245 seconds]
<dknight> ryanf: when I put .body my IDE complained
<ryanf> "response.body" ?
<ryanf> what did it complain about
Sheehan has quit [Quit: Sheehan]
<dknight> ryanf: cannot find .body for Net::HTTP
noganex has joined #ruby
urbann has quit [Remote host closed the connection]
Sheehan has joined #ruby
<ryanf> can you pastebin your modified code?
negaduck has joined #ruby
libertyprime has quit [Quit: Lost terminal]
baroquebobcat has joined #ruby
hemanth__ has quit [Read error: Connection reset by peer]
<dknight> ryanf: I didnt modify any code
zii has joined #ruby
niklasb has joined #ruby
libertyprime has joined #ruby
hemanth__ has joined #ruby
<zii> I'm trying to execute my first non-eval ruby function call from C, this doesn't work tho, what's wrong? rb_funcall(rb_mKernel, rb_intern("puts"), rb_str_new2("test"));
Sheehan has quit [Client Quit]
<Mon_Ouie> You forgot to pass the amount of arguments
sako has joined #ruby
<dknight> ryanf: I am using the same code I gave initially
Nitrodist has left #ruby [#ruby]
cj3kim has joined #ruby
xiaotian has quit [Quit: Computer has gone to sleep.]
blacktulip has quit [Remote host closed the connection]
stephenjudkins has joined #ruby
<zii> Mon_Ouie: Genious, thanks.
<ryanf> right, so if you modify the line "puts response" to say "puts response.body", what happens?
francisfish has quit [Remote host closed the connection]
nobdraisentone has quit [Ping timeout: 244 seconds]
<dknight> ryanf: if i do that then I see an auth_error
<dknight> ryanf: somehow the key setting is incorrect
nobdraisentone has joined #ruby
<dknight> ryanf: probably t exoects multipart request
<dknight> first the key and then data
<sako> rbenv + ruby-build + osx lion ... what a nightmare
rippa has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
<ryanf> ok that's a different problem then
<dknight> ryanf: yeah
gloomer has joined #ruby
<dknight> ryanf: how do you usually set a key in a post request?
<sako> i've installed gcc-4.7 and i am running env CC=/usr/local/bin/gcc-4.7 rbenv install ruby-1.8.7-p358
<sako> i still get the damn trap error when trying to install gems after that, why?
<offby1> dknight: probably in a header
<offby1> not the body
<sako> Abort trap: 6
looopy has joined #ruby
<dknight> offby1: hmmm
<offby1> sako: I might have run into that too, when following the Rails tutorial. I got past my problem. Lemme see if it was the same problem, and how I got past it
mohits has joined #ruby
libertyprime has quit [Quit: Lost terminal]
mohits has quit [Changing host]
mohits has joined #ruby
libertyprime has joined #ruby
fserb has quit [Quit: ttyl]
naequs has quit [Quit: Leaving]
CheeToS has quit [Ping timeout: 248 seconds]
<dknight> offby1: just like I have request.body, do I also have request.headers?
<TTilus> urbann: the hammer factory thing came from http://discuss.joelonsoftware.com/default.asp?joel.3.219431
<offby1> probably, but I don't actually yknow
setient has joined #ruby
td123 has quit [Quit: WeeChat 0.3.8]
<Synthead> what am I doing wrong here? http://codepad.org/QGtVbI8I
workmad3 has quit [Ping timeout: 256 seconds]
<offby1> using codepad, for one :)
Hanmac has joined #ruby
<Synthead> and as sudo: http://codepad.org/w20jbSaJ
<offby1> seriously: no idea
<Synthead> almost looks like the ruby-usb upstream code is busted. I have libusb-1.0 and 0.1 installed
urbann has joined #ruby
<dknight> thanks ryanf and offby1
dknight has left #ruby [#ruby]
td123 has joined #ruby
udante has joined #ruby
Morkel has quit [Quit: Morkel]
yxhuvud has quit [Ping timeout: 265 seconds]
codebeaker has quit [Quit: codebeaker]
libertyprime has quit [Quit: Lost terminal]
libertyprime has joined #ruby
looopy has quit [Remote host closed the connection]
andrewhl has quit [Remote host closed the connection]
andyjeffries has quit [Read error: Connection reset by peer]
td123 has quit [Quit: WeeChat 0.3.8]
looopy has joined #ruby
<Spooner> TTilus : I enjoyed the factory factory factory rant a great deal :)
bluOxigen has quit [Ping timeout: 244 seconds]
Foxandxss has joined #ruby
<offby1> ah, Spolsky
ciopte7 has joined #ruby
looopy has quit [Remote host closed the connection]
<shevy> Spooner hmm where from was that?
xaxisx has quit [Quit: xaxisx]
zx has quit [Ping timeout: 256 seconds]
ken_barber has joined #ruby
dangerousdave has quit [Quit: Leaving...]
yoklov has joined #ruby
indian has joined #ruby
libertyprime has quit [Quit: Lost terminal]
libertyprime has joined #ruby
mohits has quit [Ping timeout: 260 seconds]
s0ber_ has joined #ruby
foo-bar- has joined #ruby
s0ber has quit [Read error: Operation timed out]
deryl has quit [Ping timeout: 245 seconds]
s0ber_ is now known as s0ber
zomb1e has joined #ruby
zomb1e is now known as ed0c
samgranieri has quit [Ping timeout: 252 seconds]
mikepack has joined #ruby
alexander-- has joined #ruby
Gavilan has joined #ruby
sparrovv has quit [Ping timeout: 245 seconds]
alexander-- has quit [Remote host closed the connection]
alexander-- has joined #ruby
mohits has joined #ruby
alexander-- has quit [Remote host closed the connection]
mohits has quit [Changing host]
mohits has joined #ruby
ed0c has quit [Quit: I'm tired. Real tired.]
alexander-- has joined #ruby
alexander-- has quit [Remote host closed the connection]
alexander-- has joined #ruby
alexander-- has quit [Remote host closed the connection]
stephenjudkins has quit [Quit: stephenjudkins]
qwerxy has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Juul has joined #ruby
alexander-- has joined #ruby
libertyprime has quit [Read error: Connection reset by peer]
alindeman has quit [Quit: /quit]
daze21 has joined #ruby
ukd1 has joined #ruby
<daze21> If you have a string like "1/2/2012 Something", how can you delete the initial date part and just grab the "Something"? I have http://pastie.org/4063882 now, but the problem is if "Something" has any character in the date, then that is deleted too.
alexander-- has quit [Remote host closed the connection]
alexander-- has joined #ruby
<offby1> sounds like a job for a simple regex
alexander-- has quit [Remote host closed the connection]
libertyprime has joined #ruby
nlc has joined #ruby
perryh_away is now known as perryh
deryl has joined #ruby
<offby1> daze21: try [128] pry(main)> "1/2/2012 Something" =~ /\d+\/\d+\/\d+ (.*)/
<offby1> then look at $1 after the match succeeds
<offby1> try to ignore the "pry" prompt that I accidentally pasted
<banister> offby1: 128 !!
<daze21> offby1: looks great - I'll try it out
<offby1> is that too much or not enough?
<banister> offby1: it's a lot
<offby1> it's running in an EC2 instance which rarely rebootes
<deryl> ddd
<offby1> ch ch ch-changes
<banister> offby1: hey, im thinking about having pry-server and pry-client, analogous to emacs server and emacsclient, that way your session stays persistent no matter how many times u start pry and no matter where u start it. How say u?
<seanstickle> Oooh
perryh is now known as perryh_away
<seanstickle> I wants
vitor-br has joined #ruby
perryh_away is now known as perryh
<seanstickle> Also, can you port this to Python?
<seanstickle> :D
<banister> seanstickle: no, python is for homos
<banister> hehe
<banister> seanstickle: i think python has all this stuff
<banister> ipython, no?
Juul has quit [Ping timeout: 260 seconds]
<seanstickle> Maybe?
<daze21> offby1: What does $1 mean in ruby regexps?
alindeman has joined #ruby
<seanstickle> I'm so afraid of Python I haven't checked yet
td123 has joined #ruby
<offby1> banister: honestly? I say: what's the point, given that "screen" works nicely?
elico has joined #ruby
mdw_ has quit [Remote host closed the connection]
<offby1> daze21: it means "the stuff in the first parenthesized group"
<daze21> Thanks
<elico> does anyone knows bindata ??? i need some help to build a structure thanks!
woopino has joined #ruby
nu7hatch has left #ruby [#ruby]
<Hanmac> imo this it better when a specific group is wanted: /\d+\/\d+\/\d+ (.*)/.match("1/2/2012 Something")[1]
<woopino> hello, what perissions level do most people start out rails app directories at?
<Hanmac> i dont like the ~= stuff ...
<Hanmac> woopino: ask there #rubyonrails
<woopino> I don't want to take the time to register my nickname or find my old one
<woopino> Plus the Ruby room is much more fault tolerant
<offby1> Hanmac: I haven't made up my mind which I prefer; I'm pretty new to ruby. Why don't you like ~= ?
elico has left #ruby [#ruby]
zeromodu_ has joined #ruby
zeromodu_ is now known as ZeroModulus_
elico has joined #ruby
<Hanmac> if i want to work with groups in regex i prefer a match data object ... (and i hate global variables ... even the buildin ones)
<banister> offby1: it's =~
koskoz has quit [Ping timeout: 244 seconds]
kkiero_ has quit [Ping timeout: 252 seconds]
ZeroModulus has quit [Ping timeout: 244 seconds]
<daze21> offby1: Agan, thanks for your help! So does $2 then mean "the stuff in the second parenthesized group", and etc. for $3?
kkiero has joined #ruby
<daze21> *again
<daze21> offby1: Oh, and does this only work if you use =~ to match, or does it also work if you use .match to match?
<Mon_Ouie> Yes, except capture group would be a better term than parenthesized
<Mon_Ouie> Because you can have non-capturing groups, e.g. /(?:foo)/
<daze21> Mon_Ouie: oh, well it's clear to me - I wouldn't have known what "capture group" meant until now. =]
banister has quit [Remote host closed the connection]
<daze21> I see your point.
<matti> Hi Mon_Ouie
<Mon_Ouie> 'alut matti ;)
banister has joined #ruby
<Hanmac> offby1 & banister: ~/\d+\/\d+\/\d+ (.*)/ works too
banister has quit [Remote host closed the connection]
Criztian has quit [Remote host closed the connection]
stephenjudkins has joined #ruby
itnomad has joined #ruby
fayimora has quit [Read error: Connection reset by peer]
fayimora has joined #ruby
ph^ has quit [Remote host closed the connection]
<offby1> hmph
<offby1> I hate syntax
<offby1> can't even remember if it's =~ or ~=. Perhaps that's why Hanmac doesn't like it too :)
ph^ has joined #ruby
<daze21> Uh oh - If I have 2/2/2022~ Around 1 am, then $1 becomes nil...
<offby1> sure
<offby1> welcome to the art of regexp authoring
balki_ has joined #ruby
<offby1> at least you're testing!
qwerxy has quit [Quit: offski]
virunga has quit [Read error: Connection reset by peer]
dockm has joined #ruby
<daze21> Why does "2/2/2022~ Around 1 am".match(/\d+\/\d+\/\d+ (.*)/) lead to $1 being nil?
BrokenCog has quit [Quit: leaving]
<offby1> because the tilde isn't a digit or a space
<offby1> and yet your pattern insists on digits followed immediately by a space.
neohunter has joined #ruby
<neohunter> hello
<neohunter> if i have a = [{a:1,b:2},{a:3, b:6},{a:5,b:7}]
<neohunter> is there a metod to extract the "a" key of each hash?
<daze21> offby1: Gotcha. Thanks.
<neohunter> i mean that give me [1,3,5]
balki has quit [Ping timeout: 245 seconds]
maletor has joined #ruby
noganex has quit [Read error: Connection reset by peer]
<offby1> neohunter: [{a:1,b:2},{a:3, b:6},{a:5,b:7}].map {|h| h[:a]}
ph^ has quit [Ping timeout: 260 seconds]
rizzylt has joined #ruby
<Hanmac> or if you want without block: [{a:1,b:2},{a:3, b:6},{a:5,b:7}].each_with_object(:a).map(&:[])
<Hanmac> offby1: you can test it, i think one of our versions are faster :P
noganex has joined #ruby
<markp> is each_with_object a good way to initialize a hash? say h = [:a :b :c].each_with_object({}) {|key, h| h[key] = 0} ?
flype has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<markp> [:a, :b, :c] i mean
stephenjudkins has quit [Quit: stephenjudkins]
<Mon_Ouie> Maybe all you're looking for is Hash.new(0)
<Synthead> Does Curses::Key::ENTER not work in ruby??
proghat has joined #ruby
<sako> man lion + ruby is really frustrating :/, i have compiled gcc-4.7 using that with rbenv to install rubies.. still getting stupid errors that are indication that the gcc i speicified wasn't used
fserb has joined #ruby
withnale has quit [Excess Flood]
workmad3 has joined #ruby
withnale has joined #ruby
<Synthead> wow, it's amazing how giant of a bug this is
<workmad3> ?
mohits has quit [Ping timeout: 256 seconds]
xaxisx has joined #ruby
<Synthead> workmad3: Curses::Key::ENTER apparently isn't read correctly
<workmad3> heh :) not surprising
minijupe has joined #ruby
<workmad3> how is it read?
<workmad3> cr? lf? cr-lf? sometimes intercepted by something else and never received?
<Synthead> workmad3: just as stated. If you put it in a loop and do when Curses::Key::ENTER, it doesn't catch enter keys
<workmad3> Synthead: only just joined, I missed your original comments
xargoon has quit [Ping timeout: 265 seconds]
<workmad3> but fun :)
<Synthead> workmad3: yeah you only missed my initial statement
<Synthead> workmad3: that's so retarded. who commits that?
seanstickle has quit [Quit: Nihil sub sole novum]
pb has joined #ruby
pb is now known as shellox
<shellox> hi
<workmad3> Synthead: it happens :)
<workmad3> Synthead: the question is tracking down why
<shellox> it's possible to use an or in a case when statement?
<shellox> like case x
<workmad3> Synthead: also, you're grabbing enter... have you checked that you're not hitting return?
<shellox> when 1 or 'a' or 'blah' then ..
<workmad3> Synthead: and does Curses distinguish between enter and return?
<Synthead> workmad3: I'm on a laptop with only one key. I'm doing some puts junk to get the keycodes atm.
digitalcakestudi has joined #ruby
<Synthead> workmad3: I'm not sure.
<workmad3> Synthead: hmm... my laptop only has a return
xargoon has joined #ruby
<workmad3> Synthead: however, I frequently refer to it as 'enter' :)
<workmad3> (because hell, who wants to make things easy? :) )
<Mon_Ouie> shellox: when 'a', 'blah' then
neohunter has quit [Quit: Leaving...]
udante has quit [Quit: Linkinus - http://linkinus.com]
<Synthead> workmad3: baaah I'm being attacked by darts
<workmad3> ?
<Synthead> workmad3: this code controls a usb dart gun, hah
<workmad3> :)
<workmad3> enter/return mismatch?
<Synthead> workmad3: I'm watching for the mysterious ENTER and keycode 10 now
daze21 has quit [Quit: Page closed]
<Synthead> how would I watch for key presses and key releases? I'm looking to be able to hold down a key without sending the code multiple times
xaxisx has quit [Quit: xaxisx]
<workmad3> that depends on a lot of things
gtuckerkellogg has joined #ruby
<workmad3> not sure in ruby... I used to do that sort of thing in C++, it depended a lot of the library I was using
<Synthead> workmad3: if it's only linux and non-portable, that's okay
`gregorg` has joined #ruby
gregorg_taf has quit [Read error: Connection reset by peer]
<workmad3> you'd need to check if you can even register key event handlers with curses first, I'd guess
<workmad3> assuming you need to use curses... otherwise, you need to look at how to do a similar sort of event loop yourself
cj3kim has quit [Ping timeout: 276 seconds]
<workmad3> and then you need to find out if you'll get a single keydown/keypress/keyup set of events with multiple keypress events for long presses, or if you'll get keydown/keypress pairs for long holds
baniseterfiend` has joined #ruby
foo-bar- has quit [Remote host closed the connection]
<workmad3> it's been a while since I've done any of this, so I don't have any real answers to hand
<workmad3> just what I remember having fun with in the past :)
xiaotian has joined #ruby
ChampS666 has quit [Ping timeout: 244 seconds]
phantasm66 has joined #ruby
banuster has joined #ruby
baniseterfiend` has quit [Ping timeout: 260 seconds]
test34 has joined #ruby
ChampS666 has joined #ruby
jeff_sebring has joined #ruby
test34- has joined #ruby
test34- has quit [Changing host]
test34- has joined #ruby
test34 has quit [Ping timeout: 240 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
nowthatsamatt has joined #ruby
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
schickung has joined #ruby
tewecske has quit [Quit: Leaving.]
proghat has quit [Ping timeout: 260 seconds]
ryanf has quit [Quit: leaving]
etehtsea has quit []
dbgster has joined #ruby
chessguy has joined #ruby
indian has quit [Ping timeout: 245 seconds]
frogstarr78 has quit [Remote host closed the connection]
cj3kim has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
frogstarr78 has joined #ruby
pacci has joined #ruby
<pacci> !list
cj3kim has joined #ruby
banuster is now known as banisterfiend
shellox has quit [Ping timeout: 244 seconds]
akem has joined #ruby
ChampS666 has quit [Ping timeout: 248 seconds]
crond has joined #ruby
pacci has quit []
ipoval has quit [Quit: ipoval]
perryh is now known as perryh_away
markp has quit [Quit: Leaving]
stephenjudkins has joined #ruby
walterheck has joined #ruby
theRoUS_ has quit [Read error: Connection reset by peer]
td123 has quit [Ping timeout: 260 seconds]
theRoUS_ has joined #ruby
AlbireoX`Laptop has quit [Remote host closed the connection]
td123 has joined #ruby
<deryl> ahhh yes, the editor that wants to be an operating system ;)
peterhil` has quit [Ping timeout: 272 seconds]
<banisterfiend> the problem with the editor wars is the jokes stay the same, for the last 20 years
jeff_sebring has quit [Remote host closed the connection]
<banisterfiend> so we all lose, as we all have to endure recycled jokes ad nauseum
<deryl> usually because the editors continue down the same paths
<deryl> <grin>
ChampS666 has joined #ruby
jeff_sebring has joined #ruby
h4mz1d has joined #ruby
[Neurotic] has joined #ruby
<shevy> hmm
<shevy> what if the world would be better without emacs?
hamfz_ has joined #ruby
<shevy> hmm ok... cant be... matz uses emacs :\
stephenjudkins has quit [Quit: stephenjudkins]
woopino has quit [Quit: Leaving]
stephenjudkins has joined #ruby
otters has quit [Quit: WeeChat 0.3.8]
maletor has quit [Quit: Computer has gone to sleep.]
otters has joined #ruby
dbgster has quit [Quit: dbgster]
niku4i has joined #ruby
socomm has quit [Quit: leaving]
banisterfiend has quit [Ping timeout: 245 seconds]
schickung has quit [Quit: schickung]
td123 has quit [Read error: Connection reset by peer]
sorbo_ has joined #ruby
gentz has joined #ruby
Markvilla has quit [Quit: Markvilla]
<borys_b_timakov> any good references on RubyMine?
liluo has joined #ruby
Markvilla has joined #ruby
sorbo_ has left #ruby [#ruby]
walterheck has quit [Quit: Computer has gone to sleep]
borys_b_timakov has quit [Remote host closed the connection]
niklasb has quit [Ping timeout: 244 seconds]
looopy has joined #ruby
ciopte7 has quit [Quit: ciopte7]
akem has quit [Ping timeout: 240 seconds]
ciopte7 has joined #ruby
AlbireoX`Laptop has joined #ruby
AlbireoX`Laptop has quit [Remote host closed the connection]
td123 has joined #ruby
baniseterfiend` has joined #ruby
Yarou_ has joined #ruby
jenrzzz-mac has joined #ruby
nooodl has quit [Ping timeout: 245 seconds]
Yarou has quit [Ping timeout: 244 seconds]
seanstickle has joined #ruby
Foxandxss has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
xiaotian has quit [Quit: Computer has gone to sleep.]
akem has joined #ruby
Spooner has quit [Ping timeout: 245 seconds]
punkrawkR has quit [Read error: Connection reset by peer]
bosphorus has quit [Remote host closed the connection]
bosphorus has joined #ruby
libertyprime has quit [Quit: Lost terminal]
fserb has quit [Quit: ttyl]
ramblex has quit [Quit: ramblex]
robotmay has quit [Remote host closed the connection]
workmad3 has quit [Read error: Operation timed out]
eph3meral has joined #ruby
<eph3meral> is the falcon patch still relevant/desirable for p194 ?
<deryl> yes on both counts
<eph3meral> ok cool thanks
bosphorus has quit [Ping timeout: 245 seconds]
<deryl> if using rvm, rvm install 1.9.3-p194 --patch falcon if you alraedy have it installed: rvm reinstall 1.9.3-p194 --patch falcon AFTER you do an rvm get head (or stable if thats what you're running)