fflush changed the topic of #ruby to: Ruby 1.9.3-p194: http://ruby-lang.org || Paste > 3 lines of text on pastebin.com
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
angelself2 has joined #ruby
<angelself2> join this www.thevoid1.net newsltklette
angelself2 has quit [Client Quit]
emsilva has quit [Ping timeout: 244 seconds]
chussenot has quit [Quit: chussenot]
baroquebobcat_ has quit [Quit: baroquebobcat_]
jonahR has quit [Quit: jonahR]
awarner has joined #ruby
tastycakeman has quit [Ping timeout: 276 seconds]
chichou has quit [Remote host closed the connection]
Markvilla has quit [Quit: Leaving.]
chichou has joined #ruby
nari has quit [Ping timeout: 240 seconds]
benson has quit [Remote host closed the connection]
Markvilla has joined #ruby
Markvilla has quit [Client Quit]
bricker88 has quit [Quit: Leaving.]
kenneth has quit [Quit: kenneth]
Konboi has joined #ruby
adelcampo has quit [Quit: Leaving...]
poga has joined #ruby
Markvilla has joined #ruby
skilcraf1 is now known as skilcraft
darren has quit [Remote host closed the connection]
jeffnappi has joined #ruby
Chryson has joined #ruby
flip_digits has joined #ruby
adelcampo has joined #ruby
adelcampo has quit [Client Quit]
adelcampo has joined #ruby
ReachingFarr has quit [Quit: ReachingFarr]
headius has quit [Quit: headius]
w0lverine has quit [Quit: w0lverine]
Stalkr_ has quit [Quit: Leaving...]
jrajav has joined #ruby
kpshek has quit [Read error: Connection reset by peer]
kpshek has joined #ruby
adac has quit [Quit: Leaving]
shadda has quit [Excess Flood]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
shadda has joined #ruby
zii has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has quit [Quit: Leaving]
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
zii has joined #ruby
emsilva has joined #ruby
emsilva has quit [Changing host]
emsilva has joined #ruby
stephenjudkins has joined #ruby
fearoffish has quit [Quit: Computer has gone to sleep.]
kenichi has quit [Remote host closed the connection]
RegEchse has quit [Quit: <3 WeeChat (v0.3.9-dev)]
mxweas has quit [Quit: Computer has gone to sleep.]
mxweas has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
adelcampo has quit [Quit: Linkinus - http://linkinus.com]
chimkan has quit [Quit: chimkan]
Emmanuel_Chanel has joined #ruby
balki_ is now known as balki
kenneth has joined #ruby
sevvie_ has joined #ruby
n_blownapart has joined #ruby
ianbrandt has quit [Quit: ianbrandt]
sevvie has quit [Ping timeout: 240 seconds]
sevvie_ is now known as sevvie
mxweas has quit [Quit: Computer has gone to sleep.]
<n_blownapart> hi from the command line I type irb -rrbconfig, then from irb Config::CONFIG{"rubylibdir"] to get into standard library. error message says roughly: do not use archaic name, us rbConfig::CONFIG["rubylibdir"]. is that correct. I get errors when I try it.
mxweas has joined #ruby
virunga has quit [Quit: Sto andando via]
phinfonet has joined #ruby
jrist-afk is now known as jrist
brdude has quit [Quit: brdude]
x77686d has quit [Ping timeout: 244 seconds]
<kirill> n_blownapart: the fact u're using irb instead of pry disappoints me greatly, and to punish you, i will not help you
pedrohenrique has quit [Ping timeout: 244 seconds]
EPIK has quit []
<n_blownapart> kirill: I couldn't get it to work on pry.
<n_blownapart> either
<kirill> n_blownapart: RbConfig
<kirill> not rbConfig
<n_blownapart> thanks are you a henchman of Banisterfiend?
piotr_ has quit [Ping timeout: 246 seconds]
<n_blownapart> kirill: ^
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
BrokenCo1 has quit [Quit: leaving]
phinfonet has quit [Client Quit]
emmanuelux has quit [Remote host closed the connection]
<n_blownapart> ok, kirill believe me I like colors over no colors...
adamkittelson has quit [Ping timeout: 240 seconds]
Markvilla has quit [Quit: Leaving.]
<kirill> n_blownapart: did u see the gist? try that
g_rotbart has joined #ruby
<n_blownapart> kirill: thanks but do I need to load pry with pry -rrbconfig?
<kirill> n_blownapart: pry loads that file anyway, i think. So you shouldn't have to load it like that
<n_blownapart> btw kirill I ended up with a well-Grounded Rubyist and I'm going through like a bandit. oh, ok thanks I'll try.
<kirill> n_blownapart: cool
kenneth has quit [Quit: kenneth]
sepp2k has quit [Remote host closed the connection]
<kirill> n_blownapart: goodluck
davidcelis has quit [Quit: K-Lined.]
jonahR has joined #ruby
<n_blownapart> thanks, once I get filepath, how do list contents in pry? kirill
<jonahR> ls
<kirill> n_blownapart: contents of what
<n_blownapart> jonahR: doesn't work I get pry stuff , I think
<n_blownapart> ls of standard lib. subdirectory to inspect files such as cgi.rb ,etc. kirill
<jonahR> system("ls")
<kirill> n_blownapart: .ls
<kirill> prepend a '.'
<jonahR> holy crap
<kirill> pry lets you execute arbitrary shell commands by prepending a '.'
<holy> no hl pls :3
<jonahR> nice
<n_blownapart> that lists my hard drive files kirill. :(
<kirill> n_blownapart: i dont know what you're asking me
<kirill> n_blownapart: files like cgi.rb exist on your harddrive, you realize that right? :)
ringotwo has quit [Remote host closed the connection]
<kirill> n_blownapart: so you want to list files where? in what directory?
<n_blownapart> yes, thanks, but I'm looking for the directory: rubylibdir in ~/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1"
<n_blownapart> kirill:
<otters> pry also has a massive startup time
<kirill> otters: takes 1 second for me
<n_blownapart> otters: worth pretty colors
<otters> yeah
<otters> well
<otters> everything that starts up on my computer takes too long
<otters> maybe I need an SSD
<kirill> otters: well if 'everything' takes long, then dont pick on pry ;) get a new computer
dhruvasagar has quit [Ping timeout: 240 seconds]
justsee is now known as justsee|away
<kirill> n_blownapart: https://gist.github.com/3300093
tommyvyo has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
brianpWins has quit [Quit: brianpWins]
Araxia has quit [Quit: Araxia]
justsee|away is now known as justsee
<n_blownapart> interpolate? that is interesting kirill thanks.
<kirill> Yeah
<kirill> interpolation ftw :)
<kirill> u can do stuff like this too
<kirill> f = hello.rb
<kirill> .cat #{f}
<n_blownapart> yeah I was trying to use cat so I'll add prepend . kirill thanks
<kirill> n_blownapart: oh the 'cat' command works too
<n_blownapart> cool
<kirill> it's cleverer than standard shell cat as it detects file types and syntax highlights them properly
<kirill> it can recognize c++, C, ruby, python, xml, yaml, rakefiles, gemfiles, etc
<kirill> and highlights them accordingly
<n_blownapart> kirill: you dont need to sell me, I swear the color variation makes coding very pleasant.
rodasc is now known as crodas
<kirill> n_blownapart: im not selling, im just telling you what it can do :)
<n_blownapart> I know so little, but I use pry until the book tells me to switch to sublime2
sevvie has quit [Read error: Connection reset by peer]
<codora> https://en.wikipedia.org/wiki/Rochdale_Principles#Education.2C_training.2C_and_information hmm. </random>
stkowski has quit [Quit: stkowski]
mfridh has quit [Read error: Operation timed out]
fermion has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<n_blownapart> kirill: sweet can't wait to really use it.
mascool has quit [Ping timeout: 240 seconds]
pnbeast has joined #ruby
headius has joined #ruby
liluo has joined #ruby
<n_blownapart> kirill: hey that f = cgi.rb ... .cat #{f} didn't work like the previous 0 = RbConfig. etc. did I miss something?
opus has quit [Quit:]
pdtpatrick has quit [Quit: pdtpatrick]
pdtpatrick_ is now known as pdtpatrick
<kirill> n_blownapart: f = "cgi.rb"
zodiak has quit [Remote host closed the connection]
pdtpatrick has quit [Quit: pdtpatrick]
conorwade has joined #ruby
techsurvivor has left #ruby ["WeeChat 0.3.8"]
randomautomator has quit [Remote host closed the connection]
<otters> kirill: it's pretty new
<kirill> otters: well something must be wrong if everything takes a long time to start, even without an ssd. Guess it depends whatyoure expectations are htough
kenneth has joined #ruby
<n_blownapart> kirill: sorry I can't seem to open files using any sort of cat command
kenneth has quit [Client Quit]
<otters> kirill: not everything, just firefox, opera, and pry
<otters> but actually firefox has been performing better
<jonahR> try this: .cat "#{o}/#{f}"
<kirill> otters: how long does pry take? and what ruby version are you using?
<jonahR> keeping in mind that f = cgi.rb and o was the rubylibdir
<otters> maybe 2 seconds
<kirill> jonahR: did that work for u?
<otters> ruby 1.9.4
<jonahR> yes
<otters> 1.9.3 rather
<kirill> otters: 1.9.4 ?! what is that?
<kirill> oh ok
justsee is now known as justsee|away
<otters> it's called a "typo"
<kirill> otters: this is without any plugins?
<otters> no, it's got the readline syntax highlighter thing
<otters> pry-coolline
<otters> pry is faster when I uninstall it
<otters> and is also less broken
<jonahR> kirill: did it work?
<kirill> otters: what's broken about it with coolline installed?
<kirill> jonahR: should do
<n_blownapart> jonahR: kirill sweet that works
<otters> kirill: if you start pry, then start typing before the prompt comes up, it doesn't remember anything you typed
<jonahR> ;)
darren has joined #ruby
<kirill> otters: oh ok
<kirill> otters: you should switch back to irb
excelsior has quit [Ping timeout: 265 seconds]
shadda has quit [Quit: Terminated with extreme prejudice - dircproxy 1.0.5]
<otters> yeah, maybe
<kirill> otters: you're probably not using any advacned pry features anyway
<otters> I doubt it
friskd_ has joined #ruby
<kirill> otters: irb could be a better choice for noobs i think
<otters> yeah, I think "noob" is a little insulting
<otters> but I don't require the advanced features of pry, not at the moment
<kirill> otters: you're not new to ruby? :)
yoklov has quit [Quit: computer sleeping]
<kirill> you seem kind of new
<otters> nah, I've been using it for a couple years
berserkr has joined #ruby
<kirill> hmm, surprising
<otters> I'd say it's probably my best language
friskd has quit [Ping timeout: 265 seconds]
friskd_ is now known as friskd
<kirill> i figured you'd only been using it a couple of weeks
<otters> because of my pry problems?
yasushi has joined #ruby
<otters> I'm definitely new to pry
<otters> installed it probably four days ago
adeponte has quit [Remote host closed the connection]
yasushi has quit [Remote host closed the connection]
pnbeast has left #ruby [#ruby]
<kirill> nah, just a general impression by your chat on channel, i just picked that you werne't that experienced
<kirill> (not with pry in particular)
yasushi has joined #ruby
<otters> probably because of my use of the vague words "thing" and the wrong ruby version
<otters> s/words/word/
<otters> I could have sworn ruby 1.9.4 was the earliest version, but now I see that it's actually 1.9.3-p194
darren has quit [Ping timeout: 276 seconds]
<otters> that's where the confusion came from
<otters> *newest
<otters> I'm making a right pig's ear of it, aren't I
<eam> kirill: is it necessary to be such a dick?
<jonahR> word
<otters> I thought it was an honest observation
<kirill> it was..
<kirill> i thought you were new, that's all
dimday has joined #ruby
<otters> yeah, cool your jets, everybody
<otters> kirill: ask me an advanced ruby question
<jonahR> gem install nyancat
<jonahR> all problems go away...
<otters> wow, there is actually a nyancat gem
<kirill> otters: sure
<kirill> otters: one second
<jonahR> its awesome hahah
yasushi has quit [Ping timeout: 240 seconds]
<otters> holy crap, an ascii nyan cat
<otters> what is this strange new world
classix has quit [Remote host closed the connection]
<jonahR> try CTRL + C
<jonahR> YOU NYANED FOR 60.06 SECONDS
<jonahR> its crazy
<jonahR> *it's
<otters> I have to ^D
<otters> oh wait no, you're right
savage- has quit [Ping timeout: 252 seconds]
<otters> and it expands to fill vertical width, but not horizontal :|
punknology has joined #ruby
<kirill> otters: what is the difference in between the follow, and why? :) o = Class.new; o.instance_eval { def hello; end } and o.instance_eval { define_method(:hello) {} }
<kirill> following
punknology has quit [Client Quit]
chimkan has joined #ruby
w400z has quit []
<kirill> otters: and where does 'hello' get defined in each case :P
<kirill> (and why:P)
n_blownapart has quit [Remote host closed the connection]
<otters> isn't define_method a class method?
<otters> so let's see
<kirill> feel free to play in irb of course
justsee|away is now known as justsee
<otters> example 1 creates a class method, example 2 creates an instance method
skilcraft has quit [Quit: leaving]
<kirill> otters: Yep, but why? why should 'def' and 'define_method' behave diffrently in that situation?
<otters> yeah
<kirill> whereas in most situations they're kind of the same
<otters> because o is an instance of Class, so a "class instance method" is a class method
<otters> but define_method is a class method that creates an instance method
<otters> or rather, defines
<otters> no irb necessary
<otters> I was expecting you to bring something out about callcc or something
<otters> which would have stumped me, because I can't continuations
<kirill> but i dont understand your answer
<otters> oh
<otters> okay
classix has joined #ruby
<kirill> why does 'def' create a class method in this case? and define_method create an instance method? when in this sitation
<kirill> class Hello; def hello; end; define_method(:goodbye) {} ; end
<kirill> you get two instance methods
stephenjudkins has quit [Quit: stephenjudkins]
<otters> yeah but o is an instance of Class
<kirill> so is Hello in the case of: class Hello
ringotwo has joined #ruby
zeen has joined #ruby
<kirill> it's also an instance of Class :P; Hello.class #=> Class
<otters> right
<otters> I know why I'm right, but I can't explain it
<otters> o.instance_eval { def hello; end } is the same as def o.hello; end
<kirill> yes
<kirill> but 'why' :)
<kirill> that's the question im asking
freeayu has quit [Ping timeout: 256 seconds]
<kirill> why is it equivalent to def o.hello; end when define_method(:hello) {} by contrast creates instance methods
friskd has quit [Quit: friskd]
<kirill> so something weird is going on with the 'def' keyword in that situation...
<kirill> otters: because in this situation they're equivalent: o.class_eval { def hello; end define_method(:hello) {} }
friskd has joined #ruby
rakm has joined #ruby
<kirill> so what is instance_eval doing differently to class_eval
<otters> idk
<otters> what
friskd_ has joined #ruby
_jorge has joined #ruby
<kirill> mksm: i know the answer already, otters asked me to ask him a tricky question taht's all :)
chichou has quit [Remote host closed the connection]
<otters> well, so explain it to me
krz has quit [Quit: krz]
<otters> instance_eval evaluates the block in the context of the receiver
<kirill> otters: not exactly
<kirill> if it evaluated the block in the context of the receiver then: class Hello; end; Hello.instance_eval { def hello; end } would be equivalent to: class Hello; def hello; end; end
<kirill> which it isnt
<jrajav> For anyone who doesn't know yet
<jrajav> >> puts 'Hi I interpret Ruby'
<al2o3cr> Hi I interpret Ruby
<jrajav> :D
_jorge has quit [Remote host closed the connection]
<mksm> what ...
<otters> kirill: so explain it
<mksm> >> puts 'whazap'
<al2o3cr> whazap
jonnn has joined #ruby
<mksm> :O
friskd has quit [Ping timeout: 245 seconds]
friskd_ is now known as friskd
_jorge has joined #ruby
<kirill> otters: ruby has 3 different implicit selfs that matter at any point, there's the 'self' returns by 'self' Hello.instance_eval { self } #=> Hello
<jrajav> For now, you have to actually puts or p anything that you want it to print
<jrajav> That will change soon
<jonahR> >> puts RUBY_VERSION
<al2o3cr> 1.9.3
<otters> kirill: you're right, I had no idea about this
<otters> I guess you can tell I just picked ruby up yesterday
<kirill> otters: and there's the 'self' where constants are defined: Hello.instance_eval { Goodbye = :hi }
uris has joined #ruby
<mksm> jrajav: neat, I just hope it's safe
<otters> >> puts IO.class
<al2o3cr> Class
<jrajav> It's locked down pretty right in a chroot
<otters> >> IO.popen("uname -a", "r") { |f| puts f.read }
<al2o3cr> stderr:
<al2o3cr> from r_otters.rb:1:in `<main>'
<al2o3cr> r_otters.rb:1:in `popen': No such file or directory - uname -a (Errno::ENOENT)
<jrajav> Which is itself inside a linux VM that's running nothing but the bot
<jrajav> So yeah
<kirill> otters: in that case, Goodbye is not defined under Hello, it's in fact defind at top-level, so the 'self' which Goodbye is using is not the 'self' inside the block (Hello)
<jrajav> Also, the chroot has no binaries or libs except 'sudo', 'ruby', and what they need
<jrajav> :P
freeayu has joined #ruby
<kirill> otters: there's also the third self which is where methods are defined using 'def'
<otters> ok
<kirill> otters: in the case of class_eval: Hello.class_eval { def hi; end } the self where methods are defined is the same as the receiver, so in the case just before, 'hi' is defined on Hello
jonnn has quit [Client Quit]
<kirill> otters: but in the case of instance_eval, the 'self' where methods are defined is actually on the eigenclass of the receiver
<kirill> otters: so: Hello.instance_eval { def hi; end } 'hi' is defined on Hello.singleton_class instead
<jonahR> >> puts Dir.entries(Dir.pwd)
<al2o3cr> stdout too long, PMed
<otters> okay
Hanmac1 has joined #ruby
<mksm> >> p Thread.start {}.kill
<al2o3cr> #<Thread:0x00000000c11d30 aborting>
<jonahR> evil
Hanmac has quit [Read error: Operation timed out]
friskd has quit [Quit: friskd]
<mksm> well i'm not gonna break it :P
<otters> I did not even know about metaclasses
<otters> TIL
bradhe has quit [Remote host closed the connection]
<kirill> otters: so, this is pretty interesting: assume we're at top-level, and we do this: Hello.instance_eval { } there are actually 3 distinct selves which are used inside that block: 1. the normal 'self' (returned by 'self' keyword) this is where methos defined usine define_method are defined. 2. the 'self' where constants are defined, in this case it's equivalent to Object, and 3. the self where methods are defined using 'def', which is on
<kirill> the eigenclass of Hello. So the 3 selves are: 1. Hello, 2. Object, 3. eigenclass of Hello
<kirill> :)
<otters> heh, "eigen"
<kirill> otters: more info here, pretty interesting article: http://yugui.jp/articles/846
gen0cide_ has joined #ruby
holy has quit [Read error: Connection reset by peer]
erichmenge has quit [Quit: Linkinus - http://linkinus.com]
<kirill> otters: i can ask a less theoretical question if u want
erichmenge has joined #ruby
<otters> okay so class << some_instance; def foo; end; end
<otters> that defines "foo" on some_instance's eigenclass
<otters> what is some_instance's eigenclass?
<kirill> Yeah
<otters> is it equivalent to some_instance.class?
<kirill> no, but it should be :)
a_a_g has joined #ruby
<kirill> eigenclass is like a special class created specifically for that instance
<otters> I see
<jrajav> By the way, please try to break the bot if you can :)
<jrajav> If there are any holes I'd like to know about them sooner rather than later
<kirill> if you introspect on the actual lookup chain (from C) you'll see the eigenclass is the immediate class of the instance, and its' a direct subclass of the 'actual' class of the object
<otters> so class << foo; def self.hi; "foo"; end; end
<otters> foo is now inaccessible without opening the eigenclass
<otters> so without some clever metaprogramming
<kirill> otters: so, say you had: o = "hello"; def o.hello; "hi"; end then the 'actual' class of o is String, but the immediate class of o is the eigenclass of o, and the eigenclass of o is a subclass of String
<mksm> >> p 1_000.times { Thread.start { loop { rand } } }
<otters> so o.eigenclass.class == String
<kirill> otters: hehe, in that code there oyu actually put 'hi' on the eigenclass of the eigenclass of o
<kirill> of foo
<kirill> otters: nah, o.eigenclass.superclass == String
<mksm> >> p "i'm still here'
<al2o3cr> stderr:
<al2o3cr> r_mksm.rb:1: unterminated string meets end of file
<otters> superclass is what I meant
<kirill> Yeah
<kirill> that's right
<kirill> otters: i'll show u a little diagram one sec
<mksm> >> p system('date')
<al2o3cr> nil
<mksm> >> p system('ruby ǘ')
<al2o3cr> stderr too long, PMed
<mksm> >> p system('ruby -v')
<al2o3cr> ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
<al2o3cr> true
<mksm> >> p system('which ruby')
<al2o3cr> nil
<jonahR> >> puts system('uname -a')
<mksm> >> p system('cat /proc/cpuinfo')
<al2o3cr> nil
<otters> infinite eigenclasses
yoklov has joined #ruby
<kirill> Yeah, u can go as deep as you want with eigenclasses
holy has joined #ruby
<kirill> the deepest i've had to go was only to about the second level eigenclass
jillsmitt_ has quit [Ping timeout: 246 seconds]
<mksm> >> p Thread.current
<al2o3cr> #<Thread:0x00000000df50c0 run>
<mksm> >> p Thread.current
<al2o3cr> #<Thread:0x000000007560c0 run>
<jonahR> >> p system('cat /etc/passwd')
<al2o3cr> nil
<jonahR> haha
<otters> so "methods" looks in the eigenclass
jillsmitt has quit [Ping timeout: 256 seconds]
mrsolo has quit [Quit: Leaving]
paradoja has quit [Remote host closed the connection]
<mksm> >> p Process.pid
<al2o3cr> 3474
<mksm> >> p Process.pid
<al2o3cr> 3480
<kirill> otters: well, when it comes to the MRO (method resolution order), the eigenclass is the first place that is checked
<kirill> otters: then the class, then its superclass, and its superclass etc
khakimov has quit [Quit: Computer has gone to sleep.]
<kirill> otters: BasicObject is the last place checked
<mksm> >> p Process.ppid
<al2o3cr> 3496
<mksm> >> p Process.ppid
<al2o3cr> 3502
<kirill> in fact, modules included in BasicObject would be the last place checked
<otters> I see
vitoravelino`afk is now known as vitoravelino
<otters> hopefully I will never have to use all this in a production application
<mksm> >> p system('ps a')
<al2o3cr> nil
<kirill> otters: it's only relevant if you're doing metaprogramming stuff
<otters> >> p system('echo hi')
<al2o3cr> nil
<otters> >> p system('ruby -e "puts hi"')
<al2o3cr> nil
<mksm> >> p Dir['/proc/*']
<al2o3cr> []
<otters> p system('which ruby')
<kirill> otters: though a confused understanding of this stuff coudl result in some hard to find bugs in normal apps if your mental model is all wrong
<mksm> >> p Dir['/**/*']
<al2o3cr> ["/r_mksm.rb", "/usr", "/usr/include", "/usr/include/node", "/usr/include/node/v8-profiler.h", "/usr/include/node/node.h", "/usr/include/node/ares_version.h", "/usr/include/node/uv.h", "/usr/include/node/v8.h", "/usr/include/node/v8-debug.h", "/usr/include/node/node_buffer.h", "/usr/include/node/node_version.h", "/usr/include/node/v8stdint.h", "/usr/include/node/uv-private", "/usr/include/node/uv-private/ngx-queue.h", ...
<al2o3cr> ... "/usr/include/node/uv-private/uv-unix.h", "/usr/include/node/uv-private/eio.h", "/usr/include/node/uv-private/uv-win.h", "/usr/include/node/uv-private/tree.h", "/usr/include/node/uv-private/ev.h", "/usr/include/node/eio-emul.h", "/usr/include/node/v8-testing.h", "/usr/include/node/node_object_wrap.h", "/usr/include/node/v8-preparser.h", "/usr/include/node/ev-emul.h", "/usr/include/node/ares.h", "/usr/bin", "/usr/bin/ruby", "/usr/bin/sudo", "/usr/lib", ...
<al2o3cr> ... "/usr/lib/node", "/usr/lib/node/wafadmin", "/usr/lib/ruby", "/usr/lib/ruby/gems", "/usr/lib/ruby/gems/1.9.1", "/usr/lib/ruby/gems/1.9.1/gems", "/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2", "/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin", "/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake", "/usr/lib/ruby/gems/1.9.1/gems/rdoc-3.9.4", "/usr/lib/ruby/gems/1.9.1/gems/rdoc-3.9.4/bin", "/usr/lib/ruby/gems/1.9.1/gems/rdoc-3.9.4/bin/rdoc", ...
<al2o3cr> ... "/usr/lib/ruby/gems/1.9.1/specifications/bigdecimal-1.1.0.gemspec", "/usr/lib/ruby/gems/1.9.1/cache", "/usr/lib/ruby/gems/1.9.1/cache/sandrbox-0.1.0.gem", "/usr/lib/ruby/1.9.1", "/usr/lib/ruby/1.9.1/pathname.rb", "/usr/lib/ruby/1.9.1/tkafter.rb", "/usr/lib/ruby/1.9.1/ripper", "/usr/lib/ruby/1.9.1/ripper/sexp.rb", "/usr/lib/ruby/1.9.1/ripper/core.rb", "/usr/lib/ruby/1.9.1/ripper/filter.rb", "/usr/lib/ruby/1.9.1/ripper/lexer.rb", ...
<al2o3cr> ... "/usr/lib/ruby/gems/1.9.1/gems/rdoc-3.9.4/bin/ri", "/usr/lib/ruby/gems/1.9.1/doc", "/usr/lib/ruby/gems/1.9.1/specifications", "/usr/lib/ruby/gems/1.9.1/specifications/json-1.5.4.gemspec", "/usr/lib/ruby/gems/1.9.1/specifications/rake-0.9.2.2.gemspec", "/usr/lib/ruby/gems/1.9.1/specifications/minitest-2.5.1.gemspec", "/usr/lib/ruby/gems/1.9.1/specifications/rdoc-3.9.4.gemspec", "/usr/lib/ruby/gems/1.9.1/specifications/io-console-0.3.gemspec", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/racc", "/usr/lib/ruby/1.9.1/racc/parser.rb", "/usr/lib/ruby/1.9.1/rubygems", "/usr/lib/ruby/1.9.1/rubygems/version.rb", "/usr/lib/ruby/1.9.1/rubygems/user_interaction.rb", "/usr/lib/ruby/1.9.1/rubygems/gem_path_searcher.rb", "/usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb", "/usr/lib/ruby/1.9.1/rubygems/text.rb", "/usr/lib/ruby/1.9.1/rubygems/server.rb", "/usr/lib/ruby/1.9.1/rubygems/install_update_options.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rubygems/source_index.rb", "/usr/lib/ruby/1.9.1/rubygems/ssl_certs", "/usr/lib/ruby/1.9.1/rubygems/ssl_certs/AddTrustExternalCARoot.pem", "/usr/lib/ruby/1.9.1/rubygems/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem", "/usr/lib/ruby/1.9.1/rubygems/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem", "/usr/lib/ruby/1.9.1/rubygems/ssl_certs/ca-bundle.pem", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rubygems/custom_require.rb", "/usr/lib/ruby/1.9.1/rubygems/platform.rb", "/usr/lib/ruby/1.9.1/rubygems/commands", "/usr/lib/ruby/1.9.1/rubygems/commands/owner_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/generate_index_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/fetch_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/server_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/cert_command.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rubygems/commands/outdated_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/sources_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/pristine_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/environment_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/rdoc_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/stale_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/build_command.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rubygems/commands/list_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/specification_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/cleanup_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/search_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/push_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/query_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/install_command.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rubygems/commands/uninstall_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/dependency_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/setup_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/contents_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/help_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/lock_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/which_command.rb", ...
<otters> well, I don't use it much.
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rubygems/commands/check_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/update_command.rb", "/usr/lib/ruby/1.9.1/rubygems/commands/unpack_command.rb", "/usr/lib/ruby/1.9.1/rubygems/defaults.rb", "/usr/lib/ruby/1.9.1/rubygems/package", "/usr/lib/ruby/1.9.1/rubygems/package/tar_header.rb", "/usr/lib/ruby/1.9.1/rubygems/package/f_sync_dir.rb", "/usr/lib/ruby/1.9.1/rubygems/package/tar_test_case.rb", ...
Juul has quit [Ping timeout: 272 seconds]
<otters> oh jesus christ.
_jorge has quit [Remote host closed the connection]
<xiphiasx_> i alt+tab'd to this?!
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tk/menu.rb", "/usr/lib/ruby/1.9.1/tk/after.rb", "/usr/lib/ruby/1.9.1/tk/validation.rb", "/usr/lib/ruby/1.9.1/tk/busy.rb", "/usr/lib/ruby/1.9.1/tk/texttag.rb", "/usr/lib/ruby/1.9.1/tk/palette.rb", "/usr/lib/ruby/1.9.1/tk/labelframe.rb", "/usr/lib/ruby/1.9.1/tk/checkbutton.rb", "/usr/lib/ruby/1.9.1/tk/mngfocus.rb", "/usr/lib/ruby/1.9.1/tk/fontchooser.rb", "/usr/lib/ruby/1.9.1/tk/kinput.rb", "/usr/lib/ruby/1.9.1/tk/selection.rb", ...
* mksm ducks
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tk/font.rb", "/usr/lib/ruby/1.9.1/tk/scrollable.rb", "/usr/lib/ruby/1.9.1/tk/dialog.rb", "/usr/lib/ruby/1.9.1/tk/toplevel.rb", "/usr/lib/ruby/1.9.1/tk/frame.rb", "/usr/lib/ruby/1.9.1/tk/clock.rb", "/usr/lib/ruby/1.9.1/tk/grid.rb", "/usr/lib/ruby/1.9.1/tk/button.rb", "/usr/lib/ruby/1.9.1/tk/canvastag.rb", "/usr/lib/ruby/1.9.1/tk/pack.rb", "/usr/lib/ruby/1.9.1/tk/bgerror.rb", "/usr/lib/ruby/1.9.1/tk/textwindow.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tk/autoload.rb", "/usr/lib/ruby/1.9.1/tk/composite.rb", "/usr/lib/ruby/1.9.1/tk/clipboard.rb", "/usr/lib/ruby/1.9.1/tk/label.rb", "/usr/lib/ruby/1.9.1/tk/scrollbox.rb", "/usr/lib/ruby/1.9.1/tk/scale.rb", "/usr/lib/ruby/1.9.1/tk/place.rb", "/usr/lib/ruby/1.9.1/tk/winpkg.rb", "/usr/lib/ruby/1.9.1/tk/timer.rb", "/usr/lib/ruby/1.9.1/tk/encodedstr.rb", "/usr/lib/ruby/1.9.1/tk/macpkg.rb", "/usr/lib/ruby/1.9.1/tk/virtevent.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tk/package.rb", "/usr/lib/ruby/1.9.1/tk/console.rb", "/usr/lib/ruby/1.9.1/resolv-replace.rb", "/usr/lib/ruby/1.9.1/time.rb", "/usr/lib/ruby/1.9.1/irb", "/usr/lib/ruby/1.9.1/irb/magic-file.rb", "/usr/lib/ruby/1.9.1/irb/version.rb", "/usr/lib/ruby/1.9.1/irb/ruby-token.rb", "/usr/lib/ruby/1.9.1/irb/src_encoding.rb", "/usr/lib/ruby/1.9.1/irb/lc", "/usr/lib/ruby/1.9.1/irb/lc/help-message", "/usr/lib/ruby/1.9.1/irb/lc/ja", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/irb/lc/ja/help-message", "/usr/lib/ruby/1.9.1/irb/lc/ja/encoding_aliases.rb", "/usr/lib/ruby/1.9.1/irb/lc/ja/error.rb", "/usr/lib/ruby/1.9.1/irb/lc/error.rb", "/usr/lib/ruby/1.9.1/irb/input-method.rb", "/usr/lib/ruby/1.9.1/irb/workspace.rb", "/usr/lib/ruby/1.9.1/irb/init.rb", "/usr/lib/ruby/1.9.1/irb/notifier.rb", "/usr/lib/ruby/1.9.1/irb/locale.rb", "/usr/lib/ruby/1.9.1/irb/extend-command.rb", "/usr/lib/ruby/1.9.1/irb/context.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/irb/cmd", "/usr/lib/ruby/1.9.1/irb/cmd/load.rb", "/usr/lib/ruby/1.9.1/irb/cmd/pushws.rb", "/usr/lib/ruby/1.9.1/irb/cmd/subirb.rb", "/usr/lib/ruby/1.9.1/irb/cmd/nop.rb", "/usr/lib/ruby/1.9.1/irb/cmd/help.rb", "/usr/lib/ruby/1.9.1/irb/cmd/chws.rb", "/usr/lib/ruby/1.9.1/irb/cmd/fork.rb", "/usr/lib/ruby/1.9.1/irb/help.rb", "/usr/lib/ruby/1.9.1/irb/frame.rb", "/usr/lib/ruby/1.9.1/irb/completion.rb", "/usr/lib/ruby/1.9.1/irb/xmp.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/irb/ws-for-case-2.rb", "/usr/lib/ruby/1.9.1/irb/slex.rb", "/usr/lib/ruby/1.9.1/irb/output-method.rb", "/usr/lib/ruby/1.9.1/irb/inspector.rb", "/usr/lib/ruby/1.9.1/irb/ext", "/usr/lib/ruby/1.9.1/irb/ext/save-history.rb", "/usr/lib/ruby/1.9.1/irb/ext/tracer.rb", "/usr/lib/ruby/1.9.1/irb/ext/loader.rb", "/usr/lib/ruby/1.9.1/irb/ext/change-ws.rb", "/usr/lib/ruby/1.9.1/irb/ext/workspaces.rb", "/usr/lib/ruby/1.9.1/irb/ext/use-loader.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/irb/ext/history.rb", "/usr/lib/ruby/1.9.1/irb/ext/math-mode.rb", "/usr/lib/ruby/1.9.1/irb/ext/multi-irb.rb", "/usr/lib/ruby/1.9.1/irb/ruby-lex.rb", "/usr/lib/ruby/1.9.1/json", "/usr/lib/ruby/1.9.1/json/version.rb", "/usr/lib/ruby/1.9.1/json/common.rb", "/usr/lib/ruby/1.9.1/json/add", "/usr/lib/ruby/1.9.1/json/add/core.rb", "/usr/lib/ruby/1.9.1/json/add/complex.rb", "/usr/lib/ruby/1.9.1/json/add/rational.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/json/ext.rb", "/usr/lib/ruby/1.9.1/rdoc.rb", "/usr/lib/ruby/1.9.1/monitor.rb", "/usr/lib/ruby/1.9.1/webrick.rb", "/usr/lib/ruby/1.9.1/cgi.rb", "/usr/lib/ruby/1.9.1/syck", "/usr/lib/ruby/1.9.1/syck/rubytypes.rb", "/usr/lib/ruby/1.9.1/syck/syck.rb", "/usr/lib/ruby/1.9.1/syck/constants.rb", "/usr/lib/ruby/1.9.1/syck/ypath.rb", "/usr/lib/ruby/1.9.1/syck/stream.rb", "/usr/lib/ruby/1.9.1/syck/loader.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/syck/baseemitter.rb", "/usr/lib/ruby/1.9.1/syck/tag.rb", "/usr/lib/ruby/1.9.1/syck/error.rb", "/usr/lib/ruby/1.9.1/syck/yamlnode.rb", "/usr/lib/ruby/1.9.1/syck/encoding.rb", "/usr/lib/ruby/1.9.1/syck/types.rb", "/usr/lib/ruby/1.9.1/syck/basenode.rb", "/usr/lib/ruby/1.9.1/syck/stringio.rb", "/usr/lib/ruby/1.9.1/tkscrollbox.rb", "/usr/lib/ruby/1.9.1/mutex_m.rb", "/usr/lib/ruby/1.9.1/optparse.rb", "/usr/lib/ruby/1.9.1/tk.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/drb", "/usr/lib/ruby/1.9.1/drb/drb.rb", "/usr/lib/ruby/1.9.1/drb/timeridconv.rb", "/usr/lib/ruby/1.9.1/drb/gw.rb", "/usr/lib/ruby/1.9.1/drb/invokemethod.rb", "/usr/lib/ruby/1.9.1/drb/acl.rb", "/usr/lib/ruby/1.9.1/drb/eq.rb", "/usr/lib/ruby/1.9.1/drb/extserv.rb", "/usr/lib/ruby/1.9.1/drb/unix.rb", "/usr/lib/ruby/1.9.1/drb/observer.rb", "/usr/lib/ruby/1.9.1/drb/ssl.rb", "/usr/lib/ruby/1.9.1/drb/extservm.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/cmath.rb", "/usr/lib/ruby/1.9.1/shell.rb", "/usr/lib/ruby/1.9.1/digest.rb", "/usr/lib/ruby/1.9.1/timeout.rb", "/usr/lib/ruby/1.9.1/x86_64-linux", "/usr/lib/ruby/1.9.1/x86_64-linux/digest.so", "/usr/lib/ruby/1.9.1/x86_64-linux/nkf.so", "/usr/lib/ruby/1.9.1/x86_64-linux/racc", "/usr/lib/ruby/1.9.1/x86_64-linux/racc/cparse.so", "/usr/lib/ruby/1.9.1/x86_64-linux/psych.so", "/usr/lib/ruby/1.9.1/x86_64-linux/digest", ...
<kirill> lol
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/digest/rmd160.so", "/usr/lib/ruby/1.9.1/x86_64-linux/digest/sha1.so", "/usr/lib/ruby/1.9.1/x86_64-linux/digest/sha2.so", "/usr/lib/ruby/1.9.1/x86_64-linux/digest/bubblebabble.so", "/usr/lib/ruby/1.9.1/x86_64-linux/digest/md5.so", "/usr/lib/ruby/1.9.1/x86_64-linux/etc.so", "/usr/lib/ruby/1.9.1/x86_64-linux/dl.so", "/usr/lib/ruby/1.9.1/x86_64-linux/iconv.so", "/usr/lib/ruby/1.9.1/x86_64-linux/pty.so", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/json", "/usr/lib/ruby/1.9.1/x86_64-linux/json/ext", "/usr/lib/ruby/1.9.1/x86_64-linux/json/ext/generator.so", "/usr/lib/ruby/1.9.1/x86_64-linux/json/ext/parser.so", "/usr/lib/ruby/1.9.1/x86_64-linux/ripper.so", "/usr/lib/ruby/1.9.1/x86_64-linux/readline.so", "/usr/lib/ruby/1.9.1/x86_64-linux/objspace.so", "/usr/lib/ruby/1.9.1/x86_64-linux/syck.so", "/usr/lib/ruby/1.9.1/x86_64-linux/fcntl.so", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/dbm.so", "/usr/lib/ruby/1.9.1/x86_64-linux/zlib.so", "/usr/lib/ruby/1.9.1/x86_64-linux/openssl.so", "/usr/lib/ruby/1.9.1/x86_64-linux/curses.so", "/usr/lib/ruby/1.9.1/x86_64-linux/tkutil.so", "/usr/lib/ruby/1.9.1/x86_64-linux/bigdecimal.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/euc_jp.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/gb18030.so", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_11.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_7.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_1.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/windows_1251.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/big5.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_3.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_13.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_5.so", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/enc/utf_32be.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/gbk.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/shift_jis.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_8.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/euc_tw.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_4.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_10.so", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/enc/euc_kr.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/koi8_r.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/utf_16le.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/gb2312.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_9.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/japanese.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/emoji_sjis_kddi.so", ...
<kirill> jrajav: ping
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/gb18030.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/emoji_sjis_docomo.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/japanese_sjis.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/big5.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/emoji_iso2022_kddi.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/gbk.so", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/emoji_sjis_softbank.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/emoji.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/utf8_mac.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/single_byte.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/chinese.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/korean.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/utf_16_32.so", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/escape.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/japanese_euc.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/iso2022.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/koi8_u.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_2.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_15.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_6.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/emacs_mule.so", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_14.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/utf_16be.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/utf_32le.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/cp949.so", "/usr/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_16.so", "/usr/lib/ruby/1.9.1/x86_64-linux/sdbm.so", "/usr/lib/ruby/1.9.1/x86_64-linux/date_core.so", "/usr/lib/ruby/1.9.1/x86_64-linux/fiddle.so", "/usr/lib/ruby/1.9.1/x86_64-linux/dl", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/dl/callback.so", "/usr/lib/ruby/1.9.1/x86_64-linux/rbconfig.rb", "/usr/lib/ruby/1.9.1/x86_64-linux/socket.so", "/usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so", "/usr/lib/ruby/1.9.1/x86_64-linux/coverage.so", "/usr/lib/ruby/1.9.1/x86_64-linux/pathname.so", "/usr/lib/ruby/1.9.1/x86_64-linux/mathn", "/usr/lib/ruby/1.9.1/x86_64-linux/mathn/rational.so", "/usr/lib/ruby/1.9.1/x86_64-linux/mathn/complex.so", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/io", "/usr/lib/ruby/1.9.1/x86_64-linux/io/console.so", "/usr/lib/ruby/1.9.1/x86_64-linux/io/wait.so", "/usr/lib/ruby/1.9.1/x86_64-linux/io/nonblock.so", "/usr/lib/ruby/1.9.1/x86_64-linux/fiber.so", "/usr/lib/ruby/1.9.1/x86_64-linux/continuation.so", "/usr/lib/ruby/1.9.1/x86_64-linux/syslog.so", "/usr/lib/ruby/1.9.1/x86_64-linux/strscan.so", "/usr/lib/ruby/1.9.1/x86_64-linux/gdbm.so", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/x86_64-linux/stringio.so", "/usr/lib/ruby/1.9.1/thread.rb", "/usr/lib/ruby/1.9.1/optparse", "/usr/lib/ruby/1.9.1/optparse/version.rb", "/usr/lib/ruby/1.9.1/optparse/time.rb", "/usr/lib/ruby/1.9.1/optparse/shellwords.rb", "/usr/lib/ruby/1.9.1/optparse/uri.rb", "/usr/lib/ruby/1.9.1/optparse/date.rb", "/usr/lib/ruby/1.9.1/matrix", "/usr/lib/ruby/1.9.1/matrix/eigenvalue_decomposition.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/matrix/lup_decomposition.rb", "/usr/lib/ruby/1.9.1/tkmacpkg.rb", "/usr/lib/ruby/1.9.1/open3.rb", "/usr/lib/ruby/1.9.1/tkconsole.rb", "/usr/lib/ruby/1.9.1/tkdialog.rb", "/usr/lib/ruby/1.9.1/tkpalette.rb", "/usr/lib/ruby/1.9.1/openssl", "/usr/lib/ruby/1.9.1/openssl/cipher.rb", "/usr/lib/ruby/1.9.1/openssl/digest.rb", "/usr/lib/ruby/1.9.1/openssl/x509-internal.rb", "/usr/lib/ruby/1.9.1/openssl/bn.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/openssl/x509.rb", "/usr/lib/ruby/1.9.1/openssl/ssl-internal.rb", "/usr/lib/ruby/1.9.1/openssl/buffering.rb", "/usr/lib/ruby/1.9.1/openssl/ssl.rb", "/usr/lib/ruby/1.9.1/openssl/config.rb", "/usr/lib/ruby/1.9.1/weakref.rb", "/usr/lib/ruby/1.9.1/tkvirtevent.rb", "/usr/lib/ruby/1.9.1/pstore.rb", "/usr/lib/ruby/1.9.1/net", "/usr/lib/ruby/1.9.1/net/imap.rb", "/usr/lib/ruby/1.9.1/net/pop.rb", "/usr/lib/ruby/1.9.1/net/smtp.rb", ...
<jonahR> holy sh
<al2o3cr> ... "/usr/lib/ruby/1.9.1/net/ftp.rb", "/usr/lib/ruby/1.9.1/net/protocol.rb", "/usr/lib/ruby/1.9.1/net/https.rb", "/usr/lib/ruby/1.9.1/net/http.rb", "/usr/lib/ruby/1.9.1/net/telnet.rb", "/usr/lib/ruby/1.9.1/ipaddr.rb", "/usr/lib/ruby/1.9.1/multi-tk.rb", "/usr/lib/ruby/1.9.1/tkcanvas.rb", "/usr/lib/ruby/1.9.1/rss", "/usr/lib/ruby/1.9.1/rss/itunes.rb", "/usr/lib/ruby/1.9.1/rss/utils.rb", "/usr/lib/ruby/1.9.1/rss/slash.rb", ...
kirill is now known as banisterfiend
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rss/xmlparser.rb", "/usr/lib/ruby/1.9.1/rss/trackback.rb", "/usr/lib/ruby/1.9.1/rss/0.9.rb", "/usr/lib/ruby/1.9.1/rss/atom.rb", "/usr/lib/ruby/1.9.1/rss/dublincore.rb", "/usr/lib/ruby/1.9.1/rss/dublincore", "/usr/lib/ruby/1.9.1/rss/dublincore/atom.rb", "/usr/lib/ruby/1.9.1/rss/dublincore/2.0.rb", "/usr/lib/ruby/1.9.1/rss/dublincore/1.0.rb", "/usr/lib/ruby/1.9.1/rss/rexmlparser.rb", "/usr/lib/ruby/1.9.1/rss/maker", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rss/maker/itunes.rb", "/usr/lib/ruby/1.9.1/rss/maker/slash.rb", "/usr/lib/ruby/1.9.1/rss/maker/trackback.rb", "/usr/lib/ruby/1.9.1/rss/maker/feed.rb", "/usr/lib/ruby/1.9.1/rss/maker/0.9.rb", "/usr/lib/ruby/1.9.1/rss/maker/atom.rb", "/usr/lib/ruby/1.9.1/rss/maker/dublincore.rb", "/usr/lib/ruby/1.9.1/rss/maker/entry.rb", "/usr/lib/ruby/1.9.1/rss/maker/image.rb", "/usr/lib/ruby/1.9.1/rss/maker/2.0.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rss/maker/taxonomy.rb", "/usr/lib/ruby/1.9.1/rss/maker/content.rb", "/usr/lib/ruby/1.9.1/rss/maker/base.rb", "/usr/lib/ruby/1.9.1/rss/maker/syndication.rb", "/usr/lib/ruby/1.9.1/rss/maker/1.0.rb", "/usr/lib/ruby/1.9.1/rss/image.rb", "/usr/lib/ruby/1.9.1/rss/2.0.rb", "/usr/lib/ruby/1.9.1/rss/converter.rb", "/usr/lib/ruby/1.9.1/rss/content", "/usr/lib/ruby/1.9.1/rss/content/2.0.rb", "/usr/lib/ruby/1.9.1/rss/content/1.0.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rss/taxonomy.rb", "/usr/lib/ruby/1.9.1/rss/xml.rb", "/usr/lib/ruby/1.9.1/rss/content.rb", "/usr/lib/ruby/1.9.1/rss/rss.rb", "/usr/lib/ruby/1.9.1/rss/xmlscanner.rb", "/usr/lib/ruby/1.9.1/rss/maker.rb", "/usr/lib/ruby/1.9.1/rss/syndication.rb", "/usr/lib/ruby/1.9.1/rss/parser.rb", "/usr/lib/ruby/1.9.1/rss/1.0.rb", "/usr/lib/ruby/1.9.1/rss/xml-stylesheet.rb", "/usr/lib/ruby/1.9.1/un.rb", "/usr/lib/ruby/1.9.1/ripper.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/uri", "/usr/lib/ruby/1.9.1/uri/common.rb", "/usr/lib/ruby/1.9.1/uri/ftp.rb", "/usr/lib/ruby/1.9.1/uri/ldaps.rb", "/usr/lib/ruby/1.9.1/uri/https.rb", "/usr/lib/ruby/1.9.1/uri/mailto.rb", "/usr/lib/ruby/1.9.1/uri/http.rb", "/usr/lib/ruby/1.9.1/uri/ldap.rb", "/usr/lib/ruby/1.9.1/uri/generic.rb", "/usr/lib/ruby/1.9.1/rubygems.rb", "/usr/lib/ruby/1.9.1/sync.rb", "/usr/lib/ruby/1.9.1/e2mmap.rb", "/usr/lib/ruby/1.9.1/profile.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/shellwords.rb", "/usr/lib/ruby/1.9.1/json.rb", "/usr/lib/ruby/1.9.1/tracer.rb", "/usr/lib/ruby/1.9.1/yaml.rb", "/usr/lib/ruby/1.9.1/scanf.rb", "/usr/lib/ruby/1.9.1/xmlrpc", "/usr/lib/ruby/1.9.1/xmlrpc/utils.rb", "/usr/lib/ruby/1.9.1/xmlrpc/server.rb", "/usr/lib/ruby/1.9.1/xmlrpc/marshal.rb", "/usr/lib/ruby/1.9.1/xmlrpc/client.rb", "/usr/lib/ruby/1.9.1/xmlrpc/httpserver.rb", "/usr/lib/ruby/1.9.1/xmlrpc/base64.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/xmlrpc/parser.rb", "/usr/lib/ruby/1.9.1/xmlrpc/create.rb", "/usr/lib/ruby/1.9.1/xmlrpc/config.rb", "/usr/lib/ruby/1.9.1/xmlrpc/datetime.rb", "/usr/lib/ruby/1.9.1/bigdecimal", "/usr/lib/ruby/1.9.1/bigdecimal/newton.rb", "/usr/lib/ruby/1.9.1/bigdecimal/jacobian.rb", "/usr/lib/ruby/1.9.1/bigdecimal/util.rb", "/usr/lib/ruby/1.9.1/bigdecimal/ludcmp.rb", "/usr/lib/ruby/1.9.1/bigdecimal/math.rb", "/usr/lib/ruby/1.9.1/logger.rb", ...
<otters> wait
<al2o3cr> ... "/usr/lib/ruby/1.9.1/date", "/usr/lib/ruby/1.9.1/date/format.rb", "/usr/lib/ruby/1.9.1/securerandom.rb", "/usr/lib/ruby/1.9.1/tkclass.rb", "/usr/lib/ruby/1.9.1/shell", "/usr/lib/ruby/1.9.1/shell/process-controller.rb", "/usr/lib/ruby/1.9.1/shell/version.rb", "/usr/lib/ruby/1.9.1/shell/system-command.rb", "/usr/lib/ruby/1.9.1/shell/filter.rb", "/usr/lib/ruby/1.9.1/shell/error.rb", "/usr/lib/ruby/1.9.1/shell/command-processor.rb", ...
<otters> whut
<al2o3cr> ... "/usr/lib/ruby/1.9.1/shell/builtin-command.rb", "/usr/lib/ruby/1.9.1/rexml", "/usr/lib/ruby/1.9.1/rexml/attribute.rb", "/usr/lib/ruby/1.9.1/rexml/undefinednamespaceexception.rb", "/usr/lib/ruby/1.9.1/rexml/instruction.rb", "/usr/lib/ruby/1.9.1/rexml/text.rb", "/usr/lib/ruby/1.9.1/rexml/parseexception.rb", "/usr/lib/ruby/1.9.1/rexml/child.rb", "/usr/lib/ruby/1.9.1/rexml/streamlistener.rb", "/usr/lib/ruby/1.9.1/rexml/sax2listener.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rexml/element.rb", "/usr/lib/ruby/1.9.1/rexml/cdata.rb", "/usr/lib/ruby/1.9.1/rexml/namespace.rb", "/usr/lib/ruby/1.9.1/rexml/syncenumerator.rb", "/usr/lib/ruby/1.9.1/rexml/parsers", "/usr/lib/ruby/1.9.1/rexml/parsers/streamparser.rb", "/usr/lib/ruby/1.9.1/rexml/parsers/treeparser.rb", "/usr/lib/ruby/1.9.1/rexml/parsers/ultralightparser.rb", "/usr/lib/ruby/1.9.1/rexml/parsers/baseparser.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rexml/parsers/pullparser.rb", "/usr/lib/ruby/1.9.1/rexml/parsers/xpathparser.rb", "/usr/lib/ruby/1.9.1/rexml/parsers/lightparser.rb", "/usr/lib/ruby/1.9.1/rexml/parsers/sax2parser.rb", "/usr/lib/ruby/1.9.1/rexml/document.rb", "/usr/lib/ruby/1.9.1/rexml/entity.rb", "/usr/lib/ruby/1.9.1/rexml/node.rb", "/usr/lib/ruby/1.9.1/rexml/light", "/usr/lib/ruby/1.9.1/rexml/light/node.rb", "/usr/lib/ruby/1.9.1/rexml/xpath.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rexml/xmldecl.rb", "/usr/lib/ruby/1.9.1/rexml/dtd", "/usr/lib/ruby/1.9.1/rexml/dtd/elementdecl.rb", "/usr/lib/ruby/1.9.1/rexml/dtd/notationdecl.rb", "/usr/lib/ruby/1.9.1/rexml/dtd/dtd.rb", "/usr/lib/ruby/1.9.1/rexml/dtd/attlistdecl.rb", "/usr/lib/ruby/1.9.1/rexml/dtd/entitydecl.rb", "/usr/lib/ruby/1.9.1/rexml/quickpath.rb", "/usr/lib/ruby/1.9.1/rexml/comment.rb", "/usr/lib/ruby/1.9.1/rexml/parent.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rexml/source.rb", "/usr/lib/ruby/1.9.1/rexml/formatters", "/usr/lib/ruby/1.9.1/rexml/formatters/default.rb", "/usr/lib/ruby/1.9.1/rexml/formatters/transitive.rb", "/usr/lib/ruby/1.9.1/rexml/formatters/pretty.rb", "/usr/lib/ruby/1.9.1/rexml/attlistdecl.rb", "/usr/lib/ruby/1.9.1/rexml/xmltokens.rb", "/usr/lib/ruby/1.9.1/rexml/functions.rb", "/usr/lib/ruby/1.9.1/rexml/encoding.rb", "/usr/lib/ruby/1.9.1/rexml/xpath_parser.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rexml/rexml.rb", "/usr/lib/ruby/1.9.1/rexml/validation", "/usr/lib/ruby/1.9.1/rexml/validation/validationexception.rb", "/usr/lib/ruby/1.9.1/rexml/validation/validation.rb", "/usr/lib/ruby/1.9.1/rexml/validation/relaxng.rb", "/usr/lib/ruby/1.9.1/rexml/doctype.rb", "/usr/lib/ruby/1.9.1/rexml/output.rb", "/usr/lib/ruby/1.9.1/tkmenubar.rb", "/usr/lib/ruby/1.9.1/yaml", "/usr/lib/ruby/1.9.1/yaml/syck.rb", ...
<otters> banisterfiend, I see you around here all the time
<al2o3cr> ... "/usr/lib/ruby/1.9.1/yaml/dbm.rb", "/usr/lib/ruby/1.9.1/yaml/store.rb", "/usr/lib/ruby/1.9.1/prettyprint.rb", "/usr/lib/ruby/1.9.1/ostruct.rb", "/usr/lib/ruby/1.9.1/openssl.rb", "/usr/lib/ruby/1.9.1/rbconfig", "/usr/lib/ruby/1.9.1/rbconfig/obsolete.rb", "/usr/lib/ruby/1.9.1/rbconfig/datadir.rb", "/usr/lib/ruby/1.9.1/fiddle", "/usr/lib/ruby/1.9.1/fiddle/function.rb", "/usr/lib/ruby/1.9.1/fiddle/closure.rb", "/usr/lib/ruby/1.9.1/thwait.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/prime.rb", "/usr/lib/ruby/1.9.1/tkbgerror.rb", "/usr/lib/ruby/1.9.1/tempfile.rb", "/usr/lib/ruby/1.9.1/rdoc", "/usr/lib/ruby/1.9.1/rdoc/alias.rb", "/usr/lib/ruby/1.9.1/rdoc/rubygems_hook.rb", "/usr/lib/ruby/1.9.1/rdoc/require.rb", "/usr/lib/ruby/1.9.1/rdoc/token_stream.rb", "/usr/lib/ruby/1.9.1/rdoc/rdoc.rb", "/usr/lib/ruby/1.9.1/rdoc/text.rb", "/usr/lib/ruby/1.9.1/rdoc/code_objects.rb", "/usr/lib/ruby/1.9.1/rdoc/attr.rb", ...
<otters> surely our paths have crossed before
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/anon_class.rb", "/usr/lib/ruby/1.9.1/rdoc/normal_class.rb", "/usr/lib/ruby/1.9.1/rdoc/generator.rb", "/usr/lib/ruby/1.9.1/rdoc/parser", "/usr/lib/ruby/1.9.1/rdoc/parser/simple.rb", "/usr/lib/ruby/1.9.1/rdoc/parser/ruby.rb", "/usr/lib/ruby/1.9.1/rdoc/parser/c.rb", "/usr/lib/ruby/1.9.1/rdoc/parser/ruby_tools.rb", "/usr/lib/ruby/1.9.1/rdoc/markup.rb", "/usr/lib/ruby/1.9.1/rdoc/known_classes.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/constant.rb", "/usr/lib/ruby/1.9.1/rdoc/erbio.rb", "/usr/lib/ruby/1.9.1/rdoc/task.rb", "/usr/lib/ruby/1.9.1/rdoc/meta_method.rb", "/usr/lib/ruby/1.9.1/rdoc/options.rb", "/usr/lib/ruby/1.9.1/rdoc/normal_module.rb", "/usr/lib/ruby/1.9.1/rdoc/code_object.rb", "/usr/lib/ruby/1.9.1/rdoc/include.rb", "/usr/lib/ruby/1.9.1/rdoc/method_attr.rb", "/usr/lib/ruby/1.9.1/rdoc/context.rb", "/usr/lib/ruby/1.9.1/rdoc/generator", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/generator/template", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/filepage.rhtml", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/classpage.rhtml", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/rdoc.css", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/js", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/js/darkfish.js", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/js/thickbox-compressed.js", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/js/quicksearch.js", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/js/jquery.js", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/index.rhtml", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/tag_green.png", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/page_white_text.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/brick.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/plugin.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/bullet_black.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/macFFBgHack.png", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/date.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/wrench.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/page_white_width.png", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/package.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/loadingAnimation.gif", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/find.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/brick_link.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/ruby.png", ...
holy has left #ruby [#ruby]
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/wrench_orange.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/page_green.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/bug.png", "/usr/lib/ruby/1.9.1/rdoc/generator/template/darkfish/images/zoom.png", "/usr/lib/ruby/1.9.1/rdoc/generator/darkfish.rb", "/usr/lib/ruby/1.9.1/rdoc/generator/markup.rb", "/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/stats.rb", "/usr/lib/ruby/1.9.1/rdoc/ruby_lex.rb", "/usr/lib/ruby/1.9.1/rdoc/ri", "/usr/lib/ruby/1.9.1/rdoc/ri/paths.rb", "/usr/lib/ruby/1.9.1/rdoc/ri/formatter.rb", "/usr/lib/ruby/1.9.1/rdoc/ri/store.rb", "/usr/lib/ruby/1.9.1/rdoc/ri/driver.rb", "/usr/lib/ruby/1.9.1/rdoc/stats", "/usr/lib/ruby/1.9.1/rdoc/stats/verbose.rb", "/usr/lib/ruby/1.9.1/rdoc/stats/normal.rb", "/usr/lib/ruby/1.9.1/rdoc/stats/quiet.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/single_class.rb", "/usr/lib/ruby/1.9.1/rdoc/any_method.rb", "/usr/lib/ruby/1.9.1/rdoc/ri.rb", "/usr/lib/ruby/1.9.1/rdoc/cross_reference.rb", "/usr/lib/ruby/1.9.1/rdoc/class_module.rb", "/usr/lib/ruby/1.9.1/rdoc/encoding.rb", "/usr/lib/ruby/1.9.1/rdoc/top_level.rb", "/usr/lib/ruby/1.9.1/rdoc/ghost_method.rb", "/usr/lib/ruby/1.9.1/rdoc/parser.rb", "/usr/lib/ruby/1.9.1/rdoc/ruby_token.rb", "/usr/lib/ruby/1.9.1/rdoc/markup", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/markup/formatter_test_case.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/to_test.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/to_html.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/raw.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/heading.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/list.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/to_rdoc.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/inline.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/to_html_crossref.rb", ...
a_a_g has quit [Quit: Leaving.]
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/markup/document.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/formatter.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/indented_paragraph.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/to_ansi.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/verbatim.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/pre_process.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/to_tt_only.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/blank_line.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/attribute_manager.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rdoc/markup/list_item.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/rule.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/text_formatter_test_case.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/paragraph.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/parser.rb", "/usr/lib/ruby/1.9.1/rdoc/markup/to_bs.rb", "/usr/lib/ruby/1.9.1/cgi", "/usr/lib/ruby/1.9.1/cgi/session", "/usr/lib/ruby/1.9.1/cgi/session/pstore.rb", "/usr/lib/ruby/1.9.1/cgi/html.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/cgi/util.rb", "/usr/lib/ruby/1.9.1/cgi/core.rb", "/usr/lib/ruby/1.9.1/cgi/cookie.rb", "/usr/lib/ruby/1.9.1/cgi/session.rb", "/usr/lib/ruby/1.9.1/fiddle.rb", "/usr/lib/ruby/1.9.1/mkmf.rb", "/usr/lib/ruby/1.9.1/psych", "/usr/lib/ruby/1.9.1/psych/handlers", "/usr/lib/ruby/1.9.1/psych/handlers/document_stream.rb", "/usr/lib/ruby/1.9.1/psych/tree_builder.rb", "/usr/lib/ruby/1.9.1/psych/json", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/psych/json/tree_builder.rb", "/usr/lib/ruby/1.9.1/psych/json/ruby_events.rb", "/usr/lib/ruby/1.9.1/psych/json/stream.rb", "/usr/lib/ruby/1.9.1/psych/json/yaml_events.rb", "/usr/lib/ruby/1.9.1/psych/handler.rb", "/usr/lib/ruby/1.9.1/psych/syntax_error.rb", "/usr/lib/ruby/1.9.1/psych/visitors", "/usr/lib/ruby/1.9.1/psych/visitors/json_tree.rb", "/usr/lib/ruby/1.9.1/psych/visitors/emitter.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/psych/visitors/to_ruby.rb", "/usr/lib/ruby/1.9.1/psych/visitors/depth_first.rb", "/usr/lib/ruby/1.9.1/psych/visitors/visitor.rb", "/usr/lib/ruby/1.9.1/psych/visitors/yaml_tree.rb", "/usr/lib/ruby/1.9.1/psych/nodes", "/usr/lib/ruby/1.9.1/psych/nodes/alias.rb", "/usr/lib/ruby/1.9.1/psych/nodes/scalar.rb", "/usr/lib/ruby/1.9.1/psych/nodes/document.rb", "/usr/lib/ruby/1.9.1/psych/nodes/stream.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/psych/nodes/node.rb", "/usr/lib/ruby/1.9.1/psych/nodes/mapping.rb", "/usr/lib/ruby/1.9.1/psych/nodes/sequence.rb", "/usr/lib/ruby/1.9.1/psych/stream.rb", "/usr/lib/ruby/1.9.1/psych/core_ext.rb", "/usr/lib/ruby/1.9.1/psych/visitors.rb", "/usr/lib/ruby/1.9.1/psych/nodes.rb", "/usr/lib/ruby/1.9.1/psych/coder.rb", "/usr/lib/ruby/1.9.1/psych/scalar_scanner.rb", "/usr/lib/ruby/1.9.1/psych/deprecated.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/psych/omap.rb", "/usr/lib/ruby/1.9.1/psych/parser.rb", "/usr/lib/ruby/1.9.1/psych/streaming.rb", "/usr/lib/ruby/1.9.1/psych/set.rb", "/usr/lib/ruby/1.9.1/minitest", "/usr/lib/ruby/1.9.1/minitest/pride.rb", "/usr/lib/ruby/1.9.1/minitest/spec.rb", "/usr/lib/ruby/1.9.1/minitest/autorun.rb", "/usr/lib/ruby/1.9.1/minitest/unit.rb", "/usr/lib/ruby/1.9.1/minitest/benchmark.rb", "/usr/lib/ruby/1.9.1/minitest/mock.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/delegate.rb", "/usr/lib/ruby/1.9.1/test", "/usr/lib/ruby/1.9.1/test/unit", "/usr/lib/ruby/1.9.1/test/unit/parallel.rb", "/usr/lib/ruby/1.9.1/test/unit/assertions.rb", "/usr/lib/ruby/1.9.1/test/unit/testcase.rb", "/usr/lib/ruby/1.9.1/test/unit.rb", "/usr/lib/ruby/1.9.1/dl", "/usr/lib/ruby/1.9.1/dl/import.rb", "/usr/lib/ruby/1.9.1/dl/func.rb", "/usr/lib/ruby/1.9.1/dl/cparser.rb", "/usr/lib/ruby/1.9.1/dl/stack.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/dl/pack.rb", "/usr/lib/ruby/1.9.1/dl/callback.rb", "/usr/lib/ruby/1.9.1/dl/types.rb", "/usr/lib/ruby/1.9.1/dl/value.rb", "/usr/lib/ruby/1.9.1/dl/struct.rb", "/usr/lib/ruby/1.9.1/pp.rb", "/usr/lib/ruby/1.9.1/tkfont.rb", "/usr/lib/ruby/1.9.1/open-uri.rb", "/usr/lib/ruby/1.9.1/complex.rb", "/usr/lib/ruby/1.9.1/remote-tk.rb", "/usr/lib/ruby/1.9.1/gserver.rb", "/usr/lib/ruby/1.9.1/rss.rb", "/usr/lib/ruby/1.9.1/tkentry.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/psych.rb", "/usr/lib/ruby/1.9.1/uri.rb", "/usr/lib/ruby/1.9.1/date.rb", "/usr/lib/ruby/1.9.1/rake", "/usr/lib/ruby/1.9.1/rake/cloneable.rb", "/usr/lib/ruby/1.9.1/rake/version.rb", "/usr/lib/ruby/1.9.1/rake/file_utils.rb", "/usr/lib/ruby/1.9.1/rake/invocation_chain.rb", "/usr/lib/ruby/1.9.1/rake/file_task.rb", "/usr/lib/ruby/1.9.1/rake/dsl_definition.rb", "/usr/lib/ruby/1.9.1/rake/task_argument_error.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rake/invocation_exception_mixin.rb", "/usr/lib/ruby/1.9.1/rake/win32.rb", "/usr/lib/ruby/1.9.1/rake/packagetask.rb", "/usr/lib/ruby/1.9.1/rake/application.rb", "/usr/lib/ruby/1.9.1/rake/pseudo_status.rb", "/usr/lib/ruby/1.9.1/rake/runtest.rb", "/usr/lib/ruby/1.9.1/rake/clean.rb", "/usr/lib/ruby/1.9.1/rake/early_time.rb", "/usr/lib/ruby/1.9.1/rake/contrib", "/usr/lib/ruby/1.9.1/rake/contrib/compositepublisher.rb", ...
pac1 has quit [Remote host closed the connection]
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rake/contrib/rubyforgepublisher.rb", "/usr/lib/ruby/1.9.1/rake/contrib/publisher.rb", "/usr/lib/ruby/1.9.1/rake/contrib/sshpublisher.rb", "/usr/lib/ruby/1.9.1/rake/contrib/ftptools.rb", "/usr/lib/ruby/1.9.1/rake/contrib/sys.rb", "/usr/lib/ruby/1.9.1/rake/ruby182_test_unit_fix.rb", "/usr/lib/ruby/1.9.1/rake/pathmap.rb", "/usr/lib/ruby/1.9.1/rake/rule_recursion_overflow_error.rb", "/usr/lib/ruby/1.9.1/rake/file_creation_task.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rake/task.rb", "/usr/lib/ruby/1.9.1/rake/name_space.rb", "/usr/lib/ruby/1.9.1/rake/file_utils_ext.rb", "/usr/lib/ruby/1.9.1/rake/tasklib.rb", "/usr/lib/ruby/1.9.1/rake/loaders", "/usr/lib/ruby/1.9.1/rake/loaders/makefile.rb", "/usr/lib/ruby/1.9.1/rake/task_arguments.rb", "/usr/lib/ruby/1.9.1/rake/rdoctask.rb", "/usr/lib/ruby/1.9.1/rake/alt_system.rb", "/usr/lib/ruby/1.9.1/rake/rake_module.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rake/rake_test_loader.rb", "/usr/lib/ruby/1.9.1/rake/lib", "/usr/lib/ruby/1.9.1/rake/lib/project.rake", "/usr/lib/ruby/1.9.1/rake/task_manager.rb", "/usr/lib/ruby/1.9.1/rake/default_loader.rb", "/usr/lib/ruby/1.9.1/rake/classic_namespace.rb", "/usr/lib/ruby/1.9.1/rake/testtask.rb", "/usr/lib/ruby/1.9.1/rake/file_list.rb", "/usr/lib/ruby/1.9.1/rake/gempackagetask.rb", "/usr/lib/ruby/1.9.1/rake/ext", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rake/ext/time.rb", "/usr/lib/ruby/1.9.1/rake/ext/module.rb", "/usr/lib/ruby/1.9.1/rake/ext/core.rb", "/usr/lib/ruby/1.9.1/rake/ext/string.rb", "/usr/lib/ruby/1.9.1/rake/multi_task.rb", "/usr/lib/ruby/1.9.1/tkwinpkg.rb", "/usr/lib/ruby/1.9.1/singleton.rb", "/usr/lib/ruby/1.9.1/rational.rb", "/usr/lib/ruby/1.9.1/expect.rb", "/usr/lib/ruby/1.9.1/base64.rb", "/usr/lib/ruby/1.9.1/kconv.rb", "/usr/lib/ruby/1.9.1/getoptlong.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/debug.rb", "/usr/lib/ruby/1.9.1/profiler.rb", "/usr/lib/ruby/1.9.1/io", "/usr/lib/ruby/1.9.1/io/console", "/usr/lib/ruby/1.9.1/io/console/size.rb", "/usr/lib/ruby/1.9.1/tkextlib", "/usr/lib/ruby/1.9.1/tkextlib/version.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkDND", "/usr/lib/ruby/1.9.1/tkextlib/tkDND/tkdnd.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkDND/shape.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkDND/setup.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/trofs", "/usr/lib/ruby/1.9.1/tkextlib/trofs/trofs.rb", "/usr/lib/ruby/1.9.1/tkextlib/trofs/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/tktrans.rb", "/usr/lib/ruby/1.9.1/tkextlib/tktable", "/usr/lib/ruby/1.9.1/tkextlib/tktable/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/tktable/tktable.rb", "/usr/lib/ruby/1.9.1/tkextlib/vu.rb", "/usr/lib/ruby/1.9.1/tkextlib/tclx.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/tcllib/style.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/toolbar.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/statusbar.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/crosshair.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/canvas_zoom.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/calendar.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/panelframe.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/datefield.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/tcllib/swaplist.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/ruler.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/tkpiechart.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/dateentry.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/tablelist.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/plotchart.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/ctext.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/superframe.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/tcllib/getstring.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/diagrams.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/ntext.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/tablelist_core.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/canvas_sqmap.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/screenruler.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/widget.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/tooltip.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/tcllib/ip_entry.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/scrolledwindow.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/chatwidget.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/dialog.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/scrollwin.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/menuentry.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/history.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/ico.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/tcllib/autoscroll.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/cursor.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/tablelist_tile.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib/khim.rb", "/usr/lib/ruby/1.9.1/tkextlib/treectrl.rb", "/usr/lib/ruby/1.9.1/tkextlib/itcl.rb", "/usr/lib/ruby/1.9.1/tkextlib/ICONS", "/usr/lib/ruby/1.9.1/tkextlib/ICONS/icons.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/ICONS/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt", "/usr/lib/ruby/1.9.1/tkextlib/blt/tree.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/component.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/vector.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/tabnotebook.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/stripchart.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/watch.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/ted.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/unix_dnd.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/blt/spline.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/win_printer.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/table.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/busy.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/cutbuffer.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/htext.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/container.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/barchart.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/graph.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/blt/tile.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/dragdrop.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/eps.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/bitmap.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/tabset.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/treeview.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/tile", "/usr/lib/ruby/1.9.1/tkextlib/blt/tile/radiobutton.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/blt/tile/scrollbar.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/tile/checkbutton.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/tile/toplevel.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/tile/frame.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/tile/button.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/tile/label.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt/winop.rb", "/usr/lib/ruby/1.9.1/tkextlib/tcllib.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/feedback.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/selectiondialog.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/panedwindow.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/toolbar.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/spinner.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/extfileselectiondialog.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/scrolledtext.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/selectionbox.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/timefield.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/calendar.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/scrolledframe.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/disjointlistbox.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/checkbox.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/mainwindow.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/tabnotebook.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/timeentry.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/datefield.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/finddialog.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/shell.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/dateentry.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/dialogshell.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/canvasprintbox.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/watch.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/scrolledhtml.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/spinint.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/scrolledwidget.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/fileselectiondialog.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/menubar.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/hyperhelp.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/labeledframe.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/spindate.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/entryfield.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/messagebox.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/canvasprintdialog.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/extfileselectionbox.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/combobox.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/buttonbox.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/scrolledlistbox.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/fileselectionbox.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/promptdialog.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/dialog.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/notebook.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/extbutton.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/spintime.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/radiobox.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/labeledwidget.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/messagedialog.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/pushbutton.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/hierarchy.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/scopedobject.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/optionmenu.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/tabset.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets/scrolledcanvas.rb", "/usr/lib/ruby/1.9.1/tkextlib/iwidgets.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/itk", "/usr/lib/ruby/1.9.1/tkextlib/itk/incr_tk.rb", "/usr/lib/ruby/1.9.1/tkextlib/itk/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/pkg_checker.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/xbm.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/gif.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/sgi.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/ps.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/ppm.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/tkimg/sun.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/tga.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/pcx.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/tiff.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/xpm.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/jpeg.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/bmp.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/window.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/png.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/ico.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/tkimg/pixmap.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/tktrans", "/usr/lib/ruby/1.9.1/tkextlib/tktrans/tktrans.rb", "/usr/lib/ruby/1.9.1/tkextlib/tktrans/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/itk.rb", "/usr/lib/ruby/1.9.1/tkextlib/winico.rb", "/usr/lib/ruby/1.9.1/tkextlib/ICONS.rb", "/usr/lib/ruby/1.9.1/tkextlib/itcl", "/usr/lib/ruby/1.9.1/tkextlib/itcl/incr_tcl.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/itcl/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/tclx", "/usr/lib/ruby/1.9.1/tkextlib/tclx/tclx.rb", "/usr/lib/ruby/1.9.1/tkextlib/tclx/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/trofs.rb", "/usr/lib/ruby/1.9.1/tkextlib/vu", "/usr/lib/ruby/1.9.1/tkextlib/vu/spinbox.rb", "/usr/lib/ruby/1.9.1/tkextlib/vu/bargraph.rb", "/usr/lib/ruby/1.9.1/tkextlib/vu/pie.rb", "/usr/lib/ruby/1.9.1/tkextlib/vu/setup.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/vu/charts.rb", "/usr/lib/ruby/1.9.1/tkextlib/vu/dial.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkHTML", "/usr/lib/ruby/1.9.1/tkextlib/tkHTML/htmlwidget.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkHTML/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/treectrl", "/usr/lib/ruby/1.9.1/tkextlib/treectrl/tktreectrl.rb", "/usr/lib/ruby/1.9.1/tkextlib/treectrl/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/bwidget/panedwindow.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/tree.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/listbox.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/statusbar.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/panelframe.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/pagesmanager.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/spinbox.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/entry.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/bwidget/scrollableframe.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/labelentry.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/progressbar.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/separator.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/mainframe.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/combobox.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/labelframe.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/widget.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/bwidget/buttonbox.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/scrolledwindow.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/titleframe.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/dialog.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/notebook.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/arrowbutton.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/button.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/scrollview.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/bwidget/messagedlg.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/dynamichelp.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/label.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/progressdlg.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/bitmap.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/passwddlg.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/dropsite.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/bwidget/dragsite.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/selectcolor.rb", "/usr/lib/ruby/1.9.1/tkextlib/bwidget/selectfont.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile.rb", "/usr/lib/ruby/1.9.1/tkextlib/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkHTML.rb", "/usr/lib/ruby/1.9.1/tkextlib/winico", "/usr/lib/ruby/1.9.1/tkextlib/winico/winico.rb", "/usr/lib/ruby/1.9.1/tkextlib/winico/setup.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/tktable.rb", "/usr/lib/ruby/1.9.1/tkextlib/blt.rb", "/usr/lib/ruby/1.9.1/tkextlib/SUPPORT_STATUS", "/usr/lib/ruby/1.9.1/tkextlib/tkDND.rb", "/usr/lib/ruby/1.9.1/tkextlib/tkimg.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile", "/usr/lib/ruby/1.9.1/tkextlib/tile/tnotebook.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tlabel.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tradiobutton.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/style.rb", ...
shadoi has quit [Quit: Leaving.]
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/tile/sizegrip.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tscrollbar.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tpaned.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tmenubutton.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tseparator.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tspinbox.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tcombobox.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tentry.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tbutton.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tkextlib/tile/tcheckbutton.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tprogressbar.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tscale.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tsquare.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/dialog.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/setup.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tframe.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/tlabelframe.rb", "/usr/lib/ruby/1.9.1/tkextlib/tile/treeview.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/tktext.rb", "/usr/lib/ruby/1.9.1/webrick", "/usr/lib/ruby/1.9.1/webrick/utils.rb", "/usr/lib/ruby/1.9.1/webrick/version.rb", "/usr/lib/ruby/1.9.1/webrick/server.rb", "/usr/lib/ruby/1.9.1/webrick/cgi.rb", "/usr/lib/ruby/1.9.1/webrick/httpservlet", "/usr/lib/ruby/1.9.1/webrick/httpservlet/cgi_runner.rb", "/usr/lib/ruby/1.9.1/webrick/httpservlet/filehandler.rb", "/usr/lib/ruby/1.9.1/webrick/httpservlet/cgihandler.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/webrick/httpservlet/erbhandler.rb", "/usr/lib/ruby/1.9.1/webrick/httpservlet/prochandler.rb", "/usr/lib/ruby/1.9.1/webrick/httpservlet/abstract.rb", "/usr/lib/ruby/1.9.1/webrick/httpresponse.rb", "/usr/lib/ruby/1.9.1/webrick/httpversion.rb", "/usr/lib/ruby/1.9.1/webrick/htmlutils.rb", "/usr/lib/ruby/1.9.1/webrick/compat.rb", "/usr/lib/ruby/1.9.1/webrick/httprequest.rb", "/usr/lib/ruby/1.9.1/webrick/httpauth", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/webrick/httpauth/userdb.rb", "/usr/lib/ruby/1.9.1/webrick/httpauth/htpasswd.rb", "/usr/lib/ruby/1.9.1/webrick/httpauth/htdigest.rb", "/usr/lib/ruby/1.9.1/webrick/httpauth/digestauth.rb", "/usr/lib/ruby/1.9.1/webrick/httpauth/authenticator.rb", "/usr/lib/ruby/1.9.1/webrick/httpauth/htgroup.rb", "/usr/lib/ruby/1.9.1/webrick/httpauth/basicauth.rb", "/usr/lib/ruby/1.9.1/webrick/log.rb", "/usr/lib/ruby/1.9.1/webrick/httpserver.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/webrick/https.rb", "/usr/lib/ruby/1.9.1/webrick/accesslog.rb", "/usr/lib/ruby/1.9.1/webrick/cookie.rb", "/usr/lib/ruby/1.9.1/webrick/httputils.rb", "/usr/lib/ruby/1.9.1/webrick/httpstatus.rb", "/usr/lib/ruby/1.9.1/webrick/ssl.rb", "/usr/lib/ruby/1.9.1/webrick/httpproxy.rb", "/usr/lib/ruby/1.9.1/webrick/httpauth.rb", "/usr/lib/ruby/1.9.1/webrick/config.rb", "/usr/lib/ruby/1.9.1/webrick/httpservlet.rb", "/usr/lib/ruby/1.9.1/csv.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/English.rb", "/usr/lib/ruby/1.9.1/benchmark.rb", "/usr/lib/ruby/1.9.1/erb.rb", "/usr/lib/ruby/1.9.1/tsort.rb", "/usr/lib/ruby/1.9.1/abbrev.rb", "/usr/lib/ruby/1.9.1/rinda", "/usr/lib/ruby/1.9.1/rinda/rinda.rb", "/usr/lib/ruby/1.9.1/rinda/ring.rb", "/usr/lib/ruby/1.9.1/rinda/tuplespace.rb", "/usr/lib/ruby/1.9.1/dl.rb", "/usr/lib/ruby/1.9.1/tkmngfocus.rb", "/usr/lib/ruby/1.9.1/observer.rb", "/usr/lib/ruby/1.9.1/tmpdir.rb", ...
<al2o3cr> ... "/usr/lib/ruby/1.9.1/rake.rb", "/usr/lib/ruby/1.9.1/forwardable.rb", "/usr/lib/ruby/1.9.1/set.rb", "/usr/lib/ruby/1.9.1/ubygems.rb", "/usr/lib/ruby/1.9.1/resolv.rb", "/usr/lib/sudoers.so", "/usr/lib/security", "/usr/lib/security/pam_nologin.so", "/usr/lib/security/pam_unix.so", "/bot.rb", "/root", "/bin", "/lib", "/lib/libresolv.so.2", "/lib/libutil.so.1", "/lib/libdl.so.2", "/lib/libpam_misc.so.0", "/lib/libssl.so.1.0.0", "/lib/libz.so.1", ...
<al2o3cr> ... "/lib/libcrypt.so.1", "/lib/libnss_dns.so.2", "/lib/libnss_files.so.2", "/lib/libm.so.6", "/lib/libpthread.so.0", "/lib/librt.so.1", "/lib/libncursesw.so.5", "/lib/libc.so.6", "/lib/libruby.so.1.9", "/lib/libpam.so.0", "/lib/libreadline.so.6", "/lib/libgcc_s.so.1", "/lib/ld-linux-x86-64.so.2", "/lib/libcrypto.so.1.0.0", "/lib/libstdc++.so.6", "/etc", "/etc/resolv.conf", "/etc/ld.so.cache", "/etc/pam.d", "/etc/sudoers", "/etc/group", "/etc/passwd", ...
<al2o3cr> ... "/etc/nsswitch.conf", "/foo", "/lost+found"]
<banisterfiend> that was fun
<otters> I'm in here rather a lot
Targen has quit [Ping timeout: 246 seconds]
<jonahR> >> puts Dir.entries("etc")
<al2o3cr> stdout too long, PMed
<otters> I thought we'd met
TorpedoSkyline has joined #ruby
<jrajav> Whoa
<jrajav> Sorry about that
<jonahR> >> puts File.read("etc/sudoers")
<al2o3cr> root ALL=(ALL) ALL
<twock> someone doesn't know how to use pastebin?
<jrajav> What on earth happened :/
<jrajav> twock: It's my bot
<twock> what happened?
<banisterfiend> jrajav: you need to clip stdout i guess
<jrajav> I do. I clip it after 2 lines of stdout
EPIK has joined #ruby
<banisterfiend> well..
<jrajav> I neglected to clip an extremely long single line, however
<jrajav> :)
Targen has joined #ruby
<banisterfiend> ah
<twock> what's your supposed to do, jrajav ?
<jrajav> Unfortunately I can't modify the bot till tomorrow
<jrajav> If you want to ban it feel free
<jrajav> Otherwise, just make sure no one makes a really long line again
<jrajav> :P
nari has joined #ruby
<banisterfiend> I was strugging with this IRC client
<banisterfiend> struggling
<banisterfiend> i know how to ban people now :)
<banisterfiend> so hopefully it wont be an issue if it happens again
<twock> whatever
<Chryson> monkey-patch it through IRC? :D
<otters> shouldn't be a problem
justsee is now known as justsee|away
<jrajav> As awesome an idea is that is, the scriptlets that you run through the bot can't even read the main bot script, much less modify it
gen0cide_ has quit [Ping timeout: 248 seconds]
adeponte has joined #ruby
<mksm> >> p system('> /bot.rb')
<al2o3cr> nil
<jrajav> >> puts system('> /bot.rb')
ringotwo has quit [Remote host closed the connection]
<mksm> >> p 'dead?'
<al2o3cr> "dead?"
<jrajav> It doesn't respond if there's nothing on stdout or stderr
<jrajav> That's another incoming fix
ringotwo has joined #ruby
<mksm> >> p __FILE__[0,50]
<al2o3cr> "r_mksm.rb"
Spooner has quit [Ping timeout: 240 seconds]
a_a_g has joined #ruby
<jrajav> The individual scripts are in a separate file (and process) from the main bot
n_blownapart has joined #ruby
a_a_g has quit [Client Quit]
berserkr has quit [Quit: Leaving.]
butblack has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
<mksm> >> p require 'fileutils' ; FileUtils.rmdir('/')
<al2o3cr> true
radic_ is now known as radic
<jonahR> holy sh
<mksm> >> p FileUtils.rmdir('/')
<al2o3cr> stderr:
<al2o3cr> r_mksm.rb:1:in `<main>': uninitialized constant FileUtils (NameError)
ringotwo has quit [Remote host closed the connection]
<otters> >> require 'nyancat'
<al2o3cr> stderr too long, PMed
artOfWar has quit [Remote host closed the connection]
<jrajav> Lol
<mksm> lol
<otters> >> require 'fileutils'
<otters> >> p FileUtils
<al2o3cr> stderr:
<al2o3cr> r_otters.rb:1:in `<main>': uninitialized constant FileUtils (NameError)
<jrajav> Each >> is a completely different script
<mksm> >> p eval(p 1)
<al2o3cr> 1
<al2o3cr> stderr:
<al2o3cr> r_mksm.rb:1:in `eval': can't convert Fixnum into String (TypeError)
<al2o3cr> from r_mksm.rb:1:in `<main>'
<banisterfiend> jrajav: still got the weird ';' bug?
<jrajav> Nope
<banisterfiend> >> "hello ; world"
<jonahR> >> puts IO.public_instance_methods
<al2o3cr> stdout too long, PMed
<jrajav> That was due to Sandrbox's preparsing
<banisterfiend> >> "hello ; world"
<mksm> >> p eval("require 'fileutils'; Fileutils.rmdir('/')")
<al2o3cr> stderr too long, PMed
<banisterfiend> >> "hello"
awarner has quit [Remote host closed the connection]
<banisterfiend> >> p "hello"
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<jrajav> banisterfiend: Also, you currently have to p or puts anything you want to see. The bot only responds with stdout and/or stderr
<al2o3cr> "hello"
<mksm> >> p eval("require 'fileutils'; FileUtils.rmdir('/')")
<al2o3cr> ["/"]
<banisterfiend> >> p "hello; world"
<al2o3cr> "hello; world"
<GeekOnCoffee> >> puts system('pwd')
<jrajav> banisterfiend: Returning the result of evalutation was one of the big plusses of sandrbox
<banisterfiend> >> def hello; "bink" ; end; p hello
<al2o3cr> "bink"
<banisterfiend> jrajav: cool
<heftig> >> p RUBY_VERSION
<al2o3cr> "1.9.3"
<otters> >> p __FILE__
<al2o3cr> "r_otters.rb"
<GeekOnCoffee> >> p eval("require 'fileutils'; Fileutils.pwd()")
powerplay has joined #ruby
<al2o3cr> stderr too long, PMed
xclite_ has joined #ruby
<heftig> >> p RUBY_ENGINE
<jonahR> >> puts IO.read(__FILE__)
<al2o3cr> "ruby"
powerplay has left #ruby [#ruby]
<al2o3cr> puts IO.read(__FILE__)
<GeekOnCoffee> >> p eval("require 'fileutils'; FileUtils.pwd()")
<al2o3cr> "/"
<n_blownapart> hi very basic prog. driving me nuts. must be path issue - sorry for such basic stuff: http://pastie.org/4415580
<banisterfiend> >> def hello; Proc.new.call; end; hello { puts "hey heftig, what's up? }
<al2o3cr> stderr too long, PMed
<heftig> >> p Process.uid
<banisterfiend> >> def hello; Proc.new.call; end; hello { puts "hey heftig, what's up?" }
<al2o3cr> 1000
<al2o3cr> hey heftig, what's up?
<heftig> banisterfiend: nothing
<jonahR> >> p eval("IO.read(__FILE__))
<al2o3cr> stderr too long, PMed
twock has quit [Quit: leaving]
<jonahR> :)
<heftig> while true; Process.fork; end
<heftig> >> while true; Process.fork; end
<heftig> >> while true; Process.fork; p 1 end
<jonahR> >> p eval("IO.read(__FILE__))
<heftig> >> p 1
<heftig> oh hey, forkbombed?
<jonahR> >> p eval("IO.read(__FILE__)")
<GeekOnCoffee> >> p eval("ps -aef")
<heftig> jrajav: i think i broke it
<jrajav> Possible
conorwade has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<jrajav> The only resource limit I set was cpu time
<jrajav> I didn't have any time left to add file writing limit, forking limit, etc.
<jrajav> Yup, it isn't responding in PM either. Pretty sure you broke it :P
<heftig> banisterfiend: success!
<banisterfiend> heftig: cool, what did u do?
<banisterfiend> fork bomb?
<banisterfiend> that's the oldest trick in the book ;)
<otters> that's the problem
<banisterfiend> jrajav: i thought you had time outs and resource limits?
<jonahR> +10 rupees
<mksm> now we know who to call when the machines rise
<jrajav> banisterfiend: The only resource limit is on cpu time
<jrajav> 1 second
<jonahR> >> p eval("IO.read(__FILE__)")
<n_blownapart> hi don't load and require use exactly the same loadpath?
<banisterfiend> n_blownapart: no they dont
<banisterfiend> load doens't even use $LOAD_PATH
syamajala has quit [Remote host closed the connection]
<heftig> jonahR: uh, wouldn't that eval __FILE__ to "(eval)"?
<banisterfiend> oh maybe it does
<n_blownapart> if you have time, sorry for such basic stuff: http://pastie.org/4415580
<jonahR> yes :/
<jonahR> hahahah
<jrajav> Well, like I said, I can't modify the bot till tomorrow
<jrajav> So I guess she's just dead in the water
<jrajav> I'm going to bed
<mksm> n_blownapart: what ruby version?
<n_blownapart> 1.9.3 but the book covers 1.9.1
al2o3cr has quit [Ping timeout: 256 seconds]
<n_blownapart> mksm: ^
<mksm> try require './loadee'
<n_blownapart> ok
<banisterfiend> 1.9.1 was the strangest ruby version ever ;)
bglusman has joined #ruby
td123 has joined #ruby
<n_blownapart> mk banisterfiend shit that worked thanks. why?
<n_blownapart> mksm^
yoklov has quit [Quit: computer sleeping]
<mksm> "." is not in the $LOAD_PATH anymore in 1.9+
<n_blownapart> mksm: I don't recall using that notation in other examples of require. ('./filename')
<mksm> if the required file is in another dir then you don't need it
<mksm> or if you use the "ruby -I. script.rb" then you don't need it either
shadoi has joined #ruby
<n_blownapart> mksm: so the book I'm using, the well-Grounded Rubyist (1.9.1) will have plenty of changes?
headius has quit [Quit: headius]
td123 has quit [Ping timeout: 246 seconds]
kyb3r has quit [Remote host closed the connection]
<mksm> probably not ... like banisterfiend said, 1.9.1 was kinda weird
kyb3r has joined #ruby
<banisterfiend> n_blownapart: i dont think there's any 1.9.2/1.9.3 books though
td123 has joined #ruby
mhodgson has quit []
jchauncey has joined #ruby
voodoofish430 has quit [Quit: Leaving.]
<n_blownapart> banisterfiend: mksm thanks good people
<mksm> people are writing books on ruby 2.0 by now
<banisterfiend> mksm: cool
<banisterfiend> ruby 2.0 looks glorious
<heftig> "Programming Ruby 1.9" was continuously updated
<heftig> version 4.2 is for 1.9.3
yoklov has joined #ruby
<banisterfiend> heftig: was that your book of choice?
<heftig> yes.
adeponte has quit [Remote host closed the connection]
<banisterfiend> heftig: k00
<shadoi> My book of choice is start.gotapi.com
<n_blownapart> I kept having people tell me well-Grounded Rubyist but I've never programmed before much.
drago757 has joined #ruby
Guest is now known as keyvan_
dankest has joined #ruby
<banisterfiend> n_blownapart: if you find well-groudned too hard, consider
<banisterfiend> n_blownapart: 'learn to program'
kyb3r has quit [Remote host closed the connection]
kyb3r has joined #ruby
<jonahR> http://rubymonk.com its pretty good
<jonahR> *is
kyb3r has quit [Client Quit]
<n_blownapart> thanks. I have it on pdf banisterfiend
jrajav has quit [Quit: The best darkness is strange and surprising]
<n_blownapart> but anyone why does load "loadee.rb" work and not require "loadee" ? the .rb extension is apparently not necessary. banisterfiend mksm
<banisterfiend> jonahR: is taht free?
<jonahR> yeah, sign in with your github or google account
slux_ has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
erichmenge has quit [Quit: Linkinus - http://linkinus.com]
wallerdev has quit [Quit: wallerdev]
slux has quit [Ping timeout: 244 seconds]
drago757 has quit [Quit: drago757]
<n_blownapart> mksm: I tried putting the loadee file into another directory, but I still needed the prepend ./
<jonahR> require_relative ?
Konboi has quit [Remote host closed the connection]
_guns_ has joined #ruby
_jorge has joined #ruby
<n_blownapart> jonahR: no its strange because I've done lessons on require before, and they work without fanfare.
Konboi has joined #ruby
<n_blownapart> jonahR: but thanks. not sure what require_relative is
jillsmitt has joined #ruby
jillsmitt_ has joined #ruby
holy has joined #ruby
jchauncey has quit [Quit: jchauncey]
<jonahR> n_blownapart: it allows you to load a file relative to the file you're currently in
<jonahR> so you don't have to "./file"
<n_blownapart> jonahR: thanks my editor colors require in pink but require_relative stays white, as does load....?
jillsmitt has quit [Client Quit]
<jonahR> n_blownapart: sure, what are you using?
<jonahR> *not sure
jillsmitt has joined #ruby
Tomasso has quit [Ping timeout: 256 seconds]
<n_blownapart> jonahR: sublime2
havenn has joined #ruby
moshee has quit [Ping timeout: 260 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
havenn has quit [Remote host closed the connection]
<jonahR> n_blownapart: sublime2 is awesome
codeFiend has quit [Ping timeout: 246 seconds]
<jonahR> n_blownapart: it does stay white but it works though
darren has joined #ruby
<n_blownapart> jonahR: can't wait to understand how to use it. well I put the loadee.rb file in a different folder and it didn't like it. ..?
<n_blownapart> jonahR: it does work within the same dir. though, without the .rb extension.
havenn has joined #ruby
<jonahR> n_blownapart: try this, suppose the loaded.rb is now in a folder named "new" which is inside your current rb file
gen0cide_ has joined #ruby
gen0cide_ has quit [Client Quit]
<jonahR> n_blownapart: $LOAD_PATH.unshift( File.join( File.dirname(__FILE__), 'new' ) )
<jonahR> n_blownapart: if you use that, you can return to using require
gen0cide_ has joined #ruby
<n_blownapart> jonahR: I simply put it in another project file under my ruby project file.
<n_blownapart> jonahR: I just enter that on the command line within my project?
<jonahR> inside the rb file (on top) before using require
<n_blownapart> jonahR: sorry I dont get that LOAD_PATH notation
<n_blownapart> oh ok
<n_blownapart> with the file no_i_wont
<n_blownapart> jonahR: scratch that.
robbyoconnor has joined #ruby
<n_blownapart> jonahR: i meant within the file loaddemo.rb
<mksm> n_blownapart: require does not need the .rb extension, it already looks for rb files
<n_blownapart> mksm: that's what I was hoping but somehow its not working without "./filename"
<jonahR> n_blownapart: if the file you're calling is not in the same directory you have to specify it
FlyingFoX has quit [Remote host closed the connection]
<mksm> n_blownapart: require uses $LOAD_PATH ( a global array) to look for the file. "." (current dir) is not in $LOAD_PATH, so you need to specify it
<n_blownapart> jonahR: no both the loaddemo.rb file and the ' loadee.rb ' file are in the same dir.
dhruvasagar has joined #ruby
havenn has quit [Remote host closed the connection]
<jonahR> hmm
<n_blownapart> mksm: load works but require doesn't. the book doesn't mention anything about fiddling with path jonahR : http://pastie.org/4415580
odigity has quit [Remote host closed the connection]
<n_blownapart> its super easy, I don't know why I can use load and not require without the .rb extension.
khakimov has joined #ruby
<n_blownapart> this is the point the book is trying to make.
<mksm> n_blownapart: if you use the same ruby version that the book uses then it should work
<mksm> but stuff changes
<n_blownapart> mksm yikes, I just got the book today.
havenn has joined #ruby
<n_blownapart> mksm: thanks all. jonahR
havenn has quit [Remote host closed the connection]
<jonahR> n_blownapart: load assumes that the file you're calling is exactly like you're calling it
<jonahR> n_blownapart: and you can load the file multiple times
havenn has joined #ruby
<jonahR> n_blownapart: while require just loads the file once, it keeps track of the library you have loaded, it also adds the extension
alvaro_o has quit [Quit: Ex-Chat]
dankest has quit [Quit: Leaving...]
havenn has quit [Remote host closed the connection]
<n_blownapart> jonahR: yeah that I get. require only lets you get it once. but the book says you don't the need the extension with require because it is a "feature" which could be C code, etc.
<n_blownapart> jonahR: thanks for the link...this is so basic but if I don't sort it out now...
Nisstyre has quit [Read error: Connection reset by peer]
<jonahR> n_blownapart: exactly you don't need to use the extension with require
<jonahR> n_blownapart: no problem ;)
<jonahR> n_blownapart: http://ruby.learncodethehardway.org/book/ you can read it online for free
<n_blownapart> jonahR: I saw that..love the title !
<jonahR> n_blownapart: rubymonk.com helped me a lot
nXqd has joined #ruby
<jonahR> n_blownapart: that last one is awesome because its hands on
<n_blownapart> jonahR: but why won't this work? I've used require before with no problem.
bglusman has quit [Remote host closed the connection]
<n_blownapart> thanks jonahR will look at rubyMonk too
iamlacroix has joined #ruby
TorpedoSkyline has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
n_blownapart has quit [Remote host closed the connection]
<jonahR> n_blownapart: since ruby 1.9, they removed the current directory from the path
jlogsdon has quit [Remote host closed the connection]
khakimov has quit [Quit: Computer has gone to sleep.]
<jonahR> nblownapart: require loads a file from the $LOAD_PATH so its better to just use "require_relative"
<jonahR> ...
mockra has joined #ruby
uris has quit [Quit: leaving]
sevvie has joined #ruby
n_blownapart has joined #ruby
xaq has joined #ruby
n_blownapart has quit [Remote host closed the connection]
rakunHo has joined #ruby
rakunHo has quit [Remote host closed the connection]
xclite_ has quit [Remote host closed the connection]
khakimov has joined #ruby
vitor-br has joined #ruby
BMF has joined #ruby
yoklov has quit [Quit: computer sleeping]
dankest has joined #ruby
seoaqua has joined #ruby
burgestrand has joined #ruby
flip_digits has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Abbas| has quit [Ping timeout: 246 seconds]
thomasfedb has quit [Ping timeout: 246 seconds]
a_a_g has joined #ruby
thomasfedb has joined #ruby
<bnagy> I like the hard way approach, I just wish it had been written by someone that speaks fluent ruby
gen0cide_ has quit [Ping timeout: 246 seconds]
stephenjudkins has joined #ruby
adeponte has joined #ruby
gen0cide_ has joined #ruby
jrist is now known as jrist-afk
banisterfiend has quit [Remote host closed the connection]
rouss has quit [Ping timeout: 265 seconds]
ananthakumaran has joined #ruby
icy` has joined #ruby
icy` has quit [Changing host]
icy` has joined #ruby
Konboi has quit [Remote host closed the connection]
rbanffy has joined #ruby
kyktommy has joined #ruby
brdude has joined #ruby
igotnolegs has joined #ruby
butblack has left #ruby [#ruby]
_jorge has quit [Remote host closed the connection]
jillsmitt_ has quit [Remote host closed the connection]
jillsmitt has quit [Remote host closed the connection]
moshee has quit [Ping timeout: 256 seconds]
moshee has joined #ruby
BMF has quit [Remote host closed the connection]
jillsmitt has joined #ruby
seoaqua has quit [Ping timeout: 240 seconds]
burgestrand has quit [Quit: Leaving.]
vitor-br has quit [Ping timeout: 276 seconds]
savage- has joined #ruby
sevvie has quit [Ping timeout: 246 seconds]
justsee|away is now known as justsee
cbuxton has quit [Ping timeout: 244 seconds]
yoklov has joined #ruby
chimkan has quit [Quit: chimkan]
tommyvyo has quit [Quit: Computer has gone to sleep.]
yasushi has joined #ruby
chimkan has joined #ruby
graspee has quit [Quit: leaving]
cloud|droid has joined #ruby
icy` has quit [Quit: .: adios :.]
cloud|droid has quit [Client Quit]
cloud|droid has joined #ruby
kyktommy has quit [Quit: kyktommy]
jonahR has quit [Quit: jonahR]
charliesome has joined #ruby
kyktommy has joined #ruby
lurch_ has quit [Quit: lurch_]
bradhe has joined #ruby
holy has quit []
nXqd has quit [Ping timeout: 240 seconds]
chimkan has quit [Quit: chimkan]
wallerdev has joined #ruby
Derander has quit [Ping timeout: 244 seconds]
brianpWins has joined #ruby
iori has joined #ruby
gmci has quit [Quit: Computer has gone to sleep.]
Derander has joined #ruby
despoil has joined #ruby
ph^_ has joined #ruby
ph^ has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
chimkan has joined #ruby
yxhuvud has joined #ruby
gen0cide_ has quit [Ping timeout: 245 seconds]
tonini has joined #ruby
vlad_starkov has joined #ruby
cbuxton has joined #ruby
yasushi has quit [Remote host closed the connection]
yasushi has joined #ruby
jasmina87SA__ has joined #ruby
Konboi has joined #ruby
banisterfiend has joined #ruby
jasmina87SA__ has quit [Read error: Connection reset by peer]
reuf has joined #ruby
cbuxton has quit [Ping timeout: 260 seconds]
Konboi has quit [Read error: Connection reset by peer]
yasushi has quit [Ping timeout: 244 seconds]
Konboi has joined #ruby
Banistergalaxy has quit [Ping timeout: 276 seconds]
n_blownapart has joined #ruby
n_blownapart has quit [Remote host closed the connection]
jimeh has quit [Ping timeout: 245 seconds]
kyktommy has quit [Quit: kyktommy]
cbuxton has joined #ruby
iamjarvo has quit [Quit: Leaving...]
SphericalCow has quit [Quit: Leaving]
jillsmitt has quit [Remote host closed the connection]
jillsmitt has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
yasushi has joined #ruby
yasushi has quit [Remote host closed the connection]
yasushi has joined #ruby
cbuxton has quit [Ping timeout: 245 seconds]
burgestrand has joined #ruby
Morkel has joined #ruby
Hanmac1 is now known as Hanmac
gen0cide_ has joined #ruby
mockra has quit [Remote host closed the connection]
yasushi has quit [Ping timeout: 252 seconds]
icy` has joined #ruby
icy` has quit [Changing host]
icy` has joined #ruby
_jorge has joined #ruby
chimkan has quit [Quit: chimkan]
tommyvyo has quit [Ping timeout: 244 seconds]
Foxhoundz has quit [Ping timeout: 248 seconds]
yoklov has quit [Quit: computer sleeping]
gmci has joined #ruby
JohnBat26 has joined #ruby
_jorge has quit [Remote host closed the connection]
_guns_ is now known as guns
katherinem13_ is now known as katherinem13
banisterfiend has quit [Remote host closed the connection]
Guest74974 has joined #ruby
und3f has joined #ruby
mahmoudimus has joined #ruby
himsin has quit [Ping timeout: 248 seconds]
mahmoudimus has quit [Client Quit]
tastycakeman has joined #ruby
blazes816 has quit [Quit: Leaving]
w0lverine has joined #ruby
cbuxton has joined #ruby
Banistergalaxy has joined #ruby
lurch_ has joined #ruby
mahmoudimus has joined #ruby
chriskk has quit [Quit: chriskk]
apeschel has joined #ruby
rutkla has joined #ruby
havenn has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
gen0cide_ has quit [Ping timeout: 246 seconds]
ananthakumaran has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
sepp2k has joined #ruby
dhruvasagar has joined #ruby
Konboi has quit [Remote host closed the connection]
kyktommy has joined #ruby
d3vic3 has quit [Ping timeout: 265 seconds]
Konboi has joined #ruby
d3vic3 has joined #ruby
mockra has joined #ruby
Konboi_ has joined #ruby
Konboi has quit [Read error: Connection reset by peer]
red_ has joined #ruby
mockra has quit [Ping timeout: 252 seconds]
verto is now known as verto|off
Chryson has quit [Quit: Leaving]
savage- has quit [Remote host closed the connection]
noyb has joined #ruby
kpshek has quit []
Gurpartap has joined #ruby
<Gurpartap> Why should I care about Actors if I know how to use Threads?
<Gurpartap> (not that I know Ruby's Threads so well, but it's critic on why should I implement Actors)
<Gurpartap> Anyone?
dr_bob has joined #ruby
<dr_bob> mornink
<Gurpartap> morwing
xaq has quit [Remote host closed the connection]
<bnagy> Gurpartap: whah?
<bnagy> Actors and not mutually exclusive with threads in theory
<Gurpartap> bnagy: I'm assuming that Actors/Fibers are something Ruby provides as an abstraction over implementing Threads. Am I right?
<bnagy> although in practice, probably
<bnagy> no fibers are completely unrelated
mmokrysz has joined #ruby
<Gurpartap> Ok
jimeh has joined #ruby
<bnagy> it's not really something that's any easier / harder in ruby than anything else imho
<burgestrand> Gurpartap: Ruby does not provide actors (even though I heard something about Actors in Rubinius about a year ago).
adeponte has quit [Remote host closed the connection]
<bnagy> Actor Model is just a design that uses very encapsulated agents, explicit mesaging and kind of implicit state
<Gurpartap> Celluloid brought actors, which is where I started considering it
<bnagy> no, it didn't :) It's a good example of the pattern though
<burgestrand> Aye. A general idea is that you use message passing over sharing state, which in turn makes you less prone to introducing deadlocking bugs due to shared state synchronization.
<Gurpartap> s/Celluloid brought actors/Celluloid brought actors to me/
<Gurpartap> :p
khakimov has quit [Quit: Computer has gone to sleep.]
arkiver has joined #ruby
<bnagy> Gurpartap: in _general_ threads are inimical to that model
<burgestrand> Banistergalaxy: sweet. Always nice to find new things on this piece of rock.
<burgestrand> Banistergalaxy: sinkholes are scary.
iamtakin1iteasy is now known as iamtakingiteasy
* burgestrand adds inimical to new word for the day
<bnagy> cause all the things that would make you choose threads - like mutexes, semaphores, shared memory - are what the model is designed to avoid
<Banistergalaxy> It also falls in the time period of permian triassic extinction
kpshek has joined #ruby
<Banistergalaxy> Which they thought was just due to volcanies
tndrbt has joined #ruby
<bnagy> so you could do it with threads, but you basically don't use any of the things that make threads good
<bnagy> or bad
<bnagy> depending on one's point of view
<bnagy> the tradeoff is that you get much better and simpler concurrency models that scale
maesbn has joined #ruby
<bnagy> which is why celluloid -> dcell is such a natural extension
<burgestrand> And it’s easier to reason about when you… yeah, dcell.
nXqd has joined #ruby
<Gurpartap> i see
khakimov has joined #ruby
<Gurpartap> burgestrand: remember the flavors/regions issue i had the other day?
<burgestrand> Gurpartap: nope, I might’ve been idling at that time
<Gurpartap> burgestrand: you were helpful that day, to be idle
<burgestrand> Gurpartap: perhaps you were talking to banisterfiend and not me? either that or I should really eat bigger breakfasts
mmokrysz has left #ruby [#ruby]
<Gurpartap> i was really you :X
<burgestrand> Gurpartap: enlighten me!
<Gurpartap> i remember trying to get back to you, but you left within few monites
<Gurpartap> minutes
<burgestrand> I should search my logs.
<Gurpartap> search for :flavor_ids or :flavors
<Gurpartap> anyways,
elhu has joined #ruby
ipoval has joined #ruby
<Gurpartap> i'm confused remembering how i solved the issue
<Gurpartap> lol
<bnagy> try not using threads / regexes / class variables
<bnagy> ( I have no idea what the issue was, but that advice seems to fix it 80% of the time )
<Gurpartap> i see. i'm writing another gem that i tried implementing celluloid's actors with
<Gurpartap> hah :p
<burgestrand> Meh. Adium has been so much fail these past years. Log searching borked. ~.~
<bnagy> you use Adium for irc??
<Gurpartap> ^
<burgestrand> Yeah, it’s the only client where I don’t need yet another client for Jabber/IRC that doesn’t make me want to gauge out my eyes.
<burgestrand> And I’m not even convinced about not gauging my eyes out yet.
DarthGandalf has quit [Ping timeout: 260 seconds]
<bnagy> my internet is too crap to use anything but irssi + screen
<bnagy> not that I would change now if I had better internet
<bnagy> anyways
<burgestrand> I don’t need the terminal/hackery look in my IM clients, I sit all day in the terminal, I’d grow visually impaired if exposed to more of the terminal. :p
<Gurpartap> i started with mirc or something of those days in around 2002 :D
* Gurpartap was a school kid back then
DarthGandalf has joined #ruby
<Gurpartap> from india!
<Gurpartap> on a dial up!
<burgestrand> I miss the modem sound.
<Gurpartap> lol
<Gurpartap> trying to download pirated music through warez channels!
<Gurpartap> which i never happened to finish
<burgestrand> limewire and kazaa.
<burgestrand> \o/
<Gurpartap> for the slow internet
<Gurpartap> yeah they worked though
xnm has joined #ruby
<burgestrand> Yeah but you often got the wrong song. >:(
davidcelis has joined #ruby
<Gurpartap> :D
<burgestrand> Then again that made me find even more music I like that I eventually bought!
* burgestrand nostalgia
<Gurpartap> (:
<Gurpartap> by the time i learnt how to mute the modem's sound, so the parent's wont hear it (since dial up was so costly here); by that time i was mature enough to make my decision whether or not to use internet LoL
<Gurpartap> s/parent's/parents/
<Gurpartap> mature = my parents would let me have my own take
banisterfiend has joined #ruby
gmci has quit [Quit: Computer has gone to sleep.]
elhu has quit [Quit: Computer has gone to sleep.]
Progster has quit [Ping timeout: 240 seconds]
kyktommy has quit [Quit: kyktommy]
Advocation has joined #ruby
subbyyy has quit [Quit: Leaving.]
quest88 has quit [Quit: quest88]
tastycakeman1 has joined #ruby
tastycakeman has quit [Ping timeout: 246 seconds]
\13k has quit [Quit: Leaving]
jprovazn has joined #ruby
_jorge has joined #ruby
adeponte has joined #ruby
answer_42 has joined #ruby
havenn has quit [Remote host closed the connection]
adeponte has quit [Remote host closed the connection]
w0lverine has quit [Ping timeout: 246 seconds]
_jorge has quit [Ping timeout: 246 seconds]
AxonetBE has joined #ruby
deryl has joined #ruby
tndrbt has quit [Quit: tndrbt]
seoaqua has joined #ruby
lkba has joined #ruby
tuxillo_ is now known as tuxillo
razeetg has joined #ruby
<razeetg> n00b guides please.
justsee is now known as justsee|away
ly_gs has joined #ruby
ipoval has quit [Quit: ipoval]
w0lverine has joined #ruby
seoaqua has quit [Ping timeout: 244 seconds]
mockra has joined #ruby
workmad3 has joined #ruby
razeetg has left #ruby [#ruby]
Shamgar has quit [Ping timeout: 265 seconds]
nohonor has quit [Quit: Leaving]
\13k has joined #ruby
TPFC-SYSTEM has joined #ruby
mockra has quit [Ping timeout: 244 seconds]
al2o3cr has joined #ruby
n_blownapart has joined #ruby
tastycakeman1 has quit [Ping timeout: 246 seconds]
manizzle is now known as WeLoveCP
WeLoveCP is now known as manizzle
justsee|away is now known as justsee
manizzle has quit [Quit: Leaving]
manizzle has joined #ruby
fantazo has quit [Remote host closed the connection]
bluOxigen has joined #ruby
ctp has quit [Read error: Connection reset by peer]
jillsmitt has quit [Ping timeout: 260 seconds]
elhu has joined #ruby
<n_blownapart> hi I'm trying to create my first Rakefile. I don't know where to put the file, if it needs an extension (.rb), or where to put the /tmp directory that it goes through and deletes files from. Here is the rakefile if anyone has time: http://pastie.org/4421284
<n_blownapart> its an example in a book.
Shamgar has joined #ruby
Banistergalaxy has quit [Ping timeout: 244 seconds]
elhu has quit [Client Quit]
dankest has quit [Quit: Leaving...]
elhu has joined #ruby
g_rotbart has quit [Remote host closed the connection]
elhu has quit [Client Quit]
workmad3 has quit [Ping timeout: 248 seconds]
jillsmitt has joined #ruby
elhu has joined #ruby
und3f has quit [Read error: Connection reset by peer]
khakimov has quit [Quit: Computer has gone to sleep.]
und3f has joined #ruby
aganov has joined #ruby
<burgestrand> n_blownapart: you create a file named Rakefile, no extension, and place that code in it
<burgestrand> n_blownapart: you can then execute the tasks in your rakefile with "rake taskname", and list the tasks with descriptions using "rake -T"
evilthomas is now known as thomas
<burgestrand> n_blownapart: since the directory /tmp starts with a slash, it‘s considered an absolute path to a directory on your system
chussenot has joined #ruby
<n_blownapart> thanks burgestrand , can I try out the Rakefile by typing "y" to delete a file somewhere?
xorigin has joined #ruby
darren has quit [Remote host closed the connection]
<burgestrand> n_blownapart: even if the code is from a book, you should answer that question yourself as you will be running the code
<burgestrand> I managed to get a person to run `rm -rf /` once, don’t be that guy
<n_blownapart> burgestrand: I don't understand. so I wouldn't create a bogus /tmp file with some bogus files in it, to delete?
* burgestrand tumbleweed
daniel_hinojosa has quit [Ping timeout: 240 seconds]
eldariof has joined #ruby
w0lverine has quit [Ping timeout: 240 seconds]
MarGarina has joined #ruby
<n_blownapart> tumbleweed whats that?
<n_blownapart> burgestrand: ^^
noyb has quit [Quit: Leaving.]
mfridh has joined #ruby
td123 has quit [Quit: WeeChat 0.3.8]
<Hanmac> n_blownapart did you hear about the epic fail of Bumblebee (nividia package)?
<n_blownapart> Hanmac: what? I'm a noob to oop
brdude has quit [Quit: brdude]
<Hanmac> there was an rm command but the path was not escaped ... so the thing destroyed the whole system
Banistergalaxy has joined #ruby
gmci has joined #ruby
jeff_sebring has joined #ruby
Advocation has quit [Quit: Advocation]
<bnagy> with great # comes great responsibility
<n_blownapart> Hanmac: I'm just trying to follow a tutorial that is leaving out a lot of context.
<bnagy> although afair it wasn't even a /, it was a stray space, right?
<bnagy> sorry not escaping, it was a stray space
<bnagy> like rm / tmp
thone_ has joined #ruby
dangerousdave has joined #ruby
Rochefort has joined #ruby
Rochefortes has joined #ruby
andrew_the_Bruce has joined #ruby
<andrew_the_Bruce> Hello everyone
thone has quit [Ping timeout: 244 seconds]
<n_blownapart> goodnight.
<andrew_the_Bruce> anyone here learn ruby from 'ruby.learncodethehardway.org' ?
<n_blownapart> I heard it was good on this channel andrew_the_Bruce
chichou has joined #ruby
<andrew_the_Bruce> I got recommended it by a developer at work, currently on exercise/lesson 38
<n_blownapart> also I heard rubymonk.com is good
<burgestrand> It used to be very non-idiomatic ruby, but it appears it’s gotten better.
<bnagy> I like the approach, I hate a lot of the solutions
hoelzro|away is now known as hoelzro
<shevy> andrew_the_Bruce, I used chris pine learn to program, then read the pickaxe
Rochefort has quit [Ping timeout: 265 seconds]
<andrew_the_Bruce> I program i nphp and java, understand c + ask… but I must admit Ruby beats all of them hands down with the perl-like features without the horrid syntax
Banistergalaxy has quit [Ping timeout: 248 seconds]
<shevy> hehe
<shevy> that's a good way of saying it
<shevy> perl-like features without the horrid syntax
n_blownapart has quit [Remote host closed the connection]
<andrew_the_Bruce> it will be a slow process for me learning this I think though, everything else I use has the curly braces and semi-colons… maybe my first project should be a script to remove semi-colons for mthe end of any lines
<hoelzro> haha
<hoelzro> that's not a bad start =)
<andrew_the_Bruce> Are there any sites like learncodethehardway that are a bit more advanced (for when I finish these lessons) yet teach as practical as possible? (I am a hands-on learner and like a little guidance as I go, such as challenges to accomplish)
gilead has joined #ruby
IPGlider has joined #ruby
<hoelzro> sorry to break topic, but The Ruby Programming Language eBook is 50% off for the next week
<andrew_the_Bruce> Are hashes popular more because of the added readability, or the fact that developers don't need to remember the numbers?
<hoelzro> andrew_the_Bruce: hashes are used for all sorts of things
<bnagy> andrew_the_Bruce: puzzlenode, but the problems are hard
<hoelzro> arrays have their own benefits, though
<bnagy> like graduate level compsci hard
<andrew_the_Bruce> puzzle node, is it like projecteuler?
<bnagy> less mathy
<andrew_the_Bruce> I am a graduate from Computer Science, just haven't used ruby before last night
<bnagy> projecteuler puzzles are mostly pretty easy and short, the challenge is being elegant
<andrew_the_Bruce> already there and put it on my reading list
<shevy> andrew_the_Bruce they are popular because you dont have to ask yourself "at which position is the colour of the cat stored", compared to an array
<shevy> hash[:colour]
<shevy> array[5]
<shevy> !!!!
<andrew_the_Bruce> yeah so more for the original developer than readability (I understand the advantages, just not sure which one led to the popularity)
<shevy> but it is very readable :)
<shevy> hashes
s1n4 has joined #ruby
<shevy> what sucks are arrays of arrays stored in hashes of arrays
<andrew_the_Bruce> what about hashes of hashes?
xavi has joined #ruby
<xavi> hi there
<andrew_the_Bruce> hey xavi
<shevy> andrew_the_Bruce, you just need to look at them, then you will know if they are ugly or not
chussenot has quit [Quit: chussenot]
dpk has joined #ruby
<andrew_the_Bruce> I think they look ok, in the right circumstances (like storing data for a chess game)
<shevy> hash = {"ble"=>"blu", "foo"=>"bar", "yippie"=>{"ack"=>"hmm"}}
mneorr has joined #ruby
mneorr1 has joined #ruby
mneorr1 has left #ruby [#ruby]
<lurch_> hi, should I always explicitly call .close() on an io object in ruby? or can i just rely on the garbage collector? ie. is this considered bad code: ERB.new(File.new('my-file').read) ?
<bnagy> File.read('my-file') is atomic, so it's safe
<bnagy> only thing to try and avoid if fh=File.open('foo'); #do stuff and then forget to close
<bnagy> also, just .close, not .close()
mockra has joined #ruby
igotnolegs has quit [Quit: Computer has gone to sleep.]
dangerousdave has quit [Quit: Leaving...]
<lurch_> bnagy: ok, thx
<andrew_the_Bruce> but also if you code in other languages it might be good practice to keep using the close t ovoid making the mistake in C, though ruby is better at handling this.
<bnagy> where possible use the block form to File.open
apeiros_ has joined #ruby
<bnagy> andrew_the_Bruce: you can't, anyway
<bnagy> that snippet will never assign an IO object to a var
mneorr has quit [Ping timeout: 246 seconds]
<andrew_the_Bruce> oh right, sorry… still a bit too used to C-based languages I guess
PapaSierra2 is now known as PapaSierra
<bnagy> actually... File.new(blah).read .. that _is_ going to have to be GC'ed - that's why File.read is better
Advocation has joined #ruby
<bnagy> but you still can't close it :(
lolmaus has joined #ruby
mockra has quit [Ping timeout: 248 seconds]
<andrew_the_Bruce> I just meant that I made the mistake and you are right, and just stated that my error was due to not being familiar enough with ruby, instead being used to C-based languages.
<andrew_the_Bruce> I better be off, back to the lessons. Thanks all, nice meeting you.
andrew_the_Bruce has quit [Quit: Leaving]
qwerxy has joined #ruby
twinturbo has joined #ruby
fastred has joined #ruby
peterhellberg has joined #ruby
qwerxy has quit [Quit: offski]
ly_gs has quit [Remote host closed the connection]
deryl has quit [Quit: deryl]
nilg has joined #ruby
baphled has joined #ruby
Rochefort has joined #ruby
Banistergalaxy has joined #ruby
a_a_g has quit [Quit: Leaving.]
reuf has quit [Read error: Connection reset by peer]
a_a_g has joined #ruby
Synthead has joined #ruby
Rochefortes has quit [Ping timeout: 246 seconds]
gen0cide_ has joined #ruby
lord4163 has joined #ruby
<lord4163> Hi
moshee has quit [Ping timeout: 260 seconds]
<peterhellberg> Hi there lord4163
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
<lord4163> If I understand right an array is a number right?
gen0cid__ has joined #ruby
<Hanmac> peterhellberg: http://fritzing.org << is that the company you are working ?
gen0cide_ has quit [Ping timeout: 246 seconds]
gen0cid__ is now known as gen0cide_
<peterhellberg> Nope, it’s just a pretty cool company/project :)
<apeiros_> lord4163: hu? no
<peterhellberg> (I just got a few kits from them)
<apeiros_> lord4163: an array is a collection of objects, organized by index
<peterhellberg> lord4163: No, an array is a list
<apeiros_> i.e. ordered and accessible by index
<lord4163> ok but how do I convert a string to a number?
<peterhellberg> "123".to_i
<apeiros_> or Integer("123")
<apeiros_> the latter will complain if you try to convert something that is not a number
virunga has joined #ruby
<lord4163> Ok, thx :)
<apeiros_> you may also want to be more precise than "number" - programming languages know many kinds of numbers
<Hanmac> >> "FF".to_i(16)
<Hanmac> >> p "FF".to_i(16)
<al2o3cr> 255
<apeiros_> integers, floats, rationals, complex, …
<apeiros_> >> Integer("xFF")
<al2o3cr> stderr:
<al2o3cr> r_apeiros_.rb:1:in `Integer': invalid value for Integer(): "xFF" (ArgumentError)
<al2o3cr> from r_apeiros_.rb:1:in `<main>'
<apeiros_> >> Integer("0xFF")
<apeiros_> al2o3cr: you're slow!
<Hanmac> >> p Integer("0xFF")
<al2o3cr> 255
<apeiros_> oooh
<apeiros_> it doesn't print the return value? shame :(
<Hanmac> yeah :(
<apeiros_> >> p Integer("0xFF", 16)
<al2o3cr> 255
<apeiros_> >> p Integer("FF", 16)
<al2o3cr> 255
<apeiros_> various ways :)
mneorr has joined #ruby
dimday has quit [Remote host closed the connection]
jeff_sebring has quit [Ping timeout: 244 seconds]
arkiver has quit [Ping timeout: 256 seconds]
mjbamford has joined #ruby
<peterhellberg> I think we have gone off on a tangent here :)
<peterhellberg> lord4163: Is Ruby your first programming language?
alup has quit [Ping timeout: 252 seconds]
<Hanmac> peterhellberg: about the link ... i can build "blueprints" for prototypes ... but can i do more? it would be cool if i could put the elements together and and then they react like real elements
Advocation has quit [Quit: Advocation]
shadoi has quit [Quit: Leaving.]
gmci has quit [Quit: Computer has gone to sleep.]
<peterhellberg> Hanmac: I thought it was pretty cool that it does auto-routing for the PCB… but no, I don’t think it is able to do any simulation
<lord4163> I know a little bit of bash and php
<Hanmac> but an simulatior would be VERY COOL :P
konk is now known as custardcow
<peterhellberg> Hanmac: You can also order custom PCB's via the software :)
macer1 has joined #ruby
<peterhellberg> Hanmac: It sure would be cool :)
mjbamford has quit [Ping timeout: 250 seconds]
piotr__ has joined #ruby
<peterhellberg> http://fab.fritzing.org/fritzing-fab <- I think this is pretty impressive, no need for large/expensive factories anymore
mjbamford has joined #ruby
xavi has quit [Disconnected by services]
chussenot has joined #ruby
saj has joined #ruby
<peterhellberg> lord4163: Ok, arrays in PHP is slightly different than the ones in Ruby. An array in PHP is actually an ordered map.
cezar has joined #ruby
cezar has quit [Client Quit]
codezombie has joined #ruby
ramblex has joined #ruby
tatsuya_o has joined #ruby
<peterhellberg> lord4163: In Ruby an Array is just a flat list of "things" (any type of objects)
<lord4163> ok :)
jeff_sebring has joined #ruby
<lord4163> I actually think php and bash are a little bit easier :P
saj has left #ruby [#ruby]
<peterhellberg> lord4163: In some sense; Hash in Ruby is almost more similar to array() in PHP than Array is
<apeiros_> lord4163: only because you started with it
<apeiros_> you'll probably soon recognize how messy php really is.
thomas is now known as jerk
<lord4163> Yeah, maybe, why is it messy?
<apeiros_> google for "php, a fractal of bad design"
ly_gs has joined #ruby
<apeiros_> yepp, that one.
<apeiros_> does he actually mention the case of the identity crisis of php's arrays?
<peterhellberg> I pointed the PHP developers to that article a while back, and they found it _very_ useful.
<Gurpartap> PHP = Punction Hunction Punction
arvidkahl has quit [Read error: Connection timed out]
jerk is now known as thomas
<Gurpartap> PHP has popularity because their abundant functions make for their location location location
<Gurpartap> s/make/making/
<Hanmac> php had/has an funny bug that two different strings are still equal because the numbers inside are equal "enough"
<apeiros_> please, lets stop talking about php. it makes me feel ill.
<apeiros_> suppressing the memories is hard enough already :-p
<Gurpartap> ^_^
<allyraza> apeiros: please talk about ruby not php
saj has joined #ruby
<Hanmac> ruby supports an eigenclass of an eigenclass of an eigenclass of an eigenclass of an eigenclass of an eigenclass of an eigenclass of an eigenclass (and so on :P)
arvidkahl has joined #ruby
<apeiros_> that's fractaloid too…
<apeiros_> (is fractaloid even a word?)
<Gurpartap> lets talk about not talking about php
<apeiros_> no, lets not.
<apeiros_> a walter turtle!
<Gurpartap> lol
bullicon has joined #ruby
<shevy> hey
<shevy> apeiros_ wrote a lot of PHP code in his life :-)
<peterhellberg> I’m thinking about getting the 2012 i5 11" Air to replace my 2011 i7 11" Air… Does anyone of you guys have the latest model?
imami|afk is now known as banseljaj
<apeiros_> peterhellberg: nope, opted for the retina
<apeiros_> to replace my 2010 13" air :)
<peterhellberg> apeiros_: I see, that seems like a very nice machine. But not for me, too bulky/heavy
blacktulip has joined #ruby
<lord4163> What's wrong with this? if var <= 60 || var => 100 . Unexpected accost... yadayadayada... syntax error?
<apeiros_> yeah, even though it's only ~700g more heavy than the 13" (1kg more than the 11") I still feel the difference…
saj has left #ruby [#ruby]
<Gurpartap> >=
<apeiros_> *heavier
jjang_ has joined #ruby
<Gurpartap> lord4163: var <= 60 || var >= 100
<apeiros_> lord4163: if you copy & paste you don't need to yaddayadda. the details matter. but what Gurpartap said.
<apeiros_> (and iirc that's the same in php…)
<lord4163> sorry Im on Windows I can't copy :(
<Gurpartap> lol
<apeiros_> rofl
<peterhellberg> lord4163: Oh, I’m sorry
<shevy> lord4163 the => is used in hash syntax. hash = { "key" => "value" }
<apeiros_> it is also used in rescue syntax: rescue ExceptionClass => exception_instance
<allyraza> shevy: yes but there is alternative in 1.9 {"key":"value"}
Synthead has quit [Quit: sqooq]
<shevy> lord4163 hmm I think there is some extension to allow copy paste on windows too
<apeiros_> allyraza: nope, that's not valid
dr0p has joined #ruby
<apeiros_> allyraza: you mean {key: "value"}
<allyraza> apeiros: yes
<apeiros_> (and those are not equivalent, {key: "value"} == {:key => "value"} != {"key" => "value"})
<Gurpartap> >=
<Gurpartap> ..
jjang has quit [Ping timeout: 252 seconds]
<apeiros_> lord4163: um, yes… if you don't fix the error you get it again… that's surprising how?
<lord4163> Ok fixed
mockra has joined #ruby
<shevy> hehehehehe
jjang_ has quit [Ping timeout: 245 seconds]
<lord4163> apeiros: Really?
<shevy> perhaps his brain was not yet convinced that this was really the error :D
bullicon has left #ruby ["["Textual IRC Client: www.textualapp.com"]"]
<shevy> ohhhh german speaking!
berserkr has joined #ruby
<lord4163> dutch ;)
<hoelzro> shevy: if it were german, it would Gewicht, right? ;)
* apeiros_ is always surprised by how many type out nicks instead of using tab completion…
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<shevy> lol hoelzro
<apeiros_> hoelzro: that'd interfere with rubys naming requirements
<hoelzro> apeiros_: how can you tell if someone tab completes or not?
<hoelzro> apeiros_: I know; that's part of the joke!
<apeiros_> hoelzro: simple. there's no "apeiros" in the channel
<hoelzro> ah ha
<apeiros_> also everybody who writes aperios_ - but that's somehow cute, because they even think of the _, but completely don't get the nick itself :)
<shevy> hoelzro, the south africans... in africaans language... speak some dutch-german variant... I dont understand much at all, but they have this "Rehwildsböckli" or something... for deer food, you know... Geißbock or Steinbock or something like that... dunno what kind of deer it is, some antelope like deer
<shevy> apieros is the nick
mockra has quit [Ping timeout: 245 seconds]
Vert has joined #ruby
<hoelzro> I've never heard Afrikaans, but I've heard it's some crazy Dutch offshoot
arvidkahl has quit [Read error: Connection timed out]
notVert has joined #ruby
<allyraza> hoelzro, is crazy you right i am from south africa
notVert has quit [Remote host closed the connection]
fjkbvkg has joined #ruby
n1x has joined #ruby
u_u has quit [Ping timeout: 268 seconds]
<burgestrand> shevy: capricorn
guns has quit [Quit: guns]
pskosinski has joined #ruby
elhu has quit [Ping timeout: 244 seconds]
red_ has quit [Ping timeout: 245 seconds]
<shevy> capricorn?
<shevy> I can't concentrate on a nick like burgerstrand without getting hungry :(
red_ has joined #ruby
<Muz> I can't concentrate on a nick like otters without my face turning into :3.
elhu has joined #ruby
<apeiros_> :-)3
<apeiros_> :-)3-<
sepp2k has quit [Ping timeout: 246 seconds]
<peterhellberg> shevy: Burger stand!
<apeiros_> peterhellberg sounds like a brand of beer
workmad3 has joined #ruby
<peterhellberg> apeiros_: Bit Burger perchance?
<peterhellberg> Or rather Bitburger
<apeiros_> no, I mean, I wouldn't be surprised if there was a beer named 'hellberg'
<shevy> Bitburger sounds like the ideal food for the Tron Matrix
ixti has joined #ruby
<peterhellberg> apeiros_: Ah :)
<shevy> tried to find a hellberg beer... only found a "Winter Coat is a homebrewed beer from beer blogger Anton Hellberg who writes Välbalanserad."
acies has joined #ruby
<peterhellberg> Neat, inline images in LimeChat :)
arkiver has joined #ruby
<apeiros_> I turned that off
<apeiros_> did you just create that pic?
dross_ has joined #ruby
<peterhellberg> Nope
<shevy> ack
dross has quit [Read error: Connection reset by peer]
<apeiros_> see
<apeiros_> and I'm not surprised
blacktulip has quit [Ping timeout: 252 seconds]
<shevy> hehe
<tuxillo> later
tuxillo has left #ruby [#ruby]
<shevy> that's kinda insane to have amazon send beer (???)
<shevy> oh
<shevy> a wall clock
wallerdev has quit [Quit: wallerdev]
elhu has quit [Ping timeout: 246 seconds]
cloud|droid has quit [Ping timeout: 256 seconds]
a_a_g has quit [Read error: Connection reset by peer]
a_a_g has joined #ruby
mxweas has quit [Quit: Leaving...]
iamlacroix has quit [Remote host closed the connection]
ephemerian has joined #ruby
Markvilla has joined #ruby
elhu has joined #ruby
ramblex has quit [Quit: ramblex]
nobdrais1ntone has quit [Ping timeout: 244 seconds]
mucker has joined #ruby
nobdraisentone has joined #ruby
blacktulip has joined #ruby
arvidkahl has joined #ruby
despoil has quit [Ping timeout: 246 seconds]
Criztian has joined #ruby
kitofr has quit [Quit: ~ Trillian Astra - www.trillian.im ~]
ping-pong has quit [Ping timeout: 246 seconds]
alup has joined #ruby
<PapaSierra> i'm using capistrano to deploy. from my vm i can ssh my server use rsa key auth. my bitbucket account has my vm's key file. my vm is set up for agent forwarding for the server's ip address. what's missing? i'm getting "Host key verification failed.", "fatal: The remote end hung up unexpectedly"
sepp2k has joined #ruby
<Muz> peterhellberg: inline images in your IRC client? Right who's going to be the first to post goatse...
<Muz> PapaSierra: you're getting that error when you do what exactly? Your explaination is a bit terse on details.
AxonetBE has left #ruby [#ruby]
Criztian_ has joined #ruby
<PapaSierra> ok, from my vm i run $ cap deploy which connects by ssh to the server. the server then does a git pull from bitbucket. in order for the server to have authenication on bitbucket it must be able to sign in. rather than teaching the server how to sign in i'd like to agent forward from the vm
<PapaSierra> i've had this working before but now i have a new server.
thisirs has joined #ruby
gmci has joined #ruby
cascalheira has joined #ruby
ping-pong has joined #ruby
Criztian has quit [Read error: Connection reset by peer]
<PapaSierra> interestingly on the server when i do ssh git@bitbucket.org it offers to add the RSA key to the list of known hosts. is that required?? since i'm using agent forwarding? anyway, if it is i'm getting permission denied
abstrusenick has joined #ruby
<Muz> It's probably one of two things. You're missing the correct public keys on the correct machines, you're missing the correct private key on the correct machines, your permissions for these files are out of whack, or you have an off by two counting error in listing possible causes.
<Muz> Wouldn't hurt to add it. I imagine you would need to do so.
flype has joined #ruby
elhu has quit [Ping timeout: 245 seconds]
<PapaSierra> :) that was the problem
<PapaSierra> thanks for making me think Muz
arkiver has quit [Quit: Leaving]
<Muz> ssh does have an option to ignore that iirc, but I'd be surprised if Capistrano relied on that.
elhu has joined #ruby
<chiel> PapaSierra: list of known hosts is kept per machine as well, doesn't get sent along with the -A
jeff_sebring has quit [Ping timeout: 246 seconds]
ramblex has joined #ruby
lkba has quit [Quit: Bye]
ramblex has quit [Client Quit]
<PapaSierra> chiel i'm not quite with you?
<PapaSierra> -A ?
<Muz> -A is the SSH commandline client option to enable authentication agent forwarding.
ConstantineXVI has quit [Ping timeout: 246 seconds]
<kalleth> Muz: witty, btw
<kalleth> i'm stealing that, if thats ok :p
<Muz> kalleth: hm?
<kalleth> "or you have an off by two counting error in listing possible causes."
kaen has quit [Ping timeout: 240 seconds]
bigkevmcd has quit [Quit: outta here]
<Muz> Oh. I wasn't sure whether to say "one" or "two". How meta.
bigkevmcd has joined #ruby
ConstantineXVI has joined #ruby
<chiel> PapaSierra: ah, I assumed you were sshing with -A to forward your agent
Hanmac has quit [Ping timeout: 240 seconds]
<PapaSierra> oh, no. i was just doing this https://help.github.com/articles/using-ssh-agent-forwarding
twinturbo has quit [Quit: twinturbo]
arvidkahl has quit [Read error: Connection timed out]
vectorshelve has joined #ruby
<vectorshelve> shevy: Hi :)
kaen has joined #ruby
<chiel> PapaSierra: ah right, I think that is more or less the same
abstrusenick has quit [Ping timeout: 272 seconds]
<PapaSierra> cool. well i think i'm good to go, thanks folk
ephemerian1 has joined #ruby
Speed has joined #ruby
ephemerian1 has quit [Remote host closed the connection]
ephemerian1 has joined #ruby
ephemerian has quit [Ping timeout: 268 seconds]
ephemerian1 has quit [Client Quit]
ephemerian has joined #ruby
willian has joined #ruby
jeff_sebring has joined #ruby
<vectorshelve> the print statement isnt printing a string althought the simple program runs fine and there are blank lines as o/p instead of the o/p which is not getting displayed. any idea
willian has quit [Quit: willian]
tonini has quit [Remote host closed the connection]
Rochefort has quit [Remote host closed the connection]
brdude has joined #ruby
Hanmac has joined #ruby
<vectorshelve> print command to o/p data doesnt seems working in a simple command line program.. any idea wt I am missing ?
mockra has joined #ruby
<hoelzro> vectorshelve: would you mind posting some code?
<allyraza> vectorshelve, please do a gist or pastie
dpk has quit [Ping timeout: 244 seconds]
<vectorshelve> hoelzro: allyraza sure here it is http://pastie.org/4428821 it is working in my machine but not in another one which I am working on now.. its blank I get nothing displayed
<zaargy> i have a hash { :foo => "something", :bar => "something else") and i want to pass the values to a method foo, what's the best way to do this?
<zaargy> splat thing?
iamlacroix has joined #ruby
<hoelzro> zaargy: you mean like method(*hash.values)?
br4ndon has joined #ruby
r4um has joined #ruby
<zaargy> yeah that's what i'm doing
<allyraza> vectorshelve, what is your output
<hoelzro> zaargy: is it not working?
<vectorshelve> my o/p should be
<vectorshelve> X X
mockra has quit [Ping timeout: 248 seconds]
<zaargy> it is working
<vectorshelve> X X
<zaargy> i just thought i remembered a better way
<vectorshelve> in two lines.. but now just two blank lines
<vectorshelve> allyraza: http://www.ruby-forum.com/topic/167855 is this something got to do with it bt this doesnt seem to fix the issue
<allyraza> and your input data
slux_ has quit [Remote host closed the connection]
ephemerian has quit [Ping timeout: 240 seconds]
<vectorshelve> allyraza: I added STDOUT.sync = true before the print statement but it doesnt work
<allyraza> taking a look
s1n4 has quit [Quit: leaving]
<vectorshelve> allyraza: sure... but this is wierd
<allyraza> it is
<vectorshelve> allyraza: the program isnt throwing any error either... and the same code is working fine in my other machine
<allyraza> then its definitely your terminal
<vectorshelve> allyraza: I checked this http://mattberther.com/2009/02/11/puts-vs-print-in-ruby but the fix isnt working
<allyraza> use STDOUT.flush before the output
<vectorshelve> allyraza: how do I sought of (refresh or get it working) make the terminal normal :)
<vectorshelve> allyraza: is there any other method other than print to display result in same line unlike puts for new line
flexoid has joined #ruby
tvw has joined #ruby
dpk has joined #ruby
<allyraza> vectorshelve, try STDOUT.print "something"
<vectorshelve> allyraza: sure
<flexoid> Hi guys, could you suggest how to simplify common code pattern like this "if something.another.than.another > value ? something.another.than.another : 0"
<vectorshelve> allyraza: no use ;(
<flexoid> I know i can assign this long stuff to new variable, but maybe we can use some ruby magic here?
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
<allyraza> its your machine
avalarion has joined #ruby
<vectorshelve> allyraza: as u said, its the terminal issue... bt simply not able to find the fix
<avalarion> Hey there, how do I fix This installation of RMagick was configured with ImageMagick 6.7.6 but ImageMagick 6.7.8-7 is in use. ?
brdude has quit [Quit: brdude]
<Hanmac> avalarion reinstall the gem
<Muz> Uninstall and reinstalling the gem should rebuild any native extensions against new header files you have.
<allyraza> vectorshelve, let me try
<vectorshelve> allyraza: sure
<vectorshelve> allyraza: it should work it will work.. its not ruby fault ;)
arietis has joined #ruby
dpk has quit [Ping timeout: 244 seconds]
HRabbit has quit [Quit: WeeChat 0.3.8]
<avalarion> Hanmac, Muz, I will emerge gem and test it, thanks =)
<Muz> Ah, if you're emerging it, it may be pre-built and packaged against a specific version of imagemagick.
<Muz> But worth a shot none the less. I've no idea how much of a mess Gentoo have maanged to make gems and Ruby. I'm not going to hold mybreath, given how poor Debian and Ubuntu are when it comes to that.
<vectorshelve> the print in my program doesnt display output.. wt am I missing... ??? any help appreciated http://pastie.org/4428821 it is working on other machines.. is something wrong with the terminal.. any fix for it? thanks
arkiver has joined #ruby
r4um has quit [Ping timeout: 246 seconds]
Stalkr_ has joined #ruby
ly_gs has quit [Remote host closed the connection]
ly_gs has joined #ruby
<vectorshelve> allyraza: any good mate ? :)
<allyraza> vectorshelve, still busy bra
qwerxy has joined #ruby
<avalarion> Muz, gem install rmagick worked =)
<vectorshelve> allyraza: bra or bro :D
<allyraza> bro
<allyraza> your mind is *&**^^
<allyraza> can you give me gist with all you code
<vectorshelve> allyraza: :( I need to fix it.. without seeing the o/p how can I work ahead :(
flint__ has quit [Read error: Operation timed out]
elhu has quit [Quit: Computer has gone to sleep.]
<vectorshelve> allyraza: thats difficult :(
ramblex has joined #ruby
<vectorshelve> allyraza: let me run a simple ruby prgram with just print and try
<peterhellberg> vectorshelve: display(OpenStruct.new({ height: 1, cells: [ OpenStruct.new(y: 1, alive?: true) ] })) <- Is printing the "X" in my IRB session
flint__ has joined #ruby
<allyraza> vectorshelve, try that
<vectorshelve> allyraza: sure
a_a_g has quit [Ping timeout: 246 seconds]
<vectorshelve> peterhellberg: that is not my code and u havent used print there
<peterhellberg> vectorshelve: I _called_ your code
<vectorshelve> allyraza: peterhellberg simple print hello works
Konboi_ has quit [Remote host closed the connection]
<peterhellberg> vectorshelve: My OpenStruct is just a "fake" grid for your code
a_a_g has joined #ruby
Foxandxss has joined #ruby
<vectorshelve> peterhellberg: ok
<allyraza> vectorshelve, damn its something in your code the code you gave look ok
ly_gs has quit [Remote host closed the connection]
<peterhellberg> vectorshelve: Also, why do you start the grid on line 0?
<vectorshelve> peterhellberg: ok got it :) i didnt have a value in one attribute which I had apparently changed unknowingly :D
<vectorshelve> peterhellberg: I am starting the grid with x=0 and y=0
<vectorshelve> peterhellberg: allyraza thanks for all ur patience.. :)
<peterhellberg> vectorshelve: Ok, makes sense… I guess you are building Conway's Game of Life?
<vectorshelve> peterhellberg: yes I have my cells and grid ready
gmci has quit [Quit: Computer has gone to sleep.]
<vectorshelve> what Iam finding difficult now is to find the neighbouring cells... any suggetions... need for a particular cell.. I need to search for 8 possible cells with coordinates relative to the current coordinates. how can I apply the formula in the least complicated code structure
\13k has quit [Ping timeout: 246 seconds]
<vectorshelve> peterhellberg: ^^
<peterhellberg> vectorshelve: http://www.ibm.com/developerworks/web/library/wa-coffeescriptcanvas/index.html#list10 <- One solution, in CoffeeScript
<vectorshelve> peterhellberg: well I am implementing it in a different way ;) peterhellberg I am pretty clear with the login.. need to tranform it to code once I do that will need expert help to optimize it :)
<peterhellberg> http://catpad.net/michael/APLLife.gif <- One of the coolest implementations I’ve seen so far :)
thisirs has quit [Remote host closed the connection]
fermion has joined #ruby
emmanuelux has joined #ruby
apeschel has quit [Ping timeout: 276 seconds]
maesbn has quit [Read error: Connection reset by peer]
maesbn has joined #ruby
lkba has joined #ruby
iamlacroix has quit [Remote host closed the connection]
lord4163 has quit [Quit: Page closed]
ananthakumaran has quit [Ping timeout: 244 seconds]
d3vic3 has quit [Quit: leaving]
d3vic3 has joined #ruby
iori has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
mockra has joined #ruby
jillsmitt has quit [Remote host closed the connection]
Lachryma has joined #ruby
elhu has joined #ruby
<shevy> so what do you guys use when you want to output colours in ruby scripts (commandline only)
fjkbvkg has quit [Ping timeout: 260 seconds]
fearoffish has joined #ruby
<hoelzro> shevy: escape sequences
<shevy> ok but how? do you do something like
maesbn has quit [Read error: Connection reset by peer]
<shevy> puts "e[025Hello world"
<apeiros_> \e[31mHello
<shevy> or do you use some other way
mockra has quit [Ping timeout: 244 seconds]
<apeiros_> you're missing a \ there shevy
maesbn has joined #ruby
<hoelzro> puts "\e[31mHello\e[0m"
<shevy> that seems quite verbose Muz, or rather long ... puts "This is light blue".colorize(:light_blue)
<hoelzro> I usually just do that
<shevy> hmm ok
<hoelzro> but I wrote a little Lua module for that a while ago
<Muz> shevy: there're countless other things that just wrap stuffing escape codes in front of strings for you
<Muz> Typing out escape codes by hand every time != nice.
<shevy> lua??
<peterhellberg> hoelzro: How do you like Lua? (I’ve just started looking into it)
akem has quit [Ping timeout: 246 seconds]
<peterhellberg> hoelzro: I’m especially interested in using it in Nginx and Redis
<hoelzro> peterhellberg: it's a very nice, very clean language
<hoelzro> and also very powerful
<peterhellberg> hoelzro: Yeah, I’ve heard it described as JavaScript with a good designer
Gurpartap has quit [Ping timeout: 245 seconds]
<hoelzro> indeed =)
<peterhellberg> So many languages, so little time…
<vectorshelve> peterhellberg: :()
_jorge has joined #ruby
<hoelzro> Lua is very easy to learn...took me about 2 hours to get through the manual
<hoelzro> and it's *really* easy to embed in a C program
<peterhellberg> (I’ve been getting into NewLISP and Common LISP)
<hoelzro> I mean, it's designed for it =)
<peterhellberg> hoelzro: Yeah, that is indeed very attractive
<peterhellberg> I generally want to do something "real" when learning a new language, it rarely sticks with me if I’m just playing around.
<hoelzro> it's no surprise that I see a lot of Lua influence in mRuby
<hoelzro> yeah, I understand
<hoelzro> it's missing a good web framework, imo
<hoelzro> I thought of writing one, but like you said...
<hoelzro> so little time.
<peterhellberg> hoelzro: Do you think it would be a good fit for web though?
<peterhellberg> Mercury seems to be a Lua clone of Sinatra
<hoelzro> well, I think it would be good for tiny web apps that run on things like routers
* hoelzro has never heard of Mercury...
<hoelzro> peterhellberg: thanks
liluo has quit [Remote host closed the connection]
<peterhellberg> hoelzro: Other Lua frameworks: http://moonstalk.org/ and http://keplerproject.github.com/orbit/
cousine has joined #ruby
<hoelzro> I know of Orbit, but I don't know if it works atm
* hoelzro checks out moonstalk
<peterhellberg> Moonstalk has horrible documentation though… TOO MUCH INFORMATION
<Hanmac> http://1.asset.soup.io/asset/3580/2241_abeb.jpeg << why america is realy on mars
RegEchse has joined #ruby
s1n4 has joined #ruby
<hoelzro> Hanmac: haha
_jorge has quit [Remote host closed the connection]
h8R has joined #ruby
<Hanmac> when there was life forms there maybe coal or oil ... and thats why they search for life
<Muz> My, that's a shiny tin-foil hat you're wearing!
fjkbvkg has joined #ruby
<shevy> Hanmac, they search for life because they are being funded for that. The search for life is so idiotic though, earth is full with life already
<peterhellberg> I like how the Lua version of RubyGems is called LuaRocks
maesbn has quit [Read error: Connection reset by peer]
Axsuul has quit [Ping timeout: 240 seconds]
<Hanmac> what would realy cool? when they found "non-organic" life :P
<hoelzro> LuaRocks is an ok program
maesbn has joined #ruby
<hoelzro> but unless they recently fixed it, it doesn't build rocks properly on x86_64
<hoelzro> and it's a PITA to submit a rock
<xbayrockx1> america is on mars ?
<peterhellberg> hoelzro: Oh, that’s too bad :(
<hoelzro> peterhellberg: yeah, it is
<hoelzro> there's no real standard place to find Lua libraries
A124 has joined #ruby
A124 has left #ruby [#ruby]
<shevy> Hanmac, it would still require an information system.
<peterhellberg> Btw, newLISP can be embedded (UNIX shared library or Win32 DLL)
ephemerian has joined #ruby
linoj has joined #ruby
<shevy> will we ever see a scripting language that can replace C?
specialGuest has joined #ruby
<answer_42> there is one, Scheme(scsh) ;)
specialGuest has quit [Changing host]
specialGuest has joined #ruby
<hoelzro> shevy: what is the aim in replacing C?
mneorr has quit [Quit: Leaving.]
uris has joined #ruby
rvanlieshout has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend` has joined #ruby
<peterhellberg> I’m pretty happy with the Arduino language (and their documentation of it)
<rvanlieshout> hm... Hi folks! :) Is it possible to see what version includes a fix for a revision on bugs.ruby-lang.org?
<shevy> hoelzro to use a better language for example
<shevy> ruby is better than C
<peterhellberg> shevy: I don’t think there is anything inherently bad with C
<hoelzro> agreed
<hoelzro> it's really good at its job
<shevy> you can say this about pretty every language
<peterhellberg> shevy: Ruby is a MUCH nicer language though :)
cousine has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
<Mon_Ouie> You have to be really careful about not relying on implementation details, etc. to write portable C code
mengu has joined #ruby
<shevy> hmm windows is written in C++?
<peterhellberg> C, C++ and C#
<shevy> 3 different languages??
<hoelzro> nearly all OSes are written in C (or have C components)
<peterhellberg> shevy: At least
<Muz> rvanlieshout: http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/tags/ find the tag that contains the respective SVN commit.
<peterhellberg> shevy: It depends if you mean just the kernel… then it’s probably a single language
<Muz> rvanlieshout: if there isn't a tag recent enough to hve the commit you want in it, you'll either need to build from trunk, or wait.
<rvanlieshout> ok. i'm not really used to svn anymore... how would one find that tag?
<zii> Mmm, doesn't ruby have Hash#slice sort of thing in stdlib?
<rvanlieshout> or it should popup any second when the log loads
<rvanlieshout> :)
macer1 has quit [Ping timeout: 248 seconds]
<peterhellberg> shevy: WinRT supports C++ (C++/CX), C#, VB.NET and JavaScript.
<peterhellberg> Oh, it was the german Metro AG that forced Microsoft to stop calling their new interface Metro
<rvanlieshout> Muz: thnx... got enough info
Markvilla1 has joined #ruby
Markvilla1 has quit [Client Quit]
flype has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mneorr has joined #ruby
<bnagy> zii: what do you think that method should do?
Markvilla has quit [Ping timeout: 244 seconds]
emmanuelux has quit [Ping timeout: 244 seconds]
rvanlieshout has left #ruby [#ruby]
<peterhellberg> zii: You might be looking for Enumerable#each_slice?
davidpk has joined #ruby
rutkla_ has joined #ruby
bluenemo has joined #ruby
<peterhellberg> >> { a: 1, b: 1 }.each_slice(1).map(&:to_ary)
rutkla has quit [Ping timeout: 252 seconds]
wereHamster has quit [Quit: Lost terminal]
Markvilla has joined #ruby
bluenemo_ has joined #ruby
bluenemo_ has quit [Changing host]
bluenemo_ has joined #ruby
bluenemo has quit [Client Quit]
deryl has joined #ruby
Markvilla1 has joined #ruby
<zii> peterhellberg, bnagy, Extract key->values with keys *args from the hash. It's what it does in rails.
deryl has quit [Client Quit]
<Hanmac> "doing it a way, because rails to it so, is not a good idea"
Markvilla has quit [Ping timeout: 244 seconds]
a_a_g has left #ruby [#ruby]
paradoja has joined #ruby
<zii> Hanmac, Okay, but I think this functionality is quite useful. This could be reused in lots of places.
<zii> And that was a comment, not an argument.
<Hanmac> the best way is to use an opt={} argument not an *args list for hash-args
<zii> sorry, well I meant opts, yes.
tk_ has joined #ruby
<zii> Question is whether this exists in ruby's stdlib?
iamjarvo has joined #ruby
<peterhellberg> zii: Ok, so you want to filter a hash by a list of keys?
<zii> Yes.
deryl has joined #ruby
<Hanmac> >> def abc(opt={}); p opt;end; abc(a: 1, b: 2)
<al2o3cr> {:a=>1, :b=>2}
<peterhellberg> >> p { a: 1, b:2 }.select { |key| [:a].include? key }
<al2o3cr> stderr too long, PMed
linoj has quit [Quit: linoj]
Spooner has joined #ruby
<peterhellberg> Oh, no 1.9 support?
<peterhellberg> Oops, sorry
<peterhellberg> >> p ({ a: 1, b:2 }).select { |key| [:a].include? key }
<al2o3cr> {:a=>1}
<burgestrand> >> p RUBY_VERSION
<al2o3cr> "1.9.3"
<peterhellberg> burgestrand: Thanks :)
<burgestrand> >> puts "peterhellberg: D:"
<al2o3cr> peterhellberg: D:
<burgestrand> \o/
<shevy> ...
mjbamford has quit [Quit: Leaving...]
mockra has joined #ruby
Markvilla1 has quit [Quit: Leaving.]
IPGlider has quit []
d3vic3 has quit [Quit: leaving]
<peterhellberg> Hmm, I’m currently writing a class where I have a method that doesn’t need to be exposed, but I’d like to test the output. Would you guys prefer if the method was public or if I call .send() in the test?
<peterhellberg> The method is just returning a generated URI
<Spooner> peterhellberg : Just call send on it and keep it protected.
<peterhellberg> Spooner: Yeah, I thought so
mockra has quit [Ping timeout: 248 seconds]
pzol has left #ruby ["Sayonara!"]
d3vic3 has joined #ruby
rutkla_ is now known as rutkla
lockweel has joined #ruby
d3vic3 has quit [Client Quit]
fforbeck has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
enroxorz has quit [Disconnected by services]
Paul-Atreides has joined #ruby
Paul-Atreides has joined #ruby
Paul-Atreides has quit [Client Quit]
mirTapir has joined #ruby
<mirTapir> can't activate rack (~> 1.1.0, runtime) for [], already activated rack-1.4.1 for []
<mirTapir> any solutions ?
`brendan has joined #ruby
adeponte has joined #ruby
<peterhellberg> mirTapir: Do you need to have 1.1.0 installed?
<peterhellberg> mirTapir: And what library has that requirement?
<mirTapir> well i tried to remove it
<mirTapir> but now i have to reinstall some gems
<mirTapir> because it just dropped dependencies or so
<mirTapir> i have no idea why i should need 1.1.0 when i got 1.4.1
<mirTapir> peterhellberg: the intresting thing is after removing the old version it still doesnt think the 1.4.1 version is ok
Abbas5 has joined #ruby
Abbas5 is now known as Abbas-
<mirTapir> its in the list of packages but it doesnt take it for some reason
Abbas- has quit [Changing host]
Abbas- has joined #ruby
Abbas- is now known as Abbas5
<peterhellberg> Something has a dependency on 1.1.0-1.1.9
iamjarvo has quit [Quit: Leaving...]
robbyoconnor has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
uris has quit [Quit: leaving]
adeponte has quit [Remote host closed the connection]
_jorge has joined #ruby
alek_b has quit [Remote host closed the connection]
Hanmac has quit [Remote host closed the connection]
Abbas5 is now known as Abbas|
<mirTapir> can't activate rack-1.4.1, already activated rack-1.1.2
<mirTapir> mhm ?
<zii> >> def test *x; p x; end; test:it
<al2o3cr> [:it]
rutkla has quit [Ping timeout: 240 seconds]
<zii> ^ badassery
keymone has joined #ruby
sailias has joined #ruby
bothra has joined #ruby
<peterhellberg> I’m usually quite weary about mocking and stubbing, but the scoped stubs in MiniTest is actually quite nice :)
<peterhellberg> s/is/are/
und3f has quit [Quit: Leaving.]
jrajav has joined #ruby
<jrajav> So, um
<jrajav> I think my bot is a zombie
apeiros_ has quit [Remote host closed the connection]
<jrajav> Yesterday when I left it had been unresponsive for about an hour
<jrajav> And now today...
<jrajav> >> puts 'Hiya!'
<al2o3cr> Hiya!
_jorge has quit [Remote host closed the connection]
specialGuest has quit [Remote host closed the connection]
apeiros_ has joined #ruby
arkiver has quit [Ping timeout: 252 seconds]
tatsuya_o has joined #ruby
<vectorshelve> can someone help me with this error please. http://pastie.org/4433456
chrisja has joined #ruby
<shevy> jrajav!
<shevy> jrajav stop writing bots!
<shevy> jrajav write a webframework
<jrajav> Nevah!
<shevy> an UNBREAKABLE one
<jrajav> wtf that's random XD
<shevy> yeah
<shevy> but I had to come up with an alternative
<vectorshelve> shevy: help http://pastie.org/4433456
<shevy> else you would have asked "what else than a bot?" and I would not have known what to say
<jrajav> You know that the total amount of actual code I've written for this entire bot endeavour is, like...
<jrajav> 15 lines?
<jrajav> lol
apeiros_ has quit [Remote host closed the connection]
<shevy> that means your code is POWERFUL
<jrajav> I <3 preexisting frameworks
elhu has quit [Ping timeout: 244 seconds]
erichmenge has joined #ruby
<shevy> vectorshelve this is awful
<shevy> vectorshelve where is the beauty in your code?
tomku has quit [Quit: WeeChat 0.3.7]
<jrajav> Also, consolidate your if/else branches
<vectorshelve> shevy: I will modify it definitely but trying to get the code working first. need your help thanks
<jrajav> Once you know if cell_object.x == cell.x+1 returns true you shouldn't check it again
<shevy> I dont even know what you are trying to do there vectorshelve
<jrajav> Not for performance, that doesn't matter for anything in conditionals, just to make it clearer
<shevy> but it really is awful code man
Hanmac has joined #ruby
<shevy> elsif cell_object.x == cell.x+1 && cell_object.y == cell.y
<shevy> and btw
<shevy> neighbouring_cells << cell
<shevy> ^^^ you repeat this about 8 times man
<vectorshelve> shevy: I have a cell with an x and y axis value (cell has x and y attributes) and then am finding its 8 neighbours and passing it into array
ly_gs has joined #ruby
<shevy> it would be easier if you make one new method that does the checking
<shevy> vectorshelve and did that work?
<shevy> vectorshelve I showed you the grid layout minesweeper code I wrote about 5 years ago
FlyingFoX has joined #ruby
<vectorshelve> shevy: I will do it but it seems the error is something unrelated to it.. its throwing some argument count eror
<shevy> I forgot how I solved it but it works
<shevy> ok when do argument count errors happen
<shevy> def foo(a,b,c)
<shevy> end
<shevy> foo()
<vectorshelve> shevy: yes but I am trying it in a different way... so...
Markvilla has joined #ruby
<shevy> ArgumentError: wrong number of arguments (0 for 3)
elhu has joined #ruby
<shevy> the argument error happens because you invoke a method
<shevy> and you invoke it incorrectly
gmci has joined #ruby
apeiros_ has joined #ruby
<vectorshelve> shevy: yes bt as u can see I am passing the arguments..correctly :-/
<shevy> I dont see anything much here ;)
<shevy> did you try to use parens () there?
<shevy> use them and see if the error changes
<shevy> elsif cell_object.x == cell.x-1 && cell_object.y == cell.y+1
<shevy> elsif (cell_object.x == cell.x-1) && (cell_object.y == cell.y+1)
<shevy> and lateron, change this awful code anyway :P
<vectorshelve> shevy: I hadnt declared neighbouring_cells = [] before the block so got the error now fixed it :)
<shevy> good!
<shevy> note that this is a local variable though
Progster has joined #ruby
<vectorshelve> shevy: but the way as the given code now http://pastie.org/4433456 how can I shorten it and make it better
yoklov has joined #ruby
<shevy> well
<vectorshelve> shevy: yes got it.. thanks :)
<shevy> I would write a new method
<shevy> inside the {|cell_object
<shevy> first change it to something like
tomku has joined #ruby
<shevy> neighbouring_cells << cell if is_nearby?(cell_object)
<shevy> then it would be only one line
<shevy> and in the new method
<shevy> def is_nearby?(i)
<shevy> you use the logic from there
<shevy> return true if INSERT_CONDITIONS_HERE
<vectorshelve> shevy: good but again all the repeatition will happen in the new method ryt ?
<shevy> not sure
<shevy> you have three varying conditions
<shevy> +1, +0, -1
<vectorshelve> shevy: as u can see if a 3 by 3 square grid there will always be 8 possiblity of 8 neighbours based on the middle element
<shevy> yeah let's ask a math expert
<shevy> workmad3, ^^^
<shevy> vectorshelve yeah but perhaps there is a better way to get all neighbours correctly
<shevy> it's an array after all no?
<shevy> x - x - x
<shevy> x - x - x
<shevy> x - x - x
<vectorshelve> shevy: yes.. u there.. that is what I am trying to crux and also beautify (less complicate my messy code )
<shevy> with 9 elements for every point on the grid
jeff_sebring has quit [Quit: Leaving]
syraxes has joined #ruby
<vectorshelve> shevy: I have array of cells for grid and each cell has its x and y coordinate values... I am reading input pattern from a file
<shevy> hmm
<vectorshelve> shevy: the grid has atribute cells (array), breadth and height
geekbri has joined #ruby
n1x has quit [Quit: Ex-Chat]
arkiver has joined #ruby
<vectorshelve> vectorshelve: so now I hope the code makes sense toyou
_JamieD_ has joined #ruby
al2o3cr has quit [Remote host closed the connection]
subbyyy has joined #ruby
verto|off is now known as verto
al2o3cr has joined #ruby
<jrajav> >> p 'Yar'
<jrajav> D:
Banistergalaxy has quit [Ping timeout: 248 seconds]
al2o3cr has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
al2o3cr has joined #ruby
vlad_starkov has joined #ruby
<jrajav> >> p 'Yar'
<al2o3cr> [No output]
<jrajav> :|
<jrajav> >> puts 'Yar'
<al2o3cr> [No output]
<jrajav> :<
mneorr has quit [Quit: Leaving.]
liluo has joined #ruby
deryl has quit [Quit: deryl]
* Muz ponders jrajav testing the bot in a different dedicated channel, instead of spamming this one.
<shevy> jrajav, note that Muz used a '.' at the end
<shevy> :)
* fearoffish likes it
al2o3cr has quit [Remote host closed the connection]
masak has left #ruby [#ruby]
<jrajav> Muz: I wasn't expecting to have to test it, sorry
al2o3cr has joined #ruby
<Muz> As much as I like trying to break the bot...
<jrajav> FWIW I moved after the last Yar
yasushi has joined #ruby
<vectorshelve> shevy: as of now is there any possibility u see for shortening the code atleast ?
<shevy> vectorshelve dunno... I am not sure
<shevy> vectorshelve perhaps to return true always, unless this or that
<shevy> right now you only work on positive conditions. perhaps it would be easier to check for negative conditions only
mockra has joined #ruby
<Mon_Ouie> Changing your data structure, using instance methods instead of those class methods for everything
sailias has quit [Quit: Leaving.]
JohnBat26 has quit [Remote host closed the connection]
<vectorshelve> shevy: but if you could shorten the code in any way some good ruby array api's it will be really helpful Mon_Ouie u cud try as well in making this method code concised http://pastie.org/4433456
<shevy> god, I hate your code ;)
mneorr has joined #ruby
<vectorshelve> shevy: please shover your blessings and make it better :)
<allyraza> vectorshelve, did you get it right sorry man could help had to go
al2o3cr has quit [Remote host closed the connection]
al2o3cr has joined #ruby
<vectorshelve> allyraza: yes thanks mate.. now stuck with optimizing this code http://pastie.org/4433456 need to make it short
Mon_Ouie has quit [Read error: Connection reset by peer]
moshee has quit [Ping timeout: 246 seconds]
<jrajav> Wow, so, um apparently the resource limits I'm setting on the bot are so stringent that it can't even execute a "puts 'hiya'"
moshee has joined #ruby
himsin has joined #ruby
<jrajav> I have no idea which limit is gimping it that much
<jrajav> Ruby doesn't need more than 50 mb just to run, does it? :X
<allyraza> f* that is mess lets see how we can improve it
mockra has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby
al2o3cr has quit [Remote host closed the connection]
<vectorshelve> peterhellberg: thanks I dont want to copy but.. I adore ryan a lot though :) I am trying to do it my way :)
al2o3cr has joined #ruby
al2o3cr has quit [Remote host closed the connection]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<peterhellberg> vectorshelve: Ok, but there might be some pointers in there about how to solve the problem.
<vectorshelve> allyraza: your positive approach allievates my stress :)
<shevy> vectorshelve it is always about finding a way that is better
lorandi has joined #ruby
<vectorshelve> peterhellberg: I have the logic in my mind abt the solution.. working my way out with the code now.. so need to improve the code :)
poga has quit [Remote host closed the connection]
<allyraza> vectorshelve, thats how you tackle this shit
<vectorshelve> shevy: u said it.. but u love it when u learning something beautiful (ruby) each day by doing something just by yourself emotionally logically conceptually and programatically
<vectorshelve> allyraza: :) need your help
<shevy> I dunno. I myself usually stop when I found a solution that works
<allyraza> working on you code
<vectorshelve> allyraza: thanks
hynkle has joined #ruby
<peterhellberg> Sweet, Solar Fields have released a new album (Random Friday)
<vectorshelve> shevy: thats bad for me... we will never be able to make our thoughts work in a problem situation later for a real world issue
<shevy> vectorshelve no, I think it can still work... you improve very slowly, day by day :)
<jrajav> Wow, Ruby is heavier than I thought
<shevy> jrajav 12.3 kg here
<jrajav> I can't even limit its memory limit to 150mb without it dying right away
GoGoGarrett has joined #ruby
<shevy> hehehe
<vectorshelve> shevy: world is so competitive these days :)
subbyyy has quit [Quit: Leaving.]
<shevy> jrajav, even 1.9.x?
<jrajav> Yeah
<allyraza> vectorshelve, have you noticed you using collect
<vectorshelve> allyraza: yes
<allyraza> collect returns a array
<allyraza> so you should use each
<allyraza> let me give you my version
<jrajav> Okay, even *400mb*? Really?
<jrajav> I must be misunderstanding something here
davidpk has quit [Quit: Asleep at the keyboard.]
<jrajav> The scriptlets run fine with no resource limit except the cpu time
<jrajav> But when I limit the total available memory and core size to 400000 bytes, they die immediately
<jrajav> With a SIGSEGV signal
syraxes has quit [Quit: Leaving]
<jrajav> At least that's an improvement from the SIGKILL it was getting with 150000 bytes
codeFiend has joined #ruby
keymone has left #ruby [#ruby]
<vectorshelve> allyraza: yes collect return an array and what I want is also an array
<jrajav> I guess I just won't limit the scriptlet's available memory. The cpu time limit should kill any resource hogs
<vectorshelve> allyraza: updated method http://pastie.org/4433456
<allyraza> but then at the bottom you explicitly returning a array
excelsior has joined #ruby
<allyraza> YOU NOT EVEN storing the value of that collect
<shevy> haha
<shevy> shame on your vectorshelve!
iamjarvo has joined #ruby
<shevy> question:
<shevy> when I have 5 methods in a module, and I then do "extend self" at the end, in that module
<vectorshelve> shevy: sorry :( my bad allyraza waiting for your version (ruby blessings)
<shevy> those methods become class methods for that module?
davidpk has joined #ruby
<shevy> module Foo; def test; ... end; extend self; end; Foo.test
Renrea has joined #ruby
d3vic3 has joined #ruby
<Spooner> vectorshelve : You probably want to avoid hardcoding the 8 options and do [[-1, -1], [0, +1],...].each do |offset_x, offset_y|
<shevy> \o/
<shevy> there you go vectorshelve
<vectorshelve> Spooner: hmm.. good one would appreciate if you could show that with a code snippet http://pastie.org/4433456
<Spooner> vectorshelve : Don't use hard tab :)
enroxorz_ has joined #ruby
excelsior has quit [Ping timeout: 248 seconds]
enroxorz_ is now known as enroxorz
gmci has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<vectorshelve> shevy: Spooner but the method stil returns false number of live cells for a cell http://pastie.org/4433606 code is here http://pastie.org/4433456 I try passing the first cell to the method
enroxorz has quit [Changing host]
enroxorz has joined #ruby
<vectorshelve> allyraza: ^^
jrist-afk is now known as jrist
linoj has joined #ruby
emmanuelux has joined #ruby
<Mon_Ouie> Is your Grid class totally empty?
clocKwize has joined #ruby
<allyraza> vectorshelve, busy dude
<allyraza> still busy
<vectorshelve> allyraza: ok
<vectorshelve> Mon_Ouie: no grid has array of cells... so in the http://pastie.org/4433606 as u can see it has 4 cells
<allyraza> in case you wanna see
<vectorshelve> Mon_Ouie: sorry 8 cells
<vectorshelve> Mon_Ouie: X represents live cell and - represent dead cell
Tomasso has joined #ruby
<Mon_Ouie> I mean, why don't you put the methods that manipulate grid on your Grid class?
<Mon_Ouie> That's what classes are for
w400z has joined #ruby
Renrea has quit [Remote host closed the connection]
emmanuelux has quit [Read error: Operation timed out]
<shevy> vectorshelve listen to Mon_Ouie
<shevy> vectorshelve put the code you need into your class
<vectorshelve> allyraza: its returning wrong number of neighbours ;)
<shevy> let your class solve the problem for you
<vectorshelve> Mon_Ouie: tick is an action on a grid (applying rules) so I have a tick class and I am passing the grid object to tick
asteve has joined #ruby
<Mon_Ouie> tick is an action on a grid, so you should have a tick method on Grid
<allyraza> vectorshelve, how many you spouse to return
<Spooner> You are also keen to avoid using objects, rather than passing instances to the class. It is a bit of a mess and solving one thing shows up other problems.
cburyta has joined #ruby
<vectorshelve> Mon_Ouie: but tick works based on a set of rules.. which could change so I have tick class accepting grid and tick methods as those rules and one tick method to apply the rules and produced the transformed grid
asteve has quit [Client Quit]
<vectorshelve> allyraza: http://pastie.org/4433456
erichmenge has quit [Quit: Be back later]
<vectorshelve> allyraza: first cell neighbours should be 3 ryt always and ur code returning 9
monkegji_ has quit [Remote host closed the connection]
rutkla has joined #ruby
yoklov has quit [Quit: computer sleeping]
<Spooner> vectorshelve : you should be doing something like http://pastie.org/4433647 rather than checking _every_ cell to see whether it is both adjacent and alive.
_JamieD_ has quit [Quit: _JamieD_]
<Spooner> vectorshelve : The design is fundamentally broken and we should be helping you fix that, not individual lines of code.
<vectorshelve> Spooner: ok will try it
nanderoo has joined #ruby
<allyraza> vectorshelve, please let use know what exactly you trying to achieve if we understand we problem may be we can help you and get sorted
<vectorshelve> allyraza: sure 2 minutes I will try pushing the code
dev_ryan70 has joined #ruby
bbttxu has joined #ruby
erichmenge has joined #ruby
<Spooner> vectorshelve : My code will not work. It assumes things in the rest of the design, which I assume aren't there. You seem to be avoiding OO in some places, which makes things a lot more clunky.
freeayu has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 245 seconds]
<shevy> I have a hash like ... hash = {:foo => :name_of_method_to_invoke }. Now I can get this via hash[:foo], but how would I invoke the method? do I have to use .send hash[:foo] or is there another way?
virunga has quit [Quit: Sto andando via]
<vectorshelve> Spooner: why would I need 00 ?
dev_ryan70 has quit [Remote host closed the connection]
<allyraza> Spooner, you right need to look at the whole pic
[Neurotic] has quit [Remote host closed the connection]
deryl has joined #ruby
<Spooner> vectorshelve : You are making the cells into objects (I can see cell.x, cell.y) but it looks liek the Grid class is just using class methods (def self.whatever) and ignoring the fact that it would be cleaner as an object too.
<Mon_Ouie> I'd even do def neighbors(x, y)
<peterhellberg> Mon_Ouie: +1
kitofr has joined #ruby
BrokenCog has quit [Quit: leaving]
<Spooner> vectorshelve : I said OO (object-orientation), not 00.
<jrajav> Hmmm, does anyone know of something like Open3.pipeline_rw that will let me pipe stdin to the first command and get both stdout AND stderr of the last command?
<jrajav> pipeline_rw only gives the stdout
slux has joined #ruby
BrokenCog has joined #ruby
<jrajav> Mon_Ouie: This is related to allowing p eval($stdin.read)
<Spooner> shevy : Taht is how hashes work :D
<shevy> Spooner yeah but I mean, to call the method in the module ... hmm
<vectorshelve> Spooner: shevy allyraza 1 minute I am uploading it to github
<Spooner> shevy there isn't a magic shortcut for the very rare use case you are using.
<shevy> the code I just wrote is very ugly :(
<shevy> send(hash[:foo])+'hi'
<Spooner> shevy : I can't make you design better code :)
<Spooner> shevy : You are going to get that if you have dynamic code. Can't you avoid that?
ananthakumaran has quit [Quit: Leaving.]
<shevy> hmm
<shevy> I am using this in a module right now
<shevy> Spooner, need to think a bit how to solve this differently
<vectorshelve> how can I pull the entire code folder as it is to github by creating a new repo ?
<vectorshelve> push
<shevy> right now I have methods that mostly do this: def red; RED; end; def blue; BLUE; end ... where these UPCASED constants are just the ansi colour codes for the respective colours
<cburyta> Is this an ok room for basic rake questions?
<Spooner> shevy Why do you need them as methods since they are fine as constants?
<shevy> cburyta you can try, not everyone here knows a lot about rake
yasushi has quit [Remote host closed the connection]
<jrajav> Mon_Ouie: Erm, how do you even run Ruby on a script that's being piped in?
yasushi has joined #ruby
johnlcox has joined #ruby
<shevy> Spooner I want to do two things: (a) "Hello "+red("World") and more importantly (b) "Hello "+simportant("World"), where simportant() would be a method that could be re-assigned to return different colours (i.e. call another colour-method lateron)
<shevy> for (a) I could do "Hello "+RED+"World" too. but I also need to rever to the default colour in use
<shevy> *revert
Progster has quit [Ping timeout: 246 seconds]
<Spooner> shevy : I'm sure there are already methods that do all that.
<cburyta> just wondering if anyone knows if using the "directory" task or "files" task to create files is preferred http://pastebin.com/yikR8yPx
gen0cide_ has quit [Ping timeout: 260 seconds]
<Spooner> shevy : There should be at least one gem already that handles all those ansi codes perfectly well.
crankycoder|afk is now known as crankycoder
graspee has joined #ruby
axl__ has joined #ruby
<Spooner> cburyta : You can use: mkdir_p "dir2" (in Rake)
yasushi has quit [Ping timeout: 276 seconds]
yasushi_ has joined #ruby
mneorr has quit [Quit: Leaving.]
<cburyta> spooner: i'll look into that more, thanks
yule has joined #ruby
<yule> hello
<Spooner> cburyta : Just shorthand for the 'Dir.mkdir("dir2") unless Dir.exists?("dir2")' though, not a direct answer to your question.
yule has quit [Remote host closed the connection]
_jorge has joined #ruby
axl_ has quit [Ping timeout: 244 seconds]
axl__ is now known as axl_
<cburyta> spooner: right, i was mainly wondering if the well-documented task "directory" was known to be deprecated, im new to ruby but can't find anywhere why that directory task in my rakefile fails silently
<Spooner> cburyta : You probably don't want to create the folders outside of a task though, but I'm not sure what you are trying to do overall.
enroxorz has quit [Ping timeout: 248 seconds]
asobrasil has joined #ruby
<cburyta> spooner: agreed, im just starting it out, i tried it in a task also, but failed silently still
<Spooner> cburyta : Oh, right, yes. http://onestepback.org/articles/buildingwithrake/directorydependencies.html implies it should create the folder. However, tasks are only run if they are needed.
<Spooner> cburyta : directory "frog" doesn't do anything unless another task needs "frog" to exist.
<cburyta> ah, maybe thats where i'll start looking. i did see some notes on the file dependencies somewhere
d3vic3 has quit [Quit: leaving]
enroxorz has joined #ruby
dr0p has quit [Remote host closed the connection]
enroxorz has quit [Read error: Connection reset by peer]
enroxorz_ has joined #ruby
yasushi_ has quit [Remote host closed the connection]
enroxorz_ is now known as enroxorz
_jorge has quit [Ping timeout: 245 seconds]
enroxorz has quit [Changing host]
enroxorz has joined #ruby
<Spooner> cburyta : http://pastebin.com/jBQjaJSm
yasushi has joined #ruby
<Spooner> (you don't need to make a Rakefile into an executalbe with a shebang, since you only run them via "rake")
<cburyta> spooner: awesome! that worked
lolmaus has quit []
<Spooner> Oh, "blob" should be :blob, of course. You know what I mean.
erichmenge has quit [Quit: Be back later]
<cburyta> spooner: thanks, that helps a ton, i was hoping it was a basic thing i was missing
<vectorshelve> Spooner: Mon_Ouie not able to push to github my code :) http://pastie.org/4433752 allyraza
<Spooner> It nearly always is. Doesn't make a difference how much wisdom you have :)
<shevy> heheeh
uris has joined #ruby
<shevy> in 100 years, the folks will laugh about us, how primitive our code all was ...
<Spooner> vectorshelve : You can't push to it like that.
katherinem13 has quit [Read error: Operation timed out]
<Spooner> You need to look for the ssh version of the repo on your github project page.
yasushi has quit [Ping timeout: 240 seconds]
awarner has joined #ruby
theRoUS has joined #ruby
<Spooner> Actually, ignore me, I'm sure you can do it that way. I just only ever use ssh. Sorry.
<vectorshelve> Spooner: then how do I ? I first created it in github then cloned it in machine added files made a local commit and trying to push to github
sailias has joined #ruby
internet_user has joined #ruby
d3vic3 has joined #ruby
<Spooner> vectorshelve : As I say, I've only ever used ssh for it, so I am not sure what is involved in using https.
<vectorshelve> Spooner: ok thanks
<peterhellberg> http://screenr.com/eet8 <- Just modified a simple version of Game of Life… 100% more Emoji :)
yasushi has joined #ruby
erichmenge has joined #ruby
mockra has joined #ruby
cburyta has quit [Remote host closed the connection]
katherinem13 has joined #ruby
mockra has quit [Ping timeout: 240 seconds]
<jrajav> Sorry guys, bot's down again until I get it all figured out
<jrajav> I'm out for a few hours
jrajav has quit [Quit: The best darkness is strange and surprising]
jonahR has joined #ruby
vectorshelve has quit [Quit: Page closed]
sendoushi has joined #ruby
ipoval has joined #ruby
davidpk is now known as dpk
mahmoudimus has joined #ruby
tndrbt has joined #ruby
stopbit has joined #ruby
elhu has quit [Quit: Computer has gone to sleep.]
elhu has joined #ruby
<lectrick> In .each(&:to_s), where is the method to proc (&) defined?
burgestrand has quit [Quit: Leaving.]
<Spooner> lectrick : It is Symbol#to_proc
obryan has joined #ruby
paolooo has joined #ruby
<lectrick> So what converts the ampersand to a "to_proc" call?
hoelzro has quit [Remote host closed the connection]
<Spooner> & isn't a method, if that is what you mean. It is a magic thingie like *
<lectrick> oh wait... &block...
<Spooner> Yeah, it is the same thing.
<lectrick> what is the english translation for what that is?
IPGlider has joined #ruby
IPGlider has quit [Max SendQ exceeded]
<Spooner> Ampersand?
<lectrick> you know what I mean
arvidkahl has joined #ruby
<lectrick> its functionality, what it does
lxsameer has joined #ruby
IPGlider has joined #ruby
<peterhellberg> lectrick: A block?
IPGlider has quit [Max SendQ exceeded]
specialGuest has joined #ruby
<Spooner> Block operator? No idea.
jillsmitt has joined #ruby
wmoxam_ has joined #ruby
lxsameer has quit [Max SendQ exceeded]
<peterhellberg> lectrick: You mean the ampersand in something like this?: def foo(&block); yield; end
nicoulaj has joined #ruby
lxsameer has joined #ruby
niklasb has joined #ruby
<lectrick> * is a splat operator, and it converts an array of elements to those elements inline (as args, whatever). I am looking for a similar explanation for &
poppiez has joined #ruby
<Spooner> peterhellberg : Nice to see that the proc created by &:symbol is cached, though people told me that was slower (Well, it is slower, but only if you use it only once for a symbol).
IPGlider has joined #ruby
<lectrick> Spooner: It's cached meaning when it is used for, say, an inject, it doesn't get re-evaluated for every element, you mean?
<lectrick> peterhellberg: Yes, but I mean the ampersand in general. I know what it does with regards to blocks. Maybe I can start with that....
dpk has quit [Ping timeout: 246 seconds]
<lectrick> &block to me means "grab an implicit block if one is passed to this method and store it in 'block'". Later, giving a method "block" gives it block as an actual argument; giving it &block gives it the block as an implicit block
<lectrick> Does &block do some to_proc on something? Or is it pure syntax?
<peterhellberg> lectrick: By prepending the method parameter with the & symbol you tell the method to treat the block it gets as a closure and assign it to that parameter.
<peterhellberg> lectrick: A block is just a Proc
<lectrick> peterhellberg: ah right, the closure explanation is better.
<Spooner> lectrick : But in an actual call (rather than that usage in def) it does the same thing with a proc or a symbol. Calls to_proc on it, which for a proc returns self, but for a symbol or method object, creates a new proc.
pandersen has joined #ruby
<pandersen> hello
<pandersen> anyone here know if there's some method in e.g. io/console that allows you to get a "hidden" string from the command line? like when you type in a password
dpk has joined #ruby
<pandersen> to get a string from the command line that doesn't show when the user types it
<Spooner> lectrick : It seems to store _up to_ the last 33 symbol.to_procs in a very simple hash (not Hash), so if you call the same methods (like &:to_s) a lot, it doesn't re-create them.
<ccooke> pandersen: depends entirely on your OS
hoelzro has joined #ruby
<lectrick> Spooner: Interesting implementation detail.
<Spooner> lectrick : I read the code wrong. It stores up to 66 procs :)
mneorr has joined #ruby
specialGuest has quit [Changing host]
specialGuest has joined #ruby
<peterhellberg> pandersen: Highline does that
axl__ has joined #ruby
jpreyer has joined #ruby
<Spooner> But it hashes them based on symbol.__id__ % 66, so the hashing is rather likely to mean some things get replaced a lot. I should read more of the C code now I have made a few extensions and vaguely know what is going on :)
<lectrick> so symbol to proc is implemented in C, so I can't for example write my own to_proc, I guess
monkegjinni has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<Spooner> Of course you can override it in that or any other class.
mneorr has quit [Read error: Connection reset by peer]
<lectrick> I tried this: m = ''.method(:to_s); [1,2,3].each(&m)
mneorr1 has joined #ruby
<lectrick> or you see what I was getting at I hope, I got a wrong number of args (1 for 0) error
<peterhellberg> lectrick: It used to be implemented in Ruby in the extensions library: http://extensions.rubyforge.org/rdoc/classes/Symbol.html
<peterhellberg> proc { |obj, *args| obj.send(self, *args) }
<pandersen> lectrick: thanks
<pandersen> ccooke: linux?
pu22l3r has joined #ruby
<pandersen> peterhellberg: i'll check it out
axl__ has quit [Read error: Connection reset by peer]
<workmad3> lectrick: the problem with using a .method is that what gets returned is a bound method object
bluenemo_ has quit [Remote host closed the connection]
<Spooner> lectrick : If you do it that way, it will be doing: [1, 2, 3].each {|i| ''.to_s(i) }
<workmad3> lectrick: so calling it is the same as doing ''.to_s
<lectrick> ah.
<Spooner> lectrick : Better example: m = Kernel.method(:puts); [1,2,3].each(&m)
axl_ has quit [Ping timeout: 244 seconds]
axl_ has joined #ruby
<lectrick> OK now we're talking
pdelgallego has joined #ruby
monobit_ is now known as asteve
havenn has joined #ruby
<pandersen> lectrick: thanks btw, IO.noecho seems to do the trick :-)
<lectrick> pandersen: interesting, glad you figured it out
yasushi has quit [Remote host closed the connection]
<lectrick> you might want to do the apple thing and echo the last character for a second then hide it with an *... But I digress haha
mneorr1 has quit [Quit: Leaving.]
yasushi has joined #ruby
<lectrick> leave it for the spit-polishing
dankest has joined #ruby
<shevy> you can polish by spitting??
<lectrick> someone has never been to boot camp
kn330 has quit [Ping timeout: 246 seconds]
<shevy> yeah
tndrbt_ has joined #ruby
chichou_ has joined #ruby
SCommette has joined #ruby
nicoulaj has quit [Remote host closed the connection]
fforbeck has quit [Quit: Leaving]
berserkr has quit [Quit: Leaving.]
tndrbt_ has quit [Client Quit]
chichou has quit [Ping timeout: 276 seconds]
br4ndon has quit [Ping timeout: 244 seconds]
tndrbt has quit [Ping timeout: 252 seconds]
davidcelis has quit [Quit: K-Lined.]
yasushi has quit [Ping timeout: 260 seconds]
br4ndon has joined #ruby
hdzhdgn has joined #ruby
zodiak has joined #ruby
tndrbt has joined #ruby
fjkbvkg has quit [Ping timeout: 245 seconds]
A124 has joined #ruby
slux has quit [Remote host closed the connection]
fbernier has joined #ruby
lockweel has quit [Ping timeout: 244 seconds]
A124 has left #ruby [#ruby]
poga has joined #ruby
poga has quit [Remote host closed the connection]
grulf has joined #ruby
<grulf> Hey
<grulf> I'm in a bit of confusion here
lifecoder has joined #ruby
poga has joined #ruby
<grulf> case k
<grulf> when "&" then return (evaluate(tree[k][0]) && evaluate(tree[k][1]))
<grulf> when "|" then return (evaluate(tree[k][0]) || evaluate(tree[k][1]))
<grulf> end
<grulf> Why is the second function (after the &&) not executed?
<hoelzro> grulf: && is a short-circuit operator
<hoelzro> so if the LHS returns false, it doesn't bother with the RHS
sendoushi has quit [Remote host closed the connection]
<grulf> Ooh
<grulf> What do I use, then?
<grulf> Alright I found it. I guess there's & too
<grulf> Tricky ... Thanks :D
<shevy> + 3000 files in /usr/bin
<shevy> why is unix such a mess
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
jrajav has joined #ruby
<hoelzro> shevy: because all OSes are a mess?
<hoelzro> s/all/all mainstream/
<apeiros_> grulf: & is a method, not "and"
<apeiros_> if you want code to be executed no matter what, put it on its own line. and if you need its result, assign it to a local variable.
<grulf> Isn't and a method, too? I mean, even + is a method
<apeiros_> grulf: no
<apeiros_> &&, ||, and, or are not methods
<grulf> Ok D:
<Mon_Ouie> If they were methods, the rhs would always be evaluated
lifecoder has quit [Quit: lifecoder]
<apeiros_> a) that, and b) it'd mean their behavior would be defined by the lhs
<grulf> Hmm.
<shevy> hoelzro hmm... OSX has a /usr/bin too?
<peterhellberg> Time to head home, see you after the weekend
<hoelzro> shevy: sure does
punkrawkR has quit [Read error: Connection reset by peer]
<hoelzro> mine has 1174 files in it
peterhellberg has quit [Remote host closed the connection]
h8R_at_work has joined #ruby
<Mon_Ouie> I thought it was a lot, but then check and realized I had twice as many.
<shevy> hmm
<lectrick> So [1,2,3].each(&method(:puts)) is the same as [1,2,3].each{|v| puts v} where "puts" is any method that takes an argument
<apeiros_> lectrick: no
<lectrick> darn it.
aganov has quit [Remote host closed the connection]
<apeiros_> [1,2,3].each(&method(:puts)) is [1,2,3].each{|v| v.puts }
<apeiros_> and that's probably not what you want.
<apeiros_> (since 1.puts is Kernel#puts and that is private)
<lectrick> no, no it's not
<lectrick> wait
<lectrick> i can't do 1.send(:puts). It is not the same output as puts 1
<Mon_Ouie> No, lectrick was right
<apeiros_> oh, wait
<apeiros_> gah
<lectrick> :)
<Hanmac> [1,2,3].each(&method(:puts)) is [1,2,3].each{|v| puts v }
<lectrick> Note the subtle difference
<apeiros_> yes, yes, you're right… I missed the method()
<lectrick> from [1,2,3].inject(&:+)
<Mon_Ouie> But #+ needs an argument
vlad_starkov has quit [Remote host closed the connection]
<lectrick> apeiros_: yeah that's what I was trying to wrap my head around this morning
<Hanmac> [1,2,3].inject(&:+) is [1,2,3].inject {|o,temp| o + temp}
<Hanmac> but you cant type this to: [1,2,3].inject(:+)
<Hanmac> i mean you can
<lectrick> yes but that's only because they allowed inject to take a single symbol arg and then internally it does &:+
Speed has quit [Ping timeout: 252 seconds]
<lectrick> basically hiding the functionality
nwest has joined #ruby
mengu has quit [Quit: Konversation terminated!]
cearls has joined #ruby
<lectrick> and only in 1.9 I believe
kn330 has joined #ruby
<Mon_Ouie> It doesn't call to_proc
<Mon_Ouie> It might actual predate Symbol#to_proc
ananthakumaran has joined #ruby
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
Abbas| has quit [Ping timeout: 272 seconds]
pdelgallego has quit [Read error: Connection reset by peer]
codeFiend has quit [Quit: codeFiend]
rutkla has quit [Ping timeout: 244 seconds]
alek_b has joined #ruby
tommyvyo has joined #ruby
jrajav has quit []
jrajav has joined #ruby
excelsior has joined #ruby
maesbn has quit [Remote host closed the connection]
pdelgallego has joined #ruby
mikepack has joined #ruby
baphled has quit [Read error: Connection reset by peer]
jgrevich has joined #ruby
baphled has joined #ruby
monkegjinni has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
robbyoconnor has joined #ruby
andrewhl has joined #ruby
tvw has quit [Remote host closed the connection]
andrewhl has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
dankest has quit [Quit: Linkinus - http://linkinus.com]
ken_barber has joined #ruby
rubious has joined #ruby
ringotwo has joined #ruby
jprovazn has quit [Quit: Leaving]
eldariof has quit [Ping timeout: 244 seconds]
sspiff has quit [Remote host closed the connection]
h8R_at_work has quit [Quit: Page closed]
rubious has quit [Client Quit]
rubious has joined #ruby
Abbas5 has joined #ruby
Abbas5 is now known as Abbas-
Abbas- has quit [Changing host]
Abbas- has joined #ruby
Abbas- is now known as Abbas5
w400z has quit []
<lectrick> what is the "tee" method in ruby again?
nXqd has quit [Ping timeout: 246 seconds]
gen0cide_ has joined #ruby
<Mon_Ouie> Object#tap
ckrailo has joined #ruby
excelsior has quit [Ping timeout: 248 seconds]
h8R_at_work has joined #ruby
krusty_ar has quit [Read error: Connection reset by peer]
excelsior has joined #ruby
andrewhl has joined #ruby
krusty_ar has joined #ruby
<lectrick> p=method(:puts); [1,2,3].tap(&p).inject(&:+)
chimkan_ has joined #ruby
jrajav has quit []
<lectrick> if for example you are debugging and want to inspect the elements in the middle of a call chain
<lectrick> Can all Ruby enumerators be chained or only certain ones?
Abbas5 is now known as Abbas|
<lectrick> or even more terse, since p is already defined [1,2,3].tap(&method(:p)).inject(&:+)
Synthead has joined #ruby
<shevy> ewww
<lectrick> lol
<shevy> Hanmac likes this code
<shevy> he is collecting odd combinations
bluenemo_ has joined #ruby
bluenemo_ has quit [Changing host]
bluenemo_ has joined #ruby
* Hanmac is the master of oddness
<lectrick> is there a shortcut to the "method" method? :)
<shevy> !!!
<shevy> if we could alias ^ to it
<shevy> [1,2,3].tap(&^(:p)).inject(&:+)
ringotwo has quit [Remote host closed the connection]
cantonic has quit [Quit: cantonic]
PapaSierra has left #ruby [#ruby]
flexoid has quit [Remote host closed the connection]
tk_ has quit [Quit: ばいばい]
ipoval has quit [Quit: ipoval]
x77686d has joined #ruby
<lectrick> oh snap
<lectrick> and i was thinking class Object; alias m method; end; [1,2,3].each(&m(:p))
clocKwize has quit [Quit: clocKwize]
_pdelgallego has joined #ruby
<lectrick> which works, but a single character method is kind of icky... but there's already 'p'
miho has joined #ruby
pdelgallego has quit [Read error: Connection reset by peer]
_pdelgallego is now known as pdelgallego
elhu has quit [Quit: Computer has gone to sleep.]
lxsameer has quit [Quit: Leaving]
<lectrick> but if you, say, already had a "debug" method in your scope that took a parameter and output a bunch of stuff, you could simply do [1,2,3].each(&m(:debug)) or what have you
clocKwize has joined #ruby
Hanmac has quit [Read error: Operation timed out]
quest88 has joined #ruby
apeiros_ has quit [Remote host closed the connection]
etisfo_ has joined #ruby
etisfo has quit [Ping timeout: 248 seconds]
elhu has joined #ruby
axl_ has quit [Read error: Connection reset by peer]
Morkel has quit [Quit: Morkel]
beakerma_ has joined #ruby
davidcelis has joined #ruby
axl_ has joined #ruby
r0bby has joined #ruby
ramblex has quit [Ping timeout: 246 seconds]
arturaz has quit [Ping timeout: 268 seconds]
<mirTapir> he
beakerman has quit [Ping timeout: 246 seconds]
shevy has quit [Ping timeout: 245 seconds]
<mirTapir> what is that gem called which i can deploy ruby and isolated environments with multiple versions ?
jjbohn has joined #ruby
pzol has joined #ruby
<davidcelis> capistrano...?
<mirTapir> no
<mirTapir> it was a 3 literal word
kuzushi has joined #ruby
<mirTapir> but i cant memorize it
<hoelzro> rvm?
robbyoconnor has quit [Ping timeout: 246 seconds]
<mirTapir> oh rvm
<davidcelis> "deploy"
<davidcelis> is what tripped me up
<davidcelis> methinks you meant install
chimkan_ has quit [Quit: chimkan_]
<mirTapir> oh
<mirTapir> sorry
nXqd has joined #ruby
IPGlider has quit []
pu22l3r has quit [Remote host closed the connection]
adeponte has joined #ruby
zmbmartin has joined #ruby
tcopp has left #ruby [#ruby]
<zmbmartin> Can anyone help me with this problem? Getting error on gem install termios? —> https://gist.github.com/1145663
rutkla has joined #ruby
adeponte has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
kvirani has joined #ruby
mahmoudimus has joined #ruby
TorpedoSkyline has joined #ruby
chimkan has joined #ruby
<obryan> what's a good gem for getting system data, like OS, memory free/total, cpu activity, etc
workmad3 has quit [Ping timeout: 245 seconds]
erichmenge has quit [Quit: Be back later]
adeponte has joined #ruby
<fearoffish> ummm, ohai
<fearoffish> used by chef
<fearoffish> there might be others, and I'm not sure it'll do everything you want
<fearoffish> but in the past I've just created my own tiny class that does it, it's only parsing text anyway
<obryan> yeah i thought ohai was the answer but the documentation seems... opaque
<obryan> and the sysinfo gem is just too limited
<mirTapir> mhm
_adeponte has joined #ruby
<mirTapir> you know waht sucks
<mirTapir> there is cfengine and there is puppetmaster
hoelzro is now known as hoelzro|away
<mirTapir> but no clips for this task
adeponte has quit [Read error: Connection reset by peer]
maxmmurphy has joined #ruby
<mirTapir> clips for back and forthprop
<obryan> don't get me started on cfengine
reff has joined #ruby
<obryan> but i just want a simple little thing that takes the system stats and reports'm back, ohai seems like the way to go but they seem short on practical examples
jgrevich has quit [Quit: jgrevich]
<mirTapir> hey i know what you can do if you know how with logic constraint and data oriented programming etc
<mirTapir> but these systems are more complex than they should be for what they can do
voodoofish has quit [Quit: Leaving]
<chiel> does any of you ever deploy anything on debian squeeze? I'm wondering what the best place would be for my app.
<chiel> (with unicorn, though i doubt it matters)
<mirTapir> but well you dont get paid today
<mirTapir> for flaming the software
<mirTapir> i got 4 squeeze running
<mirTapir> but squeeze is eol
<chiel> or does everyone just use heroku running nowadays? D:
brdude has joined #ruby
benson has joined #ruby
<chiel> mirTapir: yeah, but i've been using squeeze for a while
reff has quit [Remote host closed the connection]
<mirTapir> you need to use stable :P
<Muz> Fuck heroku.
<Muz> Really.
<mirTapir> i prefer any system with working security
shevy has joined #ruby
<chiel> just not 100% sure on what the "correct" place is to deploy to
<chiel> now I just have it in /www/sites/<sitename>
<mirTapir> chiel: i use squeeze for long time on routers
<chiel> but well, that folder is usually not there in debian :)
<mirTapir> which got no gui
<mirTapir> no problem with that
xorigin has quit [Quit: leaving]
<chiel> yeah I am running debian on my server
<mirTapir> but i know a friend who runs it on his desktop
<mirTapir> he always got stress with dependancy loops and broken stuff
<chiel> just from an os-standpoint I wondered what is the usual place to deploy
<chiel> mirTapir: I'm not using it on my desktop
<mirTapir> deploy ?
<chiel> yeah
<chiel> like to a webserver.
<mirTapir> on debian ?
<mirTapir> one second
<chiel> yes.
<mirTapir> nginx or apache ?
<mirTapir> /var/www/
<chiel> unicorn, but with nginx proxy
<chiel> ah k, cool
<mirTapir> but no idea
<chiel> that's all I was wondering :)
<mirTapir> maybe i changed it
jonahR has joined #ruby
<mirTapir> but i guess its default
ly_gs has quit [Remote host closed the connection]
<mirTapir> i dont need to change stuff
<mirTapir> it changes itself
Hanmac has joined #ruby
<mirTapir> ^^
<mirTapir> eh they should put optocouplers on the soekris boxes
<mirTapir> i would run it from battery then
<mirTapir> but it suxx they dont sell it ready modified to precision timing
<mirTapir> replacin the onboard oscillator with rubidium is nice
jc33 has joined #ruby
<mirTapir> ok well i guess i could have bought a real timeserver ^^
<mirTapir> for the mone
<mirTapir> lol
syamajala has joined #ruby
<mirTapir> but mine is better ^^
Rajesh has joined #ruby
<chiel> O.o
Rajesh is now known as Guest38070
<mirTapir> make: *** No rule to make target `/usr/include/ruby-1.9.1/ruby.h', needed by `fcgi.o'. Stop.
<mirTapir> i got 1.9.3
<mirTapir> it fails on the gem for rack
zmbmartin has left #ruby [#ruby]
erichmenge has joined #ruby
excelsior has quit [Ping timeout: 240 seconds]
custardcow is now known as mrmist
excelsior has joined #ruby
<mirTapir> lol
<mirTapir> if you dont take care and you look at ruby
_jorge has joined #ruby
<mirTapir> you read rub her
<mirTapir> lol
dpk has quit [Quit: Asleep at the keyboard.]
jc33 has left #ruby [#ruby]
pandersen has quit [Ping timeout: 252 seconds]
ringotwo has joined #ruby
hynkle has quit [Quit: Computer has gone to sleep.]
Bonkers has joined #ruby
<shevy> wat
savage- has joined #ruby
<shevy> check the error you get for rack
_jorge has quit [Remote host closed the connection]
<shevy> "it fails on the gem for rack" contains not enough information really
brdude has quit [Quit: brdude]
Beoran__ has joined #ruby
Stalkr_ is now known as Stalked_
Vert has quit [Ping timeout: 252 seconds]
ntome has joined #ruby
<ntome> hi
Stalked_ is now known as Stalkd_
<ntome> when i do JSON.parse('1') it tells me it needs at least 2 bytes, why?
Beoran_ has quit [Ping timeout: 244 seconds]
r0bby has quit [Read error: Connection reset by peer]
maletor has joined #ruby
<Muz> ntome: because the smallest valid JSON document is 2 bytes in size.
<Muz> {}
<Spooner> ntome : Yeah, this is dumb: JSON.parse(1.to_json)
<Spooner> But as Muz implies, it isn't a json document, even if it is valid JSON for 1.
<Muz> Spooner: you're inferring I'm implying. I'm stating.
<Spooner> Muz: "[]" is also valid
<ntome> a json document is restricted to array and hash types?
<Muz> No, a JSON document is restricted to valid JSON.
<Muz> http://www.json.org/ Those flow diagrams sum up how to form a JSON document nicely.
cantonic has joined #ruby
<ntome> so "1" is not json, it's a valid value to put somewhere in json, but not json per-se?
randomautomator has joined #ruby
<Muz> Indeed.
pandersen has joined #ruby
<ntome> while an array is both valid json and a valid value to put somewhere inside other json?
bluOxigen has quit [Ping timeout: 252 seconds]
<davidcelis> no
<davidcelis> an array is a valid json value
<Muz> The ruby syntax for an array can often be a valid JSON value.
nepo has joined #ruby
<ntome> ok, thanks
<Muz> Note: "can".
<davidcelis> example of when it can't?
Eiam has joined #ruby
<ntome> "[1,]"?
<Muz> davidcelis: a Ruby array of constants.
<Muz> [FOO, BAR, YOUR, MUM]
<ntome> "[1,]" is valid ruby but not valid json
<davidcelis> Muz: ah, yep
<Muz> davidcelis: single quoted string too
<Muz> *strings
<Muz> .
tatsuya_o has quit [Remote host closed the connection]
ananthakumaran has quit [Quit: Leaving.]
jonathanwallace has quit [Remote host closed the connection]
hadees has quit [Quit: hadees]
nerdo has joined #ruby
dr_bob has quit []
Hanmac has quit [Ping timeout: 260 seconds]
<ntome> thanks, bye
ntome has left #ruby ["WeeChat 0.3.5"]
w400z has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
zz_chrismcg is now known as chrismcg
nepo has quit [Quit: Leaving]
havenn has quit [Remote host closed the connection]
<w400z> anyone with mechanize/nokogiri experience here?
nXqd has quit [Ping timeout: 256 seconds]
<Muz> Rather than asking a vague question, ask the actual question to your problem.
<Muz> If someone knows, they'll answer. If they don't, they won't.
ephemerian has quit [Quit: Leaving.]
<nerdo> For example, "What's the cleanest way to retreive a subset of an array from a particular index to the end of the array?"
<nerdo> That's a real question actually...
<nerdo> I could do [1,2,3,4,5][-2,2], but is there something more like [1,2,3,4,5][-2...]?
<Muz> nerdo: "array[5..-1]"
<nerdo> gotcha
jonathanwallace has joined #ruby
excelsior has quit [Ping timeout: 252 seconds]
Clooth has quit [Quit: Bye!]
<nerdo> thanks
maxmmurphy has quit [Quit: maxmmurphy]
nerdo has quit [Quit: irc2go]
wallerdev has joined #ruby
<w400z> using mechanize, is there a way to download all links with a certain extension? for example, i want to find all the links on a page with a ".pdf" or ".mp3" extension and download those files.
gilead has quit [Quit: This computer has gone to sleep]
<katherinem13> What's the ruby equivelant of this python? '[1, 2, 3][1:] I.e., I want to slice off the first element of an array, but haven't stored it in a variable so can't reference it's .length property to do a two arcument call to #slice
GoldenPie has joined #ruby
poga has quit [Remote host closed the connection]
tommyvyo has joined #ruby
jonahR has quit [Quit: jonahR]
kpshek has quit []
ringotwo has quit [Read error: Connection reset by peer]
<Muz> w400z: b=Mechanize.new; page = b.get(URLGOESHERE); page.links.each { |link| b.get(link) if link.href =~ /(mp3|pdf)$/ }
gilead has joined #ruby
ringotwo has joined #ruby
blast_hardcheese has quit [Ping timeout: 240 seconds]
theRoUS has quit [Remote host closed the connection]
gilead has quit [Read error: Connection reset by peer]
gilead has joined #ruby
hadees has joined #ruby
gilead has quit [Remote host closed the connection]
<Muz> katherinem13: array[1..-1]
MarGarina has quit [Ping timeout: 260 seconds]
<Muz> katherinem13: that returns a section of the array from index position 1, through to the last item.
<Muz> Or do you actually want to remove the first item from the start of the array? See Array#shift
nohonor has joined #ruby
<Muz> The return value is the item removed, but the array itself would now hold the remaining items.
<katherinem13> Muz: Oh, cool, didn't know the -1 syntax was shared. Cool. While I was waiting for a response, I found #drop. Any reason to prefer one over the other?
<katherinem13> Just returning the array minus the first element is fine.
paolooo has quit [Quit: Page closed]
hadees has quit [Remote host closed the connection]
<Muz> Readability of code, or if you're using the return value for something else, or passing the array around elsewhere etc
<Muz> Whatever works for you, and is clean for you, go with really.
<w400z> Muz that's money. thanks.
fgro_ has joined #ruby
<Muz> It's missing storing the response from the b.get(link) to a file on disk, but I'm sure you can figure that out for yourself.
gilead has joined #ruby
<w400z> yup
rutkla has quit [Ping timeout: 244 seconds]
<fgro_> i have a method which expects key/value pairs as input parameters, say "def test(:url => x, :attribute => y ...)" . now i have a hash which i would like to pass to test(), as if the key/value pairs were written in the method call. Not sure if my question makes sense...
wallerdev has quit [Quit: wallerdev]
Araxia has joined #ruby
tastycakeman has joined #ruby
justsee is now known as justsee|away
tatsuya_o has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
tndrbt has quit [Quit: tndrbt]
bier has quit [Read error: Operation timed out]
<lectrick> katherinem13: look at Array#shift, Array#unshift, Array#pop and Array#push
<Muz> Not knowing what your question actually was, we'll take your word for it.
flip_digits has joined #ruby
ixti has quit [Quit: So Long, and Thanks for All the Fish!]
baphled has quit [Read error: Operation timed out]
Bonkers has quit [Quit: Leaving]
<davidcelis> fgro_: A method that takes key/value pairs in Ruby is actually just a method that takes a hash.
<davidcelis> You can just pass the hash.
<Muz> It's just syntactic sugarry wank where you can ommit the {} if the final argument is a hash.
<davidcelis> fgro_: If you try to define a method that takes "key-value pairs", you get a syntax error. That's not valid.
cj3kim has joined #ruby
poppiez has quit [Quit: Linkinus - http://linkinus.com]
darren has joined #ruby
perlsyntax has joined #ruby
blazes816 has joined #ruby
wallerdev has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
paolooo has joined #ruby
`brendan has quit [Ping timeout: 244 seconds]
Astral has joined #ruby
<perlsyntax> hi
<shevy> oh no
<shevy> KILL THE perlsyntax HERE PLEASE
<shevy> it's trying to leak over from #perl
krz has joined #ruby
<perlsyntax> ?
lorandi has quit [Quit: Leaving]
<shevy> perl syntax!
<shevy> perl
billiam has joined #ruby
<Mon_Ouie> shevy's favorite language is Perl
<shevy> my $foo<>%()()=&&/=§&!!&)=°"&/()=°"&/(?&"?
<davidcelis> shevy <3 perl
<Mon_Ouie> He doesn't want Perl's awesomeness to get into Ruby
<perlsyntax> oh really
kidoz has joined #ruby
<davidcelis> perlsyntax: you should talk perl with shevy
<davidcelis> he loves that shit
<xargoon> ruby is perl with nice syntax
<shevy> perl had a few cool things
<shevy> like larry
<perlsyntax> perl is cool i think.
<perlsyntax> :)
<perlsyntax> i try to get into ruby.
<shevy> ruby is cooler
<perlsyntax> how fast is ruby if ok to ask.
<shevy> it took the good ideas from perl, took some more good ideas from somewhere else, then spoke japanese magic words, and there you got something beautiful
inteq has joined #ruby
<shevy> as fast as perl
cantonic has quit [Quit: cantonic]
<perlsyntax> i didn't know that.
cj3kim has quit [Quit: Leaving]
Hanmac has joined #ruby
<Muz> Depends what you're asking it to do.
<davidcelis> waiting for my ruby code to compile is like waiting for godot
Stalkd_ is now known as Stalkr_
etisfo_ has quit [Quit: Leaving]
<perlsyntax> i just don't want to sound like a newbie lol.
<shevy> Ruby 1.9: 43.80seconds
pdelgallego has quit [Quit: pdelgallego]
<shevy> Perl: 57.55 seconds
lorandi has joined #ruby
<perlsyntax> thanks
clocKwize has quit [Quit: clocKwize]
<shevy> it depends on what you measure, but they are very much comparable
<perlsyntax> i see
<blazes816> at the very least, you won't notice a performance issue either way
<blazes816> at least one stemming from your language choice
TorpedoSkyline has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
shadoi has joined #ruby
<shevy> I did use perl in like 2002 for about half a year or some like that
<perlsyntax> cool
<shevy> I bought a book too, it had a nice chapter about regexes
<perlsyntax> i got alot of perl books.:)
<perlsyntax> It souldn't be that hard learn ruby.
<blazes816> that's what I though when I went from perl to ruby
<blazes816> thought*
chrismcg is now known as zz_chrismcg
<perlsyntax> Anyone read well ground up ruby book?
kenichi has joined #ruby
rutkla has joined #ruby
<perlsyntax> if i spell it right.
<blazes816> I liked "The Ruby Programming Language" by matz
bier has joined #ruby
deryl has quit [Quit: deryl]
axl_ has quit [Quit: axl_]
chussenot has quit [Remote host closed the connection]
syamajala has quit [Ping timeout: 246 seconds]
chussenot has joined #ruby
<perlsyntax> i was looking at the book.
brdude has joined #ruby
bradhe has quit [Remote host closed the connection]
grulf has quit [Quit: Leaving.]
arkiver has quit [Ping timeout: 246 seconds]
theRoUS has quit [Ping timeout: 272 seconds]
syamajala has joined #ruby
elhu has quit [Quit: Computer has gone to sleep.]
`brendan has joined #ruby
axl_ has joined #ruby
stephenjudkins has joined #ruby
kpshek has joined #ruby
<blazes816> look at it until it's read
codora is now known as coyo
Eldariof-ru has joined #ruby
fgro_ has quit [Ping timeout: 248 seconds]
nwest has quit [Ping timeout: 252 seconds]
lurch_ has quit [Quit: lurch_]
miho has quit [Quit: miho]
adamkittelson has joined #ruby
chussenot has quit [Quit: chussenot]
deryl has joined #ruby
<perlsyntax> ?
codeFiend has joined #ruby
syamajala has quit [Read error: Connection reset by peer]
<blazes816> just kidding
<blazes816> i'm saying read it
syamajala has joined #ruby
randomau_ has joined #ruby
randomautomator has quit [Read error: Connection reset by peer]
randomautomator has joined #ruby
<perlsyntax> i thought you where jokeing.
_s1n4_ has joined #ruby
khakimov has joined #ruby
jonathanwallace has quit [Remote host closed the connection]
beneggett has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
maxmmurphy has joined #ruby
s1n4 has quit [Ping timeout: 272 seconds]
ngoldman has joined #ruby
_s1n4_ is now known as s1n4
randomau_ has quit [Ping timeout: 272 seconds]
carloslopes has joined #ruby
<shevy> perlsyntax, did you work through all chapters of http://pine.fm/LearnToProgram/?Chapter=00 yet
<perlsyntax> i didn't know about this book.
riginding has joined #ruby
<perlsyntax> thanks
Guest38070 has quit [Quit: Leaving to Quit]
geekbri has quit [Remote host closed the connection]
artOfWar has joined #ruby
<emsilva> I got the Pickaxe when I started
wereHamster has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
hynkle has joined #ruby
graybeard has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
strnx has quit [Ping timeout: 240 seconds]
mxbtty has joined #ruby
pandersen has quit [Ping timeout: 265 seconds]
bradhe has joined #ruby
miho has joined #ruby
havenn has joined #ruby
s1n4 has quit [Ping timeout: 260 seconds]
mengu has joined #ruby
spathi_ has joined #ruby
spathi has quit [Read error: Connection reset by peer]
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
Criztian has joined #ruby
Criztian_ has quit [Read error: Connection reset by peer]
geekbri has joined #ruby
hynkle has quit [Quit: Computer has gone to sleep.]
ly_gs has joined #ruby
Requiredev has joined #ruby
alvaro_o has joined #ruby
banisterfiend` has quit [Remote host closed the connection]
spathi_ has quit [Read error: Connection reset by peer]
jjbohn is now known as jjbohn|afk
excelsior has joined #ruby
punkrawkR has joined #ruby
elhu has joined #ruby
jbw has quit [Ping timeout: 246 seconds]
tastycakeman1 has joined #ruby
pdtpatrick has joined #ruby
jjbohn|afk is now known as jjbohn
spathi has joined #ruby
mjbamford has joined #ruby
tastycakeman has quit [Ping timeout: 244 seconds]
lkba has quit [Ping timeout: 246 seconds]
maxmmurphy has quit [Read error: Connection reset by peer]
graybeard has quit [Ping timeout: 245 seconds]
zemanel has quit [Quit: Remote hottie closed the connection]
maxmmurphy has joined #ruby
s1n4 has joined #ruby
jrajav has joined #ruby
liluo has quit [Remote host closed the connection]
<shevy> always javascript
samer has joined #ruby
mjbamford has quit [Ping timeout: 265 seconds]
Ethan has quit [Quit: *poof*]
davidcelis has quit [Ping timeout: 244 seconds]
<Hanmac> shevy i think it counts the line ... you need more lines in javascript todo something like array.map(&:to_i).inject(:+)
mjbamford has joined #ruby
cbuxton has quit [Quit: Leaving.]
Eldariof59-ru has joined #ruby
johnlcox has quit [Ping timeout: 245 seconds]
krz has quit [Quit: krz]
Ethan has joined #ruby
jbw has joined #ruby
havenn has quit [Remote host closed the connection]
johnlcox has joined #ruby
voodoofish430 has joined #ruby
maxmmurphy has quit [Read error: No route to host]
Eldariof-ru has quit [Ping timeout: 252 seconds]
<shevy> hmm
maxmmurphy has joined #ruby
davidcelis has joined #ruby
banisterfiend has joined #ruby
Squarepy has joined #ruby
andrewhl has quit [Ping timeout: 246 seconds]
toofar has quit [Quit: Ex-Chat]
Squarepy has quit [Changing host]
Squarepy has joined #ruby
obryan has quit [Quit: Konversation terminated!]
<Hanmac> shevy i think you should watch "adventure time" :P
syamajala has quit [Remote host closed the connection]
jonahR has joined #ruby
_s1n4_ has joined #ruby
<jrajav> So, uh, what the hell is going on here. When I run this line in command, it runs fine: sudo -u jrajav ruby -e 'p eval(File.open("r_jrajav.rb", "r") {|f| f.read})'
Squarepy_ has joined #ruby
<jrajav> However, when I run the same line with Ruby's popen3, it gives an error in 'spawn': No such file or directory
atrika has joined #ruby
<jrajav> And sends back the whole line
Squarepy_ has quit [Read error: Connection reset by peer]
jpreyer has quit [Read error: Connection reset by peer]
sernin is now known as sphera
<jrajav> I'm sure that I'm escaping the line correctly in Ruby -- that is precisely the line that the shell (or whatever Process#spawn sends it to) gets
asteve has quit []
Squarepy_ has joined #ruby
s1n4 has quit [Ping timeout: 260 seconds]
Squarepy has quit [Ping timeout: 245 seconds]
jjbohn is now known as jjbohn|afk
theRoUS has quit [Ping timeout: 240 seconds]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
<shevy> Hanmac adventure time?
<Hanmac> did you try to wiki it?
scriabin has joined #ruby
aezop has joined #ruby
<shevy> "The series follows the adventures of Finn, a 14-year-old human boy"
kpshek has quit []
<shevy> sounds hmmm
<shevy> very ...
<shevy> exciting?
Squarepy_ is now known as Squarepy
<shevy> omg Hanmac ... what are you watching
<jrajav> shevy
<jrajav> It's legit
grillo has quit [Ping timeout: 245 seconds]
samer has quit [Ping timeout: 248 seconds]
<bnagy> what the actual fuck
atrika has left #ruby ["Quitte"]
grillo has joined #ruby
Goles has joined #ruby
_s1n4_ is now known as s1n4
<w400z> are there any ruby/non-rails methods for parameterize-ing or dasherize-ing a string?
cakehero has quit [Quit: Computer has gone to sleep.]
<shevy> w400z translate please
<shevy> parameterizing a string, what does that mean?
<Hanmac> w400z what is your imput and what your wanted output? then i could play blackbox
digitalcakestudi has joined #ruby
<w400z> nm found it
<w400z> .gsub(' ', '-') is what i was looking for
Axsuul has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby
celm has joined #ruby
celm has quit [Client Quit]
kpshek has joined #ruby
<shevy> aha.
johnlcox has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
johnlcox has joined #ruby
eignerchris has joined #ruby
pu22l3r has joined #ruby
CAP2854 has joined #ruby
excelsior has quit [Ping timeout: 240 seconds]
elhu has quit [Quit: Computer has gone to sleep.]
strnx has joined #ruby
CAP2854 has left #ruby [#ruby]
<jrajav> Okay. I hacked around the problem for now
al2o3cr has joined #ruby
<jrajav> I'd still appreciate if anyone has input on the earlier question of mine
<jrajav> Because as of now the bot is actually using two new script files for each scriptlet :/
mohits has joined #ruby
<jrajav> However...
<jrajav> >> 1 + 4
<al2o3cr> (Fixnum) 5
<jrajav> >> puts 'Heya'
<al2o3cr> Heya
<al2o3cr> (NilClass)
ggrocco has joined #ruby
h8R_at_work has quit [Ping timeout: 245 seconds]
<jrajav> Hanmac: I also fixed for forkbombing
<jrajav> *the
<jrajav> I don't know if you were here for that
<jrajav> Observe:
<jrajav> >> while true; Process.fork end
<al2o3cr> [Nothing on stdout]
<al2o3cr> [FATAL] Failed to create timer thread (errno: 11)
<al2o3cr> stderr:
<al2o3cr> exit status: pid 4197 exit 1
<al2o3cr> [FATAL] Failed to create timer thread (errno: 11)
abstrusenick has joined #ruby
elhu has joined #ruby
<jrajav> Each scriptlet now has a resource limit of 2 seconds cpu time, 10mb file writing, and 2 processes
mucker has quit [Remote host closed the connection]
maxownz has joined #ruby
<Mon_Ouie> >> "foo"
<al2o3cr> (String) foo
<Mon_Ouie> You should use #inspect, not #to_s
jonahR has quit [Quit: jonahR]
<jrajav> ?
<jrajav> I'm not using to_s
<Mon_Ouie> Yes you are, when you print the result
cakehero has joined #ruby
<Mon_Ouie> Even if it's implicit
mxbtty has quit [Ping timeout: 260 seconds]
maxownz is now known as mxbtty
w400z has quit []
<jrajav> The "outer" scriptlet is this: result = eval(File.open("r_#{m.user.nick}.rb", "r") {|f| f.read}); puts "(#{result.class}) #{result}"
jgrevich has joined #ruby
<jrajav> Oh. I see. lol
<jrajav> Wait, how was I doing it before then....
<jrajav> I know I was using p..
<bradhe> Load order question: If I do $ irb; require 'irb' then the gem loads fine. If I try to require 'irb' via rake, it blows up because it can't find the gem. Why would this be...?? same enviro
<Spooner> bradhe : Using 1.8.7 and forgetting to require "rubygems"?
jonahR has joined #ruby
<jrajav> Mon_Ouie: So should I do p "(" + result.class + ") " + result ?
<bradhe> Spooner: Nope, I just figured it out actually. Renamed the relevant rake task from "irb" to "console" -- somehow the task name was colliding with the gem it would seem. #fml
<Spooner> jrajav : puts "(#{result.class}) #{result.inspect}"
grillo has quit [Ping timeout: 245 seconds]
<Spooner> puts "#{x}" is implicitly calling x.to_s
GoldenPie has quit [Quit: leaving]
katherinem13 has quit [Remote host closed the connection]
v0n has joined #ruby
mohits has quit [Ping timeout: 268 seconds]
IPGlider has joined #ruby
IPGlider has quit [Max SendQ exceeded]
katherinem13 has joined #ruby
<Spooner> I still don't think that the class is relevant though :D
grillo has joined #ruby
katherinem13__ has joined #ruby
IPGlider has joined #ruby
<jrajav> At the very least, it's an elegant way to distinguish it from stdout, though
<jrajav> See my >> puts 'Heya' above
al2o3cr has quit [Remote host closed the connection]
jjbohn|afk is now known as jjbohn
<Spooner> >> puts "(String) :frog"
<jrajav> Try it again :P
al2o3cr has joined #ruby
<jrajav> >> "foo"
<al2o3cr> (String) "foo"
jjbohn is now known as jjbohn|afk
<jrajav> >> 1 + 4
<al2o3cr> (Fixnum) 5
<jrajav> >> class SomeClass; end
<al2o3cr> (NilClass) nil
<jrajav> Huh.
strnx has quit [Ping timeout: 244 seconds]
bwlang has joined #ruby
tcdent has joined #ruby
qwerxy has quit [Ping timeout: 246 seconds]
ChampS666 has joined #ruby
bbttxu has quit [Ping timeout: 245 seconds]
katherinem13 has quit [Ping timeout: 240 seconds]
katherinem13__ is now known as katherinem13
incade has joined #ruby
<otters> >> class << self; self; end
<al2o3cr> (Class) #<Class:#<Object:0x0000000100c7c8>>
Clooth has joined #ruby
mspo has joined #ruby
spg has joined #ruby
<spg> hi
<spg> :)
dpk has joined #ruby
Requiredev has quit [Ping timeout: 276 seconds]
incade is now known as Requiredev
chichou_ has quit [Remote host closed the connection]
<mspo> I'm running into a problem with rack/passenger where it attempts to url decode cookie values and chokes
<mspo> anyone know about this?
pfaff has quit [Quit: Leaving]
<banisterfiend> bradhe: irb isnt a gem, it's in stdlib
excelsior has joined #ruby
pfaff has joined #ruby
<bradhe> banisterfiend: got it, thanks.
Abbas| has quit [Ping timeout: 265 seconds]
Hanmac has quit [Ping timeout: 248 seconds]
perlsyntax has quit [Quit: Leaving]
liluo has joined #ruby
<jrajav> Mon_Ouie: Do you have any idea how I would do that p eval($stdin.read) thing you were mentioning before? Right now I'm using popen3 to open the script; that doesn't have any option to pass things in through stdin, as far as I can see
<jrajav> Mon_Ouie: But if I use pipeline_rw in the same module, then I can only get the resulting stdout, not stderr. Not that big of a loss; but we found out with the last bot that it can be useful to see the error message sometimes. For instance, to see if something is actually breaking or if it's just a syntax error
<bradhe> Wow, there's something to loading an IRB environment that I don't understand. https://gist.github.com/fbc5460319e409efa084
<bradhe> Note the stacktrace in output.txt is calling out line 8 in my rake task: IRB.start
<bradhe> So, why oh why would IRB.start be trying to load a file called "hello", which is the same name as the rake task that is invoking it?
khakimov has joined #ruby
mohits has joined #ruby
bbttxu has joined #ruby
<bradhe> Note that the file it tries to load ALWAYS corresponds to the rake task name.
davidcelis has quit [Ping timeout: 252 seconds]
liluo has quit [Remote host closed the connection]
schaerli has joined #ruby
davidcelis has joined #ruby
sendoushi has joined #ruby
paigeat is now known as erratic
<bradhe> Ah! Apparently IRB is looking at ARGV for what to invoke. How cute.
Hanmac has joined #ruby
krz has joined #ruby
jjbohn|afk is now known as jjbohn
tastycakeman1 has quit [Ping timeout: 252 seconds]
kennyvb has joined #ruby
havenn has quit [Remote host closed the connection]
<Spooner> bradhe : Why not use pry rather than irb?
specialGuest has quit [Remote host closed the connection]
scriabin has quit [Remote host closed the connection]
<bradhe> Spooner: I want to have the smallest dependency graph I can.
Abbas5 has joined #ruby
Abbas5 is now known as Abbas-
Abbas- has quit [Changing host]
Abbas- has joined #ruby
Abbas- is now known as Abbas5
mspo has left #ruby [#ruby]
theRoUS has quit [Ping timeout: 240 seconds]
kvirani has quit [Remote host closed the connection]
alindeman has quit [Read error: Connection reset by peer]
bluenemo has quit [Remote host closed the connection]
Lachryma has quit [Quit: Leaving]
bluenemo_ has quit [Remote host closed the connection]
kaktus has left #ruby [#ruby]
flip_digits has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
excelsior has quit [Ping timeout: 276 seconds]
Gab0 has joined #ruby
mike4_ has joined #ruby
spg has left #ruby [#ruby]
<Spooner> bradhe : Everyone wants that, but that is no real reason to dismiss stuff. Plenty of more sensible reasons to not want pry though :P (takes a long time to load; none of its extra features are relevant to my use-case; etc.).
jrist is now known as jrist-mtg
alindeman has joined #ruby
Araxia has quit [Read error: Connection reset by peer]
Abbas5 is now known as Abbas|
spg has joined #ruby
spg has left #ruby [#ruby]
darren has quit [Remote host closed the connection]
dross_ is now known as dross
strnx has joined #ruby
bluOxigen has joined #ruby
Araxia has joined #ruby
_jorge has joined #ruby
kirun has joined #ruby
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
axl_ has quit [Read error: Connection reset by peer]
Markvilla has quit [Ping timeout: 244 seconds]
axl_ has joined #ruby
spg has joined #ruby
Markvilla has joined #ruby
Markvilla has quit [Client Quit]
tewecske has joined #ruby
tewecske has quit [Max SendQ exceeded]
chichou has joined #ruby
TPFC-SYSTEM has quit [Quit: TPFC-SYSTEM]
duper has joined #ruby
spg has left #ruby [#ruby]
dpk has quit [Quit: Asleep at the keyboard.]
levity_island has joined #ruby
levity_island has quit [Client Quit]
levity_island has joined #ruby
cearls has quit [Quit: cearls]
wangr has quit [Ping timeout: 252 seconds]
Clooth is now known as Clooth[afk]
Clooth[afk] is now known as Clooth
kidoz has quit [Quit: Ухожу я от вас]
bricker88 has joined #ruby
<bricker88> There is no difference between "123".match(/1/), and /1/.match("123"), right? Is one of them "better" for any reason?
<Hanmac> bricker88 both methods return ecaxly the same
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
Russell^^ has joined #ruby
stephenjudkins has joined #ruby
<Beoran__> bricker88, if you youse variables, I guess a.match(/1/) looks better, but that's subjective.
eignerchris has quit [Ping timeout: 248 seconds]
<bricker88> Beoran__: It seems to be more readable to use the string first
<jrajav> For what it's worth, most languages act like you're executing a regex on a string
yekta has joined #ruby
<jrajav> Erm.
<jrajav> I mean, executing a regex, like, with a string as the parameter
<jrajav> So /1/.match("123") makes more intuitive sense to me
yoklov has joined #ruby
<Beoran__> jrajav, I'd say, use whatever,, just do t consistently in all your programs :)
<jrajav> Well that's no fun ;D
<jrajav> Variety is the spice of life!
gilead has quit [Quit: This computer has gone to sleep]
ianbrandt has joined #ruby
Russell^^ has left #ruby [#ruby]
scriabin has joined #ruby
specialGuest has joined #ruby
mxbtty has quit [Read error: Connection reset by peer]
<Spooner> Why not just use this and be damned: [/1/, "123"].shuffle.tap {|a, b| a.match b }
yoklov has quit [Client Quit]
mxbtty has joined #ruby
<GeekOnCoffee> yup, that's clearly more obvious
erichmenge has quit [Quit: Be back later]
v0n has quit [Ping timeout: 246 seconds]
<Spooner> Sadly, it doesn't work, or I'd be pasting that into my code, GeekOnCoffee.
demian`_ has quit [Quit: demian`_]
<Spooner> >> [[/1/, "123"].shuffle].map {|a, b| a.match b }.first
<al2o3cr> (MatchData) #<MatchData "1">
manizzle has quit [Read error: Connection reset by peer]
Goles has quit [Quit: Computer has gone to sleep.]
grulf has joined #ruby
ddouglas has joined #ruby
ryanf has joined #ruby
yoklov has joined #ruby
<ddouglas> hey guys, I need a term for a text-editor/IDE feature: what is that thing that puts the brackets around your code to show nesting and generally tell you that you've added the correct amount of "ends" to not get a syntax error?
<ddouglas> and does it exist on gedit?
<shevy> I think I know what you mean
<shevy> I call it ... closing-bracket-highlighter
<shevy> :D
<ddouglas> does it exist on gedit in some form?
<ddouglas> as a plugin or something?
<banisterfiend> ddouglas: switch to a real editor, almost anything is better than gedit ;)
<ddouglas> I like how small it is
rubious has quit [Quit: Linkinus - http://linkinus.com]
<ddouglas> It's like 1000 times better than notepad
<shevy> not sure
<shevy> I dont use gedit. in vim, it exists
foEs has joined #ruby
<banisterfiend> ddouglas: haha, notepad isn't even in the comparison
<shevy> I use either bluefish or sublime these days
<shevy> or geany
<banisterfiend> notepad isnt' a code editor
<shevy> but right now, still bluefish... I like the default colours in version 1.x
<shevy> they changed so many things in version 2.x, I dont like it anymore :(
<ddouglas> is it relatively easy to install on linux?
<shevy> bluefish?
<ddouglas> I have yet to be able to successfully install Komodo Edit on linux
<ddouglas> yeah
yoklov has quit [Ping timeout: 268 seconds]
<shevy> I do "compile bluefish" and there I go :D
foEs has quit [Max SendQ exceeded]
yoklov has joined #ruby
spg has joined #ruby
<ddouglas> k I'll take a look at bluefish
<ddouglas> thanks
<shevy> if you are on debian, apt-get install bluefish ... or something like that. that should install the binaries
abstrusenick has quit [Quit: abstrusenick]
<shevy> default geany looks awful... but there are "geany-plugins", which gives you cool themes
<ddouglas> k I'll look at them both thanks
<shevy> one looks like TextMate
foEs has joined #ruby
<spg> provide the links for geany themes
v0n has joined #ruby
<spg> got this for ROR
<ddouglas> bluefish looks great and super easy to install!
<shevy> ddouglas, this is how it looks for me http://i45.tinypic.com/2yws5y9.png
<shevy> it misses a few things I'd like to have though
<shevy> sublime may look better for you
<shevy> geany also has a few nice things, like a terminal and so on
<shevy> if I'd start from zero today, I'd pick up sublimetext... but I used bluefish first, and it kinda stuck to my brain. I am lazy to change
<shevy> ddouglas I used gedit last about 5 years ago too, it was not very good back then. I tried it ~2 years ago or so, it improved quite nicely, but I still found it got into my way too often
kpshek has quit []
asteve has joined #ruby
scriabin has quit [Remote host closed the connection]
wangr has joined #ruby
codeFiend has quit [Ping timeout: 246 seconds]
aeontech has joined #ruby
<shevy> man
<shevy> so many on #debian
jankly has quit [Read error: Connection reset by peer]
iamjarvo has quit [Read error: Connection reset by peer]
jankly has joined #ruby
<Hanmac> and shevy is anyone helping you there?
mxbtty has quit [Read error: Connection reset by peer]
tastycakeman has joined #ruby
mxbtty has joined #ruby
mxbtty is now known as Guest10915
Guest74974 has quit [Quit: Guest74974]
<shevy> Hanmac nah
<shevy> data.tar.gz vs. data.tar.xz
elhu has quit [Quit: Computer has gone to sleep.]
<Hanmac> xz is cool :P
<shevy> I suppose the answer to my question would be "use only .tar.gz for data and nothing else"
manizzle has joined #ruby
<shevy> yeah
<shevy> less space needed for my backups
<shevy> glib-2.33.3.tar.xz 6.0M
<shevy> glib-2.29.14.tar.bz2 7.1M
kpshek has joined #ruby
cbuxton has joined #ruby
tommyvyo has quit [Read error: Connection reset by peer]
scriabin has joined #ruby
tommyvyo_ has joined #ruby
_jorge has quit [Remote host closed the connection]
kyb3r has joined #ruby
specialGuest has quit [Remote host closed the connection]
x77686d has quit [Ping timeout: 244 seconds]
<ddouglas> When trying to install geany, getting this: configure: error: Package requirements (gtk+-2.0 >= 2.16 glib-2.0 >= 2.20 gio-2.0 >= 2.20 gmodule-2.0) were not met:
<ddouglas> No package 'gtk+-2.0' found
<ddouglas> No package 'glib-2.0' found
<ddouglas> No package 'gio-2.0' found
<ddouglas> No package 'gmodule-2.0' found
dekroning has joined #ruby
<dekroning> hi all
t_j has joined #ruby
johnlcox has quit [Quit: Computer has gone to sleep.]
<t_j> having some threading issues, getting errors about being unable to launch threads
<ddouglas> ahh installing from apt`-get now
specialGuest has joined #ruby
<t_j> any ideas where to look or how to debug?
jrist-mtg is now known as jrist
aezop has quit [Remote host closed the connection]
kpshek has quit [Client Quit]
johnlcox has joined #ruby
ddouglas has quit [Quit: Ex-Chat]
spg has left #ruby [#ruby]
pu22l3r has quit [Read error: Connection reset by peer]
pu22l3r has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
Beoran__ has quit [Ping timeout: 246 seconds]
luther07 has joined #ruby
<maletor> As long as I put magic encoding comments on line 1 I can do this in 1.9 right? title.gsub('—', '-')
<otters> substitute - for -?
Clooth is now known as Clooth[afk]
<otters> you don't need encoding comments for that
yoklov has quit [Quit: computer sleeping]
monkegjinni has joined #ruby
<maletor> maybe irc didn't come thorugh, but the first one is a looooooong dash
<otters> well, I am using a monospace font
jrajav has quit [Quit: The best darkness is strange and surprising]
Clooth[afk] is now known as Clooth
<Hanmac> compare "-" "–" "—"
<maletor> Em-dash
<Hanmac> an maletor, yeah when you add the encoding comment you could do it
<shevy> Hanmac I am writing a small script that creates debian files
<maletor> great.
<Hanmac> shevy you mean the deb packages?
elhu has joined #ruby
IPGlider has quit []
x77686d has joined #ruby
<shevy> Hanmac yeah
gmci has joined #ruby
x77686d has quit [Client Quit]
<shevy> I once wanted to do this years ago. Wrote a "module Packages", so I could create packages for different distributions
<Hanmac> shevy why do you want to do that? :P
<graspee> oh look
<shevy> Hanmac I wanted to have a ruby package manager once, and while doing it, I also thought I want to generate packages for all distributions
<graspee> what i found in borderlands
chrisja has quit [Quit: leaving]
<graspee> PANGOLIN SHEELD!
<shevy> this game should be written in ruby
<Hanmac> shevy maybe gem2deb is interesting for you
<otters> for performance reasons
<shevy> otters!
<otters> hi
<eam> shevy: similar to multipkg or fpm?
<shevy> I dunno, if it runs at an acceptable speed it should be fine
<shevy> eam hmm dont know these two. going to check them out
Speed has left #ruby ["Leaving channel."]
<graspee> oops wrong channel sorry
sepp2k has quit [Remote host closed the connection]
fbernier has quit [Ping timeout: 276 seconds]
<shevy> perl -I ./source/lib root/usr/bin/multipkg -t .
<shevy> ack perl
<eam> don't "ack perl" me, it's a great language :p
<shevy> https://github.com/sverma/multipkg hmm looks better
<shevy> /usr/local/bin/multipkg ( Ruby Script )
<shevy> cool
<shevy> going to try this
<eam> that one doesn't look too useful
<eam> I was referring to ytoolshed/multipkg
darren has joined #ruby
<eam> I think fpm is ruby, if you care
Beoran__ has joined #ruby
<shevy> ok
<shevy> sounds like "frames per minute" :D
<eam> f'in package management
<shevy> lol
kuzushi has quit [Remote host closed the connection]
Guest10915 is now known as maxownz
maxownz is now known as mxbtt
jonahR has quit [Quit: jonahR]
naz has quit [Read error: Connection reset by peer]
specialGuest has quit [Remote host closed the connection]
tcdent has quit [Remote host closed the connection]
scriabin has quit [Remote host closed the connection]
virunga has joined #ruby
enroxorz has quit [Quit: Ex-Chat]
fantazo has joined #ruby
sneakyness_wk has joined #ruby
benson has left #ruby ["Leaving"]
walbert has joined #ruby
_jorge has joined #ruby
JStoker has quit [Excess Flood]
bluOxigen has quit [Ping timeout: 260 seconds]
bluOxigen has joined #ruby
erichmenge has joined #ruby
walbert has quit [Remote host closed the connection]
conor_ireland has joined #ruby
bluenemo has joined #ruby
arturaz has joined #ruby
otters has quit [Ping timeout: 252 seconds]
Criztian has quit [Remote host closed the connection]
JStoker has joined #ruby
nanderoo has quit [Quit: Leaving.]
<ly_gs> hey guys
<ly_gs> how do i run a system command like
<ly_gs> ls -la
<ly_gs> and then pass it to a variable
<ly_gs> without printing it on the screen
Nisstyre has joined #ruby
<matti> ly_gs: %x{ ls -l }
BrokenCog has quit [Quit: leaving]
linoj has quit [Ping timeout: 244 seconds]
<matti> ly_gs: But there is better way to list content of a directory.
<ly_gs> how do i use %x with a combination of strings and variables?
lurch_ has joined #ruby
<ly_gs> like ls -la @directory
<ly_gs> where @directory is a variable
<ly_gs> it doesn't seem to work
<shevy> ly_gs try:
_jorge has quit [Ping timeout: 248 seconds]
<shevy> result = `ls -l #{@directory}`; require 'pp'; pp result
<shevy> ack
<shevy> result = `ls -la #{@directory}`
akem has joined #ruby
<shevy> I usually build the command before though
<matti> shevy: FFS, don't show peope ``.
<matti> shevy: Its ugly as hell.
<matti> :<
<shevy> how else to get return result
theRoUS has quit [Ping timeout: 245 seconds]
<eam> %x
<shevy> hmm
jgrevich has quit [Read error: Connection reset by peer]
<shevy> is one an alias to the other one?
chrisbolton has joined #ruby
<ly_gs> this is weird
jgrevich has joined #ruby
Eldariof59-ru has quit []
<ly_gs> %x outputs the result too
<eam> why is that weird?
<ly_gs> i guess i'll just rewrite my shell scripts to ruby
<ly_gs> because i don't ask it to
<matti> ly_gs: LOL
<ly_gs> i want to store the result in a variable
<eam> ly_gs: does your command print to stdout, or stderr?
<eam> try adding a 2>&1 on the end
poga has joined #ruby
<eam> backtick operators only capture stdout
burgestrand has joined #ruby
blacktulip has quit [Remote host closed the connection]
<eam> it's a shame %x isn't more flexible
speciaLG_ has joined #ruby
<eam> or runtime-mutable
bluOxigen has quit [Ping timeout: 252 seconds]
<shevy> ly_gs hmm can you not assign to %x ?
<ly_gs> hold on
<ly_gs> i'll try some things
w400z has joined #ruby
<sneakyness_wk> hey guys, where would you suggest I go to read about using rakefiles? seems like a less gross way to deal with make
<shevy> result = %x( ls )
<shevy> ly_gs but yeah, I write only ruby scripts these days. I have not found a real advantage shell scripts have over ruby
Majost has quit [Remote host closed the connection]
<ly_gs> i was just in lazy mode :p
<shevy> hehe
<ly_gs> it's a curl command so it should be pretty easy to port to ruby
<shevy> I hate shell syntax
<shevy> "mplayer" is an alias to a ruby script that runs mplayer with different options on my system
<shevy> and "rvid" plays a random video for me
<ly_gs> hehe :) nice
<shevy> "rvid simpsons" plays all simpson files it can find etc...
<shevy> I wouldnt know how to write this cleanly in shell scripts
<Spooner> sneakyness_wk : Not sure where to stand. It is a lot more than just a replacemetn for Make though.
<shevy> and at least in theory, with ruby I could always try to use a GUI too lateron. like ruby-gnoem
<Spooner> sneakyness_wk : *where to start
<sneakyness_wk> Spooner: that's all I really need it for, though
<ly_gs> here's the core
<sneakyness_wk> all I'm really trying to find is one or two solid rakefile examples
<ly_gs> code*
<sneakyness_wk> for building c stuff
<ly_gs> as you can see i used system which is wrong
<Spooner> sneakyness_wk : We all need everything Rake does. We just don't know it yet, because we had to live with the rather limiting make :D
<sneakyness_wk> Spooner: well I'm glad you seem to be echoing the bullshit I've found on google
kvirani has joined #ruby
<sneakyness_wk> yet to find any decent examples
<sneakyness_wk> :make_coffee is a stupid example btw
<Spooner> make coffee?
mxbtt has quit [Quit: mxbtt]
<sneakyness_wk> first result for "using rake" on teh googles
tatsuya_o has joined #ruby
dtribble has joined #ruby
<shevy> lol
<Spooner> Oh, I see. Well, it does introduce the idea of dependencies. I have to admit I've used Rake a fair bit, but I've never used it to build C stuff.
jonathanwallace has joined #ruby
<shevy> I never found my way into rake
<eam> my understanding is that rake offers nothing compelling
schaerli has quit [Remote host closed the connection]
<eam> it's just another NIH component
<shevy> yeah, that was my impression quite a bit too, strangely. but everyone else seems to love it
lurch_ has left #ruby [#ruby]
<shevy> but for me, I just write methods, put them into different .rb files, and then call them via aliases from the shell
jonathanwallace has quit [Remote host closed the connection]
<sneakyness_wk> yeah I'm trying to get through all the hype
<sneakyness_wk> not seeing what's so special
<Mon_Ouie> rule("*.o" => ["*.c"]) { |t| sh "gcc #{t.source} -o #{t.name}" }
<shevy> I think it was perhaps meant as a replacement to Makefile syntax
pu22l3r has quit [Ping timeout: 246 seconds]
hadees has joined #ruby
jonathanwallace has joined #ruby
<eam> Mon_Ouie: yeah see, that's nonsense as far as I'm concerned
<shevy> so perhaps it's better there... I don't know. I'd never write a Makefil by hand, I'd rather write ruby scripts to generate them for me
sendoushi has quit [Remote host closed the connection]
<eam> there are a number of ways to improve what make does, but I don't see any of them incorporated in rake
<Spooner> Makefiles aren't dynamic. That is the big difference.
<eam> it ends up being just another way to fracture build systems
<eam> Spooner: sure they are
meoblast001 has joined #ruby
Requiredev has quit [Read error: Connection reset by peer]
geekbri has quit [Ping timeout: 276 seconds]
<banisterfiend> eam: because with rake you can stick to the Makefile-esque DSL, or you can drop down to ruby to do especially tricky stuff. The point is, you have a powerful, full programming language at your disposal whenever you need it
<Spooner> eam You can put arbitrary code in a makefile? I'm not talking about just globbing paths and such (been a decade since I used makefiles though).
<sneakyness_wk> pretty sure with the power of shell scripting you can do just about anything
verbad has joined #ruby
<banisterfiend> eam: or if you dont need it, you can just stick to the DSL, which is clean and distinctive enough to nicely fulfill the typical Makefile use case
<sneakyness_wk> I guess I'm just not seeing what ruby has to offer in this situation
asteve has quit []
codeFiend has joined #ruby
<eam> banisterfiend: to me that's not a good thing -- I would prefer to generate the dependency structure into as much of a static format as possible
bluOxigen has joined #ruby
<Spooner> shell scripts are terrible compared to Ruby (or Python or Lua).
<eam> now, if someone replaced make with a structured yaml format ...
<banisterfiend> eam: it's up to you what features you want to use, you can stick to the simple declarative DSL, or if you want (but only if you want) you could branch out to other stuff. Further the typical use case for Rake is not a Make replacment
<eam> but the point is, toolchains which generate arbitrarily complex make rules have been around for decades, and they're cross platform and all that great stuff
poc has joined #ruby
<banisterfiend> it's for automating general tasks for your ruby project
<Mon_Ouie> Well, writing a Ruby script that just uses system/fork/popen at every line instead of a shell script is ridiculous
aeontech has quit [Ping timeout: 246 seconds]
asteve has joined #ruby
<eam> Mon_Ouie: why?
<eam> it's not ridiculous at all -- writing typical "shell script" jobs in ruby/python/perl prevents common escaping and quoting errors
<Mon_Ouie> There's more noise with all the system calls than with a regular shell script
<banisterfiend> like running tests, pushing gems, build C extensions, running profilers, and so on
stephenjudkins has quit [Quit: stephenjudkins]
<eam> it's best practice
<eam> Mon_Ouie: no way
<eam> when you write "correct" shell with proper quoting it's just as or more noisy than ruby
<shevy> Mon_Ouie I tend to just use a method that sanitizes that
internet_user has quit [Remote host closed the connection]
<eam> eg every variable reference in ""
<Spooner> eam So has Ruby (been around for decades, if less decades, and cross-platform). C has been around for decades and works fine, but people still use Ruby and Java. Not sure you're getting anywhere with the "it works, so never improve it" argument.
<shevy> C never escaped the UNIX prison
<sneakyness_wk> sorry for coming in here and stirring you guys up :)
<eam> Spooner: there's a difference between "don't improve it" and "don't reimplement without reason"
<eam> improving make and other build systems would be great -- rake does not do that
bothra has quit [Ping timeout: 245 seconds]
<eam> it's just typical NIH syndrome
<shevy> why does make insist on tabs :(
<eam> shevy: yeah that's dumb
<banisterfiend> eam: do you see how Rake is primarily used?
<banisterfiend> eam: have oyu looked at a standard ruby project to see how it's actually used?
<shevy> well ok... as I don't plan to write Makefiles by hand, I don't mind either way, but this seems such a trivial thing, that could only have been carried along because they must have been anxious to change it, and thus break older Makefiles?
Squarepy has quit [Quit: Leaving]
<Spooner> banisterfiend : I think I get it. Rake used to do exactly the same thing that Make does, isn't actually better, which I can certainly see.
<eam> banisterfiend: yes, and I don't like it. I'm not a fan of mixing up code snippets with what should be structured relationships between build artifacts or deployment steps
[Neurotic] has joined #ruby
<eam> banisterfiend: I think many ruby folks may not have seen make used to drive similar processes
lorandi has quit [Quit: Leaving]
answer_42 has quit [Quit: WeeChat 0.3.8]
<Spooner> sneakyness_wk : Yeah, we never argued before about anything. You are a bad influence :D
<banisterfiend> eam: you should write a blog post on it and see what people say. But there is a simplicity to Rake, and its integration in the ruby ecosystem that makes it a natural tool for managing tasks related to ruby projects
<sneakyness_wk> Spooner: I know better than to think that ;D
sendoushi has joined #ruby
v0n has quit [Ping timeout: 246 seconds]
stkowski has joined #ruby
<eam> banisterfiend: I understand, and taken in isolation it's no big deal. But when every language attempts to re-invent the world it makes a big mess
adamkittelson has quit [Remote host closed the connection]
<eam> that's my major complaint
<eam> if all you do is ruby then great :)
<Spooner> It is hard to make a dynamic build tool that is language-agnostic. Make is agnostic because it is incredibly limited in what it attempts to do.
<banisterfiend> eam: every language has its own specific needs that aren't always met by a more general tool, look at rubygems vs debian packages for example
miho has quit [Ping timeout: 276 seconds]
<eam> banisterfiend: mmm see that's a bad example, I have the same opinion with respect to language specific packaging
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
<graft> hi ho, anyone know how to get file completion in irb?
sailias has quit [Ping timeout: 265 seconds]
s1n4 has quit [Quit: peace out]
<eam> Spooner: I'd suggest that the separation of concerns is valuable
<eam> most ruby projects are not terribly large (including ruby itself)
workmad3 has joined #ruby
<banisterfiend> eam: so youd' want us to spam debian packages with a tonne of ruby libraries? and what about all the other packaging systems, macports and brew ? And how do you ensure each packaging system has the same packages that are at the same version level?
<eam> so it's easy to gloss over the importance of build architecture
<eam> the concept of repositories solves the "spam" issue you raise. Macports, brew, and other re-hashes without good reason fall into the same category -- they could just as easily all use rpm, or deb
<eam> or some other universal format with a fully fleshed out packaging solution
<banisterfiend> eam: so you're talking "perfect world" :) We have to deal with the world as we find it
<banisterfiend> rubygems is realistic solution for a messy world
<eam> well, I'm talking about how I do things
<banisterfiend> well ify ou're just one person it's easy
<eam> and all I'm saying is I'm let down by the solutions others find :)
<banisterfiend> if you have to support a huge community of developers
Goles has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
<banisterfiend> it's a bit more difficult
<eam> banisterfiend: not one, ten thousand-ish
adamkittelson has joined #ruby
allyraza has quit [Ping timeout: 245 seconds]
<eam> I support a very large ecosystem
<eam> or did, when I did packaging
tastycakeman has quit [Ping timeout: 240 seconds]
<eam> millions of packages, many many thousands of developers
<eam> I understand the challenges
<eam> that's why I'm opinionated about build systems and packaging
arturaz has quit [Remote host closed the connection]
sgronblom has quit [Ping timeout: 276 seconds]
beneggett has joined #ruby
<banisterfiend> well, when you get every OS to use rpm as the default
<eam> I also worked with a large number of language platforms, and each one had an incomplete story when it came to build and package
<banisterfiend> i guess they'll consider retiring rubygems
<Spooner> sneakyness_wk : ah, an actual makefile->rakefile tutorial - http://onestepback.org/index.cgi/Tech/Rake/Tutorial/RakeTutorialIntroduction.rdoc (though, as I say, if you just want to do what makefiles do exactly, you don't really gain anything from using a wider-scoped tool)
<eam> it's trivial to build targeting all common packaging platforms, I linked a few tools for that above
carloslopes has quit [Quit: Leaving.]
stephenjudkins has joined #ruby
<eam> and it's hard to find a unix that rpm won't run on, btw :)
dekroning has quit [Quit: leaving]
<banisterfiend> eam: and windows? :)
<eam> I don't do windows :) but seriously, isn't windows a self-contained bundle environment?
<eam> for the most part?
yxhuvud has quit [Ping timeout: 244 seconds]
<banisterfiend> rubygems works tehre
<banisterfiend> gem install my_lib works fine on windows
<blazes816> windows should transition being a super-set of POSIX if it wants to live
mxbtty has joined #ruby
<eam> I'm not saying other systems haven't been shoe-horned onto it
<eam> I would suggest that might be a mistake
<eam> but windows isn't my specialty so I'll defer
ph^_ has quit [Remote host closed the connection]
<Spooner> blazes816 : Apple already went that way. MS can't follow the cool kids :D
<eam> NT has contained a POSIX subsystem since the 90s
<Spooner> Well, except for having an appstore in windows 8, but let's not go there.
cbuxton has quit [Quit: Leaving.]
<blazes816> Spooner: it certainly wouldn't jive with my MS investment plan
poga has quit [Remote host closed the connection]
cbuxton has joined #ruby
Guest___ has joined #ruby
<blazes816> eam: minus trivial things like threads, sockets, etc
<blazes816> v2
naz has joined #ruby
<blazes816> Spooner: the cool kids definitely aren't turning their dev machines into tablets, that's for sure
<blazes816> so in that respect they're dead on with 8
phinfonet has joined #ruby
<poc> any good guidance /exit
poc has quit [Quit: leaving]
<eam> blazes816: pretty sure you can get sockets from cygwin, but it's been a long time since I looked
R40UL has joined #ruby