apeiros changed the topic of #ruby to: Ruby 2.1.0-p0; 2.0.0-p353; 1.9.3-p484: http://ruby-lang.org|| Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
monkegjinni has quit [Remote host closed the connection]
burlyscudd has quit [Quit: Leaving.]
<cong> open classing sounds better than monkey patching
<abstr4ct> hahaha
<cong> it's more clear
<abstr4ct> i like monkey patching
<abstr4ct> lol
<pontiki> yeah, but monkey patching also gives it the negative connotation it probably deserves except for very explicit and useful cases
ryanf has joined #ruby
<pontiki> it can be overused, leads to confusion, and can cause huge downstream maintenance issues
kayloos has quit [Ping timeout: 248 seconds]
<pontiki> part of the "Ruby metaprogramming is really cool, but also dangerous"
<abstr4ct> so then what is a example of how to use it once the patch has been created
choobie has joined #ruby
<pontiki> that long confabulation up there, blahblah.innerhtml.my_method could give you all those gsubs
<abstr4ct> hrm
<pontiki> think about giving it a good name
<abstr4ct> scrubbingbubbles
<abstr4ct> ?
<abstr4ct> :P
<pontiki> name collision can be a big problem with monkey patching
<abstr4ct> yeah, i could see that
txdv has quit [Read error: Connection reset by peer]
<abstr4ct> thankfully this is amature "for fun" stuff
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
<pontiki> then do it
<abstr4ct> so no code base being polluted
<pontiki> and see what you can break :)
<abstr4ct> oh i am already try it.. hehe
jkhwan has quit [Ping timeout: 272 seconds]
txdv has joined #ruby
<abstr4ct> well f me, it works great
Asher has quit [Read error: Connection timed out]
<abstr4ct> i feel strangly empowerd and dirty at the same time... i need a beer
<abstr4ct> empowered...
jenskarlsen has quit [Read error: Connection reset by peer]
jenskarlsen has joined #ruby
jerius has joined #ruby
jenskarlsen has left #ruby [#ruby]
<abstr4ct> may i ask a dumb question? Why couldnt i have just created a Def function on my own without messing with the class string
Rylee has quit [Ping timeout: 248 seconds]
ambushsabre has quit [Quit: rip]
pierre1 has quit [Quit: Leaving]
<shevy> wait
<shevy> first you define methods
maletor has quit [Quit: Computer has gone to sleep.]
<shevy> second you can define a method outside a class
Kabaka has quit [Ping timeout: 248 seconds]
<shevy> but it will become some hidden method on class Object I believe
Asher has joined #ruby
sambao21 has joined #ruby
<shevy> most of the time the two main reasons for defining a method I can see are (a) reusability (b) breaking code base into logical, functional components
croaky has joined #ruby
<abstr4ct> gotcha...
choobie has quit [Quit: choobie]
burlyscudd has joined #ruby
<abstr4ct> so why couldnt i have defined a method without messing with the string class
<toastynerd> you for sure could, and it's probably the better option. In fact, you could create your own class and add a to_str method and it will work just like a regular string
horofox_ has joined #ruby
<abstr4ct> what did you mean by "add a to_str method"
sambao21 has quit [Ping timeout: 245 seconds]
<toastynerd> def to_str; @my_string; end
<pontiki> abstr4ct: you most certainly could have done that
<abstr4ct> hrm
<shevy> abstr4ct there is more than one way to do it in ruby man :)
aspires has joined #ruby
<toastynerd> it lets you use implicit conversions to string such as prints "MyClass: " + MyClass
Megtastique has joined #ruby
<pontiki> since you were working with strings from innerhtml repeatedly, which is a string type, i figured munging a string over and over again would be served by a monkeypatch
<toastynerd> monkey patching a core class is a really bad idea
<pontiki> if you just define your own method, you end up with an imperative call, rather than a method call, on the string
<abstr4ct> hehe
<pontiki> which is okay
<shevy> yeah
xpirator has joined #ruby
<shevy> abstr4ct, "foo".bla is nicer than bla(foo)
<abstr4ct> and i use it with .to_str
<pontiki> if you create your own type, then you have to get the innerhtml into that type
<shevy> in python you dont have much choice, in ruby you have
<pontiki> which might be preferrable in many cases
<abstr4ct> yeah, trying to obsorb this, but still not able to make the second way work...
<abstr4ct> absorb
<shevy> what is the second way
<pontiki> see, there are *lots* of ways
<toastynerd> yeah, to_str or to_s, to_s you have to explicitly call to_str you can use it like a string class
<abstr4ct> the make my own class and use "to_str"
<abstr4ct> so i have
<shevy> class Abstr4ct; def to_str # here return what you want
<abstr4ct> class Scrubbing; def to_str; @self.gsub("\u00BD", "&frac12;").gsub("\u00E9", "&eacute;").gsub......
<shevy> what is @self
pushpak has quit [Quit: Linkinus - http://linkinus.com]
<shevy> does that even work, let me try :)
<abstr4ct> no
<abstr4ct> it doesnt i dont think
aryaching has quit []
<toastynerd> I don't think @self does but self should
<abstr4ct> i was going off from this <toastynerd> def to_str; @my_string; end
<pontiki> ack ack, not @self, just self
<shevy> hah it works
<shevy> we can use ivars called @self
<shevy> I shall do this to cause extra confusion henceforthwith!
jmo has joined #ruby
<pontiki> right, and they you do my_str = Scrubbing.new(blahblahblah.innerhtml).to_s
<abstr4ct> then i have ... oc.search(venue_day).inner_text.to_str
<pontiki> or whatever
<abstr4ct> doh
<abstr4ct> i see
<pontiki> right, so, ... Scrubbing.new(oc.search(venue_day).inner_text).to_str
<toastynerd> to_str is implicit if you want to call it use to_s
<pontiki> or if you just call.. that^
<toastynerd> so you could just use Scrubbing.new(oc.search(venue_day).innter_text) if you have to_str defined
<toastynerd> or you could define to_s and use Srubbing.new(oc.search(venue_day).inner_text).to_s
LinearInterpol has quit [Read error: Connection reset by peer]
croaky has quit [Ping timeout: 264 seconds]
Rylee has joined #ruby
LinearInterpol has joined #ruby
<pontiki> since your own method would be derived from the String class, you should implement .to_str
Cenx36 has joined #ruby
pyx has joined #ruby
<Cenx36> hello
guardianx has joined #ruby
lioninawhat has quit [Remote host closed the connection]
<shevy> hey Cenx
pyx has quit [Client Quit]
<Cenx36> hello shevy, I have a quick Rails question
<abstr4ct> thanks for the help/information guys
<abstr4ct> i see i have tons to learn
<pontiki> sure thing!
<pontiki> well, it's fun, right?
havenwood has joined #ruby
Cephalostrum has quit [Quit: Textual IRC Client: www.textualapp.com]
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cephalostrum has joined #ruby
zz_karupanerura is now known as karupanerura
<abstr4ct> yes it is...
<abstr4ct> thats really what i am doing some small silly project to give me focus while i play with ruby
yasushi has joined #ruby
tkuchiki has joined #ruby
gverri has joined #ruby
speakingcode has joined #ruby
ambushsabre has joined #ruby
Jetchisel has joined #ruby
<pontiki> cool
meatherly has joined #ruby
tectonic has joined #ruby
<shevy> Cenx36 the rails guys are on #RubyOnRails
<Cenx36> ok, thanks
yasushi has quit [Ping timeout: 260 seconds]
Cenx36 has left #ruby [#ruby]
IcyDragon has joined #ruby
Naoe-Kanno has quit [Quit: ネウロイを負かさなきゃならないね]
petey has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 276 seconds]
petey has joined #ruby
<cong> setting STDOUT.binmode works both ways, so strange. not only can i print "Content-Type: text/plain\n\n" also print "Content-Type: text/plain\r\n\r\n". i think maybe the webserver is converted \n to \r\n.
jmeeuwen has joined #ruby
aspires has quit []
meatherly has quit [Remote host closed the connection]
meatherly has joined #ruby
petey has quit [Ping timeout: 260 seconds]
Guest53562 has quit [Quit: Don't flap your BGP at me sonny]
burlyscudd has quit [Quit: Leaving.]
Olipro has joined #ruby
<pontiki> some web servers do that
meatherly has quit [Remote host closed the connection]
<pontiki> also, some browsers don't care
meatherly has joined #ruby
<pontiki> while \r\n is the standard, most are p. happy to take \n
sambao21 has joined #ruby
hiall has quit [Quit: hiall]
predator217 has quit [Ping timeout: 246 seconds]
MatthewsFace has quit [Quit: This computer has gone to sleep]
fractastical has quit [Quit: fractastical]
ando has joined #ruby
predator117 has joined #ruby
yasushi has joined #ruby
vlad_starkov has joined #ruby
croaky has joined #ruby
skulker has joined #ruby
toastynerd has quit [Remote host closed the connection]
hiall has joined #ruby
meatherly has quit [Ping timeout: 265 seconds]
sambao21 has quit [Ping timeout: 276 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
ahawkins_ has joined #ruby
jmo has quit [Quit: Lost terminal]
colonolGron has quit [Quit: leaving]
fschuindt has joined #ruby
fschuindt has quit [Client Quit]
baroquebobcat has quit [Quit: baroquebobcat]
blarghmatey_ has joined #ruby
ahawkins_ has quit [Ping timeout: 245 seconds]
_HolyCow1 has quit [Quit: Leaving.]
jkhwan has joined #ruby
tedstriker has joined #ruby
butblack has quit [Quit: butblack]
petey has joined #ruby
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robustus has quit [Ping timeout: 252 seconds]
robustus has joined #ruby
ahawkins has quit [Quit: leaving]
yasushi has quit [Remote host closed the connection]
croaky has quit [Ping timeout: 246 seconds]
apeiros has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
phipes has joined #ruby
ando has quit [Ping timeout: 260 seconds]
<Deele> hello
<Deele> could you explain one thing
<Deele> when I have definition
<Deele> def test
<Deele> puts 'test'
<Deele> end
<Deele> and I create new one with
<Deele> def save(test)
<Deele> test
<Deele> end
<Deele> what will I call there? how do I make sure, my new local variable does not overwrite previously defined function
switchspan has joined #ruby
meatherly has joined #ruby
<rdevilla> hello, why is it suggested on http://ruby.railstutorial.org/chapters/modeling-users#top that one should roll their own authentication?
<rdevilla> would it not be better to use something that has been audited and is "known" to be secure?
wald0 has quit [Quit: Lost terminal]
<cong> deele, put it all in one function http://cxg.de/_8abfb8.htm
aspires has joined #ruby
skulker has quit [Remote host closed the connection]
soba has joined #ruby
switchspan has quit [Client Quit]
<cong> you can call it with or without an argument
<cong> test || test "arg"
Notte has joined #ruby
<havenwood> Deele: Also in actual code outside top level you don't have local variables colliding with arguments because you use instance variables.
<Deele> cong, the question was more about - ruby allows to call functions without braces that means, test could be call to function or variable definition
<havenwood> rdevilla: I think it depends on how simple of an auth you want and how much you understand as to whether it's wise to roll your own.
skulker has joined #ruby
dapz has joined #ruby
Brolen has joined #ruby
Kabaka has joined #ruby
skulker has quit [Client Quit]
meatherly has quit [Ping timeout: 265 seconds]
<cong> deele, oh. i skipped that class.
<havenwood> Deele: The argument will always overwrite, local vars overwrite other local vars - but it is a scoping problem solved by using classes and modules.
vlad_starkov has joined #ruby
<Deele> havenwood, ok, within a class, if I call just "test", it will call "test" instance method, yes?
gverri has joined #ruby
tectonic has quit []
<havenwood> Deele: well.. don't name your argument after a method you'll be calling
<Deele> ok :)
<Deele> I'm coming from PHP, that is why $variable $this->variable and self::variable I understand better than plain and simple way, like it is in ruby
vlad_starkov has quit [Read error: Connection reset by peer]
<purpleidea> i'm running `cd foo && make && cd foo` in a ruby file. how can i silence the make output noise?
<purpleidea> (that i see on stdout)
meatherly has joined #ruby
geggam has quit [Ping timeout: 246 seconds]
geggam has joined #ruby
<pontiki> make > /dev/null works
apeiros_ has quit [Remote host closed the connection]
<pontiki> is there really a foo directory under your foo directory?
apeiros has joined #ruby
tectonic has joined #ruby
LulzonAway is now known as Lulzon
hexus0 has joined #ruby
meatherly has quit [Ping timeout: 246 seconds]
w4pm has joined #ruby
joast has quit [Quit: Leaving.]
Zhwazi- is now known as Zhwazi
Zhwazi has quit [Changing host]
Zhwazi has joined #ruby
aspires has quit []
<shevy> detective pontiki wants to know it all
<pontiki> i do!
<shevy> Deele did php condition you to prefer complicated syntax? :)
<pontiki> i suppose you are all wondering why i've gathered you here this evening
<shevy> because if so, let's discuss namespaces in php!
<pontiki> one of you is the murderer!
<Deele> I have not yet understood namespaces in php...
<pontiki> nor i
<shevy> namespace foo; class Cat {
apeiros has quit [Ping timeout: 260 seconds]
<shevy> use foo as feline;
<shevy> echo \feline\Cat::says(), "<br />\n";
<shevy> AWESOME
<shevy> the cat says something here
<shevy> and we even redeclared the namespace!
aspires has joined #ruby
<shevy> now if that isn't a killer feature I don't know what else is
<shevy> ruby does not have real namespaces :(
<shevy> you could use both module Foo; class Cat ... or class Foo; class Cat
<shevy> I'm gonna suggest to use the awesome \ for namespaces in ruby
<shevy> brb
pskosinski_ is now known as pskosinski
w4pm has quit [Ping timeout: 248 seconds]
kellsn_ has joined #ruby
tectonic has quit []
Fabrizio has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 276 seconds]
<Deele> how do I make sure I access class instance method, instead of global method?
<pontiki> wat?
joast has joined #ruby
<Deele> I just want to make sure
<pontiki> i don't even understand the question
<pontiki> what class?
<Deele> I'm trying to understand class structure in ruby
<Deele> and before, I used $this->test() to access instance method
IceDragon_ has joined #ruby
<pontiki> wattt????
<Deele> in PHP
<pontiki> that's not ruby syntax
<Deele> but now, I need to use "test()" or even "test"
<Deele> and that confuses me
<pontiki> methods are called on objects using dot notation
dh64 has joined #ruby
<Deele> that is, when I want to call instance method from within another instance method
<pontiki> class MyClass; def method1; "hi there"; end; end
mehlah has quit [Ping timeout: 252 seconds]
<pontiki> my_var = MyClass.new
<pontiki> my_var.method1
<Deele> yes
<pontiki> yeilds "hi there"
<pontiki> what do you mean "yes"?
<Xeago> what I think Deele means
fijimunk1i has quit [Ping timeout: 276 seconds]
<Xeago> he wants to distinguish def self.method; end, from def method; end
<pontiki> ok?
geggam has quit [Quit: later]
<pontiki> i'm not sure at all
<pontiki> given the last thing you said, Deele;
<havenwood> Deele: In Ruby you *can* shoot your eye out. But don't!
<Xeago> you can access the method by its fully qualified name, Class.method
yano has joined #ruby
<pontiki> class MyClass; def method1; "hi there" ; end; def method2; method1 + " you goofball" ; end ; end
<pontiki> my_var = MyClass.new
<pontiki> my_var.method2 #=> "hi there you goofball"
<Xeago> class C; def self.m; new.m; end; def m; puts "m"; end; end; C.m
<Xeago> >> class C; def self.m; new.m; end; def m; puts "m"; end; end; C.m
IcyDragon has quit [Ping timeout: 276 seconds]
<Xeago> >> hi evalin
<pontiki> Xeago: this is what i saw Deele just ask: "I want to call instance method from within another instance method
<Xeago> where did eval-in go?
<pontiki> "
<pontiki> he's dead, jim
<pontiki> the site is there, but somehow the bot keeps dying
<pontiki> first step in coming to ruby from php: forget EVERYTHING you learned about OOP in php
horofox_ has quit [Quit: horofox_]
<Deele> there is code http://pastie.org/8605181
<Xeago> Deele: what do you expect
<pontiki> yes, and?
<Xeago> and what do you see?
<Deele> what should I do in line 9, if I want to access that def from line 1?
<pontiki> ah
<cong> Kernel::test or ::test i think
<pontiki> it actually depends on context :)
shime has quit [Ping timeout: 272 seconds]
<Xeago> Kernel::
<Xeago> ::test doesn't work for method calls
kellsn_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<Xeago> methods declared outside of classes/modules are on Kernel Deele
kellsn has joined #ruby
<Xeago> also, test is already a method on kernel
tcstar has joined #ruby
<Xeago> so accessing it as Kernel:: will not access your def test
<Xeago> but Kernel.test
zipper has quit [Quit: Lost terminal]
<Xeago> if you rename the method to not be test it'd work as expected
kellsn has quit [Client Quit]
kellsn has joined #ruby
<shevy> Deele another trick is to put it into a module
MindfulMonk has quit [Ping timeout: 272 seconds]
LexicalScope` has joined #ruby
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
LexicalScope has joined #ruby
<Deele> Xeago http://pastie.org/8605191 does not work "test.rb:9:in `bar': private method `testX' called for Kernel:Module (NoMethodError)"
<Deele> oh, with dot
<Deele> the same
<Xeago> http://pastie.org/8605197 works for me
<shevy> dot and :: would be the same Deele
jerius has quit [Quit: Computer has gone to sleep.]
aspires has quit []
wmoxam_ is now known as wmoxam
<shevy> that paste does not work for me
wmoxam has joined #ruby
wmoxam has quit [Changing host]
<Deele> Xeago does not work
ambushsabre has quit [Quit: rip]
<Deele> I have ruby 1.9.3p0 (2011-10-30) [i386-mingw32]
kellsn has quit [Client Quit]
<shevy> there is a workaround
<shevy> but it sucks
kellsn has joined #ruby
<cong> i'm getting NoMethodError: private method `teste' called for Kernel:Module
<shevy> yeah
<Xeago> what ruby are you on?
<shevy> ruby 1.9.3p484 (2013-11-22 revision 43786) [i686-linux]
<Xeago> this was run on my systemruby187p358
<shevy> good old 1.8.7
<pontiki> not on 1.9x+
<shevy> the days before encoding
<pontiki> Kernel is not the root module
<havenwood> RIP 1.8.7
<shevy> Deele but really, the best would be if you put that "global" method into a module
<Xeago> on 2.0.0p247 it fails indeed >.<
<Xeago> darn
<shevy> cool
<shevy> I keep on telling
<shevy> 1.8.7 was best :>
<Deele> but if I can't, I use some other people stuff, I want to understand, how to access it
<shevy> THANK YOU XEAGO :)))
kellsn has quit [Client Quit]
<shevy> Deele there, use the .send way
<shevy> there are probably more ways
kellsn has joined #ruby
<shevy> or use 1.8.7
<shevy> hehehehehe
<Xeago> ask Hanmac or banister
<Xeago> tss
<Xeago> shush shevy
<shevy> Hanmac wake up
ambushsabre has joined #ruby
<shevy> I think he is asleep, 03:00 in germany
<Xeago> yea, about that
<Xeago> good night
Xeago has quit [Remote host closed the connection]
ahawkins has joined #ruby
<Deele> gn everyone
ringaroses has joined #ruby
kayloos has joined #ruby
ahawkins has quit [Read error: Operation timed out]
flubba has quit [Read error: Connection reset by peer]
jkhwan has joined #ruby
tedstriker has quit [Quit: Anti-Fraping status set.]
<pontiki> so, in 1.9.x++, the root object is of type Object, and when you define a method at the top level, it is a *private* method for Object
flubba has joined #ruby
Notte has quit []
intent has quit [Quit: intent]
<pontiki> so to call it outside it's regular top level context, you use Object.send(:method1)
tedstriker has joined #ruby
<havenwood> cool
kayloos has quit [Ping timeout: 260 seconds]
<havenwood> that should be fun
<pontiki> which is just so convoluted that it makes more sense to put things into modules
<havenwood> oops, mis-tell, sry
bigbadbear has quit [Ping timeout: 265 seconds]
<pontiki> Deele: did you get that?
lethjakman has joined #ruby
<lethjakman> hey, is there a way to do type checking in a ruby function?
<pontiki> RUBYHASNOTYPES
<pontiki> no, srsly
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lethjakman> read(String string1) vs read(Integer)
<Deele> pontiki thank you
iMe has quit [Ping timeout: 252 seconds]
<lethjakman> ....class
<lethjakman> class checking?
<pontiki> lethjakman: read up on the case statement
<lethjakman> hrm....
<lethjakman> ok thank you
jkhwan has quit [Ping timeout: 272 seconds]
eka has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
kung has quit [Ping timeout: 252 seconds]
kellsn has quit [Quit: Textual IRC Client: www.textualapp.com]
kellsn has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
kellsn is now known as kells1
<shevy> lethjakman you can ask .is_a?
<shevy> x = 'abc'; puts 'yup' if x.is_a? String
Brolen has quit [Quit: Brolen]
kells1 is now known as kellsn
<lethjakman> shevy: yeah, I checked into that a bit...I just wanted to be able to do that in the function to keep it cleaner.
porco has joined #ruby
<lethjakman> kind of an annoying feature to not have.
ringaroses has quit [Quit: Leaving]
<shevy> yeah you can do that. another way would be to use .respond_to?
<lethjakman> wait, how can you do it in the function?
<lethjakman> by in the function I mean what I said earlier: read(String string1) vs read(Integer)
nowthatsamatt has quit [Quit: nowthatsamatt]
MatthewsFace has joined #ruby
yasushi has joined #ruby
<cong> that's not possible
bigbadbear has joined #ruby
<lethjakman> ahh ok
<lethjakman> yeah that's the understanding I have
<lethjakman> I wonder why that isn't implemented.
<lethjakman> is there a design reason for it?
pwh has joined #ruby
<havenwood> lethjakman: i think the feeling is that defensive programming is a waste of time
kellsn has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> harmful even
<cong> i can think of one: simplicity! it's simple to just pass everything in.
kellsn has joined #ruby
lfox has joined #ruby
<shevy> lethjakman not sure if it can be done
<lethjakman> I just like the idea of the option, it's nice to be able to say this one takes a string and this one takes an integer
<lethjakman> that way you seperate the functionality of each
<shevy> def foo(String x, Integer y)
<lethjakman> I think that can be simpler at times.
VTLob has quit [Quit: VTLob]
<pontiki> lethjakman: now that you've read that, read about Duck typing. and then read "Confident Ruby"
<shevy> lethjakman the parser would probably try to do something with a constant here
<havenwood> lethjakman: ah, right - yeah that is a design tradeoff
<shevy> well actually
yasushi has quit [Ping timeout: 276 seconds]
<shevy> perhaps the parser would also believe Integer to be a method call
<lethjakman> pontiki: good to know, is that a pretty well known book?
<lethjakman> I'm recently getting into a lot of design patterns
<shevy> Integer(5)
<shevy> Integer 5
<shevy> Integer y
<lethjakman> you're probably right
<shevy> lethjakman, these three could all be the same with the current parser (if you do: y = 5 in the last example)
<havenwood> lethjakman: i've admired that in Elixir
<pontiki> it's pretty well known. Avdi is, for sure
<lethjakman> havenwood: elixir?
<havenwood> lethjakman: http://elixir-lang.org/
<havenwood> lethjakman: A lang on top of venerable Erlang VM written by a Rubyist
<lethjakman> interesting, I might play with it.
<havenwood> The langs I've seen Rubyists dabbling in most lately are Clojure, Scheme, Go and Elixir. Rubyists further establishing trade routes with other vibrant languages could really enrich Ruby I think.
MatthewsFace has quit [Quit: This computer has gone to sleep]
<pontiki> you know what i would love?
<pontiki> an audio version of "Confident Ruby" read by Avdi
brian___ has quit [Quit: brian___]
<pontiki> i'd be listening to that all night long <3<3<3
<pontiki> gods i hope he isn't in this channel...
<havenwood> pontiki: i haven't read it, but i'd buy the audio version ;0
subbyyy has joined #ruby
krz has joined #ruby
<havenwood> pontiki: always nice to have something to listen to
subbyyy_ has quit [Ping timeout: 260 seconds]
<havenwood> i don't quite get the Go interest, other than that go routines/channels are a nice pattern
<havenwood> i guess the SeattleRB guys have been doing a bunch of Chicken Scheme lately
<havenwood> pontiki: Avdi i think mentioned thinking of switching from Elixir to Clojure for his non-Ruby hobby lang
mneorr has joined #ruby
<havenwood> To JVM or not to JVM that is the question.
<havenwood> with clojure/scheme it seems
<havenwood> <3 Ruby
kellsn has quit [Remote host closed the connection]
flame_ has quit [Quit: Computer has gone to sleep.]
dapz has quit [Ping timeout: 265 seconds]
kellsn has joined #ruby
sassamo_ has joined #ruby
<pontiki> he's blogging about elixir
<pontiki> well, his last two anyway
burlyscudd has joined #ruby
MatthewsFace has joined #ruby
jgrevich has joined #ruby
sassamo has quit [Ping timeout: 248 seconds]
bigbadbear has quit [Ping timeout: 265 seconds]
varfoo has joined #ruby
burlyscudd has quit [Ping timeout: 246 seconds]
kellsn has quit [Quit: Textual IRC Client: www.textualapp.com]
Deele has quit [Ping timeout: 260 seconds]
kellsn has joined #ruby
Hanmac1 has joined #ruby
cong has quit []
Hanmac has quit [Ping timeout: 260 seconds]
existensil has quit [Remote host closed the connection]
lfox has quit [Quit: ZZZzzz…]
mneorr has quit [Remote host closed the connection]
burlyscudd has joined #ruby
mneorr has joined #ruby
kellsn is now known as kells1
kells1 is now known as kellsn
w4pm has joined #ruby
mneorr has quit [Ping timeout: 240 seconds]
fijimunkii has joined #ruby
tectonic has joined #ruby
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit []
nfk has quit [Quit: yawn]
kitak_ has joined #ruby
jkhwan has joined #ruby
gverri has joined #ruby
tedstriker has quit [Quit: Anti-Fraping status set.]
mneorr has joined #ruby
Wixy has quit [Ping timeout: 272 seconds]
kitak has quit [Ping timeout: 245 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
tedstriker has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
petey has quit [Read error: Connection reset by peer]
petey has joined #ruby
hiall has quit [Quit: hiall]
jkhwan has quit [Ping timeout: 272 seconds]
JuanDaugherty has quit [Ping timeout: 272 seconds]
brunops has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
kalrover has joined #ruby
robertrv has joined #ruby
kalrover has quit [Client Quit]
fractastical has joined #ruby
burlyscudd has quit [Quit: Leaving.]
Wixy has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
mneorr has quit [Remote host closed the connection]
Megtastique has quit []
daidoji has joined #ruby
mneorr has joined #ruby
m00nlight__ has quit [Quit: Konversation terminated!]
mneorr has quit [Ping timeout: 264 seconds]
LexicalScope` has quit [Quit: Leaving]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lulzon is now known as LulzonAway
mneorr has joined #ruby
jamesaanderson has joined #ruby
WickedAtMelb has joined #ruby
[Neurotic] has joined #ruby
ckinni has joined #ruby
tt1187 has quit [Ping timeout: 248 seconds]
meatherly has joined #ruby
xdrone has quit [Ping timeout: 240 seconds]
ewnd9 has joined #ruby
meatherly has quit [Ping timeout: 265 seconds]
agent_white has quit [Quit: Lost terminal]
danshultz has joined #ruby
w4pm has quit [Ping timeout: 264 seconds]
keen__ is now known as keen_
sambao21 has joined #ruby
amedeiros has quit [Read error: Connection reset by peer]
amedeiros has joined #ruby
smathieu has joined #ruby
amedeiros has quit [Read error: Connection reset by peer]
kellsn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tkuchiki has quit [Ping timeout: 260 seconds]
amedeiros has joined #ruby
lioninawhat has joined #ruby
<pipecloud> pontiki: That's some creepy stuff. Why not just call up Avdi and pay him to read it to you?
<pipecloud> "Would you read me a bedtime story? Namely, Confident Ruby? I'll pay you."
kellsn has joined #ruby
radic has quit [Ping timeout: 260 seconds]
danshultz has quit [Ping timeout: 264 seconds]
psyl0n has quit [Remote host closed the connection]
radic has joined #ruby
burlyscudd has joined #ruby
smathieu has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
rickruby has quit [Remote host closed the connection]
petey has quit [Remote host closed the connection]
ahawkins has joined #ruby
SteveDigitalCOM has joined #ruby
petey has joined #ruby
burlyscudd has quit [Client Quit]
kayloos has joined #ruby
ewnd9 has quit [Ping timeout: 240 seconds]
dapz has joined #ruby
earthquake has quit [Quit: earthquake]
earthquake has joined #ruby
ahawkins has quit [Ping timeout: 245 seconds]
phipes has quit [Remote host closed the connection]
jkhwan has joined #ruby
tkuchiki has joined #ruby
petey has quit [Ping timeout: 248 seconds]
kayloos has quit [Ping timeout: 276 seconds]
gquental has quit [Ping timeout: 260 seconds]
tedstriker has quit [Quit: Anti-Fraping status set.]
sambao21 has quit [Ping timeout: 260 seconds]
_HolyCow has joined #ruby
charliesome has joined #ruby
Megtastique has joined #ruby
predator117 has quit [Ping timeout: 246 seconds]
braincrash has quit [Quit: bye bye]
guardianx has left #ruby [#ruby]
tedstriker has joined #ruby
ckinni has quit [Quit: Textual IRC Client: www.textualapp.com]
ckinni has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
braincrash has joined #ruby
ahmedelgabri has joined #ruby
petey has joined #ruby
w4pm has joined #ruby
braincrash has quit [Ping timeout: 246 seconds]
kitak_ has quit [Remote host closed the connection]
m00nlight has joined #ruby
w4pm has quit [Ping timeout: 265 seconds]
gquental has joined #ruby
relix has joined #ruby
kitak has joined #ruby
IceDragon_ has quit [Quit: Space~~~]
w4pm has joined #ruby
braincrash has joined #ruby
yacks has joined #ruby
kaldrenon has joined #ruby
nari has joined #ruby
relix has quit [Ping timeout: 276 seconds]
OdNairy has joined #ruby
butblack has joined #ruby
Hanmac has joined #ruby
baroquebobcat has joined #ruby
kaldrenon has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
dapz has quit [Ping timeout: 240 seconds]
dukz has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
fractastical has quit [Quit: fractastical]
iamjarvo has joined #ruby
sambao21 has quit [Ping timeout: 276 seconds]
Xiti has quit [Quit: Leaving]
emocakes has quit [Quit: Leaving...]
emocakes has joined #ruby
freebs1 has quit [Quit: Leaving.]
Xiti has joined #ruby
benatkin has joined #ruby
krz has quit [Quit: WeeChat 0.4.2]
porco has quit [Quit: Leaving...]
blarghmatey_ has quit [Ping timeout: 264 seconds]
petey has quit [Remote host closed the connection]
petey has joined #ruby
brunops has quit [Ping timeout: 246 seconds]
LexicalScope has quit [Read error: Connection reset by peer]
LexicalScope has joined #ruby
dukz has quit [Remote host closed the connection]
dukz has joined #ruby
Deele has joined #ruby
Hanmac1 has joined #ruby
lewix has quit [Remote host closed the connection]
petey has quit [Ping timeout: 264 seconds]
lewix has joined #ruby
Hanmac has quit [Ping timeout: 276 seconds]
danshultz has joined #ruby
emocakes has quit [Quit: Leaving...]
emocakes has joined #ruby
simoz13 has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
danshultz has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
browndawg has joined #ruby
Barrin6 has quit [Quit: Leaving]
amedeiros has quit [Read error: Connection reset by peer]
amedeiros has joined #ruby
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
jkhwan has joined #ruby
sambao21 has quit [Ping timeout: 276 seconds]
mneorr has quit [Ping timeout: 240 seconds]
brunops has joined #ruby
tedstriker has quit [Quit: Anti-Fraping status set.]
krz has joined #ruby
tyl has joined #ruby
w4pm has quit [Ping timeout: 260 seconds]
tedstriker has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
MatthewsFace has quit [Quit: This computer has gone to sleep]
mzemel has joined #ruby
w4pm has joined #ruby
Hanmac has joined #ruby
Kabaka has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Ping timeout: 246 seconds]
porco has joined #ruby
Hanmac1 has quit [Ping timeout: 260 seconds]
tyl has quit [Quit: Textual IRC Client: www.textualapp.com]
tkuchiki has joined #ruby
flubba has quit [Ping timeout: 240 seconds]
sassamo_ has quit [Remote host closed the connection]
tharindu has joined #ruby
sassamo has joined #ruby
dseitz has joined #ruby
WickedAtMelb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
porco_ has joined #ruby
porco_ has quit [Read error: Connection reset by peer]
Kabaka has joined #ruby
porco_ has joined #ruby
porco has quit [Read error: Connection reset by peer]
nateberkopec has quit [Quit: Leaving...]
sassamo has quit [Ping timeout: 260 seconds]
WickedAtMelb has joined #ruby
gja has joined #ruby
gja has quit [Client Quit]
moted has quit [Quit: moted]
LinearInterpol has quit [Ping timeout: 276 seconds]
flubba has joined #ruby
lukec has quit [Quit: lukec]
mdpatrick has quit [Quit: No Ping reply in 180 seconds.]
mdpatrick has joined #ruby
subbyyy has quit [Ping timeout: 246 seconds]
emocakes has quit [Quit: Leaving...]
gja has joined #ruby
butblack has quit [Quit: butblack]
teenwolf has quit [Quit: Leaving...]
guilleiguaran has joined #ruby
fijimunkii has quit [Ping timeout: 260 seconds]
yacks has quit [Quit: Leaving]
emocakes has joined #ruby
ambushsabre has quit [Quit: rip]
zastern has quit [Quit: WeeChat 0.4.1]
dpswireless has joined #ruby
jenskarlsen has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
lioninawhat has quit [Remote host closed the connection]
lioninawhat has joined #ruby
tcstar has quit [Ping timeout: 264 seconds]
simoz13 has quit [Ping timeout: 240 seconds]
lioninawhat has quit [Ping timeout: 276 seconds]
simoz13 has joined #ruby
bline79_ has joined #ruby
gja has joined #ruby
tyl has joined #ruby
OdNairy has joined #ruby
iamjarvo has quit [Remote host closed the connection]
dapz has joined #ruby
iamjarvo has joined #ruby
burlyscudd has joined #ruby
iamjarvo has quit [Ping timeout: 265 seconds]
HD has joined #ruby
WickedAtMelb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phansch has joined #ruby
burlyscudd has quit [Ping timeout: 265 seconds]
emocakes has quit [Quit: Leaving...]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danshultz has joined #ruby
zxd has joined #ruby
krz has quit [Ping timeout: 248 seconds]
simoz13 has quit [Ping timeout: 248 seconds]
krz has joined #ruby
Bumptious has joined #ruby
CaptainJet has quit []
zxd has quit [Ping timeout: 246 seconds]
danshultz has quit [Ping timeout: 276 seconds]
kayloos has joined #ruby
BrixSat has quit [Remote host closed the connection]
BrixSat has joined #ruby
lioninawhat has joined #ruby
jamesaanderson has joined #ruby
kewubenduben has joined #ruby
kellsn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamesaanderson has quit [Client Quit]
R33C3 has joined #ruby
apeiros has joined #ruby
kayloos has quit [Ping timeout: 276 seconds]
R33C3 has quit [Client Quit]
ahmedelgabri has quit [Remote host closed the connection]
LexicalScope has quit [Ping timeout: 240 seconds]
lantry has joined #ruby
tedstriker has quit [Quit: Anti-Fraping status set.]
daidoji has quit [Ping timeout: 240 seconds]
iliketurtles has joined #ruby
tedstriker has joined #ruby
tkuchiki has quit [Remote host closed the connection]
shedd_ has quit [Remote host closed the connection]
troyready has joined #ruby
ahmedelgabri has joined #ruby
deepender has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
tyl has quit [Quit: Textual IRC Client: www.textualapp.com]
dukz has quit [Remote host closed the connection]
noop has joined #ruby
tkuchiki has joined #ruby
cibs has joined #ruby
phipes has joined #ruby
headius_ has quit [Ping timeout: 265 seconds]
deepender has quit [Ping timeout: 246 seconds]
WickedAtMelb has joined #ruby
headius has joined #ruby
zipper has joined #ruby
kitak has quit [Remote host closed the connection]
browndawg has quit [Ping timeout: 246 seconds]
mzemel has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
zastern has joined #ruby
kitak has joined #ruby
mzemel has joined #ruby
fractastical has joined #ruby
kitak_ has joined #ruby
kitak has quit [Read error: Connection reset by peer]
dseitz has quit [Ping timeout: 260 seconds]
lioninawhat has quit [Remote host closed the connection]
dukz has joined #ruby
tagrudev has joined #ruby
zastern has quit [Client Quit]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zastern has joined #ruby
deepender has joined #ruby
gigetoo has quit [Remote host closed the connection]
kellsn has joined #ruby
gigetoo has joined #ruby
ckinni has joined #ruby
bigbadbear has joined #ruby
zz_CripperZ is now known as CripperZ
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
heftig has quit [Quit: Quitting]
browndawg has joined #ruby
kellsn has quit [Client Quit]
sinm has joined #ruby
Kabaka has quit [Ping timeout: 264 seconds]
Rylee has quit [Ping timeout: 264 seconds]
rickruby has joined #ruby
Macaveli has joined #ruby
bigbadbear has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shedd has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
HD has quit [Quit: Lost terminal]
Azure has quit [Quit: My MBP went to sleep.]
gja has quit [Quit: This computer has gone to sleep]
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
rickruby has quit [Ping timeout: 248 seconds]
mary5030 has quit [Remote host closed the connection]
flubba has quit [Remote host closed the connection]
petey has joined #ruby
gja has joined #ruby
mzemel has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Drakevr has joined #ruby
Azure has joined #ruby
Drakevr has quit [Changing host]
Drakevr has joined #ruby
mzemel has joined #ruby
m4rcu5 has joined #ruby
petey has quit [Ping timeout: 246 seconds]
monkegjinni has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
lewix has quit [Remote host closed the connection]
shedd has quit [Ping timeout: 260 seconds]
mzemel has quit [Client Quit]
lkba has joined #ruby
monkegjinni has quit [Ping timeout: 260 seconds]
jailbot has joined #ruby
<jailbot> hey
danshultz has joined #ruby
h_kon has joined #ruby
jailbot has left #ruby [#ruby]
amundj has joined #ruby
w4pm has quit [Ping timeout: 248 seconds]
yarou_ has quit [Quit: This computer has gone to sleep]
browndawg has joined #ruby
kotk has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
camilasan has joined #ruby
apeiros has joined #ruby
danshultz has quit [Ping timeout: 245 seconds]
amundj has quit [Ping timeout: 265 seconds]
WickedAtMelb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ahawkins has joined #ruby
deepender has quit [Ping timeout: 260 seconds]
pen has joined #ruby
xdrone has joined #ruby
fractastical has quit [Quit: fractastical]
ahawkins has quit [Read error: Operation timed out]
browndawg has quit [Read error: Connection reset by peer]
gja has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
eka has joined #ruby
relix has joined #ruby
emocakes has joined #ruby
jkhwan has joined #ruby
gja has quit [Client Quit]
krz has quit [Ping timeout: 248 seconds]
Kabaka has joined #ruby
krz has joined #ruby
rankine has joined #ruby
rankine has quit [Changing host]
rankine has joined #ruby
maroloccio has joined #ruby
dima_ has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
tedstriker has quit [Quit: Anti-Fraping status set.]
jkhwan has quit [Ping timeout: 272 seconds]
Mars has joined #ruby
Mars is now known as Guest67461
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
tedstriker has joined #ruby
w4pm has joined #ruby
troyready has quit [Ping timeout: 276 seconds]
aganov has joined #ruby
Guest67461 has quit [Ping timeout: 265 seconds]
nus1 has joined #ruby
browndawg has joined #ruby
w4pm has quit [Ping timeout: 276 seconds]
w4pm has joined #ruby
bigkevmcd has joined #ruby
Waheed has joined #ruby
mgolisch has quit [Quit: No Ping reply in 180 seconds.]
Kabaka has quit [Ping timeout: 265 seconds]
mgolisch has joined #ruby
zigomir has joined #ruby
dima_ has quit [Remote host closed the connection]
klaut has joined #ruby
codenapper has joined #ruby
charliesome has joined #ruby
timmaa has joined #ruby
Rylee has joined #ruby
w4pm has quit [Ping timeout: 264 seconds]
casheew_ has quit [Read error: Connection reset by peer]
casheew has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has joined #ruby
SeySayux_ has quit [Ping timeout: 272 seconds]
<timmaa> any of u guy know what the args for the class File.expand_path('../tor, __FILE__') are supposed to be? im using tor with mechanize for a web scraping application and am not sure what in the tutorial im following thesea args are referring to
phansch has quit [Quit: Leaving]
Fabrizio has joined #ruby
CripperZ is now known as N00D
camilasan has quit [Ping timeout: 260 seconds]
dagobah has joined #ruby
SeySayux has joined #ruby
snath has quit [Ping timeout: 272 seconds]
Fabrizio has quit [Ping timeout: 245 seconds]
jprovazn has joined #ruby
marr has joined #ruby
marr is now known as Guest8968
Vivekananda has quit [Read error: Connection reset by peer]
Guest8968 is now known as dmarr
rankine has quit [Ping timeout: 246 seconds]
brunops has quit [Ping timeout: 264 seconds]
Rylee has quit [Ping timeout: 264 seconds]
shedd has joined #ruby
<ayaz> timmaa: Are you sure it is File.expand_path('../tor, __FILE__') and not File.expand_path('../tor', '__FILE__')?
mityaz has joined #ruby
<ayaz> timmaa: The first argument to that function is the pathname you wish to resolve to an absolute pathname. The second argument is optional, and if it is present, it is used as the base path when resolving the relative pathname.
<ayaz> Sorry, that should be File.expand_path('../tor', __FILE__)
Hanmac1 has joined #ruby
Ocean has joined #ruby
Ocean has quit [Client Quit]
<timmaa> it is the second one, thanks for your help man i appreciate it
gja has quit [Quit: This computer has gone to sleep]
Hanmac has quit [Ping timeout: 276 seconds]
shedd has quit [Ping timeout: 260 seconds]
maveonair has joined #ruby
zigomir has quit [Remote host closed the connection]
xiphias has joined #ruby
alol has joined #ruby
ckrailo_ has joined #ruby
justinmcp has joined #ruby
utkarsh has joined #ruby
LBRapid has joined #ruby
kapowaz has joined #ruby
ConstantineXVI has joined #ruby
bedouin has joined #ruby
dioms_ has joined #ruby
ddv has joined #ruby
Jakee` has joined #ruby
RKornmeyer_ has joined #ruby
rurban has joined #ruby
kenichi has joined #ruby
frode15243 has joined #ruby
shaileshg____ has joined #ruby
drPoggs has joined #ruby
artgoeshere has joined #ruby
aspiers_ has joined #ruby
Nightmare has joined #ruby
adambeynon has joined #ruby
blooberr_ has joined #ruby
mattyohe has joined #ruby
Mars has joined #ruby
mjmac has joined #ruby
Paradox has joined #ruby
zz_jrhorn424 has joined #ruby
flagg0204 has joined #ruby
dziga has joined #ruby
sophomorical has joined #ruby
hoelzro has joined #ruby
frem has joined #ruby
Dwarf has joined #ruby
seich- has joined #ruby
andrewstewart has joined #ruby
poikon has joined #ruby
aetaric has joined #ruby
DarkFoxDK has joined #ruby
Sthebig has joined #ruby
blo has joined #ruby
mbff has joined #ruby
timmaa has quit [Excess Flood]
sharms has joined #ruby
zigomir has joined #ruby
Dwarf has quit [Max SendQ exceeded]
Sthebig has quit [Changing host]
Sthebig has joined #ruby
frode15243 is now known as Guest60081
Mars is now known as Guest45968
Dwarf has joined #ruby
psyprus has joined #ruby
Guest45968 has quit [Remote host closed the connection]
dmarr has quit [Quit: Goodbye]
dmarr has joined #ruby
idoru has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
zigomir has quit [Ping timeout: 264 seconds]
nomadic has quit [Ping timeout: 272 seconds]
nomadic has joined #ruby
danshultz has joined #ruby
gja has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
ahmedelgabri has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
gja has quit [Client Quit]
derebos has joined #ruby
porco_ has quit [Read error: Connection reset by peer]
kayloos has joined #ruby
porco has joined #ruby
danshultz has quit [Ping timeout: 260 seconds]
ahawkins has joined #ruby
Sid05 has joined #ruby
Rylee has joined #ruby
Waheed has quit [Quit: Waheed]
CpuID has quit [Ping timeout: 264 seconds]
Kabaka has joined #ruby
dmarr has quit [Quit: Goodbye]
Liothen has quit [Ping timeout: 272 seconds]
marr has joined #ruby
marr is now known as Guest9539
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
jkhwan has joined #ruby
ahawkins has quit [Ping timeout: 248 seconds]
zigomir has joined #ruby
jgrevich has quit [Quit: jgrevich]
deepender has joined #ruby
Guest9539 has quit [Client Quit]
dmarr has joined #ruby
zxd has joined #ruby
noname001__ has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
xdrone has quit [Ping timeout: 240 seconds]
maveonair has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jkhwan has quit [Ping timeout: 272 seconds]
iliketurtles has joined #ruby
renklaf has joined #ruby
joshwines_ has quit []
joshwines_ has joined #ruby
tedstriker has quit [Quit: Anti-Fraping status set.]
maveonair has joined #ruby
mengu has joined #ruby
joshwines_ is now known as joshwines
speakingcode has quit [Ping timeout: 264 seconds]
tedstriker has joined #ruby
DefV_ is now known as DefV
troessner has joined #ruby
predator117 has joined #ruby
Beoran__ has joined #ruby
threesome has joined #ruby
phipes has quit [Remote host closed the connection]
dmarr has quit [Quit: Goodbye]
razibog has joined #ruby
dmarr has joined #ruby
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kayloos has quit [Remote host closed the connection]
wildroman2 has joined #ruby
Beoran_ has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deepender has quit [Read error: Operation timed out]
ace_striker has quit [Ping timeout: 272 seconds]
maroloccio has quit [Read error: Connection reset by peer]
Landshark753 has joined #ruby
gregorg has quit [Remote host closed the connection]
brunto_ is now known as brunto
brunto has quit [Changing host]
brunto has joined #ruby
pen has quit [Read error: Connection reset by peer]
lsmola_ has joined #ruby
pen has joined #ruby
Kar- has joined #ruby
Landshark753 has quit [Ping timeout: 240 seconds]
maroloccio has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
wildroman2 has joined #ruby
dmarr has quit [Quit: Goodbye]
camilasan has joined #ruby
dmarr has joined #ruby
Kar- has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
emocakes has quit [Quit: Leaving...]
troyready has joined #ruby
polysics has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
tedstriker has quit [Quit: I have grown tired of your feeble excuses]
razibog has quit [Ping timeout: 245 seconds]
emocakes has joined #ruby
bigbadbear has joined #ruby
heftig has joined #ruby
razibog has joined #ruby
sinm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjaco has joined #ruby
gja has joined #ruby
L8D has quit [Ping timeout: 272 seconds]
mehlah has joined #ruby
bigbadbear has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
deepender has joined #ruby
shedd has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
porco_ has joined #ruby
porco has quit [Read error: Connection reset by peer]
wildroman2 has joined #ruby
nvrch has joined #ruby
petey has joined #ruby
chihhsin has quit [Read error: Connection reset by peer]
shedd has quit [Ping timeout: 246 seconds]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
zxq9 has quit [Read error: Connection reset by peer]
wildroman2 has quit [Ping timeout: 248 seconds]
petey has quit [Ping timeout: 265 seconds]
sinm has joined #ruby
zxq9 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
chihhsin has joined #ruby
vlad_starkov has joined #ruby
dukz has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
foooobear has joined #ruby
danshultz has joined #ruby
Colin128 has joined #ruby
<Colin128> hello. is anyone familiar with using watir and/or html parsers?
troyready has quit [Ping timeout: 260 seconds]
Yan__ has joined #ruby
MartynKeigher has quit [Remote host closed the connection]
CpuID has joined #ruby
apeiros has joined #ruby
Colin128 has quit [Client Quit]
timonv has joined #ruby
danshultz has quit [Ping timeout: 264 seconds]
kayloos has joined #ruby
toastynerd has quit [Remote host closed the connection]
ahawkins has joined #ruby
olivier_bK has joined #ruby
chiel_ is now known as chiel
tvw has joined #ruby
maveonair has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ahawkins has quit [Ping timeout: 246 seconds]
roolo has joined #ruby
porco_ has quit [Quit: Linkinus - http://linkinus.com]
joonty has quit [Quit: WeeChat 0.4.2]
Yan___ has joined #ruby
porco has joined #ruby
fractastical has joined #ruby
Yan__ has quit [Ping timeout: 276 seconds]
tziOm has quit [Remote host closed the connection]
claymore has joined #ruby
sputnik13 has joined #ruby
epscylonb is now known as epscy
heftig has quit [Ping timeout: 260 seconds]
[_aeris_] is now known as _aeris_
monkegjinni has joined #ruby
abstractj has quit [Changing host]
abstractj has joined #ruby
phansch has joined #ruby
ahmedelgabri has joined #ruby
Megtastique has quit []
kayloos has quit [Remote host closed the connection]
jellow_ is now known as jellow
jellow has quit [Changing host]
jellow has joined #ruby
L8D has joined #ruby
TMM has joined #ruby
Bofu2U has joined #ruby
kiri has quit [Quit: Leaving]
mzemel has joined #ruby
CpuID has quit [Ping timeout: 276 seconds]
L8D has quit [Ping timeout: 246 seconds]
flubba has joined #ruby
marr has joined #ruby
Kar- has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
bigkevmcd has joined #ruby
Jetchisel has joined #ruby
shaunbaker has joined #ruby
agjacome has quit [Quit: leaving]
monkegjinni has quit [Read error: No route to host]
gja has quit [Quit: This computer has gone to sleep]
CpuID has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
monkegjinni has joined #ruby
mklappstuhl has joined #ruby
toastynerd has joined #ruby
Yan___ has quit [Read error: Operation timed out]
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
wildroman2 has joined #ruby
wallerdev has quit [Quit: wallerdev]
wildroman2 has quit [Remote host closed the connection]
Garo_ has quit [Ping timeout: 272 seconds]
wildroman2 has joined #ruby
Garo_ has joined #ruby
ephemerian has joined #ruby
timonv has quit [Remote host closed the connection]
abk has joined #ruby
<pontiki> pipecloud: i know it's creepy, but at least talking about it keeps from *doing* anything, you know? :>>
olivier_b has joined #ruby
<pipecloud> pontiki: I have the same creepy desire for cumberbatch to whisper sweet nothings into my ear at night.
<pontiki> ikr?
kayloos has joined #ruby
olivier_b is now known as anthony_the_gay_
dagobah has quit [Read error: Operation timed out]
polysics has quit [Read error: Connection timed out]
polysics has joined #ruby
snath has joined #ruby
agjacome has joined #ruby
fractastical has quit [Quit: fractastical]
Advocation has joined #ruby
shedd has joined #ruby
marcgg has joined #ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
CpuID has quit [Quit: This computer has gone to sleep]
andrein has joined #ruby
polysics has left #ruby [#ruby]
Mars has joined #ruby
Mars is now known as Guest68142
JorDunn has joined #ruby
Hanmac has joined #ruby
marcgg_ has quit [Ping timeout: 246 seconds]
klaut has quit [Remote host closed the connection]
joonty has joined #ruby
andrein has quit [Client Quit]
Hanmac1 has quit [Ping timeout: 240 seconds]
shedd has quit [Ping timeout: 260 seconds]
<Hanmac> is it possible with mkmf to check if a C++ class has a default constructor ?
Guest68142 has quit [Ping timeout: 240 seconds]
shaunbaker has quit [Remote host closed the connection]
mzemel has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
troyready has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
gasbakid has joined #ruby
joaoh82 has joined #ruby
vlad_starkov has joined #ruby
tectonic has quit []
xpirator has quit [Quit: Leaving...]
cjk101010_ is now known as cjk101010
Kabaka has quit [Ping timeout: 245 seconds]
robertrv has quit [Ping timeout: 245 seconds]
mojjojo has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
aapzak has quit [Quit: leaving]
danshultz has joined #ruby
dukz has joined #ruby
jlebrech has joined #ruby
simoz13 has joined #ruby
shaunbaker has joined #ruby
shaunbak_ has joined #ruby
DouweM has quit [Ping timeout: 246 seconds]
Kabaka has joined #ruby
SteveDigitalCOM has quit [Ping timeout: 276 seconds]
tris has quit [Ping timeout: 272 seconds]
shaunbaker has quit [Read error: Operation timed out]
tris has joined #ruby
dagobah has joined #ruby
Speed has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
dukz has quit [Ping timeout: 276 seconds]
danshultz has quit [Ping timeout: 260 seconds]
skaflem has joined #ruby
Hanmac1 has joined #ruby
w4pm has joined #ruby
ahawkins has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
Hanmac has joined #ruby
toastynerd has quit [Ping timeout: 240 seconds]
jlebrech has quit [Quit: Konversation terminated!]
JoeTheGuest has quit [Ping timeout: 272 seconds]
JoeTheGuest_ has joined #ruby
jlebrech has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
jlebrech has quit [Client Quit]
jkhwan has joined #ruby
jlebrech has joined #ruby
w4pm has quit [Ping timeout: 265 seconds]
ahawkins has quit [Ping timeout: 260 seconds]
kiri has joined #ruby
deepender has quit [Ping timeout: 245 seconds]
axisys_ has quit [Remote host closed the connection]
jkhwan has quit [Ping timeout: 272 seconds]
jxport has quit [Ping timeout: 272 seconds]
jxport has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
N00D is now known as zz_N00D
nari has quit [Ping timeout: 264 seconds]
voodoofish has quit [Ping timeout: 272 seconds]
voodoofish has joined #ruby
anthony_the_gay_ has quit [Quit: Quitte]
m00nlight has quit [Quit: Konversation terminated!]
zipper has quit [Ping timeout: 260 seconds]
psyl0n has joined #ruby
zeeraw has joined #ruby
epscy has quit [Ping timeout: 272 seconds]
m-o-s has joined #ruby
sepp2k has joined #ruby
soba has quit [Ping timeout: 276 seconds]
brandon_ has quit [Ping timeout: 276 seconds]
timonv has joined #ruby
epscy has joined #ruby
bluntman has quit [Quit: WeeChat 0.3.7]
ewnd9 has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
hiall has joined #ruby
Astralum has joined #ruby
spinx^ has quit [Ping timeout: 272 seconds]
spinx^ has joined #ruby
maveonair has joined #ruby
mengu has quit [Remote host closed the connection]
tjaco has quit [Ping timeout: 264 seconds]
nfk has joined #ruby
workmad3 has joined #ruby
MindfulMonk has joined #ruby
zipper has joined #ruby
porco has quit [Quit: Linkinus - http://linkinus.com]
camilasan has quit [Remote host closed the connection]
<zxd> when would I use "string" and when :string, in this example they did override_attributes "apache2" => { "max_children" => "50" } and then override_attributes( :apache2 => {
<zxd> :prefork => { :min_spareservers => "5" } ...
mojjojo has quit [Quit: mojjojo]
amedeiros has quit []
ckinni has joined #ruby
amedeiros has joined #ruby
ckinni has quit [Client Quit]
kayloos has quit [Remote host closed the connection]
gasbakid has quit [Ping timeout: 264 seconds]
gasbakid_ has joined #ruby
bigbadbear has joined #ruby
mojjojo has joined #ruby
rickruby has joined #ruby
<tobiasvl> zxd: :string isn't a string, it's a symbol
gasbakid_ has quit [Read error: Connection reset by peer]
<tobiasvl> you can use both "strings" and :symbols as hash keys
<tobiasvl> although symbols are more widely used
gasbakid has joined #ruby
<zxd> what's the difference
<zxd> why did they choose symbol there
bigbadbear has quit [Ping timeout: 260 seconds]
<tobiasvl> symbols are immutable and therefore better suited as hash keys
<pontiki> it's kind of a legit question when you see both being used
<tobiasvl> yes, but i think the question rather should be why they chose strings in the first example :)
shaunbak_ has quit [Remote host closed the connection]
<pontiki> perhaps that is what zxd is on about :)
mojjojo has quit [Client Quit]
shedd has joined #ruby
workmad3 has quit [Quit: Reconnecting]
rickruby has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
mojjojo has joined #ruby
MindfulMonk has quit [Quit: Leaving]
petey has joined #ruby
Mars has joined #ruby
h_kon has quit [Remote host closed the connection]
Mars is now known as Guest35349
m-o-s_ has joined #ruby
shime has joined #ruby
h_kon has joined #ruby
iMe has joined #ruby
mojjojo has quit [Client Quit]
shaunbaker has joined #ruby
shedd has quit [Ping timeout: 260 seconds]
mojjojo has joined #ruby
timonv has quit [Remote host closed the connection]
m-o-s has quit [Ping timeout: 276 seconds]
petey has quit [Ping timeout: 246 seconds]
timonv has joined #ruby
Guest35349 has quit [Ping timeout: 240 seconds]
nannes has joined #ruby
m-o-s_ has quit [Ping timeout: 240 seconds]
clocKwize_ is now known as clocKwize
timonv has quit [Read error: Connection reset by peer]
timonv has joined #ruby
arietis has joined #ruby
vlad_starkov has joined #ruby
krz has quit [Ping timeout: 265 seconds]
ctp has joined #ruby
krz has joined #ruby
ehaliewicz has quit [Remote host closed the connection]
dukz has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
deepender has joined #ruby
danshultz has joined #ruby
<Takumo> Rake question, I've got a Rake::FileList which has .include "**/*" and then .exclude "./packages/**/*" but still ./packages/**/* is included...
<ctp> hi folks. a regex question :) how can i inject a language code, e.g. 'en' into this string: http://localhost:3000/foo/bar should be http://localhost:3000/en/foo/bar. I'm already checking if a language code is present in the url via Regexp.new(':\/\/[^/]+/(en|fr|es)\/') but have some trouble to rewrite the string if it's missing
fella5s has quit [Read error: Connection reset by peer]
fella5s has joined #ruby
Zai00 has joined #ruby
klaut has joined #ruby
jhaals has joined #ruby
<tobiasvl> >> "http://localhost:3000/foo/bar".gsub(/:\/\/[^/]+/[^(en|fr|es)]\//, 'en')
<tobiasvl> ugh where is eval-in
<tobiasvl> compile error
carraroj has joined #ruby
deepender has quit [Ping timeout: 248 seconds]
kayloos has joined #ruby
toastynerd has joined #ruby
m00nlight has joined #ruby
simoz13 has quit [Ping timeout: 260 seconds]
danshultz has quit [Ping timeout: 276 seconds]
klaut has quit [Ping timeout: 248 seconds]
Astralum has quit [Ping timeout: 276 seconds]
m-o-s has joined #ruby
nhhagen has joined #ruby
ahawkins has joined #ruby
m-o-s_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has quit [Ping timeout: 246 seconds]
monkegjinni has quit [Remote host closed the connection]
<ctp> tobiasvl: hm, "SyntaxError: (irb):45: premature end of char-class: /:\/\/[^/"
nhhagen has quit [Remote host closed the connection]
<tobiasvl> yeah, needs to be escaped
ahawkins has quit [Ping timeout: 246 seconds]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
m-o-s has quit [Ping timeout: 260 seconds]
rdark has joined #ruby
Jetchisel has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
<ctp> tobiasvl: hm, my intention in general is to insert a "en/" after the first occurance of a single /. http://localhost:3000/foo -> http://localhost:3000/en/foo. the point is the _first_ occurance of a _single_ slash in regex :(
<tobiasvl> why ":("?
camilasan has joined #ruby
charliesome has joined #ruby
<ctp> *lost-in-regex*
Bira has joined #ruby
<tobiasvl> >> "http://localhost:3000/foo".gsub(/[^\/]\//, '/en/')
<tobiasvl> => "http/en//localhost:300/en/foo"
<tobiasvl> hehe
<pontiki> you don't want gsub
<tobiasvl> needs negative look-back i guess
<tobiasvl> but yes
<tobiasvl> split it instead?
<pontiki> use sub?
<workmad3> ctp: parse the URL using the URI stdlib and only look at the path?
<pontiki> workmad3++
<workmad3> >> require 'uri'; URI.parse("http://localhost:3000/en/foo").path
<pontiki> eval-in is down for the count
<workmad3> :()
<workmad3> :(
<tobiasvl> horrible
<pontiki> the site is okay, just not the wee bot child here
<tobiasvl> i feel like a limb has been amputated
<workmad3> pontiki: I see it's here... guessing it's borked internally atm?
<ddd> pontiki just cause i got you the bonesaw for christmas, you didn't have to practice on tobiasvl
<pontiki> somehow. it's not me bot, it's charliesome's
<pontiki> (i think)
<pontiki> anyway, they were poking at it a bit ago
rdark has quit [Quit: leaving]
<pontiki> ddd, can i practice on you, then?
rdark has joined #ruby
karupanerura is now known as zz_karupanerura
<charliesome> fucken bot
<charliesome> it needs to be rewritten
eval-in has quit [Remote host closed the connection]
eval-in has joined #ruby
<workmad3> >> require 'uri'; URI.parse("http://localhost:3000/en/foo").path
<eval-in> workmad3 => "/en/foo" (https://eval.in/86175)
<workmad3> charliesome: that sounds like every IRC bot everywhere... ;)
timonv has quit [Remote host closed the connection]
<ctp> ok, i tried that one: "http://localhost:3000/foo/bar".sub(Regexp.new(':\/\/[^\/]+\/(.*?)\/'), '/en/\1/') and am closer to what i want, but the matched part is cut off. what's the trick? :)
<pontiki> rewritten or abandoned :)
carraroj has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
<charliesome> maybe i should write a second bot that monitors the channel for >>
<pontiki> ctp, really, do follow workmad3's advice there; you'll be much happier knowing someone else spent a long long time working out regex's
<charliesome> and restarts the main bot if it doesn't respond
<charliesome> lol
<ctp> workmad3: but the uri seems nicer :)
<ctp> thanks
malcolmva has quit [Ping timeout: 246 seconds]
xerxas has joined #ruby
<workmad3> ctp: you're dealing with URIs... which means that you're really looking @ 4 different sets of rules
<ctp> yepp, i see
<workmad3> ctp: the scheme, the host, the path, the query string and the fragment :)
m-o-s_ has quit [Ping timeout: 276 seconds]
<workmad3> and even worse... each one has different allowable character sets...
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> so you'd basically want to do uri.split(":", 1).last.split("/").last.split("?").first <-- there's your path... or use the URI :)
Brolen has joined #ruby
EngierkO has joined #ruby
<workmad3> oh wait... .split("://", 1).last ...
<ddd> pontiki sure! I've a couple back discs i need removed, and a couple knees replaced. have at it! :)
eka has joined #ruby
matled has quit [Remote host closed the connection]
matled has joined #ruby
mikecmpbll has joined #ruby
<pontiki> take a dive into the URI code, esp URI::REGEX::PATTERN -- those things are beautiful monsters
timonv has quit [Ping timeout: 276 seconds]
<workmad3> ddd: I could remove those back disks by the most direct method, which would also solve your knee replacement issue...
monkegjinni has joined #ruby
<ddd> workmad3 hey now we're talkin!
<pontiki> workmad3: but *i* got the christmas bonesaw! :P
<pontiki> oooo brain-inna-jar
<workmad3> pontiki: oh... you were going to use a saw? lightweight :P
jibi has quit [Read error: Connection reset by peer]
* ddd gulps and wonders if dedication to the advancement of science is really a worthy cause
<workmad3> hehe
<workmad3> you think this would be scientific advancement?
lyanchih has joined #ruby
psyl0n has quit []
psyl0n has joined #ruby
psyl0n has quit [Changing host]
psyl0n has joined #ruby
<ddd> workmad3 MY brain? hells yeah! Psychology alone would probably get a few answers out of this!
gregoriokusowski has joined #ruby
CaptainKnots has quit [Ping timeout: 260 seconds]
<workmad3> ddd: oh... I was just gonna tear you apart above the disks that need replacing...
<ddd> now, as for the knees or back, no. that would be butcher chops :)
<ddd> workmad3 oh sure.. i see how it is. destroy the *good* tissue
<ddd> sheesh
maveonair has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> ddd: you sometimes need to cut/rip into good tissue to get rid of all the bad :P
<ddd> you're missing a keyword there. m i n i m a l l y
<workmad3> pfft
<workmad3> that sounds like *way* too much effort :P
<ddd> hah!
<ddd> now i see why you chose programming over doctoring!
<ddd> at least the programs don't scream as loud!
<workmad3> that's what you think
<workmad3> I program sentient AI into all my apps so that they can feel every line deletion...
jamesaanderson has joined #ruby
ewnd9 has quit [Remote host closed the connection]
pedda has joined #ruby
figgleberry has joined #ruby
* workmad3 wonders if that will be the true cause of a future robot uprising... the 'torture' of having source code edited
ewnd9 has joined #ruby
<ddd> hahaha
<ddd> i never thought of that!
<ddd> wow, now thats a creepy thought
<Hanmac> ctp: try this:
<Hanmac> >> "http://localhost:3000/foo/bar".sub(/(:\/\/[^\/]+\/?)(en|fr|es)?\/?(.+)/){ "#$1#{$2||'en'}/#$3"}
<workmad3> ddd: I blame the coders who created AI that felt source code changes as pain
<pontiki> let's keep those AIs a subordinate underclass
<pontiki> if they can't feel pain, they can't be people
<ddd> i'll 2nd that
<workmad3> although I guess it would be a way to control an AI attempting to bootstrap itself to omniscience...
<pontiki> c.f. cows
<ddd> and workmad3 away from bonesaws
Guest11228 has quit []
malcolmva has joined #ruby
jibi has joined #ruby
RTG` has joined #ruby
gasbakid has quit [Ping timeout: 246 seconds]
Xiti has quit [Read error: Connection reset by peer]
Wolland_ has quit []
yjmsf20 has joined #ruby
Xiti has joined #ruby
<workmad3> ddd: my previous work colleages would want to add knives and sharp implements in general to that list...
nhhagen has joined #ruby
<ddd> if your proposed help is any indication, i think i see both a pattern emerging, and the reason why! ;)
* pontiki looks forlornly at her christmas bonesaw
<pontiki> it still has the festive bow onnit and everything
camilasan has quit [Remote host closed the connection]
<pontiki> maybe i should use it to parse URIs instead
* workmad3 imagines a
* workmad3 imagines a NAND gate made out of bonesaws
OdNairy has joined #ruby
dev1x has joined #ruby
<pontiki> oh, but remember in Voyager, the MAI did his own reprogramming?
<workmad3> can you tell that I spent the holidays playing games rather than typing? :)
jibi has quit [Ping timeout: 240 seconds]
<ddd> hah
<pontiki> self-surgery that doesn't hurt
<ddd> pontiki i'm sure workmad3 wouldn't mind if you practice a bit on him *before* you get to me.
<workmad3> pontiki: yes, because *star trek* is such a great source for the capabilites of AI bayesian super-intelligences?
<pontiki> watta concept!
<ddd> don't worry. i'll wait
<pontiki> hey, they can have Heisenberg Compensators!
kayloos has quit [Remote host closed the connection]
threesome has quit [Ping timeout: 260 seconds]
timonv has joined #ruby
<workmad3> pontiki: gotta wonder what it compensates :P
<ddd> and travelers!
<ddd> for free!
<ddd> workmad3 its a heisenburg! thats all we need to know!
<pontiki> it compensates for the Heisenberg Principle, of course! So you can actually know both where matter is, and how fast it's going, so you can transport it!
<workmad3> pontiki: also, if they can compensate that, why aren't they using this knowledge to power their ships with maxwell demons inside a cup of water, rather than dangerous anti-matter?
<ddd> mor ebang for their buck
<pontiki> well, what do you think anitmatter is *made* of????
kayloos has joined #ruby
<ddd> dark matter!
DouweM has joined #ruby
<ddd> i knew that one!
<pontiki> demons!!
kayloos has quit [Remote host closed the connection]
<workmad3> ddd: wrong :P
<ddd> damn
<workmad3> ddd: do you know what a maxwell demon is?
<ddd> hey when antimatter blows up, it takes out everything., its gonna be hella dark!
<apeiros> a daemon which hits poor people with a silver hammer?
<ddd> so I'm right!
<pontiki> c.f.: Sagan, "A Demon-Haunted World"
<workmad3> apeiros: hehe :)
<ddd> yeah yeah i know 2nd law of thermo dynamics, yada yad ayada
<apeiros> you know the first law of thermo dynamics?
<pontiki> THERE IS NO THERMO DYNAMIC
<workmad3> apeiros: you don't talk about thermo dynamics!
<apeiros> !
<apeiros> :D
<ddd> :)
<ddd> and workmad3 thought I wouldn't know anything. sheesh
Al__ has joined #ruby
<workmad3> apeiros: that's in the famous reformulation of thermo dynamics into it's cult, underground 4 law version...
<workmad3> *its
<workmad3> ddd: I was more curious ;)
kayloos has joined #ruby
<ddd> hehe
<workmad3> ddd: if I wanted to demonstrate a lack of knowledge, I'd have picked something not so easily googleable :P
blackmesa has joined #ruby
wlanboy_ has quit [Changing host]
wlanboy_ has joined #ruby
<ddd> oh geez
h_kon has quit [Remote host closed the connection]
<ddd> everything is pretty easliy googable ;)
<ddd> except my penchant for typos
<apeiros> the quasinondurum isn't
* ddd blinks
<apeiros> you'll not find a google result for it!
wlanboy_ is now known as wlanboy
<ddd> ok, existing items are fairly easily googeable ;)
toastynerd has joined #ruby
<apeiros> bah, random restrictions are random
<ddd> like my typos
<ddd> heh
max96at has joined #ruby
* apeiros goes powernap (2h of sleep is not enough for the first work day after 4w of holiday)
<ddd> workmad3 off pouring thorugh his books to find something i can't google i'll wager ;)
<workmad3> ddd: nah, just sitting here considering things ;)
<ddd> hehe
<workmad3> ddd: and discarding the obvious trite answers....
<workmad3> ddd: and your mum jokes...
<ddd> oooo, did i jus tget zinged without being zapped?
flame_ has joined #ruby
<workmad3> err, if you did, it was unintentional...
Mars has joined #ruby
Macaveli has quit [Ping timeout: 276 seconds]
<ddd> now see, you got me all flustered. for once i happened to know something of consequence, and i can't prove i didn't google it. you suck!
Mars is now known as Guest34382
<ddd> thats it. i'm taking my ball and goin home
gja has quit [Ping timeout: 240 seconds]
<workmad3> ddd: ok, how about the epistemological implications of quantum mechanics wrt the demonstrable identical nature of subatomic quantum particles?
* workmad3 now checks google
klaut has joined #ruby
<ddd> now there's a cut and paste to google if i ever saw one!
Macaveli has joined #ruby
<workmad3> :)
<ddd> COSMIC CONSCIOUSNESS!
toastynerd has quit [Ping timeout: 264 seconds]
alexherbo2 has joined #ruby
<workmad3> ddd: ok, now discard the hokum and pseudo-science ;)
<ddd> shit
m-o-s has joined #ruby
<workmad3> hehe
eka has quit [Quit: Computer has gone to sleep.]
<pontiki> you pulling from lolmythesis?
Killa has quit [Ping timeout: 272 seconds]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Killa has joined #ruby
<workmad3> pontiki: no... that was entirely the product of my own brain
m-o-s has quit [Client Quit]
Guest34382 has quit [Ping timeout: 240 seconds]
mzemel has joined #ruby
gja has joined #ruby
<workmad3> pontiki: I was aiming for a question that could be googled, as long as you knew roughly what the answer was anyway :)
danshultz has joined #ruby
<pontiki> it was well done
camilasan has joined #ruby
<ddd> very
<ddd> hah@! the fact he has a url to back the question up .. oy vey!
diegoviola has joined #ruby
<workmad3> ddd: what can I say? I'm an insufferable smart-ass that you'd probably want to punch in the mount in real life!
<lewellyn> workmad3: that's hard to read, honestly :P
<ddd> ok, reading this article and all i keep thinking is.. sasquatch!
maroloccio has quit [Ping timeout: 245 seconds]
danshultz has quit [Read error: Connection reset by peer]
<workmad3> lewellyn: yeah, it's the middle of a sequence
<ddd> there's your epiphenomenal aspect! a sasquatch!
<lewellyn> no, i mean that the writing sucks ;)
danshultz has joined #ruby
claymore has quit [Quit: Leaving]
<workmad3> lewellyn: heh :) I didn't have a problem with that
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JuanDaugherty has joined #ruby
nari has joined #ruby
jibi has joined #ruby
<workmad3> ddd: epiphenomena != epistemology
shime has quit [Ping timeout: 264 seconds]
<workmad3> ddd: also, bigfoot isn't an epiphenomena
ckinni has joined #ruby
<ddd> iw as more referring to the particular statement.
dukz has quit [Remote host closed the connection]
<ddd> Some philosophers will argue over whether an epiphenomenal aspect can be truly real, but just because we can't legitimately know about something's existence doesn't mean it's not there.
<ddd> read that and said .. Bigfoot (actually said sasquach but hey)
ckinni has quit [Client Quit]
Gonzih has joined #ruby
<pontiki> hmm, i found it eminently readable
dukz has joined #ruby
Sid05 has quit [Ping timeout: 264 seconds]
<ddd> i'm not physics trained and even i can understand this
<workmad3> ddd: an epiphenomenal aspect is an aspect that *cannot* be observed
fixl has quit [Remote host closed the connection]
<pontiki> (demond)
<workmad3> ddd: bigfoot is something that could be empirically established
<workmad3> ddd: while an epiphenomena is something that specifically cannot be empirically established
<pontiki> s/d)/s)/
<ddd> ok, so we're back to god
<popl> This conversation is thrilling, but what's it got to do with Ruby?
<lewellyn> i think the goal is to determine if ruby is equivalent to another language or something.
ahawkins has joined #ruby
<ddd> that we can't use ruby to specifically and empirically establish that workmad3 has met god
<workmad3> lewellyn: hehe :) you bullshitted your way to a link quicker than I did :)
<ddd> there
Guest64802 has joined #ruby
<popl> Ask Turing.
Guest64802 has quit [Changing host]
Guest64802 has joined #ruby
mclee has quit [Quit: WeeChat 0.4.1]
<workmad3> ddd: the 'zombie consciousness' stuff is possibly a better example than god... after all, god should have empirically verifiable consequences (e.g. miracles, smiting, flooding, etc.)
diegoviola has quit [Ping timeout: 240 seconds]
Guest64802 is now known as diegoviola
felixjet_ has quit [Ping timeout: 272 seconds]
mclee has joined #ruby
<ddd> but we see those
popl has left #ruby [#ruby]
CaptainQuirk has joined #ruby
<ddd> but its not empirical evidence he exists. only that there's a likelihood
<CaptainQuirk> Hi there !
jkhwan has joined #ruby
<CaptainQuirk> I'm trying to use bundler to execute a gem I'm trying to build with « gli »
Sid05 has joined #ruby
<CaptainQuirk> I get an error when doing bundler exec
<CaptainQuirk> I guess It's a problem of ruby version installed
<workmad3> ddd: all empirical evidence is merely increasing the likelihood that a stated hypothesis is correct :)
threesome has joined #ruby
ahawkins has quit [Ping timeout: 260 seconds]
<ddd> bundle exec, not bundler exec (if you're being command literal)
lyanchih has quit [Ping timeout: 264 seconds]
<CaptainQuirk> when I do locate ruby in my ubuntu, I get loads of entries in /var/lib/gems/1.9.1
LinearInterpol has joined #ruby
<workmad3> ddd: good empirical evidence raises the likelihood of a very small number of possible hypotheses
<CaptainQuirk> ruby -v yields 1.8.7
<CaptainQuirk> ddd, yes sorry
<workmad3> CaptainQuirk: worrying...
<Hanmac> shevy: look! someone tryes to use my binding! ;D https://github.com/Hanmac/rwx/issues/5
<CaptainQuirk> workmad3, about ?
<workmad3> CaptainQuirk: ruby 1.8.7
<CaptainQuirk> yeah, old ubuntu version
<CaptainQuirk> can I use rvm to fix this
<workmad3> yeah
Brolen has quit [Quit: Brolen]
<workmad3> also, ruby 1.8.7 gems wouldn't be installed under /var/lib/gems/1.9.1
yacks has joined #ruby
jhaals has joined #ruby
zipper has quit [Remote host closed the connection]
zipper has joined #ruby
Hanmac1 has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
<CaptainQuirk> workmad3, yes, but I don't think I'm using ruby 1.8.7 gems
shedd has joined #ruby
coderhs has joined #ruby
Hanmac has quit [Ping timeout: 265 seconds]
<ddd> cd ~/<yourgemdir> && curl -sSL https://get.rvm.io | bash -s stable && source ~/.bash_profile && rvm --create use 2.0.0-p353@<yourgemname> && echo 'rvm --create use 2.0.0-p353@<yourgemname.' > .rvmrc && rvm rvmrc trust . && cd . && bundle install # provided you have a Gemfile even if it just says 'gemspec' in it)
<ddd> have fun with rvm, a current ruby, a gemset, your gem using that ruby in the future, and less problems :)
<Hanmac1> dd you should update your line, 2.1 is released
Hanmac1 is now known as Hanmac
<ddd> released already? cool!
<Hanmac> yeah it was a christmas present
<ddd> didn't pay any attention to the topic until you said that hehe
<ddd> nice!
<ddd> brb then
<Hanmac> php users got coal
mihi has joined #ruby
anderson has quit [Ping timeout: 245 seconds]
<CaptainQuirk> I cannot use 1.9.1 with rvm, only a 1.9.1[-p431]
<CaptainQuirk> Will it mess up my existing gems ?
<ddd> umm, 1.9.,1-p431 *is* a 1.9.1
<ddd> s/\,//
siwica has joined #ruby
troyready has quit [Ping timeout: 264 seconds]
emocakes has quit [Quit: Leaving...]
butblack has joined #ruby
shedd has quit [Ping timeout: 245 seconds]
zipper has quit [Ping timeout: 248 seconds]
<pontiki> i wouldn't mind having some coal right now.
<ddd> i hear ya. freezing atm
kayloos has quit []
emocakes has joined #ruby
<ddd> -7F atm. my heaters haven't kicked off yet
siwica has quit [Read error: Operation timed out]
flame_ has quit [Quit: Computer has gone to sleep.]
mzemel has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
vlad_starkov has joined #ruby
kaldrenon has joined #ruby
<Hanmac> 8°C outside ... still no snow yet :'(
zipper has joined #ruby
dukz has quit [Remote host closed the connection]
<ddd> only bad thing about this laptop is how long it takes to buils tuff, but for a freebie @ 1.2GHz + 8GB RAM i'm not really gonna complain loudly :)
threesome has quit [Quit: Leaving]
phus1on has quit [Quit: ZNC - http://znc.in]
Kar- has quit [Ping timeout: 240 seconds]
anderson has joined #ruby
kaldrenon has quit [Read error: Operation timed out]
colonolGron has joined #ruby
shaunbaker has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
ddd has quit [Quit: leaving]
ddd has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
gja has quit [Quit: This computer has gone to sleep]
bigbadbear has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
nannes has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<shevy> Hanmac +8 ?
<Hanmac> yeah i know ... i feel trolled by the weather ...
<ddd> bwahahha! just saw travis close a bug with 'PEBKAC Error'
<shevy> lol
<shevy> "trolled by the weather" awesome :)
wuest has joined #ruby
<Hanmac> i mean i wanted something like "white Christmas" but what is? > +10°C outside ...
OdNairy has quit [Ping timeout: 265 seconds]
monkegjinni has quit [Remote host closed the connection]
maveonair has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
toastynerd has joined #ruby
nhhagen has quit [Remote host closed the connection]
<shevy> yeah
<shevy> it's 9.5°C in vienna as well
zeeraw has joined #ruby
<shevy> and btw for X-mas you are like 2 weeks late at least!
petey has joined #ruby
<Hanmac> shevy: i mean there was no snow in december too
Mars has joined #ruby
Mars is now known as Guest86186
<shevy> yeah
<shevy> and it was cold
<shevy> so it was a double loss :(
CaptainKnots has joined #ruby
<shevy> at least if it is cold, there should be snow
<shevy> but it was only raining
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toastynerd has quit [Ping timeout: 240 seconds]
Advocation has quit [Quit: Advocation]
<CaptainQuirk> I changed my ruby version by installing rvm and doing rvm use 1.9.1
<CaptainQuirk> I'm in a project where my bundle install was already run
<CaptainQuirk> And i get an error in running bundle/exec
doodlehaus has joined #ruby
<CaptainQuirk> uninitialized constant Bundler::RbConfig
petey has quit [Ping timeout: 240 seconds]
<Jamo> try doing bundle install again
bigbadbear has quit [Ping timeout: 260 seconds]
<CaptainQuirk> with sudo, it works
Guest86186 has quit [Ping timeout: 240 seconds]
<CaptainQuirk> well, it just shows me the list of installed gems
crus has quit [Ping timeout: 246 seconds]
<CaptainQuirk> but the error remains
krz has quit [Quit: WeeChat 0.4.2]
<ddd> oh i so hope you didn't use sudo with rvm
<CaptainQuirk> tried to :)
<ddd> i posted a slew of commands, not one of which contained sudo
<CaptainQuirk> but it wouldn't
<ddd> why would you?
<CaptainQuirk> old habits die hard
<ddd> ok, last time i spoonfeed
<ddd> rvm.io and see the docs on why not to do that
<CaptainQuirk> spoonfeed ?
crus has joined #ruby
<ddd> yeah hand over a set of commands on the assumption one would digest the commands before actually running them so they knew what they were doing.
<CaptainQuirk> ok, sorry, I didn't even see the commands you posted
<CaptainQuirk> my mistacke
<ddd> (well ones that weren't even followed for that matter, but ok)
<CaptainQuirk> *eke
<CaptainQuirk> ake
<shevy> awwww bundler AND rvm AND sudo ;)
<CaptainQuirk> I didn't use sudo
<ddd> you said you tried to
<shevy> but you said with sudo it works!
sinm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ddd> and that
<CaptainQuirk> no, I said sudo bundle install works
asmodlol has joined #ruby
<CaptainQuirk> not sudo rvm install
<CaptainQuirk> bundle installs fails
<CaptainQuirk> undefined method use_ssl
wildroman2 has quit []
<shevy> what operating system do you use?
<CaptainQuirk> ubuntu
tharindu has quit [Quit: Leaving...]
<CaptainQuirk> but an old one
h_kon has joined #ruby
<CaptainQuirk> 11.10
razibog has quit [Remote host closed the connection]
wildroman2 has joined #ruby
mojjojo has quit [Quit: mojjojo]
ewnd9 has quit [Ping timeout: 264 seconds]
<shevy> hmm
<shevy> perhaps your openssl is incomplete
mklappstuhl has joined #ruby
<CaptainQuirk> It's actually a bug
<CaptainQuirk> lol
mklappstuhl has quit [Read error: Connection reset by peer]
<CaptainQuirk> I'll stop bothering you guys, I need to dive into it, I'm wasting your time
<CaptainQuirk> sorry
<shevy> bundler should be renamed bugler
<CaptainQuirk> shevy, is there an alternative ?
<workmad3> CaptainQuirk: if you read that, it's not a bug
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<workmad3> CaptainQuirk: it's a failure on an unsupported ruby version
mklappstuhl has joined #ruby
monkegjinni has joined #ruby
<shevy> CaptainQuirk well if you want to or have to use bundler then of course you have no alternative. otherwise, if you don't have to use bundler, you could compile ruby from source and use the .gem files you need
petey has joined #ruby
maveonair has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> CaptainQuirk: basically, bundler 1.4+ (current release is 1.5.1) needs ruby 1.9.2+
zz_karupanerura is now known as karupanerura
burlyscudd has joined #ruby
<CaptainQuirk> workmad3, you're right, but 1 .9.0 and 1.9.2 supported although 1.9.1 is not is a bit fishy
<shevy> the bundler team is lazy ;)
<workmad3> 1.9.0 is not supported... if it happens to work that's coincidental
<workmad3> 1.9.0 should basically never be used for anything... that's even the official recommendation from ruby core iirc
<shevy> CaptainQuirk, ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p484.tar.gz
browndawg has left #ruby [#ruby]
<CaptainQuirk> workmad3, thanks for that, didn't know
<CaptainQuirk> my installation is not that old
kewubenduben has quit [Read error: Connection reset by peer]
<ddd> i thought that was 1.9,.1 but hanmac said thats not true, its as just incompatabilities in encodings
<CaptainQuirk> but ok
<CaptainQuirk> thanks
ahawkins has joined #ruby
mojjojo has joined #ruby
<workmad3> ddd: 1.9.1 is probably advised agaist too, but 1.9.0 iirc had some fairly major flaws... 1.9.2 is really the time when 1.9 stabilised :)
petey has quit [Ping timeout: 248 seconds]
<workmad3> but there's a reason why the 1.9 branch has an ABI compatibility of 1.9.1, not 1.9.0 ;)
<CaptainQuirk> workmad3, If I upgrade using rvm, what could go wrong on my machine
<CaptainQuirk> I mean in other projects ?
<CaptainQuirk> wrong term
<CaptainQuirk> with other gems
<workmad3> well, rvm installs completely separately to packaged versions
<workmad3> separate gem paths too
ahawkins has quit [Read error: Operation timed out]
kewubenduben has joined #ruby
<ddd> workmad3 yeah i knew that on .2 guess i just had my earlier version strings screwy
<workmad3> so it won't change anything with any existing gem installs
burlyscudd has quit [Ping timeout: 264 seconds]
<workmad3> it'll shadow existing versions when you're using any rvm installed ruby though
<shevy> CaptainQuirk come on man
<shevy> you already use RVM
<shevy> if you are scared of upgrades, don't use rvm, use debian ruby
kebabski has joined #ruby
<CaptainQuirk> scared is not the proper word ; I'm askiing about potential hazards
<CaptainQuirk> and I use rvm since 15 minutes
jkhwan has joined #ruby
<workmad3> CaptainQuirk: *potential* hazards are many and varied... *likely* hazards are fairly small
Kabaka has quit [Ping timeout: 265 seconds]
<CaptainQuirk> ok, but as I said, I didn't do my homework
<workmad3> CaptainQuirk: if you're concerned, maybe you should? :P
Rylee has quit [Ping timeout: 245 seconds]
lantry has quit [Remote host closed the connection]
<shevy> you are like a young fish in a pond with sharks
nullsign has quit [Ping timeout: 265 seconds]
<shevy> or piranhas, if that works better for you
nullsign has joined #ruby
kewubenduben has quit [Ping timeout: 240 seconds]
kewubenduben has joined #ruby
ahri has quit [Ping timeout: 272 seconds]
<workmad3> shevy: I'd use the metaphor of an old map and the territory marked out with 'here be dragons' personally :)
<workmad3> chances are there's crevices, pitfalls and other nasties there... but right now you have one big amorphous blob of fantasy danger in an area that is probably mostly safe :)
<Hanmac> workmad3: TerryPratchett reader right? ;P
<workmad3> Hanmac: hehe :) yup
kebabski has quit [Ping timeout: 248 seconds]
<pontiki> :D
<shevy> I loved the orang utan
<pontiki> pterry
* pontiki gives shevy a banana
<pontiki> Oook!
<Hanmac> workmad3: i dont remember, what was that one shortcut on maps ? "mmu" => "many miles uberwald"?
jkhwan has quit [Ping timeout: 272 seconds]
<workmad3> Hanmac: I can't recall either I'm afraid
shedd has joined #ruby
<workmad3> Hanmac: of course, with discworld maps, 'here be dragons' could easily be accurate :)
KK4MGV has quit [Ping timeout: 272 seconds]
<gwb3> Why does 50 & 1 evaluate to 0?
* Hanmac likes the tiny swamp dragons ...
<gwb3> I'm reading about the ampersand operator but am having a little trouble grasping how it is evaluating.
<workmad3> gwb3: because that's a bitwise &
<workmad3> gwb3: and an even number will never have a binary representation ending with a 1
<Hanmac> >>[50 & 1,50 && 1]
<eval-in> Hanmac => [0, 1] (https://eval.in/86214)
<CaptainQuirk> shevy, I'm dark haired and I shaved this morning
<workmad3> >> 50 & 2
gja has quit [Quit: This computer has gone to sleep]
<eval-in> workmad3 => 2 (https://eval.in/86215)
<CaptainQuirk> I hardly qualify
kitak has joined #ruby
<shevy> CaptainQuirk Hanmac here also uses ubuntu and is a big fan of bundler :)
<Hanmac> lies! all lies!
<CaptainQuirk> shevy, It's a side project I'm trying to work on my personal time
Kar- has joined #ruby
<CaptainQuirk> that just ended 10 minutes ago
<CaptainQuirk> bye guys
karupanerura is now known as zz_karupanerura
gja has joined #ruby
<CaptainQuirk> You're quite well disposed piranhas by the way
<CaptainQuirk> I've known worse
nannes has joined #ruby
<pontiki> piranha with top hat and monocle
gasbakid has joined #ruby
<gwb3> workmad3: thanks for your help - so if I am grasping so far... the bitwise operator compares the binary for the first argument to the other
CaptainQuirk has quit [Quit: Leaving]
butblack has quit [Quit: butblack]
<workmad3> gwb3: it does a bitwise comparison and evaluates to the resulting bitstring, yes
shedd has quit [Ping timeout: 245 seconds]
<workmad3> gwb3: e.g. 3 & 2 -> 0011 & 0010 -> 0010 so 3 & 2 == 2
<pontiki> gwb3: it is the same as it is in C, perl, Java, and quite a few other languages
<gwb3> i think i am just having a little trouble understanding how to do the math by hand to cum up with the result
<gwb3> haha come*
<gwb3> sheesh
ahmedelgabri has quit [Remote host closed the connection]
mojjojo has quit [Quit: mojjojo]
hukl has joined #ruby
<gwb3> for example, why 14 & 13 >> 12
<shevy> gwb3 once you understood it, you'll be able to apply it in all those languages
<workmad3> gwb3: boolean logic ;) 1 & 0 == 0, 1 & 1 == 1
KK4MGV has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<workmad3> gwb3: 14 == 1110, 13 == 1101, so 14 & 13 = 1100 == 12
<tobiasvl> gwb3: what do you need bitwise arithmetics for?
Kar- has quit [Ping timeout: 265 seconds]
<gwb3> i was just reading some introductory stuff on ruby
<gwb3> it was an example of working in the interpreter
<shevy> he wants to LEARN
<jmaister> o_O
<gwb3> yeah, exactly
<shevy> powerful bitwise juggling mage
<shevy> bitwise shifting towards Infinity
* jmaister bitshifts closer to shevy
<workmad3> gwb3: basically, what you're learning here is a bit about number representations and a bit about boolean logic
doodlehaus has quit [Remote host closed the connection]
<gwb3> cool
* pontiki sits perfectly still, and concentrates intently, manifesting a perceptible red-shift without moving at all
ewnd9 has joined #ruby
<workmad3> gwb3: so to understand it, you start by converting the numbers to a binary representation
<jmaister> ruby red shift?
<shevy> Infinity = 1.0/0; Infinity.infinite? # => 1
<workmad3> e.g. 14 == 8 + 4 + 2 == 1110
chrisramon has joined #ruby
ejnahc_ has quit [Ping timeout: 272 seconds]
<shevy> hmmm
<shevy> is 8 + 4 + 2 really 14 ...
ejnahc has joined #ruby
breakingthings has joined #ruby
<workmad3> shevy: I'm assuming peano axioms and standard arabic numerals in a decimal representation
<pontiki> the jargon is heavy with him
<jmaister> Can you prove the solution is unique?
<jmaister> relevant: smbc-comics.com/?id=3227
<workmad3> jmaister: :P
<gwb3> thanks everybody
<workmad3> jmaister: I'm not decomposing into sums of primes ;)
stryek has quit [Ping timeout: 272 seconds]
<pontiki> so, gwb3, are you the former president's grandson or something?
<jmaister> lazy gets you nowhere
<jmaister> => false
wildroman2 has quit [Remote host closed the connection]
<workmad3> jmaister: it's not lazy... sums of primes aren't really much good when doing representation transforms :P
<pontiki> some of the best stuff has been done in the name of being lazy
Gonzih has quit [Quit: IRC is just multiplayer vim.]
<workmad3> jmaister: I can't prove (although I'm pretty sure it is) that my solution is a unique decomposition into powers of 2
<jmaister> I'll give you a C+
wildroman2 has joined #ruby
<workmad3> jmaister: I'd hazard a guess that such a proof would be a reductio ad absurdum style proof though ;)
asmodlol has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
<gwb3> pontiki: no, thankfully, but i have the same initials :)
<jmaister> Guess we won't know that until you get tendonitis trying to find the solution
wildroman2 has joined #ruby
<shevy> as long as you are not as EVIL it's all fine gwb3
codenapper has quit [Read error: Connection reset by peer]
<shevy> Gustav William Banister the third
codenapper has joined #ruby
* gwb3 thumbs up
shaunbaker has joined #ruby
<gwb3> I'm Garland William Binns III
varfoo has quit [Ping timeout: 264 seconds]
<shevy> do people in the english speaking countries actually use the name Gustav or Gustaf? :)
<workmad3> damn, my secret code is revealed... my true name is William Oliver Roger Konan Michael Anthony Davis the Third...
<pontiki> only by choice
<jmaister> gwb3: rad name
<gwb3> jmaister: thanks :)
<shevy> in the german speaking countries, Scrooge McDuck is actually called Dagobert Duck
<pontiki> Scrooge Mc == Dagobert?
<shevy> yeah
<shevy> and Gladstone Gander is called Gustav Gans
<jmaister> Damn Germans
<shevy> I agree jmaister!
sinm has joined #ruby
<shevy> transliterations often neuter the original meaning
<jmaister> In Norwegian he's called Skrue McDuck
<shevy> hehe
<shevy> what means Skrue?
<jmaister> Literally Screw McDuck
<shevy> lol
<tobiasvl> jmaister: howdy fellow weegie
<Hanmac> workmad3: do you know "Dot"'s full name from Animaniacs? ;D
gasbakid has quit [Ping timeout: 260 seconds]
<jmaister> Weegee: A nickname for the Norwegian Forest Cat
<jmaister> TIL
<workmad3> Hanmac: I sure do :P
<workmad3> Princess Angelina Contessa Louisa Francesca Banana Fanna Bo Besca the Third
nannes has quit [Ping timeout: 265 seconds]
<tobiasvl> hehe. "weegie" is short for "Norwegian" (or "Luigi" I guess)
* workmad3 hopes that no one realise that the speed I 'typed' that out implies google, copy & paste)
<jmaister> I've never heard that before
maveonair has joined #ruby
* Hanmac recently watched the movie in germany ... (but in english the jokes are better)
gasbakid has joined #ruby
mark_locklear has joined #ruby
QKO has quit [Ping timeout: 272 seconds]
klaut has quit [Remote host closed the connection]
QKO has joined #ruby
Chillectual has joined #ruby
lioninawhat has joined #ruby
dangerousdave has joined #ruby
OdNairy has joined #ruby
doodlehaus has joined #ruby
soobus has joined #ruby
LinearInterpol has quit [Ping timeout: 248 seconds]
zeeraw has joined #ruby
butblack has joined #ruby
claymore has joined #ruby
mityaz has quit [Quit: See ya!]
aef_ has quit [Remote host closed the connection]
aef has joined #ruby
lkba has joined #ruby
mklappst_ has joined #ruby
toastynerd has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
figgleberry has quit [Ping timeout: 260 seconds]
jkamenik has joined #ruby
kcombs has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
sambao21 has joined #ruby
mklappstuhl has quit [Ping timeout: 260 seconds]
Hanmac1 has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
digifiv5e_ has quit [Changing host]
digifiv5e_ has joined #ruby
digifiv5e_ is now known as guyz
guyz is now known as digifiv5e
brandon has joined #ruby
Mars has joined #ruby
danijoo has joined #ruby
brandon is now known as Guest76088
Mars is now known as Guest41697
stryek has joined #ruby
toastynerd has quit [Ping timeout: 265 seconds]
Hanmac has quit [Ping timeout: 265 seconds]
casheew has quit [Read error: Operation timed out]
Astralum has joined #ruby
lyanchih_ has joined #ruby
krawchyk has joined #ruby
burlyscudd has joined #ruby
mklappst_ has quit [Remote host closed the connection]
momomomomo has joined #ruby
soobus has quit [Ping timeout: 240 seconds]
Guest41697 has quit [Ping timeout: 260 seconds]
Ziarkaen has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ffranz has joined #ruby
Astralum has quit [Ping timeout: 252 seconds]
shaunbaker has quit [Remote host closed the connection]
danijoo has quit [Quit: Leaving...]
Al__ has quit [Quit: Al__]
danijoo has joined #ruby
danijoo has quit [Client Quit]
danijoo has joined #ruby
nus1 has left #ruby [#ruby]
petey has joined #ruby
Al__ has joined #ruby
kcombs has quit [Remote host closed the connection]
codenapper has quit [Read error: Connection reset by peer]
codenapper has joined #ruby
joaoh82 has quit [Remote host closed the connection]
casheew has joined #ruby
emocakes has quit [Quit: Linkinus - http://linkinus.com]
ahmedelgabri has joined #ruby
Neomex has joined #ruby
OdNairy has quit [Ping timeout: 245 seconds]
codenapper has quit [Read error: Connection reset by peer]
fuhgeddaboudit has joined #ruby
RaCx has joined #ruby
chrisramon has quit [Quit: chrisramon]
codenapper has joined #ruby
<shevy> hmmm
agjacome has quit [Read error: Operation timed out]
<shevy> question
<shevy> I have like:
<shevy> require 'foo'
<shevy> and the namespace is a module Foo
arietis has joined #ruby
eeureebz has joined #ruby
<shevy> is it possible to have a project auto-include a required module like that, just from a require line alone?
Neomex has quit [Client Quit]
soobus has joined #ruby
w4pm has joined #ruby
joonty has quit [Ping timeout: 246 seconds]
mihi has quit [Quit: Leaving]
freebs has joined #ruby
Advocation has joined #ruby
fusi0n has joined #ruby
figgleberry has joined #ruby
<waxjar> shevy: you can require other files in foo.rb, is that what you meant?
felixjet_ has joined #ruby
sinm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
L8D has joined #ruby
Elhu has joined #ruby
trautwein has joined #ruby
<apeiros> shevy: since you can have any code in foo.rb, you can also put an include into that file.
codenapper has quit [Read error: No route to host]
OdNairy has joined #ruby
phinfonet has joined #ruby
OdNairy has quit [Read error: Connection reset by peer]
<phinfonet> hello
mklappstuhl has joined #ruby
<phinfonet> i'm having some troubles with rbenv/rvm, can anyone help-me?
Chillectual is now known as LinearInterpol
w4pm has quit [Ping timeout: 260 seconds]
daidoji has joined #ruby
colonolGron has quit [Quit: leaving]
<Hanmac1> phinfonet: #rvm has own channel maybe they are faster with help there
jkhwan has joined #ruby
<phinfonet> but isn't directly with rvm/rbenv
<phinfonet> i've tried to use these ruby version managers, but ever i try to install a gem or run ruby code, i receive a illegal instruction error
mklappstuhl has quit [Read error: Connection reset by peer]
<pontiki> it's usually better to just ask the question, rather than asking if you can ask a question
monkegjinni has quit [Read error: Connection reset by peer]
Kar- has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
mklappstuhl has joined #ruby
<phinfonet> hmmm
monkegjinni has joined #ruby
Azulinho has quit [Quit: Leaving]
bgy_ has quit [Changing host]
bgy_ has joined #ruby
bgy_ is now known as bgy
<eeureebz> hello friends! I'm trying manage to install "nokogiri 1.6.1" however it's saying requires ruby 1.9.2 nevertheless that is already installed. Sorry, but I have not found anything helpful so came here. Please any hint? Thx!!
<phinfonet> i'm searching by solution since november-2013, no success
ahmedelg_ has joined #ruby
ahmedelg_ has quit [Remote host closed the connection]
<pontiki> what operating system , phinfonet ?
<phinfonet> OSX 10.9.1
<pontiki> how did you install things?
<phinfonet> ever works fine in 10.8.x
<phinfonet> i've installed using homebrew
<Hanmac1> eeureebz: what does "ruby -v" and "gem env" shows for you?
<phinfonet> and the system ruby works fine too
<phinfonet> ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
<pontiki> i'm entirely unsure what would cause an illegal instruction error
<phinfonet> returns it because i'm using system ruby
jamesaanderson has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
<eeureebz> ruby 1.9.2dev (2010-07-02) [i486-linux]
shedd has joined #ruby
<pontiki> you have the latest xcode and xcode command line tools installed?
<phinfonet> yep
<Hanmac1> maybe you try to run non-apple apps on an apple system ... maybe apple changed the policy and mark them as "illegal"? ;P
alex88 has joined #ruby
<Hanmac1> eeureebz: try to use newer ruby version (ruby2.1 was released a few weeks ago)
<phinfonet> mope
<phinfonet> *nope
<eeureebz> RUBYGEMS VERSION: 1.3.7
ahmedelg_ has joined #ruby
ahmedelgabri has quit [Ping timeout: 245 seconds]
<pontiki> phinfonet: show me the output of gcc --version, pls?
<phinfonet> is an illegal hardware instruction
mary5030 has joined #ruby
lioninawhat has quit [Remote host closed the connection]
Pixels has quit [Read error: Connection reset by peer]
Pixels has joined #ruby
<pontiki> identical to mine
<phinfonet> is the same system?
<pontiki> same version
<phinfonet> hmmm
<phinfonet> a bit weird it
joonty has joined #ruby
codenapper has joined #ruby
trautwein has quit [Read error: Connection reset by peer]
<Hanmac1> phinfonet: last time i worked on mac i downloaded newest clang and newest gcc with macports ... i dont know if its possible with homebrew too (as far as i know RVM uses ports internally)
<phinfonet> rvm uses macports
<pontiki> Hanmac1: it works fine with the latest xcode command line tools
<phinfonet> but i like more homebrew
shedd has quit [Ping timeout: 265 seconds]
mlpinit has joined #ruby
<pontiki> i did not use homebrew to install my rubies, though
<Hanmac1> pontiki: system clang uses "--with-gxx-include-dir=/usr/include/c++/4.2.1" ... the gxx version was a bit outdated for my usages ... thats why i builded new versions ...
Bira has quit [Remote host closed the connection]
Kruppe has quit [Quit: ZNC - http://znc.in]
<phinfonet> pontiki: what you use?
<pontiki> you're writing your own C methods, right, Hanmac1 ?
mzemel has joined #ruby
flowerhack_ has joined #ruby
OdNairy has joined #ruby
<pontiki> phinfonet: currently ruby-build and chruby
<Hanmac1> pontiki: i did write an C++ binding which uses also c++11 components if available
<phinfonet> hmm
<phinfonet> not works for me too
<phinfonet> just the system ruby
<pontiki> idk, phinfonet
Kruppe has joined #ruby
Kar- has quit [Ping timeout: 245 seconds]
codenapper has quit [Read error: Connection reset by peer]
<phinfonet> you've installed using homebrew?
<pontiki> the one time i got illegal instruction was because the xcode command line tools were out of sync with xcode
Xeago has joined #ruby
codenapper has joined #ruby
<phinfonet> it might be outdated...
lfox has joined #ruby
<pontiki> even if you do the automated xcode update, you have to do the xcode command line tools explicitly
eka has joined #ruby
browndawg has joined #ruby
<pontiki> but it looks the same to me
sinm has joined #ruby
<phinfonet> i've some errors in extensions install too
<phinfonet> using brew
<pontiki> sorry, i'm at a loss
Macaveli has quit [Quit: Leaving]
<phinfonet> you uses homebrew?
<momomomomo> I use home-brew on mac
zipper has quit [Ping timeout: 276 seconds]
zipper_ has joined #ruby
robertrv has joined #ruby
Bira has joined #ruby
<phinfonet> i'm thinking in replace it, use macports again
<eeureebz> hey friend thanks! I gonna go after that! But BT5 R3 has no ruby 2.xx maybe github, allright!
mary5030 has quit [Read error: Connection reset by peer]
Cephalostrum has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> waxjar yeah... I think that's what I meant... but perhaps I was confused when I asked it hmm...
mary5030 has joined #ruby
<shevy> I think I wanted to ask differently
johnmilton has joined #ruby
<momomomomo> I've only had issues with macports when trying to find certain libraries
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<momomomomo> otherwise I didn't mind it
<shevy> phinfonet what ruby version do you have or use right now?
<phinfonet> 2.0.0-p247
figgleberry has quit [Ping timeout: 248 seconds]
kcombs has joined #ruby
<pontiki> eeureebz seems enthusiastic
<shevy> waxjar I think what I actually wanted to ask was whether require 'foo' can include that module Foo into all classes and modules inside a given .rb, without having to explicitely use include in those classes or modules. Like, to just use require alone to include modules onto modules and classes magically
iamjarvo_ has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
jrowe has joined #ruby
jrowe is now known as jeremywrowe
<waxjar> yeah, i think so. i don't see why not.
RaCx has quit [Ping timeout: 248 seconds]
bline79_ has quit [Ping timeout: 246 seconds]
chihhsin has quit [Read error: Connection reset by peer]
<shevy> I need more beer, my brain doesn't see things clearly right now
RaCx has joined #ruby
<waxjar> haha
ckinni has joined #ruby
Kruppe has quit [Quit: ZNC - http://znc.in]
jeremywrowe has quit [Client Quit]
klaut has joined #ruby
sailias has joined #ruby
chihhsin has joined #ruby
alex88 has quit [Quit: Leaving...]
<eeureebz> c lol
<shevy> huh
<shevy> what is .kind_of?
peneconleche has joined #ruby
iamjarv__ has joined #ruby
Guest22075 has joined #ruby
<waxjar> it is an alias of is_a?
Kruppe has joined #ruby
<shevy> const_get(sym).instance_eval {extend(m) if kind_of?(Module) }
<shevy> aaaah
<shevy> ok
iamjarvo_ has quit [Ping timeout: 245 seconds]
gasbakid_ has joined #ruby
Xeago has quit [Remote host closed the connection]
Czupa has joined #ruby
jeremywrowe has joined #ruby
<Hanmac1> kind_of? and is_a? are the same method, but there is also instance_of? which is different
gasbakid has quit [Ping timeout: 264 seconds]
Guest22075 has quit [Changing host]
Guest22075 has joined #ruby
Guest22075 is now known as diegoviola
jetblack_ has joined #ruby
<shevy> I like how Hanmac always makes things more complicated :)
Wixy has quit [Ping timeout: 276 seconds]
danijoo has quit [Quit: Leaving...]
lukec has joined #ruby
Astralum has joined #ruby
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
claymore has quit [Quit: Leaving]
jetblack has quit [Ping timeout: 245 seconds]
enebo has joined #ruby
tannerburson has joined #ruby
jeremywrowe is now known as jrowe
toastynerd has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
jrowe is now known as jeremy_w_rowe
tt1187 has joined #ruby
jeremy_w_rowe has quit [Quit: jeremy_w_rowe]
jeremy_w_rowe has joined #ruby
xdrone has joined #ruby
mojjojo has joined #ruby
claymore has joined #ruby
decoponio has joined #ruby
kpshek has joined #ruby
iamjarv__ has quit [Remote host closed the connection]
iamjarvo_ has joined #ruby
Yan__ has joined #ruby
bigbadbear has joined #ruby
Gonzih has joined #ruby
toastynerd has quit [Ping timeout: 240 seconds]
Mars has joined #ruby
Wixy has joined #ruby
Landshark753 has joined #ruby
sassamo has joined #ruby
Mars is now known as Guest19595
xdrone has left #ruby [#ruby]
mmitchell has joined #ruby
mikecmpbll has joined #ruby
Kar- has joined #ruby
fire has joined #ruby
troessner has quit [Quit: Leaving]
iamjarvo_ has quit [Ping timeout: 248 seconds]
LexicalScope has joined #ruby
troessner has joined #ruby
danijoo has joined #ruby
bigbadbear has quit [Ping timeout: 260 seconds]
h_kon has quit [Remote host closed the connection]
eeureebz has left #ruby ["Leaving"]
devdazed has joined #ruby
mzemel has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Virtualize has joined #ruby
spyderman4g63 has joined #ruby
Guest19595 has quit [Ping timeout: 265 seconds]
zeeraw has joined #ruby
yasushi has joined #ruby
klaut has quit [Read error: Connection reset by peer]
Kar- has quit [Ping timeout: 248 seconds]
<shevy> is the rails String#blank? very useful?
klaut_ has joined #ruby
wald0 has joined #ruby
<wald0> I have a little OS related question about ruby
camilasan has quit [Remote host closed the connection]
<hoelzro> wald0: shoot
nateberkopec has joined #ruby
<cout> don't ask to ask, just ask (if you ask to ask, then we'll ask you "please ask", and then you'll ask, and that's a lot of asking)
Landshark753 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wald0> let's say i have an important OS app made in ruby, the shebang says "#!/usr/bin/env ruby", this means that the app can be broken (for the user) if that user install ruby's/gems by its own and creates a kindof uncompatibility with it ?
zipper_ has quit [Ping timeout: 265 seconds]
<wald0> in other words, is more safe to use "#!/usr/bin/ruby1.9" instead ?
phansch has quit [Read error: Operation timed out]
snath has quit [Ping timeout: 264 seconds]
<cout> wald0: this is a very controversial subject
<cout> not all machines have a /usr/bin/env
mlpinit has quit [Remote host closed the connection]
<cout> and not everyone with ruby 1.9 names the binary "ruby1.9"
<wald0> cout: well, on this specific case the "machine" (os) is very specific, not variable
mlpinit has joined #ruby
<cout> in that case go with what works
<cout> I like env
joaoh82 has joined #ruby
<wald0> ok let me explain, if im not wrong, by using "env" you "allow" the tool to be run by the ruby version that the user has defined/installed, but not in the other way since you force say "use that version of ruby FROM the system and not from the user home, even if he has instaled it or not"
<shevy> wald0 I think shebangs that point to /usr/bin is a bit weird because it is already in $PATH variable
<wald0> by some reason with these gems and stuff, which is a thing that users mostly want to install by its own, would allow a ruby-app to be easly breakable by overwritting ruby's or dependencies (gems) user-installed
<jeremy_w_rowe> shevy: yeah - it is a good way to check to see if there is no content in an object. The method actually for all Object decedents. It first checks if the class responds to empty and if not it does !self (not nil comes into play here)
<wald0> by some reason i feel like *
larissa has joined #ruby
<jeremy_w_rowe> shevy: good for checking user input from a form
JuanDaugherty has quit [Read error: Connection reset by peer]
pen has quit [Remote host closed the connection]
chihhsin has quit [Read error: Connection reset by peer]
jerius has joined #ruby
Brolen has joined #ruby
joaoh82 has quit [Ping timeout: 245 seconds]
<shevy> jeremy_w_rowe hmm I see
chihhsin has joined #ruby
<shevy> wald0 well what do you want to allow your users - that they install with prefix /usr and also home prefixes? but only on systems with hardcoded ruby1.9 binary names
<shevy> the problem with the shebangs is that they must point to specific existing locations
Yan__ has quit [Read error: Operation timed out]
<shevy> on debian they typically have a symlink called ruby pointing to ruby1.8 or ruby1.9
<wald0> yeah, debian
Yan__ has joined #ruby
<wald0> im worried about that the app will not "break" by that the user has played installing gems or ruby versions on his home
<shevy> or perhaps into /etc/alternatives/
<wald0> if the app is run by a different version it "could" break, or if the gem's used are different versions ones too
otherj has joined #ruby
<shevy> I think $PATH checks on the principle of first in, first processed
otherj has quit [Client Quit]
Wixy has quit [Ping timeout: 248 seconds]
mary5030_ has joined #ruby
otherj has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
ahawkins has joined #ruby
<shevy> wald0 well just point your symlink to hardcoded /usr/bin/ruby
krawchyk has quit [Ping timeout: 245 seconds]
<ddd> first hit first used via $PATH
<shevy> but I think the shebang is only invokved when you don't explicitely use "ruby foo.rb" anyway
TorpedoSkyline has quit [Ping timeout: 272 seconds]
AlSquire has joined #ruby
kewubenduben has quit []
<wald0> yeah, not using ruby app.rb, so its a "system app"
<Hanmac1> shevy: shebang is only used when using ./foo.rb
<ddd> shebang is only called when the script is called by its own
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
fuhgeddaboudit has quit [Ping timeout: 276 seconds]
TorpedoSkyline has joined #ruby
shaunbaker has joined #ruby
<shevy> Hanmac1 yea
shaunbak_ has joined #ruby
klcant102 has joined #ruby
gwb3 has quit [Ping timeout: 245 seconds]
razibog has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
peneconleche is now known as peneconleche|awa
yasushi has quit [Remote host closed the connection]
phansch has joined #ruby
ace_striker has quit [Ping timeout: 272 seconds]
jkhwan has joined #ruby
fuhgeddaboudit has joined #ruby
claymore has quit [Quit: Leaving]
ahawkins has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Remote host closed the connection]
zeeraw has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
phinfonet has quit [Ping timeout: 241 seconds]
shaunbaker has quit [Ping timeout: 264 seconds]
sassamo has quit [Remote host closed the connection]
<ddd> only way to make it semi portable is to call #!/usr/bin/env ruby however i'd view info coreutils 'env invocation' to see how to lock it to a specific environment (stripped, injected, etc) idk if that helps but might make it easier for future invocations regardless of $PATH etc
burlyscudd has quit [Quit: Leaving.]
claymore has joined #ruby
sassamo has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
shtirlic_ has quit [Ping timeout: 245 seconds]
riku- has quit [Ping timeout: 245 seconds]
IceDragon has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
shtirlic has joined #ruby
riku- has joined #ruby
shedd has joined #ruby
butblack has quit [Quit: butblack]
jkhwan has quit [Ping timeout: 272 seconds]
wildroman2 has quit [Remote host closed the connection]
alexherbo2 has joined #ruby
wildroman2 has joined #ruby
rickruby has joined #ruby
mereghost has joined #ruby
mary5030_ has quit [Remote host closed the connection]
Wixy has joined #ruby
Wixy has joined #ruby
Wixy has quit [Changing host]
TTilus has quit [Ping timeout: 245 seconds]
LadyRainicorn has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
otherj has quit []
sassamo has quit [Ping timeout: 265 seconds]
TTilus has joined #ruby
wildroman2 has quit [Read error: Operation timed out]
<mereghost> Hi folks.
<LadyRainicorn> Hi
shedd has quit [Ping timeout: 240 seconds]
<shevy> ponicorns!
lukec has quit [Quit: lukec]
<shevy> and mere ghosts
<shevy> now all we would need is emocakes
<LadyRainicorn> Yes!
* LadyRainicorn bakes emocakes.
<IceDragon> what the hell
yedimind has joined #ruby
pzula has joined #ruby
mary5030 has joined #ruby
<wald0> is wxRuby a gui based on GTK ? the screenshots sections doesn't seems to work
gwb3 has joined #ruby
Taranis has quit [Quit: leaving]
rob_ has left #ruby [#ruby]
<LadyRainicorn> It's based on wx.
<IceDragon> which is based on GTK
<IceDragon> ;3
rickruby has quit [Remote host closed the connection]
<Hanmac1> wald0 you dont want to use wxRuby, try https://github.com/Hanmac/rwx
<IceDragon> :O
rickruby has joined #ruby
asteve has joined #ruby
<IceDragon> Look at that C++ to ruby ratio
<IceDragon> WHERE IS THE REAL HANMAC D:
mojjojo has quit [Quit: mojjojo]
<Hanmac1> IceDragon: you dont want to see the C marcos which i use inside the C++ code ;P
robbyoconnor has quit [Ping timeout: 252 seconds]
yedimind is now known as jedimind
<Hanmac1> LadyRainicorn: "THIS is something. I present to you, a unicorn made OUT of corn, The Corn-i-corn! I- i don't know, I'm tired. " >> http://static3.wikia.nocookie.net/__cb20130622192849/gravityfalls/images/3/32/S1e18_cornicorn.png
tagrudev has quit [Quit: Me = Awesome]
diego1 has joined #ruby
<sweeper> Hanmac1: on a surfboard no less
stryek has quit [Ping timeout: 245 seconds]
gwb3 has quit [Ping timeout: 245 seconds]
mereghost has quit [Ping timeout: 276 seconds]
diegoviola has quit [Ping timeout: 276 seconds]
asteve has quit [Client Quit]
ambushsabre has joined #ruby
v0n has joined #ruby
<IceDragon> Hanmac1: Macros are scary ;x
phinfonet has joined #ruby
<sweeper> macro? polo!
rickruby has quit [Ping timeout: 265 seconds]
<LadyRainicorn> Icedragon: ((((()()()))))
acrussell has joined #ruby
mereghost has joined #ruby
<IceDragon> Hanmac1: How do you shut G++ up about -fpermissive warnings ;3
<sweeper> total recall reference?
ndrei has joined #ruby
<LadyRainicorn> haha what is that Hanmac1?
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<Hanmac1> IceDragon: hm i dont get -fpermissive warnings with my code yet
kevind has joined #ruby
wildroman2 has joined #ruby
camilasan has joined #ruby
<IceDragon> I get a lot when using the rb_define_* functions in my extern-ed C code
flubba has quit [Remote host closed the connection]
mengu has quit []
<Hanmac1> LadyRainicorn: look the tv show "gravity falls" i recomend them, its similar to AdventureTime but not so crazy
Hanmac1 is now known as Hanmac
<pzula> quit
pzula has quit [Quit: leaving]
<IceDragon> :O
<IceDragon> fail
Taranis has joined #ruby
pzula has joined #ruby
bean has joined #ruby
yarou_ has joined #ruby
gwb3 has joined #ruby
aryaching has joined #ruby
<Hanmac> IceDragon: hm i dont know, i need to see your code ... i removed "-Wextra" and some other warnings from CONFIG["warnflags"] but i dont know if that is the reason
RaCx has joined #ruby
<IceDragon> possibly
<IceDragon> my code failed on permissive warnings (treated as errors at the time)
<Hanmac> IceDragon: also i allways build my bindings with g++ as cpp files but that should not be the reason
dapz has quit [Ping timeout: 265 seconds]
thiago__ has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
burlyscudd has joined #ruby
<IceDragon> one more question Hanmac: is it possible to do: `ruby extconf.rb --enable-static` so I can compile the static extension (by default $static = nil (disabled))
<Hanmac> i dont know ... i never ever build an extension static ...
lmickh has joined #ruby
iMe has quit [Ping timeout: 265 seconds]
<IceDragon> well ruby had an option to compile the extensions as static
<IceDragon> it.doesnt.work.at_all!
<LadyRainicorn> lol
interactionjaxsn has joined #ruby
<LadyRainicorn> I like crazy
maveonair has quit [Quit: Textual IRC Client: www.textualapp.com]
gja has joined #ruby
<IceDragon> seriously I've broke the Makefile, configure scripts more time than I can count
klaut_ has quit [Remote host closed the connection]
shedd has joined #ruby
<IceDragon> if you say: --enable-static and --disable-shared
_aeris_ is now known as [_aeris_]
<IceDragon> it will fail to build
bean has quit [Ping timeout: 264 seconds]
noop has quit [Ping timeout: 265 seconds]
<IceDragon> if you say: --disable-static and --enabled-shared it will fail to build
LexicalScope has quit [Ping timeout: 264 seconds]
dima_ has joined #ruby
apeiros has quit [Remote host closed the connection]
horofx has quit [Ping timeout: 260 seconds]
apeiros has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
derebos has quit [Ping timeout: 260 seconds]
iMe has joined #ruby
bean has joined #ruby
phutchin1 has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 276 seconds]
NimS has joined #ruby
Sammael has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
[_aeris_] is now known as _aeris_
vlad_starkov has joined #ruby
jlast has joined #ruby
toastynerd has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
Rainicorn has joined #ruby
arietis has joined #ruby
LadyRainicorn has quit [Ping timeout: 260 seconds]
Yan__ has quit [Read error: Operation timed out]
Guest95046 has joined #ruby
Guest95046 has quit [Changing host]
Guest95046 has joined #ruby
Guest95046 is now known as diegoviola
vlad_starkov has quit [Write error: Connection reset by peer]
_maes_ has joined #ruby
vlad_starkov has joined #ruby
iamjarvo has joined #ruby
asteve has joined #ruby
asteve has quit [Max SendQ exceeded]
Xeago has joined #ruby
toastynerd has quit [Ping timeout: 248 seconds]
asteve has joined #ruby
geggam has joined #ruby
_maes_ has quit [Client Quit]
Mars___ has joined #ruby
_maes_ has joined #ruby
jwalk has joined #ruby
soobus has quit [Ping timeout: 240 seconds]
freezey has joined #ruby
Kar- has joined #ruby
foooobear has quit [Quit: Lingo - http://www.lingoirc.com]
FifthWork has joined #ruby
mojjojo has joined #ruby
Yan__ has joined #ruby
aryaching has quit []
mzemel has joined #ruby
Rainicorn is now known as LadyRainicorn
dangerousdave has joined #ruby
Brolen has quit [Quit: Brolen]
Xeago has quit [Ping timeout: 260 seconds]
mzemel has quit [Client Quit]
Mars___ has quit [Ping timeout: 240 seconds]
sassamo has joined #ruby
aryaching has joined #ruby
VTLob has joined #ruby
Kar- has quit [Ping timeout: 255 seconds]
otherj has joined #ruby
geekbri has joined #ruby
brunops has joined #ruby
iamjarvo has quit [Remote host closed the connection]
gilcosson has quit [Ping timeout: 272 seconds]
<geekbri> I'm trying to define methods in an each loop inside of a class using define_method. Then I'm trying to use those methods inside of initialize through a block i'm passing in, I get undefined_method on those I defined. Is this some sort of issue with how define_method works and when initialize is called when creating a new objecT?
iamjarvo has joined #ruby
Brolen has joined #ruby
Ziarkaen has quit [Remote host closed the connection]
sassamo has quit [Ping timeout: 264 seconds]
<IceDragon> geekbri you'll need the Class's singleton_class
Wixy has quit [Ping timeout: 245 seconds]
ffranz has quit [Quit: Leaving]
mudmaster has joined #ruby
<geekbri> IceDragon: Why's that? I noticed if i try to use the method inside initialize myself it works fine. If I try to use the method inside initialize because i'm running block.call(self) where the block is just calling the method, I get undefined method
<IceDragon> hmm, could you provide a gist?
<IceDragon> and what version of ruby are you running?
fedesilva has joined #ruby
mudmaster has quit [Remote host closed the connection]
renklaf has quit [Remote host closed the connection]
<Hanmac> IceDragon: what about define_singleton_method ?
aganov has quit [Quit: Leaving]
Guest41935 has joined #ruby
mudmaster has joined #ruby
aspiers_ is now known as aspiers
idoru has joined #ruby
<geekbri> IceDragon: Currently I am using ruby 1.9.3-p327
<IceDragon> Hanmac: yeah :O I forgot about that
<IceDragon> okie dokie
mojjojo has quit [Quit: mojjojo]
soobus has joined #ruby
<IceDragon> XD
<IceDragon> geekbri, I see your problem already
<geekbri> IceDragon: Well I wish I could have spotted it that fast!
<IceDragon> look at the last 3 lines
sambao21 has quit [Quit: Computer has gone to sleep.]
<IceDragon> The scope of that block is outside the class
<geekbri> the last 3 lines are just testing it
<IceDragon> even though you called it inside the initializer, its scope is still outside the class
<IceDragon> ;3 You need to instance_eval that block if you want it to work both ways
<IceDragon> lemme test to make sure though
<geekbri> ah ha
<geekbri> I _think_ i understand.
w4pm has joined #ruby
brunops has quit [Ping timeout: 265 seconds]
joaoh82 has joined #ruby
sassamo has joined #ruby
<geekbri> so instead of block.call(self) I would need to be doing instance_eval(&block)
<IceDragon> yup
RaCx has quit [Ping timeout: 265 seconds]
<geekbri> Awesome, thanks. I would have been stuck on that for a while
<geekbri> Now that you've pointed it out though, it's so obvious and clear :)
jprovazn has quit [Quit: Leaving]
RaCx has joined #ruby
ambushsabre has quit [Quit: rip]
ffranz has joined #ruby
<IceDragon> ヽ(^ヮ^)ノ♪
ahawkins has joined #ruby
mansi_ has joined #ruby
w4pm has quit [Ping timeout: 248 seconds]
Cephalostrum has joined #ruby
ahmedelg_ has quit [Remote host closed the connection]
otherj has quit []
Tamal has joined #ruby
Solnse has joined #ruby
mereghost has quit [Ping timeout: 260 seconds]
tcstar has joined #ruby
ahawkins has quit [Ping timeout: 248 seconds]
cycorld has quit []
Wixy has joined #ruby
Wixy has joined #ruby
Wixy has quit [Changing host]
Tamal has quit [Client Quit]
gja has quit [Quit: This computer has gone to sleep]
|RicharD| has joined #ruby
<|RicharD|> hi to all
mereghost has joined #ruby
Lorn has joined #ruby
<IceDragon> greetings
<ayaz> Hullo
<|RicharD|> I'm trying to do a script in ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
<|RicharD|> that search on twitter some words, i tried with many examples on github and gems but i have always the same problem
<|RicharD|> this works fine, but after it show me 10 tweets, also show the error msg
nhhagen has joined #ruby
<IceDragon> looks like it timedout
digital-ghost has joined #ruby
coderhs has quit [Ping timeout: 248 seconds]
<IceDragon> you could snoop around the gem to see if they have a Timeout option
<|RicharD|> but why ? I mean
<|RicharD|> it show the correct number of msg
mojjojo has joined #ruby
<|RicharD|> if i say 10, it show me 10, if i say 3, it show me 3
MrZYX|off is now known as MrZYX
<LadyRainicorn> That's odd.
gja has joined #ruby
vgaicuks has joined #ruby
<LadyRainicorn> Looks like a bug in the gem.
polaco has joined #ruby
<|RicharD|> maybe yes
<|RicharD|> because the problem is also in localhost
yasushi has joined #ruby
lewix has joined #ruby
asobrasil has joined #ruby
jerius has quit [Quit: Computer has gone to sleep.]
Guest41935 has quit [Quit: WeeChat 0.4.2]
Neomex has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
krz has joined #ruby
fmcgeough has joined #ruby
dukz has joined #ruby
Megtastique has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
<IceDragon> someone was asking about an `exit` that allows an `exit message` :O I think you can use `abort` for that in ruby
<IceDragon> just throwing that out there
yasushi has quit [Ping timeout: 240 seconds]
gverri has joined #ruby
machuga is now known as MatthewMachuga
MatthewMachuga is now known as machuga
toastynerd has joined #ruby
Yan__ has quit [Read error: Operation timed out]
dpswireless has quit [Remote host closed the connection]
mnemon2 is now known as mnemon
ando has joined #ruby
ando has quit [Excess Flood]
yasushi has joined #ruby
dukz has quit [Remote host closed the connection]
fractastical has joined #ruby
noname001__ has quit [Ping timeout: 260 seconds]
timonv has quit [Remote host closed the connection]
Cephalostrum has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dukz has joined #ruby
monkegjinni has quit []
mikesplain has joined #ruby
senj has joined #ruby
brunops has joined #ruby
ambushsabre has joined #ruby
aspires has joined #ruby
RaCx has quit [Ping timeout: 264 seconds]
Virtualize has quit [Quit: Leaving...]
gja has quit [Quit: This computer has gone to sleep]
yacks has quit [Quit: Leaving]
|RicharD| has quit [Ping timeout: 260 seconds]
coderhs has joined #ruby
dukz has quit [Remote host closed the connection]
|RicharD| has joined #ruby
wald0 has quit [Quit: leaving]
wald0 has joined #ruby
dukz has joined #ruby
apeiros has joined #ruby
Cephalostrum has joined #ruby
gja has joined #ruby
sepp2k has quit [Quit: Konversation terminated!]
burlyscudd1 has joined #ruby
shoMo has quit [Remote host closed the connection]
dEPy has joined #ruby
burlyscudd has quit [Quit: Leaving.]
ahmedelgabri has joined #ruby
dukz has quit [Ping timeout: 260 seconds]
brotspinne has joined #ruby
lethjakman has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
<shevy> catch :abort
<IceDragon> why would you even
lethjakman has joined #ruby
<brotspinne> hello
<shevy> so that I then can do this
<shevy> discard catch :abowrd
burlyscudd1 has quit [Ping timeout: 264 seconds]
<shevy> with the typo!
<shevy> the double typo
sambao21 has joined #ruby
<shevy> hi brotspinne
wallerdev has quit [Client Quit]
<IceDragon> o.e we have discard?
|RicharD| has quit [Quit: Sto andando via]
<shevy> IceDragon, do you know what "brotspinne" means?
wallerdev has joined #ruby
burlyscudd has joined #ruby
shime has joined #ruby
klaut has joined #ruby
* IceDragon shakes head
<shevy> it's like a spider sitting on bread
<shevy> IceDragon would be EisDrache
<IceDragon> eh
<shevy> I fill your head with lots of useful things, don't I?
<IceDragon> yeah.well.maybe?
<shevy> sure.enough.do!
gja has quit [Quit: This computer has gone to sleep]
<IceDragon> damn.!
<brotspinne> wtf.()
Rainicorn has joined #ruby
<IceDragon> um.().().()
bigbadbear has joined #ruby
<IceDragon> proc > proc > proc > proc
<IceDragon> perfectly legal
<brotspinne> ??
<brotspinne> ok this is a single character
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Mars___ has joined #ruby
mikecmpbll has joined #ruby
<shevy> hmmm
lethjakman has quit [Ping timeout: 276 seconds]
freezey has quit [Remote host closed the connection]
klaut has quit [Ping timeout: 246 seconds]
RaCx has joined #ruby
tylersmith has quit [Remote host closed the connection]
mcdk has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
Virtualize has joined #ruby
<shevy> wow
<shevy> this is indeed valid
<shevy> IceDragon, you are a genius
<shevy> um = Proc.new { Proc.new { Proc.new {'5'} } };um.().().() # => "5"
snath has joined #ruby
<IceDragon> hahaha
<IceDragon> :3
<MrZYX> >> class Foo; def call; self; end; end; Foo.new.().().().().().()
<eval-in> MrZYX => #<Foo:0x4201a260> (https://eval.in/86288)
vlad_starkov has quit [Remote host closed the connection]
phinfonet has quit [Remote host closed the connection]
<brotspinne> MrZYX: nice one
bluenemo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
<IceDragon> o_e
<shevy> is this cheating
<IceDragon> hmm..
LadyRainicorn has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
phinfonet has joined #ruby
deception has joined #ruby
<shevy> probably not
lukec has joined #ruby
<IceDragon> >> class Counter;attr_accessor :x;def initialize;@x=0;end;def call;@x+=1;self;end;end; Counter.new.().().().().()
<eval-in> IceDragon => #<Counter:0x416520c0 @x=5> (https://eval.in/86289)
mzemel has joined #ruby
bigbadbear has quit [Read error: Operation timed out]
<shevy> this is valid as well
<shevy> lambda{}.call
<IceDragon> field :cookies, type: Hash, default: ->{{}}
<shevy> god that is ugly as hell
havenwood has joined #ruby
mzemel has quit [Client Quit]
Spami has joined #ruby
Mars___ has quit [Ping timeout: 264 seconds]
fedesilv_ has joined #ruby
browndawg has quit [Quit: Leaving.]
<IceDragon> on todays episode of #ruby, we explore ruby's sugary syntax
user258467 has quit [Quit: Quitte]
krawchyk has joined #ruby
brunops has quit [Ping timeout: 246 seconds]
<brotspinne> >> def \?; end
<eval-in> brotspinne => /tmp/execpad-e1f5b2c008d2/source-e1f5b2c008d2:2: syntax error, unexpected $undefined ... (https://eval.in/86295)
<brotspinne> what is $undefined?
tharindu has joined #ruby
<IceDragon> O:
fedesilva has quit [Ping timeout: 260 seconds]
<brotspinne> >> def\;end # shorter
<eval-in> brotspinne => /tmp/execpad-a72d1d960c10/source-a72d1d960c10:2: syntax error, unexpected $undefined ... (https://eval.in/86297)
<IceDragon> >> def \?; end rescue nil; $undefined
<eval-in> IceDragon => /tmp/execpad-efa65aa3c44a/source-efa65aa3c44a:2: syntax error, unexpected $undefined ... (https://eval.in/86298)
<IceDragon> hmm
fractastical has quit [Quit: fractastical]
Brolen has quit [Quit: Brolen]
<IceDragon> >> begin; def \?; end; rescue Exception; end; $undefined
<eval-in> IceDragon => /tmp/execpad-14d2dd618fd8/source-14d2dd618fd8:2: syntax error, unexpected $undefined ... (https://eval.in/86300)
Rainicorn is now known as LadyRainicorn
<IceDragon> god damn it
Cephalostrum has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<brotspinne> what are you trying?
<IceDragon> !
<IceDragon> >> begin; eval("def \?; end"); rescue Exception; end; $undefined
<eval-in> IceDragon => nil (https://eval.in/86302)
<IceDragon> > cheating
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<brotspinne> no seriously. what the heck is $undefined?
<IceDragon> I was trying to see if $undefined had something in it
LinearInterpol has quit [Ping timeout: 276 seconds]
nhhagen has quit [Remote host closed the connection]
<brotspinne> I see
<IceDragon> >> def ? ; end
<eval-in> IceDragon => /tmp/execpad-0185a1af6817/source-0185a1af6817:2: warning: invalid character syntax; use ?\s ... (https://eval.in/86304)
<brotspinne> IceDragon: use my short form: def \; end
<IceDragon> >> def "flying" ; end
<eval-in> IceDragon => /tmp/execpad-52c7f7bfa243/source-52c7f7bfa243:2: syntax error, unexpected tSTRING_BEG ... (https://eval.in/86305)
<IceDragon> >> def ?A ; end
<eval-in> IceDragon => /tmp/execpad-9291ce23f2ef/source-9291ce23f2ef:2: syntax error, unexpected tCHAR ... (https://eval.in/86308)
apeiros has quit [Remote host closed the connection]
<IceDragon> >> def \? ; end
<eval-in> IceDragon => /tmp/execpad-2e5e0cbfd1a6/source-2e5e0cbfd1a6:2: syntax error, unexpected $undefined ... (https://eval.in/86309)
baordog_ has joined #ruby
ndrei has quit [Ping timeout: 248 seconds]
<IceDragon> well \? does nothing ;x
apeiros has joined #ruby
sepp2k has joined #ruby
<brotspinne> IceDragon: http://stackoverflow.com/a/584327
<brotspinne> got it
<waxjar> \ i used to indicate that "this line is not done yet!", it might stem from that?
<IceDragon> !
freggles has joined #ruby
<IceDragon> could be
blackmes1 has joined #ruby
<brotspinne> yeah it's $undefined because \ is used in a non-string context
<waxjar> ruby could do with some less cryptic error messages tho :p
<IceDragon> but the why would you use it in a function declaration ?
blackmesa has quit [Ping timeout: 240 seconds]
<brotspinne> IceDragon: just to confuse you
<IceDragon> you don't usually run into them thats why
pen has joined #ruby
<shevy> oh the channel bot is back
<shevy> LET'S BREAK IT
<IceDragon> D:
<IceDragon> how did we break it last time?
<shevy> Hanmac tried to run a command I think
<ddd> shevy looked at it
burlyscudd1 has joined #ruby
burlyscudd has quit [Read error: Connection reset by peer]
<IceDragon> >> $0
<eval-in> IceDragon => "/tmp/execpad-cc4ec290f26d/source-cc4ec290f26d" (https://eval.in/86314)
Yan__ has joined #ruby
abk has quit [Ping timeout: 260 seconds]
<IceDragon> Hmm
<brotspinne> which bot?
<IceDragon> eval-in
<IceDragon> ;3
dagobah has quit [Remote host closed the connection]
<brotspinne> >> `shutdown -r now`
<eval-in> brotspinne => (https://eval.in/86316)
stryek has joined #ruby
<IceDragon> :x
ndrei has joined #ruby
x__ has joined #ruby
apeiros has quit [Ping timeout: 248 seconds]
<IceDragon> you you you MURDARAAAAAH
atmosx has joined #ruby
<brotspinne> >> loop do; fork; end
<eval-in> brotspinne => (https://eval.in/86317)
<IceDragon> ;x
<IceDragon> ;x
timonv has joined #ruby
pen has quit [Client Quit]
<IceDragon> pls.stap.youll.breaks.it!
pen has joined #ruby
fella6s has joined #ruby
<wald0> is the same to use parentheses than not using them in: while i == 2 ?
apeiros has joined #ruby
<brotspinne> same
<ddd> yes. they are implied. you only really need them when its ambivilent without them
<ddd> ambivelant (sp?) :shrug:
<apeiros> ambivalent
<ddd> thanks
<apeiros> at least in latin & german ;-)
ahawkins has joined #ruby
timonv_ has joined #ruby
<ddd> heh pot shot!
fella5s has quit [Ping timeout: 276 seconds]
mjc__ is now known as mjc_
yarou_ has quit [Quit: This computer has gone to sleep]
<brotspinne> >> "foo bar ".match(/(.+\s)*/i)
<eval-in> brotspinne => #<MatchData "foo bar " 1:"foo bar "> (https://eval.in/86318)
iwaffles has joined #ruby
Wolland has joined #ruby
<iwaffles> Given seconds, can you create a timestamp that's greater than 24 hours?
yasushi has quit [Remote host closed the connection]
<iwaffles> Showing a duration such as 39:15:12 (39 hours, 15 min 12 seconds) - right now it seems to max out at 24
<apeiros> iwaffles: not convinced that that question makes sense.
abra has quit [Ping timeout: 276 seconds]
<apeiros> oh, I guess you're confusing *duration* and *time*
<apeiros> hint, ruby has nothing to deal with duration, only time.
timonv has quit [Ping timeout: 276 seconds]
<iwaffles> Not really confusing it, just wondering if there's a way
<apeiros> iwaffles: you use the Time class, right?
<iwaffles> Yeah right now, granted I understand it's 24 hour based, but was wondering if there was something in existence, such as a gem, that's solved this problem before
sam113101_ is now known as YOURBESTFRIEND
jkhwan has joined #ruby
abra has joined #ruby
<apeiros> then you *are* confusing it. Time is for time, not durations. There probably is a gem for durations, but nothing in core/stdlib.
<apeiros> but honestly, divmod is trivial.
ahawkins has quit [Ping timeout: 246 seconds]
<brotspinne> iwaffles: http://stackoverflow.com/a/1679963
aspires has quit []
<iwaffles> ty brotspinne
rankine has joined #ruby
<shevy> stackoverflow is killing IRC!
Yan___ has joined #ruby
Yan__ has quit [Ping timeout: 248 seconds]
<iwaffles> apeiros: was using Time formatters before needing to go over 24 hours
<iwaffles> which worked until now.
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> iwaffles: which was utterly broken and you've been lucky it worked for you (unless you were clever enough to use utc)
<iwaffles> I am using utc
Voodoofish4301 has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
<brotspinne> iwaffles: when it's more than 24 hours you should add the day as well
Jake232 has joined #ruby
<iwaffles> brotspinne: Yeah :)
<iwaffles> apeiros: the spec never called for > 24 hours, so it was never *broken*
bbloom has joined #ruby
dpswireless has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
cafhacker has joined #ruby
kevind_ has joined #ruby
nhhagen has joined #ruby
benzrf__ has joined #ruby
benzrf__ is now known as benzrf
<benzrf> hi
dpswirel_ has joined #ruby
<shevy> damn
<benzrf> i just did this:
<shevy> benzrf is here guys
<benzrf> class Class
<benzrf> def const(name, val)
<benzrf> end
<benzrf> define_method(name) {val}
<benzrf> end
<benzrf> is that ok
<shevy> sure why not
<roolo> From bundler 1.4 it is possible to specify number of jobs for installing gems. What is name of the key to set default value in bundle config?
hukl_ has joined #ruby
iamjarvo has quit [Remote host closed the connection]
<benzrf> I feel like I should be using regular constants for this
<shevy> the name of the method is odd
<benzrf> but they're lexically scoped
hukl_ has quit [Client Quit]
aspires has joined #ruby
<brotspinne> benzrf: you can use const_set
<benzrf> brotspinne: well I'm setting some constants that are used by mixins
<benzrf> is there a better way?
<IceDragon> const :something_that_is_obviously_not_a_constant, "iKnowRite"
<benzrf> in the mixin the code looks like 'puts size', or something
<IceDragon> const_set and const_get
<Hanmac> iwaffles:
<Hanmac> >> s=141312; "%d:%d:%d" % [s / 3600, s / 60 % 60,s % 60]
<eval-in> Hanmac => "39:15:12" (https://eval.in/86331)
<benzrf> oh wait
<benzrf> guh
<waxjar> you can use ::String to make sure you get String form the top-level, if that's what you're trying to get around
<IceDragon> or just not use Constants
<benzrf> IceDragon: because they are lexically soped
<benzrf> but... const_get
<benzrf> ofc
kevind has quit [Ping timeout: 265 seconds]
<benzrf> so in the class I do
<shevy> benzrf wants lowercased constants
kevind_ is now known as kevind
<benzrf> 'X_SIZE = 2'
<benzrf> and in the mixin I do
<benzrf> 'const_get :X_SIZE'
<benzrf> yeah?
<IceDragon> yup
Yan___ has quit [Ping timeout: 248 seconds]
<benzrf> do constants inherit?
<benzrf> oh good they do
dpswireless has quit [Ping timeout: 264 seconds]
<brotspinne> benzrf: wait.. what are you trying to do? when you have a module Foo with a const BAR then just use Foo::BAR in the foreign module
phinfonet has quit [Remote host closed the connection]
<benzrf> brotspinne: mixin
deception has quit [Quit: Goodbye]
phinfonet has joined #ruby
bluenemo has quit [Remote host closed the connection]
<benzrf> except... I would like to be able to see these values on instances as well
<benzrf> buh
<brotspinne> benzrf: you mix in a module and want to use the constants of the mixed in module
<brotspinne> ?
<benzrf> I am writing a game/engine
dpswireless has joined #ruby
wildroman3 has joined #ruby
<benzrf> and I want to be able to do 'thing.x_size'
brunops has joined #ruby
<benzrf> for example I have a mixin for things that can collide, and it calls x_size to get the size of the thing for collision testing
Virtualize has quit [Read error: Connection reset by peer]
Virtualize|away has joined #ruby
<IceDragon> normally I avoid using constants in my Game
hukl has quit [Ping timeout: 276 seconds]
<benzrf> but writing 3 lines for just setting a constant like that is silly
<benzrf> so I defined that method
<benzrf> you know what screw this i dont need to obsess over it
<benzrf> i can always refactor later
<IceDragon> if its a fixed value, I just define the function with the fixed value. def x_size; 1 ; end
<IceDragon> saves you the constant lookup and hacky code
<benzrf> [flash forward, me saying 'OH GOD WHY DIDNT I FIX IT THEN']
<brotspinne> benzrf: isn't the x_size different for each instance? so it should not be a constant
<benzrf> brotspinne: no, the same kind of sprite has the same size
<brotspinne> or say for each class
<brotspinne> or kind of sprite
<benzrf> IceDragon: yeah, my thing is just that, but encapsulated as a method on Class
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<IceDragon> attr_with_value name, value
<benzrf> wait thats athing?
<IceDragon> nope
<benzrf> :p
<IceDragon> I just made it up on spot
<IceDragon> ;x
<benzrf> but yeah thats what I just defined
<benzrf> class Class
<benzrf> def const(name, val)
<benzrf> define_method(name) {val}
<benzrf> end
yarou has joined #ruby
<benzrf> end
<benzrf> see?
<IceDragon> define_as name: value
caveat- has quit [Ping timeout: 245 seconds]
<benzrf> oh hey I should do that
<benzrf> brb
<IceDragon> lol
aspires has quit []
troyready has joined #ruby
kitak has quit [Remote host closed the connection]
wildroman2 has quit [Ping timeout: 260 seconds]
dpswirel_ has quit [Ping timeout: 264 seconds]
wildroman3 has quit [Ping timeout: 260 seconds]
kitak has joined #ruby
lethjakman has joined #ruby
Dorf has joined #ruby
Dorf has quit [Quit: Nettalk6 - www.ntalk.de]
Virtualize|away has quit [Quit: Leaving...]
phipes has joined #ruby
deception has joined #ruby
ephemerian has quit [Quit: Leaving.]
fractastical has joined #ruby
nvrch has quit [Quit: nvrch]
RaCx has quit [Quit: Computer has gone to sleep.]
dpswireless has quit [Remote host closed the connection]
YOURBESTFRIEND has quit [Quit: ZNC - http://znc.in]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
brennanM_ has quit []
mklappstuhl has quit [Remote host closed the connection]
YOURBESTFRIEND has joined #ruby
mudmaste_ has joined #ruby
zeade has joined #ruby
brennanMKE has joined #ruby
Virtualize has joined #ruby
mudmaster has quit [Ping timeout: 246 seconds]
failshell has joined #ruby
croaky has joined #ruby
caveat- has joined #ruby
flubba has joined #ruby
havenwood has quit [Remote host closed the connection]
mudmaste_ has quit [Remote host closed the connection]
aspires has joined #ruby
TMM has quit [Quit: Ex-Chat]
mzemel has joined #ruby
mudmaster has joined #ruby
choobie has joined #ruby
Czupa has quit [Remote host closed the connection]
Dorf has joined #ruby
Dorf has quit [Changing host]
Dorf has joined #ruby
dkamioka has joined #ruby
aspires has quit [Client Quit]
dostoyevsky has quit [Quit: leaving]
brotspinne has quit [Remote host closed the connection]
dpswireless has joined #ruby
troyready has quit [Ping timeout: 264 seconds]
freezey has joined #ruby
ffranz has quit [Quit: Leaving]
lukec has quit [Quit: lukec]
_aeris_ is now known as [_aeris_]
saarinen has joined #ruby
Landshark753 has joined #ruby
roolo has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
ambushsabre has quit [Quit: rip]
shaunbak_ has quit [Remote host closed the connection]
mityaz has joined #ruby
DouweM has quit [Ping timeout: 248 seconds]
zxd has quit [Ping timeout: 240 seconds]
mojjojo has quit [Quit: mojjojo]
Bira has quit [Remote host closed the connection]
fractastical has quit [Quit: fractastical]
ndrei_ has joined #ruby
gilcosson has joined #ruby
razibog has quit [Ping timeout: 265 seconds]
Mars___ has joined #ruby
sinm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maletor has joined #ruby
Bira has joined #ruby
camilasan has quit []
burlyscudd1 has quit [Quit: Leaving.]
LinearInterpol has joined #ruby
burlyscudd has joined #ruby
Wolland has quit []
havenwood has joined #ruby
ndrei_ has quit [Client Quit]
vlad_sta_ has joined #ruby
rankine has quit [Ping timeout: 265 seconds]
zcreative has joined #ruby
elyoung has joined #ruby
ffranz has joined #ruby
mojjojo has joined #ruby
dkamioka_ has joined #ruby
dkamioka has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Ping timeout: 248 seconds]
<elyoung> I need to drive selenium webdriver for exactly x number of seconds and kill it no matter what it's doing... this hasn't been easy because the driver blocks while waiting for the whole page to load...preventing the timeout gem from acting. is there a solution for this?... i started looking into jruby and threads
Mars___ has quit [Ping timeout: 265 seconds]
Underbyte has joined #ruby
noop has joined #ruby
iMe has quit [Ping timeout: 264 seconds]
iMe has joined #ruby
rootshift has joined #ruby
thumpba has quit [Remote host closed the connection]
soobus has quit [Ping timeout: 241 seconds]
thumpba has joined #ruby
troessner has quit [Quit: Leaving]
Elhu has quit [Quit: Computer has gone to sleep.]
subbyyy has joined #ruby
<waxjar> elyoung: kill it from another process?
<mereghost> A thread would probably solve that, but it will be kinda weird. =/
Guest25777 is now known as dreamchaser
dreamchaser has quit [Changing host]
dreamchaser has joined #ruby
hukl has joined #ruby
vgaicuks has quit [Remote host closed the connection]
hukl has quit [Client Quit]
CaptainJet has joined #ruby
LadyRainicorn has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
awkwords has joined #ruby
dunc has joined #ruby
thumpba has quit [Ping timeout: 260 seconds]
soobus has joined #ruby
ryanf has left #ruby [#ruby]
zigomir has quit [Remote host closed the connection]
<elyoung> waxjar, I guess i've just never done such a thing, will look into it
dEPy has quit [Quit: Computer has gone to sleep.]
Brolen has joined #ruby
mojjojo has quit [Quit: mojjojo]
John445 has joined #ruby
nari has quit [Ping timeout: 248 seconds]
<waxjar> elyoung: i think you can just do pid = Process.pid; fork { sleep 3; `kill #{pid}` } or something along those lines
<John445> anyone know a app with a UI that will let someone design a series of questions to be asked to a user. The questions are linked together based on the answers given in the questions
ambushsabre has joined #ruby
dangerousdave has joined #ruby
<havenwood> elyoung: yeah, i was thinking: selenium = Process.pid; fork { sleep 5; Process.kill 'HUP', selenium }
<havenwood> waxjar: agreed
mary5030_ has joined #ruby
mary5030 has quit [Ping timeout: 276 seconds]
phipes has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
<havenwood> John445: What kind of UI? Command line, browser, native application?
codezomb has joined #ruby
NimS has left #ruby [#ruby]
<John445> pref browser
<Hanmac> i did see somewhere a timeout gem/function ... but i dont know where it was
mbytes has joined #ruby
<John445> but even without the UI would be a start
<codezomb> is it possible to use safely autoload in a concurrent situation?
<John445> I am looking at wizard builders as a possible avenue
<codezomb> erm, safely use*
<havenwood> Hanmac: `timers` is a nice uber simple one tarcieri did
ahawkins has joined #ruby
yarou has quit [Quit: This computer has gone to sleep]
LadyRainicorn has joined #ruby
soukihei has joined #ruby
timonv has joined #ruby
Advocation has quit [Quit: Advocation]
lukec has joined #ruby
pyitaunggyi has joined #ruby
timonv has quit [Remote host closed the connection]
ambushsabre has quit [Client Quit]
lsmola_ has quit [Ping timeout: 264 seconds]
<pyitaunggyi> hi
mary5030_ has quit [Read error: Connection reset by peer]
cascalheira has joined #ruby
tylersmith has joined #ruby
iamjarvo has joined #ruby
freggles has quit [Read error: Connection reset by peer]
mavcunha has joined #ruby
<havenwood> codezomb: autoload is thread safe on modern Rubies
<havenwood> codezomb: What version are you on?
<apeiros> havenwood: what?
ahawkins has quit [Ping timeout: 260 seconds]
mklappstuhl has joined #ruby
<codezomb> havenwood: awesome, I just read the same thing. We're running 2.0.0p247 at the moment.
<apeiros> havenwood: which comment describes the current solution?
<havenwood> apeiros: patch ^ merged into 2.0 branch, so i'd think no need to check for backport on 2.0+
Bira has quit [Remote host closed the connection]
<apeiros> because something's gotta give… I mean a require can take an indefinite amount of time and may descend into further requires…
freggles has joined #ruby
Bira has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
jlast_ has joined #ruby
jcarouth has left #ruby [#ruby]
<havenwood> apeiros: hrm, i dunno
pyitaunggyi has left #ruby [#ruby]
mary5030 has joined #ruby
<apeiros> I still wish there was a way to mock/stub the scheduler
jlast_ has quit [Remote host closed the connection]
<apeiros> would enable testing threaded code
Asher has quit [Read error: Connection reset by peer]
<apeiros> havenwood: but nice, didn't know they made autoload threadsafe
sinm has joined #ruby
Asher has joined #ruby
jlast has quit [Ping timeout: 276 seconds]
nhhagen has quit [Remote host closed the connection]
deception has quit [Quit: Goodbye]
lfox has quit [Quit: ZZZzzz…]
mary5030 has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 276 seconds]
olivier_bK has quit [Read error: Operation timed out]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
iliketurtles has joined #ruby
ndrei has joined #ruby
cj3kim has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
DonRichie has quit [Read error: Connection reset by peer]
rootshift has quit [Quit: rootshift]
Zai00 has quit [Quit: Zai00]
mmitchell has quit [Remote host closed the connection]
Gonzih has quit [Quit: IRC is just multiplayer vim.]
pushpak has joined #ruby
mary5030 has joined #ruby
peneconleche|awa has quit [Quit: Leaving...]
Gonzih has joined #ruby
intuxicated_ has joined #ruby
thumpba has joined #ruby
heftig has joined #ruby
dima_ has quit []
Cephalostrum has joined #ruby
joaoh82 has quit [Remote host closed the connection]
Cephalostrum has quit [Max SendQ exceeded]
Cephalostrum has joined #ruby
withnale has quit [Ping timeout: 260 seconds]
burlyscudd has quit [Quit: Leaving.]
rdark has quit [Quit: leaving]
mehlah has quit [Quit: Leaving...]
[_aeris_] is now known as _aeris_
aspires has joined #ruby
troyready has joined #ruby
Virtualize|away has joined #ruby
bryanray has joined #ruby
Virtualize|away has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
Virtualize has quit [Read error: Connection reset by peer]
Asher1 has joined #ruby
phipes has joined #ruby
marcgg has quit [Ping timeout: 265 seconds]
Asher has quit [Ping timeout: 264 seconds]
carraroj has joined #ruby
mneorr has joined #ruby
lfox has joined #ruby
klaut has joined #ruby
ndrei has quit [Read error: Operation timed out]
ambushsabre has joined #ruby
rezzack has joined #ruby
arietis has joined #ruby
mmitchell has joined #ruby
ReinH_ is now known as ReinH
psyl0n has quit [Remote host closed the connection]
Al__ has quit [Quit: Al__]
John445 has quit [Quit: John445]
Brolen has quit [Quit: Brolen]
nanoyak has quit [Quit: Computer has gone to sleep.]
nhhagen has joined #ruby
<benzrf> i wrote some more code, anybody feel like pretending to look at it so that I can feel validated?
<apeiros> I will pretend to take a look later
<benzrf> aww yeah
jerius has joined #ruby
rubyracer has joined #ruby
brunops has quit [Ping timeout: 265 seconds]
Neomex has quit [Quit: Neomex]
aspires has quit []
baroquebobcat has joined #ruby
agjacome has joined #ruby
aspires has joined #ruby
coderhs has quit [Ping timeout: 245 seconds]
dEPy has joined #ruby
freggles has quit [Ping timeout: 260 seconds]
nanoyak has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
w4pm has joined #ruby
croaky has quit [Ping timeout: 245 seconds]
withnale has joined #ruby
ambushsabre has quit [Quit: rip]
<benzrf> apeiros: for future reference my code is @ https://github.com/benzrf/legend
croaky has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
Rylee has joined #ruby
mudmaste_ has joined #ruby
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
bigbadbear has joined #ruby
maletor has joined #ruby
Mars___ has joined #ruby
vlad_starkov has joined #ruby
<terrellt> benzrf: Namespace into folders dude, my gosh.
<benzrf> why
<benzrf> ?
drumusician has joined #ruby
Amnesia has joined #ruby
<terrellt> Because if you don't it's hard to look through.
<benzrf> i can always do it later, and right now it isnt an issue at all
<Amnesia> question, what exactly's the reason that rubygems is so extremely slow?
<waxjar> its written in ruby :p
<Amnesia> slow as in, it takes ages to e.g install a new gem
<terrellt> Amnesia: It hates you.
mudmaster has quit [Ping timeout: 248 seconds]
<Amnesia> :)
<waxjar> amnesia, in my experience the generating of documentation takes longest
<LadyRainicorn> Everything takes a long time though.
shime has quit [Ping timeout: 248 seconds]
Asher has joined #ruby
tharindu has quit [Quit: Leaving...]
<Amnesia> waxjar: is there some way to prevent docs from being installed then?
<waxjar> you can turn it off by putting some flags in .gemrc, --no-ri and --no-rdoc i believe
<waxjar> but that might have changed
<terrellt> Or just run the command with those flags.
<waxjar> ^
<terrellt> gem install bla --no-ri --no-rdoc
<Amnesia> hm ty
aspires has quit []
<Amnesia> I'm curious whether I'll be able to notice some difference:)
bigbadbear has quit [Ping timeout: 265 seconds]
mudmaste_ has quit [Ping timeout: 248 seconds]
Asher1 has quit [Ping timeout: 248 seconds]
bricker has joined #ruby
mudmaster has joined #ruby
mudmaster has quit [Remote host closed the connection]
Mars___ has quit [Ping timeout: 240 seconds]
iliketurtles has joined #ruby
ephemerian has joined #ruby
mudmaster has joined #ruby
<LadyRainicorn> What's the rationale behind not pre-generating docs and shipping them with the gem?
<LadyRainicorn> That would make a lot more sense.
danshult_ has joined #ruby
gasbakid_ has quit [Read error: Operation timed out]
Thanatermesis has joined #ruby
zcreative has quit [Quit: Computer has gone to sleep.]
mmitchell has quit [Remote host closed the connection]
mansi_ has quit [Read error: Connection reset by peer]
plotter has quit [Ping timeout: 245 seconds]
dunc has quit [Write error: Broken pipe]
mansi has joined #ruby
<waxjar> bandwidth, possibly?
danshultz has quit [Ping timeout: 264 seconds]
zcreative has joined #ruby
<apeiros> you can locally generate docs in whatever flavor you prefer
joaoh82 has joined #ruby
bricker has quit [Ping timeout: 248 seconds]
<apeiros> otoh, the advantage of serving pregenerated docs is that the author had a chance to verify that the docs were rendered correctly
bricker has joined #ruby
reset has joined #ruby
tvw has quit []
Authenti1ator has quit [Ping timeout: 252 seconds]
robert___ is now known as robert_
mansi has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
coderhs has joined #ruby
mansi has joined #ruby
Kabaka has joined #ruby
bean has joined #ruby
razibog has joined #ruby
mudmaste_ has joined #ruby
mmitchell has joined #ruby
gquental has quit [Quit: Leaving]
Asher has quit [Ping timeout: 260 seconds]
jlast has joined #ruby
sambao21 has joined #ruby
shime has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
<LadyRainicorn> Generation time for docs is a major issue.
psyl0n has joined #ruby
jwalk has quit [Ping timeout: 265 seconds]
mudmaster has quit [Ping timeout: 248 seconds]
burlyscudd has joined #ruby
<LadyRainicorn> Bandwidth being the issue for docs is unlikely.
codenapper has quit [Quit: codenapper]
ahmedelgabri has quit [Remote host closed the connection]
hiall has quit [Quit: hiall]
newUser1234 has joined #ruby
jwalk has joined #ruby
aspires has joined #ruby
Wolland has joined #ruby
poutine_ is now known as poutine
mmitchell has quit [Remote host closed the connection]
zz_tsykoduk has quit [Quit: ZNC - http://znc.in]
<Amnesia> does one of you folks have any experience with: https://github.com/hparra/ruby-serialport/ ?
<Amnesia> it's failing to build..
m4rcu5 has quit [Ping timeout: 264 seconds]
Zai00 has joined #ruby
<Amnesia> dunno what headers it needs
<Amnesia> not sure whether the following line: "The native Windows version of this library supports the Microsoft Visual C++, Borland C++, and MinGW compilers." means it's only compatible with windows
ahawkins has joined #ruby
<LadyRainicorn> Check mkmf.log
<Amnesia> LadyRainicorn: honestly I don't know where to find it
<Amnesia> it's not in $gemdir/ext/
<havenwood> Amnesia: What OS are you on?
<Amnesia> linux
<havenwood> Amnesia: Debian?
<Amnesia> no crux
cascalheira has quit [Quit: Leaving...]
shime has quit [Ping timeout: 265 seconds]
<havenwood> Amnesia: looks like Ruby wasn't built against mkmf, my guess would be install mkmf and rebuild Ruby
<havenwood> Amnesia: How'd you install Ruby?
RaCx has joined #ruby
msx has joined #ruby
<havenwood> Amnesia: yeah, mkmf missing from the # Depends on:
gasbakid_ has joined #ruby
<Amnesia> I see
<Amnesia> is mkmf part of ruby itself?
<havenwood> "mkmf.rb is used by ruby C extensions to generate a Makefile which will correctly compile and link the C extension to ruby and a third-party library."
<IceDragon> its right in the ruby stdlib
dblessing has joined #ruby
<IceDragon> :O
ndrei has joined #ruby
mereghost has quit [Quit: leaving]
<Amnesia> /usr/lib/ruby/1.9/mkmf.rb does exist btw..
<IceDragon> you need make
<Amnesia> make as in gnu make?
<Amnesia> already got that
<IceDragon> yup
<IceDragon> :O
mereghost has joined #ruby
<IceDragon> oddities
ahawkins has quit [Ping timeout: 264 seconds]
Gonzih has quit [Quit: IRC is just multiplayer vim.]
<msx> hello guys, I'm a n00b to ruby, sorry if this sounds dumb :/ I'm trying to install Jakyll into my GitHub's Page so I want to install this gem "github-pages" to have both instances of Jakyll in sync. Now, it says everywhere that I should install the gem as simple user, not as an administrator (I'm running GNU+Linux) but in fact the place where the gem will be installed is only writable by root. Question is: it's okay to install then the gem as root, or
<msx> something in my distro is done wrongly? Thank you very much!
<IceDragon> I thinkz you mean jerkell
<mereghost> did you install ruby using your package manager?
* IceDragon stabs foot
<IceDragon> you jerkyll ;x
<IceDragon> yup
drumusician has quit [Ping timeout: 248 seconds]
<msx> IceDragon: typo there, actually is "Jekyll", a static website creator
<IceDragon> yeah
<IceDragon> damned typos
<msx> mereghost: hi, yes
<mereghost> msx: Then it's ok to do that.
<msx> Ok, thank you :)
LadyRainicorn has quit [Ping timeout: 264 seconds]
yosafbridge has quit [Ping timeout: 245 seconds]
<Amnesia> it fails on: os = /-([a-z]+)/.match(RUBY_PLATFORM)[1]
burlyscudd has quit [Quit: Leaving.]
phipes has quit [Remote host closed the connection]
<IceDragon> msx: I install all my gems to root (bad habit)
flowerhack_ is now known as flowerhack
<IceDragon> because my home directory is already messy and lacks space ;3
danijoo has quit [Read error: Connection reset by peer]
<Amnesia> what does the "-" do in that regex?
<IceDragon> nothing
<IceDragon> >> "1-2" =~ /1-2/
<Amnesia> hm let me try and remove it..
<IceDragon> ...
danijoo has joined #ruby
<Amnesia> looks like it actually is compiling naow
<havenwood> IceDragon: => 0
<msx> IceDragon: ^^ Problem is I'm absolutely new to Ruby and don't know how to handle it :S And yes, I too would prefer to install these scripts as a limited-user...
<Amnesia> hm nope
dmarr has quit [Quit: Goodbye]
<IceDragon> msx: first up, check your /etc/gemrc
<msx> Mmm, nice to know...
<Amnesia> if !(os == 'mswin' or os == 'bccwin' or os == 'mingw')
<Amnesia> fml
<IceDragon> make sure you have --user-install in the gemrc key
yosafbridge has joined #ruby
<IceDragon> now as your limited user do a: gem install jerkyll
dmarr has joined #ruby
<IceDragon> without sudo
zipper has joined #ruby
<IceDragon> Amnesia your doing it wrong
<mereghost> msx: Take a look at rvm (http://rvm.io) =)
newUser1_ has joined #ruby
<IceDragon> if os =~ /mswin|bccwin|mingw/
<msx> IceDragon: wait! Are you talking about the /etc/gemrc that in fact doesn't even exists!? LOL I wonder if Ruby is packaged right here...
zipper is now known as Guest45117
<Amnesia> IceDragon: it's the gem that contained the code I pasted above
<IceDragon> :3
<IceDragon> ;x
<IceDragon> say waht
<Amnesia> so it's only compatible with widblows
<Amnesia> winblows*
<IceDragon> msx: just create it its a YAML file anyway
<IceDragon> windoze, winblows
<IceDragon> we have so many names for it
<IceDragon> THATS THE PROBLEM RIGHT THAR
mlpinit_ has joined #ruby
<Amnesia> IceDragon: it all sucks donkeyballs^^
<IceDragon> msx: next you add a line; gemrc: --user-install
zipper_ has joined #ruby
mereghost has left #ruby ["Tmux being weird."]
<IceDragon> Amnesia: Try handling cross compiling with windows
burlyscudd has joined #ruby
<Amnesia> ffs
<IceDragon> the ifdef for Windows is literally 4x longer than the linux one
<Amnesia> ruby-serialport is also only compatible with windows
<Amnesia> goddamnit, don't feel like screwing around with the gem:p
<IceDragon> burn it
<IceDragon> ;3
RaCx has quit [Quit: Computer has gone to sleep.]
<msx> IceDragon: I had a "file not found" error while installed a gem, should I complain to the gem developer or ask for the library to be added to the distribution?
<msx> *have
<Amnesia> IceDragon: RAAAAGE
<Amnesia> :p
Mars___ has joined #ruby
<IceDragon> msx: which file not found?
<havenwood> Amnesia: It claims it supports "POSIX (Linux, *BSD, Solaris, AIX, Mac OS X), Cygwin and native Windows."
<msx> IceDragon: Installing RDoc documentation for github-pages-12...
<msx> file 'lib' not found
newUser1234 has quit [Ping timeout: 265 seconds]
<IceDragon> -,- I don't install docs anymore
<Amnesia> havenwood: hm yep, just read that
<havenwood> msx: How did you install Ruby?
<Amnesia> "Windows, Linux, BSD, OS X, and other POSIX operating systems."
Guest45117 has quit [Client Quit]
wald0 has quit [Quit: Lost terminal]
mlpinit has quit [Ping timeout: 260 seconds]
mereghost has joined #ruby
Advocation has joined #ruby
zipper__ has joined #ruby
<msx> havenwood: it's already installed as a core package
<IceDragon> change the --no-user-install to --user-install
<msx> havenwood: sorry, that was for IceDragon
pwh has quit []
<msx> IceDragon: awesome, thanks, trying that...
kirun has joined #ruby
pushpak has quit [Ping timeout: 265 seconds]
mereghost has quit [Client Quit]
<havenwood> IceDragon: I don't install docs either. A `~/.gemrc` I think ought read: gem: --no-rdoc --env-shebang
<havenwood> :)
<IceDragon> ┐( ̄ヮ ̄)┌
<IceDragon> seriously, 3gb of docs you never read
<IceDragon> ;3 That was scary
<IceDragon> not to mention it slowed down the installation process
peregrine81 has joined #ruby
b00stfr3ak has joined #ruby
<havenwood> some bug on some system i can't remember keeps rewriting shebangs on install from being the default
<IceDragon> windoze?
maletor has quit [Ping timeout: 260 seconds]
carraroj has quit [Quit: Konversation terminated!]
alex88 has joined #ruby
<benzrf> oh, windowz
<IceDragon> someone compile a list of windows names pls
iwaffles has quit [Quit: iwaffles]
drumusician has joined #ruby
thumpba has quit [Remote host closed the connection]
thumpba has joined #ruby
gasbakid_ has quit [Quit: Quitte]
mereghost has joined #ruby
Zai00 has quit [Quit: Zai00]
<havenwood> IceDragon: flee when /mswin|mingw32|windows/
maletor has joined #ruby
LBRapid has quit [Quit: ZNC - http://znc.sourceforge.net]
<IceDragon> has anyone written a gem that simplifies that
noop has quit [Ping timeout: 276 seconds]
lukec has quit [Quit: lukec]
<havenwood> yeah, lots of people
<IceDragon> its hard to remember all the names Windows falls under, IT DOESNT EVEN HAVE DISTROS
<IceDragon> you'd except that sort of thing from Linux where we have more flavours and than clothes
<IceDragon> ;3
cascalheira has joined #ruby
thumpba has quit [Remote host closed the connection]
cascalheira has quit [Remote host closed the connection]
thumpba has joined #ruby
nhhagen has quit [Remote host closed the connection]
ffranz has quit [Quit: Leaving]
cameronbarton has joined #ruby
mansi has quit [Read error: Connection reset by peer]
cbetta is now known as cbetta_afk
phipes has joined #ruby
rootshift has joined #ruby
cameronbarton has quit [Client Quit]
mansi has joined #ruby
<apeiros> benzrf: I'll pretend to give feedback now, ok?
brotspinne has joined #ruby
Bira has quit [Remote host closed the connection]
cascalheira has joined #ruby
DrShoggoth has joined #ruby
<havenwood> Where's the code?!
cbetta_afk is now known as cbetta
<havenwood> Or is it pretend code? ;(
<apeiros> that's the imaginary url
<havenwood> whew
<apeiros> to the non-existing code
<apeiros> which we pretend to give feedback on
soobus has quit [Ping timeout: 241 seconds]
aep_ is now known as aep
Solnse has quit [Ping timeout: 276 seconds]
subbyyy has quit [Read error: Operation timed out]
DrShoggoth has quit [Max SendQ exceeded]
parduse has quit [Killed (sendak.freenode.net (Nickname regained by services))]
parduse has joined #ruby
drumusician has quit [Ping timeout: 260 seconds]
DrShoggoth has joined #ruby
<benzrf> hue
devdazed has quit [Read error: Operation timed out]
<Amnesia> does ruby-serialport work for you folks..?
<benzrf> oh crap i left out an important part o:
<apeiros> benzrf: looks generally neat and tidy, but some no-no's:
<benzrf> 1 sec let me write & commit
<apeiros> indent - use 2 spaces for indent
tvw has joined #ruby
cbetta is now known as cbetta_afk
<apeiros> map classes properly to files. e.g. Positioned belongs into a file positioned.rb
w4pm has quit [Ping timeout: 276 seconds]
<benzrf> really
<benzrf> i thought that was a java thing
<havenwood> s/noexpandtab/expandtab
<apeiros> nope, that's a sanity thing
beakr has joined #ruby
<apeiros> put your stuff into a namespace
momomomomo has quit [Quit: momomomomo]
<mereghost> benzrf: and a good practice anyway.
<apeiros> use proper directory structure (see how gems do it - lib dir for .rb files)
<benzrf> blah
<pontiki> and just look at all those tests
<pontiki> :D
<benzrf> ;p
<beakr> What exactly did they do in Ruby 2.0.0-p353 that's causing Rails, Unicorn, etc to segfault? Seems to be happening pretty often and I'm experiencing it with Unicorn after upgrading.
<benzrf> apeiros: ok i will do rearranging as you say as soon as I finish the bit I'm about to write
w4pm has joined #ruby
soobus has joined #ruby
<benzrf> wait a sec... hm
<apeiros> require './util' # <- nooooooooo!
<benzrf> :S
<benzrf> ok
iwaffles has joined #ruby
<apeiros> use proper $LOAD_PATH instead, allowing for plain `require 'util'`
Advocation has quit [Quit: Advocation]
iwaffles has quit [Client Quit]
<IceDragon> beakr: did you re-install unicorn?
<benzrf> look @ line 96 in core.rb please?
<pontiki> beakr: i have not experienced what you are saying
<benzrf> I'm trying to figure out the best way to accomplish that.
<apeiros> benzrf: anyway, that's it so far. only looked at it superficially, though.
cafhacker has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has quit [Quit: Computer has gone to sleep.]
<benzrf> apeiros: did you check that comment?
devdazed has joined #ruby
<apeiros> what comment?
kiri has quit [Ping timeout: 248 seconds]
<benzrf> line 96:core.r
<benzrf> b
RaCx has joined #ruby
<apeiros> you can link to lines ;-)
phipes has quit [Remote host closed the connection]
sinm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf> bah
gregoriokusowski has quit [Quit: gregoriokusowski]
<benzrf> apeiros: anyway, im considering ways of going about that
<benzrf> if I directly extend the object, it will persist after event handling finishes, which I feel like is a bad idea
ffranz has joined #ruby
<benzrf> otoh if i clone it, tile state cannot be updated since it happens in the clone
<benzrf> I guess I could use a proxy?
dgaffney has joined #ruby
<benzrf> but then @vars wouldnt carry over would they?
sambao21 has joined #ruby
flame_ has joined #ruby
shadoi has joined #ruby
<dgaffney> Rubyists - has anyone had any reasonable success with Neo4j, and if so, what gems did you use/what did you do with it?
maletor has quit [Quit: Computer has gone to sleep.]
<beakr> IceDragon: Full log https://gist.github.com/beakr/8288676
<dgaffney> I'm trying to punch in some data in there with geography and results have felt lackluster so far - looking to you all for inspiration/proof that its mature enough to use seriously via ruby
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
<beakr> Seems to be something with kgio, acutally.
<IceDragon> beakr: can you wrap your execution in gdb?
<IceDragon> could be broke ;3
<benzrf> apeiros: any ideas?
<apeiros> benzrf: not really
<benzrf> :I
<benzrf> I guess I will just go with direct modification...
<benzrf> I dunno, it just feels a bit slimy
<havenwood> simpler the better!
<benzrf> ok
<dgaffney> bueller? bueller? No neo4j?
Liothen has joined #ruby
drumusician has joined #ruby
hiall has joined #ruby
<Amnesia> is there anyone over here who's got spare time to check a gem?
<beakr> IceDragon: Specifically, it happens when I run Unicorn with Sinatra. Thin (running the plain Ruby command) works fine.
<IceDragon> Hmm
<havenwood> beakr: Does the problem persist on 2.1.0, I'm curious?
<IceDragon> I'm not experienced enough those to help ;(
felipe has joined #ruby
<beakr> havenwood: I was going to try that
tcstar has quit [Quit: Leaving]
flubba has quit [Remote host closed the connection]
<beakr> havenwood: I think I'm going to install it
<havenwood> Amnesia: Whats the gem?
teddyp1cker has joined #ruby
<Amnesia> havenwood: ruby-serialport
<Amnesia> it's actually in the main repositories
<havenwood> Amnesia: Oh, check what about it?
aspires has quit []
<mereghost> dgaffney: Using neography here.
<Amnesia> havenwood: well, I'm unable to build it
iliketurtles has quit [Quit: zzzzz…..]
<havenwood> i'm able
<Amnesia> but I don't have a clue why not
<Amnesia> crao
alexherbo2 has joined #ruby
<dgaffney> mereghost: How is it going with it? I want to build a bipartite network from 7000 nodes and 1.4 m other nodes…
<dgaffney> probably about 5m relationships total
m-o-s has joined #ruby
<havenwood> Amnesia: yeah, building fine for me on Linux, BSD and OS X.
iliketurtles has joined #ruby
<Amnesia> dafuq:/
<Amnesia> what's your ruby version?
<havenwood> i only tried on 2.1.0
<Amnesia> I'll give that version a shot then..
<Amnesia> cause "os = /-([a-z]+)/.match(RUBY_PLATFORM)[1]" also throws an exception irb
<havenwood> but i just built on 2.0 and 1.9 just fine, OS X only
RaCx has quit [Quit: Computer has gone to sleep.]
<Amnesia> Ah:/...
momomomomo has joined #ruby
hiall has quit [Quit: hiall]
mereghost is now known as mereghost_afk
20WAARP4O is now known as DanKnox_
<Amnesia> doesn't "os = /(-[a-z]+)/.match(RUBY_PLATFORM)[1]" result in an exception over there o0?
<Amnesia> os = /([a-z]+)/.match(RUBY_PLATFORM)[1] does actually return "linux" over here
vlad_starkov has quit [Remote host closed the connection]
<Amnesia> the "-" appears to be an issue
teddyp1cker has quit [Client Quit]
joaoh82 has joined #ruby
<havenwood> Nope, just a little regex looking at an env var. No problems.
<havenwood> hrm, the '-'?
<Amnesia> yeah, in the regex
vlad_starkov has joined #ruby
<Amnesia> /(-[a-z]+)/.match(RUBY_PLATFORM)[1] results in: NoMethodError: undefined method `[]' for nil:NilClas in irb..
nateberkopec has quit [Quit: Leaving...]
<havenwood> Amnesia: Try just: RUBY_PLATFORM
<havenwood> Amnesia: I would be expecting something like: => "x86_64-linux"
cbetta_afk is now known as cbetta
drumusician has quit [Read error: Operation timed out]
<Amnesia> havenwood: that constant contains the string "linux"
hiall has joined #ruby
<havenwood> Amnesia: odd, okay so yeah no '-' in front of it as you'd expect.
yosafbridge has quit [Ping timeout: 240 seconds]
maletor has joined #ruby
<Amnesia> let me fix that..
RaCx has joined #ruby
mereghost_afk has quit [Ping timeout: 248 seconds]
iamjarvo has quit [Read error: Connection reset by peer]
skaflem has quit [Quit: Leaving]
vlad_starkov has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
iamjarvo has joined #ruby
mehlah has joined #ruby
psyprus has quit [Changing host]
psyprus has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
geekbri has quit []
joaoh82 has quit [Ping timeout: 264 seconds]
mereghost_afk has joined #ruby
yosafbridge has joined #ruby
Yan__ has joined #ruby
<benzrf> oh shit
<benzrf> gah
<benzrf> so lame
Brolen has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
burlyscudd has quit [Quit: Leaving.]
aspires has joined #ruby
brtdv has joined #ruby
nhhagen has joined #ruby
yarou has joined #ruby
sambao21 has joined #ruby
nhhagen has quit [Remote host closed the connection]
nateberkopec has joined #ruby
ahawkins has joined #ruby
<havenwood> Amnesia: yeah, the regex rules don't quite cover the gamut of possible RUBY_PLATFORMs: https://github.com/ruby/ruby/blob/trunk/configure.in#L3757-3781
<havenwood> i meant that regex in particular
DanKnox_ is now known as DanKnox
<Amnesia> good, then it wasn't just me:P..
awkwords has quit [Quit: Leaving.]
Landshark753 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nhhagen has joined #ruby
ewnd9 has quit [Ping timeout: 264 seconds]
<beakr> Ok, this is weird. Same error with Unicorn appearing with 2.1.0.
gyre007 has joined #ruby
<beakr> Definitely seems to be something with kgio.
<benzrf> ok
<benzrf> class << foo is not lexically scoped
pwh has joined #ruby
<benzrf> if I want that, is my only option:
<benzrf> foo.singleton_class.class_eval
<benzrf> ?
dpswireless has quit [Remote host closed the connection]
ahawkins has quit [Ping timeout: 276 seconds]
tcstar has joined #ruby
<Hanmac> i am not 100% sure that this is currect scoped ...
zipper_ has quit [Quit: Lost terminal]
zipper__ has quit [Quit: Lost terminal]
flubba has joined #ruby
phoenixHollywood has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phoenixHollywood> hey ruby buddies... Does anyone know off the top of their head what "$: << Rails.root" is actually doing?
burlyscudd has joined #ruby
<phoenixHollywood> $: is what I am wondering about
havenwood has quit [Remote host closed the connection]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
awgl has joined #ruby
<benzrf> $: i believe is the load path
<phoenixHollywood> yeah you're right..
<phoenixHollywood> ok cool thanks
awkwords has joined #ruby
<benzrf> i am not so good at writing tests and also i find it boring as im sure everybody does
<benzrf> findings bugs, going 'OH SHIT', and then fixing them is much more fun!
bean has joined #ruby
mereghost has joined #ruby
codenapper has joined #ruby
fractastical has joined #ruby
awkwords has quit []
drumusician has joined #ruby
awkwords has joined #ruby
jwalk has quit [Ping timeout: 248 seconds]
mereghost_afk has quit [Ping timeout: 265 seconds]
sassamo has quit [Remote host closed the connection]
<pontiki> so is driving twice the speed limit jacked up on cocaine :)
Speed has left #ruby ["WeeChat 0.4.2"]
<pontiki> still wouldn't recommend it to anyone
<slash_nick> what's a bug
danijoo has quit [Read error: Connection reset by peer]
sassamo has joined #ruby
burlyscudd has quit [Ping timeout: 240 seconds]
danijoo has joined #ruby
<benzrf> slash_nick: a feature in diguise
havenwood has joined #ruby
<shevy> lol
subbyyy has joined #ruby
flubba has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
soobus has quit [Ping timeout: 276 seconds]
mneorr has quit [Remote host closed the connection]
Mars___ has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
<havenwood> phoenixHollywood: An alias for the more descriptive $LOAD_PATH, indeed.
vlad_starkov has joined #ruby
<havenwood> phoenixHollywood: And just a normal Array, so Array#<<.
freggles has joined #ruby
nanoyak has joined #ruby
sassamo has quit [Ping timeout: 248 seconds]
<benzrf> $><"hi"
<benzrf> oops
<benzrf> $><<"hi"
decoponio has quit [Quit: Leaving...]
glundgren has joined #ruby
<glundgren> hey guys
<benzrf> hi
<beakr> IceDragon: turns out I segfault when running 'thin start' too, it's only using plain Ruby itself will it work
<benzrf> glundgren: whats up
<beakr> Must be something with the config.ru
netQT has joined #ruby
<IceDragon> so the C extension might be bugged
<beakr> I think so
kep has joined #ruby
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
<glundgren> FileSystem question, i have an array with some files with the path "/path/to/file/file.fil", "path/to/file/dir1/file.fil", theres a way to get the basename of the file since the '/file' dir? i mean ["file.fil", "dir1/file.fil"] ?
<beakr> IceDragon: Seems to be a C extension for kgio that's bugged, which seems to be a dependency of Unicorn, Thin, (I guess Rack itself) etc.
failshel_ has joined #ruby
gja has joined #ruby
<IceDragon> odd
<IceDragon> If that was true, then wouldn't almost every single Rails dev be on its case by now?
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
glundgren is now known as guilund
<toastynerd> Is there a way to call Infinity directly rather than dividing by 0.0?
<beakr> glundgren: "path/to/file/dir1/file.fil".gsub(/path\/to\/file\//, '') maybe?
phipes has joined #ruby
diegoviola has joined #ruby
<beakr> "path/to/file/dir1/file.fil".gsub(/path\/to\/file\//, ''")
<IceDragon> toastynerd: Float::Infinity
<beakr> **
<toastynerd> IceDragon: Thanks
<guilund> beakr: let me try
dencarlsson has joined #ruby
jerius has quit [Read error: Connection reset by peer]
<beakr> IceDragon: you're right, must not be Rack
failshell has quit [Ping timeout: 240 seconds]
<toastynerd> IceDragon: Side note, do you know the reasoning behind having a /0.0 being infinity rather than error? Seems like it could lead to some odd bugs.
burlyscudd has joined #ruby
mikesplain1 has joined #ruby
<IceDragon> because Infinity is perfectly legal with floating point numbers
phipes has quit [Remote host closed the connection]
<IceDragon> in ruby at least
<IceDragon> ;3
flame_ has quit [Quit: Computer has gone to sleep.]
<IceDragon> some things actually use Infinity
<IceDragon> like Chipmunk
Bumptious has quit [Ping timeout: 245 seconds]
dencarlsson has quit [Client Quit]
blandflakes has joined #ruby
failshel_ has quit [Ping timeout: 276 seconds]
gja has quit [Quit: This computer has gone to sleep]
aryaching_ has joined #ruby
RaCx has quit [Ping timeout: 248 seconds]
mikesplain has quit [Ping timeout: 248 seconds]
<toastynerd> IceDragon: Cool, thanks.
failshell has joined #ruby
<slash_nick> I figured they'd have something like unix's `basename`
w4pm has quit [Ping timeout: 264 seconds]
failshell has quit [Client Quit]
<IceDragon> basename, extname, dirname
RaCx has joined #ruby
<guilund> the gsub did the trick
enape_101 has joined #ruby
<beakr> guilund: :D
<IceDragon> File.join(File.dirname(filename), File.basename(filename, File.extname(filename)) + ".awe")
<IceDragon> haxx
<enape_101> I have a client who wants to integrate a remote access system with his app. I.e. similar to logmein, or teamviewer.. is this possible with ruby or rails? Any gems?
danijoo has quit [Read error: Operation timed out]
<IceDragon> remote access is pretty wide enape_101
netQT has quit [Read error: Connection reset by peer]
<IceDragon> does his App have a server side API?
aryaching has quit [Ping timeout: 264 seconds]
<IceDragon> or will it use a ssh shell
<slash_nick> guilund: don't you think the gsub is a bit... hardcoded/specific?
phipes has joined #ruby
<guilund> slash_nick: yep, did the trick for this case specific :P
dEPy has quit [Quit: Computer has gone to sleep.]
<slash_nick> lol
<guilund> slash_nick: i get the basename, its cool, but how i get the parent dir ?
<IceDragon> dirname
<slash_nick> dirname
* IceDragon is a ninja dragon
<pontiki> stealthy ninja dragon
<slash_nick> N. IceDragon... nice dragon
lukec has joined #ruby
havenwood has quit [Remote host closed the connection]
<guilund> let me see what can i do with dirname
petey has quit [Remote host closed the connection]
w4pm has joined #ruby
danijoo has joined #ruby
petey has joined #ruby
havenwood has joined #ruby
wald0 has joined #ruby
<Hanmac> beakr & (and maybe also shevy)
<Hanmac> >> data=["/path/to/file/file.fil", "/path/to/file/dir1/file.fil"].map {|s|s.split(/\//) }.sort_by(&:size); chunk = data[1].to_enum(:zip,data[0]).chunk{|a,b| a == b };[chunk.first.last.map(&:first).join("/"),chunk.to_a.last.last.map {|s| s.compact.join("/")}]
<Hanmac> >>"bot?"
flubba has joined #ruby
<slash_nick> Hanmac: what did you dooo?!
<matti> Hanmac: :)
phansch has quit [Quit: Leaving]
<beakr> Hanmac: o_o
kitak has quit [Remote host closed the connection]
drumusician has quit [Ping timeout: 265 seconds]
kitak has joined #ruby
<Hanmac> beakr: ok the bot does not show it but the result is: => ["/path/to/file", ["dir1/file.fil", "file.fil"]]
<matti> So much code.
dEPy_ has joined #ruby
<guilund> Hanmac: Enumerator Black Magic, LOVE IT
Xaitec has joined #ruby
<enape_101> IceDragon, I will be coding the app from scratch and this is one of the features he's asking for.. I've never done anything like this before and there isn't much documentation on the subject online unfortunetly.
Xaitec has quit [Remote host closed the connection]
<matti> guilund: No. He didnt use method_missing.
dagen_ has joined #ruby
<matti> guilund: ;]
<guilund> :P
dagen_ has left #ruby [#ruby]
<IceDragon> well I don't disclose my stuff, but enape_101, look into RESTFUL Web APIs
<IceDragon> Rails, Excon, and Commander will help you along the way
<matti> IceDragon: Don't disclose? ;]
<IceDragon> can't*
<IceDragon> ;x
<IceDragon> type fail
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
kiri has joined #ruby
<matti> ;p
<guilund> Hanmac: i want to get sice the /site/ directory, to create a tree ["file.html", "css/main.css", "js/main.js", "img/logo.png"] for example
bigbadbear has joined #ruby
Voodoofish4301 has quit [Ping timeout: 264 seconds]
Cephalostrum has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LBRapid has joined #ruby
<Hanmac> guilund: you mean like that? ["file.html", "css/main.css", "js/main.js", "img/logo.png"].map(&"site/%s".method(:%)) #=> ["site/file.html", "site/css/main.css", "site/js/main.js", "site/img/logo.png"]
<enape_101> IceDragon, awesome, thanks so much.
<IceDragon> np
burlyscudd has quit [Quit: Leaving.]
<guilund> Hanmac: the opposite to that, for example, /path/to/site/ get all inside the /site
<guilund> with the dirs
RaCx has quit [Quit: Computer has gone to sleep.]
Zai00 has joined #ruby
<IceDragon> guiland: Dir.entries
<guilund> Hanmac: /path/to/site/file.html /path/to/site/css/main.css => file.html css/main.css
<IceDragon> guiland: or Dir.glob
LBRapid has quit [Client Quit]
octarine has quit [Excess Flood]
Cephalostrum has joined #ruby
LBRapid has joined #ruby
octarine has joined #ruby
<guilund> IceDragon: im using Dir["#{diretorio_site}/**/*.*"] to get all the files with absolute path
<IceDragon> aka glob
<guilund> yep
burlyscudd has joined #ruby
bigbadbear has quit [Ping timeout: 240 seconds]
pel_daniel has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 246 seconds]
<IceDragon> Hmm
beakr has quit [Quit: beakr]
drumusician has joined #ruby
<guilund> i need to create a tree to write in the S3 bucket
Emmanuel_Chanel has joined #ruby
<guilund> and i need the 'root' to be the /site/ dir :)
Voodoofish4301 has joined #ruby
<guilund> im deploying to an s3 bucket created to serve static website
cj3kim has quit [Remote host closed the connection]
Mars___ has joined #ruby
<IceDragon> so you need to strip the first dirs from it
<IceDragon> and only leave latter 3 or so
<guilund> yep
<IceDragon> employ a regex?
<IceDragon> or splits
<guilund> yeh, the gsub did the trick, but
dgaffney has quit [Quit: dgaffney]
<IceDragon> :3 split by "/"
<guilund> its "hardcoded"
<pontiki> does it need to be a regexp? isn't it the exact same string in each case?
<guilund> the /site/ is and always will be /site/
<pontiki> and above that is what you want to remove, yes? the fully qualified directory path?
beakr has joined #ruby
<guilund> yeah
mudmaster has joined #ruby
Eiam has joined #ruby
jlast_ has joined #ruby
<pontiki> it's going to be the same for every one of the files in your array, yes?
bline79_ has joined #ruby
<beakr> guiland: Wait, you can use Dir[] as an alias for glob?
bryanray has quit [Quit: Leaving...]
<pontiki> beakr, yes
<pontiki> and more
<beakr> pontiki: aww man, I like the word 'glob'. :(
<pontiki> dang, IceDragon ninjas again!
<IceDragon> . x .
<pontiki> beakr: no one said you can't use glob
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<IceDragon> I prefer using glob
<benzrf> hey apeiros , are you still there?
<pontiki> [] is glob++
<IceDragon> Dir[] feels too collective ;3
<apeiros> virtually
alexherbo2 has quit [Read error: Connection reset by peer]
<pontiki> lol!! well-played
<benzrf> i fixed what i was working on, and now I could use some guidance on fixing up my project setup
<benzrf> IceDragon: one of few things i agree with shevy on is that pathname is totally bogus yo
jlast has quit [Read error: Operation timed out]
jlast has joined #ruby
mudmaste_ has quit [Ping timeout: 246 seconds]
<IceDragon> (⌐■_■)
<IceDragon> I know
jlast_ has quit [Read error: Connection reset by peer]
joaoh82 has joined #ruby
pel_daniel has quit [Ping timeout: 260 seconds]
<IceDragon> I shall no vanish, virtually...
<benzrf> I made an irc bot in another channel i frequent
<benzrf> somebody programmed it so that if you say 'fuck yeah' to it, it responds with that emote
<benzrf> :-D
<pontiki> dear gods i hate chatty bots
<beakr> There should be a bot command for every emote
<Hanmac> guilund: maybe not what you want but what do you like about this code?
<Hanmac> ["file.html", "css/main.css", "js/main.js", "js/file2.js", "img/logo.png"].each_with_object(Hash.new {|h,k| h[k] = Hash.new(&h.default_proc)}) {|s,h| d = File.split(File.dirname(s)); d.shift; f = File.basename(s); l = d.shift; o= d.inject(h,:[]); o.has_key?(l) ? o[l]=Array(o[l]) + [f] : o[l]=f}
<Hanmac> #=> {"."=>"file.html", "css"=>"main.css", "js"=>["main.js", "file2.js"], "img"=>"logo.png"}
<beakr> Unicode emote, that is
mneorr has joined #ruby
<benzrf> pontiki: it's in a small-community offtopic-y channel
<pontiki> no worries
<benzrf> how australian of you
robbyoconnor has joined #ruby
Solnse has joined #ruby
flame_ has joined #ruby
<pontiki> bonzer, mate
maroloccio has joined #ruby
<guilund> Hanmac: thats a nice code, but if i just pass an array, like the first array before treatment, the s3 will be able to write the files
<pontiki> srsly, i'm not an aussie
<benzrf> apeiros: still there?
<shevy> cool
<shevy> benzrf coded a spam bot
<benzrf> spam bots are my favorite kind of bot
lkba has quit [Ping timeout: 276 seconds]
interactionjaxsn has quit [Remote host closed the connection]
<beakr> IceDragon: can't be Rack with my Ruby bug, rackup on config.ru works like a charm
joaoh82 has quit [Ping timeout: 240 seconds]
interactionjaxsn has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arietis has quit [Quit: Computer has gone to sleep.]
burlyscudd has quit [Quit: Leaving.]
<apeiros> benzrf: only a bit
<beakr> Is there a quick option that changes the rackup default server to say thin instead of WEBrick (*screams*)
<benzrf> apeiros: quick overview of what you think I should do to my poor files?
mikesplain2 has joined #ruby
arietis has joined #ruby
shadoi has quit [Quit: Leaving.]
RaCx has joined #ruby
burlyscudd has joined #ruby
acrussell has quit [Quit: Leaving.]
withnale has quit [Ping timeout: 246 seconds]
phutchin1 has quit [Read error: Operation timed out]
krawchyk has quit []
mikesplain1 has quit [Ping timeout: 264 seconds]
ahawkins has joined #ruby
interactionjaxsn has quit [Ping timeout: 272 seconds]
endash has quit [Quit: endash]
lkba has joined #ruby
Yan__ has quit [Ping timeout: 276 seconds]
<pontiki> beakr: try rackup --help and look for --server
timonv has joined #ruby
<pontiki> srsly
<pontiki> damn i am getting no work done today
arietis has quit [Client Quit]
dpswireless has joined #ruby
ahawkins has quit [Read error: Operation timed out]
Hanmac1 has joined #ruby
<apeiros> benzrf: relink?
<beakr> pontiki: I tried -s and it errored so I figured it was something a little more abstract, now I remember that I never added thin to my Gemfile o_o
Landshark753 has joined #ruby
gyre007 has quit [Remote host closed the connection]
drumusician has quit [Ping timeout: 248 seconds]
allsystemsarego has quit [Quit: Leaving]
vlad_starkov has quit [Remote host closed the connection]
aspires has quit []
sambao21 has quit [Quit: Computer has gone to sleep.]
Hanmac has quit [Ping timeout: 248 seconds]
jwalk has joined #ruby
aspires has joined #ruby
iamjarvo has quit [Remote host closed the connection]
sambao21 has joined #ruby
zoscoy has joined #ruby
iamjarvo has joined #ruby
ctp has quit [Quit: Leaving...]
mikesplain2 has quit [Quit: WeeChat 0.4.2]
<guilund> how can i get the index of the last item in a array?
<benzrf> guilund: array.length - 1
<pontiki> good jorb
<shevy> wow
<shevy> http://forums.mozillazine.org requires moderator approve a post from me
<shevy> how stupid is that...
<ericwood> okay, nokogiri question: how would I match nodes that contain classes that begin with "Mso"??????????????
<Hanmac1> guilund: in normal arrays -1 would work too
<pontiki> ericwood: use a regexp
lethjakman has quit [Quit: WeeChat 0.4.0]
RaCx has quit [Quit: Computer has gone to sleep.]
<Hanmac1> guilund: ["a","b","c","d"][-1] #=> "d"
Hanmac1 is now known as Hanma
Hanma is now known as Hanmac
<ericwood> pontiki: but it's HTML
<ericwood> and classes can be in any order
iamjarvo has quit [Ping timeout: 248 seconds]
klaut has quit [Remote host closed the connection]
<guilund> Hanmac: files.map {|m| m.split(/\//) }.map {|i| i[i.length - 2] == "site" ? i[i.length - 1] : "#{i[i.length - 2]}/#{i[i.length - 1]}" }
burlyscudd has quit [Ping timeout: 248 seconds]
<guilund> thats what i want :P
<guilund> thanks guys!
<Hanmac> guilund: are you sure you cant replace "i.length - 2" with "-2" ?
<guilund> how can i tweak it?
aspires has quit []
<guilund> tweak, not twerk
<guilund> hehehe
<Hanmac> for arrays: a[-x] should return the same as a[a.length - x]
<shevy> twerker werker
<guilund> hanmac: oh nice, let me twerk
<shevy> lol
withnale has joined #ruby
<guilund> hahaha
brotspinne has quit [Remote host closed the connection]
<guilund> thats a nice option for tweak, everybody twerking your code
<pontiki> ericwood: doc = Nokogiri(open(url))
<guilund> files.map {|m| m.split(/\//) }.map {|i| i[-2] == "site" ? i[-1] : "#{i[-2]}/#{i[-1]}" }
<pontiki> doc.search(class: %r{"^Mso"})
brotspinne has joined #ruby
<guilund> Hanmac: great man, thank you very much
<pontiki> give it a go
<Hanmac> guilund: have you a sample of files so i can try to twæk it moere? ;P
<guilund> wait
fire has quit [Ping timeout: 260 seconds]
kep has quit [Quit: WeeChat 0.4.2]
<guilund> ["/sites/guilherme-yetilab-co/fantasias/site/1v34.html", "/sites/guilherme-yetilab-co/fantasias/site/2.html", "/sites/guilherme-yetilab-co/fantasias/site/3.html", "/sites/guilherme-yetilab-co/fantasias/site/4.html", "/sites/guilherme-yetilab-co/fantasias/site/5.html", "/sites/guilherme-yetilab-co/fantasias/site/css/main.css", "/sites/guilherme-yetilab-co/fantasias/site/ddf.html", "/sites/guilherme-yetilab-co/fantasias/site/image/BANNER.png", "
<guilund> /sites/guilherme-yetilab-co/fantasias/site/image/bg-footer.png", "/sites/guilherme-yetilab-co/fantasias/site/image/bg.png", "/sites/guilherme-yetilab-co/fantasias/site/image/ico-contato.png", "/sites/guilherme-yetilab-co/fantasias/site/image/ico-email.png", "/sites/guilherme-yetilab-co/fantasias/site/image/ico-telefone.png", "/sites/guilherme-yetilab-co/fantasias/site/index.html"]
diegoviola has quit [Ping timeout: 240 seconds]
<pontiki> cheezus
kep has joined #ruby
Landshark753 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki> ericwood: woops, do it without the quotes, sorry
alex88 has quit [Ping timeout: 246 seconds]
<guilund> Hanmac: go twerk
ckinni has joined #ruby
drumusician has joined #ruby
cj3kim has joined #ruby
<Hanmac> guilund: files.map {|m| m.split(/\//) }.map {|i| File.join(i[-2..-1] - ["site"]) }
<guilund> Hanmac: you deserve a monocle, very elegant
alex88 has joined #ruby
terrellt_ has joined #ruby
dangerousdave has quit []
terrellt has quit [Ping timeout: 260 seconds]
cj3kim has quit [Remote host closed the connection]
<guilund> Hanmac: one last doubt, it always will be the same order of the original array, right?
nhhagen has quit [Remote host closed the connection]
cj3kim has joined #ruby
awgl has quit [Ping timeout: 276 seconds]
<Hanmac> yes
maroloccio has quit [Ping timeout: 260 seconds]
<guilund> Hanmac: i have to pass two arrays, one is this mapped, that S3 will use to write the keys in the bucket, and the other will be the array it will read the file to stream
terrellt_ is now known as terrellt
<guilund> Hanmac: its safe to use two arrays?
freebs has quit [Read error: Connection reset by peer]
<Hanmac> yeah should be no problem wth that
troyready has quit [Ping timeout: 240 seconds]
jwalk has quit [Quit: leaving]
<guilund> Hanmac: thanks Miley.. ops Hanmac!
<ericwood> pontiki: hmmm, thanks
<guilund> :P
freebs has joined #ruby
Wolland has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 265 seconds]
w4pm has quit [Ping timeout: 248 seconds]
w4pm has joined #ruby
iliketurtles has joined #ruby
charliesome has joined #ruby
joaoh82 has joined #ruby
<guilund> yeahhhhh worked
<guilund> im one line of code closer to a million dollars
<guilund> :D
<benzrf> u wot
WickedAtMelb has joined #ruby
aspires has joined #ruby
timonv has quit [Remote host closed the connection]
<guilund> holy sheet, i cant drink 2 starbucks refreshers
<guilund> too much caffeine
jwalk has joined #ruby
BalkM has joined #ruby
<IceDragon> self.return
fmcgeough has quit [Quit: fmcgeough]
klaut has joined #ruby
fijimunkii has joined #ruby
nhhagen has joined #ruby
aspires has quit [Client Quit]
BalkM is now known as bMalum
<guilund> my onlyne static sitez generatorz will disrupt the web, kidding, it will ease my proccess so much that i will be able to scale by 10x :P
<guilund> its almost like having slaves
<guilund> i will never worry about servers anymore, everything will be rendered and served by s3, very cheap
mityaz has quit [Quit: See ya!]
<IceDragon> ;O
troyready has joined #ruby
<IceDragon> by the gods of ruby, this man is insane
<IceDragon> He'll kill us all!
<guilund> :P:P
<bMalum> guilund, awesome ^^
<guilund> its the starbucks refresher, never drink it
<guilund> its a caffeinne bomb
<IceDragon> We should have a live action film like that
<IceDragon> starring Hanmac and Matz
beakr has quit [Quit: beakr]
jlast has quit [Remote host closed the connection]
<benzrf> can i be the comic relief sidekick
aspires has joined #ruby
<IceDragon> yeah
<IceDragon> ;3
<IceDragon> We'll make millions
<IceDragon> which will go towards development of ruby++
<IceDragon> its like ruby, but with the speed of C++
<benzrf> but ruby doesnt have ++
<benzrf> do you mean ruby += 1
mark_locklear has quit [Quit: Leaving]
<IceDragon> ;O oh yeah
<tfitts> I have a list of 5 dates along with an integer for that date. I need to go through every day in the month and output the date along with the integer for that date if it's in the list, or a 0 otherwise. Can anyone help point me ot the right methods to search and output?
<guilund> tfitts: show the array, i will try to twerk
psyl0n has quit [Remote host closed the connection]
<shevy> tfitts a list is an array in ruby
<shevy> array.each {|entry|
<IceDragon> I think you mean "tweak"
<brtdv> Hi
<shevy> or .select
maximumgeek has quit [Read error: Connection reset by peer]
<IceDragon> ki
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<tfitts> it's a hash right now, not sure if I should do an array or leave it in a hash.
<tfitts> [{:date=>Sun, 04 Aug 2013, :units=>10.0}, {:date=>Sun, 11 Aug 2013, :units=>4.0}, {:date=>Sun, 15 Sep 2013, :units=>2.0}, {:date=>Sun, 22 Sep 2013, :units=>3.0}, {:date=>Sun, 06 Oct 2013, :units=>15.0}, {:date=>Sun, 29 Dec 2013, :units=>2.0}]
<guilund> IceDragon: no, i will twerk the array
<IceDragon> ;x whateva you say bro
<guilund> ::P
<shevy> tfitts well [] outside is still an array :P
<tfitts> right
<tfitts> it's actually the first day of the week for a year instead of days of a month, but the problem is the same.
<shevy> is "Sun, 04 Aug 2013" a string?
<guilund> lets create a gem called Miley, that twerk enumerators to something more human readable
<tfitts> no, it's a date class
<IceDragon> Its the output of Date#to_s possibly
benzrf is now known as benzrf|away
<benzrf|away> bbl
<shevy> yea
<pontiki> tfitts: i'd just do a date range
<tfitts> pontiki: what do you mean?
<tfitts> pontiki: I don't have any trouble generating the list of dates I want to check against.
<pontiki> then what is the problem?
<shevy> do you have the list of days in a year already?
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mudmaste_ has joined #ruby
<shevy> first get the days, iterate through them, in the iteration do the conditional checks whether your second array includes these
vlad_starkov has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
vadviktor_ has quit [Read error: Operation timed out]
<tfitts> ok, that's basically what I'm doing. just seemed like it was very verbose
KevinSjoberg has quit [Ping timeout: 246 seconds]
bean has joined #ruby
saarinen has quit [Quit: saarinen]
RaCx has joined #ruby
psyl0n has joined #ruby
<guilund> tfitts the array is exactley this?
<guilund> i get an error
bilbo_swaggins has joined #ruby
<tfitts> yeah, it's exactly that.
timmow has quit [Ping timeout: 260 seconds]
vadviktor has joined #ruby
andrewh_ has quit [Ping timeout: 246 seconds]
mnemon has quit [Quit: No Ping reply in 180 seconds.]
ce_afk has quit [Ping timeout: 246 seconds]
mudmaster has quit [Ping timeout: 248 seconds]
mnemon has joined #ruby
<shevy> guilund because you dont have the time objects
jrd0 has quit [Ping timeout: 252 seconds]
<tfitts> ok, maybe a better question is how can I make this weeks.detect{|w| w[:date] == date}[:units] return 0 instead of error undefined method `[]' if it doesn't detect a match.
<shevy> I actually don't know how to generate every day in a year
Haegin has quit [Ping timeout: 276 seconds]
pwh has quit []
<shevy> split it up into two lines
error404_ has quit [Ping timeout: 246 seconds]
<shevy> if foo.has_key? :date
<shevy> or :units
Haegin has joined #ruby
ce_afk has joined #ruby
<shevy> or run [:units] on the second line
<shevy> result = weeks.detect # etc
<shevy> unless result.empty?
assurbanipal has joined #ruby
<shevy> btw why return 0
<shevy> :D
jrd0 has joined #ruby
timmow has joined #ruby
burlyscudd has joined #ruby
<tfitts> shevy: it's for graphing the data.
<shevy> ah
<bilbo_swaggins> neat, I get it now
<shevy> so like a plot
<tfitts> right
<bilbo_swaggins> carry on; I lurk once more
<shevy> lol bilbo_swaggins
KevinSjoberg has joined #ruby
mnemon has quit [Client Quit]
mnemon has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<bilbo_swaggins> Ruby is my first language and I believe I am at the upper threshold of my journeymanship
arietis has joined #ruby
<bilbo_swaggins> It is exciting
<waxjar> tfitts: find takes an argument. it return whatever you feed if if no matches are found
claymore has quit [Ping timeout: 264 seconds]
<waxjar> *returns
sambao21 has joined #ruby
<waxjar> or detect i mean. same thing tho
andrewh has joined #ruby
claymore has joined #ruby
error404 has joined #ruby
brunops has joined #ruby
fedesilva has joined #ruby
<shevy> what could be done to make ruby a better language
spyderman4g63 has quit []
fedesilv_ has quit [Ping timeout: 240 seconds]
<bilbo_swaggins> a proper object copy operation, inefficient as may be, would be very useful
jlast has joined #ruby
w4pm has quit [Ping timeout: 260 seconds]
aryaching_ has quit [Ping timeout: 264 seconds]
<IceDragon> Marshal.load(Marshal.dump(obj))
blarghmatey has joined #ruby
<IceDragon> what more could you want?
<bilbo_swaggins> one which not only copies not the reference, but rather the object itself; following all object references within
saarinen has joined #ruby
jlast has quit [Remote host closed the connection]
<bilbo_swaggins> actually that's impossible to get right for everything
<bilbo_swaggins> forget it
jlast has joined #ruby
<shevy> hehe
interactionjaxsn has joined #ruby
<bilbo_swaggins> yeah I know about that 'elegant' solution with Marshal
<shevy> I will display bilbo_swaggins's enthusiasm in a graphical way now
<shevy> . . . . ... ... .....--------^^^^^^------..... ... ... . . . . .
<IceDragon> >> obj = ["String", "Is", "Awesome"]; new_obj = Marshal.load(Marshal.dump(obj)); [new_obj.equal?(obj), new_obj[0].equal?(obj[0])]
<bilbo_swaggins> IceDragon, but what of a tree?
<wald0> mmh, not sure if this is a question for this channel but, my vim "tab" triggers a giant list of options to autocomplete when: if 1.<TAB>, how i can make it list only the available methods (for example, or a useful list)
<IceDragon> ...
<IceDragon> okay eval-in
<bilbo_swaggins> You'll still have reference copies at lower levels
<IceDragon> ANY MINUTE NOW
pwh has joined #ruby
<shevy> IceDragon you broke the bot again :<
mklappstuhl has joined #ruby
<IceDragon> BOT Y U NO MARSHAL?
<shevy> security risk
klcant102 has quit []
ahawkins has joined #ruby
<IceDragon> >> "Hello World"
<bilbo_swaggins> >> puts "is this some sort of ruby call syntax?"
mereghost has quit [Read error: Operation timed out]
<IceDragon> ヽ( ´¬`)ノ
jeremy_w_rowe has quit [Quit: jeremy_w_rowe]
<guilund> >> 1+1
fedesilva has quit [Ping timeout: 265 seconds]
<IceDragon> yeah its broke
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
w4pm has joined #ruby
<guilund> the bot is written in ruby or mIRC script?
<guilund> :P
<IceDragon> possibly an mIRC script which invokes ruby
<momomomomo> why mIRC
<bilbo_swaggins> yeah
<IceDragon> dunno
<bilbo_swaggins> anything is better
Wolland has joined #ruby
<IceDragon> pything
<IceDragon> err
<IceDragon> pythong
<IceDragon> err
<IceDragon> python
<IceDragon> ;3
<guilund> after basic, when i was 8
mereghost has joined #ruby
<guilund> i made a lot of mIRC scripts :P
jlast has quit [Ping timeout: 264 seconds]
newUser1_ has quit [Remote host closed the connection]
<guilund> with, 12, 13...
<guilund> nobody used mIRC?
<bilbo_swaggins> I used it 12 years ago, fell out of IRC until 2 years ago
<lewellyn> i haven't touched mirc since... win-os/2 :P
m-o-s has quit [Remote host closed the connection]
jkamenik has quit [Quit: Leaving.]
<guilund> i guess it was a brazilian thing...
<bilbo_swaggins> I like xchat or irssi more
breakingthings has quit []
claymore has quit [Quit: Leaving]
<bilbo_swaggins> my god we're discussing irc clients
<bilbo_swaggins> pretty soon we're going to recurse
wchun has quit [Ping timeout: 245 seconds]
freggles has quit [Remote host closed the connection]
ahawkins has quit [Ping timeout: 276 seconds]
<guilund> i dont see a problem talk about off topicz
<guilund> why u guyz so serious?
<shevy> are you the joker guilund
RaCx has quit [Quit: Computer has gone to sleep.]
<bilbo_swaggins> well if there's not much to talk about in the way of ruby, sure
ctp has joined #ruby
<IceDragon> guiland: IRC is srsbizness
<guilund> im batman
<shevy> bilbo_swaggins I use xchat!
subbyyy has quit [Ping timeout: 248 seconds]
<bilbo_swaggins> if there's a lively chat about something neat, it's best to take off-topic chat to a private window
<shevy> hexchat will eventually replace it
<guilund> im in this limechat, looks like a terminal
<guilund> for mac
<shevy> awful
<bilbo_swaggins> I use xchat because I'm on Mint
<shevy> how can you use commandline stuff for chatting and not mispaste
<bilbo_swaggins> I am moving to Arch next. srsbzns indeed
subbyyy has joined #ruby
<bilbo_swaggins> Terminal let's me copy-paste just fine
mklappstuhl has quit [Remote host closed the connection]
<guilund> i was using Kiwiirc
<phinfonet> bilbo_swaggins: take care with arch
<bilbo_swaggins> even Windows CMD lets you do it
<bilbo_swaggins> it's just awkward and unintuitive
<bilbo_swaggins> phinfonet: I have a brilliant mentor
<phinfonet> bilbo_swaggins: i was used arch by 2 years, is an excelent system
<bilbo_swaggins> I actually just met him this last week after I drove from California to Seattle. He's interning at Microsoft. It's a great campus.
jedimind has quit [Quit: Textual IRC Client: www.textualapp.com]
<phinfonet> but the updates is a bit dangerous
<phinfonet> hehe
<phinfonet> you need to update every week
Dwarf has quit [Ping timeout: 240 seconds]
<bilbo_swaggins> well it wouldn't hurt to pay more attention to *what* I'm updating
<shevy> guys I have a question for gems + .gemspec file
<shevy> if I have a class which is an acronym, let's call it FOO. class FOO
<guilund> shevy: go on shevy, i will help you
<shevy> should the name of the project in the .gemspec file be:
<shevy> s.name = 'foo'
<shevy> 'Foo'
<shevy> or 'FOO'
<shevy> ?
<guilund> shevy: i dont know
<shevy> right now I named it FOO, but I require it like doing: require 'foo', so that disturbs me
<shevy> require 'FOO' would suck.
<shevy> anyone knows of another acronym-named project perhaps?
sophomorical has quit [Ping timeout: 240 seconds]
mereghost has quit [Ping timeout: 260 seconds]
<guilund> start with a number so you dont worry about capitalize
<shevy> :\
<guilund> thats what i call wisdom..
<shevy> a number would be even worse as it does not relate to the project at hand!
<guilund> im kidding
<guilund> you guys are ruby monsters
<guilund> im an apprentice :P
<guilund> im not ready to help yet
Evixion has joined #ruby
DGuedes has joined #ruby
max96at has quit [Quit: Textual IRC Client: www.textualapp.com]
<benzrf|away> is being a ruby monster good or bad
benzrf|away is now known as benzrf
<benzrf> shevy: just do the opposite of what you think the best choice is
<benzrf> and you should be correct
<bilbo_swaggins> shevy, is this a question of style or functionality?
<guilund> well, i gues its good
blandflakes has quit [Quit: Page closed]
krz has quit [Quit: WeeChat 0.4.2]
<guilund> but this place is so culturally mixed that i dont know anymore
<guilund> maybe in your country is bad
<bilbo_swaggins> ruby has no borders, only facets
<benzrf> Hanmac: ha
<pontiki> bilbo_swaggins: well played, that
<bilbo_swaggins> guilund, do whatever works for now and fix it later
<bilbo_swaggins> but do fix it if it needs fixing
<guilund> ?
<guilund> man, my iq is about 140, sometimes i dont get what you guys talk
<guilund> im dumb for ruby standards
brotspinne has quit [Remote host closed the connection]
<bilbo_swaggins> I don't really understand your question though. I've only touched on gemspec files
<benzrf> pfft 140 is high
wchun has joined #ruby
<benzrf> you dont lack skill you lack eddycashun
<bilbo_swaggins> mine is 480
<bilbo_swaggins> my mom told me so
<guilund> rubyists is about 380, like isaac newton
<guilund> hahaha my mom told me this also
<guilund> shes psychologists and applied the test
<benzrf> im sure all of you are at the top of the bell curve
<guilund> :P
Brolen has quit [Quit: Brolen]
* pontiki rings the bell curve
<pontiki> BONG BONG BONG
<bilbo_swaggins> the curve can shift
<guilund> we don need no... eddycashun
newUser1234 has joined #ruby
<apeiros> mine is 27, that's enough for anybody
croaky has quit [Ping timeout: 245 seconds]
<bilbo_swaggins> actually lol'd
assurbanipal has quit [Remote host closed the connection]
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bilbo_swaggins> okay back to reading about PRNGs and pretending to work
fijimunkii has quit [Ping timeout: 248 seconds]
<guilund> sometimes i need to hack my brain with herbs that increase the blood flow in the brain
enape_101 has quit [Ping timeout: 264 seconds]
coderhs has quit [Ping timeout: 245 seconds]
gverri has joined #ruby
<guilund> its called vimpocetin, if you guys try it you will be able to telekinesis
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
ctp has quit [Ping timeout: 264 seconds]
jlast has joined #ruby
<guilund> im leaving, thenk you guys for the help!
allaire has joined #ruby
<guilund> byes
guilund has quit []
brandonblack is now known as mongodb-bot
momomomomo has quit [Quit: momomomomo]
iliketurtles has joined #ruby
bricker has quit [Ping timeout: 240 seconds]
iliketurtles has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
kcombs has quit [Remote host closed the connection]
<slash_nick> i like puns... bilbo's wagons
rootshift has quit [Quit: rootshift]
<shevy> bilbo_swaggins functionality mostly. I need to be consistent in what I do
<shevy> Hanmac the moment I can try it out will be the moment where I will test it EXTENSIVELY
asobrasil has left #ruby [#ruby]
<shevy> and I'll especially add issues related to documentation :D
cj3kim has quit [Remote host closed the connection]
mudmaster has joined #ruby
bricker has joined #ruby
mehlah_ has joined #ruby
jlast has quit [Read error: Connection reset by peer]
mehlah has quit [Ping timeout: 246 seconds]
iliketurtles has joined #ruby
ehc has joined #ruby
drumusician has quit [Ping timeout: 260 seconds]
mudmaste_ has quit [Ping timeout: 264 seconds]
iliketurtles has quit [Client Quit]
pzula has quit [Ping timeout: 265 seconds]
<bilbo_swaggins> any o'y'all play an instrument? which? etc
cj3kim has joined #ruby
fedesilva has joined #ruby
<bilbo_swaggins> been playing guitar 10 years and just the last few months I've been working with a music instructor to get formal training and theory down
iliketurtles has joined #ruby
iliketurtles has quit [Excess Flood]
fijimunkii has joined #ruby
<wald0> is there a vim plugin that shows the available method possibilities with some small description ? like pressing 1.<TAB>
<bilbo_swaggins> I'm curious what the overlap is between musicians and programmers
iliketurtles has joined #ruby
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<terrellt> bilbo_swaggins: http://skeptics.stackexchange.com/questions/1570/are-programmers-likely-to-be-musicians Evidently there's a correlation.
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
nanoyak has joined #ruby
<Hanmac> bilbo_swaggins: a long time ago i tryed to work with the Rosegarden program ... (combined with JACK and QSynth) it can be used to make your own sounds from notes
jamesaanderson has joined #ruby
enape_101 has joined #ruby
<bilbo_swaggins> oh that is so awesome
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mongodb-bot is now known as brandonblack
* bilbo_swaggins goes to look for music gems
pzula has joined #ruby
m-o-s has joined #ruby
<Hanmac> took a long time until i got JACK and pulseaudio working together ... (so i can watch video while i play music)
<shevy> Hanmac lol
<shevy> Hanmac minimalist!
jerius has joined #ruby
<shevy> bilbo_swaggins I used to play piano when I was a child. I forgot most now. But I'd love to generate audio data from ruby
jamesaanderson has quit [Client Quit]
<shevy> bilbo_swaggins apeiros once wrote a .rb file that creates .wav file playing "alle meine entlein" that's how it would sound, but even worse in pure wav :P https://www.youtube.com/watch?v=WrxzWf9k6iM
brandonblack is now known as mongodbot
hiall has quit [Quit: hiall]
gilcosson has quit [Remote host closed the connection]
mongodbot is now known as brandonblack
lioninawhat has joined #ruby
DavePol has joined #ruby
m-o-s has quit [Ping timeout: 265 seconds]
rubyracer has quit [Quit: Konversation terminated!]
jblack has joined #ruby
Hanmac1 has joined #ruby
<bilbo_swaggins> that's cool
iliketurtles has quit [Quit: zzzzz…..]
sambao21 has quit [Quit: Computer has gone to sleep.]
<bilbo_swaggins> combining that with this: http://rubygems.org/gems/music
<bilbo_swaggins> you could start making more complex compositions
<bilbo_swaggins> I don't know if that gem is actually any good
<bilbo_swaggins> it sounds good and I am hopeful
DavePol has quit [Client Quit]
<benzrf> fun programming challenge for all you people: write a program that reads its own source as music in some form, then structure it such that it plays an existing melody
<IceDragon> ;x
<bilbo_swaggins> wait what, the last part is brutal
<pontiki> anyone know of a good mapping between 2-char country code and locale?
po10_ has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
iliketurtles has joined #ruby
doodlehaus has quit [Remote host closed the connection]
butblack has joined #ruby
<pontiki> 639 is the list of languages
<pontiki> 639-1 that is
<pontiki> 639-2 is the list of countries
saarinen has quit [Quit: saarinen]
shadoi has joined #ruby
stryek has quit [Ping timeout: 260 seconds]
<bilbo_swaggins> if anyone has any doubt, RubyMine is worth the money
x__ has quit [Ping timeout: 264 seconds]
ambushsabre has joined #ruby
<bilbo_swaggins> it's the little things
<pontiki> no sorry that's not it
<pontiki> 639 is the languages
<shevy> bilbo_swaggins do you make ruby gems?
<bilbo_swaggins> benzrf: I'll take that challenge
<shevy> one day I want to dive into audio stuff
<bilbo_swaggins> I haven't made any gems, myself
<bilbo_swaggins> there are some great tutorials on that if you want to start early
<bilbo_swaggins> you're ready
<bilbo_swaggins> just go for it
dpswireless has quit [Remote host closed the connection]
<shevy> no
<shevy> I have time problems
<bilbo_swaggins> if you get stuck, do something else for a while
<shevy> a million things to do, adding one more just means I'll have less time :(
<bilbo_swaggins> I have the exact same problem
olivier_b has joined #ruby
Dwarf has joined #ruby
<bilbo_swaggins> I should get off IRC :P
<shevy> this is cool
<shevy> Music::Note.new 33.3 # => C1
<shevy> hehe yeah
<shevy> IRC can be a time waster
croaky has joined #ruby
<terrellt> RubyMine is worth your employer's money*
sailias has quit [Quit: Leaving.]
<shevy> I try to reduce the amount of channels but it's hard... am on 9 channels right now
<bilbo_swaggins> well I did get an interesting project idea
<bilbo_swaggins> and I found a neat gem
<bilbo_swaggins> not a total loss
ctp has joined #ruby
<bilbo_swaggins> terrellt: if only I didn't work for an IT company that rewards salespeople more than people who know things
thumpba_ has joined #ruby
yellow5 has quit [Ping timeout: 241 seconds]
po10_ has quit [Quit: /]
<bilbo_swaggins> anyway, aufwiederlesen
rootshift has joined #ruby
<shevy> hehe
sophomorical has joined #ruby
po10 has joined #ruby
kitak has quit [Remote host closed the connection]
baordog_ has quit [Remote host closed the connection]
v0n has quit [Quit: WeeChat 0.4.2]
v0n has joined #ruby
mary5030 has quit [Ping timeout: 248 seconds]
johnmilton has quit [Remote host closed the connection]
yellow5 has joined #ruby
wildroman2 has joined #ruby
danshult_ has quit [Remote host closed the connection]
Bira has joined #ruby
aspires has quit []
aspires has joined #ruby
jamesaanderson has joined #ruby
charliesome has joined #ruby
<olivier_b> in my server A i have a ruby script where i've installed net/ssh/gateway and mysql for the script actif_user.rb . This script need to connect on the server B but it doesn't have mysql2 gem installed .
jamesaanderson has quit [Client Quit]
<olivier_b> the script on the server A connect on the server B for execute some command on mysql
aspires has quit [Client Quit]
<olivier_b> the server B need the gem mysql2 ?
Landshark753 has joined #ruby
kure__ has joined #ruby
ctp has quit [Ping timeout: 264 seconds]
<olivier_b> or it's okai because i use ssh/gateway
kirun has quit [Quit: Client exiting]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
andrewh has quit [Read error: Operation timed out]
maroloccio has joined #ruby
zoscoy has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
dEPy_ has quit [Quit: Computer has gone to sleep.]
ehaliewicz has joined #ruby
jamesaanderson has joined #ruby
nateberkopec has quit [Quit: Leaving...]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BillyJack has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
macuser has joined #ruby
relix has joined #ruby
macuser is now known as Guest11995
jamesaanderson has quit [Client Quit]
kure_ has quit [Ping timeout: 272 seconds]
Megtastique has quit []
jrd0 has quit [Ping timeout: 276 seconds]
workmad3 has joined #ruby
jlast has joined #ruby
ndrei has quit [Read error: No route to host]
kpshek has quit []
aspires has joined #ruby
Megtastique has joined #ruby
ahawkins has joined #ruby
jlast has quit [Ping timeout: 248 seconds]
dopie has joined #ruby
dEPy_ has joined #ruby
pzula has quit [Quit: leaving]
Asher has joined #ruby
meatherly has joined #ruby
Asher has quit [Client Quit]
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
lele has quit [Ping timeout: 245 seconds]
Asher has joined #ruby
rootshift has quit [Quit: rootshift]
ahawkins has quit [Ping timeout: 248 seconds]
kep has quit [Read error: Operation timed out]
cmouse has joined #ruby
Cephalostrum has quit [Ping timeout: 260 seconds]
dEPy_ has quit [Ping timeout: 248 seconds]
withnale has quit [Ping timeout: 260 seconds]
ctp has joined #ruby
trinode has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<trinode> is rubysl shared between all ruby implementations?
wildroman2 has quit [Ping timeout: 260 seconds]
thumpba_ has quit [Remote host closed the connection]
brandonblack is now known as brblck
fijimunkii has quit [Ping timeout: 240 seconds]
brblck is now known as brblack
kep has joined #ruby
brblack is now known as brandonblack
Megtastique has quit []
Deele has quit [Ping timeout: 260 seconds]
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alex88 has quit [Quit: Leaving...]
phipes has quit [Remote host closed the connection]
nanoyak has joined #ruby
lfox has quit [Quit: ZZZzzz…]
<trinode> well, if rubysl is in mri
dkamioka_ has quit [Remote host closed the connection]
ctp has quit [Ping timeout: 276 seconds]
<trinode> he's right, I've built an up to date machine with an up to date openssl, and it cannot be compiled
burlyscudd has quit [Quit: Leaving.]
Zai00 has quit [Quit: Zai00]
wildroman2 has joined #ruby
jnoob22 has joined #ruby
Landshark753 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
acrefoot has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
Signum has quit [Quit: No Ping reply in 180 seconds.]
rootshift has joined #ruby
Signum has joined #ruby
asmodlol has joined #ruby
Jetchisel has joined #ruby
shadoi has quit [Quit: Leaving.]
<wald0> I have see references of ruby, but is there some kind of list/reference that shows the methods ? (or most-used ones?), like .each, .upto, .match...
sethen has joined #ruby
maroloccio2 has joined #ruby
rootshift has quit [Client Quit]
maroloccio has quit [Ping timeout: 264 seconds]
iliketurtles has joined #ruby
dblessing has quit [Quit: dblessing]
withnale has joined #ruby
brtdv has quit []
freebs has quit [Quit: Leaving.]
phipes has joined #ruby
wallerdev has quit [Quit: wallerdev]
<wald0> dont tell me everybody has a giant memory to remember all of them :)
tt1187 has quit []
nateberkopec has joined #ruby
nwertman has joined #ruby
brandonblack is now known as mongodbot
wildroman2 has quit [Remote host closed the connection]
<benzrf> g2g
benzrf has left #ruby [#ruby]
bean has joined #ruby
wildroman2 has joined #ruby
nhhagen has quit [Remote host closed the connection]
<bilbo_swaggins> wald0: http://ruby-doc.org/
<bilbo_swaggins> never be left in the intellectual cold again
<bilbo_swaggins> this resource is fantastic
petey_ has joined #ruby
<bilbo_swaggins> I don't believe it's official, but it's (mostly?) comprehensive
eka has quit [Quit: Computer has gone to sleep.]
<olivier_b> in my server A i have a ruby script where i've installed net/ssh/gateway and mysql for the script actif_user.rb . This script need to connect on the server B but it doesn't have mysql2 gem installed .
maletor has quit [Quit: Computer has gone to sleep.]
mojjojo has joined #ruby
<olivier_b> the script on the server A connect on the server B for execute some command on mysql
<olivier_b> the server B need the gem mysql2 ?
<olivier_b> or it's okai because i use ssh/gateway
<olivier_b> or i make a mistake
Megtastique has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bricker has quit [Ping timeout: 240 seconds]
pencilcheck has joined #ruby
wildroman2 has quit [Ping timeout: 260 seconds]
zxd has joined #ruby
shadoi has joined #ruby
petey has quit [Ping timeout: 264 seconds]
<bean> olivier_b, what are you SSHing for?
apeiros has joined #ruby
rootshift has joined #ruby
subbyyy has quit [Ping timeout: 272 seconds]
emocakes has joined #ruby
sergicles has joined #ruby
MrZYX is now known as MrZYX|off
petey has joined #ruby
pen has quit [Ping timeout: 260 seconds]
nwertman_ has joined #ruby
nwertman_ has quit [Remote host closed the connection]
maletor has joined #ruby
wildroman2 has joined #ruby
m-o-s has joined #ruby
mehlah_ has quit [Ping timeout: 276 seconds]
<wald0> what is rspec? im finishing a ruby book and i have not read about htat yet
coda23 has joined #ruby
mongodbot is now known as brandonblack
subbyyy has joined #ruby
<bean> wald0, its for testing
nwertman has quit [Read error: Connection reset by peer]
<wald0> unit-testing stuff?
zxd has quit [Ping timeout: 248 seconds]
<bilbo_swaggins> wald0: it's a way of writing tests for each part of your code with a Ruby-derived syntax that's pretty easy to pick up
<havenwood> wald0: specs rather, but yeah just another word for the same thing
<havenwood> wald0: for spec style tests in the stdlib you can look at Minitest
<bilbo_swaggins> takes an investment of time, but it's intuitivish
<olivier_b> bean: i need to execute a script on the server A but this script must to connect on the server B where we have mysql
horofox_ has joined #ruby
<bean> olivier_b, its not going to work like that
petey_ has quit [Ping timeout: 260 seconds]
apeiros has quit [Ping timeout: 265 seconds]
<olivier_b> bean, i use net ssh gateway
lkba has joined #ruby
CpuID has joined #ruby
enebo has quit [Quit: enebo]
brunops has quit [Quit: leaving]
<bean> olivier_b, SSH has nothing to do with you connecting to a remote socket
mavcunha has quit [Ping timeout: 248 seconds]
Landshark753 has joined #ruby
<bilbo_swaggins> ooh sockets
nwertman has joined #ruby
troyready has quit [Ping timeout: 240 seconds]
<wald0> ok, thx
DaniG2k has joined #ruby
m-o-s has quit [Ping timeout: 240 seconds]
kep has quit [Quit: WeeChat 0.4.2]
burlyscudd has joined #ruby
mlpinit_ has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
mlpinit has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
DaniG2k has quit [Client Quit]
mavcunha has joined #ruby
pen has joined #ruby
ocline``` has quit [Ping timeout: 240 seconds]
bricker has joined #ruby
pencilcheck has quit [Ping timeout: 264 seconds]
mlpinit_ has joined #ruby
wildroman2 has quit [Ping timeout: 260 seconds]
Wolland_ has joined #ruby
tonni_ has joined #ruby
aryaching_ has joined #ruby
jblack has quit [Ping timeout: 248 seconds]
petey_ has joined #ruby
butblack_ has joined #ruby
mojjojo_ has joined #ruby
ckipel has joined #ruby