apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: 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
<rpag> since its been a few years, you might be most surprised by how far javascript has come, there's mvc frameworks for it now too
<rpag> and node.js on the server side
scripore has quit [Client Quit]
<simon`> It's actually just going to be a rather simple site for my fathers architect bureau. I might have to put some designers work into code, so bootstrap sounds like a good idea.
<simon`> Yeah, I heard about node.js
<rpag> yeah, bootstrap is easy to use and looks good out of the box
<banister> rpag sup pagg-dogg
<banister> rpag i'm in tokyo
<rpag> its built for mobile as well (since bootstrap3)
<rpag> sup mah brutha
<rpag> you lucky basterd :)
<rpag> in the airport?
<rpag> or city?
<banister> rpag nah just transit on my way back to holland, but i left the airport and slept in a capsule hotel last night
Sawbones has joined #ruby
<rpag> sweet, i heard about those
<rpag> did you fit? =D
<banister> lol
bonhoeffer has joined #ruby
bashusr has joined #ruby
<banister> yeah, it's pretty comfortable, and they play ocean sounds to relax u
<simon`> So what would be the workflow of using bootstrap in combination with lets say slim?
<rpag> awesome
dangerousdave has quit [Ping timeout: 252 seconds]
shock_one has quit [Remote host closed the connection]
<simon`> Would I need to manually put the bootstrap templates into code? Or is there some automated way of doing so?
<rpag> include the bootstrap CSS and JS in your slim templates.
<rpag> where are you using slim? Rails, Sinatra, ..?
<banister> rpag how's dub
<bradland> he’s using sinatra
<rpag> banister, shittty, i hate it here, as you know :-)
<simon`> banister: what do they charge in those casule hotels for a night?
<rpag> banister, ive started to write programs to try win the euromillions :D
<banister> simon` 45 euro
Sawbones has quit [Remote host closed the connection]
<banister> rpag cool, what kinda stuff?
charliesome has joined #ruby
<banister> darn this is weird, there's a white couple behind me speaking to eachother in fluent japanese
<rpag> banister, something that will take my usual numbers and tell me if i won or not so far
<banister> rpag oh, lottery?
<rpag> yep
<banister> cool
bonhoeffer has quit [Client Quit]
<rpag> what kinda flight time are you looking at?
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby
charliesome has quit [Ping timeout: 272 seconds]
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby
rajeshchawla has quit []
rpag has quit [Quit: Leaving]
havenwood has joined #ruby
scripore has joined #ruby
jenrzzz has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<chrisseaton> hi everyone - can any of you help me understand why does this work? https://gist.github.com/chrisseaton/926d4c5ba81a3ea3370f define_method is a method on Module, but self is a Object, so where does Ruby get this method from?
bashusr has joined #ruby
Xiti` has joined #ruby
charliesome has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xiti has quit [Ping timeout: 264 seconds]
banister has joined #ruby
pwh has quit []
banister has quit [Client Quit]
kevr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dain_ has quit [Quit: dain_]
bashusr has joined #ruby
<bradland> chrisseaton: Object.define_method exists because of Object’s ancestory
<bradland> try adding two lines to the beginning of your script
<bradland> Object.class
dling has quit []
mquin has quit [Read error: Connection reset by peer]
<bradland> Object.ancestors
<bradland> well, prefix those with p, so you can see the output, but you get what I mean
<chrisseaton> bradland: I see [Object, Kernel, BasicObject] - but none of them include define_method
<bradland> i think Object gets define_method through Class, which is the link to Module
<bradland> sry, Object.class returns Class
<bradland> do Class.ancestors instead
<bradland> you can do the same in an irb/pry session
<jhass> Object.class.ancestors # fail-safe mode ;)
<chrisseaton> yeah, but the main object isn't Class, it is *a* class
mquin has joined #ruby
<chrisseaton> sorry, totally wrong, I mean it's not Object, it's *a* Object
dain_ has joined #ruby
<chrisseaton> isn't it? I may be wrong
<bradland> i recommend pry, because it has some cool stuff like the ability to “cd” in to a class and use ls to reflect
<bradland> self is Object
bashusr has quit [Read error: Connection reset by peer]
<jhass> so, Object is a class, since class Object == Object = Class.new
amundj has joined #ruby
<bradland> ^ that
<bradland> chrisseaton: gem install pry
<chrisseaton> bradland: but "p self == Object" gives me false
<bradland> then type pry at the command line
Channel6 has joined #ruby
bashusr has joined #ruby
<jhass> and class Class < Module
Xiti` has quit [Quit: Xiti`]
<chrisseaton> just installing pry now...
<jhass> main is an instance of Object
x1337807x has joined #ruby
Xiti has joined #ruby
<chrisseaton> jhass: so if main is an instance of Object, how can I do define_method? Object doesn't include or subclass Module
JDHankle has quit [Quit: Leaving...]
dain_ has quit [Client Quit]
vin` has quit [Ping timeout: 256 seconds]
<jhass> mmh, seems special cased
dling has joined #ruby
<bradland> yeah, Object is kind of weird
<jhass> that def foo ends up as private methods on Object you can explain with the definee being Object and not an instance of Object
<chrisseaton> jhass: yeah and I can't see any mention of it in the docs - they just say it's defined on Module
<bradland> like if you do Class.class in pry, you get Class
<bradland> do Object.class in pry, and you’ll see it’s actually Class
carvantes has joined #ruby
<bradland> chrisseaton: follow this trail with me
<bradland> in your script, self.class is what? Object, right?
<bradland> follow along with me in pry
<bradland> Object.class
<chrisseaton> yeah
<bradland> see the result?
gsd has quit [Read error: Connection reset by peer]
<chrisseaton> Object.class is Class, makes sense
<bradland> so now do this
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bradland> cd Class
<bradland> then type
<chrisseaton> yeah
<bradland> ancestors
<bradland> you should see Module in that list
gsd has joined #ruby
<bradland> that’s why define_method works, because self is Object, and Object’s class is Class
<bradland> this is why i love pry
<chrisseaton> bradland: but self isn't Object - self is an instance of Object
<chrisseaton> p self == Object -> false
Musashi007 has quit [Quit: Musashi007]
dh64 has joined #ruby
<chrisseaton> self's class is Object, not Class, so not a Module
<bradland> have a read through that
<pontiki> pry needs a theme song
luriv has quit [Quit: Leaving]
<jhass> it's special cases, period
skj3gg has joined #ruby
<jhass> >> [self.methods.include?(:define_method), self.method(:define_method)]
<chrisseaton> bradland: hmm not sure that solves my problem Object.define_method is Module.define_method yeah - but self is not Object, so that's irrelevant isn't it?
<eval-in> jhass => [false, #<Method: main.define_method>] (https://eval.in/241049)
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
<jhass> ah, hm
<bradland> ha
<jhass> >> singleton_class.ancestors.first
<eval-in> jhass => #<Class:#<Object:0x41ec2e44>> (https://eval.in/241050)
bashusr has quit [Read error: Connection reset by peer]
<bradland> nice one jhass
<bradland> >> self.method(:define_method).owner
<eval-in> bradland => #<Class:#<Object:0x405e6e34>> (https://eval.in/241051)
<bradland> >> self
<eval-in> bradland => main (https://eval.in/241052)
<bradland> >> self.class
<eval-in> bradland => Object (https://eval.in/241053)
<chrisseaton> I think the root of the problem then is that there is no documentation of for the main object - so there's nowhere to look for this stuff is there?
<pontiki> what actually is the problem?
<bradland> ruby source code?
<bradland> roffleburgers
<bradland> traditionally, the definition of ruby is ruby
bashusr has joined #ruby
<jhass> it's probably somewhere documented inside http://docs.ruby-lang.org/ja/;)
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<klmlfl> Hello all - I'm doing an exercism exercise and i'm running into this error: https://gist.github.com/klmlfl/e2a3400582c0a2d3d861
<havenwood> >> class << self; remove_method :to_s end; self.to_s
<eval-in> havenwood => "#<Object:0x4138ee38>" (https://eval.in/241054)
<klmlfl> Below you will find the code I wrote and below that you'll find a couple of the tests
<havenwood> chrisseaton: here's a little writeup banister did a while back on main's oddities: https://banisterfiend.wordpress.com/2010/11/23/what-is-the-ruby-top-level/
<klmlfl> I would love to know how to set up my class so I can run the tests successfully --whether they P/F
<pontiki> klmlfl: are you aware of the "Add File" button when you're creating a gist?
<klmlfl> No.
<chrisseaton> havenwood: that's helpful thanks
<jhass> klmlfl: class Integer; def to_roman; # your code; end; end;
<pontiki> it's right across from where you save the gist
<klmlfl> thanks pontiki
<jhass> or maybe just class Fixnum directly
<klmlfl> jhass: But the name of the test is RomanTest, is that okay?
<jhass> sure
<klmlfl> so, class Fixnum you think? jhass
<jhass> Integer or Fixnum is what the tests expect, yeah
<jhass> since they do 1.to_roman
max96at is now known as max96at|off
<klmlfl> yea.
<jhass> >> 1.class
<eval-in> jhass => Fixnum (https://eval.in/241055)
<jhass> >> 1.ancestors
<eval-in> jhass => undefined method `ancestors' for 1:Fixnum (NoMethodError) ... (https://eval.in/241056)
<jhass> >> 1.class.ancestor
<eval-in> jhass => undefined method `ancestor' for Fixnum:Class (NoMethodError) ... (https://eval.in/241057)
<jhass> er, sorry
<jhass> >> 1.class.ancestors
<eval-in> jhass => [Fixnum, Integer, Numeric, Comparable, Object, Kernel, BasicObject] (https://eval.in/241058)
<jhass> any of those ^
mbug has quit [Ping timeout: 244 seconds]
<jhass> but Numeric makes no sense since Float includes that too
lifenoodles has quit [Ping timeout: 245 seconds]
<klmlfl> I just changed my code from 'class Roman' to 'class Fixnum' and got the same error
<jhass> and there's no such thing as roman literals for Floats
<jhass> yes
<jhass> since you define a singleton (class) method
<jhass> and the tests call an instance method
bashusr has quit [Read error: Connection reset by peer]
skj3gg has quit [Quit: ZZZzzz…]
bashusr has joined #ruby
lifenoodles has joined #ruby
kasperti_ has quit []
<klmlfl> i removed the self part
Trep has joined #ruby
einarj has joined #ruby
<klmlfl> what if I make it so class Roman inherits from Fixnum? Will that be a viable solution?
crueber has joined #ruby
<klmlfl> jhass:
<klmlfl> sorry, i mean extends Fixnum
doritostains has quit [Quit: WeeChat 1.0.1]
<jhass> is 1 of class Roman?
<klmlfl> no, it is of class Fixnum
<jhass> does that answer your question?
agjacome_ has quit [Quit: leaving]
<klmlfl> But arent i rewriting the Fixnum class entirely if i do it this way?
TgMts has quit [Quit: No Ping reply in 180 seconds.]
<jhass> nope
einarj has quit [Ping timeout: 252 seconds]
<jhass> Ruby has an open class model, that means you can reopen any class or module at any time
<jhass> all definitions will be treated as one big single definition
vdamewood has quit [Ping timeout: 244 seconds]
TgMts has joined #ruby
<jhass> meaning class Foo; def bar; end; end; class Foo; def baz; end; end; is equivalent to class Foo; def bar; end; def baz; end; end;
kiyote23 has quit [Remote host closed the connection]
<klmlfl> oh, cool.
agrinb has quit [Read error: Connection reset by peer]
^wald0 has quit [Quit: ^wald0]
agrinb has joined #ruby
<klmlfl> RomanTest#test_1: NameError: undefined local variable or method `roman_numerals_values' for 1:Fixnum
^wald0 has joined #ruby
<klmlfl> wtf
ptrrr has quit [Quit: ptrrr]
rebcabin has joined #ruby
^wald0 has quit [Client Quit]
rebcabin has quit [Client Quit]
charliesome has quit [Quit: zzz]
fedexo_ has joined #ruby
fedexo___ has joined #ruby
<jhass> well you call that in your method and never define it
bashusr has quit [Read error: Connection reset by peer]
russt has quit [Quit: russt]
<jhass> you probably meant to make that a constant
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
fedexo__ has quit [Ping timeout: 256 seconds]
fedexo has quit [Ping timeout: 264 seconds]
bashusr has joined #ruby
<klmlfl> jhass: how do i refer to the Fixnum itself in the method that is being called on the Fixnum? for example in 27.to_roman, how do I refer to the 27 in the method definition?
<klmlfl> I want to do something like if 27 - somenumber >= 0 ....
<klmlfl> 27.to_roman if 27 >=0 then...
<jhass> self
<klmlfl> self?
<klmlfl> ok, I thought so
<jhass> next time just try it out then ;)
<jhass> that's how humans learn, try and error
<klmlfl> I did, but I'm getting test results that I don't understand.
<klmlfl> and I can keep fidgeting with my code until it works but I wont really know where / how I fixed it.
<klmlfl> for example (give me 1 min)..
<klmlfl> jhass:
sambao21 has quit [Quit: Computer has gone to sleep.]
<jhass> each returns the receiver
<jhass> and the last expression in a method is its return value
<jhass> style note: string = String.new -> string = ""
arescorpio has quit [Read error: Connection reset by peer]
<jhass> style note: string is a bad name, it describes the datastructure, not what the data is about. literal or roman_literal would be better names here
mary5030 has quit [Remote host closed the connection]
freerobby has joined #ruby
DadoCe has joined #ruby
mary5030 has joined #ruby
Spami has joined #ruby
<klmlfl> thanks
<klmlfl> jhass: Can you help me understand my test result?
pdoherty has joined #ruby
JDiPierro has joined #ruby
mary5030 has quit [Ping timeout: 252 seconds]
<jhass> yes, that's what my first two notes where about
<jhass> *were
emmesswhy has quit [Quit: This computer has gone to sleep]
volsus has quit [Ping timeout: 244 seconds]
Pupeno has joined #ruby
Pupeno has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
Spami has quit [Ping timeout: 244 seconds]
<jhass> style note: Ruby is most commonly indented with two spaces, not tabs
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<klmlfl> i mean the --- expected +++ actual @@ -1 +1 @@ -"I" +{1000=>"M", 500=>"D", 100=>"C", 50=>"L", 10=>"X", 5=>"V", 1=>"I"} part
DadoCe has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 240 seconds]
zorak8 has joined #ruby
bashusr has joined #ruby
Musashi007 has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
DadoCe has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bonhoeffer has joined #ruby
emmesswhy has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pupeno has quit [Remote host closed the connection]
<jhass> yes
jenrzzz has quit [Ping timeout: 245 seconds]
<jhass> that's saying it expected the return value of the method to be "i" but it was {1000=>"M"....
<jhass> *"I"
bashusr has joined #ruby
nicolastarzia has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<jhass> and that's because <insert my first two notes>
legauchiste has joined #ruby
<klmlfl> i see
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
DadoCe has quit [Ping timeout: 264 seconds]
<havenwood> klaas: just to put it another way - you're returning `roman_numerals_values` from #to_roman since the #each on line 6 returns the receiver. seems you mean to return `string` instead.
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
<havenwood> klaas, sorry wrong nick
<havenwood> klmlfl: ^
bashusr has quit [Read error: Connection reset by peer]
<klmlfl> yea
freerobby has quit [Quit: Leaving.]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
agent_white has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
bashusr has joined #ruby
<agent_white> evenin'
<havenwood> agent_white: g'eve
nicolastarzia has quit [Ping timeout: 264 seconds]
<klmlfl> havenwood: thanks!
hephaestus_rg has joined #ruby
<klmlfl> jhass: thanks!
<klmlfl> now if you'll excuse me I have some logic to fix
robustus|Off has joined #ruby
robustus|Off is now known as robustus
<jhass> yeah, I hate that exercise :P
Kricir has joined #ruby
rag1ngGerba1 has joined #ruby
<rag1ngGerba1> hey guys. does object.object_id.to_s take a really long time to process? or would it be relativly short processing time. ex. 10ms vs 500ms
nfk has quit [Quit: yawn]
sinkensabe has joined #ruby
russt has joined #ruby
<klmlfl> ;0
<klmlfl> ;)
russt has quit [Client Quit]
Spami has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
iamninja has joined #ruby
sinkensabe has quit [Ping timeout: 244 seconds]
Tricon has quit [Ping timeout: 256 seconds]
windowlicker has joined #ruby
<rag1ngGerba1> or possibly does dict.has_key take a long time?
^wald0 has joined #ruby
^wald0 has quit [Client Quit]
crueber has quit [Quit: Leaving.]
jenrzzz has joined #ruby
freerobby has joined #ruby
Tricon has joined #ruby
rag1ngGerba1 has quit [Quit: Leaving]
ponga has joined #ruby
fedexo_ has quit [Ping timeout: 252 seconds]
fedexo___ has quit [Ping timeout: 256 seconds]
govg has quit [Ping timeout: 245 seconds]
legauchiste is now known as lemonstar
bluenemo has joined #ruby
bluenemo has joined #ruby
mrmargolis has joined #ruby
icebourg has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<Ikri> quick question: I'm doing the rubyonrails getting started guide. just building a basic blog app. in views/articles/index.html.erb the guide says for the edit link, do link_to 'Edit', edit_article_path(article)
<jhass> Ikri: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ help
<Ikri> but in views/articles/show.html.erb the link_to 'Edit', edit_article_path(@article) uses the instance variable
<Ikri> why would those two be different?
jenrzzz has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
jenrzzz has joined #ruby
sondr3 has joined #ruby
^wald0 has joined #ruby
^wald0 has quit [Client Quit]
Musashi007 has quit [Quit: Musashi007]
<jhass> because of @articles.each do |article| obviously. Maybe you should get a Ruby tut first? :)
bonhoeffer has quit [Quit: bonhoeffer]
lemonstar has quit [Quit: Ex-Chat]
<Ikri> jhass: ah, the |article| param! okay, I see how that works. thanks :D
bronson has quit [Ping timeout: 264 seconds]
klmlfl has quit [Remote host closed the connection]
<shevy> hmm
<shevy> module Foo; class Foo
dorei has quit []
<shevy> that makes it harder to target it right?
<ponga> hi shevy
<jhass> ?!
<shevy> hi ponga
<shevy> jhass it was said that this should be avoided
<ponga> what do you think is most desired situation to use proc/lambda in your code
<jhass> ponga: you mean Proc objects or Kernel#proc and Kernel#lambda ?
<shevy> ponga dunno. I never found a use case
<ponga> proc obj
<jhass> I mostly use them to pass blocks around
Joufflu has quit [Read error: Connection reset by peer]
Spami has quit [Ping timeout: 265 seconds]
DeanH has joined #ruby
DeanH has quit [Client Quit]
haxr has joined #ruby
rag1ngGerba1 has joined #ruby
Joufflu has joined #ruby
bonhoeffer has joined #ruby
Spami has joined #ruby
sevenseacat has joined #ruby
simon` has quit [Ping timeout: 244 seconds]
joecool_ has joined #ruby
joecool_ is now known as Guest82860
Guest82860 is now known as joecodes
Joufflu has quit [Ping timeout: 265 seconds]
kirun has quit [Quit: Client exiting]
bonhoeffer has quit [Ping timeout: 252 seconds]
ponga has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponga has joined #ruby
yourabi has joined #ruby
rag1ngGerba1 has quit [Quit: Leaving]
bonhoeffer has joined #ruby
TgMts has quit [Read error: Connection reset by peer]
ponga has quit [Read error: Connection reset by peer]
Rickmasta has quit [Ping timeout: 265 seconds]
panga has joined #ruby
jarjar_prime has joined #ruby
TgMts has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
ivanskie has joined #ruby
haxr has quit [Ping timeout: 252 seconds]
joecodes has quit [Quit: qwebirc exception: Buffer overflow.]
panga has quit [Read error: No route to host]
ponga has joined #ruby
mary5030 has joined #ruby
ponga has quit [Ping timeout: 264 seconds]
mrmargolis has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 244 seconds]
Spami has quit [Read error: Connection reset by peer]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
adriancb has quit [Remote host closed the connection]
TgMts has joined #ruby
hephaestus_rg has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
Sawbones has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
yourabi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has joined #ruby
zorak8 has quit [Ping timeout: 256 seconds]
Spami has quit [Ping timeout: 255 seconds]
Sawbones has quit [Ping timeout: 264 seconds]
einarj has joined #ruby
Pupeno has quit [Ping timeout: 244 seconds]
ponga has quit [Ping timeout: 244 seconds]
ponga has joined #ruby
chrishough has joined #ruby
Musashi007 has joined #ruby
panga has joined #ruby
ponga_ has joined #ruby
russt has joined #ruby
einarj has quit [Ping timeout: 265 seconds]
ponga has quit [Ping timeout: 264 seconds]
panga has quit [Ping timeout: 245 seconds]
hephaestus_rg has joined #ruby
ponga_ has quit [Ping timeout: 255 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
Spami has joined #ruby
^wald0 has joined #ruby
icebourg has quit []
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
JDiPierro has quit [Remote host closed the connection]
ponga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby
ponga has joined #ruby
^wald0 has quit [Client Quit]
Sawbones has joined #ruby
arrubin has quit []
yfeldblum has quit [Ping timeout: 252 seconds]
kiyote23 has quit [Remote host closed the connection]
Heero has joined #ruby
Heero has quit [Changing host]
Heero has joined #ruby
Heero has joined #ruby
bronson has joined #ruby
rpag has joined #ruby
Sawbones has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 245 seconds]
JDiPierro has joined #ruby
nycat- has joined #ruby
<nycat-> Are there any gosu/rubygame like libraries supporting wayland?
JDiPierro has quit [Remote host closed the connection]
TgMts_ has joined #ruby
TgMts has quit [Ping timeout: 244 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
davidhq has joined #ruby
russt has quit [Quit: russt]
AlSquirrel has quit [Quit: This computer has gone to sleep]
jefus__ has joined #ruby
Vile` has quit [Ping timeout: 264 seconds]
jefus_ has quit [Ping timeout: 264 seconds]
jakesyl_insomnia has quit [Ping timeout: 244 seconds]
freerobby has quit [Quit: Leaving.]
Sawbones has joined #ruby
Spami has quit [Ping timeout: 265 seconds]
jakesyl_insomnia has joined #ruby
Vile` has joined #ruby
ponga has quit [Read error: No route to host]
pdoherty has joined #ruby
ponga has joined #ruby
Sawbones has quit [Remote host closed the connection]
TgMts_ has quit [Quit: No Ping reply in 180 seconds.]
Spami has joined #ruby
djruffkutz has joined #ruby
TgMts has joined #ruby
djruffkutz has quit [Excess Flood]
pdoherty has quit [Ping timeout: 240 seconds]
bashusr has quit [Ping timeout: 244 seconds]
<anitchrist> this isn't doing what I intended it to... anyone with some advice?
<anitchrist> it does print just the values of key, but all the test* values are included as well -__-
<Cat_1> can you put in in a gist?
<rpag> anitchrist, values_at returns an array
<anitchrist> gist?
<Cat_1> gist.github.com
lifenoodles has quit [Ping timeout: 244 seconds]
<Cat_1> antichrist: are you trying to match a regex at line 5?
<rpag> you might want, values_at(:key).reject { |v| v.starts_with?('test') }
TgMts has quit [Quit: No Ping reply in 180 seconds.]
<anitchrist> I don't think I can reject cause its a public api
<rpag> hm?
<anitchrist> its read only, reject deletes doesn't it?
<Cat_1> No
<rpag> yeah, but what is read only? the array?
luizbafilho has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
<anitchrist> the hash/json is
lemur has joined #ruby
<Cat_1> usually ones that modify-in-place usually have ! attached. reject! deletes-in-place, reject returns a new array
<anitchrist> lemme try an see
<anitchrist> nothing wrong with trial and error :P
lifenoodles has joined #ruby
<rpag> yeah, reject will return a new array if you can't modify the hash
SpikeMaster has joined #ruby
<anitchrist> starts_with? undefined method
SpikeMaster has left #ruby [#ruby]
<rpag> start_with?*
adriancb has joined #ruby
TgMts has joined #ruby
<anitchrist> that's what I though... smh
<anitchrist> same error
Sawbones has joined #ruby
<sevenseacat> you havent posted an error
<rpag> okay, what version of ruby are you using? you can try v[0..3] == 'test' instead.
<anitchrist> 2.1
<rpag> can you paste the error then
<rpag> i guess you dont have a string
<anitchrist> undefined method `start_with?' on an instance of Array. (NoMethodError)
<sevenseacat> :)
<rpag> whatever 'key' is seems to reference an array then
bluenemo has quit [Remote host closed the connection]
<anitchrist> did
<anitchrist> elsif result.values_at(:names).reject { |v| v == "guest" }
<anitchrist> instead
<anitchrist> now I don't get error
<anitchrist> but it doesn't print anything
<rpag> that will always return true
<rpag> you want something like, if result['error']; ..; else; puts result.values_at(:names).reject { |v| v == "guest" }; end
<sevenseacat> what are you actually trying to do?
Musashi007 has quit [Quit: Musashi007]
<rpag> original paste is here, http://pastebin.com/44AQnEqt
<rpag> i'm going to zzz
<anitchrist> night
Sawbones has quit [Remote host closed the connection]
<rpag> night
<sevenseacat> that isnt a description of what the code is supposed to do though
oo_ has joined #ruby
claptor has quit [Quit: this channel is bakas]
Spami has quit [Ping timeout: 240 seconds]
<pontiki> egregious commenting style
<anitchrist> sorry ;_;
adriancb has quit [Ping timeout: 244 seconds]
<pontiki> is okay. learning is
yourabi has joined #ruby
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<anitchrist> all I want to do, learn is
<anitchrist> I'm in the Hashes and Symbols chapter of Ruby on codecademy and thought .select might be a better option
Tricon has quit [Ping timeout: 245 seconds]
<anitchrist> elsif result.values_at("key").reject { |v| v == "test\." }
<anitchrist> tried that and its showing everything now including test names
TgMts has quit [Quit: No Ping reply in 180 seconds.]
<sevenseacat> (11:43:50) sevenseacat: what are you actually trying to do?
<anitchrist> get a json using the httparty gem and there is a key that I want to see values for, with out certain values
scripore has quit [Quit: Leaving]
<sevenseacat> ok, so whats in the json
TgMts has joined #ruby
radic has quit [Ping timeout: 245 seconds]
<anitchrist> I must be speaking japanese, hold on lemme find a translator
radic has joined #ruby
<shevy> nah it is worse
<shevy> australian english
red_horned_rihno has joined #ruby
<sevenseacat> nah i can understand australian english
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sevenseacat> if you're having problems parsing and filtering some json, it helps if we can see what that json is
<anitchrist> I can see the json fine
DadoCe has joined #ruby
<sevenseacat> otherwise we're just guessing
<sevenseacat> we can't
<anitchrist> thus you don't need to as I know the keys and values, its getting the end product that I'm looking for
<sevenseacat> lol
<sevenseacat> seriously?
<anitchrist> like captain crunch
<Cat_1> "You don't need to know the inputs, just make it magically work when I'm trying to regex!"
Spami has joined #ruby
i8igmac has quit [Ping timeout: 256 seconds]
<eam> anitchrist: if you don't know what's wrong then there is, in fact, something you don't see
<sevenseacat> you want us to use our crystal balls and tell you why your code isnt matching json that we cant see?
<eam> we don't know if it's in your code or data
<Cat_1> Why are we programmers again? Just make it a huge blackbox and wish the answer out
haxr has joined #ruby
haxr has quit [Max SendQ exceeded]
<eam> if you do know what's wrong, why are you asking us?
<anitchrist> I'll keep screwing with it till I find out... thanks for the help
haxr has joined #ruby
* sevenseacat is shaking head
SparkMasterTape has joined #ruby
teotwaki has quit [Ping timeout: 265 seconds]
<eam> anyone here fool with rubygame?
<Cat_1> This is like some kind of permutation of "my code works"
<Cat_1> :)
<anitchrist> I know whats wrong because its outputting all values of a key, when I don't need to see certain values
<sevenseacat> great, fix it then
<anitchrist> that's the problem
<anitchrist> I don't know a solution on how to negate the values I don't want to see
<Cat_1> I think your problem lies here:
<Cat_1> elsif result.values_at(key) != "test\."
<sevenseacat> i think your problem lies with arguing with the people you ask for help
<Cat_1> If you're trying to match a regex you are doing it wrong
DadoCe has quit [Ping timeout: 244 seconds]
^wald0 has joined #ruby
<anitchrist> Cat_1: explain please
<Cat_1> regex mathcing uses the =~ operator, not the != operator
<anitchrist> != was for if it doesn't equal "test\."
<anitchrist> =~ is more of like a contains, isn't it?
<Cat_1> the comment on this line is #looking for values with "test" at the beginning e.g. test020347
<Cat_1> no
<Cat_1> =~ is the regex pattern matcher
braincrash has quit [Quit: bye bye]
<Cat_1> if you are looking for values with "test" at the beginning, using =~ /^test.*/ would find that
sondr3 has joined #ruby
jaequery has joined #ruby
<sevenseacat> or start_with? as was originally suggested
<Cat_1> or that
<anitchrist> What is ^ and .*
<anitchrist> I understand / / are similar to quotes
<Cat_1> all the info you want to know :)
tmtwd has quit [Remote host closed the connection]
<Cat_1> Dishes time
<Cat_1> peace!
<sevenseacat> see ya dood
<sevenseacat> fellow cat
<Cat_1> we need to stick together.
* agent_white snaps fingers
<anitchrist> thanks cat!
<pontiki> laundry is :(
<pontiki> awwww :) <3
kiyote23 has joined #ruby
^wald0 has quit [Quit: ^wald0]
braincrash has joined #ruby
<Cat_1> kittens!
<ponga> cats!
icebourg has joined #ruby
<ponga> take a look
psy_ has quit [Ping timeout: 252 seconds]
<sevenseacat> i googled 'a pair of cats strutting' - good enough
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
<blizzy> is there a way to use Object.send for modules?
TgMts has joined #ruby
<anitchrist> .send is similar to print isn't it
<eam> it's more similar to call
<blizzy> I'm trying to call module methods without using Foo.bar
jenrzzz has joined #ruby
dc_ has joined #ruby
<blizzy> if I have 'commands' for a bot, would it be better to put it in a Module, or a Class?
ponga has quit [Remote host closed the connection]
<eam> I never use modules
hakunin has joined #ruby
^wald0 has joined #ruby
ponga has joined #ruby
psy_ has joined #ruby
TgMts has quit [Client Quit]
hakunin has quit [Remote host closed the connection]
<Cat_1> Blizzy- look at include
<Cat_1> for modules
<Cat_1> it makes the methods of a module available to a class
<Cat_1> So you don't need to do Foo.bar you can just do bar
dc_ has quit [Remote host closed the connection]
<SparkMasterTape> what do you guys think of code academy for those that have tried it out? decent foundation, i know it is on the less in depth side.
TgMts has joined #ruby
DadoCe has joined #ruby
tubuliferous has joined #ruby
diegoviola has quit [Quit: WeeChat 1.0.1]
<blizzy> I'm trying to run a string as a function
<blizzy> any way to do that?
<tubuliferous> run a string as a function?
<blizzy> yes.
<tubuliferous> can you elaborate?
<blizzy> convert "hello" to hello()
ponga has quit [Ping timeout: 240 seconds]
DadoCe_ has joined #ruby
^wald0 has quit [Quit: ^wald0]
St1gma has quit [Ping timeout: 250 seconds]
DadoCe has quit [Read error: Connection reset by peer]
dc_ has joined #ruby
<Cat_1> eval
<Cat_1> although I wouldn't do it, it's bad form
<havenwood> public_send 'hello'
kuda has joined #ruby
<blizzy> that works. thanks, havenwood.
TgMts has quit [Quit: No Ping reply in 180 seconds.]
emmesswhy has joined #ruby
einarj has joined #ruby
oo_ has quit [Remote host closed the connection]
St1gma has joined #ruby
davedev24_ has joined #ruby
Soda has quit [Remote host closed the connection]
it0a has joined #ruby
yfeldblum has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
davedev2_ has quit [Ping timeout: 265 seconds]
yfeldblu_ has joined #ruby
Techguy305 has joined #ruby
zarubin has joined #ruby
einarj has quit [Ping timeout: 240 seconds]
n_blownapart has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
teotwaki has joined #ruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
zarubin has quit [Ping timeout: 264 seconds]
coinr00k has joined #ruby
einarj has joined #ruby
skj3gg has joined #ruby
teotwaki has quit [Ping timeout: 265 seconds]
conniemj_ has joined #ruby
russt has joined #ruby
claptor has joined #ruby
ferr has quit [Remote host closed the connection]
russt has quit [Read error: Connection reset by peer]
C1V0 has joined #ruby
einarj has quit [Ping timeout: 265 seconds]
Sawbones has joined #ruby
russt has joined #ruby
conniemj_ has quit [Client Quit]
conniemj_ has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
slawrence00 has joined #ruby
Sawbones has quit [Ping timeout: 244 seconds]
cajone has left #ruby [#ruby]
<shevy> Blizzy also look at method()
<blizzy> shevy, thanks.
postmodern has joined #ruby
Dolphi has joined #ruby
deuterium has quit [Quit: zzZZZzzz..]
ponga has joined #ruby
haxr has quit [Ping timeout: 252 seconds]
russt has quit [Quit: russt]
byprdct has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
russt has joined #ruby
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lolwhat2 has quit [Quit: lolwhat2]
Dolphi has quit [Quit: Leaving]
agrinb has quit [Remote host closed the connection]
dc_ has quit [Remote host closed the connection]
kl has quit [Ping timeout: 265 seconds]
pico-pete has joined #ruby
byprdct has joined #ruby
icebourg has quit []
jenrzzz has quit [Ping timeout: 244 seconds]
russt has quit [Quit: russt]
dc_ has joined #ruby
pdoherty has joined #ruby
bigmac_ has joined #ruby
russt has joined #ruby
dc_ has quit [Remote host closed the connection]
kedibasi has joined #ruby
Rollabunna has joined #ruby
beneggett has quit [Ping timeout: 240 seconds]
pdoherty has quit [Ping timeout: 244 seconds]
kapil__ has joined #ruby
speakingcode has quit [Ping timeout: 256 seconds]
ValicekB has joined #ruby
voidwalkr has joined #ruby
fenzil has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
tus has quit []
arup_r has joined #ruby
yfeldblum has joined #ruby
Sawbones has joined #ruby
Musashi007 has joined #ruby
beneggett has joined #ruby
oo_ has quit [Ping timeout: 252 seconds]
Musashi007 has quit [Client Quit]
yfeldblum has quit [Ping timeout: 264 seconds]
govg has joined #ruby
teotwaki has joined #ruby
tkuchiki has joined #ruby
bashusr has joined #ruby
einarj has joined #ruby
jaequery has quit [Quit: Textual IRC Client: www.textualapp.com]
teotwaki has quit [Ping timeout: 265 seconds]
jaequery has joined #ruby
kyb3r_ has joined #ruby
Pharaoh2 has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
ponga has quit [Remote host closed the connection]
bluOxigen has joined #ruby
ponga has joined #ruby
red_horned_rihno has quit [Ping timeout: 244 seconds]
kyb3r_ has quit [Ping timeout: 264 seconds]
tkuchiki has quit [Remote host closed the connection]
Trep has quit [Ping timeout: 252 seconds]
kyb3r_ has joined #ruby
red_horned_rihno has joined #ruby
tkuchiki has joined #ruby
ponga has quit [Ping timeout: 255 seconds]
dseitz has joined #ruby
lxsameer has joined #ruby
apeiros has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
red_horned_rihno has joined #ruby
oo_ has joined #ruby
rsty1 has joined #ruby
tkuchiki has quit [Ping timeout: 256 seconds]
yfeldblum has joined #ruby
x1337807x has joined #ruby
wolf4ood has quit [Quit: (null)]
djbkd has joined #ruby
beneggett has quit [Ping timeout: 255 seconds]
cpt_yossarian has quit [Ping timeout: 245 seconds]
beneggett has joined #ruby
kedibasi has quit [Remote host closed the connection]
havenwood has quit []
Sawbones has quit [Remote host closed the connection]
n_blownapart has quit [Remote host closed the connection]
conniemj_ has quit [Quit: (null)]
echevemaster has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby
jenrzzz has joined #ruby
mleung has joined #ruby
n_blownapart has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pharaoh2 has joined #ruby
Sawbones has joined #ruby
oleo is now known as Guest81715
oleo__ has joined #ruby
Guest81715 has quit [Ping timeout: 245 seconds]
DadoCe_ has quit [Remote host closed the connection]
diegoviola has joined #ruby
mleung has quit [Quit: mleung]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
ehc has joined #ruby
govg has quit [Ping timeout: 264 seconds]
cajone has joined #ruby
az7ar_away is now known as az7ar
Musashi007 has joined #ruby
mleung has joined #ruby
zarubin has joined #ruby
agrinb has joined #ruby
Trep has joined #ruby
Musashi007 has quit [Quit: Musashi007]
bronson has joined #ruby
zarubin has quit [Ping timeout: 264 seconds]
astrobun_ has joined #ruby
agrinb has quit [Ping timeout: 244 seconds]
bronson has quit [Ping timeout: 264 seconds]
alkoma has quit [Remote host closed the connection]
hvxgr has quit [Ping timeout: 255 seconds]
teddyp1cker has joined #ruby
freerobby has quit [Quit: Leaving.]
ponga has joined #ruby
larissa has quit [Remote host closed the connection]
djbkd has quit [Quit: My people need me...]
astrobun_ has quit [Remote host closed the connection]
Hijiri is now known as C-x
ponga has quit [Ping timeout: 240 seconds]
C-x is now known as Hijiri
longfeet has quit [Read error: Connection reset by peer]
chrishough has joined #ruby
Photism has quit [Quit: Leaving]
kiyote23 has quit [Remote host closed the connection]
xusheng has joined #ruby
xusheng has left #ruby ["ruby"]
diegoviola has quit [Quit: WeeChat 1.0.1]
joe_dirte has joined #ruby
bashusr has quit [Ping timeout: 244 seconds]
teddyp1cker has quit [Remote host closed the connection]
pico-pete has quit [Ping timeout: 244 seconds]
pico-pete has joined #ruby
bashusr has joined #ruby
n_blownapart has quit [Remote host closed the connection]
Sawbones has quit [Remote host closed the connection]
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
elaptics`away is now known as elaptics
bashusr has quit [Read error: Connection reset by peer]
Trep has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
psy_ has quit [Ping timeout: 256 seconds]
Pharaoh2 has quit [Quit: Byebye]
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
psy_ has joined #ruby
hvxgr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
pdoherty has joined #ruby
cpt_yossarian has quit [Quit: And then he took off.]
bashusr has quit [Read error: Connection reset by peer]
Mongey_ has joined #ruby
rbrs has joined #ruby
bashusr has joined #ruby
oleo__ has quit [Ping timeout: 252 seconds]
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
pdoherty has quit [Ping timeout: 244 seconds]
havenwood has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
agrinb has joined #ruby
bigmac_ has quit [Ping timeout: 255 seconds]
Mongey has quit [Disconnected by services]
bigmac_ has joined #ruby
einarj has joined #ruby
Mongey has joined #ruby
bashusr has joined #ruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bashusr has quit [Read error: Connection reset by peer]
ponga has joined #ruby
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dc_ has joined #ruby
bashusr has joined #ruby
agrinb has quit [Ping timeout: 244 seconds]
Mongey has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 255 seconds]
defrang has joined #ruby
TheKruex has joined #ruby
Joufflu has joined #ruby
pengin has joined #ruby
bronson has joined #ruby
Mongey_ is now known as Mongey
bashusr has quit [Read error: Connection reset by peer]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lemur has quit [Remote host closed the connection]
bashusr has joined #ruby
lemur has joined #ruby
kuda has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
n1lo has quit [Ping timeout: 264 seconds]
iamninja has joined #ruby
CustosLimen has quit [Ping timeout: 245 seconds]
bashusr has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 265 seconds]
havenwood has quit [Remote host closed the connection]
bashusr has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
lemur has quit [Ping timeout: 256 seconds]
govg has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
pengin has quit [Remote host closed the connection]
bashusr has joined #ruby
pengin has joined #ruby
CustosLimen has joined #ruby
Channel6 has quit [Quit: Leaving]
kuda has joined #ruby
kuda has quit [Client Quit]
hephaestus_rg has quit [Ping timeout: 264 seconds]
pengin has quit [Ping timeout: 245 seconds]
tkuchiki has joined #ruby
tkuchiki has quit [Remote host closed the connection]
n1lo has joined #ruby
kiyote23 has joined #ruby
TheRinger has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
madebymarkca has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
astrobun_ has joined #ruby
oo_ has quit [Remote host closed the connection]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
Cache_Money has joined #ruby
apeiros__ has joined #ruby
dc_ has quit [Remote host closed the connection]
govg has quit [Ping timeout: 264 seconds]
astrobun_ has quit [Ping timeout: 264 seconds]
govg has joined #ruby
decoponio has quit [Quit: Leaving...]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mongey is now known as zz_Mongey
apeiros has quit [Ping timeout: 245 seconds]
dc_ has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sawbones has joined #ruby
sinkensabe has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
bashusr has joined #ruby
sinkensabe has quit [Remote host closed the connection]
zz_Mongey is now known as Mongey
<agent_white> I was taking a look at _why's programming language "Potion". Awesome that a guy (reini urban) decided to use its VM for perl11.
<agent_white> But after seeing the commit history of the solo-adventure, I hope I love a piece of software that much someday.
kiyote23 has quit [Ping timeout: 244 seconds]
dseitz has joined #ruby
it0a has quit [Ping timeout: 240 seconds]
dseitz has quit [Client Quit]
mleung has quit [Quit: mleung]
Mia has joined #ruby
Mia has joined #ruby
Mongey is now known as zz_Mongey
<shevy> you are a strange person agent_white
beneggett has quit [Ping timeout: 245 seconds]
SparkMasterTape has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
russt has quit [Quit: russt]
zz_Mongey is now known as Mongey
agrinb has joined #ruby
<agent_white> shevy: I know :)
beneggett has joined #ruby
<agent_white> Who would wanna be normal anyways!
dc_ has quit [Remote host closed the connection]
madebymarkca has quit [Quit: Leaving]
bashusr has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
haxr has joined #ruby
dc_ has joined #ruby
dc_ has quit [Remote host closed the connection]
antgel has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
sovreign has quit [Ping timeout: 252 seconds]
bashusr has joined #ruby
visof has joined #ruby
m8 has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
bashusr has quit [Read error: Connection reset by peer]
dc_ has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
zarubin has joined #ruby
defrang has quit [Quit: defrang]
sinkensabe has joined #ruby
bashusr has joined #ruby
zarubin has quit [Ping timeout: 244 seconds]
bashusr has quit [Read error: Connection reset by peer]
mostlybadfly has quit [Quit: Connection closed for inactivity]
Cache_Money has quit [Quit: Cache_Money]
Cache_Money has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sovreign has joined #ruby
x1337807x has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
Sawbones has quit [Remote host closed the connection]
Dolphi has joined #ruby
<Dolphi> Does anybody here have experience with RPG Maker XP?
<Dolphi> I need some help with my game.
<wasamasa> that sounds like something non-ruby on windows
<sevenseacat> it actually uses ruby for scripting :P but yes, on windows
<Dolphi> It uses Ruby scripting
<wasamasa> well, that doesn't mean itself is written in ruby
<wasamasa> irssi for instance is written in C, but does support perl plugins
<Dolphi> I don't know where else to ask the question. I would have asked in the #gosu channel (since that is about game development) if it was actually active, but it isn't. I am new to programming and IRC, and I have yet to find a channel for RPG Maker.
<Dolphi> I'm sorry if my question is in the wrong channel.
C1V0 has quit [Ping timeout: 265 seconds]
carvantes has quit [Quit: WeeChat 0.3.7]
haxr has quit [Ping timeout: 264 seconds]
Sawbones has joined #ruby
<wasamasa> anyways, the correct way of obtaining answers is not asking questions to ask questions
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<wasamasa> ask for something more specific than for "experts"
<wasamasa> it could very well be all you need is a push to the docs
bashusr has joined #ruby
<wasamasa> or it's something not game-related at all everyone in here can help you with
decoponio has joined #ruby
<agent_white> Dolphi: Don't "get a headcount". Just ask your question :)
<Dolphi> I never asked for "experts", and I planned on just showing the glitch via Skype screen share so that it could be analyzed properly, instead of me trying to explain it in depth over text.
bashusr has quit [Read error: Connection reset by peer]
<sevenseacat> well if its a ruby question, it has ruby code
<sevenseacat> so you put the code in a gist, and we help you with it
<agent_white> FEED US THE CODE
<sevenseacat> if its not a ruby question, then its off topic for this channel
<wasamasa> Dolphi: you asked for people experienced with something
teddyp1cker has joined #ruby
<Dolphi> wasamasa, Having experience does not make you an expert though.
<Dolphi> I believe we are getting off topic now.
<wasamasa> Dolphi: true, that's why I put it in scare-quotes :P
<agent_white> Dolphi: It was a figure of speech! :)
<Dolphi> Just forget that I asked for help.
<Dolphi> I'll try to find a more specific channel.
<agent_white> Might as well ask while you're here!
Sawbones has quit [Ping timeout: 252 seconds]
<sevenseacat> :(
<Dolphi> Okay. Well, I believe that my problem would be fixed with a "switch", but I'm not sure.
<Dolphi> Here is what happens:
<Dolphi> I have an intro screen much like the old pokemon games. Black background. It asks you to input your name. Once that is done, it asks the user to choose a gender. During this timeframe I set my sprite's transparency to 0 so that only the text appears onscreen.
<sevenseacat> i sense this is not a ruby question
<Dolphi> For some reason though, if you select the female gender, the female sprite will pop up onscreen for a frame or two
ehc has quit [Quit: Connection closed for inactivity]
roshanavand has joined #ruby
sinkensabe has joined #ruby
<Dolphi> No, it is more of a logic question I suppose.
bashusr has joined #ruby
<wasamasa> do you have code that implements this logic?
<Dolphi> This is why I said that I would try to find another channel.
apeiros__ has quit [Remote host closed the connection]
<Dolphi> wasamasa, Let me see what I can do.
apeiros has joined #ruby
teddyp1cker has quit [Ping timeout: 264 seconds]
ptrrr has joined #ruby
<Dolphi> I don't know how I would go about sharing the code. I don't even know how to view the scripting myself.
<Dolphi> I just input the logic, and the scripting is behind the scenes. There has to be a way to see it though.
oo_ has quit [Remote host closed the connection]
govg has quit [Quit: leaving]
<agent_white> Dolphi: Can't you just put all of your source code into a pastie or a gist?
<agent_white> Otherwise, I dunno if anyone can help here.
Cache_Money has quit [Quit: Cache_Money]
conniemj_ has joined #ruby
oo_ has joined #ruby
<wasamasa> I doubt anyone could have helped with only that information
<Dolphi> I have no idea how to find the source code. Just forget it, I will figure it out.
jack_rabbit has quit [Ping timeout: 240 seconds]
<Dolphi> I'll just Skype one of my friends at a more reasonable time of day. It is 3am here and I'm working hard on it.
AlexRussia has quit [Ping timeout: 252 seconds]
bashusr has quit [Read error: Connection reset by peer]
conniemj_ has quit [Ping timeout: 244 seconds]
agrinb has joined #ruby
<agent_white> Dolphi: You'll figure it out! :D
<Dolphi> agent_white, Thank you.
einarj has joined #ruby
sinkensabe has quit [Remote host closed the connection]
yfeldblum has joined #ruby
echevemaster has joined #ruby
bashusr has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
bashusr has quit [Read error: Connection reset by peer]
einarj has quit [Ping timeout: 264 seconds]
pdoherty has joined #ruby
Darryl__ has joined #ruby
Cache_Money has joined #ruby
echevemaster has quit [Quit: Leaving]
govg has joined #ruby
ocx has joined #ruby
<ocx> hello trying to isntall serial getting this error any help ?http://pastebin.com/xpKnac9T
bashusr has joined #ruby
pdoherty has quit [Ping timeout: 252 seconds]
Mongey is now known as zz_Mongey
bashusr has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
ndrei has quit [Remote host closed the connection]
<ocx> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
voidwalkr has quit []
tubuliferous has quit [Read error: Connection reset by peer]
<elaptics> ocx: what OS are you running?
AlexRussia has joined #ruby
<ocx> ubuntu elaptics on arm
bashusr has joined #ruby
<elaptics> you probably just need to install the ruby-dev package
eguneys has joined #ruby
tubuliferous has joined #ruby
antgel has quit [Ping timeout: 245 seconds]
Aryasam has joined #ruby
antgel has joined #ruby
soulcake has quit [Ping timeout: 276 seconds]
soulcake has joined #ruby
TheKruex has quit []
eguneys has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
p0wn3d_m1 has joined #ruby
Techguy305 has quit [Ping timeout: 245 seconds]
nyaa has joined #ruby
wallerdev has quit [Quit: wallerdev]
p0wn3d_mhs has quit [Ping timeout: 250 seconds]
Dolphi has quit [Quit: Leaving]
bashusr has quit [Read error: Connection reset by peer]
x77686d has quit [Quit: x77686d]
ndrei has joined #ruby
dc_ has quit [Remote host closed the connection]
bashusr has joined #ruby
agjacome has joined #ruby
arup_r has quit [Quit: Leaving.]
amundj has joined #ruby
Sawbones has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
Sawbones has quit [Ping timeout: 264 seconds]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
TgMts has joined #ruby
dionysus69 has joined #ruby
sinkensabe has joined #ruby
josephndenton has joined #ruby
agrinb has joined #ruby
eguneys has joined #ruby
oponder has joined #ruby
Joufflu has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
bashusr has joined #ruby
Aryasam has quit [Read error: Connection reset by peer]
agrinb has quit [Ping timeout: 265 seconds]
bashusr has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
spider-mario has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
fantazo has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
josephndenton has quit [Ping timeout: 264 seconds]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
eka has joined #ruby
bashusr has joined #ruby
devoldmx has quit [Remote host closed the connection]
TgMts has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
V_Ve has joined #ruby
lkba_ has quit [Ping timeout: 245 seconds]
Heskie has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
n008f4g_ has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
n1lo has quit [Quit: Leaving]
Heskie has quit [Client Quit]
iamninja has quit [Remote host closed the connection]
Heskie has joined #ruby
iamninja has joined #ruby
anitchrist has quit [Ping timeout: 252 seconds]
<shevy> long live ruby!
devoldmx has joined #ruby
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
bashusr has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
hgl has quit [Ping timeout: 264 seconds]
bashusr has quit [Read error: Connection reset by peer]
jubo2 has joined #ruby
<jubo2> Hiya.. how do I stop and restart all ruby processes
<jubo2> I mean I just want to take zombified Sidekiq down from a #Dispora pod so I can restart the server
einarj has joined #ruby
<jubo2> I remember.. there was something with "ruby" and with "killall"
hgl has joined #ruby
<jubo2> pls help the non-texy nub
duncannz has quit [Remote host closed the connection]
_5kg has quit [Ping timeout: 240 seconds]
eguneys has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
oo_ has quit [Remote host closed the connection]
<jubo2> I feel tempted to 'ps ax | grep "ruby"' and 'kill <pid_goes_here>'
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 240 seconds]
<jubo2> but there has got to be a more civilized way shut down the ruby program that's gone stuck because C☭mmiemist Debian GNU/Linux doesn't give the new curl version the #Diaspora* need in order to not get occasionally stuck
Heskie_ has joined #ruby
Heskie has quit [Ping timeout: 245 seconds]
Heskie_ is now known as Heskie
dionysus69 has quit [Quit: ChatZilla 0.9.91.1 [Firefox 34.0/20141127111021]]
bashusr has joined #ruby
davedev24_ has quit [Remote host closed the connection]
dimaursu16 has joined #ruby
davedev24_ has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
iamninja has quit [Quit: ZZZzzz…]
teddyp1cker has joined #ruby
visof has left #ruby ["Leaving"]
<agent_white> jubo2: /shrug -- Be generous and use `kill -15` ?
<sevenseacat> lol
kapil__ has joined #ruby
<jubo2> agent_white: but a plain kill is same as 15
<jubo2> Nine is the more brutal option
agrinb has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
teddyp1cker has quit [Ping timeout: 255 seconds]
aswen has joined #ruby
bashusr has joined #ruby
<agent_white> jubo2: Be the hero it deserves
bashusr has quit [Read error: Connection reset by peer]
m8 has quit [Ping timeout: 252 seconds]
<jubo2> agent_white: what? http://PalestineTunne.li ?
<jubo2> I did a 'sudo killall ruby' and that did the job
<jubo2> Dänks once again for helping out dimaursu16
<agent_white> Oh good deal!
<jubo2> Only 15B€
keen__________30 has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
<jubo2> What is the situation with glueing ruby to C++ ?
<pontiki> jubo2: look in the app root's tmp/pids directory
<pontiki> see if there are saved pids (maybe not)
<jubo2> I mean this http://MaidSafe.net ( official site ) - http://MaidSafe.org ( general chatter ) is gonna revolutionize how computers store, process and transmit information
<jubo2> for the good of the human kind
<jubo2> for once there is a serious effort to bring NAS to all
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bashusr has joined #ruby
jheg has joined #ruby
antgel has quit [Ping timeout: 264 seconds]
<pontiki> now you're just spamming
keen__________29 has quit [Ping timeout: 264 seconds]
beneggett has quit [Ping timeout: 255 seconds]
<jubo2> pontiki: yeah but I spam with brown sauce and potatoes parisienne
bashusr has quit [Read error: Connection reset by peer]
keen__________31 has joined #ruby
amundj has joined #ruby
antgel has joined #ruby
bronson has joined #ruby
<pontiki> better with pineapple on pizza
<jubo2> I've no financial interest in the MaidSafe netoworku
<pontiki> so?
TgMts_ has joined #ruby
keen__________30 has quit [Ping timeout: 264 seconds]
<sevenseacat> pineapple on pizza is the bomb
Xeago has joined #ruby
<jubo2> I like ananas with pepperoni or salami sausage
<jubo2> You guys are invited to join ##eating where it's quite empty but no attitude problems or ##cooking with endless supply of attitude problems
pico-pete has quit [Ping timeout: 264 seconds]
TgMts has quit [Ping timeout: 252 seconds]
pico-pete has joined #ruby
<shevy> yes!
<shevy> #pizza!
<shevy> #cheese!!
<shevy> and #mice for sevenseacat
<sevenseacat> lol
bashusr has joined #ruby
<shevy> jubo2 btw hanmac here has a lot of experience bridging ruby and C++, he maintains the rwx bindings
TgMts_ has quit [Read error: Connection reset by peer]
<jubo2> shevy: mmm.. nice
bronson has quit [Ping timeout: 245 seconds]
<jubo2> shevy: I've even gotten a book on C++ from the uni library
bashusr has quit [Read error: Connection reset by peer]
<shevy> I read one about 10 years ago... I even found the basic C++ nicer than the C example
<shevy> I loved cout << "bla" << endl; compared to printf();
<shevy> but I was ambitious when I was young. nowadays I am just lazy
TgMts has joined #ruby
az7ar is now known as az7ar_away
<jubo2> I do better spaghetti in the kitchen then atk
<jubo2> shevy: but I gonna set up 2 or maybe even 3 maidsafe nodes to farm for commons and farm for self
<shevy> I fail at cooking
<shevy> one needs patience for this kind of thing :(
pdoherty has joined #ruby
<jubo2> Sentences that start with "My mum's closet..." that don't end in "... has Gigabit Ethernet hooked to the optic network." are usually quite crappy
zarubin has joined #ruby
<jubo2> I gonna start mah farming with only 1.3TB rig that still has 5 free USB ports
<jubo2> also gonna donate a node in Netherland
<jubo2> but that's all offtopic
bashusr has joined #ruby
<jubo2> is there #ruby-offtopic ?
az7ar_away is now known as az7ar
<jubo2> I'm on #debian-offtopic , #kubuntu-offtopic and #ubuntu-offtopic
<jubo2> helps with not getting the banned
iMe has joined #ruby
pjaspers has left #ruby ["Textual IRC Client: www.textualapp.com"]
bashusr has quit [Read error: Connection reset by peer]
arya_ching has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
nyaa has quit [Ping timeout: 264 seconds]
<shevy> ewww debian
eljojo has joined #ruby
<jubo2> shevy: wut? Trisquel more puffed by FSF/GNU ?
ptrrr has quit [Quit: ptrrr]
<jubo2> I downloaded a 32-bit disk image of Trisquel, dropped it into VirtualBox but it wouldn't boot, complained something missing
kasperti_ has joined #ruby
eljojo has quit [Client Quit]
roger_rabbit has quit [Ping timeout: 245 seconds]
_5kg has joined #ruby
bashusr has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<pontiki> you all go on, i'll just be here listning to my jazz
* agent_white dances
decoponio has quit [Quit: Leaving...]
Xeago has quit [Remote host closed the connection]
npgm has joined #ruby
bMalum has quit [Quit: bMalum]
tubuliferous has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bashusr has quit [Read error: Connection reset by peer]
meschi has joined #ruby
devoldmx has joined #ruby
Xeago has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
eljojo has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
<shevy> jubo2 debian is notorious for changing other projects like default ruby
Xeago_ has joined #ruby
max96at|off is now known as max96at
<shevy> so people come here and ask why their ruby does not work
Deele has quit [Ping timeout: 244 seconds]
govg has quit [Ping timeout: 265 seconds]
roger_rabbit has joined #ruby
devoldmx has quit [Ping timeout: 265 seconds]
Xeago has quit [Ping timeout: 240 seconds]
bashusr has joined #ruby
TgMts has quit [Ping timeout: 252 seconds]
<jubo2> shevy: I'm running the local maidsafe network on a Kubuntu14
decoponio has joined #ruby
<jubo2> basically the most critical thing to have to build maidsafe is to have a g++ of 4.8 or higher
bashusr has quit [Read error: Connection reset by peer]
<jubo2> I think I'm hearing it will be a basic flavour Debian8
<jubo2> They yell at me for asking when I ask them when it's gonna be out
lkba has joined #ruby
Sawbones has joined #ruby
eguneys has joined #ruby
<shevy> gcc version 4.9.2 (GCC)
<jubo2> but I need the GNU C++ compiler, not gcc .. I thought it was called g++
<shevy> g++ is part of gcc man
eguneys has quit [Client Quit]
bashusr has joined #ruby
<jubo2> ah i c
<jubo2> <- non-texy newb
bashusr has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
govg has joined #ruby
Sawbones has quit [Ping timeout: 264 seconds]
<shevy> you need to work through linux from scratch one day
<shevy> it has a lot of information http://www.linuxfromscratch.org/lfs/read.html
Xeago_ has quit [Remote host closed the connection]
zarubin has quit [Remote host closed the connection]
oo_ has quit [Ping timeout: 255 seconds]
bashusr has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
<jubo2> shevy: nah.. I want to just 'sudo aptitude install this this_too'
TgMts has joined #ruby
Jackneill has joined #ruby
Deele has joined #ruby
agrinb has joined #ruby
atmosx has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
gccostabr has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
az7ar is now known as az7ar_away
Alina-malina has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
codecop has joined #ruby
oetjenj has quit [Quit: Textual IRC Client: www.textualapp.com]
bashusr has joined #ruby
ndrei has joined #ruby
gccostabr has quit [Ping timeout: 255 seconds]
Jackneill has quit [Ping timeout: 264 seconds]
gccostabr has joined #ruby
pkrzywicki is now known as noname001
DadoCe has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
alexi5 has joined #ruby
sinkensabe has joined #ruby
Jackneill has joined #ruby
jubo2 has quit [Quit: Konversation terminated!]
konsolebox has joined #ruby
bashusr has joined #ruby
lessless has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
TgMts has quit [Read error: Connection reset by peer]
aswen has quit [Ping timeout: 245 seconds]
TgMts has joined #ruby
az7ar_away is now known as az7ar
bashusr has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
aswen has joined #ruby
MasterPiece has joined #ruby
bashusr has joined #ruby
rebcabin has joined #ruby
lukaszk1 has joined #ruby
Darryl__ has quit [Quit: Connection closed for inactivity]
sinkensabe has quit [Ping timeout: 244 seconds]
V_Ve_ has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
nyaa has joined #ruby
sinkensabe has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
V_Ve has quit [Ping timeout: 265 seconds]
az7ar is now known as az7ar_away
gr33n7007h has joined #ruby
gr33n7007h has quit [Changing host]
gr33n7007h has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
einarj has joined #ruby
lukaszk1 has quit [Quit: lukaszk1]
greenbagels has quit [Read error: Connection reset by peer]
zarubin has joined #ruby
lukaszk1 has joined #ruby
devoldmx has joined #ruby
einarj has quit [Ping timeout: 245 seconds]
bashusr has joined #ruby
reinaldob has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
devoldmx has quit [Ping timeout: 264 seconds]
sondr3 has joined #ruby
reinaldob has quit [Remote host closed the connection]
bonhoeffer has joined #ruby
bashusr has joined #ruby
timonv_ has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
gccostabr has quit [Quit: ZZZzzz…]
oo_ has joined #ruby
yfeldblum has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
agrinb has joined #ruby
MasterPiece has quit [Ping timeout: 264 seconds]
last_staff has joined #ruby
jheg has quit [Quit: jheg]
Alina-malina has joined #ruby
Alina-malina has joined #ruby
bashusr has joined #ruby
TrOuBleStArTeR has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
AlSquirrel has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
TrOuBleStArTeR has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 264 seconds]
agrinb has quit [Ping timeout: 244 seconds]
TrOuBleStArTeR has joined #ruby
DadoCe has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
bonhoeffer has quit [Quit: bonhoeffer]
teddyp1cker has joined #ruby
joast has quit [Read error: Connection reset by peer]
sinkensa_ has joined #ruby
bashusr has joined #ruby
byprdct has joined #ruby
luizbafilho has joined #ruby
sinkensabe has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
timonv_ has joined #ruby
nyaa has quit [Ping timeout: 252 seconds]
last_staff has quit [Quit: last_staff]
teddyp1cker has quit [Ping timeout: 245 seconds]
MasterPiece has joined #ruby
MasterPiece has quit [Remote host closed the connection]
MasterPiece has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Soda has joined #ruby
Rollabunna has joined #ruby
timonv_ has quit [Remote host closed the connection]
bMalum has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
sinkensa_ has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
zarubin has quit [Remote host closed the connection]
ndrei has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
Xeago has joined #ruby
ghostlin_ has joined #ruby
haxr has joined #ruby
bashusr has joined #ruby
TgMts has quit [Read error: Connection reset by peer]
haxr has quit [Ping timeout: 255 seconds]
TgMts has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
sinkensa_ has joined #ruby
jubo2 has joined #ruby
pdoherty has joined #ruby
russt has joined #ruby
sinkensabe has quit [Ping timeout: 252 seconds]
timonv_ has joined #ruby
alexi5 has left #ruby [#ruby]
pdoherty has quit [Ping timeout: 245 seconds]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
kiyote23 has joined #ruby
dangerousdave has joined #ruby
lifenoodles has quit [Ping timeout: 264 seconds]
bashusr has joined #ruby
Sawbones has joined #ruby
djbender has quit [Ping timeout: 255 seconds]
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
lifenoodles has joined #ruby
callenb___ has quit [Ping timeout: 245 seconds]
rfv has quit [Ping timeout: 245 seconds]
iamninja has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
n1ftyn8 has quit [Read error: Connection reset by peer]
alol has quit [Read error: Connection reset by peer]
sinthetix_bsd has joined #ruby
arya_ching has quit []
kiyote23 has quit [Ping timeout: 265 seconds]
alol has joined #ruby
n1ftyn8 has joined #ruby
callenb___ has joined #ruby
rfv has joined #ruby
govg has quit [Ping timeout: 265 seconds]
Sawbones has quit [Ping timeout: 264 seconds]
Hobogrammer has quit [Ping timeout: 255 seconds]
bashusr has joined #ruby
Mattais has joined #ruby
kl has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<Mattais> is Ruby worth learning on a linux box?
<Mattais> or would c or python be better?
m8 has joined #ruby
<crome> for what?
Freelusion has joined #ruby
<crome> good luck writing a quick webapp in C
<Mattais> development
<crome> development of what?
<Mattais> software
<Mattais> :)
<crome> are you trolling?
<Mattais> no i am not
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mattais> it might sound like a stupid question, but i am seriously wondering
<Mattais> i've only dabbled in c and python
agrinb has joined #ruby
<eljojo> Mattais: ruby is as good as python
<Mattais> is it as powerful as c?
bMalum has quit [Quit: bMalum]
<crome> you have very weird questions
<jhass> what makes C powerful?
bashusr has joined #ruby
eljojo has quit [Remote host closed the connection]
<Mattais> im sorry, guess i came to the wrong channel then
<crome> Mattais: I would be happy to help bu you don't seem to have any specific questions in mind
bashusr has quit [Read error: Connection reset by peer]
<crome> I don't know what you are looking for in your next programming language
<crome> and as far as I can tell, you have no idea either
nyaa has joined #ruby
<Mattais> crome: thank you for understanding
giuseppesolinas has joined #ruby
giuseppesolinas_ has joined #ruby
<jhass> so, what feature of C do you consider "powerful"?
giuseppesolinas has quit [Client Quit]
<ponga> fast?
<Mattais> jhass: none
<Mattais> its really slow
<Mattais> worst language out, damn c
<ponga> ruby is good as python now sir
<crome> that said, ruby is a fun language. when I started out with some 10 years ago I didn't do it because I really wanted to use it for anything, I just liked the cool metaprogramming features and it's block syntax
<jhass> yet you ask "is it as powerful as C?"?!
JDiPierro has joined #ruby
sinkensa_ has quit [Remote host closed the connection]
<crome> with it*
agrinb has quit [Ping timeout: 265 seconds]
<crome> its*
<crome> -typos
<Mattais> jhass: if c is compiled well enough it can be powerful, i dont wanna argue about efficiencies of languages
nfk has joined #ruby
<Mattais> i am a noob to ruby, but i hear good things
davidhq has joined #ruby
yfeldblum has joined #ruby
oponder has quit []
<Mattais> obviously asking if ruby is worth learning i am a noob, jhass has a bit of smarthass wit
<jhass> "compiled well enough". How do I compile C not well enough?
kirun has joined #ruby
<Mattais> dude, stop being a dick, please
<jhass> just tried to understand your question
<jhass> can't say whether Ruby is as "powerful" as C if you can't specify what aspect of "C" is powerful
lukaszk1 has quit [Ping timeout: 256 seconds]
<crome> Mattais: nowadays ruby is a pretty fashionable language for webapps, apis, etc. if you want to get into that, you might as well stick to python if you know it already because it also has a million frameworks and libraries.
<crome> if you want to develop desktop apps, don't bother about ruby at all
<Mattais> what is ruby good for?
<Mattais> development wise
bashusr has joined #ruby
arup_r has joined #ruby
<crome> if you want to develop the next quake, don't waste time with ruby either
bashusr has quit [Read error: Connection reset by peer]
davedev24_ has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 256 seconds]
cpt_yossarian has joined #ruby
<jhass> lots of stuff, browse through https://github.com/trending?l=ruby&since=monthly
<Xeago> Mattais: ruby is good for not wasting developer time.
<Xeago> Mattais: try it for yourself.
<Mattais> what are some pros and cons of ruby?
cazrin has joined #ruby
<Mattais> Xeago: i like how that sounds
kirun_ has joined #ruby
krz has joined #ruby
rebcabin has quit [Quit: Leaving.]
<jhass> Mattais: programming languages are tools, much like the stuff you get in hardware stores. You can use any heavy object to hammer in a nail, but a hammer still works best. As a good developer, you have a rich toolbox. Every new tool you learn to use improves your general skills. There's no waste in learning how to use a new tool
<Mattais> jhass: thats very insightful :) thank you
<jhass> also you may enjoy working with one tool more than with others, but you won't find the tool you like the most without trying many out
<Cat_1> I find that every programming language i learn has different conventions and things that I like, that shape how I program in other langauges.
rebcabin has joined #ruby
bashusr has joined #ruby
lxsameer has quit [Quit: Leaving]
danda has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<danda> dvd
danda has left #ruby [#ruby]
zarubin has joined #ruby
cpt_yossarian has quit [Quit: And then he took off.]
Freelusion has quit [Quit: Freelusion]
kirun_ has quit [Quit: Client exiting]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
einarj has joined #ruby
MasterPiece has quit [Ping timeout: 264 seconds]
rippa has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
MasterPiece has joined #ruby
devoldmx has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
cazrin has quit [Remote host closed the connection]
MasterPiece has quit [Client Quit]
devoldmx has quit [Ping timeout: 244 seconds]
cazrin has joined #ruby
giuseppesolinas_ has quit [Quit: This computer has gone to sleep]
apeiros has quit [Read error: Connection reset by peer]
govg has joined #ruby
apeiros has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
DadoCe has joined #ruby
giuseppesolinas_ has joined #ruby
cazrin has quit []
bashusr has joined #ruby
Guest20 has joined #ruby
charliesome has quit [Quit: zzz]
agrinb has joined #ruby
wolf4ood has joined #ruby
psy_ has quit [Read error: Connection reset by peer]
psy_ has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
bashusr has quit [Read error: Connection reset by peer]
iamninja has quit [Quit: ZZZzzz…]
bronson has joined #ruby
npgm has quit [Quit: Connection closed for inactivity]
AlexRussia has quit [Ping timeout: 255 seconds]
nickjj has quit [Ping timeout: 264 seconds]
MuffinPimp has quit [Ping timeout: 264 seconds]
nickjj has joined #ruby
bashusr has joined #ruby
rooster has joined #ruby
tier has joined #ruby
ltd_ has joined #ruby
ltd has quit [Ping timeout: 264 seconds]
bronson has quit [Ping timeout: 244 seconds]
bashusr has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
<rooster> Pulling my hair out a bit - hope someone can help. Running rails -v I get a complain about bundler being the wrong version (1.3.5) but running bundler -v gives 1.7.11
MuffinPimp has joined #ruby
JDiPierro has quit [Remote host closed the connection]
lessless has joined #ruby
<rooster> gem install bundler is quite happy - and installs 1.7.11, but then I still get the error "Bundler could not find compatible versions for gem "bundler" - Current Bundler version (1.3.5) when running rails -v
<rooster> gem list bundler => bundler (1.7.11)
<waxjar> can you copy and paste the output of which bundle and gem env?
blueOxigen has joined #ruby
mist_ has joined #ruby
marahin_ has joined #ruby
Axy has joined #ruby
kasperti_ has quit []
bashusr has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
Alina-malina has quit [Read error: Connection reset by peer]
haxr has joined #ruby
haxr has quit [Max SendQ exceeded]
bashusr has quit [Read error: Connection reset by peer]
DadoCe has quit [Remote host closed the connection]
zarubin has quit [Remote host closed the connection]
rippa has joined #ruby
Guest20 has quit [Quit: Textual IRC Client: www.textualapp.com]
JDiPierro has joined #ruby
<rooster> Not sure what else you need
Guest20 has joined #ruby
Guest20 has quit [Max SendQ exceeded]
<waxjar> the output of `which bundle` and `gem env`
WillAmes has quit [Ping timeout: 264 seconds]
marahin has quit [Ping timeout: 264 seconds]
marahin_ is now known as marahin
bluOxigen has quit [Ping timeout: 264 seconds]
mist has quit [Remote host closed the connection]
Mia has quit [Ping timeout: 264 seconds]
connor_goodwolf has quit [Ping timeout: 264 seconds]
teddyp1cker has joined #ruby
marahin is now known as Guest90081
connor_goodwolf has joined #ruby
<rooster> waxjar: updated gist
iRockZ_ has joined #ruby
hendricius has quit [Ping timeout: 264 seconds]
hendricius has joined #ruby
iRockZ_ has quit [Client Quit]
bashusr has joined #ruby
<waxjar> rooster: it doesn't print a SHELL PATH?
<rooster> waxjar: Thatæs everything
gremax_ has joined #ruby
iRockZ_ has joined #ruby
skj3gg has joined #ruby
iRockZ_ has quit [Client Quit]
dh64 has quit [Ping timeout: 264 seconds]
<waxjar> hmm, seems strange. i think the 1.7 executable doesn't get picked up by the path
Jelco has quit [Ping timeout: 264 seconds]
gremax has quit [Ping timeout: 264 seconds]
gremax_ is now known as gremax
arya_ching has joined #ruby
iRockZ_ has joined #ruby
teddyp1cker has quit [Ping timeout: 264 seconds]
sankaber has joined #ruby
Darryl__ has joined #ruby
iRockZ_ has quit [Client Quit]
Mattais has quit [Quit: Leaving]
iRockZ_ has joined #ruby
teddyp1cker has joined #ruby
iMe has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
Heskie has quit [Read error: Connection reset by peer]
iRockZ_ has quit [Client Quit]
Heskie has joined #ruby
iRockZ_ has joined #ruby
fantazo has quit [Ping timeout: 264 seconds]
iRockZ_ has quit [Client Quit]
teddyp1cker has quit [Read error: Connection reset by peer]
teddyp1cker has joined #ruby
iMe has joined #ruby
iRockZ_ has joined #ruby
iRockZ_ has quit [Client Quit]
iRockZ_ has joined #ruby
iRockZ_ has quit [Client Quit]
MuffinPimp has quit [Ping timeout: 264 seconds]
MuffinPimp has joined #ruby
<rooster> waxjar: Thanks for your help anyway
jimms has joined #ruby
iRockZ has joined #ruby
oddraisin has quit [Ping timeout: 264 seconds]
<jimms> Hi! Does anyone have ruby-processing installed? I'm just trying to launch one of the samples...
pjaspers has joined #ruby
oddraisin has joined #ruby
bashusr has quit [Ping timeout: 264 seconds]
xrlabs has quit [Ping timeout: 264 seconds]
xrlabs has joined #ruby
MuffinPimp has quit [Ping timeout: 264 seconds]
JDiPierro has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
bashusr has joined #ruby
JDiPierro has joined #ruby
osw has joined #ruby
doodlehaus has joined #ruby
<waxjar> rooster: maybe the path where the bundle 1.3 executable lives comes first in your $PATH, so it'll pick that one up
Macaveli has joined #ruby
MuffinPimp has joined #ruby
<rooster> waxjar: That could be possible - it seems the 1.3.5 one is something Ubuntu has installed, whereas the 1.7.11 one has come from gem install
tier has quit [Remote host closed the connection]
russt has quit [Quit: russt]
<rooster> right now I've had to move on, and have cheekily just removed that dependency from the gemfile I was working with :/
susmus has quit [Ping timeout: 256 seconds]
Sawbones has joined #ruby
pdoherty has joined #ruby
susmus has joined #ruby
JDiPierro has quit [Ping timeout: 264 seconds]
sevenseacat has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 244 seconds]
Sawbones has quit [Ping timeout: 264 seconds]
russt has joined #ruby
doodlehaus has quit [Remote host closed the connection]
teddyp1cker has quit [Remote host closed the connection]
ghostlin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agrinb has joined #ruby
atmosx has quit [Remote host closed the connection]
TrOuBleStArTeR has quit [Quit: Going offline, see ya! (www.adiirc.com)]
teddyp1cker has joined #ruby
kiyote23 has joined #ruby
davedev24_ has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
lkba_ has joined #ruby
yfeldblum has joined #ruby
jubo2 has quit [Quit: Konversation terminated!]
gsd has joined #ruby
gsd has quit [Client Quit]
lkba has quit [Ping timeout: 245 seconds]
tier has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrmargolis has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
standingcloud has joined #ruby
iMe has quit [Ping timeout: 264 seconds]
kl has quit [Ping timeout: 264 seconds]
doodlehaus has joined #ruby
iMe has joined #ruby
jimms has quit []
kish is now known as kishy
luizbafilho has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jordsmi has joined #ruby
adriancb has joined #ruby
tier has quit [Remote host closed the connection]
arya_ching has quit []
Deele has quit [Ping timeout: 244 seconds]
n008f4g_ has quit [Ping timeout: 265 seconds]
nobitanobi has joined #ruby
davidhq has joined #ruby
<blizzy> is it better to use &&/|| or 'and/or'
nobitanobi has quit [Remote host closed the connection]
Yzguy has joined #ruby
Mon_Ouie has quit [Ping timeout: 252 seconds]
nobitanobi has joined #ruby
<crome> it is
_honning_ has joined #ruby
tus has joined #ruby
bronson has joined #ruby
<crome> there are minor differences between them which is a good recipe for some quality debugging time
<crome> it is better to get used to using && and || early on IMO
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
<crome> and use and/or when it is exactly what you want and you understand how they are different from &&/||
<blizzy> thanks, crome.
<bradland> Blizzy: the primary difference between &&/|| and ‘and/or’ is operator predecence.
mesamoo has joined #ruby
<blizzy> another question. is it better to use .each do |x| or .each { |x| }
ponga has quit [Quit: Leaving...]
<blizzy> thanks, bradland.
<bradland> use curly braces for single line blocks, and do/end for multi line
<crome> Blizzy: it's really up to personal preference (or coding styleguide)
Yzguy has quit [Ping timeout: 264 seconds]
<bradland> Blizzy: here’s a style guide for a starting point: https://github.com/styleguide/ruby
nobitanobi has quit [Ping timeout: 255 seconds]
devdazed has joined #ruby
<bradland> this is a nice short blog post explaining the operator precedence thing as well: http://blog.jayfields.com/2007/08/ruby-operator-precedence-of-and-which.html
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<blizzy> thanks again, crome and bradland.
bronson has quit [Ping timeout: 252 seconds]
doodlehaus has quit [Remote host closed the connection]
arup_r1 has joined #ruby
AlexRussia has joined #ruby
arup_r has quit [Ping timeout: 252 seconds]
teddyp1cker has quit [Remote host closed the connection]
einarj has joined #ruby
Heskie has quit [Read error: Connection reset by peer]
claw has quit [Ping timeout: 252 seconds]
claw_ has joined #ruby
Heskie has joined #ruby
pandaant has joined #ruby
AlexRussia has quit [Ping timeout: 256 seconds]
teddyp1cker has joined #ruby
devoldmx has joined #ruby
einarj has quit [Ping timeout: 252 seconds]
iMe has quit [Ping timeout: 245 seconds]
kapil__ has quit [Quit: Connection closed for inactivity]
doodlehaus has joined #ruby
doodlehaus has quit [Remote host closed the connection]
davidhq has joined #ruby
Sawbones has joined #ruby
synaptik has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
devoldmx has quit [Ping timeout: 264 seconds]
iMe has joined #ruby
nicolastarzia has joined #ruby
davidhq has quit [Client Quit]
doodlehaus has joined #ruby
AlexRussia has joined #ruby
Sawbones has quit [Remote host closed the connection]
agrinb has joined #ruby
freerobby has joined #ruby
slawrence00 has joined #ruby
claw__ has joined #ruby
Sawbones has joined #ruby
crueber has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nobitanobi has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
claw_ has quit [Ping timeout: 265 seconds]
doodlehaus has quit [Remote host closed the connection]
athan has quit [Read error: Connection reset by peer]
Deele has joined #ruby
Techguy305 has joined #ruby
lessless has joined #ruby
kasperti_ has joined #ruby
AlexRussia has quit [Ping timeout: 264 seconds]
dfinninger has joined #ruby
davidhq has joined #ruby
nyaa has quit [Ping timeout: 252 seconds]
devdazed has quit [Quit: Computer has gone to sleep.]
Sawbones has quit [Remote host closed the connection]
AlexRussia has joined #ruby
Guest90081 is now known as marahin
marahin has quit [Changing host]
marahin has joined #ruby
Alina-malina has joined #ruby
doodlehaus has joined #ruby
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
doodlehaus has quit [Remote host closed the connection]
standingcloud has quit [Ping timeout: 256 seconds]
zorak8 has joined #ruby
Fusl has quit [Remote host closed the connection]
byprdct has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Timgauthier has joined #ruby
defrang has joined #ruby
Fusl has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
DonOtreply has joined #ruby
sinkensabe has joined #ruby
Pupeno has joined #ruby
Timgauthier has quit [Ping timeout: 244 seconds]
rebcabin has quit [Quit: Leaving.]
oo_ has joined #ruby
bluOxigen has joined #ruby
doodlehaus has joined #ruby
Treyt22 has joined #ruby
rebcabin has joined #ruby
blueOxigen has quit [Ping timeout: 240 seconds]
sinkensabe has quit [Ping timeout: 252 seconds]
oo_ has quit [Ping timeout: 256 seconds]
MartynKeigher has quit [Quit: Leaving]
kiyote23 has quit [Remote host closed the connection]
zarubin has joined #ruby
D9 has joined #ruby
oo_ has joined #ruby
zorak8 has quit [Ping timeout: 255 seconds]
Pupeno has quit [Remote host closed the connection]
kiyote23 has joined #ruby
doodlehaus has quit [Remote host closed the connection]
blueOxigen has joined #ruby
claymore has joined #ruby
Sawbones has joined #ruby
speakingcode has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
bluOxigen has quit [Ping timeout: 252 seconds]
Pupeno has joined #ruby
vdamewood has joined #ruby
rbrs has quit [Quit: rbrs]
c355E3B has joined #ruby
Sawbones has quit [Remote host closed the connection]
bonhoeffer has joined #ruby
c355E3B has quit [Client Quit]
bonhoeffer has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
josephndenton has joined #ruby
agrinb has joined #ruby
pdoherty has joined #ruby
havenwood has joined #ruby
arrubin has joined #ruby
agrinb has quit [Ping timeout: 244 seconds]
lessless has quit [Max SendQ exceeded]
pdoherty has quit [Ping timeout: 244 seconds]
tubuliferous has joined #ruby
bonhoeffer has joined #ruby
windowlicker has quit [Quit: Lost terminal]
yfeldblum has joined #ruby
ivanskie has joined #ruby
Xeago has quit [Remote host closed the connection]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> Blizzy you can use both variants; problem is only in certain styles like when you can omit () for arguments and when not
rpag has quit [Ping timeout: 244 seconds]
<shevy> foo 'blaa' {
<shevy> foo 'blaa' do
sigurding has joined #ruby
sigurding has quit [Client Quit]
<shevy> ruby parser can't treat these the same
sigurding has joined #ruby
rebcabin has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 244 seconds]
osw has quit [Quit: WeeChat 1.0.1]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sankaber has joined #ruby
luizbafilho has joined #ruby
arup_r1 has quit [Quit: Leaving.]
Sawbones has joined #ruby
rooster has left #ruby [#ruby]
bonhoeffer has quit [Quit: bonhoeffer]
sankaber has quit [Ping timeout: 245 seconds]
timonv_ has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Sawbones has quit [Remote host closed the connection]
Axy has quit [Ping timeout: 244 seconds]
antgel has quit [Ping timeout: 252 seconds]
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby
hiyosi has joined #ruby
sigurding has quit [Quit: sigurding]
reprazent has quit [Quit: Bye]
ocx has quit [Remote host closed the connection]
bronson has joined #ruby
TheRinger_ has quit [Ping timeout: 240 seconds]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
freerobby has quit [Quit: Leaving.]
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby
freerobby has joined #ruby
tier has joined #ruby
fedexo has joined #ruby
fedexo_ has joined #ruby
V_Ve_ has quit [Quit: Lingo: www.lingoirc.com]
bronson has quit [Ping timeout: 252 seconds]
rocco88 has joined #ruby
kiyote23 has quit [Remote host closed the connection]
govg has quit [Ping timeout: 245 seconds]
D9 has quit [Quit: Leaving]
govg has joined #ruby
govg is now known as Guest47236
Channel6 has joined #ruby
yeticry has quit [Ping timeout: 252 seconds]
Fusl has quit [Remote host closed the connection]
hrs has joined #ruby
Treyt22 has quit [Quit: Leaving]
yeticry has joined #ruby
tier has quit [Remote host closed the connection]
Treyt22 has joined #ruby
Timgauthier has joined #ruby
Pupeno has quit [Remote host closed the connection]
lessless has joined #ruby
oo_ has joined #ruby
devoldmx has joined #ruby
supercom32 has joined #ruby
nyaa has joined #ruby
Timgauthier has quit [Ping timeout: 264 seconds]
Guest47236 has quit [Quit: leaving]
govg_ has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
kasperti_ has quit []
devoldmx has quit [Ping timeout: 256 seconds]
StevenNunez has joined #ruby
DaniG2k has joined #ruby
Fusl has joined #ruby
iamninja has joined #ruby
okic_ has quit [Ping timeout: 245 seconds]
gsd has joined #ruby
okic has joined #ruby
zarubin has quit [Remote host closed the connection]
nateberkopec has joined #ruby
n008f4g_ has joined #ruby
j2p2 has quit [Ping timeout: 240 seconds]
agrinb has joined #ruby
<eam> anyone here use gosu?
timonv_ has joined #ruby
YamakasY has joined #ruby
<YamakasY> hi guys
bigmac_ has quit [Read error: Connection reset by peer]
<StevenNunez> Hello!
agrinb has quit [Ping timeout: 265 seconds]
bigmac_ has joined #ruby
<YamakasY> is it possible with some function to do a gsub on domain.tld and replace . with \. (i have that working) but also put () around domain ?
<YamakasY> Iḿ looking for the () but I need to take domain out first ?
jubo2 has joined #ruby
<StevenNunez> Can you give an example of pre and post?
dfinninger has quit [Remote host closed the connection]
<YamakasY> uhm?
<YamakasY> what do you mean ?
<YamakasY> I hve the gsub part
Dieter2361 has joined #ruby
<YamakasY> oh
okic has quit [Ping timeout: 245 seconds]
<StevenNunez> so like http://reddit.com
<StevenNunez> goes in
<YamakasY> itś just domain.tld and I need (domain)\.tld
<StevenNunez> what is the result after gsub?
Dieter2361 has quit [Excess Flood]
<StevenNunez> I see
<havenwood> 'domain.tld' #=> '(domain)\.tld'
<YamakasY> yap
russt has quit [Quit: russt]
<YamakasY> the gsub is easy
okic has joined #ruby
nyaa has quit [Ping timeout: 264 seconds]
<YamakasY> as I´m a pro ofcourse :P
adriancb has quit [Remote host closed the connection]
DonOtreply has quit [Quit: DonOtreply]
adriancb has joined #ruby
<StevenNunez> What's not working?
<YamakasY> the () part
<YamakasY> Iḿ not sure about that
npgm has joined #ruby
<StevenNunez> Let me see
<StevenNunez> woops regex has to be escaped
mjuszczak has joined #ruby
<pontiki> /domain/(domain)/ should work
<YamakasY> but i first need to split ?
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki> if you split first, then you could just interpolate it
<pontiki> no need for sub/gsub
jordsmi has quit [Quit: Connection closed for inactivity]
cpt_yossarian has joined #ruby
<YamakasY> yes ok, but what i do now is:
<YamakasY> domains.map{ |d| d.gsub( "\." ,"\)\.")}.each do |domain_escaped|
<YamakasY> oops
devdazed has joined #ruby
<YamakasY> domains.map{ |d| d.gsub( "\." ,"\\.")}.each do |domain_escaped|
atmosx has joined #ruby
<atmosx> hello
<StevenNunez> .gsub(/\b(\w)(.*)(\w)(\.)(\w+)/, '(\1\2\3)\\\\\4\5')
<YamakasY> wow?
vin` has joined #ruby
<atmosx> that's some serious regexp
<StevenNunez> lol
<StevenNunez> When in doubt throw more regex at it
<atmosx> yeah
<atmosx> anything can happen
<YamakasY> ok, but is that wise ?
<atmosx> where is shevy?
<atmosx> YamakasY: wisdom ...!
<StevenNunez> I mean it has a single domain name limitation so no api.site.com
pwnz0r has joined #ruby
<StevenNunez> that returns the string you want
<YamakasY> atmosx, oh I lost that already years ago
lea_ has joined #ruby
<YamakasY> StevenNunez, but that would be the way ?
<StevenNunez> I would do it in 2 passes though
lea_ has left #ruby [#ruby]
<YamakasY> StevenNunez, which would be ?
<YamakasY> if I may ask
rocco88 has left #ruby [#ruby]
<StevenNunez> Like, replace the dot to \. first, then wrap stuff
fedexo_ has quit [Remote host closed the connection]
fedexo has quit [Remote host closed the connection]
<YamakasY> StevenNunez, with what function ?
<YamakasY> as I do actually
<havenwood> >> "domain.tld".sub /(^[^\.]*)/, "(#{Regexp.last_match})\\"
<eval-in> havenwood => "()\\.tld" (https://eval.in/241110)
Mon_Ouie has joined #ruby
<havenwood> oh, right
Techguy305 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<YamakasY> ?
* havenwood remembers to coffee before coding
<YamakasY> uh, thatś the bot ?
jheg has joined #ruby
<YamakasY> havenwood, but thatś the way ?
nux443 has quit [Ping timeout: 256 seconds]
<havenwood> >> 'domain.tld'.sub /(^[^\.]*)/, '(\1)\\'
<eval-in> havenwood => "(domain)\\.tld" (https://eval.in/241111)
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davedev2_ has joined #ruby
<havenwood> YamakasY: depends what you're trying to do. make a gist showing various example possible inputs and the expected outputs and i'm sure someone here can help ya.
adriancb has quit [Ping timeout: 244 seconds]
davedev24_ has quit [Ping timeout: 265 seconds]
<YamakasY> headius, the input it domain.tld and I need (domain)\.tld
adriancb has joined #ruby
freerobby has quit [Quit: Leaving.]
<havenwood> YamakasY: unfortunately, i'm not headius
<YamakasY> Iḿ testing your example
zarubin has joined #ruby
speakingcode is now known as SaulOfTarsus
<pontiki> weird letters happening
drkyro has joined #ruby
<havenwood> YamakasY: you're having acute accent problems
drkyro has quit [Client Quit]
<havenwood> l'accent aigu!
<YamakasY> hehe, no HexChat
ooesili has joined #ruby
<YamakasY> normally I was on irrsi
<havenwood> >> 'google.com'.sub(/(\A[^\.]*)/) { |before_first_period| "(#{before_first_period})\\" }
<eval-in> havenwood => "(google)\\.com" (https://eval.in/241112)
<havenwood> YamakasY: consider^
nux443 has joined #ruby
<havenwood> YamakasY: is matching everything up to the first period really what you want?
apurcell has joined #ruby
<YamakasY> yap
bonhoeffer has joined #ruby
govg_ has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
<YamakasY> nope, doesn´t do it only the \.tld
davedev2_ has quit [Ping timeout: 264 seconds]
davedev24_ has joined #ruby
<havenwood> YamakasY: it does it for the one example you've given. if you have other things in mind, make a Gist and show us.
jordsmi has joined #ruby
* YamakasY is testing
govg_ has joined #ruby
wallerdev has joined #ruby
apurcell has quit [Ping timeout: 244 seconds]
Joufflu has joined #ruby
<havenwood> YamakasY: https://gist.github.com/
josephndenton has quit [Ping timeout: 255 seconds]
nux443 has quit [Ping timeout: 244 seconds]
roshanavand has quit [Ping timeout: 244 seconds]
nux443 has joined #ruby
davidhq has joined #ruby
sivam has joined #ruby
maletor has joined #ruby
<YamakasY> havenwood, oh no works well but I didn see a puppet change so it´s just OK :D
mjuszczak has quit []
hmsimha has joined #ruby
julio has joined #ruby
julio is now known as MrBigNum
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> >> head, *tail = 'google.com'.partition('.'); ['(', head, ')\\', *tail].join
<eval-in> havenwood => "(google)\\.com" (https://eval.in/241113)
<havenwood> YamakasY: requisite non-rexexp solution :P
<pontiki> that was what i was going to suggest...
<YamakasY> is better ?
<YamakasY> looks smaller
<pontiki> tho i would have used rpartition
emmesswhy has joined #ruby
<YamakasY> mhh ok
<pontiki> >> head, *tail = 'www.google.com'.partition('.'); ['(', head, ')\\', *tail].join
<eval-in> pontiki => "(www)\\.google.com" (https://eval.in/241115)
<havenwood> pontiki: subdomains are forbidden!
rpag has joined #ruby
claymore has quit [Quit: Leaving]
<YamakasY> mhh but your example doesn´t work on map
<YamakasY> result is empty
<YamakasY> first one did
apurcell has joined #ruby
jaequery has joined #ruby
<havenwood> YamakasY: work on map?
<havenwood> whatcha mean?
<YamakasY> havenwood, what do you mean ?
<YamakasY> puppet
Alina-malina has quit [Read error: Connection reset by peer]
agrinb has joined #ruby
<YamakasY> bro :P
kasperti_ has joined #ruby
^wald0 has joined #ruby
kl has joined #ruby
<YamakasY> yap muppets period
apurcell has quit [Ping timeout: 244 seconds]
Xiti has quit [Quit: Xiti]
agrinb has quit [Ping timeout: 244 seconds]
Xiti has joined #ruby
Xiti has quit [Changing host]
Xiti has joined #ruby
atmosx_ has joined #ruby
atmosx has quit [Ping timeout: 245 seconds]
crueber has quit [Quit: Leaving.]
yfeldblum has joined #ruby
<YamakasY> MrBigNum, ask here
kiyote23 has joined #ruby
<MrBigNum> YamakasY well, I'm new here and i'd like to know if there's some guidelines for the channel,
bigmac_ has quit [Read error: Connection reset by peer]
<MrBigNum> I a problem and I'd like have some ideas to solve it...
athan has joined #ruby
bigmac_ has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
<MrBigNum> *i have
<YamakasY> just ask an wait
<YamakasY> havenwood, you fixed it for me :)
<YamakasY> merci
<MrBigNum> thanks...
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
pdoherty has joined #ruby
govg_ has quit [Ping timeout: 265 seconds]
<MrBigNum> Well, I have a list of posts and I'd like to group them by month and year.
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sandelius has joined #ruby
<MrBigNum> as a timeline grouping posts by month/year.
sandelius has quit [Max SendQ exceeded]
Techguy305 has joined #ruby
govg has joined #ruby
konsolebox has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 245 seconds]
sivam has left #ruby [#ruby]
sivam has joined #ruby
freerobby has joined #ruby
it0a has joined #ruby
sivam has left #ruby [#ruby]
kiyote23 has quit [Remote host closed the connection]
x77686d has joined #ruby
Channel6 has quit [Quit: Leaving]
bigmac_ is now known as i8igmac
luriv has joined #ruby
kiyote23 has joined #ruby
Deele has quit [Ping timeout: 244 seconds]
sandelius has joined #ruby
CrazyM4n has joined #ruby
yfeldblum has joined #ruby
jakesyl_insomnia has quit [Ping timeout: 245 seconds]
ptrrr has joined #ruby
jakesyl_insomnia has joined #ruby
adriancb has quit [Remote host closed the connection]
bronson has joined #ruby
tectonic has joined #ruby
aef has quit [Remote host closed the connection]
_5kg has quit [Ping timeout: 240 seconds]
Photism has joined #ruby
aef has joined #ruby
Xiti has quit [Quit: Xiti]
Xiti has joined #ruby
cashnguns has joined #ruby
thumpba has joined #ruby
timonv_ has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 245 seconds]
devdazed_ has joined #ruby
max96at is now known as max96at|off
einarj has joined #ruby
<shevy> is require 'rbconfig' still necessary these days?
<shevy> >> RbConfig
<eval-in> shevy => RbConfig (https://eval.in/241122)
<shevy> hmmm seems no
devdazed has quit [Ping timeout: 264 seconds]
gccostabr has joined #ruby
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby
einarj has quit [Ping timeout: 255 seconds]
mikepack has joined #ruby
pjaspers has quit [Quit: TODO]
pjaspers has joined #ruby
davedev24_ has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
davedev24_ has joined #ruby
jaequery has joined #ruby
<shevy> what does module_function again? it is not the same as def self.foo or? module Foo; def self.foo; puts 'test'; end; end
kiyote23 has quit [Ping timeout: 264 seconds]
Xiti has quit [Quit: Xiti]
Xiti has joined #ruby
wolf4ood has quit [Quit: (null)]
sinkensabe has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
ivanskie has joined #ruby
icebourg has joined #ruby
max96at|off is now known as max96at
<atmosx_> anyone familiar with nokogiri?
<atmosx_> I need to pass an "alignt=left" argument along with the class name
<pontiki> shevy: afaik, module_function :foo is the same as saying def self.foo;; end inside a module
pwnz0r has quit [Remote host closed the connection]
<tectonic> atmosx_: you want to filter on the align attribute?
<pontiki> and module_function on it's own makes all the following methods module functions
<shevy> hmm
<atmosx_> tectonic: not exactly.
ooesili has quit [Quit: leaving]
Tricon has joined #ruby
gccostabr has quit [Ping timeout: 245 seconds]
<tectonic> atmosx_: what are you trying to do?
<atmosx_> I'm filtering by class name: <td WIDTH=130 class='kouponi_omades' align=left> ... but I have a same class left/right
<atmosx_> on the HTML page
<atmosx_> the next element is <td WIDTH=130 class='kouponi_omades' align=right>
<atmosx_> but the result for me is always the same because it filters based on class name
freerobby has quit [Quit: Leaving.]
<tectonic> In CSS you can do [align=left] as a matcher
<tectonic> so maybe something like .kouponi_omades[align=left]
<atmosx_> let me try,.. because I have an array of class names :-P
<atmosx_> but should work
shime has joined #ruby
TrOuBleStArTeR has joined #ruby
gccostabr has joined #ruby
<atmosx_> hm nope
<shime> command line arguments parser for Ruby that doesn't take my command line utility using it as a hostage - wanted dead or alive
<atmosx_> yes yes
<atmosx_> works thanks tectonic !
agrinb has joined #ruby
oo_ has joined #ruby
<tectonic> yay atmosx_
<atmosx_> hm, shit
<atmosx_> the guy has another instance of 2 classes with no other name/variable that has the exact same name
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
<atmosx_> argh
pengin has joined #ruby
<tectonic> :first
<tectonic> :nth-child(2)
<tectonic> etc
<tectonic> try selectorgadget.com
jubo2 has quit [Quit: Konversation terminated!]
<atmosx_> ah
sinkensabe has quit [Read error: Connection reset by peer]
robert__ has joined #ruby
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
doodlehaus has joined #ruby
roshanavand has joined #ruby
<atmosx_> tectonic: you're a professional scrapper?
roshanavand has quit [Max SendQ exceeded]
<atmosx_> nth-child(x) is XPath right?
oo_ has quit [Ping timeout: 245 seconds]
agrinb has quit [Ping timeout: 265 seconds]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
<wasamasa> shime: slop?
Tricon has quit [Ping timeout: 245 seconds]
Sawbones_ has joined #ruby
roshanavand has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
roshanavand has quit [Max SendQ exceeded]
roshanavand has joined #ruby
sinkensa_ has joined #ruby
<shime> wasamasa: nope, it also falls in that category
<tectonic> css too
<shime> wasamasa: but slop and trollop are closest to what I want - thor is insane
sinkensa_ has quit [Remote host closed the connection]
Photism_ has joined #ruby
Photism has quit [Read error: Connection reset by peer]
doodlehaus has quit [Remote host closed the connection]
zarubin has quit [Read error: Connection reset by peer]
bonhoeffer has quit [Quit: bonhoeffer]
Sawbones_ has quit [Ping timeout: 240 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
zarubin has joined #ruby
kiyote23 has joined #ruby
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
<atmosx_> tectonic: so the syntax will be: td.class_name:nth-of-type(n) where n = 1, 2, 3.. etc.
* atmosx_ tries
dllama1 has joined #ruby
thumpba has quit [Remote host closed the connection]
<tectonic> atmosx_: looks right
contradictioned has quit [Remote host closed the connection]
JBreit has joined #ruby
dllama1 is now known as dllama
pengin has quit [Ping timeout: 265 seconds]
emmesswhy has joined #ruby
teddyp1c_ has joined #ruby
dangerousdave has joined #ruby
<wasamasa> shime: I don't get what you mean in the first place
mist_ is now known as mist
^wald0 has quit [Quit: ^wald0]
tier has joined #ruby
_5kg has joined #ruby
<tectonic> atmosx_: you may find selectorgadget.com useful for this. I wrote it ;)
<atmosx_> tectonic: seriously?
teddyp1cker has quit [Ping timeout: 265 seconds]
<tectonic> a while ago yea
<atmosx_> tectonic: thanks awesome
<tectonic> np
<atmosx_> tectonic: I saw it on a screencast about using nokogiri. Helped write some code a while back :-) that's cool
<dllama> hey guys, really hope someone can lend a hand with mechanize. trying to fill out a form and click an image to submit (.submit doesn't work on that page) and am getting back an error. https://gist.github.com/mvoloz/2ce33461c11a5832c91f
nobitanobi has joined #ruby
<tectonic> nice atmosx_!
<tectonic> dllama: is the image inside of a link?
diegoviola has quit [Ping timeout: 245 seconds]
<tectonic> or a button?
<dllama> tectonic: its an image that runs some js on-click
vyorkin has joined #ruby
<pontiki> probably want the parent, not the image itself
nobitanobi has quit [Read error: Connection reset by peer]
<pontiki> oops
nobitanobi has joined #ruby
<pontiki> mechanize doesn't do JS
tier has quit [Remote host closed the connection]
arrubin has quit []
reprazent has joined #ruby
DadoCe has joined #ruby
LudicrousMango has joined #ruby
<dllama> hmm, well that sucks lol
<dllama> guess i need to find an alternative
blueOxigen has quit [Ping timeout: 255 seconds]
<tectonic> dllama: maybe phantomjs
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Trep has joined #ruby
* pontiki suggests watirwebdriver with phantomjs
<atmosx_> tectonic: you totally saved the day for me.
<atmosx_> tectonic: I own you a pint.
<tectonic> :)
<atmosx_> err s/own/owe
<pontiki> ***\o/*** tectonic !!
atmosx_ is now known as atmosx
<atmosx> pontiki yeah for the win!!!
<tectonic> I'm @tectonic on Twitter. Hit me up if you're in SF ;)
apurcell has joined #ruby
* atmosx can eat a pizza now
<dllama> pontiki: i'm looking into both, thanks!
kiyote23 has quit [Remote host closed the connection]
contradictioned has joined #ruby
nobitanobi has quit [Ping timeout: 252 seconds]
<dllama> can both be triggered via ruby code or will i have to do this in other ways?
tier has joined #ruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atmosx> Now I can fetch all the data, I just need to write the code... why is it that when you figure you something, first you're happy then you're incredibly bored and you wish someone else would write the rest of the code for you :-(
^wald0 has joined #ruby
MrBigNum has quit [Remote host closed the connection]
contradictioned has quit [Remote host closed the connection]
contradictioned has joined #ruby
<pontiki> dllama: watirwebdriver is ruby code; phantomjs is called by watirwebdriver
<dllama> thank you kindly!
<dllama> will give this a go
MrBigNum has joined #ruby
emmesswhy has quit [Quit: Leaving]
<pontiki> another way to go is using selenium with poltergeist and phantomjs
Pupeno has joined #ruby
Pupeno has joined #ruby
<tectonic> atmosx: haha
<tectonic> atmosx: what are you making?
apurcell has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
<bradland> dllama: the difference between mechanize and the other libraries being mentioned is that mechanize is an HTTP automation library, and watir, selenium, capybara, etc are browser automation libraries.
ivanskie has joined #ruby
<dllama> understood
yfeldblum has quit [Ping timeout: 264 seconds]
<dllama> yea, apparently the city of new york doesn't like thigns being automated
<bradland> personally, i would recommend watir
<dllama> i'm testing it now
<bradland> it’s nice and high level, but allows you to drop down in to the driver if you need to
<dllama> is it a viable solution to use on a larger scale?
topolinux has joined #ruby
<atmosx> tectonic: a prototype for scrapping the earnings table from a betting website.
pengin has joined #ruby
<tectonic> interesting
<dllama> i remember testing somethign a few years back, but it actually opened browsers on my laptop and was a huge resource hog
antgel has joined #ruby
<atmosx> tectonic: I was discussing with a friend and he has an idea about a weekend project, I'm just helping him with the code. If the whole seems to work, I might take it more seriously we'll see :-)
<bradland> dllama: yeah, these new libraries are a bit better
<bradland> instead of driving a web browser, you can use phantomjs
<bradland> which is headless
spider-mario has quit [Ping timeout: 264 seconds]
delianides has joined #ruby
<bradland> resource wise, they’re still a lot heavier than something like Mechanize
MrBigNum has quit [Ping timeout: 264 seconds]
<tectonic> atmosx: a lot of cool things start as weekend projects
<bradland> dllama: be sure to note which “web driver” you’re using with any of these. i haven’t worked with them for some time, but many used to use Chrome as the default.
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bradland> if you want to use phantomjs (headless; doesn’t launch a browser), you have to install it separately, then specify to use phantomjs as the “web driver”
<dllama> bradland: how would this work server side though on an ubuntu machine?
<dllama> ahh ok, thats what i'm going to do
<dllama> this app is actually a weekend project for me :)
<bradland> dllama: yeah, you’d have some additional deps. namely phantomjs, which requires ghostscript, and some fonts and such.
spider-mario has joined #ruby
<bradland> it will run on a server, but you have to fight through all the deps
gccostabr has quit [Quit: See you later!]
<atmosx> tectonic: reading HN makes you think everything is possible but I try not to dream on too much. Time will tell I guess.
<dllama> all good, everything about this project is new tech to me, so i guess it all falls inline with it :D
<bradland> if you need javascript though, that’s pretty much your best option
<dllama> first time using ionic, first time using foundationdb, lol
<bradland> sounds like some fun stuff
bMalum has joined #ruby
<dllama> tons and tons of tutorials :)
<dllama> but i can say ionic is pretty damn cool
<tectonic> atmosx: are you on twitter?
<dllama> though it'd be easier if i had better understanding of ios
<atmosx> tectonic: sure
tier has quit [Remote host closed the connection]
<dllama> obj-c*
<atmosx> tectonic: @patmatzidis .. you?
max96at is now known as max96at|off
gsd has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
<tectonic> atmosx: @tectonic
timonv_ has joined #ruby
Pupeno has joined #ruby
mbug has joined #ruby
<atmosx> tectonic: nice :-)
x1337807x has joined #ruby
mbug has quit [Max SendQ exceeded]
x1337807x has quit [Max SendQ exceeded]
<atmosx> hm
mbug has joined #ruby
pengin has quit [Remote host closed the connection]
<atmosx> you're the author of huginn
<tectonic> yea
<atmosx> that's interesting, I have another side-project which I was planning to link to monitorbooks.com at some point (when their API is ready).
timonv_ has quit [Remote host closed the connection]
x1337807x has joined #ruby
teddyp1c_ has quit [Remote host closed the connection]
<atmosx> But now that I see huginn, I think it's a better fit.
pengin has joined #ruby
<tectonic> what is monitorbooks?
sinkensabe has quit [Remote host closed the connection]
<dllama> bradland: would i need headless gem for this?
<atmosx> tectonic: https://monitorbook.com price monitoring app. Works with something like gadget-selector you've made.
<tectonic> oh cool
<bradland> dllama: not sure what you mean. i’m not familiar with the headless gem.
<tectonic> yea, i saw that recently atmosx
<tectonic> looks useful
<atmosx> tectonic: I'm not sure it's even legal to scrap Amazon... But I've used it works, not for every website but for most of them.
<tectonic> definitely could do it for free with Huginn though :)
msgodf has joined #ruby
<dllama> thats what those docs suggest
<bradland> dllama: ok, i see. i suspect this is old. probably pre-phantomjs.
teddyp1c_ has joined #ruby
<bradland> here’s what you do
<bradland> install watir gem
<bradland> install phantomjs
<bradland> what OS are you on?
sinkensabe has joined #ruby
<dllama> i got both gems installed
<dllama> on gentoo
sinkensabe has quit [Remote host closed the connection]
<bradland> both tems?
<bradland> sry
<dllama> server is ubuntu though
<bradland> i only listed one gem
<bradland> water gem
<bradland> that’s all
<dllama> phantomjs gem
<bradland> ah
<bradland> didn’t know there was a phantomjs gem
<bradland> sec, lemme see what the phantomjs gem is
lemur has joined #ruby
<bradland> eh, not sure i’d use that
apurcell has joined #ruby
<dllama> you'd build it from source?
<bradland> i’d use a binary distribution
<atmosx> tectonic: yeap, all of a sudden I see great potential there.
pengin has quit [Ping timeout: 256 seconds]
sovreign has quit [Quit: Leaving]
<bradland> i’d install phantomjs either from apt (on ubuntu)
<dllama> googling on how to do it
<bradland> what package manager does gentoo use?
agrinb has joined #ruby
<bradland> thing is, i’d install phantomjs using your system package manager, not this gem
<bradland> because this gem only mentions integration with Poltergeist/Capybara
<bradland> not sure how well watir will do locating it in $HOME/.phantomjs/
bMalum has quit [Quit: bMalum]
<bradland> dllama: looks like there is a gentoo package that is on 1.9, which is the most recent minor release
<bradland> likewise for recent LTS versions of ubuntu
<dllama> yup, thast what i'm installing
<bradland> cool, then you literally just do this when using watir: b = Watir::Browser.new :phantomjs
<dllama> oh wow, ok thats waaay simpler than i thought it would be :)
brixen has quit [Quit: ZNC - http://znc.in]
<dllama> things like that make it hard not to love ruby :D
<dllama> still hating NYC.gov though, but it is what it is :)
<dllama> maybe if this app will gain some traction, i'll find a way to get real api access
apurcell has quit [Ping timeout: 265 seconds]
<bradland> yeah, you’re going to want to do whatever task this watir code does outside of the request-response cycle
<bradland> like in a cron task that updates your data periodically
<bradland> because it’s going to be slow
DadoCe has quit [Remote host closed the connection]
<dllama> yea i can move it to a delayed job or something
agrinb has quit [Ping timeout: 265 seconds]
<bradland> not because ruby is slow, but because every time it runs, it basically boots up a headless web browser and makes a pile of requests
<bradland> it’s like web browser inception :)
<bradland> good call
<shevy> at work I often delay my job
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
russt has joined #ruby
oo_ has joined #ruby
<tectonic> "I wouldn't say I've been missing it, Bob."
DonOtreply has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Ping timeout: 244 seconds]
<dllama> i built a small scraper app about a year ago or so, which was using mechanize i believe, also wasn't the fastest, but it wasn't too bad to spool up 8-9 VPS to download approximately 500k arbitration documents that required form fills. left them running over several nights and it finished
Channel6 has joined #ruby
<dllama> acutally the longest part of that entire process wasn't the form fill/download, it was parsing the pdf's
x1337807x has joined #ruby
<agent_white> Evenin' folks
<tectonic> hello
kiyote23 has joined #ruby
<bradland> parsing PDFs. there’s a job i’d delay.
<dllama> entire process took maybe ~20 sec/document, which was form fill -> download -> parse -> save to db. ran it all thorugh sidekiq
Musashi007 has joined #ruby
<tectonic> dllama: parse PDFs how?
atmosx_ has joined #ruby
<dllama> stripping out the text from it
<dllama> or did u mean which library?
<tectonic> ah
<bradland> tectonic: have you seen the jRuby project, Tabula? http://tabula.technology
<dllama> sorry, i realize how ridiculous my immediate repsonse was lol
atmosx has quit [Ping timeout: 264 seconds]
<bradland> Tabula extract tabular data from PDFs.
<bradland> Which is, as far as I am concerned, wizardry of the first order.
<tectonic> bradland: cool, looking at it now
<dllama> is jruby faster than mri?
<tectonic> dllama: usually a bit, yes
<bradland> in many places, yes
<dllama> is it a complicated switch?
<dllama> codewise?
<bradland> the trade-off is that you can’t use gems with native (C) extensions.
<bradland> which are many
<dllama> i guess thats a yes lol
malcolmva has quit [Ping timeout: 245 seconds]
<bradland> for your own code, it is rarely a problem. for the libs you depend upon… may be a huuuuge problem.
icebourg has quit []
<dllama> i remember trying to use it once when i couldn't get mssql adapter to work with ruby 1.8 or 1.9, was a massive fail on my end
<bradland> yeah, that’s a good example of a gem with native extensions
<bradland> you have to use JDBC instead
<bradland> er whatever the acronym is
<dllama> u got it right
Ankhers has joined #ruby
<bradland> a lot of folks who choose jRuby do so because they can use Java libraries instead
<bradland> i’m pretty sure that’s why Tabula uses jRuby.
<bradland> their PDF tools are likely Java related.
kiyote23 has quit [Ping timeout: 264 seconds]
<bradland> i haven’t been code diving there in quite some time
<tectonic> yea, generally. jruby worked well with Weka for me
iamninja has quit [Quit: ZZZzzz…]
<bradland> for all the shit java catches relative to all the factory.factory.factory bullshit, there are some insanely powerful libs available
TrOuBleStArTeR has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<bradland> here’s a great example: https://gist.github.com/bradland/b6a7fa78326485ac201a
robert__ has quit [Remote host closed the connection]
towski_ has joined #ruby
Pupeno_ has joined #ruby
<bradland> if you need to parse lots of date information, and you’re on MRI, you have a couple of choices. if you optimize, you use Time#strptime and you get a 2x speedup over Time#parse
<bradland> if you’re on jRuby, you can use JODA and get a 13x speedup
<dllama> i have yet to build an app where I needed some large performance boosts
<bradland> yeah, most of us don’t
<bradland> that’s the dirty little secret of the long tail of development
<bradland> i’m impatient though :)
Heskie has quit []
<bradland> i put some conditionals in to some log parser code that uses JODA when running on jRuby, and it cut my file processing time by 30%
<tectonic> premature optimization and all that
Musashi007 has quit [Read error: Connection reset by peer]
Pupeno has quit [Ping timeout: 256 seconds]
Musashi007 has joined #ruby
robert__ has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
<dllama> still compiling phantomjs
apurcell has joined #ruby
<dllama> a warning popped up saying its going to take a while when i first ran build.sh, it wasn't kidding
pdoherty has joined #ruby
voidwalkr has joined #ruby
towski_ has quit [Remote host closed the connection]
DonOtreply has joined #ruby
<bradland> gentoo is one of those “everything builds from source” distros, isn’t it?
malcolmva has joined #ruby
<dllama> i wish i can answer that with any authority lol
<dllama> i'm the furthest thing from a server person
<crome> bradland: mostt things, yes
<crome> -t
vyorkin has quit [Quit: WeeChat 1.0.1]
<bradland> not hurling stones or anything, heh. homebrew favors building from source, and it’s all i’ve got over here in OS X land.
<dllama> only reason my vm is gentoo is because a buddy who was mentoring me with ruby suggested i use it rather than ubuntu and learn it.
mquin has quit [Quit: ZNC - http://znc.sourceforge.net]
Cache_Money has joined #ruby
<bradland> hrm
<dllama> all my servers are still ubuntu
iamjarvo has joined #ruby
<bradland> i have a different opinion on that
doodlehaus has joined #ruby
<bradland> i try to standardize on a single distro
pdoherty has quit [Ping timeout: 240 seconds]
<pontiki> we all have our favourites, and try to force everyone to use them like us
<bradland> the problem is that what works on your local gentoo VM may not translate directly to your servers
<pontiki> no, j/k
<Nilium> SO HOW ABOUT EMACS
apurcell has quit [Ping timeout: 252 seconds]
<iamjarvo> the parse.c file gets created everytime I run `$ ruby -e puts 'hello'` or when i install ruby?
<pontiki> EMACS!!! EMACS!!!
<crome> Nilium: hahaha, good one, mate
<Nilium> I saw "favorites" and I couldn't resist
<bradland> so, while i don’t particularly care if someone uses ubuntu/gentoo/centos/coreos/whatev
<bradland> i’d try to be consistent
<Nilium> Also vaguely topical since I decided to nuke and rebuild my vim config recently
<Nilium> So now it's way less horrible
jordsmi has quit [Quit: Connection closed for inactivity]
elaptics is now known as elaptics`away
<bradland> iamjarvo: how can you run `ruby -e puts 'hello’` if you can’t install ruby?
<bradland> iamjarvo: system ruby?
<Nilium> Most likely
<bradland> smells like environment
<bradland> what method are you using to install ruby?
yfeldblum has joined #ruby
<iamjarvo> i am just wondering when does ruby generate its parse.c file. text im reading says during build process
<dllama> i'm not knowledgeable enough when it comes to *nix, i do have a digital ocean build that i'm very happy with, and i just always use that image when it comes to bringing up new servers
robert__ has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
<dllama> and it happens to be ubuntu, so i'm following the "if it aint broke" concept here :)
<bradland> iamjarvo: ruby shouldn’t generate a parse.c file when you invoke the interpreter. something is broken.
<iamjarvo> bradland thanks
aswen has quit [Ping timeout: 245 seconds]
Heskie_ has joined #ruby
<bradland> dllama: yeah, no worries. just general tips.
<bradland> i try to stay in the mainstream so it’s easiest to get help
<bradland> consistency means i only have to solve problems once
<dllama> i guess you can say that i'm fairly standardized with that, since with the exception of like 3 servers, all my other ones use that image :)
shime has quit [Ping timeout: 264 seconds]
<bradland> now all you need to do is standardize your local VM and you’ll be all set :)
<dllama> i thought about it, and wanted to
<Nilium> dllama: I do the same thing re: digital ocean
<dllama> but it just seems like so much work to get it changed over now
<dllama> not really worth it
<Nilium> This is why I tell people at work they should never, ever ask me to deploy a server
diegoviola has joined #ruby
<dllama> haha
Jackneill has quit [Remote host closed the connection]
einarj has joined #ruby
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nicolastarzia has quit [Remote host closed the connection]
<pontiki> probably similar reasons why i'm banned from painting walls and such in the house
<Nilium> I was banned from that a very long time ago when my parents realized I liked painting
<Nilium> Since then, everyone has been very careful to make sure I don't know there's paint anywhere
<Nilium> And then someone asked me to paint the walls to cover up some scuff marks at my last job..
<Nilium> Such a mistake.
tier has joined #ruby
maletor_ has joined #ruby
bMalum has joined #ruby
ptrrr has quit [Quit: ptrrr]
teddyp1c_ has quit [Remote host closed the connection]
<dllama> Nilium: is this you? https://www.youtube.com/watch?v=uVDNNoEk4PI
<dllama> :D
apurcell has joined #ruby
maletor_ has quit [Client Quit]
sondr3 has joined #ruby
Heskie_ has quit []
einarj has quit [Ping timeout: 252 seconds]
aswen has joined #ruby
<Nilium> No, I wasn't the canvas.
bluehavana is now known as jmhmccr
<dllama> haha
apurcell has quit [Ping timeout: 244 seconds]
<dllama> oh man, i really should have read the part that says it takes ~30 minutes to install phantomjs
amclain has joined #ruby
<dllama> need to leave and really wanted to test it b4
jheg has quit [Quit: jheg]
<dllama> oh well, looks like another sleepless night :)
Alina-malina has joined #ruby
<dllama> ok guys, thank you very much for the help! i'll be back in a few hours
DaniG2k has quit [Quit: leaving]
MiracleBlue_ is now known as MiracleBlue
doodlehaus has joined #ruby
MiracleBlue has quit [Changing host]
MiracleBlue has joined #ruby
MiracleBlue has joined #ruby
Tricon has joined #ruby
apeiros has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
davasaurous has joined #ruby
robert__ has joined #ruby
jmhmccr is now known as bluehavana
josephndenton has joined #ruby
tier has quit [Remote host closed the connection]
mquin has joined #ruby
shime has joined #ruby
jgrevich has joined #ruby
agrinb has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
sevvie has joined #ruby
dllama has quit [Read error: Connection reset by peer]
Sawbones_ has joined #ruby
dllama has joined #ruby
nicolastarzia has joined #ruby
adriancb has joined #ruby
agrinb has quit [Ping timeout: 244 seconds]
decoponyo has joined #ruby
shime has quit [Ping timeout: 244 seconds]
mrmargolis has quit [Remote host closed the connection]
roshanavand has quit [Read error: No route to host]
Sawbones_ has quit [Ping timeout: 245 seconds]
decoponio has quit [Ping timeout: 264 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
MrBigNum has joined #ruby
jgrevich has quit [Ping timeout: 264 seconds]
havenwood has quit []
apurcell has joined #ruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DadoCe has joined #ruby
topolinux has quit [Quit: Sto andando via]
ivanskie has joined #ruby
wallerdev has quit [Quit: wallerdev]
oo_ has joined #ruby
tubuliferous has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jack_rabbit has joined #ruby
apurcell has quit [Ping timeout: 244 seconds]
DadoCe has quit [Ping timeout: 245 seconds]
adriancb has quit [Ping timeout: 264 seconds]
shime has joined #ruby
esposito has joined #ruby
yourabi has quit [Max SendQ exceeded]
xtsee has joined #ruby
timonv_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
oo_ has quit [Ping timeout: 264 seconds]
mleung has joined #ruby
pardusf has quit [Ping timeout: 245 seconds]
parduse has joined #ruby
antgel has quit [Ping timeout: 244 seconds]
tectonic has quit []
devoldmx_ has joined #ruby
bMalum has quit [Quit: bMalum]
apurcell has joined #ruby
devoldm__ has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iMe has quit [Ping timeout: 240 seconds]
esposito has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
kiyote23 has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
devoldmx_ has quit [Ping timeout: 264 seconds]
zarubin has quit [Remote host closed the connection]
apurcell has quit [Ping timeout: 255 seconds]
dfinninger has joined #ruby
mleung has quit [Quit: mleung]
sondr3 has quit [Quit: Whelp.]
sondr3 has joined #ruby
CrazyM4n has quit [Quit: going to eat food]
lemur has quit [Remote host closed the connection]
tier has joined #ruby
mbug has quit [Quit: Leaving]
luizbafilho has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mostlybadfly has joined #ruby
mbug has joined #ruby
dfinninger has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
freerobby has joined #ruby
mbug has quit [Client Quit]
mbug has joined #ruby
Cache_Money has joined #ruby
vdamewood has joined #ruby
Techguy305 has quit [Ping timeout: 245 seconds]
tectonic has joined #ruby
nicolastarzia has quit [Remote host closed the connection]
Pupeno has joined #ruby
Pupeno has joined #ruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
apurcell has joined #ruby
yalue has joined #ruby
Pupeno_ has quit [Ping timeout: 240 seconds]
Soda has quit [Remote host closed the connection]
frogsy2 has joined #ruby
DadoCe has joined #ruby
apurcell has quit [Ping timeout: 245 seconds]
PanzerModern has quit [Remote host closed the connection]
frogsy has quit [Ping timeout: 264 seconds]
kiyote23 has quit [Ping timeout: 245 seconds]
TeddyTatanka has joined #ruby
defrang has quit [Quit: defrang]
DrShoggoth has joined #ruby
DadoCe has quit [Ping timeout: 244 seconds]
merqlove has joined #ruby
voidwalkr has quit [Ping timeout: 265 seconds]
doodlehaus has joined #ruby
emmesswhy has joined #ruby
atmosx_ has quit [Quit: Let him that would move the world first move himself. - Socrates]
zarubin has joined #ruby
diegoviola has quit [Read error: Connection reset by peer]
diegovio1 has joined #ruby
bronson has joined #ruby
agjacome has quit [Quit: leaving]
MrBigNum has quit [Remote host closed the connection]
nicolastarzia has joined #ruby
agrinb has joined #ruby
BillSussman has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
bronson has quit [Ping timeout: 244 seconds]
robert__ has quit [Remote host closed the connection]
JDiPierro has joined #ruby
klmlfl has joined #ruby
agrinb has quit [Ping timeout: 264 seconds]
robert__ has joined #ruby
<Nilium> https://dl.dropboxusercontent.com/u/31892/Screenshots/4dvm.png FIFTY THOUSAND PLUGINS LATER. ಠ_ಠ
tier has quit [Remote host closed the connection]
<mozzarella> tfw I will never have great fonts like that
doodlehaus has quit [Remote host closed the connection]
<crome> go \o/
<mozzarella> why does OS X's font rendering always look superior to everything?
<pipework> !magic
<Radar> mozzarella: Anti-aliased edging
<Radar> Also because it is superior.
<mozzarella> Radar: doesn't linux also have that?
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Radar> Linux does not have superiority, no
<mozzarella> what's the hype about eyefinity and all that if it doesn't even come close to OS X
diegovio1 has quit [Quit: WeeChat 1.0.1]
checkit has joined #ruby
Tricon has quit [Ping timeout: 244 seconds]
<crome> just wait until you see windows 8 on a high dpi screen
<crome> it's amazing
emmesswhy has quit [Quit: This computer has gone to sleep]
<pipework> The only way I'll see it is against my will./
emmesswhy has joined #ruby
false_economy has joined #ruby
codecop has quit [Quit: Išeinu]
Hobogrammer has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zarubin has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
davasaurous has quit [Remote host closed the connection]
davasaurous has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Tricon has joined #ruby
m8 has quit [Quit: Sto andando via]
klmlfl has quit [Remote host closed the connection]
apurcell has joined #ruby
russt has quit [Quit: russt]
<Nilium> Windows 8 is pretty good looking already, just don't mix screen DPIs
<Nilium> i.e., if you have a 4k monitor and scale it up, do not under any circumstances connect a non-4k monitor.
JDiPierro has quit [Remote host closed the connection]
<Nilium> Windows does not know how to handle the existence of multiple DPIs and although it will attempt to handle it because they've slowly been adding that to it, it will look bad, things will render poorly, and you will be sorry.
<tectonic> atmosx: I posted SelectorGadget to HN just now since I don't know if people know about it these days.
<Nilium> As a result, OS X is still the only OS I'm aware of that actually handles DPI changes gracefully.
<Nilium> I'd think Android could too.
mbug has quit [Ping timeout: 244 seconds]
jordsmi has joined #ruby
olivier_bK has quit [Ping timeout: 265 seconds]
<Nilium> Anyhow, font in the picture above was PragmataPro, by the way.
<Nilium> You should buy it. It's awesome.
cleopatra has joined #ruby
dfinninger has joined #ruby
kasperti_ has quit []
apurcell has quit [Ping timeout: 265 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
russt has joined #ruby
Kricir has quit [Remote host closed the connection]
luizbafilho has joined #ruby
sevvie has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby
icebourg has joined #ruby
hashpuppy has joined #ruby
TheNet has joined #ruby
Areessell has joined #ruby
sevvie has joined #ruby
einarj has joined #ruby
parduse has quit []
pdoherty has joined #ruby
thumpba has joined #ruby
cbetta__ is now known as cbetta
mengu has quit []
cbetta has quit [Changing host]
cbetta has joined #ruby
cbetta has quit [Changing host]
cbetta has joined #ruby
supercom32 has quit [Quit: Leaving]
parduse has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
pdoherty has quit [Ping timeout: 244 seconds]
spider-mario has quit [Read error: Connection reset by peer]
robert__ has quit []
checkit_ has joined #ruby
checkit has quit [Read error: Connection reset by peer]
_honning_ has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
DadoCe has joined #ruby
StevenNunez has quit [Remote host closed the connection]
npgm has quit [Quit: Connection closed for inactivity]
sevvie has quit [Quit: leaving]
lemur has joined #ruby
teddyp1cker has joined #ruby
JDiPierro has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
DadoCe has quit [Ping timeout: 245 seconds]
Sawbones_ has joined #ruby
teddyp1cker has quit [Ping timeout: 245 seconds]
pen has joined #ruby
nicolastarzia has quit [Remote host closed the connection]
Sawbones_ has quit [Ping timeout: 265 seconds]
aswen has joined #ruby
wickedwil has joined #ruby
wickedwil has quit [Killed (idoru (Spam is off topic on freenode.))]
michaeldeol has joined #ruby
dfinninger has quit [Remote host closed the connection]
aswen has quit [Ping timeout: 245 seconds]
rpag has quit [Quit: Leaving]