apeiros changed the topic of #ruby to: Ruby 2.1.3; 2.0.0-p576; 1.9.3-p545: 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
<havenwood> omosoj: Parts aren't well documented, but start with what is!
<havenwood> omosoj: http://www.ruby-doc.org/
<volty> first and only language: it's like being a human and pretending to know how our Lord made us :
<volty> :)
<havenwood> omosoj: Core Classes tend to be important.
moOnspell has left #ruby [#ruby]
<omosoj> volty: lol. i think it's kinda why i want to have so much depth... because i'm trying to simultaneously learn CS fundamentals and am applying them to ruby
sidik has joined #ruby
<havenwood> omosoj: i've vote just learn Ruby then when you return to fundamentals you'll find you know many
<havenwood> omosoj: learn Ruby in depth
<havenwood> omosoj: then you'll be primed for many things
zenojis has joined #ruby
<omosoj> i feel like i have a good grasp of ruby now. i've made a few programs and i've deployed a rails app.
<volty> cs is not enough, you need experience with language design
<omosoj> i don't know how else to improve my understanding/skills
<havenwood> omosoj: so go through the Core Classes until you know how to use them all
<havenwood> omosoj: then the stdlib
<havenwood> omosoj: it isn't a trivial task
<omosoj> k
tomeara_ has quit [Ping timeout: 245 seconds]
<volty> kind of learning in advance ?
ringarin has quit [Ping timeout: 240 seconds]
<omosoj> i guess i have a philosophical mindset so i like to understand things deeply. whether i actually get to doing soemthing with them is another issue heh
<volty> omosoj already knows to program & SEARCH what he needs
penzrgb has quit [Quit: This computer has gone to sleep]
lw2 has quit [Quit: s]
<volty> he is about metaphysics too :)
pasties has joined #ruby
lolmaus has quit [Remote host closed the connection]
<omosoj> :)
lolmaus has joined #ruby
sidik has quit [Client Quit]
deject3d is now known as deject3d_laptop
deject3d_laptop has quit [Quit: Leaving...]
chipotle has joined #ruby
zenojis has quit [Ping timeout: 260 seconds]
<waxjar> volty's going to disagree, but i think you might like haskell omosoj :P
<volty> ahahah
Soda has quit [Remote host closed the connection]
<omosoj> heh, why?
<volty> no time there to get lost in thinking about how it is implemented -- because he will get lost in haskell types and in damn monads, pushing and pulling pure data in & out of monoids and similar crap
<waxjar> it has a certain philosophical quality i can't quite explain
<volty> i'd rather call it time-wasting quality :)
<havenwood> omosoj: Ruby has a lot of Lisp influence. Clojure is really quite nice and works with JRuby.
<omosoj> sounds interesting. lol
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<volty> naaaaa, havenwood, i do not buy that ones
<havenwood> omosoj: Rich Hickey has a lot of talks worth listening to.
qmfnp has joined #ruby
<volty> i've been programming, in c++, without knowing lisp, and as need & ideas were arising i was trying to implement them
<havenwood> volty: From Ruby's manpage: If you want a language for easy object-oriented programming, or you don't like the Perl ugliness, or you do like the concept of LISP, but don't like too many parentheses, Ruby might be your language of choice.
kenneth has joined #ruby
<volty> ruby is not this because there was lisp or haskell
jimmyhoughjr has joined #ruby
<havenwood> volty: Lispy i tell you!
sgp667 has quit [Quit: Leaving]
pasties has quit [Ping timeout: 250 seconds]
<havenwood> Way fewer parens. :P
<volty> havenwood: i agree with that. I am just saying that the world would have stopped without lisp there
Mon_Ouie has quit [Read error: Connection reset by peer]
<volty> all those functional time-losers talk about their influence just to compensate for their complex of inferiority —-- so much elegance, but so few results
chouchen has quit [Ping timeout: 245 seconds]
goodenough has joined #ruby
pasties has joined #ruby
nfk has quit [Quit: yawn]
<havenwood> volty: Clojure cup wrapped up not long ago: https://clojurecup.com
chouchen has joined #ruby
<volty> haskell too almost without parens, but you get lost in his operators, recursive structures etc etc
<havenwood> Rails rumble on the horizon: http://railsrumble.com/
zenojis has joined #ruby
nfk has joined #ruby
<omosoj> whoa rails rumble looks cool
<havenwood> volty: Dunno, seems I'm seeing a ton of results in Clojure and Elixir despite the dreaded functional. :P
benzrf|offline is now known as benzrf
<havenwood> volty: New York times did a neat thingy in Haskell, does that count? :P
<volty> ah, despite functional, you mean ? i am not talking about functional elements & patterns & paradigms, i am only against only functional & pure (like haskell)
<volty> havenwood: does not account, what accounts are the libs —- go and try yourself
<havenwood> volty: functional until you need the little machines
<havenwood> volty: account?
jottr_ has joined #ruby
weemsledeux has joined #ruby
<volty> coutn
<volty> count
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
<volty> worth
<havenwood> volty: Clojure has nice libraries and can use Java, Scala or even Ruby libs.
<havenwood> volty: Elixir is admittedly young but stuff like Phoenix looks promising.
<volty> i was not talking about Clojure
<havenwood> and Erlang, so..
<havenwood> many libs
<havenwood> volty: hybrid ftw?
<volty> i was talking about haskell & lispers pretending that there wouldn't be a ruby without them :)
<havenwood> ahh
<havenwood> volty: would there without LISP?
<waxjar> matz has said that ruby sorta kinda is a lisp i believe
deject3d_laptop has joined #ruby
jimmyy has quit [Ping timeout: 272 seconds]
<benzrf> >LISP
<benzrf> >not Lisp
tanath has joined #ruby
<benzrf> waxjar: it's a lisp only in that everything is expressions
<benzrf> by that metric haskell is a lisp too
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
<havenwood> benzrf: here *almost* everything is an expression
<waxjar> hmm
<volty> the world would go with functional (elements) even if there weren't pure functional langs --- that is what I think, whether right or wrong
<benzrf> havenwood: what isnt one
<benzrf> havenwood: im pretty sure literally any valid program is an expression. in ruby
<epitron> everything is a value!
jottr_ has quit [Ping timeout: 255 seconds]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<epitron> everything is an object!
<epitron> the language of the future
<volty> everything is a function, there, but many of them say that f = 3 assigns the value of 3 to f, the confusion reigns
sepp2k has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby
<benzrf> volty: actually many things there are not functions
<havenwood> benzrf: program sure, i was just thinking statements
<benzrf> volty: over there there are values & there are functions
d0ugb has joined #ruby
<benzrf> altho functions are values!
<benzrf> havenwood: statements?
<epitron> everything is a statement!
<havenwood> benzrf: retry
<benzrf> >> 3 = retry
<eval-in_> benzrf => /tmp/execpad-33590842a7d6/source-33590842a7d6:2: syntax error, unexpected '=', expecting keyword_end ... (https://eval.in/204769)
<benzrf> huh.
<benzrf> news to me o_O
<benzrf> er
<benzrf> >> foo = retry
<eval-in_> benzrf => /tmp/execpad-1c93ca9f0052/source-1c93ca9f0052:2: void value expression (https://eval.in/204770)
<volty> benzrf: i said «assign»!
<havenwood> everything is an object/expression/statement/thingy/ish
<benzrf> u wut
jimbach has joined #ruby
<waxjar> retry is used in a rescue block
<benzrf> well nobody ever even uses retry >:{
<benzrf> everything ELSE is
<benzrf> >> foo = return
<eval-in_> benzrf => /tmp/execpad-999fcd70c5c5/source-999fcd70c5c5:2: void value expression (https://eval.in/204771)
<benzrf> ooooooooor not...
<benzrf> x_x
<epitron> thingy oriented programming
<benzrf> >> x = next
<eval-in_> benzrf => /tmp/execpad-9c69bf64dd6f/source-9c69bf64dd6f:2: void value expression (https://eval.in/204772)
<benzrf> meh
<epitron> TOP
<havenwood> >> x = x = x
<eval-in_> havenwood => nil (https://eval.in/204773)
<epitron> hahah
<volty> this is nice
<volty> >> x = (x == x)
<eval-in_> volty => true (https://eval.in/204776)
<epitron> that's a good way of getting a nil in an obfuscated programming contest
wethu has quit [Quit: This computer has gone to sleep]
d0ugb has quit [Remote host closed the connection]
<havenwood> >> ObjectSpace._id2ref x = x.object_id * 2
<eval-in_> havenwood => 0x000008 is not symbol id value (RangeError) ... (https://eval.in/204777)
<havenwood> >> RUBY_VERSION
<eval-in_> havenwood => "2.1.3" (https://eval.in/204778)
<benzrf> in haskell "x = x" is a valid definition but x will be bottom
jasooon has joined #ruby
<havenwood> >> x = x.object_id; x ** x
<eval-in_> havenwood => 256 (https://eval.in/204779)
<epitron> everything is a bottom!
<volty> in haskell you can't even define difereent data (structs) with same field names
<benzrf> >> Math.sqrt 256
<eval-in_> benzrf => 16.0 (https://eval.in/204780)
<benzrf> o h
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
jimmyhoughjr has joined #ruby
<havenwood> >> 16.abs2
<eval-in_> havenwood => 256 (https://eval.in/204781)
<benzrf> volty: lmao yes u can
<benzrf> just not in the same scope
<volty> yes, i have to write as many modules as there are same field names
jimbach has quit [Ping timeout: 260 seconds]
djbkd has quit [Quit: My people need me...]
<volty> no sense
<epitron> >> 100.times { x = x.object_id }; x
<eval-in_> epitron => undefined local variable or method `x' for main:Object (NameError) ... (https://eval.in/204783)
<epitron> >> x = x; 100.times { x = x.object_id }; x
<eval-in_> epitron => 554206760 (https://eval.in/204784)
c107 has joined #ruby
hatzopoulos has joined #ruby
<epitron> i'm sensing a turing completeness here
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> >> x = ->(x){ x.object_id }; x = x; x[x]
<eval-in_> havenwood => 543049590 (https://eval.in/204785)
<epitron> hahah
<havenwood> find waldo
GriffinHeart has joined #ruby
jasooon has quit [Ping timeout: 258 seconds]
<havenwood> >> x = ->(x){ x.object_id }; x = x; x[x[x]]
<eval-in_> havenwood => 1110707881 (https://eval.in/204786)
jaffachief has quit [Quit: ZNC - http://znc.in]
deject3d_laptop has quit [Quit: Computer has gone to sleep.]
<havenwood> my mind is still blown by the length of this line: https://github.com/mruby/mruby/blob/master/benchmark/bm_app_lc_fizzbuzz.rb#L11
<havenwood> Matz knowns how to write him some lambda calculus.
<havenwood> epic fizz buzz
<epitron> p { -> x { p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p..
Wolland has quit [Remote host closed the connection]
coderdad has joined #ruby
St_Marx has quit [Remote host closed the connection]
AlSquire has quit [Quit: This computer has gone to sleep]
St_Marx has joined #ruby
jaffachief has joined #ruby
nonks has quit [Ping timeout: 255 seconds]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
michaelchum_ has joined #ruby
<benzrf> ebin
apophis has joined #ruby
<apophis> Is it possible to create a DDoS script in Ruby on Rails?
<apophis> it for testing my web server bandwidth
<apophis> not malicous activity
<havenwood> apophis: So... you have a Rails app?
Lewix has joined #ruby
<havenwood> apophis: Or you're asking if you can use Ruby and just said Rails?
<crome> apophis: it is entirely possible. you can also use one of the million available stree
<crome> stress test tools
tokik has joined #ruby
<apophis> ik i just wanted to use a ruby on rails script
<apophis> haven r u asking if o have rails installed
lemur has quit [Remote host closed the connection]
jamto11 has joined #ruby
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lemur has joined #ruby
chouchen has quit [Quit: Bye]
<havenwood> apophis: use siege or ab
chouchen has joined #ruby
x77686d has quit [Quit: x77686d]
<havenwood> apophis: sure you can use a Ruby script, i don't see how Rails is involved
<apophis> so essentially
<apophis> Ruby on rails is just Ruby .-. ???
penzrgb has joined #ruby
penzrgb has quit [Client Quit]
<havenwood> apophis: Ruby ships with a Ruby package manager called RubyGems which provides the `gem` command. Some gems ship with Ruby. One gem is called Rack. One Rack adapter is called Rails.
<havenwood> apophis: Rails is a gem.
<havenwood> apophis: Bundler is a gem.
robustus has quit [Read error: Connection reset by peer]
<havenwood> apophis: In this case, your Gemfile (bundler) is specifying a Ruby version with a TINY version smaller than yours.
jimbach has joined #ruby
x77686d has joined #ruby
<havenwood> apophis: http://bundler.io/gemfile.html
jamto11 has quit [Ping timeout: 246 seconds]
lemur has quit [Ping timeout: 260 seconds]
<havenwood> err, sorry cross channel confusion
<havenwood> you're not the bundler issue :O
<havenwood> apophis: Anyways. Ruby on Rails != Ruby.
dx7 has joined #ruby
<havenwood> apophis: Rails is one of many Rack adapters. Rack is the favorite option for serving up HTTP apps.
<apophis> so ruby on rails has web dev specific commands than ruby itself?
<havenwood> apophis: Rails monkey-patches Ruby core classes to add functionality.
Photism has quit [Quit: Leaving]
<havenwood> apophis: You'd use Rails to serve up HTTP responses.
<havenwood> apophis: Or another Rack adapter, like Sinatra or a plethora of others.
x77686d has quit [Client Quit]
<apophis> any Rack adapter in ruby that does front-end designing?
ptrrr has quit [Quit: ptrrr]
<havenwood> apophis: To make HTTP requests you'd use an HTTP client.
goodenough has quit [Remote host closed the connection]
<havenwood> apophis: The stdlib has Net::HTTP or OpenURI
<havenwood> apophis: there are a variety of high quality gems
<havenwood> apophis: I like HTTP, HTTPClient and Mechanize.
<havenwood> apophis: Faraday and Typhoeus have good use cases.
robustus has joined #ruby
<apophis> so there arent any front-end web designing rack adapters in ruby?
zorak8 has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
<havenwood> front end would imply Javascript
starless has joined #ruby
<havenwood> or something that compiles to
d0ugb has joined #ruby
d0ugb has quit [Remote host closed the connection]
<havenwood> apophis: maybe checkout a relatively new project called Volt: https://github.com/voltrb/volt#readme
<havenwood> apophis: Rails uses CoffeeScript but I'd imagine if Opal was around at the time it would have used that.
dx7 has quit [Ping timeout: 272 seconds]
<havenwood> apophis: Though I'm not entirely sure if what i mean by front end is what you mean.
<havenwood> apophis: If you mean an HTTP client, then no.
AtumT has quit [Remote host closed the connection]
<havenwood> apophis: client/server
<apophis> I mean something like
<havenwood> apophis: you want which?
<apophis> CSS
<havenwood> oh
<havenwood> assets?
mary5030 has joined #ruby
<apophis> I guess
<havenwood> apophis: Any of the Rack adapters will have a convention for where to put assets. Some have asset pipelines.
<havenwood> apophis: Is this anything to do with load testing at all?
<havenwood> apophis: I'm super confused.
chipotle has quit [Read error: Connection reset by peer]
<apophis> I kind of meant like if there was a ruby rack adapter for web designing, like another language for designing from Ruby
<apophis> no im not talking about load testing anymore
hamakn has joined #ruby
justinmburrous has joined #ruby
<havenwood> apophis: There are a variety of Rack adapter options like Rails, Lotus, Sinatra, Padrino, NYNY, Hobbit, Roda, Cuba, Ramaze, Camping, Scorched, or of course a pure Rack app.
tomeara_ has joined #ruby
<havenwood> apophis: There are also non-Rack options.
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apophis> okay so ruby on rails is for web developing
krisquigley has joined #ruby
<apophis> are there any Ruby gems or extentions for web designing?
chipotle has joined #ruby
<havenwood> apophis: a plethora
<havenwood> thousands
<volty> zillions :)
<havenwood> apophis: millions of folk-hours have gone into gems
<havenwood> apophis: http://rubygems.org/
<havenwood> 3,784,595,349 downloads
krisquigley has quit [Read error: Connection reset by peer]
<apophis> can you name me 3 ruby gems for web designing?
krisquigley has joined #ruby
<apophis> essentially another web designing languages from ruby?
<havenwood> apophis: Jekyll, Middleman, ERB
<havenwood> err, erb isn't a gem
<havenwood> apophis: Ruby is the only Ruby language.
<havenwood> apophis: There are DSLs (Domain Specific Languages) written in Ruby.
<havenwood> apophis: It's particularly good at that.
tomeara_ has quit [Ping timeout: 272 seconds]
krisquig_ has joined #ruby
jimmyhoughjr has joined #ruby
<havenwood> apophis: Maybe try making a Jekyll and Sinatra app.
<havenwood> apophis: http://jekyllrb.com/
chrishough has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
d0ugb has joined #ruby
<havenwood> apophis: http://www.sinatrarb.com/
zcreative has quit [Quit: Lingo - http://www.lingoirc.com]
<havenwood> apophis: That'd be a good start.
BadQuanta has joined #ruby
d0ugb has quit [Remote host closed the connection]
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apophis> hmm
krisquigley has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
<havenwood> 3,784,607,651 downloads
<havenwood> apophis: over ten thousand gems downloaded since i last mentioned
<apophis> So what does Sinatra have to do with Web Designing???
krisquig_ has joined #ruby
larissa has quit [Quit: Leaving]
krisquigley has quit [Read error: Connection reset by peer]
<havenwood> apophis: Designing is a broad term. If you mean markup, it provides adapters.
<havenwood> apophis: With little effort you can make a Sinatra app and host your design.
<apophis> elaborate please, sorry im new to ruby gems
<havenwood> apophis: Follow the Sinatra tutorial, you'll get it.
<havenwood> apophis: Same with Jekyll.
<havenwood> apophis: They have great documentation.
<havenwood> apophis: There are many lesser used options, these have a lot of literature.
<apophis> thanks
<apophis> oh and can you critique something of mine?
krisquigley has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
coderdad has quit [Remote host closed the connection]
<havenwood> apophis: If you run into sinatra issues just ask here or in #sinatra.
<havenwood> apophis: sure
<havenwood> apophis: for rails ask in #rubyonrails.
Lewix has quit [Remote host closed the connection]
<apophis> tell me what u think
<apophis> and report any glitches
krisquigley has quit [Read error: Connection reset by peer]
krisquig_ has joined #ruby
sevvie has quit [Ping timeout: 260 seconds]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
starless has quit [Quit: Leaving]
krisquig_ has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
<havenwood> apophis: the body text seems overly bold
patrick99e99 has joined #ruby
<havenwood> apophis: the text in the little colored tags isn't centered
<havenwood> apophis: i don't like italic serif for the date, maybe italic sans-serif?
nonks has joined #ruby
<havenwood> apophis: the accordian collapsing is cool, but difficult to control with the hover over, consider requiring a click
bmurt has joined #ruby
d0ugb has joined #ruby
<apophis> okay thanks
jimmyhoughjr has joined #ruby
jimmyhoughjr has quit [Client Quit]
<havenwood> apophis: you need bigger margins, right/left in particular
krisquigley has quit [Read error: Connection reset by peer]
<apophis> the clicking has something to do with checkboxes and assinging it to a class which is really complicated
<havenwood> apophis: cool ruby icon :)
krisquigley has joined #ruby
<apophis> lol thanks
<apophis> its hoverable
lw has joined #ruby
<havenwood> apophis: i think reduce the delay on its going away a bit
<havenwood> apophis: neat effect
<apophis> yeah but i put that so ppl have to time click the link
<havenwood> apophis: while they're hovering
<apophis> even though when u hover it continuously it stops
<havenwood> eww
<havenwood> that'd be a nice thing to fix
jonjoe has joined #ruby
<jonjoe> hey guys!
msmith_ has joined #ruby
<havenwood> hi
<jonjoe> this the right channel for rails?
krisquigley has quit [Read error: Connection reset by peer]
d0ugb has quit [Remote host closed the connection]
justinmburrous has quit [Remote host closed the connection]
<havenwood> jonjoe: #rubyonrails
krisquigley has joined #ruby
<jonjoe> tried that and it was refusing connection
jcdesimp has joined #ruby
<havenwood> jonjoe: nick reg req
patrick99e99 has quit [Ping timeout: 250 seconds]
<jonjoe> ahh ok cool, IRC n00b here: how does one reg?
bmurt has quit [Client Quit]
<havenwood> jonjoe: /msg NickServ IDENTIFY foo password
<jonjoe> ta!
jontmorehouse has quit [Ping timeout: 260 seconds]
<apophis> oh and haven
nonks has quit [Ping timeout: 246 seconds]
<apophis> im a 15 year old btw, started web designing a month ago :)
User458764 has joined #ruby
jamto11 has joined #ruby
krisquig_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
deject3d_laptop has joined #ruby
deject3d_laptop has quit [Client Quit]
goodenough has joined #ruby
krisquigley has joined #ruby
<apophis> wait haven
<volty> that's why I am writing my VoltyFox that enforces human css by means of a keystroke
<apophis> whats eww about my design?
krisquig_ has quit [Read error: Connection reset by peer]
jasooon has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
<havenwood> apophis: Not eww about your design, just the hover over timing for a nice effect.
volty has left #ruby ["Konversation terminated!"]
<havenwood> apophis: It's a rabbit hole, lots to cover! But Ruby gives you nice ways to serve up web stuff.
krisquigley has quit [Read error: Connection reset by peer]
<apophis> whats eww about my design?really?
krisquigley has joined #ruby
<apophis> scratch that
<apophis> sinatra can really helpme?
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
krisquigley has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
bmurt has joined #ruby
pibby has quit [Ping timeout: 258 seconds]
mary5030 has quit [Remote host closed the connection]
freerobby has joined #ruby
anaeem1 has joined #ruby
pibby has joined #ruby
<havenwood> apophis: It wont help your design. But it's a quite popular way to build minimalist web apps and APIs.
<havenwood> apophis: It'd be a way for you to host your own designs.
krisquig_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
sepp2k has quit [Read error: Connection reset by peer]
<havenwood> apophis: On Heroku, Ninecloud and Engine Yard and the like quite trivially.
<pontiki> are we talking about visual design here?
<havenwood> seems CSS/HTML
<pontiki> sure
<pontiki> i'd propse jekyll and middleman
<havenwood> pontiki: that's what i proposed!
<pontiki> yay!!
<havenwood> \o/
<pontiki> i had just seen sinatra
<pontiki> didn't scroll back far enough
goshdarnyou has quit [Quit: Connection closed for inactivity]
<havenwood> I said Jekyll, Middleman, ERB initially, though ERB ain't no gem.
<pontiki> heh
krisquigley has joined #ruby
<apophis> what do you mean host web apps?
krisquig_ has quit [Read error: Connection reset by peer]
<pontiki> all yours, havenwood
anaeem1 has quit [Ping timeout: 250 seconds]
<havenwood> pontiki: :P
bmurt has quit []
krisquigley has quit [Read error: Connection reset by peer]
<havenwood> apophis: When an HTTP request comes in, respond to it.
krisquigley has joined #ruby
freerobby has quit [Quit: Leaving.]
fabrice31 has joined #ruby
freerobby has joined #ruby
hamakn has quit [Remote host closed the connection]
Photism has joined #ruby
wsmoak_ has joined #ruby
hamakn has joined #ruby
onkelhotte_ has joined #ruby
krisquig_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
penzrgb has joined #ruby
Tony` has joined #ruby
chouchen has quit [Quit: Bye]
hatzopoulos_ has joined #ruby
chouchen has joined #ruby
apophis has quit [Quit: Page closed]
krisquig_ has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
wsmoak has quit [Ping timeout: 260 seconds]
wsmoak_ is now known as wsmoak
onkelhotte has quit [Ping timeout: 250 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
hamakn has quit [Ping timeout: 250 seconds]
hatzopoulos has quit [Ping timeout: 245 seconds]
krisquigley has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
Tony` has quit [Remote host closed the connection]
abuzze_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
mary5030 has joined #ruby
MeMoCooL has joined #ruby
Photism has quit [Quit: Leaving]
skolman has quit [Remote host closed the connection]
krisquig_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
skolman_ has joined #ruby
abuzze has quit [Ping timeout: 272 seconds]
monkeypatch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krisquigley has joined #ruby
Vile` has quit [Quit: .]
krisquig_ has quit [Read error: Connection reset by peer]
krisquigley has quit [Read error: Connection reset by peer]
krisquig_ has joined #ruby
skolman_ has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
CharlieSu has quit [Ping timeout: 250 seconds]
krisquig_ has quit [Read error: Connection reset by peer]
msmith_ has quit [Remote host closed the connection]
krisquigley has joined #ruby
deject3d_laptop has joined #ruby
deject3d_laptop has quit [Client Quit]
Vile` has joined #ruby
tomeara_ has joined #ruby
tyll_ has joined #ruby
lw has quit [Quit: s]
krisquigley has quit [Read error: Connection reset by peer]
krisquig_ has joined #ruby
d0ugb has joined #ruby
Notte has joined #ruby
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
d0ugb has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
MeatAnt has joined #ruby
krisquigley has joined #ruby
jamto11 has quit [Remote host closed the connection]
tyll has quit [Ping timeout: 255 seconds]
penzrgb has quit [Quit: This computer has gone to sleep]
krisquig_ has quit [Read error: Connection reset by peer]
tomeara_ has quit [Ping timeout: 244 seconds]
krisquig_ has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
krisquigley has quit [Read error: Connection reset by peer]
otakbeku has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
Hobogrammer_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
krisquig_ has joined #ruby
autonomousdev has joined #ruby
monkeypatch has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
koderok has joined #ruby
wsmoak has quit [Quit: wsmoak]
krisquigley has joined #ruby
Hobogrammer has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
x77686d has joined #ruby
boombadaroomba has joined #ruby
monkeypatch has quit [Client Quit]
bmurt has quit [Read error: Connection reset by peer]
penzrgb has joined #ruby
krisquig_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
monkeypatch has joined #ruby
krisquigley has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
jamto11 has joined #ruby
omosoj has quit [Quit: leaving]
boombadaroomba has quit [Ping timeout: 244 seconds]
Takle has joined #ruby
mikepack has joined #ruby
AlexRussia has quit [Ping timeout: 272 seconds]
krisquig_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
autonomousdev has joined #ruby
autonomousdev has quit [Client Quit]
AlexRussia has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
autonomousdev has joined #ruby
autonomousdev has quit [Client Quit]
krisquigley has joined #ruby
coderdad has joined #ruby
Takle has quit [Ping timeout: 250 seconds]
krisquig_ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
krisquigley has quit [Read error: Connection reset by peer]
ezreal has joined #ruby
iamjarvo has joined #ruby
ezreal has left #ruby [#ruby]
jasooon has joined #ruby
coderdad has quit [Ping timeout: 255 seconds]
krisquigley has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
wald0 has quit [Quit: Lost terminal]
dx7 has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
mpistone has quit [Remote host closed the connection]
Apocalypse has quit [Read error: Connection reset by peer]
krisquigley has quit [Read error: Connection reset by peer]
krisquig_ has joined #ruby
jasooon has quit [Ping timeout: 250 seconds]
jhass is now known as jhass|off
lnormous has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
cubicme has joined #ruby
freerobby has joined #ruby
GriffinHeart has joined #ruby
krisquig_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
jimbach has quit [Remote host closed the connection]
cirn0 has joined #ruby
jimbach has joined #ruby
krisquigley has joined #ruby
Cache_Money has joined #ruby
Apocalypse has joined #ruby
Cache_Money has quit [Client Quit]
krisquig_ has quit [Read error: Connection reset by peer]
chouchen has quit [Quit: Bye]
chouchen has joined #ruby
mpistone has joined #ruby
bmurt has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
GriffinHeart has quit [Ping timeout: 260 seconds]
Notte has quit []
jimbach has quit [Ping timeout: 260 seconds]
krisquigley has quit [Read error: Connection reset by peer]
krisquig_ has joined #ruby
jonjoe has quit [Quit: Leaving...]
stormbytes has joined #ruby
monkeypatch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ninegrid has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
krisquig_ has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
zartoosh has quit [Remote host closed the connection]
yfeldblum has joined #ruby
monkeypatch has joined #ruby
monkeypatch has quit [Max SendQ exceeded]
Lewix has joined #ruby
soulcake has quit [Quit: Quack.]
krisquigley has quit [Read error: Connection reset by peer]
krisquig_ has joined #ruby
soulcake has joined #ruby
stormbytes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
krisquig_ has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
zartoosh has joined #ruby
hypercube32 has quit [Read error: Connection reset by peer]
bmurt has quit []
hamakn has joined #ruby
Cache_Money has joined #ruby
hypercube32 has joined #ruby
echevemaster has quit [Quit: Leaving]
krisquig_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
wng_0 is now known as wng_z3r0
zartoosh has quit [Remote host closed the connection]
rostam has joined #ruby
krisquigley has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
axilla has quit [Ping timeout: 245 seconds]
hamakn has quit [Ping timeout: 255 seconds]
radic has quit [Disconnected by services]
radic_ has joined #ruby
justinmburrous has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
krisquig_ has joined #ruby
zartoosh has joined #ruby
rostam has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rshetty has joined #ruby
MeMoCooL has quit []
krisquigley has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
tomeara_ has joined #ruby
<shevy> hmmm
<shevy> why is ruby not more dominating world wide
<benzrf> cuz it s bad
<shevy> that is no explanation
<shevy> I mean, look at php benzrf
krisquig_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
lukevinc has joined #ruby
braincrash has quit [Quit: bye bye]
tomeara_ has quit [Ping timeout: 245 seconds]
<havenwood> shevy: tiobe is bizarre
krisquigley has joined #ruby
<shevy> hehe
<n88> shevy: just use javascript like everyone else
dh64 has joined #ruby
<shevy> n88 :(
krisquig_ has quit [Read error: Connection reset by peer]
krisquigley has quit [Read error: Connection reset by peer]
<havenwood> shevy: they'd have a better index if they read chicken bones
krisquigley has joined #ruby
mois3x has joined #ruby
benzrf is now known as benzrf|offline
msmith_ has joined #ruby
<shevy> hey
braincrash has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
<shevy> they used chicken bones in the ancient past
krisquig_ has joined #ruby
<shevy> what could possibly go wrong with that
tylersmith has joined #ruby
<havenwood> shevy: that at least would be less likely to declare Transact-SQL the winner by default.
<havenwood> clearly the up-and-coming lang...
lw has joined #ruby
jonjoe has joined #ruby
echevemaster has joined #ruby
krisquigley has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
mpistone has quit [Remote host closed the connection]
mmochan_ has joined #ruby
freerobby has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
msmith_ has quit [Ping timeout: 255 seconds]
krisquig_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
tejas-manohar has joined #ruby
<tejas-manohar> https://bpaste.net/show/d0806f61dc94 -- line 21 `puts result` returns http://pastebin.com/jQL0rHmt how do i sift thru the values of that object in rb?
havenwood has quit []
lw has quit [Client Quit]
<n88> tejas-manohar: require 'pry'
tylersmith has quit [Remote host closed the connection]
jimbach has joined #ruby
<n88> and stick binding.pry in there
tylersmith has joined #ruby
hellangel7 has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
lw has joined #ruby
krisquigley has joined #ruby
patrick99e99 has joined #ruby
mengu has quit [Ping timeout: 272 seconds]
top4o has quit [Quit: ChatZilla 0.9.91 [Firefox 32.0.3/20140923175406]]
krisquigley has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
justinmburrous has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 272 seconds]
krisquigley has quit [Read error: Connection reset by peer]
lw has quit [Client Quit]
krisquigley has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
penzrgb has quit [Quit: This computer has gone to sleep]
krisquig_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
lukevinc has quit [Quit: ChatZilla 0.9.91 [Firefox 24.8.0/20000101000000]]
jontmorehouse has joined #ruby
krisquigley has joined #ruby
blu3dr0p has joined #ruby
<Fire-Dragon-DoL> mhhh guys, are there any way to use CSV.foreach with STREAM (StringIO or an already opened file stream) ?
krisquig_ has quit [Read error: Connection reset by peer]
jasooon has joined #ruby
nonks has joined #ruby
krisquig_ has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
krisquig_ has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
mpistone has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Ping timeout: 245 seconds]
krisquigley has quit [Ping timeout: 245 seconds]
chouchen has quit [Quit: Bye]
chouchen has joined #ruby
cads has joined #ruby
justinmburrous has joined #ruby
justinmburrous has quit [Remote host closed the connection]
<cads> hey guys, a friend is using watir to automate a task flow on ok-cupid
justinmburrous has joined #ruby
tejas-manohar has quit [Quit: Page closed]
<cads> but he says that the script uses a lot of resources
arescorpio has quit [Excess Flood]
mpistone has quit []
rshetty has quit [Remote host closed the connection]
<cads> ie, it runs a whole browser
<cads> wondering if there is a simpler way to automate that
kobain has quit [Read error: Connection timed out]
kobain has joined #ruby
havenwood has joined #ruby
lw has joined #ruby
omosoj has joined #ruby
otakbeku has quit [Quit: leaving]
lw has quit [Ping timeout: 245 seconds]
mary5030 has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
wng_z3r0 has left #ruby ["Leaving"]
Sawbones has joined #ruby
jontmorehouse has quit [Ping timeout: 272 seconds]
jonjoe has quit [Quit: Leaving...]
jimbach has quit [Remote host closed the connection]
lw has joined #ruby
jimbach has joined #ruby
lw_ has joined #ruby
lw has quit [Read error: Connection reset by peer]
<Fire-Dragon-DoL> good night everyone
tomeara_ has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
jimbach has quit [Ping timeout: 272 seconds]
lw_ has quit [Client Quit]
tomeara_ has quit [Ping timeout: 245 seconds]
monkeypatch has joined #ruby
jack_rabbit has joined #ruby
goshdarnyou has joined #ruby
maestrojed has joined #ruby
maestrojed has quit [Client Quit]
penzrgb has joined #ruby
mpistone has joined #ruby
lw has joined #ruby
omosoj has quit [Quit: leaving]
tokik has quit [Ping timeout: 260 seconds]
koderok has quit [Quit: koderok]
renderfu_ has quit [Remote host closed the connection]
<Lewix> hi
Haiiro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has joined #ruby
jasooon has joined #ruby
x77686d has joined #ruby
cocotton_ has joined #ruby
cocotton_ has quit [Read error: Connection reset by peer]
cocotton_ has joined #ruby
cocotton_ has quit [Remote host closed the connection]
arup_r has joined #ruby
chipotle_ has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
lw has quit [Quit: s]
jasooon has quit [Ping timeout: 272 seconds]
pasties has quit [Ping timeout: 265 seconds]
jontmorehouse has joined #ruby
chipotle has quit [Ping timeout: 255 seconds]
chouchen has quit [Quit: Bye]
chouchen has joined #ruby
chouchen has quit [Max SendQ exceeded]
monkeypatch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> what do you guys use for commandline options?
vinleod has joined #ruby
freerobby has quit [Quit: Leaving.]
tlarevo has joined #ruby
jobewan has joined #ruby
dreamfighter has joined #ruby
tlarevo has quit [Ping timeout: 258 seconds]
tlarevo has joined #ruby
threesixes has joined #ruby
foooobear_ has quit [Read error: Connection reset by peer]
foooobear_ has joined #ruby
<eam> shevy: -f usually
<shevy> lol
<shevy> sorry man
<eam> actually -x is my favorite ruby option
<shevy> I actually meant, what or how do you guys parse commandline options? I always seem to get into conflict when I wish to parse ARGV options without --, and when I also want to use optionparser, at the same time
<eam> gnu getopt
<shevy> in ruby?
jamto11 has quit [Remote host closed the connection]
<eam> oh uh
<shevy> well there is getoptlang
<shevy> I never used it actually
narcan has joined #ruby
<eam> I'm really unhappy with all the ruby option parsers
blu3dr0p has quit [Ping timeout: 246 seconds]
Cache_Money has quit [Read error: Connection reset by peer]
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
Blizzy has joined #ruby
Cache_Money has joined #ruby
<shevy> yeah
<shevy> I think ruby is too complex
<Blizzy> Hello. When I try to install faye-websocket or eventmachine, I get the message 'Temporarily enhancing PATH to include DevKit...' then the gem fails to install. I have DevKit installed.
<shevy> people tend to explore a multitude of different options but don't really retain simplicity or elegance
tanath has quit [Ping timeout: 264 seconds]
jamto11 has joined #ruby
tomeara_ has joined #ruby
penzrgb has quit [Quit: This computer has gone to sleep]
Channel6 has quit [Quit: Leaving]
rshetty has joined #ruby
echevemaster has quit [Quit: Leaving]
tomeara_ has quit [Ping timeout: 240 seconds]
zartoosh has quit [Remote host closed the connection]
jontmorehouse has quit [Ping timeout: 260 seconds]
penzrgb has joined #ruby
zartoosh has joined #ruby
tanath has joined #ruby
anaeem1_ has joined #ruby
goodenough has quit [Remote host closed the connection]
rostam has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
zartoosh has quit [Remote host closed the connection]
jobewan has quit [Quit: Leaving]
narcan has joined #ruby
fabrice31 has joined #ruby
patrick99e99 has joined #ruby
jxf has quit [Ping timeout: 255 seconds]
zartoosh has joined #ruby
rostam has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
krisquigley has joined #ruby
zartoosh__ has joined #ruby
zartoosh has quit [Remote host closed the connection]
IceDragon has quit [Quit: Space~~~]
patrick99e99 has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Ping timeout: 260 seconds]
GriffinHeart has quit [Ping timeout: 255 seconds]
krisquigley has quit [Ping timeout: 245 seconds]
rshetty has quit [Remote host closed the connection]
kotk has joined #ruby
rshetty has joined #ruby
Lewix has quit [Remote host closed the connection]
jasooon has joined #ruby
kotk_ has quit [Ping timeout: 260 seconds]
coderdad has joined #ruby
Sawbones has quit [Remote host closed the connection]
coderdad has quit [Remote host closed the connection]
coderdad has joined #ruby
Sawbones has joined #ruby
odinswand has joined #ruby
rshetty has quit [Ping timeout: 260 seconds]
jamto11 has quit [Remote host closed the connection]
kotk has quit [Client Quit]
jobewan has joined #ruby
jasooon has quit [Ping timeout: 260 seconds]
jobewan has quit [Remote host closed the connection]
VanillaGoat has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
mary5030 has joined #ruby
<odinswand> gents, is rspec a good choice for simple test driven development?
renderfu_ has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
Channel6 has joined #ruby
narcan has joined #ruby
<VanillaGoat> Does anyone know if there's a way in Ruby to write the ctime of a file?
dope has joined #ruby
goodenough has joined #ruby
<VanillaGoat> I can retrieve the ctime, and write the atime and mtime, but it doesn't look like I can actually change the ctime.
<Blizzy> Hello. When I try to install faye-websocket or eventmachine, I get the message 'Temporarily enhancing PATH to include DevKit...' then the gem fails to install. I have DevKit installed.
chouchen has joined #ruby
renderfu_ has quit [Ping timeout: 250 seconds]
<odinswand> so yeah, if anyone knows a simple Test Driven Development approach that would be very useful
coderdad has quit [Remote host closed the connection]
<odinswand> most of the guides ive seen seem to be for rails only
<dope> what's the current best up to date book on ruby?
zorak8 has quit [Read error: Connection reset by peer]
Sharker has quit [Remote host closed the connection]
Sharker has joined #ruby
joe2000 has joined #ruby
joe2000 has quit [Client Quit]
<shevy> VanillaGoat interesting; perhaps they forgot to add that to File?
<shevy> how do you write atime and mtime?
<VanillaGoat> The File.utime method lets you write those two, but not the ctime
<shevy> ah
<shevy> tsp[0] = rb_time_timespec(args.atime);
<shevy> tsp[1] = rb_time_timespec(args.mtime)
<havenwood> odinswand: rpsec is indeed popular particularly in rails
<shevy> yeah you are right VanillaGoat, only atime and mtime is checked there
<havenwood> odinswand: Minitest and Test::Unit ship with Ruby and are worth a look.
rshetty has joined #ruby
<odinswand> havenwood: thanks havenwood. im doing some reasonably simple testing so perhaps one of those two will be better
<havenwood> odinswand: for super minimalist testing a new one i like is Oktobertest
<havenwood> odinswand: Minitest is pretty straightforward and has some nice plugins
Sawbones has quit [Remote host closed the connection]
<odinswand> havenwood: will look into them. appreciate it
penzrgb has quit [Quit: This computer has gone to sleep]
<havenwood> odinswand: no prob
jontmorehouse has joined #ruby
penzrgb has joined #ruby
penzrgb has quit [Client Quit]
jontmorehouse has quit [Ping timeout: 272 seconds]
starkhalo has quit [Ping timeout: 255 seconds]
tomeara_ has joined #ruby
txdv has quit [Ping timeout: 245 seconds]
justinmburrous has quit [Remote host closed the connection]
txdv has joined #ruby
justinmb_ has joined #ruby
tomeara_ has quit [Ping timeout: 246 seconds]
ozzloy has quit [Remote host closed the connection]
dx7 has quit [Remote host closed the connection]
robertkelly has joined #ruby
dx7 has joined #ruby
blenny has quit [Ping timeout: 260 seconds]
lnormous has quit [Ping timeout: 240 seconds]
justinmb_ has quit [Remote host closed the connection]
zartoosh__ has quit [Remote host closed the connection]
maestrojed has joined #ruby
rostam has joined #ruby
blenny has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
dx7 has quit [Ping timeout: 245 seconds]
zartoosh has joined #ruby
rostam has quit [Remote host closed the connection]
iamjarvo has joined #ruby
boombadaroomba has joined #ruby
Wolland has joined #ruby
Wolland_ has joined #ruby
x77686d has quit [Quit: x77686d]
boombadaroomba has quit [Ping timeout: 258 seconds]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
emocakes has joined #ruby
Wolland has quit [Ping timeout: 260 seconds]
lw has joined #ruby
mary5030 has quit [Remote host closed the connection]
ndrei has joined #ruby
alem0lars has joined #ruby
jasooon has joined #ruby
jacobat has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
chouchen has quit [Quit: Bye]
chouchen has joined #ruby
txdv has quit [Ping timeout: 245 seconds]
x77686d has joined #ruby
jasooon has quit [Ping timeout: 246 seconds]
nonks_ has joined #ruby
nonks has quit [Ping timeout: 255 seconds]
renderfu_ has joined #ruby
levisbakalinsky has joined #ruby
<arup_r> Can anyone tell me why my Gemset didn't get copy ? https://gist.github.com/aruprakshit/52609550fcbaa571ece0
x77686d has quit [Quit: x77686d]
x77686d has joined #ruby
stormbytes has joined #ruby
renderfu_ has quit [Ping timeout: 250 seconds]
klaut has joined #ruby
renderfu_ has joined #ruby
coderdad has joined #ruby
zartoosh has quit [Remote host closed the connection]
Sawbones has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nonks has joined #ruby
iamjarvo has joined #ruby
wethu has joined #ruby
nonks_ has quit [Ping timeout: 246 seconds]
Channel6 has quit [Quit: Leaving]
rostam has joined #ruby
renderfu_ has quit [Remote host closed the connection]
goshdarnyou has quit [Quit: Connection closed for inactivity]
ndrei has quit [Ping timeout: 240 seconds]
jack_rabbit has quit [Ping timeout: 272 seconds]
hellangel7 has quit [Remote host closed the connection]
rostam has quit [Remote host closed the connection]
emocakes__ has joined #ruby
zartoosh has joined #ruby
davedev24_ has quit [Remote host closed the connection]
lele has quit [Ping timeout: 260 seconds]
rshetty has quit [Remote host closed the connection]
jontmorehouse has joined #ruby
emocakes has quit [Ping timeout: 272 seconds]
zartoosh__ has joined #ruby
zartoosh has quit [Remote host closed the connection]
t_mmyv has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
penzrgb has joined #ruby
renderfu_ has joined #ruby
Hanmac has quit [Quit: Leaving.]
levisbakalinsky has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jontmorehouse has quit [Ping timeout: 260 seconds]
levisbakalinsky has joined #ruby
coderdad has quit [Ping timeout: 245 seconds]
levisbakalinsky is now known as levisbakalinsky|
levisbakalinsky| is now known as levisbakalinsky
anaeem1_ has joined #ruby
t_mmyv has joined #ruby
skand has joined #ruby
ferr has joined #ruby
<arup_r> arup_r: Can anyone tell me why my Gemset didn't get copy ? https://gist.github.com/aruprakshit/52609550fcbaa571ece0
<arup_r> havenwood: ^^
ht__th has joined #ruby
jontmorehouse has joined #ruby
tomeara_ has joined #ruby
dreamfighter has quit [Ping timeout: 272 seconds]
txdv has joined #ruby
mpistone has quit [Remote host closed the connection]
jcdesimp has quit [Quit: Leaving...]
GriffinHeart has joined #ruby
fabrice31 has joined #ruby
tomeara_ has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
krisquigley has joined #ruby
havenwood has joined #ruby
ctp has joined #ruby
otakbeku has joined #ruby
BadQuanta has quit [Ping timeout: 272 seconds]
GriffinHeart has quit [Ping timeout: 258 seconds]
fabrice31 has quit [Ping timeout: 255 seconds]
GriffinHeart has joined #ruby
mityaz has quit [Ping timeout: 260 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
krisquigley has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
txdv has quit [Ping timeout: 244 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ferr has quit [Ping timeout: 255 seconds]
GriffinHeart has quit [Ping timeout: 272 seconds]
tomeara_ has joined #ruby
otakbeku has quit [Quit: leaving]
zartoosh__ has quit [Remote host closed the connection]
l3kn has quit [Ping timeout: 272 seconds]
tomeara_ has quit [Ping timeout: 260 seconds]
l3kn has joined #ruby
goodenough has quit [Remote host closed the connection]
zartoosh__ has joined #ruby
jontmorehouse has quit [Ping timeout: 260 seconds]
jasooon has joined #ruby
txdv has joined #ruby
chouchen has quit [Quit: Bye]
goodenough has joined #ruby
chouchen has joined #ruby
mois3x has quit [Quit: mois3x]
Sawbones has quit []
sinkensabe has joined #ruby
c107 has quit [Remote host closed the connection]
<pontiki> "Oktobertest" ? really?
<pontiki> fueled by beer and pretzels
jasooon has quit [Ping timeout: 255 seconds]
mary5030 has joined #ruby
ARCADIVS has joined #ruby
wethu has quit [Quit: This computer has gone to sleep]
zartoosh__ has quit [Remote host closed the connection]
rostam has joined #ruby
mikepack has quit [Remote host closed the connection]
tyll_ has quit [Ping timeout: 245 seconds]
zartoosh has joined #ruby
mary5030 has quit [Ping timeout: 260 seconds]
tyll has joined #ruby
rostam has quit [Remote host closed the connection]
jimmyy has joined #ruby
nonks has quit [Ping timeout: 244 seconds]
work_op has quit [Ping timeout: 245 seconds]
lw has quit [Quit: s]
txdv has quit [Ping timeout: 260 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
levisbakalinsky has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coderdad has joined #ruby
Afhbl has joined #ruby
stormbytes has quit [Ping timeout: 260 seconds]
coderdad has quit [Ping timeout: 244 seconds]
lele has joined #ruby
dx7 has joined #ruby
Afhbl has quit [Client Quit]
dx7 has quit [Ping timeout: 240 seconds]
tokik has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
marlonandrade has quit [Ping timeout: 260 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
t_mmyv has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
t_mmyv has joined #ruby
it0a has quit [Ping timeout: 244 seconds]
renderfu_ has quit [Remote host closed the connection]
narcan has joined #ruby
havenwood has joined #ruby
emocakes__ has quit [Ping timeout: 272 seconds]
txdv has joined #ruby
mengu has joined #ruby
emocakes has joined #ruby
ndrei has joined #ruby
GriffinHeart has joined #ruby
nonks has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
txdv has quit [Ping timeout: 246 seconds]
tomeara_ has joined #ruby
bluOxigen has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
nonks has quit [Ping timeout: 250 seconds]
<wasamasa> *fest
<pontiki> wasamasa: havenwood mentioned "Oktobertest" as another test framework
tomeara_ has quit [Ping timeout: 245 seconds]
<wasamasa> yuck
chouchen has quit [Quit: Bye]
chouchen has joined #ruby
jasooon has joined #ruby
Fabio has joined #ruby
Fabio has quit [Client Quit]
Jackneill has joined #ruby
Fabio has joined #ruby
claymore has joined #ruby
Fabio has quit [Client Quit]
ringarin has joined #ruby
Fabio has joined #ruby
Fabio has quit [Max SendQ exceeded]
jasooon has quit [Ping timeout: 260 seconds]
{xenomorph} is now known as xenomorph
Fabio has joined #ruby
txdv has joined #ruby
aquatty has quit [Ping timeout: 250 seconds]
xvq17 has quit [Ping timeout: 272 seconds]
oleo is now known as Guest54355
oleo__ has joined #ruby
klaut has quit [Remote host closed the connection]
MaciejCzyzewski has joined #ruby
Guest54355 has quit [Ping timeout: 246 seconds]
Fabio has quit [Quit: Textual IRC Client: www.textualapp.com]
MaciejCzyzewski has quit [Client Quit]
sinkensabe has quit [Remote host closed the connection]
vinleod has quit [Quit: Computer has gone to sleep.]
sevenseacat has joined #ruby
nisstyre has quit [Quit: WeeChat 1.0.1]
Hanmac has joined #ruby
sinkensa_ has joined #ruby
txdv_ has joined #ruby
jacobat has quit [Ping timeout: 258 seconds]
<Hanmac> success! i did resize my lvm stuff and it did work as i wanted (after an accident)
jhass|off is now known as jhass
txdv has quit [Ping timeout: 245 seconds]
andrewlio has joined #ruby
claymore has quit [Ping timeout: 272 seconds]
goodenough has quit [Remote host closed the connection]
coderdad has joined #ruby
txdv_ has quit [Ping timeout: 244 seconds]
claymore has joined #ruby
teddyp1cker has joined #ruby
fabrice31 has joined #ruby
Trynemjoel has quit [Ping timeout: 265 seconds]
krisquigley has joined #ruby
coderdad has quit [Ping timeout: 246 seconds]
Trynemjoel has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
anaeem1_ has quit [Remote host closed the connection]
mofai has joined #ruby
mofai has quit [Client Quit]
Dr3amc0d3r|away has quit [Changing host]
Dr3amc0d3r|away has joined #ruby
Dr3amc0d3r|away is now known as Dr3amc0d3r
krisquigley has quit [Ping timeout: 272 seconds]
AlexRussia has quit [Ping timeout: 272 seconds]
mofai has joined #ruby
ctp_ has joined #ruby
MasterPiece has joined #ruby
iiinzg has quit [Ping timeout: 255 seconds]
tenseiten is now known as seitensei
seitensei has quit [Changing host]
seitensei has joined #ruby
rshetty has joined #ruby
nonks has joined #ruby
ctp has quit [Ping timeout: 245 seconds]
chouchen has quit [Remote host closed the connection]
carraroj has joined #ruby
BTRE has quit [Ping timeout: 272 seconds]
sinkensa_ has quit [Remote host closed the connection]
schaerli has joined #ruby
hellangel7 has joined #ruby
sinkensabe has joined #ruby
kyb3r_ has quit [Ping timeout: 258 seconds]
GriffinHeart has joined #ruby
AndChat| has quit [Ping timeout: 245 seconds]
txdv has joined #ruby
sinkensabe has quit [Ping timeout: 250 seconds]
GriffinH_ has joined #ruby
anaeem1_ has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
tomeara_ has joined #ruby
rbrs has joined #ruby
AlexRussia has joined #ruby
rshetty has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
Rhainur has joined #ruby
nerdman has joined #ruby
<nerdman> any idea why #rails is not working
txdv has quit [Ping timeout: 245 seconds]
<Rhainur> nerdman: isn't it #rubyonrails?
ctp has joined #ruby
txdv has joined #ruby
<sevenseacat> you're not registered?
<nerdman> i am registered, i will try #rubyonrails
<Rhainur> in my ruby code, I have to perform 6 steps, and then perform some logging. If any of these 6 steps fails I want to skip straight to the logging. Is there a way of doing this other than an ugly nested if-else chain?
<nerdman> ok, that looks better, thanks
<nerdman> Rhainur: you can throw exception
<Rhainur> something like a begin/always seemed like it but people seem to say using exceptions for flow control is bad style
anaeem1_ has quit [Remote host closed the connection]
tomeara_ has quit [Ping timeout: 258 seconds]
<nerdman> Rhainur: if you have complicated situation its better since you can throw it from deep below as well
odinswand has quit [Ping timeout: 260 seconds]
<Rhainur> nah it's just 6 steps
patrick99e99 has quit [Ping timeout: 255 seconds]
<Rhainur> if-else does the job but looks ugly
ctp_ has quit [Ping timeout: 272 seconds]
ctp_ has joined #ruby
ctp__ has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
carraroj has quit [Ping timeout: 246 seconds]
zartoosh has quit [Remote host closed the connection]
tadayoshi has joined #ruby
ctp has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
ctp_ has quit [Ping timeout: 255 seconds]
ndrei has quit [Quit: Lost terminal]
ndrei has joined #ruby
lkba has joined #ruby
<Hanmac> Rhainur: begin ... 6 steps ... ensure ... logging ... end
GriffinH_ has quit [Remote host closed the connection]
spider-mario has joined #ruby
Advocation has joined #ruby
spider-mario has quit [Remote host closed the connection]
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ruby
Advocation has quit [Client Quit]
timonv_ has joined #ruby
Advocation has joined #ruby
ctp has joined #ruby
spider-mario has joined #ruby
Takle has joined #ruby
klaut has joined #ruby
ctp__ has quit [Ping timeout: 260 seconds]
ctp_ has joined #ruby
hamakn has joined #ruby
dx7 has joined #ruby
ctp has quit [Ping timeout: 240 seconds]
ChoiKyuSang has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<Hanmac> hm i have problems with yard, it seems it does not understand that it should parse, hm from over > 100 classes it only finds 7, and it doesnt find any method or attribute ...
dx7 has quit [Ping timeout: 255 seconds]
MaciejCzyzewski has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
HelperW_ has joined #ruby
pat777 has joined #ruby
coderdad has joined #ruby
schaerli has quit [Remote host closed the connection]
jottr_ has joined #ruby
pat777 has quit [Client Quit]
pat777 has joined #ruby
mengu has quit [Remote host closed the connection]
ringarin has quit [Ping timeout: 260 seconds]
timonv_ has quit [Remote host closed the connection]
coderdad has quit [Ping timeout: 255 seconds]
pskosinski has joined #ruby
ChoiKyuSang has joined #ruby
ctp_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv_ has joined #ruby
txdv has quit [Ping timeout: 245 seconds]
ChoiKyuSang has quit [Client Quit]
ChoiKyuSang has joined #ruby
Soliah has quit [Read error: Connection timed out]
Soliah has joined #ruby
chipotle_ has quit [Quit: cya]
MeatAnt has quit [Ping timeout: 272 seconds]
GriffinHeart has joined #ruby
chipotle has joined #ruby
boombadaroomba has joined #ruby
pat777 has quit [Quit: WeeChat 0.4.2]
tomeara_ has joined #ruby
boombadaroomba has quit [Ping timeout: 255 seconds]
GriffinHeart has quit [Ping timeout: 245 seconds]
cads has quit [Ping timeout: 246 seconds]
tomeara_ has quit [Ping timeout: 245 seconds]
penzrgb has quit [Quit: This computer has gone to sleep]
havenwood has joined #ruby
charliesome has joined #ruby
jasooon has joined #ruby
penzrgb has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
havenwood has quit [Ping timeout: 264 seconds]
alem0lars has quit [Quit: AFK..]
jasooon has quit [Ping timeout: 244 seconds]
jonjoe has joined #ruby
lxsameer has quit [Ping timeout: 272 seconds]
Xeago has joined #ruby
FaresKAlaboud has quit [Read error: Connection reset by peer]
FaresKAl- has joined #ruby
HelperW_ has quit [Quit: Computer has gone to sleep.]
hamakn has quit [Remote host closed the connection]
HelperW_ has joined #ruby
hamakn has joined #ruby
penzrgb has quit [Quit: This computer has gone to sleep]
cpruitt has joined #ruby
bMalum has joined #ruby
HelperW_ has quit [Ping timeout: 255 seconds]
txdv has joined #ruby
penzrgb has joined #ruby
tokik has quit [Ping timeout: 255 seconds]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fabrice31 has joined #ruby
awestroke has joined #ruby
MaciejCzyzewski has joined #ruby
krisquigley has joined #ruby
arup_r has quit [Ping timeout: 260 seconds]
cpruitt has quit [Quit: cpruitt]
AlexRussia has quit [Remote host closed the connection]
MaciejCzyzewski has quit [Client Quit]
AlexRussia has joined #ruby
postmodern has quit [Quit: Leaving]
mityaz has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
krisquigley has quit [Ping timeout: 260 seconds]
arup_r has joined #ruby
bMalum_ has joined #ruby
bMalum has quit [Ping timeout: 246 seconds]
bMalum_ is now known as bMalum
mityaz has quit [Client Quit]
Guest12973 has joined #ruby
<Guest12973> ciao
anaeem1_ has joined #ruby
<Guest12973> !list
alem0lars has joined #ruby
Guest12973 has left #ruby [#ruby]
arup_r has quit [Client Quit]
coderdad has joined #ruby
bMalum_ has joined #ruby
coderdad has quit [Ping timeout: 260 seconds]
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
pasties has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
emocakes__ has joined #ruby
skand has quit [Remote host closed the connection]
emocakes has quit [Ping timeout: 244 seconds]
claymore has quit [Read error: Connection reset by peer]
mengu has joined #ruby
bMalum_ has joined #ruby
bMalum has quit [Ping timeout: 255 seconds]
bMalum_ is now known as bMalum
mengu has quit [Ping timeout: 250 seconds]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
amundj has joined #ruby
mmochan_ has quit [Quit: Connection closed for inactivity]
MaciejCzyzewski has joined #ruby
bMalum_ has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
bMalum has quit [Client Quit]
naftilos76 has joined #ruby
Advocation has quit [Quit: Advocation]
GriffinHeart has joined #ruby
robertkelly has quit [Quit: Textual IRC Client: www.textualapp.com]
txdv has quit [Ping timeout: 250 seconds]
tomeara_ has joined #ruby
patrick99e99 has joined #ruby
wethu has joined #ruby
GriffinHeart has quit [Ping timeout: 250 seconds]
tomeara_ has quit [Ping timeout: 246 seconds]
Advocation has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
tadayosh_ has joined #ruby
Advocation has quit [Client Quit]
patrick99e99 has quit [Ping timeout: 272 seconds]
jasooon has joined #ruby
tadayosh_ has quit [Client Quit]
<shevy> Hanmac even yard can no longer make sense of your code!
<wasamasa> lol
<crome> haha
tadayoshi has quit [Ping timeout: 245 seconds]
neoxquick has quit [Read error: Connection reset by peer]
<Hanmac> hey! that not 100% true ... if remove bad things from my code it can detect the classes and that methods are defined, but it cant find the documentation or the method body ... rdoc can :/
ringarin has joined #ruby
d0ugb has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wethu has quit [Quit: This computer has gone to sleep]
aquatty has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xvq17 has joined #ruby
jasooon has quit [Ping timeout: 246 seconds]
carraroj has joined #ruby
d0ugb has quit [Remote host closed the connection]
FaresKAlaboud has joined #ruby
FaresKAl- has quit [Read error: Connection reset by peer]
dx7 has joined #ruby
wethu has joined #ruby
kirun has joined #ruby
mengu has quit []
jimmyy has quit [Ping timeout: 255 seconds]
nfk has joined #ruby
dx7 has quit [Ping timeout: 255 seconds]
MaciejCzyzewski has joined #ruby
dmr has joined #ruby
FDj has quit [Ping timeout: 258 seconds]
duper has quit [Quit: Leaving]
AlSquire has joined #ruby
FDj has joined #ruby
Advocation has joined #ruby
Ulrike_Rayne has quit [Quit: ZNC - http://znc.in]
Advocation has quit [Client Quit]
wildroman2 has joined #ruby
chouchen has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
ringarin has quit [Ping timeout: 260 seconds]
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
klaut has quit [Ping timeout: 240 seconds]
FDj has quit [Ping timeout: 246 seconds]
coderdad has joined #ruby
VanillaGoat_ has joined #ruby
klaut has joined #ruby
ptrrr has joined #ruby
lxsameer has joined #ruby
hellangel7 has quit [Remote host closed the connection]
nonks has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
VanillaGoat has quit [Ping timeout: 240 seconds]
coderdad has quit [Ping timeout: 255 seconds]
d0ugb has joined #ruby
d0ugb has quit [Remote host closed the connection]
rbrs has quit [Quit: Leaving]
sepp2k has joined #ruby
jsjdgdhjs has joined #ruby
sevenseacat has quit [Quit: Leaving.]
jsjdgdhjs has quit [Remote host closed the connection]
schaerli has joined #ruby
d0ugb has joined #ruby
d0ugb has quit [Remote host closed the connection]
FDj has joined #ruby
txdv has joined #ruby
pskosinski has joined #ruby
codecop has joined #ruby
havenwood has joined #ruby
nonks has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
foooobear_ has quit [Read error: Connection reset by peer]
foooobear_ has joined #ruby
wethu has quit [Quit: This computer has gone to sleep]
moritzschaefer has joined #ruby
jontmorehouse has joined #ruby
axilla has joined #ruby
AtumT has joined #ruby
nonks has quit [Ping timeout: 244 seconds]
havenwood has quit [Ping timeout: 264 seconds]
eka has joined #ruby
tomeara_ has joined #ruby
txdv has quit [Ping timeout: 244 seconds]
jottr_ has quit [Ping timeout: 272 seconds]
Wolland_ has quit []
tomeara_ has quit [Ping timeout: 245 seconds]
monkeypatch has joined #ruby
jottr_ has joined #ruby
jasooon has joined #ruby
MaciejCzyzewski has joined #ruby
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
d0ugb has joined #ruby
timonv^ has joined #ruby
cu__ has joined #ruby
bMalum has joined #ruby
jasooon has quit [Ping timeout: 258 seconds]
benzrf|offline is now known as benzrf
d0ugb has quit [Remote host closed the connection]
timonv_ has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
braincra- has joined #ruby
havenwood has joined #ruby
bMalum_ has joined #ruby
braincrash has quit [Ping timeout: 272 seconds]
bMalum has quit [Ping timeout: 240 seconds]
bMalum_ is now known as bMalum
tbrock has joined #ruby
x77686d has quit [Quit: x77686d]
krisquigley has joined #ruby
moritzschaefer has quit [Remote host closed the connection]
txdv has joined #ruby
bMalum_ has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
krisquigley has quit [Ping timeout: 255 seconds]
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
bMalum has quit [Ping timeout: 260 seconds]
bMalum has joined #ruby
chouchen has quit [Quit: Bye]
chouchen has joined #ruby
pandaant has joined #ruby
BadQuanta has joined #ruby
d0ugb has joined #ruby
bMalum_ has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
wethu has joined #ruby
d0ugb has quit [Remote host closed the connection]
BadQuanta has quit [Ping timeout: 246 seconds]
lxsameer has quit [Ping timeout: 244 seconds]
teddyp1cker has joined #ruby
rshetty has joined #ruby
bMalum_ has joined #ruby
St_Marx has quit [Ping timeout: 264 seconds]
bMalum has quit [Ping timeout: 246 seconds]
bMalum_ is now known as bMalum
AlexRussia has quit []
rshetty has quit [Remote host closed the connection]
jontmorehouse has quit [Read error: Connection reset by peer]
jonmorehouse has joined #ruby
FDj has quit [Ping timeout: 255 seconds]
BadQuanta has joined #ruby
St_Marx has joined #ruby
Advocation has joined #ruby
einarj has joined #ruby
Dr3amc0d3r is now known as Dr3amc0d3r|away
nonks has joined #ruby
penzrgb has quit [Quit: This computer has gone to sleep]
FDj has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
bMalum has quit [Ping timeout: 272 seconds]
jonmorehouse has quit [Ping timeout: 260 seconds]
coderdad has joined #ruby
timonv^ has quit [Quit: Leaving...]
MaciejCzyzewski has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
jonjoe has quit [Quit: Leaving...]
Advocation has quit [Quit: Advocation]
lxsameer has joined #ruby
penzrgb has joined #ruby
nonks has quit [Ping timeout: 260 seconds]
ferr has joined #ruby
bMalum has joined #ruby
jonjoe has joined #ruby
penzrgb has quit [Ping timeout: 250 seconds]
PsionTheory has joined #ruby
cu__ has quit [Quit: Computer has gone to sleep.]
penzrgb has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cu__ has joined #ruby
braincrash has joined #ruby
bMalum_ has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
Hanmac has joined #ruby
rshetty has joined #ruby
davedev24_ has joined #ruby
braincra- has quit [Ping timeout: 260 seconds]
cu__ has quit [Ping timeout: 246 seconds]
AlexRussia has joined #ruby
wsmoak has joined #ruby
wsmoak has joined #ruby
freerobby has quit [Quit: Leaving.]
monkeypatch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
d0ugb has joined #ruby
Photism has joined #ruby
d0ugb has quit [Remote host closed the connection]
tomeara_ has joined #ruby
patrick99e99 has joined #ruby
bMalum_ has joined #ruby
IRCGate31226 has joined #ruby
freerobby has joined #ruby
penzrgb has quit [Quit: This computer has gone to sleep]
dx7 has joined #ruby
Takle has quit [Remote host closed the connection]
IRCGate31226 has quit [Client Quit]
dmr has quit [Quit: Leaving]
penzrgb has joined #ruby
Takle has joined #ruby
coderdad has quit [Remote host closed the connection]
bMalum has quit [Ping timeout: 260 seconds]
bMalum has joined #ruby
jonmorehouse has joined #ruby
patrick99e99 has quit [Ping timeout: 246 seconds]
tomeara_ has quit [Ping timeout: 244 seconds]
jasooon has joined #ruby
andrewjanssen has joined #ruby
HelperW_ has joined #ruby
bMalum__ has joined #ruby
dx7 has quit [Ping timeout: 255 seconds]
penzrgb has quit [Client Quit]
bMalum_ has quit [Ping timeout: 260 seconds]
coderdad has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
bMalum has quit [Ping timeout: 260 seconds]
d0ugb has joined #ruby
jasooon has quit [Ping timeout: 246 seconds]
iamjarvo has joined #ruby
d0ugb has quit [Remote host closed the connection]
iamjarvo has quit [Max SendQ exceeded]
max96at has joined #ruby
bMalum has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
bMalum__ has quit [Ping timeout: 260 seconds]
iamjarvo has joined #ruby
MaciejCzyzewski has joined #ruby
freerobby has quit [Quit: Leaving.]
bMalum_ has joined #ruby
bMalum has quit [Ping timeout: 258 seconds]
bMalum_ is now known as bMalum
<pontiki> Rhainur: if you didn't want to raise an exception, and you find the if chain ugly, this is a time you might want to use "and"
coderdad has quit [Ping timeout: 260 seconds]
<crome> or throw
<pontiki> throw-catch.. dammit
<pontiki> as crome suggests.. throw-catch can also be used to the same effect
luckyruby has quit [Quit: Leaving...]
<pontiki> however, keeping the if chain, though it looks ugly, reveals intent more clearly, i'd say
hatzopoulos_ has quit [Quit: Leaving]
lxsameer has quit [Ping timeout: 258 seconds]
HelperW_ has quit [Quit: Computer has gone to sleep.]
Advocation has joined #ruby
HelperW_ has joined #ruby
Soda has joined #ruby
bMalum_ has joined #ruby
txdv has quit [Ping timeout: 260 seconds]
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
lxsameer has joined #ruby
rshetty has quit [Remote host closed the connection]
babykosh has joined #ruby
<shevy> Rhainur can you use a case/when menu?
chouchen has quit [Quit: Bye]
<pontiki> yet another way, if the steps depend on some context of the previous step, is to pass each one in a block to the previous one
<shevy> you could actually tie the logic into methods too
chouchen has joined #ruby
<shevy> there is more than one way in ruby
jamto11 has joined #ruby
<shevy> and also more than one way to bake bread
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HelperW_ has quit [Ping timeout: 260 seconds]
bMalum has quit [Ping timeout: 260 seconds]
larsam has quit [Read error: Connection reset by peer]
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
<shevy> and also more than one way to use a toilet
<shevy> not in python though
<shevy> they have uniform toilets
jasooon has joined #ruby
<Hanmac> did Rhainur appear again while i was offline? i thought i did already respond to him with begin ... ensure ... end
wethu has quit [Quit: This computer has gone to sleep]
Haiiro has joined #ruby
MasterPiece has quit [Quit: Leaving]
teddyp1cker has quit [Remote host closed the connection]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thiagofm has joined #ruby
jottr_ has quit [Ping timeout: 255 seconds]
banister has joined #ruby
bMalum has joined #ruby
ARCADIVS has quit [Quit: WeeChat 0.4.3]
bMalum_ has joined #ruby
d0ugb has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
d0ugb has quit [Remote host closed the connection]
axilla has quit [Ping timeout: 244 seconds]
bMalum has joined #ruby
bMalum_ has quit [Ping timeout: 260 seconds]
axilla has joined #ruby
lnormous has joined #ruby
drago777 has quit [Ping timeout: 258 seconds]
yeticry has quit [Ping timeout: 246 seconds]
bMalum_ has joined #ruby
fumk has quit [Quit: changing servers]
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
drago777 has joined #ruby
fumk has joined #ruby
tanath_ has joined #ruby
klaut_ has joined #ruby
tskogberg has quit [Ping timeout: 260 seconds]
yeticry has joined #ruby
klaut__ has joined #ruby
tyll_ has joined #ruby
klaut has quit [Ping timeout: 255 seconds]
tanath has quit [Ping timeout: 264 seconds]
bMalum has quit [Ping timeout: 260 seconds]
go|dfish has quit [Quit: SIGQUIT]
moritzschaefer has joined #ruby
tyll has quit [Ping timeout: 258 seconds]
klaut_ has quit [Ping timeout: 250 seconds]
bMalum has joined #ruby
boombadaroomba has joined #ruby
starkhalo has joined #ruby
Takle has joined #ruby
d0ugb has joined #ruby
txdv has joined #ruby
bMalum_ has joined #ruby
fabrice31 has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
<wasamasa> nope
tomeara_ has joined #ruby
boombadaroomba has quit [Ping timeout: 255 seconds]
d0ugb has quit [Remote host closed the connection]
dunckr has joined #ruby
krisquigley has joined #ruby
dunckr has quit [Client Quit]
dunckr has joined #ruby
bMalum has joined #ruby
pandaant has quit [Remote host closed the connection]
bMalum_ has quit [Ping timeout: 260 seconds]
fabrice31 has quit [Ping timeout: 258 seconds]
tomeara_ has quit [Ping timeout: 260 seconds]
zorak8 has joined #ruby
jasooon has quit [Ping timeout: 240 seconds]
Blizzy has quit [Ping timeout: 245 seconds]
bMalum_ has joined #ruby
nettoweb_ has joined #ruby
ndrei has quit [Ping timeout: 260 seconds]
nettoweb_ has quit [Max SendQ exceeded]
krisquigley has quit [Ping timeout: 260 seconds]
claw_ has joined #ruby
claw has quit [Ping timeout: 260 seconds]
nettoweb_ has joined #ruby
bMalum has quit [Ping timeout: 258 seconds]
lxsameer has quit [Quit: Leaving]
WillAmes has joined #ruby
ndrei has joined #ruby
iiinzg has joined #ruby
monkeypatch has joined #ruby
d0ugb has joined #ruby
dunckr has quit [Remote host closed the connection]
goodenough has joined #ruby
txdv has quit [Ping timeout: 244 seconds]
Takle has quit [Remote host closed the connection]
bMalum_ has quit [Ping timeout: 260 seconds]
dunckr has joined #ruby
hiyosi has quit [Quit: WeeChat 1.0]
hiyosi has joined #ruby
d0ugb has quit [Remote host closed the connection]
coderdad has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
Advocation has quit [Quit: Advocation]
bMalum has joined #ruby
benzrf is now known as benzrf|offline
Takle has joined #ruby
babykosh has quit [Quit: babykosh]
sinkensabe has joined #ruby
coderdad has quit [Ping timeout: 240 seconds]
monkeypatch has quit [Quit: Textual IRC Client: www.textualapp.com]
axilla has quit [Ping timeout: 272 seconds]
monkeypatch has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
nettoweb_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouchen has quit [Quit: Bye]
bMalum has joined #ruby
jamto11 has quit [Remote host closed the connection]
chouchen has joined #ruby
julieeharshaw has quit [Remote host closed the connection]
julieeharshaw has joined #ruby
bMalum_ has joined #ruby
Advocation has joined #ruby
spider-mario has quit [Remote host closed the connection]
dunckr has quit [Remote host closed the connection]
d0ugb has joined #ruby
jamto11 has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
skand has joined #ruby
naftilos76 has quit [Remote host closed the connection]
arup_r has joined #ruby
MaciejCzyzewski has joined #ruby
jamto11 has quit [Remote host closed the connection]
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
d0ugb has quit [Remote host closed the connection]
lnormous has quit [Ping timeout: 245 seconds]
x77686d has joined #ruby
x77686d has quit [Client Quit]
claymore has joined #ruby
bMalum_ has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
monkeypatch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
HelperW_ has joined #ruby
bMalum_ has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
renderfu_ has joined #ruby
zonetti_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
bMalum has quit [Ping timeout: 255 seconds]
bMalum_ is now known as bMalum
sinkensabe has joined #ruby
mpistone has joined #ruby
gregf has joined #ruby
HelperW_ has quit [Ping timeout: 250 seconds]
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
anaeem1 has joined #ruby
sinkensabe has quit [Ping timeout: 245 seconds]
bMalum_ has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
kobain has joined #ruby
codecop has quit [Ping timeout: 246 seconds]
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
anaeem1 has quit [Remote host closed the connection]
cads has joined #ruby
dunckr has joined #ruby
badhatter has quit [Read error: Connection reset by peer]
HENKiE has joined #ruby
HENKiE has left #ruby [#ruby]
Fire-Dragon-DoL has joined #ruby
badhatter has joined #ruby
jao1337 has joined #ruby
jao1337 has quit [Excess Flood]
jao1337 has joined #ruby
dunckr has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
endash has joined #ruby
dx7 has joined #ruby
de_alex has joined #ruby
<de_alex> how to install ruby-dev without installing all of the dependencies to build vim with ruby?
codecop has joined #ruby
username has joined #ruby
hellangel7 has joined #ruby
autonomousdev has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
jamto11 has joined #ruby
<Hanmac> de_alex: oO what is your problem? if you want to build vim with ruby, and it does need ruby-dev why not just install it? or what package does make you problems?
banister has joined #ruby
bMalum_ has joined #ruby
<de_alex> i have installed it but not from the mint repository as one ruby developer suggested never doing it from a repository, only from source
startupality has quit [Quit: startupality]
dx7 has quit [Ping timeout: 245 seconds]
Mon_Ouie has quit [Ping timeout: 245 seconds]
amundj has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
hellangel7 has joined #ruby
<Hanmac> de_alex: if oyu installed ruby from source, the dev part is already installed too...
St_Marx has joined #ruby
<de_alex> ah i see ok that's great
go|dfish has joined #ruby
username has quit [Quit: Leaving]
username has joined #ruby
bMalum has joined #ruby
badhatter_ has joined #ruby
bMalum has quit [Read error: Connection reset by peer]
bMalum_ has quit [Ping timeout: 245 seconds]
go|dfish has quit [Client Quit]
andrewjanssen has joined #ruby
username has quit [Client Quit]
jamto11 has quit [Ping timeout: 244 seconds]
username has joined #ruby
patrick99e99 has joined #ruby
bMalum has joined #ruby
rkalfane has joined #ruby
tomeara_ has joined #ruby
monkeypatch has joined #ruby
badhatter has quit [Ping timeout: 260 seconds]
go|dfish has joined #ruby
badhatter_ has quit [Ping timeout: 272 seconds]
bMalum_ has joined #ruby
BLuEGoD has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
bMalum has quit [Ping timeout: 245 seconds]
bMalum_ is now known as bMalum
tomeara_ has quit [Ping timeout: 260 seconds]
dreamfighter has joined #ruby
jxf has joined #ruby
<jonjoe> sup guys!
dreamfighter has quit [Changing host]
dreamfighter has joined #ruby
freerobby has joined #ruby
<jonjoe> how does one iterate over a hash but conditionally disregard
<Hanmac> jonjoe: can you make an example?
wsmoak_ has joined #ruby
hmsimha has joined #ruby
cu__ has joined #ruby
levisbakalinsky has joined #ruby
<jonjoe> yeh if a hash has "type" => "x"
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MaciejCzyzewski has joined #ruby
<jonjoe> and type y
<jonjoe> i only wanna loop the items with y?
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nonks has joined #ruby
lw has joined #ruby
autonomousdev has joined #ruby
<waxjar> check out Enumerable#select
lw has quit [Max SendQ exceeded]
autonomousdev has quit [Client Quit]
<de_alex> you could also write a lookahead function
tomeara_ has joined #ruby
lw has joined #ruby
Advocation has quit [Quit: Advocation]
wsmoak has quit [Ping timeout: 245 seconds]
wsmoak_ is now known as wsmoak
<jonjoe> this is inside a rails app so i have access to all of its tools
<havenwood> jonjoe: makes no sense to me
<jonjoe> anything native to rails to solve this problem?
<havenwood> >> {"type" => "x", "type" => "y"}
danijoo has quit [Read error: Connection reset by peer]
<eval-in_> havenwood => {"type"=>"y"} (https://eval.in/205102)
<havenwood> jonjoe: Show your example Hash?
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jonjoe> no i think you misunderstand sorry
gregf has quit [Quit: WeeChat 1.0.1]
danijoo has joined #ruby
<havenwood> you said type x and type y
<havenwood> dunno
<jonjoe> i wanna access the commits only
<jonjoe> there defined by the type
<jonjoe> i have converted it to hash
<jonjoe> i wanna loop through this and grab only the commits
Deele has quit [Ping timeout: 260 seconds]
<de_alex> hash is an assotiative array, so the elements in a hash aren't sorted
cu__ has quit [Client Quit]
tomeara_ has quit [Read error: No route to host]
foooobear_ has quit [Remote host closed the connection]
tomeara_ has joined #ruby
cu__ has joined #ruby
coderdad has joined #ruby
foooobear_ has joined #ruby
nonks has quit [Ping timeout: 255 seconds]
<jonjoe> hmm
bMalum_ has joined #ruby
<Hanmac> de_alex: yes but he has a Array of Hashs
<de_alex> you could look for keys or by values and check the type inside the values
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
<dreamfighter> #rails
<dreamfighter> Sry :)
<jonjoe> dream its a ruby problem its just inside rails :)
<jonjoe> thx de_alex
<jonjoe> and hanmac
<Hanmac> jonjoe: data.select {|o| o["type"] == "PushEvent" }
chouchen has quit [Quit: Bye]
<jonjoe> <3 hero
chouchen has joined #ruby
Deele has joined #ruby
<havenwood> jonjoe: array.map { |hash| hash['payload']['commits'] }.compact
cu__ has quit [Ping timeout: 255 seconds]
tomeara_ has quit [Ping timeout: 260 seconds]
<Hanmac> havenwood: hm he might do flat_map
<havenwood> jonjoe: So your Hash is a JSON Array? :P
coderdad has quit [Ping timeout: 245 seconds]
<banister> Hanmac guten tag
<Hanmac> banister: you already know https://github.com/patriciomacadden/oktobertest ne? its sounds so german ;P
<de_alex> JSON Array is one stacked hash but you could stack hash inside hashes
dunckr has joined #ruby
<jonjoe> using JSON.parse to convert to ruby hash
eka has joined #ruby
tanath__ has joined #ruby
<havenwood> Hanmac: yeah, flat_map would be nice
<banister> Hanmac In early times some sufferer had to sit up with a toothache, and he put in the time inventing the German language.
<havenwood> an array of hashes
<havenwood> de_alex: Hashes are ordered now, since 1.8 is dead.
<de_alex> an array is a sorted list, somehow still diffrent as a hashmap, while a JSON array needs to be parsed to ruby becaused it is only saved as a string
phutchins has joined #ruby
schaerli has quit [Remote host closed the connection]
tanath_ has quit [Ping timeout: 264 seconds]
<havenwood> de_alex: a doubly-circular linked list
schaerli has joined #ruby
zorak8 has quit [Ping timeout: 272 seconds]
<de_alex> yes this is the type i looked for
<de_alex> thx havenwood
dunckr has quit [Remote host closed the connection]
dunckr has joined #ruby
<de_alex> it is something from c language where you use two pointers to allocate the head and tail
<de_alex> ruby isn't prolog, but theere you could use it for recursion :)
GriffinHeart has joined #ruby
foooobear_ has quit [Remote host closed the connection]
foooobear_ has joined #ruby
dunckr has quit []
<de_alex> The part about JSON arrays which is exciting is, that it much easier to read as a xml configuration file, still it is more a configuration format, otherwise you could use it as a text database
multi_io_ has joined #ruby
axilla has joined #ruby
teddyp1cker has joined #ruby
Guest26596 has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
benzrf|offline is now known as benzrf
goodenough has quit [Remote host closed the connection]
dunckr_ has joined #ruby
multi_io has quit [Ping timeout: 245 seconds]
txdv has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
jxf has quit [Ping timeout: 255 seconds]
chrism_ has joined #ruby
dunckr_ has quit [Remote host closed the connection]
chrism_ has left #ruby ["Textual IRC Client: www.textualapp.com"]
teddyp1cker has quit [Ping timeout: 240 seconds]
Akagi201 has quit [Remote host closed the connection]
chouchen has quit [Remote host closed the connection]
bMalum_ has joined #ruby
Akagi201 has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
badhatter has joined #ruby
chris6131 has joined #ruby
jottr_ has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gregf has joined #ruby
GriffinHeart has joined #ruby
bMalum has joined #ruby
<username> thnx
foooobear_ has quit [Ping timeout: 245 seconds]
<chris6131> Is File#flock in Ruby 1.9.3 compatible with flock(1) on a Centos 6.4 (2.6 kernel) machine? Specifically will my shell script locks interact correctly with locks from my ruby script?
chris6131 has left #ruby [#ruby]
chris6131 has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
bMalum_ has quit [Ping timeout: 260 seconds]
schaerli has quit [Remote host closed the connection]
danijoo has joined #ruby
dunckr has joined #ruby
klaut has joined #ruby
jottr_ has quit [Ping timeout: 246 seconds]
dunckr has quit [Remote host closed the connection]
klaut__ has quit [Ping timeout: 250 seconds]
alenn has joined #ruby
dunckr has joined #ruby
bMalum_ has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
skolman_ has joined #ruby
MaciejCzyzewski has joined #ruby
yeticry has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
dunckr has quit [Ping timeout: 245 seconds]
alenn has quit []
yeticry has joined #ruby
bMalum_ has joined #ruby
lw has quit [Quit: s]
bMalum has quit [Ping timeout: 260 seconds]
krisquigley has joined #ruby
levisbakalinsky is now known as levisbakalinsky|
bMalum has joined #ruby
levisbakalinsky| has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
autonomousdev has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
autonomousdev has quit [Client Quit]
autonomousdev has joined #ruby
axilla has quit [Ping timeout: 272 seconds]
Hanmac has quit [Remote host closed the connection]
banister has joined #ruby
lw has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
Hanmac has joined #ruby
ptrrr has quit [Quit: ptrrr]
bMalum_ has quit [Ping timeout: 260 seconds]
dunckr has joined #ruby
dunckr has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 260 seconds]
bMalum_ has joined #ruby
dunckr has joined #ruby
cads has quit [Ping timeout: 260 seconds]
jacobat has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
top4o has joined #ruby
F__i__L has joined #ruby
JohnBat26 has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bMalum_ has joined #ruby
<F__i__L> is there a quick way to get all consecutive pairs of an array? for instance when I have a = ["a", "dog", "runs", "in", "the", "beach"] to get [["a", "dog"], ["dog", "runs"], ["runs", "in"], ["in", "the"], ["the", "beach"]]
<havenwood> >> ["a", "dog", "runs", "in", "the", "beach"].each_cons(2).to_a
<eval-in_> havenwood => [["a", "dog"], ["dog", "runs"], ["runs", "in"], ["in", "the"], ["the", "beach"]] (https://eval.in/205113)
<havenwood> F__i__L: ^
<crome> wow
IceDragon has joined #ruby
Aaaal has joined #ruby
<crome> I haven't even heard about that method :D
<F__i__L> cool!
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
Lewix has joined #ruby
bMalum_ has joined #ruby
bMalum has quit [Ping timeout: 255 seconds]
bMalum_ is now known as bMalum
c107 has joined #ruby
Akagi201_ has joined #ruby
lw has quit [Quit: s]
xcesariox has joined #ruby
jottr_ has joined #ruby
jao1337 has quit [Remote host closed the connection]
jxf has joined #ruby
deject3d_laptop has joined #ruby
sinkensabe has joined #ruby
bMalum_ has joined #ruby
coderdad has joined #ruby
Akagi201 has quit [Ping timeout: 272 seconds]
tomeara_ has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
tomeara_ has quit [Read error: No route to host]
tomeara_ has joined #ruby
maestrojed has joined #ruby
IceDragon has quit [Ping timeout: 250 seconds]
IceDragon has joined #ruby
lw has joined #ruby
coderdad has quit [Ping timeout: 260 seconds]
<benzrf> whaaaaaaaaaaaat
<benzrf> test
BTRE has joined #ruby
tomeara_ has quit [Ping timeout: 255 seconds]
tbrock has joined #ruby
bMalum_ has joined #ruby
dunckr has quit []
shosti has joined #ruby
IceDragon has quit [Ping timeout: 255 seconds]
charliebr73 has joined #ruby
hellangel7 has quit [Remote host closed the connection]
goshdarnyou has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
<shevy> fail
gregf has quit [Quit: WeeChat 1.0.1]
IceDragon has joined #ruby
hellangel7 has joined #ruby
bMalum_ has quit [Ping timeout: 258 seconds]
de_alex has quit [Ping timeout: 260 seconds]
goodenough has joined #ruby
goodenough has quit [Remote host closed the connection]
de_alex has joined #ruby
goodenough has joined #ruby
babykosh has joined #ruby
* charliebr73 ** SysInfo ** Client: HexChat 2.10.1 (x64) ** OS: Microsoft Windows 7 Home Premium ** CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (2.00 GHz) ** RAM: 6039 MB Total (2466 MB Free) ** VGA: Intel(R) HD Graphics 4000 ** Uptime: 1.42 Hours **
<pontiki> not that anyone actually cares...
Aaaal has quit [Quit: Aaaal]
HelperW_ has joined #ruby
wald0 has joined #ruby
sevvie has joined #ruby
goodenough has quit [Ping timeout: 255 seconds]
teddyp1cker has joined #ruby
phutchins has quit [Ping timeout: 272 seconds]
sinkensabe has quit [Remote host closed the connection]
nonks has joined #ruby
sinkensabe has joined #ruby
tyll_ has quit [Ping timeout: 255 seconds]
<shevy> lol
<shevy> charliebr73 do you wear pants right now
<charliebr73> beg your pardon?
<shevy> well you show a lot of system information here
<shevy> so why not show more
tyll has joined #ruby
<charliebr73> apologies if I am new to IRC chat. I was looking for an specific thing. Might have pressed that by mistake
<shevy> it's not so bad
<charliebr73> :)
drago777 has quit [Ping timeout: 258 seconds]
<shevy> I find pontiki's reply a lot of fun
x77686d has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<charliebr73> but yes, I am wearing pants. =oP
<shevy> see pontiki
x77686d has quit [Client Quit]
<charliebr73> I noticed that
<Hanmac> charliebr73: i think you posted it in the wrong channel ... i mean what are you want to tell us about with that?
<shevy> it's good to wear things while programming
babykosh has quit [Quit: babykosh]
<charliebr73> :D
<shevy> that he has BIG RAM
dx7 has joined #ruby
OffTheRails has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bMalum has joined #ruby
<shevy> ruby runs as fast as C on his machine
sinkensabe has quit [Ping timeout: 255 seconds]
nonks has quit [Ping timeout: 246 seconds]
<charliebr73> Boys will be boys
<charliebr73> :D
<OffTheRails> hi, could someone explain why, if Array includes Enumerable, do I have to convert to_enum before I can use such methods as `next`?
fumk has quit [Read error: Connection reset by peer]
Rhainur has quit [Quit: Leaving.]
<yxhuvud> OffTheRails, because that is part of Enumerator, not Enumerator.
<pontiki> try again
<Hanmac> yxhuvud: you mean "not Enumerable"
<yxhuvud> right
<OffTheRails> ahh got it, thanks
bMalum_ has joined #ruby
<charliebr73> I have just retrained as Ruby/Rails developer. Trying to get my head around programming now. Really enjoying it.
sivteck has joined #ruby
<benzrf> charliebr73: good!!
<pontiki> charliebr73: what were you doing before?
<charliebr73> benzrf, pontiki I used to be an network engineer
<charliebr73> Windows, Mac and Linux environments
<yxhuvud> OffTheRails: note though, that calling #each is a more common way to get an enumerator
jamto11 has joined #ruby
Hightower666 has joined #ruby
sivteck has left #ruby ["To Infinity and Beyond!"]
<shevy> yxhuvud.each {|socks|
<charliebr73> pontiki, I'm trying to find either a job or an internship now
dx7 has quit [Ping timeout: 250 seconds]
<shevy> oh singular... sock, I guess...
<pontiki> best of luck, charliebr73
txdv_ has joined #ruby
<charliebr73> pontiki, cheers mate! :)
<OffTheRails> I'm giving a 10 minute presentation on the enumerable module and wondering what perhaps I should include?
hamakn_ has quit [Remote host closed the connection]
<de_alex> F__i__L http://www.nltk.org/_modules/nltk/collocations.html however it is python
bMalum has quit [Ping timeout: 255 seconds]
txdv has quit [Ping timeout: 255 seconds]
<OffTheRails> not sure I want to go down the route of enumerable vs enumerator as I don't have the experience to explain the differences. any suggestions?
<pontiki> OffTheRails: how you use it, primarily
<yxhuvud> OffTheRails, dunno, but don't forget to mention that the methods chain.
hamakn has joined #ruby
<OffTheRails> I've included mixing the module and sorting using <=>
bMalum has joined #ruby
jonmorehouse has quit [Ping timeout: 272 seconds]
<shevy> OffTheRails one of the two is more important
bMalum_ has quit [Ping timeout: 246 seconds]
apophis has joined #ruby
<apophis> hello
<F__i__L> thanks de_alex but each_cons solves all my problems
<apophis> what port is defaulty used by ruby on rails?
<F__i__L> 3000
<OffTheRails> the enumerable module seems really simple in itself. not sure how I can extend to 10 minutes
<apophis> thanks
<OffTheRails> you mixin the module, define an each method and away you go
<apophis> web page is unavailbe
<apophis> :(
jacobat has quit [Ping timeout: 272 seconds]
<pontiki> ending before 10 minutes means you get to field questions, or ask questions
Lewix has quit [Remote host closed the connection]
<OffTheRails> questions I likely won't be able to answer if I didn't even know to_enum returned an enumerator which had .next defined (thought was part of enumerable)
bMalum_ has joined #ruby
cubicme_ has joined #ruby
<pontiki> good practice, then
<apophis> web page is unavailabe when i do localhost:3000
hamakn has quit [Ping timeout: 245 seconds]
<apophis> help?
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
<havenwood> apophis: #rubyonrails
jonjoe has quit [Quit: Leaving...]
<apophis> haven is says i need special serverices or something like that to enter
<OffTheRails> pontiki, I guess. just a bit nervous. never given a presentation before. only 10 people but...ugh
<havenwood> apophis: /msg NickServ REGISTER password youremail@example.com
<havenwood> apophis: some channels require a registered nick
cubicme has quit [Ping timeout: 272 seconds]
cubicme_ is now known as cubicme
<shevy> these channels don't want you to join them!
BadQuanta has quit [Ping timeout: 260 seconds]
<apophis> whats login command?
<de_alex> F__i__l each_cons is a great thx
teddyp1cker has quit [Remote host closed the connection]
maletor has joined #ruby
<pontiki> OffTheRails: srsly, if you can give a less than 10 minute talk on Enumerable, and impart good info, that's a plus.
maestrojed has quit [Quit: Computer has gone to sleep.]
<pontiki> i don't know anyone who tends to think such talks are too short :)
cads has joined #ruby
apophis has left #ruby [#ruby]
Takle has quit [Remote host closed the connection]
<OffTheRails> do you think I should cover enumerable vs enumerator? that's confusing for myself so could be helpful (giving talk to less experienced devs)
<pontiki> nope. just stick with Enumerable for now.
<havenwood> OffTheRails: I'd suggest being clear which classes mixin Enumerble though.
<pontiki> when you mix the two, things start to get confusing.
<havenwood> OffTheRails: Nice to know where all you can expect it.
<pontiki> that's a great point, havenwood
<OffTheRails> havenwood, I have a list of core classes that do (array, hash, range, file, dir, struct)
sarandosklikizos has joined #ruby
jvv has joined #ruby
User458764 has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
sarandosklikizos has left #ruby [#ruby]
rshetty has joined #ruby
Lewix has joined #ruby
zcreative has joined #ruby
<OffTheRails> I did find a few slides on enumerable so will probably follow their lead
<havenwood> OffTheRails: Maybe pull out just the relevant upper left portion from here: http://www.gliffy.com/go/publish/5152080
bMalum_ has joined #ruby
freerobby has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
<OffTheRails> havenwood, cheers! looks awesome
jonjoe has joined #ruby
<havenwood> OffTheRails: File through its superclass IO, Enumerator::Lazy through its superclass Enumerator
twoshot_ has joined #ruby
anaeem1_ has joined #ruby
<OffTheRails> thanks, I'll have a look
teddyp1cker has joined #ruby
cubicme has quit [Quit: cubicme]
<twoshot_> why can i not escape my url?
<twoshot_> it works if i don't escape it?
pharohbot has joined #ruby
<pharohbot> dude i tried logging in
Lewix has quit [Remote host closed the connection]
<shevy> can you escape your url please
zcreative has quit [Quit: (null)]
<pharohbot> and still wot let me in
<twoshot_> what shevy
<shevy> btw the error does not happen at CGI.escape
<pharohbot> so can someone just help me with my ruby on rails problem?
<twoshot_> i know
<twoshot_> it happens when i try to access it
<shevy> well
<twoshot_> in a TCPSocket.connect cal;l
<shevy> time for a begin/rescue clause
<shevy> also, what is the exact URL you try to use here, in "string" format?
hackeron has quit [Ping timeout: 272 seconds]
<pharohbot> i have erros in rails when i do rails s p- 4000
shosti has quit [Ping timeout: 255 seconds]
<shevy> is this a german video? hehehe
cads has quit [Ping timeout: 255 seconds]
hackeron has joined #ruby
drago777 has joined #ruby
fumk has joined #ruby
<shevy> pharohbot this here is not the rails channel
<twoshot_> the exact url is right there lol
<pharohbot> i cannot connect!
<twoshot_> yeah haha it is
<pharohbot> i tried numerous times!
<twoshot_> do you know german?
<shevy> ok twoshot_ so it is this right?
<shevy> -> "http%3A%2F%2Fgdata.youtube.com%2Ffeeds%2Fapi%2Fvideos%2F%3Fv%3D2%26alt%3Djsonc%26q%3Deisbrecher%26max-results%3D4"
<twoshot_> looks right to me
<shevy> well
<pontiki> that won't work in an http request, tho
<shevy> I can't get it to work either
<twoshot_> hm
<twoshot_> well
<twoshot_> if CGI.escape is not called
<twoshot_> it will work
txdv_ has quit [Ping timeout: 260 seconds]
* wasamasa breaks the ice
bMalum_ has joined #ruby
echevemaster has joined #ruby
* pontiki freezes it again
fumk has quit [Remote host closed the connection]
ctp has joined #ruby
<twoshot_> @pontiki why will it not work in an http request
txdv has joined #ruby
<pontiki> it's not actually a url anymore, it's an escaped string
<twoshot_> lol
<twoshot_> ok
<twoshot_> i guess
<pontiki> why do you think it should work?
<twoshot_> i thought you could escape a url and it would just unescape everything properly when calling it
<twoshot_> but i guess that might be a bit naive
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
<shevy> if not dumb
<shevy> almost epic dumbness
<twoshot_> thanks shevy
mwlang has quit [Quit: mwlang]
<shevy> hehehe sorry
<pontiki> shevy, please, that's just rude and rather ineffective
<pharohbot> I really need help :(
<twoshot_> ok, let me go escape the param only and see what happens
Haiiro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pharohbot> guys please this si annoying and urgent
<pontiki> what in there actually needs escaping, twoshot_ ?
<havenwood> pharohbot: The barrier to Rails entry is getting your nick registered. If you past this test you may proceed...
<pontiki> the bare url you have there works just fine
<pontiki> pharohbot: what is the problem?
<twoshot_> yeah, this is just a test case to show that escaping wasn't working
<twoshot_> the real problem is when i put spaces in
<tobiasvl> pharohbot: #rubyonrails might be able to help
<pontiki> ah, i see
<twoshot_> "eisbrecher verrueckt" fails because of the space
<twoshot_> and at this point, i'm wondering where the specification is, because i'm not sure how to handle ampersands etc
<pontiki> ok, but you really need to escape the query string parameter values, not the entire query string
<twoshot_> k
<pharohbot> omg haven
<twoshot_> if i have a query string "a&m"
<twoshot_> and i escape that
Haiiro has joined #ruby
<pharohbot> I cannot CONNECT!
<twoshot_> ah f*** it, i'll just try it
bMalum_ has joined #ruby
<pharohbot> for a reason idk!
<pontiki> pharohbot: you need to register your nick: try /msg nickserv help
mpistone has quit [Remote host closed the connection]
<pharohbot> I did
<pontiki> and?
bMalum has quit [Ping timeout: 246 seconds]
bMalum_ is now known as bMalum
<twoshot_> ok. guess i learned something new about urls today. it parses it and then unescapes it
<twoshot_> thanks guys
littlebir has joined #ruby
<pharohbot> i get the same error
<pontiki> according to nickserv, pharohbot, you have not completed your registration
<pharohbot> and its pissing me off
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
<pontiki> you should find an email to the email address to registered with and follow the instructions
maletor has quit [Quit: Computer has gone to sleep.]
coderdad has joined #ruby
fumk has joined #ruby
mlilenium_ has joined #ruby
gregf has joined #ruby
mlilenium_ has left #ruby [#ruby]
twoshot_ has quit [Remote host closed the connection]
threesixes has quit [Remote host closed the connection]
cubicme has joined #ruby
ringarin has joined #ruby
mercwithamouth has quit [Ping timeout: 255 seconds]
bMalum has quit [Ping timeout: 260 seconds]
hypercube32 has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
tomeara_ has joined #ruby
hypercube32 has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
coderdad has quit [Ping timeout: 258 seconds]
nonks has joined #ruby
kenneth has joined #ruby
JohnBat26 has joined #ruby
sinkensabe has joined #ruby
tomeara_ has quit [Ping timeout: 260 seconds]
bMalum has quit [Ping timeout: 260 seconds]
deject3d_laptop has quit [Quit: Computer has gone to sleep.]
bMalum_ has joined #ruby
Lewix has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
moritzschaefer has quit [Remote host closed the connection]
Takle has joined #ruby
<shevy> pharohbot it is very simple - either you manage to register, then you can join. or you fail. :)
neoxquick has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
jonmorehouse has joined #ruby
mary5030 has joined #ruby
teddyp1cker has quit []
klmlfl has joined #ruby
lkba has joined #ruby
axilla has joined #ruby
<pharohbot> i never fail
bMalum has joined #ruby
<shevy> hehe
lw has quit [Quit: s]
<shevy> you'll never make it into the rails channel
zcreative has joined #ruby
bMalum_ has quit [Ping timeout: 260 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arup_r has quit [Quit: Leaving.]
deject3d_laptop has joined #ruby
jonmorehouse has quit [Ping timeout: 260 seconds]
deject3d_laptop has quit [Client Quit]
<shevy> hmm
<shevy> is it cleaner to use methods rather than @ivars directly?
wald0 has quit [Quit: Lost terminal]
vimer has joined #ruby
<shevy> inside of a given class
Hightower666 has quit [Ping timeout: 246 seconds]
Takle has quit [Ping timeout: 250 seconds]
<pontiki> barewords tend to be more flexible, shevy.
<havenwood> though instance variables are expressive in their simplicity and no need to go looking for methods
<shevy> hmm
Cache_Money has joined #ruby
<shevy> I seem to do a lot of sanitizing with some ivars
<havenwood> happens to be faster to get local variables than instance variables and certainly faster than methods, in the rare case that level of speed matters
Channel6 has joined #ruby
fabrice31 has joined #ruby
bMalum_ has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
<havenwood> the reason you might assign a redundant local variable to its instance variable equivalent before a tight loop, e.g.: https://github.com/puma/puma/blob/master/lib/puma/thread_pool.rb#L57-L64
krisquigley has joined #ruby
Rollabunna has joined #ruby
Hightower666 has joined #ruby
bMalum_ has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
bMalum has quit [Ping timeout: 272 seconds]
bMalum_ is now known as bMalum
monkeypatch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carraroj has quit [Quit: Konversation terminated!]
krisquigley has quit [Ping timeout: 260 seconds]
anaeem1_ has quit [Ping timeout: 258 seconds]
anaeem1 has joined #ruby
vimer has quit [Quit: leaving]
ringaring has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
ringarin has quit [Ping timeout: 272 seconds]
ringarin has joined #ruby
justinmburrous has joined #ruby
m8 has joined #ruby
klmlfl has quit [Remote host closed the connection]
pharohbot has quit [Quit: Page closed]
jasooon has joined #ruby
lw has joined #ruby
cu__ has joined #ruby
AlexRussia has quit [Remote host closed the connection]
kaspertidemann has joined #ruby
Sharker has quit [Remote host closed the connection]
AlexRussia has joined #ruby
<Hanmac> shevy questions about rwx: what do you think would return this: WX::Color.new(255, 0, 0) == "red" ?
mary5030 has quit [Remote host closed the connection]
jonmorehouse has joined #ruby
boombadaroomba has joined #ruby
jasooon has quit [Ping timeout: 255 seconds]
levisbakalinsky has joined #ruby
cubicme has quit [Quit: cubicme]
mary5030 has joined #ruby
cu__ has quit [Quit: Computer has gone to sleep.]
HelperW_ has quit [Quit: Computer has gone to sleep.]
cu__ has joined #ruby
HelperW_ has joined #ruby
bMalum has quit [Ping timeout: 246 seconds]
anaeem___ has joined #ruby
anaeem___ has quit [Remote host closed the connection]
it0a has joined #ruby
ringaroses2 has joined #ruby
anaeem1_ has joined #ruby
<shevy> is that red?
iamjarvo has joined #ruby
<shevy> I would assume this to return a widget
<shevy> so it would be false
AlexRussia has quit [Remote host closed the connection]
<Hanmac> hm no WX::Color is not a widget but a real color, "red" is a String ... *going in quizshow-mode* are you still thinking it does return false?
it0a has quit [Client Quit]
boombadaroomba has quit [Ping timeout: 255 seconds]
dreamfighter has quit [Ping timeout: 260 seconds]
it0a has joined #ruby
AlexRussia has joined #ruby
anaeem1 has quit [Ping timeout: 244 seconds]
cu__ has quit [Ping timeout: 250 seconds]
ringarin has quit [Ping timeout: 250 seconds]
ringaring has quit [Ping timeout: 250 seconds]
HelperW_ has quit [Ping timeout: 260 seconds]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
bMalum has joined #ruby
jonmorehouse has quit [Ping timeout: 272 seconds]
ringarin has joined #ruby
jamto11 has quit [Remote host closed the connection]
bluenemo has quit [Client Quit]
pothibo has joined #ruby
skand has quit [Remote host closed the connection]
bMalum_ has joined #ruby
tomeara_ has joined #ruby
MaciejCzyzewski has joined #ruby
lolmaus has quit [Remote host closed the connection]
bMalum has quit [Ping timeout: 250 seconds]
bMalum_ is now known as bMalum
lolmaus has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renderfu_ has quit [Remote host closed the connection]
monkeypatch has joined #ruby
tomeara_ has quit [Ping timeout: 272 seconds]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coderdad has joined #ruby
jonjoe has quit [Quit: Leaving...]
jasooon has joined #ruby
levisbakalinsky is now known as levisbakalinsky|
levisbakalinsky| is now known as levisbakalinsky
renderfu_ has joined #ruby
renderfu_ has quit [Remote host closed the connection]
hjlsteffens has joined #ruby
coderdad has quit [Ping timeout: 255 seconds]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bMalum_ has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
jao1337 has joined #ruby
jao1337 has quit [Excess Flood]
<Hanmac> ping shevy
jao1337 has joined #ruby
jao1337 has quit [Remote host closed the connection]
<shevy> Hanmac dunno
<shevy> I guess you can redefine on == right?
hellangel7 has quit [Remote host closed the connection]
emocakes has joined #ruby
bAmtUser has joined #ruby
<shevy> in the ruby gnome bindings it would be stuff like Gdk::Color.parse("red")
<Hanmac> WX::Color.new(255, 0, 0) == "red" #=> true, same for WX::Color.new(255, 0, 0) == "rgb(255, 0, 0)" or WX::Color.new(255, 0, 0) == "#FF0000"
<bAmtUser> Does anyone know if there are free sprites that I can use for a test game (writting in Ruby)
<Hanmac> because in == it does try to convert into a color object, if it wants or not ;P
atmosx has joined #ruby
<shevy> how do you define on == ?
atmosx has left #ruby [#ruby]
Takle has joined #ruby
dx7 has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
emocakes__ has quit [Ping timeout: 272 seconds]
<bAmtUser> Anyone: What language is not 'Object Oriented' and what is the difference between Ruby and non-objerct orieted languages?
<bAmtUser> ...Also is Ruby limited compared to other languages?
rshetty has quit [Remote host closed the connection]
HelperW_ has joined #ruby
<shevy> bAmtUser always defines on the definition of OOP
<shevy> even C has an "OOP" dialect in gtk and vala I assume
<bAmtUser> shevy: def text = ... right?
<shevy> what is that
<shevy> that is just a method definition right
justinmburrous has quit [Remote host closed the connection]
<shevy> bAmtUser a classical dichotomy lies towards functional programming, things like haskell are very different compared to OOP languages
<bAmtUser> shecyyeah just making sure we're on the right page
<waxjar> why does everyone suddenly ask the difference between oop and other paradigms? :p
<shevy> I don't know on what page you are
wildroman2 has joined #ruby
<shevy> waxjar they want CHANGE!
bMalum has quit [Ping timeout: 260 seconds]
xcyclist has joined #ruby
<waxjar> i got a feeling they're homework questions :p
chipotle has quit [Quit: cya]
dx7 has quit [Ping timeout: 260 seconds]
<shevy> aah
<shevy> yeah
<bAmtUser> waxjar: I'm asking, because this is my first language and some of this stuff is a little vague for someone that doesn't know how to program and is unfamiliar with some of this vocabulary
ndrei has quit [Ping timeout: 255 seconds]
<shevy> how bAmtUser suddenly chimed in with "def text =" out of any context ...
<wasamasa> bAmtUser: just forget all that bullcrap
<bAmtUser> shevy: I do that sometime
<bAmtUser> s
chipotle has joined #ruby
<havenwood> bAmtUser: Clojure and Haskell aren't OO for example. Ruby is quite capable.
<shevy> bAmtUser you should listen to Alan Kay lectures about OOP, he was great when he was young
<bAmtUser> wasamasa: what do you suggest I focus on?
<bAmtUser> shevy: looking him up now
<wasamasa> bAmtUser: writing programs
<shevy> hehehe
<wasamasa> bAmtUser: less reading, more doing
HelperW_ has quit [Ping timeout: 260 seconds]
<wasamasa> bAmtUser: even if the things you'd like to do seem to be difficult
<havenwood> bAmtUser: too many non-OO langs to list
<wasamasa> bAmtUser: difficult as in, writing something going over your head, not something that's just taking ages to accomplish (like these amateurs who dream about doing AAA games all alone)
<bAmtUser> I'm doing. I'm getting a lot of good info, but when I start trying to step up my game nothing wiorks right, but the basic junk
Channel6 has quit [Quit: Leaving]
levisbakalinsky is now known as levisbakalinsky|
<shevy> another cool old interview https://www.youtube.com/watch?v=idBu9rf1aYU - he was a visionnaire, sad he is now old
<shevy> and sad that he did not understand that smalltalk's syntax had no appeal :)
levisbakalinsky| has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bAmtUser> wasamasa, I just have ambitions of building and managing a website
<Hanmac> wasamasa: hey! i write my own wxWidgets binding all alone, and tomorrow i will make the first gem push ... (even if its still not finish yet)
<wasamasa> bAmtUser: that's not hard actually
<wasamasa> bAmtUser: sinatra started the microframework craze
<wasamasa> bAmtUser: the hard part about web development is rather that there's so many topics to know about
<shevy> I can't believe it until that gem push has really happened
<bAmtUser> It has been a mess learning. I'm sure it'll get more frustrating
<shevy> after all the years
cubicme has joined #ruby
bryanjswift has joined #ruby
mary5030 has quit [Remote host closed the connection]
linojon has joined #ruby
mary5030 has joined #ruby
<wasamasa> bAmtUser: people expect you to know css, js, sql, backend development, fancy frameworks, ...
atmosx has joined #ruby
hjlsteffens has left #ruby [#ruby]
<gizmore> wasamasa: don´t forget security and writing tests
* wasamasa can't remember the last time he wrote a test
<wasamasa> gizmore: what, security, who needs that
<atmosx> wasamasa: lol
<bAmtUser> wamasa:I have intentions of learning other languages, this is just square one
<shevy> bAmtUser k then start with html then css then javascript
<bAmtUser> shevy:Drop the Ruby and move on?
HelperW_ has joined #ruby
<Hanmac> shevy look the first test case with testing wxColor: https://github.com/Hanmac/rwx/blob/master/test/test_color.rb
<havenwood> bAmtUser: I vote Ruby before Javascript and hope Javascript just miraculously disappears before you get to it. :P
<shevy> bAmtUser well you wrote you have not learned any language yet
<shevy> bAmtUser ruby is elegant but also complex
<shevy> you won't have to understand what a block is in javascript
<bAmtUser> havenwood: I've jheard java is a garbage language, but what about node.js? (are these two related or two different beastsd?
<shevy> java is not javascript
<havenwood> bAmtUser: Java and Javascript are quite different beasts.
<shevy> waxjar I suddenly have a homework+out+of+boredom deja-vu
mary5030 has quit [Ping timeout: 272 seconds]
wildroman2 has quit [Remote host closed the connection]
<havenwood> bAmtUser: They're both popular languages.
tlarevo has quit [Remote host closed the connection]
<shevy> bAmtUser when you are at point zero, any programming language will be better than no programming language
<Hanmac> javascript dosnt even have real Hash objects, and other things you might threat in other languages as common does not exist in javascript ...
<bAmtUser> OK so I'm going to finish this boook and finish Ruby. I'll start html next. Thsnk you all for your knowl;edge and advice.
<havenwood> bAmtUser: Node is a Javascript thing, unrelated to Java.
<havenwood> bAmtUser: Do Ruby not Node. :P
<bAmtUser> On it :)
<Hanmac> shevy did you looked at my first TestCase?
threesixes has joined #ruby
<shevy> Hanmac I don't really know what that all means
<shevy> you test for some equality and non equality
HelperW_ has quit [Ping timeout: 272 seconds]
<Hanmac> shevy yeah, i mean what else can you test for a Color class?
<shevy> wasamasa actually that is a reason why php got popular
x77686d has joined #ruby
<shevy> wasamasa no boundaries in doing crap
x77686d has quit [Client Quit]
<shevy> Hanmac hmm... if it is only RGB values then only that. what about hue
<shevy> alpha channel properties
jasooon has joined #ruby
<bAmtUser> Anl/All: Last question, for now. What is ruby good for? I see a lot useless things I can do, but when it gets in to Ruby on Rails, what kind of applications should I expect to make?
mpistone has joined #ruby
<bAmtUser> be able to make^
jimbach has joined #ruby
<shevy> lol wasamasa
<Hanmac> shevy alpha does, but hsl does not
<shevy> the discussion below is even funnier:
<shevy> "My preferred username would be: ; sudo rm -fr /"
MaciejCzyzewski has joined #ruby
<shevy> ]MorePudding: Is that how they use rm in France?
cubicme has quit [Read error: Connection reset by peer]
<shevy> hahaha
<wasamasa> bAmtUser: ruby users write elegant looking libraries for pretty much anything
jonmorehouse has joined #ruby
<wasamasa> bAmtUser: it's a general purpose language
ta has joined #ruby
<wasamasa> bAmtUser: though I feel it's best for writing scripts to do all kinds of tasks
Vile` has quit [Ping timeout: 240 seconds]
<wasamasa> bAmtUser: it seems to be less suited for number crunching or writing operating system drivers
<shevy> bAmtUser look man - there are people who use rails, then there are people who use ruby, and then there are people who use both (or none). here on #ruby you will find people who use ruby because it is ruby, the railsers are mostly on #rubyonrails
<shevy> bAmtUser think of rails more as a whole ecosystem
MaciejCzyzewski has quit [Client Quit]
axilla has quit [Ping timeout: 255 seconds]
cubicme has joined #ruby
<bAmtUser> shevy: I see. I'll be back around in a few hundred more pages.
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> read less books and write more code!
<shevy> doesn't even matter in which language
<shevy> start with php :>
<shevy> you'll switch to another language eventually anyway
Lewix has quit [Remote host closed the connection]
<wasamasa> nah, php will teach you bad hapits
<wasamasa> *habits
<benzrf> php is so bad
<benzrf> php is so bad it's awful
<benzrf> php is so bad it's awful don't use it
blackmesa has joined #ruby
<bAmtUser> shevy: not sure how to do that without knowing the syntax, operators, etc...
<tewlz> php isn't any worse than javascript and we use that all the time. You can use bad langs and do good things with them.
Soda has quit [Remote host closed the connection]
<havenwood> shevy: "The use of COBOL cripples the mind..." ~Dijkstra
jonmorehouse has quit [Ping timeout: 260 seconds]
iamjarvo has joined #ruby
<bAmtUser> I did write out a functional factorial calculator using my own code.
<tewlz> 'I get quoted out of context a lot' ~Dijkstra
<bAmtUser> Tried making a premutaion, but that never worked
<havenwood> shevy: Or: It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.
<Hanmac> bAmtUser: there is a quickstart for you https://www.ruby-lang.org/en/documentation/quickstart/ and also look at the other links in the section
Vile` has joined #ruby
<bAmtUser> My Grandfather was on the time that wrote basic
<tewlz> wasn't Gates first language BASIC....
maletor has joined #ruby
<Hanmac> my first programming language was Q(uick)Basic on a 386 ... now i feel old
<tewlz> probably most of the best programmers alive today have used BASIC extensively
<VanillaGoat_> My first language was Ruby 1.9 on an old Core 2 Quad, those were the days
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<de_alex> ruby feels like sex after you learned python
<tewlz> it was at one point the most popular language of its time, after all, but apparently learning BASIC means you can't code well
MeMoCooL has joined #ruby
<havenwood> shevy: think this is true?: "PHP is a minor evil perpetrated and created by incompetent amateurs, whereas Perl is a great and insidious evil, perpetrated by skilled but perverted professionals.” ~Ribbens
<tewlz> VanillaGoat_: what was that, like three months ago?
<bAmtUser> havenwood: If it's so bad why are these languages so popular?
<VanillaGoat_> tewlz: closer to 12. kids today wouldn't understand
patrick99e99 has joined #ruby
<tewlz> VanillaGoat_: LOL
<bAmtUser> Kids today seem to only know about cell phones
x77686d has joined #ruby
<havenwood> bAmtUser: Dijkstra had a way with words. :P
<tewlz> you're so retro man. Teach me your ways
sarkis has joined #ruby
<wasamasa> bAmtUser: tell me why bigmacs are popular
<sarkis> hey all if i have a strings like "foo,bar,baz" and "foo, bar, baz" whats the best way to split it into a list/array?
<tewlz> wasamasa: I can tell you that. They are awesome.
jonmorehouse has joined #ruby
<bAmtUser> I have no idea I use Fedora and Windows
bryanjswift has left #ruby ["Bye."]
<sarkis> var="foo,bar, baz" var.split(',') will get me ["foo", "bar", " baz"] that space sneaks in :(
* wasamasa used to flip burgers
<de_alex> "Hello ruby programmer".split()
<tewlz> sarkis: kill all whitespace then use split
<wasamasa> >> "foo,bar, baz".split(/, ?/)
<eval-in_> wasamasa => ["foo", "bar", "baz"] (https://eval.in/205130)
ndrei has joined #ruby
<sarkis> ty :)
jasooon has quit [Ping timeout: 260 seconds]
gsd has joined #ruby
txdv_ has joined #ruby
patrick99e99 has quit [Ping timeout: 250 seconds]
txdv has quit [Ping timeout: 260 seconds]
<sarkis> "foo".split(/, ?/)
<sarkis> >> "foo".split(/, ?/)
<eval-in_> sarkis => ["foo"] (https://eval.in/205136)
<txdv_> >> "txdv " * 25
<eval-in_> txdv_ => /tmp/execpad-7d28405f7312/source-7d28405f7312:2: Invalid char `\x7F' in expression ... (https://eval.in/205137)
<de_alex> " A lot of shitty ,,,,,,".gsub(',','').gsub('lot','can').gsub('shitty','gold')
<txdv_> invaldi char?
<txdv_> >> "txdv " * 5
<eval-in_> txdv_ => "txdv txdv txdv txdv txdv " (https://eval.in/205138)
justinmburrous has joined #ruby
<txdv_> >> "shevy " * 5
<eval-in_> txdv_ => "shevy shevy shevy shevy shevy " (https://eval.in/205139)
<heftig> >> "foo,bar, baz".split(",").map { |x| x.strip }
<eval-in_> heftig => ["foo", "bar", "baz"] (https://eval.in/205140)
<wasamasa> heftig: heya
tomeara_ has joined #ruby
tanath has joined #ruby
tanath__ has quit [Ping timeout: 264 seconds]
<havenwood> >> "foo,bar, baz".each_char.chunk { |c| ![',', ' '].include? c }.select { |value, _| value }.map(&:last).map(&:join)
<eval-in_> havenwood => ["foo", "bar", "baz"] (https://eval.in/205141)
marr has joined #ruby
jonmorehouse has quit [Quit: WeeChat 0.4.3]
<Hanmac> >> "foo,bar, baz".scan(/\w+/)
<eval-in_> Hanmac => ["foo", "bar", "baz"] (https://eval.in/205142)
jamto11 has joined #ruby
babykosh has joined #ruby
<heftig> >> a="foo,bar, baz"; [a[0,3], a[4,3],a[9,3]]
<eval-in_> heftig => ["foo", "bar", "baz"] (https://eval.in/205143)
<havenwood> >> "foo,bar, baz".split /[[:punct:]]/
<eval-in_> havenwood => ["foo", "bar", " baz"] (https://eval.in/205144)
<heftig> >> "foo,bar, baz".split /[[:punct:][:space:]]/
<eval-in_> heftig => ["foo", "bar", "", "baz"] (https://eval.in/205145)
<heftig> hm
goshdarnyou has quit [Quit: Connection closed for inactivity]
<heftig> >> "foo,bar, baz".split /[[:punct:][:space:]]+/
<eval-in_> heftig => ["foo", "bar", "baz"] (https://eval.in/205146)
tomeara_ has quit [Ping timeout: 246 seconds]
<de_alex> regex?
lkba has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
wsmoak_ has joined #ruby
coderdad has joined #ruby
omosoj has joined #ruby
charliebr73 has quit [Quit: Leaving]
<havenwood> de_alex: i posted the requisite non-regexp solution above, be it silly
wsmoak has quit [Ping timeout: 260 seconds]
wsmoak_ is now known as wsmoak
<havenwood> CHUNK ALL THE THINKS \o/
txdv_ has quit [Ping timeout: 272 seconds]
robertkelly has joined #ruby
robertkelly has quit [Max SendQ exceeded]
tanath_ has joined #ruby
<sarkis> what is \W in a gsub?
<sarkis> word?
Jackneill has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<heftig> a="foo,bar, baz"; BasicObject.new.instance_eval { def self.method_missing(*args); args.join; end; ::Kernel.binding.eval "[#{a}]" }
<de_alex> "Sun is shining over the rainbow".scan(/\w+/).each_cons(2) {|a| p a }
<sarkis> nonword chars
<heftig> >> a="foo,bar, baz"; BasicObject.new.instance_eval { def self.method_missing(*args); args.join; end; ::Kernel.binding.eval "[#{a}]" }
<eval-in_> heftig => ["foo", "bar", "baz"] (https://eval.in/205147)
coderdad has quit [Ping timeout: 250 seconds]
<heftig> ewwww
<heftig> i feel even dirtier now
tanath has quit [Remote host closed the connection]
andrewjanssen has joined #ruby
larsam has joined #ruby
renderfu_ has joined #ruby
<havenwood> hah
<havenwood> ;)
dx7 has joined #ruby
<pipework> oh my
justinmburrous has quit [Remote host closed the connection]
timonv_ has joined #ruby
<de_alex> 'hello at all'.upcase
wald0 has joined #ruby
bluenemo has joined #ruby
bluenemo has joined #ruby
fabrice31 has joined #ruby
krisquigley has joined #ruby
ta has quit [Ping timeout: 255 seconds]
andrewjanssen has quit [Quit: Leaving...]
iamjarvo has joined #ruby
pasties has quit [Ping timeout: 250 seconds]
fabrice31 has quit [Ping timeout: 250 seconds]
nonks has joined #ruby
krisquigley has quit [Ping timeout: 258 seconds]
andrewjanssen has joined #ruby
agent_white has joined #ruby
robertkelly has joined #ruby
g0bl1n has joined #ruby
g0bl1n has quit [Remote host closed the connection]
ddv has left #ruby ["Leaving"]
robertkelly has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
GriffinHeart has quit [*.net *.split]
endash has quit [*.net *.split]
claymore has quit [*.net *.split]
radic_ has quit [*.net *.split]
oso96_2000 has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
rpag has quit [*.net *.split]
Snowstormer has quit [*.net *.split]
xrlabs has quit [*.net *.split]
njs126 has quit [*.net *.split]
dr_toboggan has quit [*.net *.split]
riceandbeans has quit [*.net *.split]
ccooke has quit [*.net *.split]
RealMarc has quit [*.net *.split]
mattp_ has quit [*.net *.split]
mozzarella has quit [*.net *.split]
DrForr_ has quit [*.net *.split]
pontiki has quit [*.net *.split]
Akuma has quit [*.net *.split]
pasv has quit [*.net *.split]
Brando753 has quit [*.net *.split]
zonetti_ has quit [*.net *.split]
deavid has quit [*.net *.split]
MatthewsFace has quit [*.net *.split]
gomikemike has quit [*.net *.split]
peterhu has quit [*.net *.split]
dandrade has quit [*.net *.split]
SirCmpwn has quit [*.net *.split]
phreax_ has quit [*.net *.split]
kke has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
flughafen has quit [*.net *.split]
snzmn has quit [*.net *.split]
yasu has quit [*.net *.split]
durnik has quit [*.net *.split]
mumblerit has quit [*.net *.split]
jrdnull has quit [*.net *.split]
programmerq has quit [*.net *.split]
tanath_ has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
Jamo has quit [*.net *.split]
end_guy has quit [*.net *.split]
St_Marx has quit [*.net *.split]
havenwood has quit [*.net *.split]
danguita has quit [*.net *.split]
durnik_ has joined #ruby
dandrade_ has joined #ruby
pontiki has joined #ruby
Jamo__ has joined #ruby
phreax has joined #ruby
dr_toboggan has joined #ruby
peterhu_ has joined #ruby
pasv has joined #ruby
snzmn has joined #ruby
DrForr has joined #ruby
riceandbeans has joined #ruby
ccooke has joined #ruby
yasu has joined #ruby
njs126 has joined #ruby
mumblerit has joined #ruby
xMopxShell has joined #ruby
flughafen has joined #ruby
rpag has joined #ruby
Akuma has joined #ruby
xrlabs has joined #ruby
mozzarella has joined #ruby
claymore has joined #ruby
MatthewsFace has joined #ruby
mattp_ has joined #ruby
jrdnull has joined #ruby
HelperW_ has joined #ruby
SirCmpwn has joined #ruby
mumblerit is now known as Guest73
radic has joined #ruby
GriffinHeart has joined #ruby
Snowstormer has joined #ruby
pasv is now known as Guest63586
Kilo`byte has joined #ruby
AlexRussia has joined #ruby
cu__ has joined #ruby
deavid has joined #ruby
Alina-malina has joined #ruby
axilla has joined #ruby
programmerq has joined #ruby
jimbach has quit [Remote host closed the connection]
zonetti has joined #ruby
jimbach has joined #ruby
ht__th has quit [Remote host closed the connection]
phutchins has joined #ruby
<shevy> >> 'hello at all'.upcase
<eval-in_> shevy => "HELLO AT ALL" (https://eval.in/205152)
oso|away has joined #ruby
RealMarc has joined #ruby
oso|away is now known as oso96_2000
cubicme has quit [Read error: Connection reset by peer]
ValicekB has quit [Ping timeout: 258 seconds]
Brando753 has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
kke has joined #ruby
gomikemike has joined #ruby
tanath_ has joined #ruby
St_Marx has joined #ruby
havenwood has joined #ruby
end_guy has joined #ruby
danguita has joined #ruby
tanath_ has quit [Max SendQ exceeded]
HelperW_ has quit [Ping timeout: 272 seconds]
cubicme has joined #ruby
jimbach has quit [Ping timeout: 260 seconds]
tanath_ has joined #ruby
Channel6 has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
hypercube32 has quit [Remote host closed the connection]
goshdarnyou has joined #ruby
justinmburrous has joined #ruby
Trynemjoel has quit [Ping timeout: 265 seconds]
flughafen has quit [Changing host]
flughafen has joined #ruby
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
vinleod has joined #ruby
tanath_ has quit [Changing host]
tanath_ has joined #ruby
goshdarnyou has quit [Changing host]
goshdarnyou has joined #ruby
dx7_ has joined #ruby
Trynemjoel has joined #ruby
dx7 has quit [Ping timeout: 258 seconds]
<Hanmac> shevy the gem will not pushed in 2 hours, i am to sleepy now and i want to add more testcases tomorrow, so no midnight release maybe
nonks has quit [Ping timeout: 260 seconds]
vinleod has quit [Client Quit]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdj_dk has joined #ruby
<gizmore> when id do: foo rescue nil --- what exceptions will it rescue?
nonks has joined #ruby
<rpag> >> raise Exception, "foo" rescue nil
<eval-in_> rpag => foo (Exception) ... (https://eval.in/205153)
ValicekB has joined #ruby
maestrojed has joined #ruby
<rpag> looks like StandardError
chipotle has joined #ruby
decoponyo has quit [Quit: Leaving...]
<shevy> Hanmac no need to rush it, take your time - finish before october is over so that's still more than 2 weeks!
txdv has joined #ruby
babykosh has quit [Quit: babykosh]
<bAmtUser> All: HA! I got a basic permutaion to work!!!!
oleo__ is now known as oleo
bMalum has joined #ruby
dmitriy_ has joined #ruby
onkelhotte_ has quit [Ping timeout: 255 seconds]
bluenemo has quit [Quit: Verlassend]
kaspertidemann has quit []
maestrojed has quit [Quit: Textual IRC Client: www.textualapp.com]
axilla has quit [Ping timeout: 272 seconds]
dmitriy_ has left #ruby ["Leaving"]
danijoo has quit [Read error: Connection reset by peer]
robertkelly has joined #ruby
Rollabunna has quit [Remote host closed the connection]
robertkelly has quit [Max SendQ exceeded]
sevvie has quit [Quit: leaving]
danijoo has joined #ruby
Rollabunna has joined #ruby
sevvie has joined #ruby
<gizmore> bAmtUser: permutation is a standard function in arrays :)
sevvie has quit [Client Quit]
sevvie has joined #ruby
zlude has joined #ruby
<shevy> lol
<shevy> bAmtUser try to write code that solves real problems you have
vlm has joined #ruby
<shevy> like making automatic backups
tomeara_ has joined #ruby
<shevy> or a webpage where you can do that
<zlude> Hello! someone can help me to understand this code? why .nil? at the and? etc, look: http://pastebin.com/tCEZd0Dq
<shevy> and there you also learn how to structure things into modules
vlm has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 255 seconds]
<tobiasvl> zlude: if params[:url] doesn't match URI::regexp, there are no matches and the match is nil
dorei has joined #ruby
<tobiasvl> so .nil? tests if it's nil
iamjarvo has joined #ruby
jdj_dk has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
<zlude> tobiasvl, oh! and the =~ ?
sinkensabe has quit [Remote host closed the connection]
HelperW_ has joined #ruby
<tobiasvl> matches a regex and a string
maletor has quit [Quit: Computer has gone to sleep.]
<zlude> thanks!
<tobiasvl> there you can also see when it returns nil
sinkensabe has joined #ruby
t_mmyv has quit [Quit: Textual IRC Client: www.textualapp.com]
tomeara_ has quit [Ping timeout: 255 seconds]
tbrock has quit [Quit: Computer has gone to sleep.]
<bAmtUser> shevy: provide ma an example
Jamo__ is now known as Jamo
<shevy> bAmtUser well, it is the transition from doing: "def foo; end" towards putting it into a class or a module
<shevy> one class per .rb file rule
<shevy> and then load up other .rb files properly
<shevy> ideally all in the same common module namespace, the name of your project
coderdad has joined #ruby
<shevy> module Foobar # for project foobar.rb or if you use subdirectories
lw has quit [Quit: s]
<shevy> you can then put things into those subdirectories
<shevy> require 'foobar/core/string.rb'
endash has joined #ruby
<pipework> that .rb
ybit3 has joined #ruby
timonv_ has quit [Remote host closed the connection]
heath has left #ruby [#ruby]
jimbach has joined #ruby
timonv_ has joined #ruby
pasties has joined #ruby
sinkensabe has quit [Ping timeout: 240 seconds]
<bAmtUser> shevy I'll get there. Got the combination working as well BTW
HelperW_ has quit [Ping timeout: 260 seconds]
coderdad has quit [Ping timeout: 240 seconds]
jasooon has joined #ruby
jimbach has quit [Ping timeout: 258 seconds]
timonv_ has quit [Ping timeout: 240 seconds]
<omosoj> what are the most widely used procedural languages today?
claymore has quit [Quit: Leaving]
<benzrf> omosoj: C
<benzrf> python, java, ruby can be written procedurally
<benzrf> esp. py
<omosoj> so C separates behavior and data, right?
ki0 has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
awestroke has quit [Read error: Connection reset by peer]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justinmburrous has quit [Remote host closed the connection]
klaut_ has joined #ruby
oleo__ has joined #ruby
iamjarvo has joined #ruby
klaut_ has quit [Read error: Connection reset by peer]
klaut_ has joined #ruby
kristofferR has joined #ruby
chrishough has joined #ruby
francisfish has quit [Ping timeout: 250 seconds]
<OffTheRails> hey, does enumerable module have any destructive methods?
klaut has quit [Ping timeout: 260 seconds]
<OffTheRails> if not, why? can't seem to piece it together
oleo is now known as Guest56907
Guest56907 has quit [Ping timeout: 272 seconds]
phutchins has quit [Ping timeout: 245 seconds]
hendricius has quit [Ping timeout: 245 seconds]
einarj has quit [Remote host closed the connection]
<shevy> that's babelfish competition level
olivier_bK has joined #ruby
jamto11 has quit [Remote host closed the connection]
sivoais has quit [Read error: Connection reset by peer]
mark06 has joined #ruby
pasties has quit [Ping timeout: 250 seconds]
jimmyy has joined #ruby
dope has quit [Quit: Connection closed for inactivity]
jimmyy has quit [Max SendQ exceeded]
jimmyy has joined #ruby
ramfjord has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davedev2_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
HelperW_ has joined #ruby
dope has joined #ruby
rbrs has joined #ruby
pasties has joined #ruby
HelperW__ has joined #ruby
max96at is now known as max96at|off
St_Marx has quit [Ping timeout: 264 seconds]
St_Marx has joined #ruby
oleo__ has quit [Quit: Verlassend]
cads has joined #ruby
HelperW_ has quit [Ping timeout: 260 seconds]
pasties has quit [Ping timeout: 265 seconds]
bogeyd6 has joined #ruby
HelperW__ has quit [Ping timeout: 260 seconds]
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
HelperW__ has joined #ruby
sterns has joined #ruby
jamto11 has joined #ruby
hendricius has joined #ruby
stunder has joined #ruby
x77686d has quit [Quit: x77686d]
<sterns> hello all, I've written a ruby script that works with the nokogiri gem. The script works fine from the command line. Now I'm trying to get this same script running within a rails project and Rails can't find the gem. I get : cannot load such file -- nokogiri -- T\his project was created before I installed nokogiri, is there something I need to do to get this gem into my rails project?
aspires has joined #ruby
OffTheRails has quit [Ping timeout: 245 seconds]
jdj_dk has quit [Remote host closed the connection]
druznek has joined #ruby
<havenwood> sterns: Add Nokogiri to you Gemfile and rerun `bundle`.
jdj_dk has joined #ruby
<sterns> Is that done by running 'gem nokogiri'?
<ferr> If I have date = Date.today variable at index page, how do test it through RSpec?
<ferr> I get undefined local variable error
<zlude> using just ruby can i check if a url is a domain or subdomain?
davedev2_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
tricon_ has joined #ruby
<havenwood> sterns: Adding the line `gem 'nokogiri'` to your Gemfile file in the project root directory.
HelperW__ has quit [Ping timeout: 240 seconds]
dx7_ has quit [Remote host closed the connection]
tricon_ has quit [Client Quit]
pasties has joined #ruby
<Hanmac> ferr require "date"
oleo has joined #ruby
timonv_ has joined #ruby
jdj_dk has quit [Ping timeout: 250 seconds]
olivier_bK has quit [Ping timeout: 260 seconds]
<havenwood> zlude: You might consider using the PublicSuffic gem: https://github.com/weppos/publicsuffix-ruby#readme
dbslone has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
<havenwood> zlude: PublicSuffix.parse('google.com').is_a_subdomain? #=> false
stunder has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
<waxjar> why not #subdomain? :(
<havenwood> PublicSuffix.parse('google.com').is_a_domain? #=> true
<zlude> havenwood, awesome! thanks!
justinmburrous has joined #ruby
<sterns> havenwood: thank you! I did that, it shows that nokogiri was added to the bundle. My app is still giving same error, do I need to restart the server or something?
<havenwood> sterns: did you run?: bundle
<sterns> havenwood: yes
<havenwood> sterns: and what command are you then running that fails?
Avahey has quit [Quit: Connection closed for inactivity]
timonv_ has quit [Ping timeout: 272 seconds]
<havenwood> sterns: bundle exec ...?
<havenwood> sterns: or if not prefixing bundle exec, are you using rubygems-bundler? in other words, are you running the command within the context of your bundle?
mark06 has left #ruby ["http://pidgin.renatosilva.me - Pidgin++"]
omosoj has quit [Ping timeout: 250 seconds]
<havenwood> sterns: well, restart the app
<sterns> no, when I attempt to run my rails app, I get the same error I've been getting: cannot load such file -- nokogiri
<havenwood> sterns: start it how?
<havenwood> sterns: for example: bundle exec rails server
<Hanmac> ping shevy
patrick99e99 has quit [Ping timeout: 240 seconds]
Guest73 is now known as mumblerit
<havenwood> >> 'ping'.bytes.zip('shevy'.bytes).map { |a, b| (a ^ b) + 32 }.map(&:chr).join
<eval-in_> havenwood => "#!+1" (https://eval.in/205163)
TheNet has joined #ruby
<sterns> havenwood: restarting apache in my case did the trick!
<havenwood> sterns: good deal
<Hanmac> might be a bit early, but there is the present for 13.10.2014: https://rubygems.org/gems/rwx
sysTemz- has joined #ruby
<havenwood> Hanmac: \o/
<havenwood> quick!: gem install rwx --pre
chrisja has joined #ruby
username has quit [Remote host closed the connection]
MeMoCooL has quit [Ping timeout: 260 seconds]
* Hanmac makes finger-quotes around the word "quick"
sysTemz-_ has joined #ruby
tomeara_ has joined #ruby
<havenwood> anyone else playing with transducers?: https://github.com/cognitect-labs/transducers-ruby#readme
jimbach has joined #ruby
AmBienCeD has quit []
AmBienCeD has joined #ruby
<benzrf> i made athing called quick!
dbslone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf> lmao haskell has had stream transducers for what .... 10000000 years? B)
sysTemz- has quit [Ping timeout: 245 seconds]
AmBienCeD has quit [Client Quit]
jamto11_ has joined #ruby
jimmyy has quit [Ping timeout: 246 seconds]
AmBienCeD has joined #ruby
AmBienCeD has joined #ruby
AmBienCeD has quit [Changing host]
<havenwood> benzrf: i think it's kind of interesting that they've implemented the same transducers interface for Clojure, Java, Javascript and Ruby so far though
pasties has quit [Ping timeout: 250 seconds]
fabrice31 has joined #ruby
jimmyy has joined #ruby
jimmyy has quit [Max SendQ exceeded]
<havenwood> benzrf: Rich Hickey is making transducers of us all!
tomeara_ has quit [Ping timeout: 240 seconds]
jimmyy has joined #ruby
<benzrf> hella
jimmyy has quit [Max SendQ exceeded]
<benzrf> i saw him in person B)
<havenwood> benzrf: :O
<benzrf> when they announced transit
jamto11 has quit [Ping timeout: 246 seconds]
aspires has quit []
jimmyy has joined #ruby
codecop has quit [Remote host closed the connection]
nonks has quit [Ping timeout: 244 seconds]
krisquigley has joined #ruby
coderdad has joined #ruby
jimbach has quit [Ping timeout: 272 seconds]
aspires has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
nonks has joined #ruby
Sailor11489 has joined #ruby
coderdad has quit [Ping timeout: 246 seconds]
sivoais has joined #ruby
<Hanmac> benzrf also interested in a GUI toolkit gem? (yeah i know i need to add more stuff but thats the very first gem push)
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<benzrf> im ok
krisquigley has quit [Ping timeout: 272 seconds]
aspires has quit []
aspires has joined #ruby
monkeypatch has quit [Quit: Textual IRC Client: www.textualapp.com]
luckyruby has joined #ruby
thiagofm has quit [Remote host closed the connection]
AmBienCeD has quit [Remote host closed the connection]
AmBienCeD has joined #ruby
kobain has quit [Ping timeout: 260 seconds]
agent_white has quit [Quit: leaving]
justinmburrous has quit [Remote host closed the connection]
monkeypatch has joined #ruby
jamto11 has joined #ruby
de_alex has quit [Quit: Leaving]
sysTemz- has joined #ruby
jottr_ has quit [Ping timeout: 240 seconds]
jamto11_ has quit [Ping timeout: 240 seconds]
startupality has joined #ruby
cads has quit [Read error: Connection reset by peer]
sysTemz-_ has quit [Ping timeout: 246 seconds]
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davasaurous has joined #ruby
tomeara_ has joined #ruby
Haiiro has quit [Quit: Textual IRC Client: www.textualapp.com]
alem0lars has quit [Quit: alem0lars]
threesixes has quit [Remote host closed the connection]
Haiiro has joined #ruby
Haiiro has quit [Max SendQ exceeded]
freerobby has quit [Quit: Leaving.]
username has joined #ruby
Guest26596 is now known as lnong
cu__ has quit [Quit: Computer has gone to sleep.]
kobain has joined #ruby
Sailor11489 has quit [Read error: Connection reset by peer]
jimmyy has quit [Ping timeout: 260 seconds]
cu__ has joined #ruby
rbrs has quit [Remote host closed the connection]
gsd has joined #ruby
bMalum has quit [Quit: bMalum]
aspires has quit []
aspires has joined #ruby
ki0 has quit [Remote host closed the connection]
andrewjanssen has joined #ruby
cu__ has quit [Ping timeout: 260 seconds]
Hightower_ has quit [Ping timeout: 258 seconds]
ramfjord has quit [Ping timeout: 272 seconds]
Hightower_ has joined #ruby
omosoj has joined #ruby
jamto11 has quit [Remote host closed the connection]
echevemaster has quit [Remote host closed the connection]
jamto11 has joined #ruby
druznek has quit [Ping timeout: 244 seconds]
TheNet has quit [Quit: Leaving...]
aspires has quit []
anaeem1_ has quit [Remote host closed the connection]
jamto11 has quit [Ping timeout: 258 seconds]
jdj_dk has joined #ruby
aspires has joined #ruby
emocakes has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
andrewlio has quit [Quit: Leaving.]
anaeem1_ has joined #ruby
slester has joined #ruby
klaut_ has quit [Remote host closed the connection]
echevemaster has joined #ruby
boombadaroomba has joined #ruby
neonixcoder has joined #ruby
benzrf is now known as benzrf|offline
txdv_ has joined #ruby
txdv has quit [Ping timeout: 260 seconds]
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Soliah has quit [Quit: Soliah]
zlude has quit [Ping timeout: 246 seconds]
boombadaroomba has quit [Ping timeout: 240 seconds]
anaeem1_ has quit [Remote host closed the connection]
ramfjord has joined #ruby
monkeypatch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
m8 has quit [Quit: Sto andando via]
sysTemz- has quit [Quit: oooooh]
benzrf|offline is now known as benzrf
phone_ has joined #ruby
starless has joined #ruby
anaeem1_ has joined #ruby
littlebir has quit [Remote host closed the connection]
jimbach has joined #ruby
Rollabunna has joined #ruby
jadedphone has quit [Ping timeout: 260 seconds]
Imofftopic has joined #ruby
jdj_dk has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
zcreative has quit [Quit: (null)]
Imofftopic has quit [Client Quit]
monkeypatch has joined #ruby
Rollabunna has quit [Ping timeout: 272 seconds]
sinkensabe has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
neonixcoder has quit [Quit: Leaving.]
Javi has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Javi has joined #ruby
Javi is now known as Guest22067
coderdad has joined #ruby
zlude has joined #ruby
<zlude> Hello!, what is wrong? http://s30.postimg.org/svfipv8yp/Screen_Shot_2014_10_12_at_7_39_23_PM.png someone can help me?
sinkensabe has quit [Ping timeout: 260 seconds]
starless has quit [Quit: Leaving]
coderdad has quit [Ping timeout: 255 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
msmith_ has joined #ruby
msmith_ has quit [Remote host closed the connection]
banister has joined #ruby
msmith_ has joined #ruby
HowardwLo has joined #ruby
HowardwLo has left #ruby [#ruby]
nonks has quit [Ping timeout: 246 seconds]
<zlude> Someone are wrong here? https://gist.github.com/barrosfilipe/64b82086129659d964db because when i post the form i get a error at line 19, with "When assigning attributes, you must pass a hash as an argument."
anaeem1_ has quit [Remote host closed the connection]
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
jimbach has quit [Remote host closed the connection]
spastorino has joined #ruby
jimbach has joined #ruby
<shevy> then pass a hash
aspires has quit []
<shevy> what does params[:url] yield ?
hmsimha has quit [Ping timeout: 255 seconds]
aspires has joined #ruby
<benzrf> i keep reading padrinorb.com as "padrino orb"
autonomousdev has joined #ruby
autonomousdev has quit [Client Quit]
autonomousdev has joined #ruby
jimbach has quit [Ping timeout: 260 seconds]
CodeBunny has joined #ruby
jimbach has joined #ruby
insaneinside has joined #ruby
<waxjar> zlude: ShortenedUrl#new wants a Hash but you're giving it a String (i suspect it is)
<zlude> waxjar, i'm a beginner in ruby, what i need to do then? wants a hash?
jdj_dk has joined #ruby
<waxjar> the argument (params[:url) to ShortenedUrl.new is not a Hash, but it should be
BadQuanta has joined #ruby
havenwood has quit [Remote host closed the connection]
jimbach has quit [Remote host closed the connection]
tylersmith has joined #ruby
larissa has joined #ruby
tomeara_ has quit [Quit: Lingo - http://www.lingoirc.com]
havenwood has joined #ruby
jimbach has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
ARCADIVS has joined #ruby
slester has quit [Ping timeout: 244 seconds]
pasties has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
MeMoCooL has joined #ruby
Techguy305 has joined #ruby
aspires has quit []
jimbach has quit [Ping timeout: 272 seconds]
andrewjanssen has joined #ruby
PsionTheory has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 264 seconds]
jimmyy has joined #ruby
jimmyy has quit [Max SendQ exceeded]
jimmyy has joined #ruby
Phrogz has joined #ruby
neonixcoder has joined #ruby
Phrogz is now known as Guest44949
xcyclist has quit [Ping timeout: 246 seconds]
dope has quit [Quit: Connection closed for inactivity]
endash has quit [Quit: endash]
<zlude> waxjar, my fault! i used name="url" in my view, i change it by name="ShortenedUrl[url]" and works!
andrewjanssen has quit [Quit: Leaving...]
<waxjar> zlude: that's not a good way, because someone can hand-craft a POST request and put things in your database now!
<waxjar> if i made an extra field with "name=ShortenedUrl[id]" i can choose my own id
<zlude> waxjar, make sense, so, what i need to do?
<waxjar> a better solution would be to do something like ShortenedUrl.new "{ url" => params[url] }
<waxjar> eh, shift that first " 2 places to the right :p
Guest44949 has joined #ruby
Guest44949 has quit [Changing host]
<waxjar> (you can leave off the { and } if you like)
nonks has joined #ruby
banister has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<Guest44949> Heh
jdj_dk has quit [Ping timeout: 245 seconds]
banister has joined #ruby
Guest44949 has quit []
neonixcoder has quit [Quit: Leaving.]
<zlude> waxjar, like that? @short_url = ShortenedUrl.new("url" => params[:url])
<waxjar> yes
msmith_ has quit [Remote host closed the connection]
<zlude> waxjar, sinatra and rails aways require model name in view forms?
<waxjar> no, i don't think so
iamjarvo has quit [Client Quit]
<zlude> waxjar, when i source code on rails apps i aways see forms using User[name] User[password]
<waxjar> idk about rails, i don't use it.
wsmoak_ has joined #ruby
wsmoak_ has joined #ruby
tewlz has quit [Ping timeout: 260 seconds]
<insaneinside> zlude: have you tried the #rubyonrails channel?
nonks has quit [Ping timeout: 255 seconds]
bogeyd6 has quit [Ping timeout: 244 seconds]
Techguy305 has quit [Remote host closed the connection]
slester has joined #ruby
bogeyd6 has joined #ruby
wsmoak has quit [Ping timeout: 260 seconds]
wsmoak_ is now known as wsmoak
ringarin has quit [Ping timeout: 258 seconds]
ringaroses2 has quit [Ping timeout: 258 seconds]
Phrogz2 has joined #ruby
Phrogz2 is now known as Phrogz
Phrogz has quit [Changing host]
Phrogz has joined #ruby
D9 has joined #ruby
patrick99e99 has joined #ruby
fabrice31 has joined #ruby
jobewan has joined #ruby
RichardLitt has joined #ruby
monkeypatch has quit [Quit: Textual IRC Client: www.textualapp.com]
krisquigley has joined #ruby
NullEntity has joined #ruby
jobewan has quit [Client Quit]
monkeypatch has joined #ruby
monkeypatch has quit [Max SendQ exceeded]
x77686d has joined #ruby
jimbach has joined #ruby
x77686d has quit [Client Quit]
<NullEntity> I'm trying to fix some stupid function in my editor. It's wrapping around the selected text with code "input.gsub(/[\$`\\]/, '\\1').gsub(/([ \t]*)(.+)/, '\1<${1:li}>\2</${1:li}>')". The problem is attributes in the opening tag are being copied into the closing tag. I can't figure out what the hell ${1:li} means otherwise I could probably get it. What does that do?
patrick99e99 has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Ping timeout: 272 seconds]
<NullEntity> it's a script in my html editor. If I try to do <a href="index.html"> it'll close it with </a href="index.html"> instead of </a> because of that regex
<insaneinside> huh, not related, but that first gsub call looks funny. You're replacing any instances of dollar, backtick, or backslash with "backslash one"...
krisquigley has quit [Ping timeout: 240 seconds]
<NullEntity> it's a script bundled with Aptana's editor. Let me try that out lol
Haiiro has joined #ruby
maeex has joined #ruby
penzrgb has joined #ruby
<NullEntity> https://gist.github.com/NullEntity/48fe0e1c77843166f797 well here's the full script
<NullEntity> maybe it has something to do with whatever calls it
<NullEntity> it seems to preserve `s and $s
<insaneinside> hmm
tewlz has joined #ruby
<insaneinside> >> "$`\\".gsub(/[\$`\\]/, '\\1')
<eval-in_> insaneinside => "" (https://eval.in/205167)
<insaneinside> empty.
<insaneinside> anywho, *i* don't recognize the ${} syntax used in the replacement for the second gsub call. Could be editor-specific?
ramfjord has quit [Ping timeout: 250 seconds]
havenwood has joined #ruby
<NullEntity> that's possible
kirun has quit [Quit: Client exiting]
Phrogz has quit [Remote host closed the connection]
tbrock has joined #ruby
coderdad has joined #ruby
jdj_dk has joined #ruby
maeex has quit [Quit: maeex]
wethu has joined #ruby
Rollabunna has joined #ruby
devdazed has joined #ruby
coderdad has quit [Ping timeout: 258 seconds]
jhass is now known as jhass|off
jobewan has joined #ruby
zlude has quit [Quit: Page closed]
apeiros has joined #ruby
emocakes has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
nonks has joined #ruby
aspires has joined #ruby
VanillaGoat__ has joined #ruby
jdj_dk has quit [Ping timeout: 255 seconds]