apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
multi_io has joined #ruby
DadoCe has joined #ruby
yfeldblum has joined #ruby
n80 has joined #ruby
wallerdev has quit [Quit: wallerdev]
agrinb has quit [Remote host closed the connection]
agrinb has joined #ruby
Kricir has quit [Remote host closed the connection]
iamninja has quit [Quit: ZZZzzz…]
FooMunki has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
vinleod has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
gsd has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
mary5030 has joined #ruby
snile has quit [Quit: Page closed]
wallerdev has joined #ruby
lkba has quit [Read error: Connection reset by peer]
Stalkr_ has quit [Quit: Leaving...]
<diegoviola> " Ruby is just not attracting the attention and crowdfare it used to. Engine Yard used to be Ruby only (and supported JRuby and Rubinus ...) and has since added more languages as Ruby is not the beginning nor the end. That isn't saying Ruby is dying; just there is competition and sometimes it's hard to compete."
lkba has joined #ruby
<diegoviola> what do you say to that?
<shevy> diegoviola that in the end people will use what can deliver value to them
MartynKeigher has joined #ruby
adamski2600 has quit []
GaryOak_ has quit [Remote host closed the connection]
sinkensabe has quit [Read error: Connection reset by peer]
Xiti has quit [Quit: Xiti]
<shevy> ruby isn't sufficiently kick-ass
jds has quit [Quit: Connection closed for inactivity]
JoshGlzBrk has joined #ruby
Xiti has joined #ruby
oleo has quit [Ping timeout: 244 seconds]
sinkensabe has joined #ruby
<apeiros_> diegoviola: are you on a soul search or something?
<diegoviola> soul search? what's that?
<diegoviola> no
<apeiros_> so what's the point of your recent set of questions?
Heskie has quit []
<diegoviola> apeiros_: just confused as to why people say that a language is "dying"
<diegoviola> apeiros_: I'm confused about this
<apeiros_> and you think things will clear up by pointing at articles and asking "what do you say to that?"?
<diegoviola> I was looking for a response that makes sense, so far nobody said anything that makes snse
<diegoviola> sense
<waxjar> the amount of people in this channel alone is enough to refute the statement "ruby is dying" imo
<diegoviola> yes I know
<apeiros_> diegoviola: you're saying in all of the questions you asked, nobody said something which made sense?
spider-mario has quit [Read error: Connection reset by peer]
<apeiros_> because you and me both know this is not your first question…
<diegoviola> apeiros_: ok sorry if it bother you then
<apeiros_> no, I'm interested. I want to know.
<diegoviola> apeiros_: I understand some people would think "ruby is dying" because they think commercial usage/interest has decreased
<diegoviola> apeiros_: but commercial interest isn't everything in my opinion
<diegoviola> apeiros_: I don't understand why people judge a language solely on commercial usage or interest
<diegoviola> is it because of jobs? and people being paid to write Ruby? well, that makes sense
thumpba has quit [Remote host closed the connection]
<diegoviola> but why say a language is dying because of this?
<diegoviola> I shouldn't have said "nobody said anything that made sense", sorry
spassdfasdfadsf has joined #ruby
spassdfasdfadsf has quit [Client Quit]
<waxjar> because other languages now make the headlines on hackernews, reddit, etc? dunno, it's silly
<shevy> diegoviola why do you think that my statement did not make any sense?
<apeiros_> diegoviola: it doesn't seem to me like you are confused
<diegoviola> shevy: I didn't said that, sorry if that's what you got from me
<diegoviola> shevy: english isn't my primary language
<shevy> in your reply to apeiros_ ;)
Akuma has quit [Quit: So long sukkas!]
<shevy> I don't think you will find many companies that want to limit themselves to a single language
<shevy> you not only have a given language to consider but also the extra options provided by add-ons
<shevy> like php is crap but phpbb and mediawiki are good
<shevy> dying is a relative term
LouisRoR1 has quit [Ping timeout: 250 seconds]
<diegoviola> yeah well, sorry for saying "nobody said anything that makes sense", I shouldn't have said this
<shevy> you have more and more people use the internet so they provide more value to all programming languages that rely in one way or the other on the internet
<shevy> and some languages are better than others
skyjumper has joined #ruby
<shevy> so from the pool of new developers, they'll pick preferrentially a language that can help them achieve what they desire to quickly
gccostabr has joined #ruby
gccostabr has quit [Max SendQ exceeded]
<shevy> and other languages not so much, hence they are "dying"
MartynKeigher has quit [Read error: No route to host]
<shevy> but they could still be gaining more new devs than losing old devs!
gccostabr has joined #ruby
gccostabr has quit [Max SendQ exceeded]
<shevy> the biggest problem of ruby is that people associate it heavily with rails
MartynKeigher has joined #ruby
gccostabr has joined #ruby
<shevy> and javascript
AlSquire has quit [Quit: This computer has gone to sleep]
jottr has quit [Ping timeout: 258 seconds]
Pupeno has joined #ruby
<shevy> hmm
<shevy> if you have:
dc has joined #ruby
<shevy> module Foo; def self.bar; end; end
<shevy> and you wish to alias to Foo.bar, what would the shortest way be?
sinkensabe has quit [Read error: Connection reset by peer]
<waxjar> from Foo or from somewhere else?
<shevy> hmm either way is ok, I just look for the maximum shortness
<shevy> for regular methods, we have: alias foo bar
carvantes has joined #ruby
<shevy> for class methods... there is this awful class << self syntax... that's like 2x the amount of characters...
basex has joined #ruby
<waxjar> from Foo i think opening the singleton class would work (class << self; alias_method :shevy, :bar; end)
mloveless has quit [Remote host closed the connection]
DadoCe has quit [Remote host closed the connection]
<waxjar> if it's just one method, i'd prefer just defining that method though
<shevy> hmm
MartynKeigher has quit [Ping timeout: 240 seconds]
<shevy> could a new method work? something like... alias_class_method ?
sinkensabe has joined #ruby
<shevy> so that you could avoid class << self
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ta has joined #ruby
hamakn has joined #ruby
MartynKeigher has joined #ruby
<diegoviola> apeiros_: the thing is, the only expectation I have is for people to be honest, I don't like FUD and bs, if they seriously think Ruby is dying I want to know the reasons but all I heard from that group is that Ruby isn't being used as much in commercial environments as it was before, if they are using FUD to market their new VM with whatever features they think are cool, I simply would prefer if they just say
<diegoviola> that instead, no need to trash something just to promote their stuff
Deele has quit [Ping timeout: 244 seconds]
<apeiros_> shevy: singleton_class.send :alias_method, :baz, :bar
icebourg has quit []
mloveless has joined #ruby
oleo has joined #ruby
<apeiros_> shevy: or: class Module; def alias_singleton_method(a, b); singleton_class.send :alias_method, a, b; end; end
<shevy> cool... I don't think I saw singleton_class before ... singleton_class # => #<Class:#<Object:0xb8e2b1f8>>
<apeiros_> and then just: class Foo; …defs…; alias_singleton_method a, b
<bradland> diegoviola: people judge the “death” of a programming language by how much they read about it on websites like Hacker News, or how much they hear about it being used at hot startup X. the problem is that these sources represent a very tiny portion of the market.
<bradland> at the end of the day, it doesn’t matter, because these arguments are pointless.
<waxjar> i don't hear much exciting stuff about java but it's far from dead!
<bradland> ^ exactly
hephaestus_rg has quit [Ping timeout: 244 seconds]
ta has quit [Ping timeout: 244 seconds]
<bradland> enterprise procurement app built using RoR: http://www.coupa.com
MartynKeigher has quit [Read error: No route to host]
<bradland> you’ll never hear about it on places like HN, because it’s not sexy and it’s not consumer
MartynKeigher has joined #ruby
dc has quit [Remote host closed the connection]
<bradland> our app is also in the procurement space, and is built on RoR, but i won’t post a link here because i don’t want to come across as advertising
<bradland> i have no affiliation with the previous example i provided other than having met them when i was in chicago
<shevy> you work for them!!!
Deele has joined #ruby
dc has joined #ruby
<bradland> heh, they’re kind of a competitor to my company :)
<shevy> see diegoviola? it is all about rails and javascript these days :(
sevenseacat has joined #ruby
<bradland> i’m headed to dinner. have fun convincing anyone that ruby isn’t dead lol
alvaro_o has joined #ruby
edwardloveall has joined #ruby
mliq has joined #ruby
pietr0 has quit [Quit: pietr0]
arescorpio has joined #ruby
i8igmac has quit [Ping timeout: 240 seconds]
gccostabr has quit [Quit: ZZZzzz…]
i8igmac has joined #ruby
dc has quit [Ping timeout: 245 seconds]
jrhe has quit [Quit: jrhe]
MartynKeigher has quit [Ping timeout: 272 seconds]
mliqu has quit [Ping timeout: 265 seconds]
djdarkbeat has joined #ruby
jottr has joined #ruby
studiotate has quit [Quit: Computer has gone to sleep.]
mloveless has quit [Remote host closed the connection]
<shevy> hmm
dc has joined #ruby
Deele has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
jottr has quit [Ping timeout: 258 seconds]
ta has joined #ruby
dc has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 244 seconds]
<shevy> is there a way to fetch conditional user input?
<shevy> for instance: by default, read until the user types a newline. but if the first line contains a "'" character, then only stop when you see another "'" character
i8igmac has quit [Ping timeout: 245 seconds]
alvaro_o has quit [Quit: Ex-Chat]
blackmesa has quit [Ping timeout: 272 seconds]
dc has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ohaibbq has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
sinkensabe has quit [Read error: Connection reset by peer]
i8igmac has joined #ruby
Pupeno has quit [Remote host closed the connection]
ta has quit [Ping timeout: 258 seconds]
Zekka has joined #ruby
sinkensabe has joined #ruby
jerrett_ has quit [Ping timeout: 250 seconds]
Elan10993245 has joined #ruby
_ixti_ has quit [Ping timeout: 245 seconds]
jerrett has joined #ruby
dc_ has joined #ruby
dc_ has quit [Remote host closed the connection]
Menorah has quit [Quit: This computer has gone to sleep]
DadoCe has joined #ruby
dc has quit [Ping timeout: 250 seconds]
MartynKeigher has joined #ruby
dc has joined #ruby
Musashi007 has quit [Ping timeout: 255 seconds]
ziyadb has quit [Quit: Connection closed for inactivity]
<edwardloveall> shevy: yeah
Menorah has joined #ruby
<edwardloveall> let me find it
_ixti_ has joined #ruby
<edwardloveall> oh hmmm
Elan10993245 has quit [Ping timeout: 265 seconds]
<edwardloveall> you can do it, but it starts to get complicated really quickly
dc has quit [Remote host closed the connection]
<edwardloveall> you could use getch
<edwardloveall> instead of gets
<edwardloveall> put it in a loop and check each character
<shevy> hmm
crueber has joined #ruby
Pupeno has joined #ruby
kirun has quit [Quit: Client exiting]
<shevy> ok
mloveless has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
<edwardloveall> let me know if you need code sample
MartynKeigher has quit [Ping timeout: 255 seconds]
<edwardloveall> i can try to make one
sinkensabe has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
<shevy> no that seems simple enough
<shevy> loop {} + STDIN.getch
kotk_ has joined #ruby
<edwardloveall> yeah
robustus has joined #ruby
MartynKeigher has joined #ruby
kotk has quit [Ping timeout: 258 seconds]
TeddyMurray has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
MartynKeigher has quit [Read error: No route to host]
basex has quit [Ping timeout: 240 seconds]
MartynKeigher has joined #ruby
Pupeno has quit [Remote host closed the connection]
loc22 has joined #ruby
hamakn has quit [Remote host closed the connection]
Musashi007 has joined #ruby
pardusf has quit [Ping timeout: 272 seconds]
reset has quit [Quit: Leaving...]
parduse has joined #ruby
programmerq has quit [Ping timeout: 265 seconds]
Menorah has quit [Quit: This computer has gone to sleep]
pandaant has joined #ruby
rshetty has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
exadeci has quit [Quit: Connection closed for inactivity]
Pupeno has joined #ruby
sinkensabe has joined #ruby
DadoCe has quit [Remote host closed the connection]
Jet4Fire has quit []
amundj has joined #ruby
io_syl has quit []
oleo has quit [Read error: Connection reset by peer]
n80 has quit [Quit: n80]
marr has quit [Ping timeout: 240 seconds]
iamninja has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
carvantes has quit [Quit: WeeChat 0.3.7]
mloveless has quit [Remote host closed the connection]
oleo has joined #ruby
josephndenton has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marahin has quit [Quit: ZNC - http://znc.in]
sinkensabe has joined #ruby
TheAtomicGoose has joined #ruby
vinleod has joined #ruby
bwilson has joined #ruby
programmerq has joined #ruby
Cat_1 has joined #ruby
hamakn has joined #ruby
byprdct has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
echooo1 has joined #ruby
echooo has quit [Ping timeout: 250 seconds]
jottr has joined #ruby
kiyote23 has joined #ruby
sinkensabe has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
msmith_ has joined #ruby
stunder has quit [Quit: Screw you guys I'm going home]
Channel6 has joined #ruby
mattmcclure has joined #ruby
Menorah has joined #ruby
p0wn3d_m1 has quit [Ping timeout: 250 seconds]
jottr has quit [Ping timeout: 244 seconds]
kiyote23 has quit [Ping timeout: 265 seconds]
hashpuppy has quit [Quit: Computer has gone to sleep.]
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sinkensabe has quit [Read error: Connection reset by peer]
crueber has quit [Quit: Leaving.]
towski_ has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Quit: Leaving.]
bonhoeffer has quit [Quit: bonhoeffer]
ta has joined #ruby
sinkensabe has joined #ruby
mahtennek has joined #ruby
sfadsfasfdsfa has joined #ruby
sfadsfasfdsfa has quit [Client Quit]
ta has quit [Ping timeout: 258 seconds]
testing_u has joined #ruby
claptor has joined #ruby
davedev2_ has joined #ruby
rshetty has quit [Ping timeout: 258 seconds]
sinkensabe has quit [Read error: Connection reset by peer]
davedev24_ has quit [Ping timeout: 256 seconds]
Menorah has quit [Quit: This computer has gone to sleep]
rjhunter has joined #ruby
ta has joined #ruby
wallerdev has quit [Quit: wallerdev]
noah has joined #ruby
io_syl has joined #ruby
rshetty has joined #ruby
sinkensabe has joined #ruby
vin` has joined #ruby
basex has joined #ruby
javiercito has joined #ruby
p0wn3d_m1 has joined #ruby
ta has quit [Ping timeout: 245 seconds]
Elan10993245 has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hashpuppy has joined #ruby
basex has quit [Ping timeout: 240 seconds]
phutchins has quit [Quit: Lost terminal]
javiercito has quit [Client Quit]
bronson has quit []
noah has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
sinkensabe has quit [Read error: Connection reset by peer]
Cat_1 has quit [Remote host closed the connection]
Cat_1 has joined #ruby
djbkd has joined #ruby
Elan10993245 has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
sinkensabe has joined #ruby
bronson has quit [Client Quit]
testing_u has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
bronson has joined #ruby
Musashi007 has quit [Quit: Musashi007]
bonhoeffer has joined #ruby
MartynKeigher has quit [Ping timeout: 255 seconds]
mary5030 has quit [Ping timeout: 258 seconds]
MartynKeigher has joined #ruby
Menorah has joined #ruby
pwnz0r has joined #ruby
knikolov has quit [Ping timeout: 244 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
mary5030 has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
tvw has quit [Ping timeout: 240 seconds]
MartynKeigher has quit [Read error: No route to host]
kotk has joined #ruby
msmith_ has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
dc has joined #ruby
Takle has quit [Remote host closed the connection]
sinkensabe has joined #ruby
kotk_ has quit [Ping timeout: 245 seconds]
thumpba has joined #ruby
hemanth has quit [Remote host closed the connection]
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
yfeldblum has joined #ruby
thumpba has quit [Remote host closed the connection]
loc22_ has joined #ruby
rshetty has quit [Remote host closed the connection]
loc22_ has quit [Client Quit]
ebbflowgo has joined #ruby
n80 has joined #ruby
loc22 has quit [Ping timeout: 245 seconds]
knikolov has joined #ruby
oo_ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
ebbflowgo has quit [Read error: Connection reset by peer]
Sawbones has joined #ruby
dc has quit [Disconnected by services]
ebbflowgo has joined #ruby
dc_ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
tujv has joined #ruby
edwardloveall has left #ruby [#ruby]
Sawbones_ has joined #ruby
hemanth has joined #ruby
Sawbones has quit [Read error: Connection reset by peer]
thumpba has joined #ruby
io_syl has quit []
studiotate has joined #ruby
thumpba has quit [Read error: Connection reset by peer]
thumpba has joined #ruby
<Ikri> curious, I have some js/node knowledge. I'm wondering if I should jump straight into rails or if I should learn ruby first. what do you guys think?
kotk_ has joined #ruby
sinkensabe has joined #ruby
<shevy> learn ruby, skip rails
<jhass> ^ #ruby answer. Guess the #RubyOnRails answer
Sawbones_ has quit [Remote host closed the connection]
<Ikri> why skip rails? isn't it the most popular framework?
<Zekka> Having read code by people who didn't know Ruby but knew Rails, learn Ruby!
<Zekka> (You can always learn Rails after.)
Sawbones has joined #ruby
<apeiros_> actually, I've often seen #rubyonrails advise to learn ruby too, not just rails
<Ikri> Zekka: okay, that helps. thanks :)
<shevy> Ikri don't think it is very popular on #ruby; I'd say only about 20 people here are on #rubyonrails or so
<jhass> apeiros_: are you at congress?
kotk has quit [Ping timeout: 245 seconds]
<apeiros_> jhass: nope. haven't been to one in ~2y. should really change that.
<Ikri> apeiros_: is it like people who learn jquery but not js?
<Zekka> I actually found Ruby to be pretty hard to get comfortable with (and I'm not that comfortable with it now), knowing Python to begin with -- I know folks who had less trouble but I think it's easy to underestimate how hard the language is to pick up
<Cat_1> Or people who learn Javascript but not Java
<apeiros_> Ikri: I think with jruby/js it's not that bad
<Cat_1> Am I doing it right?
<apeiros_> unless you develop SPAs
iamninja has quit [Quit: ZZZzzz…]
amclain has joined #ruby
<apeiros_> Zekka: maybe you stuck too hard to python idioms
<apeiros_> sometimes a language is easier to learn without baggage
<Ikri> SPAs?
<Ikri> SPAs?
<apeiros_> single page applications. just one of the things you can do which are js heavy
<Zekka> apeiros_: That's probably part of it, but I think the Ruby object model is also a little bit more complex, which meant that some of the hotshot metaprogramming nonsense I tried to do in Python was more difficult in Ruby
kotk_ has quit [Ping timeout: 245 seconds]
Sawbones has quit [Remote host closed the connection]
<apeiros_> Zekka: ruby's object model is *very* simple
chipotle has quit [Quit: cheerio]
sinkensabe has quit [Read error: Connection reset by peer]
kasperti_ has quit []
<Zekka> apeiros_: I see a lot of behavior here! http://ruby-doc.org/core-2.2.0/Object.html
<apeiros_> there are a couple of details which are hard. but those usually don't matter.
bronson has quit [Remote host closed the connection]
<Zekka> Granted, a lot of it you don't have to think about all the time
<apeiros_> Zekka: model != behavior. yes, many core classes have a lot of methods.
<apeiros_> it's still better than making stuff global like python does it
echooo1 has quit [Quit: echooo1]
<apeiros_> the object model of ruby has 4 elementary parts: 1) all methods are instance methods and modules are their containers (note that Class subclasses Module), 2) everything you can assign to a variable and/or call a method on is an Object (or subclass), 3) Kernel is the place for "global functions"
luriv_ has joined #ruby
<apeiros_> wait, what was 4 again?
<apeiros_> it's late, I guess :)
<Zekka> apeiros_: (Following along, I'll talk if you seem to be looking for a response.)
echooo has joined #ruby
sinkensabe has joined #ruby
<apeiros_> well, 4 probably should have been the relation between instance <- singleton-class -> class. but I'm almost falling asleep here.
* jhass hands apeiros_ a bottle of mate
<apeiros_> jhass: thanks. mate isn't really my thing, though.
<jhass> that just means you hadn't enough of it yet
<Zekka> apeiros_: There's a few things I think you neglect mentioning just by enumerating those tings, although it's possible you might have done given enough time
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tkuchiki has joined #ruby
* jhass hands another bottle
<apeiros_> Zekka: there's tons of details. but 99% those don't matter.
<Zekka> apeiros_: How about inheritance in general? You seem to have mostly ignored the semantics of that
<apeiros_> you can e.g. hang yourself with the circular dependency in the root of the object system. but for almost all practical purposes, it doesn't matter.
radic has quit [Ping timeout: 245 seconds]
Cat_1 has quit [Remote host closed the connection]
rbennacer has joined #ruby
<Zekka> More generally than that, Ruby seems to implement a lot of useful functionality in terms of smaller units of primitive functionality (don't get me wrong! I think this is the right way to do that) which I think still leaves you a lot to understand even after you understand the relatively small primitive units
luriv has quit [Ping timeout: 264 seconds]
<apeiros_> yeah, part of 4. every object has a singleton class for its very own methods. method lookup is: object's singleton class, object's class, then class' ancestors (which contains modules). after that, lookup chain is repeated with method_missing.
bronson has joined #ruby
<apeiros_> I think the singleton-class part is the hardest to get for most. but that too is usually something you can glance over for as much as a couple of years.
<jhass> Don't forget Module#prepend :P
tkuchiki has quit [Remote host closed the connection]
wallerdev has joined #ruby
<jhass> but ignore me ;)
n80 has quit [Quit: n80]
radic has joined #ruby
<Zekka> apeiros_: I think you also talk a lot about how objects relate to other objects, but not so much about what objects are
<Zekka> Ruby objects have, from a learner standpoints, a 'this' referencewhich is bound in an unknown way, a classmethod-analogue, an instancemethod-analogue, a classfield-analogue, and an instancefield-analogue
<Zekka> Even knowing that classthings are a case of instancethings (because classes are a case of instances), much of that still falls into understanding the "useful aliasing"
kp666 has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
<apeiros_> Zekka: I think you're overcomplicating it.
<Zekka> apeiros_: You think so? Because these are the things that made it hard for me to learn Ruby, and I'm being honest about that
<Zekka> Granted, I think these are also reasons it would be hard to learn Python
tkuchiki_ has joined #ruby
<apeiros_> an object is state + callable code. that callable code is physically stored in classes/modules but executed in the context of the object.
<apeiros_> self identifies that context. the rest is part of the state of the object. e.g. its class is self.class
oleo has quit [Ping timeout: 265 seconds]
<apeiros_> state of an object is available either through methods, or through instance variables. instance variables belong to a single object. they're associated with `self`. same self = same ivars.
<apeiros_> and self will always be the object you called the method on
<Zekka> apeiros_: But the binding of 'self' introduces a variety of apparent special cases
oo_ has quit [Remote host closed the connection]
sinkensabe has joined #ruby
<apeiros_> Zekka: any of which matter in more than 0.1% of all use cases?
<Zekka> It doesn't, for instance, follow the rules of lexical scoping
<Zekka> apeiros_: They confused me!
<Zekka> I'm not trying to argue "this might confuse someone at some point" but trying to bring up specific things that caught me off-guard
<Zekka> it might be reasonable to call me a poor learner, but it probably wouldn't be reasonable to say that these are frivolous cases that wouldn't occur to anyone
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<apeiros_> ok
<apeiros_> got an example?
ta has joined #ruby
<apeiros_> I mean, one you'd say you still don't understand
<Zekka> apeiros_: Not one that doesn't fall into "weird things witnessed metaprogramming"
<apeiros_> oh, I didn't say rubys object system couldn't be used to build convoluted systems.
<apeiros_> all I say is that rubys object system at its core is relatively simple.
<Zekka> For what it's worth, since I've been drawing a lot of comparisons to learning Python here, I think Python probably has analogous poblems to some of what I'm complaining about
hephaestus_rg has joined #ruby
<Zekka> When I'm complaining about how the behavior of the 'self' reference is nonobvious, there's probably a similarly nonobvious behavior in Python
mjmac has quit [Ping timeout: 258 seconds]
<Zekka> I think that the major difference in this specific case is that Python is super reluctant to break with standard lexical scoping
<apeiros_> and I fully believe you that if you're confronted with real life code and don't get a good explanation, it will seem very complex and opaque
<Zekka> There's probably other cases where it's more willing to break -- so that's a nonobvious difference in language character that you can't really associate with one specific decision
Ikri has quit [Read error: Connection reset by peer]
thumpba has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 244 seconds]
Ikri has joined #ruby
<Zekka> And if you can, a lot of the Ruby cases, like the self rules, will still seem pretty small and insignificant individually. You can more broadly say "Ruby does not care that much about keeping the appearance of lexical scoping", but then you've got a general situation without specific examples
<apeiros_> lids falling here. are you around tomorrow?
<Zekka> (I think that's a fair statement to make, especially when mixins are a major language feature)
mjmac has joined #ruby
<Zekka> apeiros_: Probably
<Zekka> Sorry for keeping you up!
<apeiros_> no problem
<apeiros_> I shouldn't have stayed up so late to begin with :D
<Zekka> There's something else I actually should be doing but arguing's fun, so I've been doing this
msmith_ has joined #ruby
<apeiros_> I'm intrigued to continue. but I really have to sleep. gn8, maybe we can continue tomorrow :)
yfeldblum has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
ponyofde1th has joined #ruby
<ponyofde1th> anyone know how i can set a node variable from inside cookbook ? .set https://bpaste.net/show/e579277311a4 in here does not seem to work. i know its chef but no one in that channel :)
i8igmac has quit [Ping timeout: 240 seconds]
sinkensabe has joined #ruby
Sawbones has joined #ruby
<jhass> try #chef
icebourg has joined #ruby
<ponyofde1th> jhass: tried no one there
<ponyofde1th> jhass: not sure why the domain array is out in read only mode when i try to
<ponyofde1th> write to it
agrinb has joined #ruby
ta has quit [Ping timeout: 258 seconds]
<sevenseacat> lol
govg has joined #ruby
thumpba has joined #ruby
rbennacer has quit [Remote host closed the connection]
msmith_ has quit [Remote host closed the connection]
thumpba has quit [Remote host closed the connection]
tujv has quit [Ping timeout: 264 seconds]
sinkensabe has quit [Read error: Connection reset by peer]
mahtennek has quit []
knikolov has quit [Ping timeout: 240 seconds]
knikolov has joined #ruby
rbennacer has joined #ruby
sinkensabe has joined #ruby
jottr has joined #ruby
Takle has joined #ruby
pwnz0r has quit [Remote host closed the connection]
arescorpio has quit [Excess Flood]
knikolov has quit [Ping timeout: 256 seconds]
tujv has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
Takle has quit [Ping timeout: 240 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gnephiak has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
MartynKeigher has joined #ruby
gsd has joined #ruby
chipotle has joined #ruby
thumpba has joined #ruby
rshetty has joined #ruby
Sawbones has quit [Remote host closed the connection]
sinkensabe has joined #ruby
<shevy> a lolcat!
<shevy> in 2014
apeiros_ has quit [Remote host closed the connection]
icebourg has quit [Ping timeout: 265 seconds]
chipotle has quit [Client Quit]
apeiros_ has joined #ruby
ninjazach has left #ruby ["tty0 has closed"]
rkazak has joined #ruby
rshetty has quit [Remote host closed the connection]
icebourg has joined #ruby
ninjazach has joined #ruby
oleo has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
postmodern has quit [Ping timeout: 258 seconds]
incomprehensibly is now known as glowcoil
postmodern has joined #ruby
braincras has quit [Quit: bye bye]
dc_ has quit [Remote host closed the connection]
tujv has quit [Ping timeout: 240 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
skj3gg has joined #ruby
sinkensabe has joined #ruby
knikolov has joined #ruby
NivenHuH has quit [Quit: Textual IRC Client: www.textualapp.com]
basex has joined #ruby
braincrash has joined #ruby
Cat_1 has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
ajacmac has joined #ruby
dc_ has joined #ruby
<ajacmac> I'm on codecademy, and it isn't clear to me why... over_4_feet = Proc.new { |height| height >= 4 } ...isn't a proc
Guest69112 has quit [Remote host closed the connection]
yvemath has quit [Remote host closed the connection]
apurcell has quit [Quit: Be back later ...]
<sevenseacat> i just love the 'my question is off topic, but theres no one in the right channel so ill ask here instead' mentality
<ajacmac> I did some hunting around, checked ruby monk and a couple other places and didn't get it
<sevenseacat> (that wasnt directed at you ajacmac)
Sawbones has joined #ruby
<ajacmac> sevenseacat: ok, I was kinda confused
apurcell has joined #ruby
basex has quit [Ping timeout: 245 seconds]
<sevenseacat> thats why i clarified :)
sinkensabe has quit [Read error: Connection reset by peer]
<ajacmac> so is anyone available to point out (I imagine it's obvious to someone who's more familiar than I am) what I'm doing wrong?
Cat_1 has quit [Ping timeout: 255 seconds]
russt has joined #ruby
russt has quit [Client Quit]
ta has joined #ruby
rshetty has joined #ruby
russt has joined #ruby
bronson has quit [Remote host closed the connection]
BLuEGoD has joined #ruby
<sevenseacat> what does that Proc.new call return?
<sevenseacat> >> over_4_feet = Proc.new { |height| height >= 4 }
<eval-in__> sevenseacat => #<Proc:0x42124f70@/tmp/execpad-7cdfecd643e4/source-7cdfecd643e4:2> (https://eval.in/238255)
<sevenseacat> seems like a proc
karmatr0n has joined #ruby
apurcell has quit [Ping timeout: 258 seconds]
<ajacmac> ok, codecademy is saying it isn't a proc, so I suppose the error is something else and codecademy is confused
sinkensabe has joined #ruby
<sevenseacat> possibly
<ajacmac> can_ride_1 = group_1.select {&over_4_feet} ...is what's calling it
<sevenseacat> that syntax doesnt look right
<ajacmac> and group_1 is an array of integers
<sevenseacat> should be select(&:over_4_feet) ?
<ajacmac> how does the array actually makes it's way into the process that way though?
ta has quit [Ping timeout: 244 seconds]
<ajacmac> I'm not familiar, I'm just really confused
<sevenseacat> beats me
Sawbones has quit [Remote host closed the connection]
porkys has joined #ruby
<ajacmac> that's the full program, maybe that'll be more helpful than me just giving individual lines
studiotate has quit [Quit: Lingo - http://www.lingoirc.com]
rkazak has joined #ruby
diegoviola has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
sinkensabe has quit [Read error: Connection reset by peer]
studiotate has joined #ruby
Sawbones has joined #ruby
bronson has joined #ruby
porkys has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
charliesome_ has joined #ruby
mary5030 has joined #ruby
sinkensabe has joined #ruby
tus has quit []
charliesome has quit [Ping timeout: 244 seconds]
mary5030_ has joined #ruby
dkb20k has joined #ruby
mloveless has joined #ruby
Sawbones has quit [Remote host closed the connection]
charliesome_ has quit [Ping timeout: 244 seconds]
mary5030 has quit [Ping timeout: 258 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
neutrino has joined #ruby
charliesome has joined #ruby
yvemath has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
adriancb has quit [Remote host closed the connection]
vinleod has joined #ruby
adriancb has joined #ruby
sinkensabe has joined #ruby
skj3gg has quit [Quit: Leaving.]
Takle has joined #ruby
hemanth has quit [Remote host closed the connection]
neutrino has quit [Quit: Leaving.]
russt has quit [Ping timeout: 256 seconds]
adriancb has quit [Ping timeout: 258 seconds]
rbennacer has joined #ruby
Takle has quit [Ping timeout: 272 seconds]
skj3gg has joined #ruby
uber_hulk has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
uber_hulk has left #ruby [#ruby]
commmmodo has joined #ruby
MartynKeigher has quit [Read error: Connection reset by peer]
russt has joined #ruby
hamakn has quit [Remote host closed the connection]
sinkensabe has joined #ruby
gh has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
hamakn has joined #ruby
bronson has quit [Remote host closed the connection]
hashpuppy has quit [Quit: Computer has gone to sleep.]
sinkensabe has quit [Ping timeout: 244 seconds]
hemanth has joined #ruby
sinkensabe has joined #ruby
rkazak has left #ruby [#ruby]
basex has joined #ruby
rylev has joined #ruby
Joufflu has joined #ruby
chrishough has joined #ruby
bitri_ has joined #ruby
Morkel has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
basex has quit [Ping timeout: 244 seconds]
robbyoconnor has quit [Ping timeout: 250 seconds]
psy has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
pwnz0r has joined #ruby
gh has quit [Quit: Leaving]
lolmaus has quit [Quit: Konversation terminated!]
psy has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
hamakn has quit [Remote host closed the connection]
icebourg has quit []
freerobby has joined #ruby
freerobby has quit [Client Quit]
duggiefresh has joined #ruby
fenzil has joined #ruby
jottr has joined #ruby
mercwithamouth has joined #ruby
mloveless has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
amystephen has quit [Quit: amystephen]
rylev has quit []
jottr has quit [Ping timeout: 256 seconds]
kapil__ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
psy has quit [Ping timeout: 244 seconds]
sevenseacat has quit [Remote host closed the connection]
sinkensabe has joined #ruby
apurcell has joined #ruby
psy has joined #ruby
crueber has joined #ruby
karmatr0n has quit [Remote host closed the connection]
ARCADIVS has joined #ruby
michaeldeol has joined #ruby
knikolov has quit [Ping timeout: 244 seconds]
Takle has joined #ruby
russt has quit [Quit: russt]
apurcell has quit [Ping timeout: 258 seconds]
bitri_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Ping timeout: 255 seconds]
sinkensabe has quit [Read error: Connection reset by peer]
icebourg has joined #ruby
thumpba has quit [Remote host closed the connection]
axilla has quit [Ping timeout: 272 seconds]
Channel6 has quit [Quit: Leaving]
towski_ has joined #ruby
mary5030_ has quit [Remote host closed the connection]
leafybasil has quit [Remote host closed the connection]
mary5030 has joined #ruby
sinkensabe has joined #ruby
pengin has joined #ruby
thumpba has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ta has joined #ruby
claw___ has quit [Ping timeout: 245 seconds]
rbennacer has quit [Remote host closed the connection]
claw has joined #ruby
thumpba has quit [Remote host closed the connection]
thumpba has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
Cat_1 has joined #ruby
AndroUser466 has joined #ruby
bronson has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thumpba has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 258 seconds]
Cat_1 has quit [Ping timeout: 258 seconds]
russt has joined #ruby
smoke1 has joined #ruby
pengin has quit [Remote host closed the connection]
thumpba has joined #ruby
postmodern has quit [Quit: Leaving]
<TheAtomicGoose> why would i be getting undefined method error o this program? http://sprunge.us/POgf
pengin has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
sinkensabe has joined #ruby
gnephiak has quit [Quit: Konversation terminated!]
newmanships has joined #ruby
skj3gg has quit [Quit: Leaving.]
lxsameer has joined #ruby
skj3gg has joined #ruby
bluOxigen has joined #ruby
pengin has quit [Ping timeout: 255 seconds]
gnephiak has joined #ruby
russt has quit [Quit: russt]
mostlybadfly has quit [Quit: Connection closed for inactivity]
govg has quit [Ping timeout: 245 seconds]
slawrenc_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fandi has quit [Ping timeout: 244 seconds]
russt has joined #ruby
ajacmac has quit [Ping timeout: 240 seconds]
thumpba has quit [Remote host closed the connection]
<shevy> TheAtomicGoose this is not good
<shevy> you must always provide the full error - append it in such a pastie
sinkensabe has quit [Read error: Connection reset by peer]
<TheAtomicGoose> shevy: my bad, just a moment
<shevy> but wait
<shevy> this code is simple enough
<shevy> for more complicated code you should give the full error
<shevy> I figured it out
<shevy> (item_length).times do |item|
<shevy> puts item("//title")
<shevy> here you try to call a method called item
<shevy> but you don't have a method
<shevy> called item()
mloveless has joined #ruby
smoke1 has quit [Read error: Connection reset by peer]
<shevy> instead you have a block variable called item
<TheAtomicGoose> that's what i thought i was calling
ponga has joined #ruby
<TheAtomicGoose> ohhhh i understand now
<TheAtomicGoose> thank you
rjhunter has quit [Remote host closed the connection]
thumpba has joined #ruby
sinkensabe has joined #ruby
skj3gg has quit [Quit: Leaving.]
<shevy> \o/
fandi has joined #ruby
knikolov has joined #ruby
cichol has joined #ruby
ndrei has joined #ruby
fandi has quit [Excess Flood]
tomengland_mbp has joined #ruby
<tomengland_mbp> does class initialize methods have to use the instance variable if you're using attr_accessor
circ-user-jdSAv has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
vin` has quit [Ping timeout: 256 seconds]
thumpba has quit [Remote host closed the connection]
ajacmac has joined #ruby
<TheAtomicGoose> is there a way to print named links to the console in ruby? e.g. have a link that goes to www.example.com but looks like "Example Website"
crueber has quit [Quit: Leaving.]
sinkensabe has joined #ruby
circ-user-jdSAv is now known as cichol_
cichol has quit [Quit: Page closed]
byprdct has quit [Read error: Connection reset by peer]
cichol_ is now known as cichol
knikolov has quit [Ping timeout: 272 seconds]
thumpba has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
jottr has joined #ruby
newmanships has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
studiotate has quit [Quit: Computer has gone to sleep.]
ponga has quit [Ping timeout: 240 seconds]
kiyote23 has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
sinkensabe has quit [Read error: Connection reset by peer]
ponga has joined #ruby
TheAtomicGoose has quit [Ping timeout: 244 seconds]
cmarques has quit [Remote host closed the connection]
duggiefresh has quit [Remote host closed the connection]
spastorino has quit [Quit: Connection closed for inactivity]
fandi has joined #ruby
Stoge88 has joined #ruby
agrinb has quit [Remote host closed the connection]
agrinb has joined #ruby
dseitz has joined #ruby
sinkensabe has joined #ruby
kiyote23 has quit [Ping timeout: 250 seconds]
icebourg has quit []
Takle has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
pwnz0r has quit [Remote host closed the connection]
ohaibbq has quit [Quit: Leaving...]
amclain has quit [Quit: Leaving]
josephndenton has quit [Ping timeout: 250 seconds]
fandi has quit [Excess Flood]
Takle has quit [Ping timeout: 272 seconds]
fandi has joined #ruby
cichol has quit [Read error: Connection reset by peer]
jusmyth has joined #ruby
jusmyth has quit [Client Quit]
sinkensabe has quit [Read error: Connection reset by peer]
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
fandi has quit [Ping timeout: 255 seconds]
jrhe has joined #ruby
sinkensabe has joined #ruby
studiotate has joined #ruby
Hobogrammer has quit [Ping timeout: 256 seconds]
thumpba has quit [Remote host closed the connection]
mloveless has quit []
basex has joined #ruby
davedev24_ has joined #ruby
davedev2_ has quit [Ping timeout: 258 seconds]
ponga has quit [Ping timeout: 255 seconds]
thumpba has joined #ruby
Techguy305|2 has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
_Andres has joined #ruby
basex has quit [Ping timeout: 265 seconds]
last_staff has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
t_p has joined #ruby
Techguy305 has quit [Ping timeout: 264 seconds]
leafybasil has joined #ruby
mary5030 has joined #ruby
tomengland_mbp has quit [Remote host closed the connection]
jrhe has quit [Quit: jrhe]
rshetty has quit [Remote host closed the connection]
sinkensabe has joined #ruby
davedev24_ has quit [Ping timeout: 272 seconds]
rshetty has joined #ruby
djdarkbeat has quit [Quit: djdarkbeat]
mary5030 has quit [Ping timeout: 245 seconds]
leafybasil has quit [Ping timeout: 245 seconds]
pentanol has joined #ruby
<pentanol> hello, someone familar with redmine here?
fandi has joined #ruby
Axy is now known as Mia
agrinb has joined #ruby
davedev24_ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
sinkensabe has joined #ruby
echooo has quit [Ping timeout: 250 seconds]
elaptics`away is now known as elaptics
towski_ has quit [Remote host closed the connection]
echooo has joined #ruby
davedev2_ has joined #ruby
thumpba has quit [Remote host closed the connection]
kt has joined #ruby
thumpba has joined #ruby
kt has quit [Client Quit]
kt has joined #ruby
mercwithamouth has quit [Ping timeout: 258 seconds]
davedev24_ has quit [Ping timeout: 258 seconds]
kt has quit [Client Quit]
studiotate has quit [Quit: Computer has gone to sleep.]
duggiefresh has joined #ruby
yfeldblum has quit [Remote host closed the connection]
sinkensabe has quit [Read error: Connection reset by peer]
thumpba has quit [Ping timeout: 255 seconds]
tobago has joined #ruby
sinkensabe has joined #ruby
bronson has joined #ruby
wallerdev has quit [Quit: wallerdev]
Crazy_Atheist has quit [Ping timeout: 245 seconds]
dts|pokeball has quit [Ping timeout: 256 seconds]
thumpba has joined #ruby
bronson has quit [Ping timeout: 258 seconds]
mercwithamouth has joined #ruby
JBreit has joined #ruby
davedev2_ has quit [Ping timeout: 244 seconds]
timonv_ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
rshetty has quit [Remote host closed the connection]
thumpba has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sandelius has joined #ruby
knikolov has joined #ruby
robbyoconnor has joined #ruby
sinkensabe has joined #ruby
AlexRussia has quit [Ping timeout: 245 seconds]
rimantas has joined #ruby
timonv_ has quit [Remote host closed the connection]
rshetty has joined #ruby
kamilc__ has joined #ruby
timonv_ has joined #ruby
pentanol has quit [Quit: leaving]
josephndenton has joined #ruby
robbyoconnor has quit [Ping timeout: 255 seconds]
Takle has joined #ruby
anarang has joined #ruby
tkuchiki has joined #ruby
arup_r has joined #ruby
knikolov has quit [Ping timeout: 240 seconds]
robbyoconnor has joined #ruby
pwnz0r has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
timonv_ has quit [Ping timeout: 256 seconds]
josephndenton has quit [Ping timeout: 245 seconds]
AlexRussia has joined #ruby
mercwithamouth has joined #ruby
Takle has quit [Ping timeout: 244 seconds]
ayaz has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
ecksit has joined #ruby
pwnz0r has quit [Ping timeout: 258 seconds]
r0bby_ has joined #ruby
commmmodo has quit [Quit: commmmodo]
sinkensabe has joined #ruby
commmmodo has joined #ruby
robbyoconnor has quit [Ping timeout: 272 seconds]
ponga has joined #ruby
knikolov has joined #ruby
havenwood has quit [Remote host closed the connection]
towski_ has joined #ruby
towski_ has quit [Remote host closed the connection]
iamninja has joined #ruby
ponga has quit [Ping timeout: 244 seconds]
r0bby_ is now known as robbyoconnor
bronson has joined #ruby
hamakn has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
dumdedum has joined #ruby
yfeldblum has joined #ruby
rshetty has quit [Remote host closed the connection]
agrinb has joined #ruby
bronson has quit [Ping timeout: 258 seconds]
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
godd2 has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
fuking has joined #ruby
<fuking> what is the best programming boot camp that someone can go online?
studiotate has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
<godd2> fuking programming in general or for ruby?
<fuking> well, i would like to learn ruby and programming in general
<fuking> ruby sounds fun and hard
<fuking> it's better than writing c i hear and people tell me c is short for crap
<godd2> haha well you can form your own opinions with time and experience
<godd2> fuking here, check out this: http://www.codecademy.com/en/tracks/ruby
<godd2> it's free and good
<fuking> oi, codecademy :(
<godd2> and just remember, you won't learn programming overnight
<fuking> i think it's boring and too hard to understand
<godd2> fuking then perhaps programming may not be something you like in general.
<fuking> i'm talking about codecademy
<godd2> codecademy makes it about as easy and seamless as possible
cichol has joined #ruby
<fuking> eh, i would like to learn from an actual boot camp
<godd2> have you tried the ruby track on codecademy? or is your complaint forged from a different language?
<fuking> my complaint is forged from their way of teaching stuff, it's not easy to understand and the examples have lots of errors
<fuking> but i do appreciate their attempt at trying to teach people to code for free :) i just think their implementation sucks
<godd2> fuking which example in particular?
tkuchiki has quit [Remote host closed the connection]
<fuking> godd2: enough examples that had errors that made me quit and i forget which, just a lot
<Hanmac> my problem is that most "ruby boot camps" only teach rails and not ruby ...
<godd2> yea but which one? I haven't seen one yet, and I'm wondering which one I could submit a bug report about
Soda has joined #ruby
charliesome has quit [Quit: zzz]
jottr has joined #ruby
knikolov has quit [Ping timeout: 272 seconds]
iwishiwerearobot has joined #ruby
commmmodo has quit [Quit: commmmodo]
<fuking> godd2: i don't remember, but i guess i could start over from codecademy, but i hate that site :(
hamakn has quit [Remote host closed the connection]
sinkensabe has joined #ruby
<cichol> in fact codecademy may be just wasting time, it's better to begin with a real book
jottr has quit [Ping timeout: 250 seconds]
fenzil has quit [Quit: Leaving]
rshetty has joined #ruby
knikolov has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
rshetty_ has joined #ruby
rshetty_ has quit [Read error: Connection reset by peer]
<godd2> fuking if you're more of a visual/auditory learner, then perhaps video tutorials would suit you best
rshetty has joined #ruby
<fuking> do you know of any good online programming boot camps?
pandaant has quit [Ping timeout: 265 seconds]
<godd2> no, I try not to spend money on learning, so I don't know many of the ways to learn which require spending money
ptrrr has joined #ruby
blackmesa has joined #ruby
knikolov has quit [Ping timeout: 250 seconds]
govg has joined #ruby
Takle has joined #ruby
Takle_ has joined #ruby
Takle has quit [Read error: Connection reset by peer]
startupality has joined #ruby
charliesome has joined #ruby
AxonetBE has joined #ruby
timonv_ has joined #ruby
kamilc__ has quit [Ping timeout: 240 seconds]
AxonetBE has quit [Client Quit]
AxonetBE has joined #ruby
basex has joined #ruby
knikolov has joined #ruby
startupality has quit [Quit: startupality]
timonv_ has quit [Remote host closed the connection]
Menorah has quit [Quit: This computer has gone to sleep]
duggiefresh has quit [Remote host closed the connection]
timonv_ has joined #ruby
basex has quit [Ping timeout: 250 seconds]
sinkensabe has quit [Read error: Connection reset by peer]
ecksit has quit [Read error: Connection reset by peer]
startupality has joined #ruby
ponga has joined #ruby
timonv_ has quit [Ping timeout: 256 seconds]
ta has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
ajacmac has quit [Quit: Going offline, see ya! (www.adiirc.com)]
rshetty has quit [Remote host closed the connection]
russt has quit [Quit: russt]
ta has quit [Ping timeout: 265 seconds]
sinkensabe has joined #ruby
timonv_ has joined #ruby
Menorah has joined #ruby
agrinb has joined #ruby
startupality has quit [Quit: startupality]
hephaestus_rg has quit [Ping timeout: 272 seconds]
AlSquire has joined #ruby
bronson has joined #ruby
timonv_ has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 258 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
commmmodo has joined #ruby
bronson has quit [Ping timeout: 250 seconds]
andikr has joined #ruby
atmosx has joined #ruby
jds has joined #ruby
<atmosx> Morning
AndroUser466 has quit [Quit: good bye]
Blackhol_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
startupality has joined #ruby
alex88 has joined #ruby
newmanships has joined #ruby
noop1 has joined #ruby
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
newmanships has quit [Client Quit]
Jackneill has joined #ruby
kyb3r_ has quit [Quit: Leaving]
shelling_ has quit [Ping timeout: 258 seconds]
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
cicloid has quit [Ping timeout: 258 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
crdpink has joined #ruby
shelling__ has joined #ruby
fuking has quit [K-Lined]
Ninjex has joined #ruby
rockdon has quit [Ping timeout: 258 seconds]
blackjid_ has quit [Ping timeout: 258 seconds]
kt2 has quit [Ping timeout: 244 seconds]
rockdon has joined #ruby
crdpink2 has quit [Ping timeout: 258 seconds]
Afforess has quit [Ping timeout: 258 seconds]
ta has joined #ruby
mjmac has quit [Ping timeout: 258 seconds]
cicloid has joined #ruby
GGMethos has quit [Ping timeout: 258 seconds]
featheryahn has quit [Ping timeout: 258 seconds]
blackjid_ has joined #ruby
Afforess has joined #ruby
featheryahn_ has joined #ruby
sandelius has joined #ruby
marr has joined #ruby
mjmac has joined #ruby
agrinb has joined #ruby
dcarmich has joined #ruby
iwishiwerearobot has quit [Quit: Be back later ...]
kt2 has joined #ruby
hamakn has joined #ruby
josephndenton has joined #ruby
ta has quit [Ping timeout: 272 seconds]
teddyp1cker has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
renderful has joined #ruby
charliesome has quit [Quit: zzz]
Grumelo has joined #ruby
hamakn has quit [Ping timeout: 258 seconds]
josephndenton has quit [Ping timeout: 245 seconds]
renderful has quit [Ping timeout: 240 seconds]
startupality has quit [Quit: startupality]
rshetty has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
ccurtisj has joined #ruby
xenomorph is now known as {xenomorph}
{xenomorph} is now known as xenomorph
<ccurtisj> Hey guys! Does anyone know off the top of their head if the Curb gem (curl bindings) is thread safe or not? https://github.com/taf2/curb
Macaveli has joined #ruby
Deele has joined #ruby
ta has joined #ruby
startupality has joined #ruby
olivier_bK has joined #ruby
mglAC has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
ta has quit [Ping timeout: 272 seconds]
<mglAC> Hi everyone. I need to update an application using bundler. But bundle shows unresolvable dependencies ( see https://gist.github.com/mgla/d6e0a006a330644e53a1 ). I can not find out where the money dependency comes from - it is not even installed.
j0n3 has joined #ruby
GGMethos has joined #ruby
fandi has quit [Ping timeout: 244 seconds]
<mglAC> A reverse dependency check on money shows no matching gems.
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
<mglAC> How do i resolve this problem?
yfeldblum has quit [Remote host closed the connection]
duncannz has quit [Ping timeout: 244 seconds]
pandaant has joined #ruby
t_p has quit [Quit: Computer has gone to sleep.]
Nameo0 has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
charliesome has quit [Client Quit]
charliesome has joined #ruby
fandi has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
ta has joined #ruby
kt2 has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Ping timeout: 272 seconds]
rbrs has joined #ruby
kt2 has joined #ruby
studiotate has quit [Quit: Computer has gone to sleep.]
fandi has quit [Excess Flood]
iwishiwerearobot has joined #ruby
Pupeno has quit [Remote host closed the connection]
ta has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
fandi has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
kiyote23 has joined #ruby
sinkensabe has quit [Remote host closed the connection]
fandi has quit [Ping timeout: 240 seconds]
kamilc__ has joined #ruby
dionysus69 has joined #ruby
hgl has quit [Max SendQ exceeded]
hgl has joined #ruby
tadasp has joined #ruby
agrinb has joined #ruby
commmmodo has quit [Quit: commmmodo]
marr has quit [Ping timeout: 245 seconds]
Soda has quit [Remote host closed the connection]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
kiyote23 has quit [Ping timeout: 255 seconds]
rshetty has quit [Remote host closed the connection]
dc_ has quit [Remote host closed the connection]
rshetty has joined #ruby
ccurtisj has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 258 seconds]
timonv^ has joined #ruby
basex has joined #ruby
bmichelsen has joined #ruby
yfeldblum has joined #ruby
bonhoeffer has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
rbrs has quit [Quit: Leaving]
timonv_ has quit [Ping timeout: 272 seconds]
commmmodo has joined #ruby
basex has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
cmarques has joined #ruby
hakunin has quit []
rbrs has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
sinkensabe has joined #ruby
jefus__ has joined #ruby
AlexRussia has quit [Ping timeout: 272 seconds]
neutrino has joined #ruby
siso has joined #ruby
ghostlines has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gccostabr has joined #ruby
jefus_ has quit [Ping timeout: 244 seconds]
Takle_ has quit [Ping timeout: 256 seconds]
LouisRoR has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
AlexRussia has joined #ruby
<atmosx> mglAC: I'm not sure if there's a stadnard way to solve this kind of problem, money needs one i18n while rails needs another version.
<atmosx> mglAC: why don't you try change money to a newer version?
gusto has quit [Quit: Leaving]
hgl has quit [Max SendQ exceeded]
sinkensabe has quit [Remote host closed the connection]
nelsonr has joined #ruby
Menorah has quit [Quit: This computer has gone to sleep]
hgl has joined #ruby
Flcn__ has joined #ruby
bronson has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rshetty has quit [Remote host closed the connection]
ta has joined #ruby
rshetty has joined #ruby
Pupeno has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 258 seconds]
Pupeno has joined #ruby
claw has quit [Ping timeout: 255 seconds]
claw_ has joined #ruby
Deele has quit [Ping timeout: 244 seconds]
towski_ has joined #ruby
timonv^ has quit [Remote host closed the connection]
timonv_ has joined #ruby
Blackhol_ has joined #ruby
towski_ has quit [Ping timeout: 245 seconds]
LouisRoR1 has joined #ruby
ta has quit [Ping timeout: 244 seconds]
timonv_ has quit [Remote host closed the connection]
LouisRoR has quit [Ping timeout: 244 seconds]
timonv_ has joined #ruby
cobakobodob has joined #ruby
Deele has joined #ruby
vvivv has joined #ruby
cobakobodob has quit [Client Quit]
gccostabr has quit [Quit: ZZZzzz…]
Takle has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
spider-mario has joined #ruby
codehotter has quit [Quit: WeeChat 0.4.2]
AxonetBE has joined #ruby
iwishiwerearobot has quit [Quit: Be back later ...]
codehotter has joined #ruby
Deele has quit [Ping timeout: 244 seconds]
arup_r has quit [Quit: Leaving.]
cobakobodob has joined #ruby
lkba has joined #ruby
govg has quit [Ping timeout: 244 seconds]
sevenseacat has joined #ruby
gnephiak has quit [Quit: Konversation terminated!]
blackmesa has quit [Ping timeout: 244 seconds]
m8 has joined #ruby
Deele has joined #ruby
mengu has joined #ruby
govg has joined #ruby
agrinb has joined #ruby
jrhe has joined #ruby
oo_ has joined #ruby
jrhe has left #ruby [#ruby]
josephndenton has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
DadoCe has joined #ruby
pushpak has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
marr has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
iwishiwerearobot has joined #ruby
Flcn__ has quit [Quit: Be back later ...]
charliesome has joined #ruby
Takle has quit [Remote host closed the connection]
iamninja has quit [Quit: ZZZzzz…]
gccostabr has joined #ruby
gccostabr has quit [Max SendQ exceeded]
blackmesa has joined #ruby
josephndenton has quit [Ping timeout: 265 seconds]
gccostabr has joined #ruby
ptrrr has quit [Quit: ptrrr]
ccurtisj has joined #ruby
ccurtisj has quit [Ping timeout: 258 seconds]
jdj_dk has joined #ruby
ardian has quit [Ping timeout: 272 seconds]
commmmodo has quit [Quit: commmmodo]
slmorton has joined #ruby
ta has joined #ruby
jdj_dk_ has joined #ruby
jdj_dk has quit [Ping timeout: 264 seconds]
jdj_dk_ has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
cichol_ has joined #ruby
ta has quit [Ping timeout: 244 seconds]
cichol has quit [Ping timeout: 265 seconds]
jdj_dk has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
startupality has joined #ruby
j0n3 has quit [Remote host closed the connection]
Morkel_ has joined #ruby
Morkel has quit [Ping timeout: 256 seconds]
Morkel_ is now known as Morkel
kp666 has quit [Read error: Connection reset by peer]
elaptics is now known as elaptics`away
cantonic has quit [Quit: cantonic]
bayed has joined #ruby
FooMunki has quit [Quit: FooMunki]
cantonic has joined #ruby
Stoge88 has quit [Quit: Textual IRC Client: www.textualapp.com]
Pupeno has quit [Remote host closed the connection]
livathinos has joined #ruby
troulouliou_dev has joined #ruby
jottr has joined #ruby
VictorBjelkholm has joined #ruby
cobakobodob has quit [Quit: WeeChat 0.4.3]
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
cichol has joined #ruby
cobakobodob has joined #ruby
cobakobodob has quit [Max SendQ exceeded]
MrIlyas has joined #ruby
cobakobodob has joined #ruby
cobakobodob has quit [Max SendQ exceeded]
ta has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
cichol_ has quit [Ping timeout: 264 seconds]
j0n3 has joined #ruby
j0n3 has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 255 seconds]
Flcn__ has joined #ruby
cobakobodob has joined #ruby
ta has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
j0n3 has joined #ruby
nelsonr has quit [Remote host closed the connection]
kiyote23 has joined #ruby
cobakobodob has quit [Quit: WeeChat 0.4.3]
cobakobodob has joined #ruby
slmorton has quit []
bonhoeffer has quit [Quit: bonhoeffer]
testcore has quit [Remote host closed the connection]
fandi has joined #ruby
testcore has joined #ruby
DadoCe has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 245 seconds]
lkba has quit [Ping timeout: 265 seconds]
kiyote23 has quit [Ping timeout: 272 seconds]
nelsonr has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
livathinos has quit [Remote host closed the connection]
poetazus has joined #ruby
bookies has joined #ruby
vinleod has joined #ruby
Techguy305|2 has quit [Ping timeout: 244 seconds]
gccostabr has joined #ruby
gccostabr has quit [Max SendQ exceeded]
spider-mario has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
gccostabr has joined #ruby
<bookies> Hi. I get a url with request.original_url. Example: "http://localhost:3000/p/test?share=true". Then I want to take out the "?share=true". I am thinking that I can do that by always taking out the last 11 characters of the url. However is this a proper way to go about it?
DadoCe has joined #ruby
DadoCe has quit [Remote host closed the connection]
arup_r has joined #ruby
DadoCe has joined #ruby
oo_ has quit [Ping timeout: 250 seconds]
claw_ has quit [Remote host closed the connection]
ebbflowgo has joined #ruby
ccurtisj has joined #ruby
cobakobodob has quit [Quit: WeeChat 0.4.3]
jenrzzz has joined #ruby
arup_r has quit [Remote host closed the connection]
cobakobodob has joined #ruby
rippa has joined #ruby
oleo__ has joined #ruby
cobakobodob has quit [Client Quit]
cobakobodob has joined #ruby
rdark has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
axilla has joined #ruby
ebbflowgo has joined #ruby
oleo is now known as Guest3962
<Hanmac> bookies: hm what do you mean with "take out"? do you want to return or to remove it?
ccurtisj has quit [Ping timeout: 258 seconds]
Guest3962 has quit [Ping timeout: 245 seconds]
<Hanmac> >> require "uri"; URI("http://localhost:3000/p/test?share=true").query
<eval-in__> Hanmac => "share=true" (https://eval.in/238353)
bmichelsen has quit [Quit: ZZZzzz…]
<bookies> excellent, thank you :)
hamakn has joined #ruby
bookies has left #ruby [#ruby]
oleo__ has quit [Quit: Verlassend]
ta has joined #ruby
LouisRoR1 has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
Soda has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
tus has joined #ruby
cantonic has joined #ruby
ItSANgo has quit [Quit: Leaving...]
ponga has quit [Quit: Leaving...]
alex88 has quit [Remote host closed the connection]
ta has quit [Ping timeout: 265 seconds]
oleo__ has joined #ruby
jespada has joined #ruby
bronson has quit [Ping timeout: 250 seconds]
jherbst has joined #ruby
spider-mario has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
alex88 has joined #ruby
alex88 has quit [Changing host]
alex88 has joined #ruby
poetazus has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
kasperti_ has joined #ruby
teddyp1cker has joined #ruby
DadoCe has quit [Remote host closed the connection]
javiercito has joined #ruby
leafybasil has joined #ruby
atmosx has quit [Read error: Connection reset by peer]
aclearman037 has joined #ruby
DadoCe has joined #ruby
atmosx has joined #ruby
razieliyo_ has joined #ruby
yfeldblum has joined #ruby
elaptics`away is now known as elaptics
Liquori has joined #ruby
razieliyo has quit [Ping timeout: 265 seconds]
javiercito has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 244 seconds]
mr_rich101 has quit [Ping timeout: 245 seconds]
mr_rich102 has joined #ruby
Sembei has quit [Excess Flood]
mliq has quit [Ping timeout: 291 seconds]
Deele has quit [Ping timeout: 270 seconds]
Sembei has joined #ruby
ardian has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
Deele has joined #ruby
agrinb has joined #ruby
xenomorph is now known as {xenomorph}
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ccurtisj has joined #ruby
ta has joined #ruby
{xenomorph} is now known as xenomorph
startupality has quit [Quit: startupality]
agrinb has quit [Ping timeout: 258 seconds]
<ccurtisj> @mglAC Can you post your full Gemfile and Gemfile.lock?
josephndenton has joined #ruby
startupality has joined #ruby
alex88_ has joined #ruby
alex88 has quit [Ping timeout: 240 seconds]
ardian has quit [Ping timeout: 250 seconds]
oleo__ is now known as oleo
ta has quit [Ping timeout: 250 seconds]
ardian has joined #ruby
govg has quit [Ping timeout: 265 seconds]
Xeago has joined #ruby
josephndenton has quit [Ping timeout: 272 seconds]
siso has quit [Quit: siso]
ItSANgo has joined #ruby
claptor has quit [Quit: this channel is bakas]
spacemud has quit [Ping timeout: 255 seconds]
Xeago has quit [Remote host closed the connection]
ptrrr has joined #ruby
Xeago has joined #ruby
oo_ has joined #ruby
paulfm has joined #ruby
oo_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby
Pupeno_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
russt has joined #ruby
alex88_ has quit [Read error: Connection reset by peer]
alex88 has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
elfuego has quit [Quit: elfuego]
spacemud has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
codecop has joined #ruby
giuseppesolinas has joined #ruby
rshetty has quit [Remote host closed the connection]
pushpak has quit [Quit: Leaving...]
yfeldblu_ has joined #ruby
Abhijit has joined #ruby
danielcharles has quit [Ping timeout: 244 seconds]
Flcn__ has quit [Quit: Be back later ...]
javiercito has joined #ruby
tadasp has quit [Ping timeout: 264 seconds]
hvxgr has joined #ruby
dumdedum has quit [Quit: foo]
yfeldblu_ has quit [Ping timeout: 264 seconds]
visof has joined #ruby
<visof> hello
<visof> is there anybody using HTTParty?
tkuchiki has joined #ruby
ta has joined #ruby
<visof> how can i interpret this curl --user admin:admin to HTTParty?
kapil__ has quit [Quit: Connection closed for inactivity]
Zai00 has joined #ruby
dionysus69 has joined #ruby
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kasperti_ has quit []
danielcharles has joined #ruby
ta has quit [Ping timeout: 255 seconds]
hvxgr has quit [Quit: leaving]
cichol has quit [Remote host closed the connection]
<ccurtisj> @visof do HTTParty.get('http://google.com', basic_auth: {username: 'admin', password: 'admin'})
nateberkopec has joined #ruby
hvxgr has joined #ruby
phutchins has joined #ruby
last_staff has quit [Quit: last_staff]
msmith_ has joined #ruby
iamninja has joined #ruby
spacemud has quit [Ping timeout: 240 seconds]
DarthGandalf has quit [Ping timeout: 258 seconds]
ltd has quit [Ping timeout: 245 seconds]
silkfox has joined #ruby
spacemud has joined #ruby
jottr has joined #ruby
tkuchiki has quit [Remote host closed the connection]
livathinos has joined #ruby
ltd has joined #ruby
tkuchiki has joined #ruby
hvxgr has quit [Ping timeout: 255 seconds]
ziyadb has joined #ruby
ziyadb has quit [Changing host]
ziyadb has joined #ruby
ziyadb has quit [Changing host]
ziyadb has joined #ruby
p8m has quit [Quit: Lost terminal]
timonv^ has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
hvxgr has joined #ruby
hvxgr has quit [Client Quit]
hvxgr has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
spastorino has joined #ruby
AxonetBE has joined #ruby
timonv_ has quit [Ping timeout: 264 seconds]
DarthGandalf has joined #ruby
AxonetBE has quit [Client Quit]
agrinb has joined #ruby
apurcell has joined #ruby
lxsameer has quit [Quit: Leaving]
agrinb has quit [Ping timeout: 258 seconds]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aclearman037 has joined #ruby
tkuchiki has joined #ruby
apurcell has quit [Ping timeout: 272 seconds]
hvxgr has quit [Quit: leaving]
hvxgr has joined #ruby
amystephen has joined #ruby
hmn_hf has joined #ruby
kirun has joined #ruby
sevenseacat has quit [Remote host closed the connection]
rshetty has joined #ruby
hmn_hf has quit [Client Quit]
hmnhf has joined #ruby
dumdedum has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
yeticry has joined #ruby
basex has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
javiercito has quit [Remote host closed the connection]
jefus__ is now known as jefus
javiercito has joined #ruby
DadoCe has quit [Remote host closed the connection]
hmnhf has quit [Quit: Konversation terminated!]
ebbflowgo has quit [Quit: ebbflowgo]
sinkensabe has joined #ruby
kiyote23 has joined #ruby
agrinb has joined #ruby
GeorgesLeYeti has joined #ruby
razieliyo_ has quit [Ping timeout: 265 seconds]
FooMunki has joined #ruby
jespada has quit [Quit: Leaving]
aclearman037 has joined #ruby
hmnhf has joined #ruby
bitri_ has joined #ruby
rimantas has quit [Quit: rimantas]
bronson has joined #ruby
Abhijit has quit [Ping timeout: 256 seconds]
javiercito has quit [Remote host closed the connection]
Flcn__ has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
razieliyo has joined #ruby
razieliyo has quit [Changing host]
razieliyo has joined #ruby
yxhuvud has quit [Ping timeout: 240 seconds]
wald0 has joined #ruby
hemanth has quit [Remote host closed the connection]
bayed has quit [Quit: Connection closed for inactivity]
Xiti has joined #ruby
yeticry has quit [Ping timeout: 245 seconds]
<wald0> "the c programming language" is a really good book, but there's a ton of bad ones, can anybody suggest me the ones that found to be the best ones to learn better C ?
javiercito has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
<apeiros_> wald0: um, ##C?
yeticry has joined #ruby
<Ninjex> learn better c?
<Ninjex> all c is the same c
<wald0> woops, i thought that i was in ##c :) sorry
n80 has joined #ruby
<apeiros_> wald0: note, their topic links to books
Hanmac has quit [Ping timeout: 265 seconds]
mercwithamouth has joined #ruby
<nateberkopec> Ugh, anyone else having issues w/rubygems right now?
mrmargolis has joined #ruby
<nateberkopec> stuck on "Fetching source index from https://rubygems.org/"
<crome> it does it quite often nowadays
<nateberkopec> Weird. Bundle update works.
tvw has joined #ruby
kiyote23 has quit [Remote host closed the connection]
hashpuppy has joined #ruby
Abhijit has joined #ruby
<nateberkopec> Must be an issue with my Gemfile.
josephndenton has joined #ruby
dkb20k has quit [Remote host closed the connection]
n80 has quit [Quit: n80]
sambao21 has joined #ruby
Abhijit has quit [Client Quit]
gccostabr has quit [Ping timeout: 256 seconds]
ta has joined #ruby
Hanmac has joined #ruby
n80 has joined #ruby
crueber has joined #ruby
Flcn__ has quit [Quit: Be back later ...]
dblessing has joined #ruby
Blackhol_ has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 240 seconds]
ta has quit [Ping timeout: 272 seconds]
mercwithamouth has joined #ruby
djdarkbeat has joined #ruby
Channel6 has joined #ruby
hgl has quit [Max SendQ exceeded]
crueber has quit [Quit: Leaving.]
Apocalypse has quit [Ping timeout: 240 seconds]
hgl has joined #ruby
studiotate has joined #ruby
hgl has quit [Max SendQ exceeded]
Photism has joined #ruby
<atmosx> wald0: that book is more like a reference than anything else, I've tried a couple of times got bored to death every time.
<atmosx> never actually finished (must be lying somehwere around here...)
hgl has joined #ruby
enebo has joined #ruby
Apocalypse has joined #ruby
crueber has joined #ruby
glcheetham has joined #ruby
gccostabr has joined #ruby
ta has joined #ruby
<glcheetham> Hi, does anyone know when ruby going to be updated in the trusty repos from 1.9.3, which is now over a year old? I'm slightly concerned because rails 5 will not support ruby versions below 2.2
enebo has quit [Client Quit]
hgl has quit [Max SendQ exceeded]
russt has quit [Quit: russt]
hgl has joined #ruby
<crome> glcheetham: stop using system ruby
sinkensabe has quit [Remote host closed the connection]
crueber has quit [Client Quit]
Aswebb_ has joined #ruby
<crome> take a look at rvm or rbenv, it makes life a lot easier
hiyosi has joined #ruby
GeorgesLeYeti has quit [Ping timeout: 245 seconds]
<glcheetham> crome: I use rvm on my development machine, just so far I haven't really been bothered to look into fitting it into my package maintenance workflow for my servers. I suppose I'll have to start thinking about it soon anyway...
ta has quit [Ping timeout: 256 seconds]
yxhuvud has joined #ruby
ta has joined #ruby
mary5030 has joined #ruby
teddyp1cker has joined #ruby
glcheetham has quit [Quit: Leaving]
last_staff has joined #ruby
ccurtisj has quit [Remote host closed the connection]
dc_ has joined #ruby
ta has quit [Ping timeout: 240 seconds]
ajacmac has joined #ruby
DrCode has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
DrCode has joined #ruby
teddyp1cker has quit [Ping timeout: 264 seconds]
troulouliou_dev has quit [Remote host closed the connection]
dc_ has quit [Remote host closed the connection]
Kricir has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
ccurtisj has joined #ruby
oetjenj has joined #ruby
poetazus has joined #ruby
DadoCe has joined #ruby
ta has joined #ruby
poetazus has quit [Read error: Connection reset by peer]
byprdct has joined #ruby
poetazus has joined #ruby
yfeldblum has joined #ruby
LouisRoR has joined #ruby
dc_ has joined #ruby
jrhe has joined #ruby
<jrhe> Hi guys, stylistic question here. When would one raise an error vs returning a boolean value? I’m writing a web scraping gem which logs in first. I have a log in method to do this and I’m not sure what a sensible way of indicating login failure is. Logging in doesn’t really return anything useful immediately so its not like theres a user object to return on success.
<shevy> can there be problems with Thread.new { sleep 5; puts 'hi' } ?
ta has quit [Ping timeout: 265 seconds]
DadoCe has quit [Ping timeout: 265 seconds]
<jrhe> have a feeling Avdi Grimm has probably covered this in one of his books but I can’t seem to find it at the moment.
yfeldblum has quit [Ping timeout: 244 seconds]
<shevy> I seem to have some thread that does not sleep for 5 seconds but instead for 5 + x seconds... where x seems to be any random number...
gccostabr has quit [Ping timeout: 240 seconds]
<bradland> jrhe: i like to raise exceptions for things i don’t expect, and return values for things that i do expect.
studiotate has quit [Quit: Lingo - http://www.lingoirc.com]
lxsameer has quit [Quit: Leaving]
<bradland> are the credentials provided interactively?
<Ninjex> pry?
<jrhe> bradland: Thats kinda what I usually do but I’m not really sure what to do in this case. They are provided on the command line.
<bradland> then i would not raise an exception, because I expect users to incorrectly key information.
<jrhe> Ninjex: Hard problem to debug using pry no?
oetjenj has quit [Quit: Textual IRC Client: www.textualapp.com]
oetjenj has joined #ruby
speaking1ode has joined #ruby
<jrhe> bradland: hmm. ok. Thinking about it its more a case of what level I should throw the exception. If the scraper can’t log in its pretty much done so i will have to throw one futher up the call stack anyway
thumpba has joined #ruby
stunder has joined #ruby
<shevy> jrhe the simplest approach would be to assume that everything fails by default
davedev24_ has joined #ruby
freerobby has joined #ruby
<bradland> typically what you’d have is a CLI lib that handles user interaction. this is the layer where you’d handle exeptions from the web scraping gem, and offer the ability to retry.
speaking1ode is now known as speakingcode-wor
<bradland> so, your web scraper might raise an exception, but the CLI lib would handle it and offer a retry.
dc_ has quit [Remote host closed the connection]
gccostabr has joined #ruby
Inoperable has joined #ruby
<bradland> from a net library (libraries that connect to other services over a network) perspective, most i’ve used raise an exception when the credentials are bad.
<bradland> any interaction from a UI perspective uses a begin/rescue block to capture and retry.
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
thumpba has quit [Remote host closed the connection]
<jrhe> bradland: Cheers :). All clear now
<bradland> you bet
renderful has joined #ruby
rdark has quit [Quit: leaving]
s00pcan__ has quit [Read error: Connection reset by peer]
mercwithamouth has quit [Ping timeout: 244 seconds]
mengu has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ruby
s00pcan_ has joined #ruby
triple_b has joined #ruby
renderful has quit [Ping timeout: 245 seconds]
<shevy> does one of you guys know how long pasties will stand up?
dkb20k has joined #ruby
<shevy> e. g. I might need a pastie to be around for, let's say +3 years into the future. afterwards it is ok if it is eliminated
javiercito has quit [Remote host closed the connection]
djdarkbeat has quit [Quit: djdarkbeat]
avahey91 has joined #ruby
govg has joined #ruby
parduse has quit []
Flcn__ has joined #ruby
thumpba has joined #ruby
poetazus has quit [Remote host closed the connection]
poetazus has joined #ruby
mglAC has quit [Quit: leaving]
javiercito has joined #ruby
parduse has joined #ruby
poetazus has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
<shevy> ah ok thanks for the info Mon_Ouie
anarang has quit [Ping timeout: 258 seconds]
<shevy> lol
<shevy> I actually never realized the private-link checkbox down there until that information just now
Flcn__ has quit [Read error: Connection reset by peer]
apurcell has joined #ruby
studiotate has joined #ruby
Flcn__ has joined #ruby
whoisjake has joined #ruby
t0rc has joined #ruby
t0rc has left #ruby [#ruby]
Pupeno_ has quit [Remote host closed the connection]
ccurtisj has quit [Ping timeout: 265 seconds]
apurcell has quit [Ping timeout: 258 seconds]
<godd2> First Law of the Beginning Programmers: If I don't understand something, it's obviously the explainer's fault.
Elan10993245 has joined #ruby
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
AmirolAhmad has joined #ruby
byprdct has quit [Read error: Connection reset by peer]
thumpba has quit [Remote host closed the connection]
grzywacz has left #ruby [#ruby]
poetazus has joined #ruby
bitri_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Blackhol_ has joined #ruby
giuseppesolinas has joined #ruby
<shevy> if they explained something
loc22 has joined #ruby
<godd2> :P
klmlfl has joined #ruby
lifenoodles has quit [Ping timeout: 255 seconds]
n80 has quit [Quit: n80]
mengu has quit [Remote host closed the connection]
mengu has joined #ruby
crueber has joined #ruby
braincra- has joined #ruby
devdazed has joined #ruby
braincrash has quit [Ping timeout: 250 seconds]
mengu has quit [Ping timeout: 245 seconds]
arya_ching has joined #ruby
bitri_ has joined #ruby
msmith_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
jottr has joined #ruby
bronson has joined #ruby
msmith_ has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
noop1 has quit [Read error: Connection reset by peer]
DrCode has quit [Ping timeout: 250 seconds]
noop1 has joined #ruby
gsd has joined #ruby
icebourg has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
bitri_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 240 seconds]
kiyote23 has joined #ruby
evanjs has joined #ruby
parduse has quit []
kasperti_ has joined #ruby
DrCode has joined #ruby
programmerq has quit [Quit: WeeChat 1.0]
programmerq has joined #ruby
DadoCe has joined #ruby
programmerq has quit [Client Quit]
chrishough has joined #ruby
programmerq has joined #ruby
arclitgold has joined #ruby
commmmodo has joined #ruby
AxonetBE has joined #ruby
DadoCe has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby
jimms has joined #ruby
TheAtomicGoose has joined #ruby
kiyote23 has quit [Remote host closed the connection]
jimms has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
poetazus has quit [Remote host closed the connection]
jimms has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
jdj_dk has quit [Remote host closed the connection]
kiyote23 has joined #ruby
jrhe has quit [Quit: jrhe]
Elan10993245 has quit [Ping timeout: 244 seconds]
javiercito has quit [Remote host closed the connection]
Cat_1 has joined #ruby
djdarkbeat has joined #ruby
Grumelo has quit [Remote host closed the connection]
dkb20k has quit [Ping timeout: 255 seconds]
Parker0 has joined #ruby
Xeago has joined #ruby
mostlybadfly has joined #ruby
jimms has quit [Read error: Connection reset by peer]
jimms_ has joined #ruby
kasperti_ has quit []
Pupeno has joined #ruby
ohaibbq has joined #ruby
ndrei has quit [Quit: Lost terminal]
<MrSparkle> I like ruby
<MrSparkle> restarted the programming stuff a few days ago, after taking a semester of java long ago
<MrSparkle> why the hell didn't they use ruby back then
triple_b has joined #ruby
paulfm has quit [Quit: Zzzzz...]
Heskie has joined #ruby
<j2p2> because java is better for people just starting out
<j2p2> ruby can give you bad habits
javiercito has joined #ruby
ndrei has joined #ruby
<j2p2> a lot of important concepts are hidden behind the scenes much of the time
wallerdev has joined #ruby
<j2p2> like inheritence, private/public, etc
<crueber> Neither of those are hidden in ruby. ;)
<j2p2> ok
<Hanmac> j2p2: java can you give VERY bad habits too
olivier_bK has quit [Ping timeout: 255 seconds]
<crueber> Agree.
giz|afh has joined #ruby
<godd2> Clearly no one should ever learn how to program. They'll just do it wrong!
sinkensabe has joined #ruby
paulfm has joined #ruby
<giz|afh> i think i can code since 1999
Pupeno has quit [Remote host closed the connection]
<giz|afh> i have never been so wrong+
<Mon_Ouie> I think programming hides many important things, like how a transistor works --- we should all begin with Maxwell's Equations!
<j2p2> man you guys are really running with this
<TheAtomicGoose> is there a way to alias links which are being printed in the console with ruby? e.g. have "Example Website" link to www.example.com ?
<apeiros_> java teaches you the very important concept of boilerplate
<j2p2> i didn't even try to defend my position
awheeler has joined #ruby
<Hanmac> Mon_Ouie: i dont trust electrons they are way to negative for me ...
<godd2> apeiros_ cause to make a cup of java, you have to boil water on a hotplate
iceden has joined #ruby
<Mon_Ouie> hanmac: Only trust holes then?
Pupeno has joined #ruby
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
teddyp1cker has joined #ruby
paulfm has quit [Quit: Goodbye]
beneggett has joined #ruby
rshetty has quit [Remote host closed the connection]
Cat_1 has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 264 seconds]
bricker`work has joined #ruby
<MrSparkle> public private int float zzz
<MrSparkle> all those brackets
<MrSparkle> anything you program in the first semester it doesn't matter~
jobewan has joined #ruby
yfeldblum has joined #ruby
matti has joined #ruby
SHyx0rmZ has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
vt102 has quit [Remote host closed the connection]
teddyp1cker has quit [Ping timeout: 245 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
trampi has joined #ruby
timonv^ has quit [Remote host closed the connection]
<trampi> How can i use the escape character in a regex? Something like: /regularexpression[ESCAPE-CHARACTER-HERE]/
iwishiwerearobot has quit [Quit: Be back later ...]
alex88_ has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
<godd2> trampi are you talking about the characters you have to escape in a regex, or the characters you have to escape in a normal string?
michaeldeol has joined #ruby
Pupeno has quit [Remote host closed the connection]
<trampi> godd2: i want a regex that matches the escape-character in strings (ascii27)
alex88 has quit [Ping timeout: 265 seconds]
<trampi> godd2: my problem is that i do not know how to escape the escape character in my regular expression
maletor has joined #ruby
<godd2> it's the same as far as I know
<godd2> >> "\n".match /\n/
<eval-in__> godd2 => #<MatchData "\n"> (https://eval.in/238429)
<apeiros_> /\e/
<trampi> apeiros_: will try that, thanks
<trampi> godd2: thats not what i am looking for, but thank you too :-)
<apeiros_> alternatively \x1b
giuseppesolinas has joined #ruby
<godd2> oooh, esc itself. got it
jimms_ has quit [Ping timeout: 244 seconds]
adamski2600 has joined #ruby
ta has joined #ruby
<trampi> apeiros_: /\e/ does the trick. thanks
Rydekull has quit [Ping timeout: 240 seconds]
msmith_ has quit [Remote host closed the connection]
jimms has joined #ruby
bitri_ has joined #ruby
diegoviola has joined #ruby
kiyote23 has quit [Remote host closed the connection]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jimms has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 256 seconds]
jimms has joined #ruby
pushpak has joined #ruby
Zai00 has quit [Quit: Zai00]
psy has quit [Remote host closed the connection]
geggam has joined #ruby
jimms has quit [Ping timeout: 250 seconds]
neoxquick has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
jimms has joined #ruby
jimms has quit [Client Quit]
mattwildig has joined #ruby
parduse has joined #ruby
axilla has quit [Ping timeout: 256 seconds]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xeago has quit [Read error: Connection reset by peer]
livathinos has quit [Remote host closed the connection]
ARCADIVS has quit [Quit: ARCADIVS]
mdw has joined #ruby
apurcell has joined #ruby
rbennacer is now known as rfennec
dkb20k has joined #ruby
aclearman037 has joined #ruby
ohaibbq has quit [Quit: Leaving...]
<shevy> \x1b is escape?
wallerdev has quit [Quit: wallerdev]
studiotate has quit [Read error: Connection reset by peer]
apurcell has quit [Ping timeout: 244 seconds]
studiotate has joined #ruby
dkb20k has quit [Ping timeout: 245 seconds]
Hijiri has quit [Ping timeout: 258 seconds]
neoxquick has joined #ruby
bronson has joined #ruby
Hijiri has joined #ruby
mjuszczak has joined #ruby
mattwildig has quit [Ping timeout: 240 seconds]
javiercito has quit [Ping timeout: 272 seconds]
awheeler has quit [Remote host closed the connection]
Techguy305 has joined #ruby
Photism has quit [Quit: Leaving]
javiercito has joined #ruby
n80 has joined #ruby
mattwildig has joined #ruby
<apeiros_> >> "\x1b"
<eval-in__> apeiros_ => "\e" (https://eval.in/238431)
<apeiros_> shevy: ^
Heskie has quit []
hgl has quit [Ping timeout: 265 seconds]
Heskie has joined #ruby
j0n3 has quit [Read error: Connection reset by peer]
Heskie has quit [Client Quit]
Heskie has joined #ruby
mjuszczak has quit []
javiercito has quit [Remote host closed the connection]
tlarevo has joined #ruby
bronson has quit [Remote host closed the connection]
hgl has joined #ruby
arclitgold has left #ruby [#ruby]
chrishough has joined #ruby
Stoge88 has joined #ruby
mjuszczak has joined #ruby
commmmodo has quit [Quit: commmmodo]
mdw has quit [Read error: No route to host]
bronson has joined #ruby
VictorBjelkholm has quit [Remote host closed the connection]
Heskie has quit []
yfeldblum has joined #ruby
cbetta__ is now known as cbetta
cbetta has quit [Changing host]
cbetta has joined #ruby
cbetta has quit [Changing host]
cbetta has joined #ruby
blackmesa has joined #ruby
basichash has joined #ruby
tobago has quit [Remote host closed the connection]
<basichash> Is ruby better than python?
javiercito has joined #ruby
<waxjar> not again :(
wallerdev has joined #ruby
dumdedum has quit [Quit: foo]
<basichash> ?
Cat_1 has joined #ruby
rshetty has joined #ruby
<xfz> basichash: there's no real way to answer that objectively. it's a matter of taste in most cases
yfeldblum has quit [Ping timeout: 272 seconds]
maestrojed has joined #ruby
loc22 has quit [Read error: Connection reset by peer]
<godd2> basichash ruby has blocks and singleton classes. python has list comprehension and first class functions. its a matter of taste I guess
<basichash> godd2: what's a singleton class?
<godd2> basichash it's the class that an object is a single instance of
<godd2> >> a = "hello"; def a.say; puts "no"; end; a.say # the say method was defined on a's singleton class
<eval-in__> godd2 => no ... (https://eval.in/238432)
<basichash> godd2: as in you can only have one instance of a class?
ohaibbq has joined #ruby
<godd2> basichash no no, you can have more than one instance of a regular old class
slawrence00 has joined #ruby
<basichash> ah ok
<vvivv> ruby is funny
Cat_1 has quit [Ping timeout: 272 seconds]
rshetty has quit [Ping timeout: 256 seconds]
<waxjar> you can add custom behaviour to for example one String instance, without affecting other/future instances
<godd2> basichash one thing to note is that to find true differences between the languages, you have to dig down deep. for most things, they're very very similar.
diegoviola has quit [Quit: WeeChat 1.0.1]
poetazus has joined #ruby
<basichash> so it doesn't matter which i use?
Inoperable has quit [Quit: Rectified]
<godd2> basichash not in the grand scheme I suppose. I do recommend that once you've gotten good at one, that you learn some of the other
Heskie has joined #ruby
<basichash> godd2: how does one get good?
<godd2> same with any craft I would think. lots of practice and hard work
<basichash> godd2: damn
<havenwood> basichash: Ruby is lovely. Read a bunch of Ruby code. Write a bunch of Ruby code.
<godd2> well if it was easy, everyone could do it :)
<waxjar> it also depends on what you want to do. if you want to crunch numbers for example, go with python. they have much better tools than ruby to do that
ta has joined #ruby
<basichash> yeah i used to use python a lot, then started learning ruby because of rails
<godd2> basichash I like ruby because the readability is very consistent
razieliyo has quit [Ping timeout: 272 seconds]
<basichash> are there any relatively simple libraries/projects i could study?
Heskie has quit [Read error: Connection reset by peer]
Heskie has joined #ruby
teddyp1cker has joined #ruby
bronson has quit [Remote host closed the connection]
msmith_ has joined #ruby
_beechnut has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
ta has quit [Ping timeout: 256 seconds]
tejas-manohar has joined #ruby
<tejas-manohar> yo guys
<tejas-manohar> o wait nvm
<tejas-manohar> overthought something
paulfm has joined #ruby
bronson has joined #ruby
msmith_ has quit [Ping timeout: 240 seconds]
axilla has joined #ruby
<MrSparkle> why am I stuck on what unless means, of all things
<waxjar> its the opposite of if
<havenwood> MrSparkle: unless you figure it out you'll never know!
blackmesa has quit [Ping timeout: 256 seconds]
neutrino has quit [Ping timeout: 264 seconds]
<MrSparkle> if false, do it?
<MrSparkle> vs if, which is do it if false
<MrSparkle> er
<godd2> unless user.logged_in?; show_login_page; end
elfuego has joined #ruby
<havenwood> unless true, do it
<havenwood> MrSparkle: just what 'unless' usually means
<godd2> because you wouldn't show the login page to someone who's logged in
Pupeno has joined #ruby
diegoviola has joined #ruby
<MrSparkle> then I'm struggling with the word
<havenwood> MrSparkle: keep asking unless you already understand. <- should you keep asking?
<MrSparkle> yes
claymore has joined #ruby
<havenwood> so you understand unless!
<godd2> MrSparkle think about this sentence "go to work unless it's sunday"
parduse has quit []
arya_ching has quit [Ping timeout: 240 seconds]
<godd2> which is equivalent to "if it's not sunday, go to work"
<MrSparkle> if not conditional, do thing ok
teddyp1cker has quit [Remote host closed the connection]
<MrSparkle> is this a not true, or is false, in terms of ruby?
<MrSparkle> I think bolleam can nil? >_>
bricker`work is now known as bricker
<godd2> MrSparkle "unless" will pass when the stuff after is false or nil
blackmesa has joined #ruby
AmirolAhmad has quit []
<MrSparkle> \o/
hmnhf has quit [Ping timeout: 244 seconds]
giz|afh has quit [Read error: Connection reset by peer]
Sid05 has joined #ruby
giz|afh has joined #ruby
<MrSparkle> also, why doesn' elseif do the same thing as elsif :(
iceden has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
<godd2> because elsif is a defined keyword in ruby, and elseif is not.
pwnz0r has joined #ruby
paulfm has quit [Quit: Zzzzz...]
<godd2> MrSparkle here is a list of those special keywords: http://ruby-doc.org/docs/keywords/1.9/
dts|pokeball has joined #ruby
<godd2> you can see elsif just after "do" and "else"
msmith_ has joined #ruby
n80 has quit [Quit: n80]
<bricker> else if, elseif, elsif, elif
philwantsfish1 has joined #ruby
<bricker> I can't decide if "elsif" or "elif" is worse
<sweeper> elsif is worse
<sweeper> because you say it the same as "elseif" in your head
<godd2> "hey! lets make a high level language and arbitrarily remove letters from words that are in lower-level languages!"
<bricker> sweeper: good point
<godd2> I think it's inconsistent that elsif is in Ruby, but we have to write "initialize"
<sweeper> you would think it'd be easier to implement them as two separate operators too
<bricker> lol
philwantsfish has quit [Ping timeout: 240 seconds]
<bricker> I misspell "initiallize" 100% of the time
lolmaus has quit [Quit: Konversation terminated!]
<bricker> initlaize*
<bricker> initialize*
<IceDragon> godd2: certainly better than writing the class name twice (C++)
<sweeper> like if { block } else { if {block} }
<godd2> feature request: alias init to initialize hook
<MrSparkle> I wasn't after the exact reason, but thanks!
<sweeper> although it'd get nasty with more than two
amystephen has quit [Ping timeout: 265 seconds]
<MrSparkle> eroor on line with .capitalize ? I bet I should have typed capitalise
<godd2> really, initialize and @@ are my only two complaints...
<godd2> MrSparkle nah it should be the American English version 'capitalize'
<godd2> >> "hello".capitalize
<eval-in__> godd2 => "Hello" (https://eval.in/238436)
dc_ has joined #ruby
ta has joined #ruby
dkb20k has joined #ruby
<MrSparkle> I find spelling mistakes that arn't there, or I outright missspell, but anyways
kiyote23 has joined #ruby
poetazus has quit [Remote host closed the connection]
Guest68461 is now known as adam12
adam12 is now known as Guest22806
vt102 has joined #ruby
<basichash> how can i implement a fib sequence in ruby using lambdas?
bluOxigen has quit [Ping timeout: 244 seconds]
kiyote23 has quit [Remote host closed the connection]
ta has quit [Ping timeout: 244 seconds]
Liquori has quit [Read error: Connection reset by peer]
dkb20k has quit [Ping timeout: 264 seconds]
<godd2> basichash it depends. do you want to have it return every fib up to a number? or perhaps find some nth fib number?
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<basichash> godd2: yeah up to some nth number, where n is the nth element of the sequence
Liquori has joined #ruby
<godd2> so that fib(7) == [1, 1, 2, 3, 5, 8, 13] ?
<basichash> correct
<basichash> man this stuff makes my head hurt
gsd has joined #ruby
ohaibbq has quit [Quit: Leaving...]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fantazo has joined #ruby
marr has quit [Ping timeout: 245 seconds]
AlexRussia has quit [Quit: WeeChat 1.1-dev]
javiercito has quit [Remote host closed the connection]
<atmosx> anyone using autotest (ZenTest) with minitest?
AlexRussia has joined #ruby
<atmosx> Shouldn't autotest start looking for .rb files in $PROJECT/test directory by default?!
<godd2> >> fib = ->(n, a=[1,1]) { if n == 0; a; else; fib.(n-1, a << (a[-2]+a[-1])); end}; fib.(7)
<eval-in__> godd2 => [1, 1, 2, 3, 5, 8, 13, 21, 34] (https://eval.in/238438)
rkalfane has joined #ruby
_beechnut has quit [Quit: Leaving.]
<godd2> with a little modification you can fix the off-by-2 error there
<atmosx> godd2: took about 40 minutes to write a fibonacci working version in JS :-(
<atmosx> not to mention that it's about 8-10 lines of code..
iceden has joined #ruby
<atmosx> off-by-2 error?!
pietr0 has joined #ruby
<atmosx> you mean include the 0 ?
<godd2> atmosx hehe, if you learn a bit of Clojure, your function-fu may increase a bit...
jottr has quit [Ping timeout: 264 seconds]
<havenwood> >> fibs = ->(n) { a, b = 0, 1; n.times.map { a, b = b, a + b; a }; fibs[7]
<eval-in__> havenwood => /tmp/execpad-618d9d362d40/source-618d9d362d40:3: syntax error, unexpected keyword_rescue, expecting '}' ... (https://eval.in/238439)
<godd2> nah I asked for 7 elements, and it gave me 9
nelsonr has quit [Remote host closed the connection]
<atmosx> godd2: ah clojure is nowhere near my landscape in the immediate future :-P
em0ral has joined #ruby
<atmosx> havenwood: you use minitest with autotest?
<havenwood> forgot the closing bracket
<atmosx> godd2: ah right.
<havenwood> >> fibs = ->(n) { a, b = 0, 1; n.times.map { a, b = b, a + b; a } }; fibs[7]
<eval-in__> havenwood => [1, 1, 2, 3, 5, 8, 13] (https://eval.in/238440)
<havenwood> atmosx: yup
ta has joined #ruby
<atmosx> havenwood: shouldn't autotest look at $PROJECT_ROOT/test directory for .rb files?
mattwildig has quit []
_beechnut has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
<havenwood> godd2: You'd need to enable tailcall_optimization with your version or you'll get `SystemStackError: stack level too deep` with larger numbers ;)
<havenwood> atmosx: hmm
<atmosx> havenwood: doesn't find the my simple_test.rb file in test/ oh wait
<atmosx> might be tests
<atmosx> nah
NivenHuH has joined #ruby
<godd2> havenwood yea I know, but its fun to see irb crash :P
studiotate_ has joined #ruby
yfeldblum has joined #ruby
<atmosx> It assumes
<atmosx> the code is in lib, and tests are in test/test_*.rb.
<godd2> havenwood: also, dont forget to turn off trace_instruction though...
<atmosx> awesome works
<atmosx> hmm can I add colors to minitest like rspec?!
basex has quit [Remote host closed the connection]
tlarevo has quit [Remote host closed the connection]
<havenwood> atmosx: very simple colors with: require 'minitest/pride'
kamilc__ has quit [Ping timeout: 240 seconds]
<atmosx> pride? haha
tlarevo has joined #ruby
<havenwood> well, rainbow colored dots :P
<atmosx> havenwood: that requirement goes to .autotest or something like .minitest ?
AlexRussia has quit [Changing host]
AlexRussia has joined #ruby
apurcell has joined #ruby
ta has quit [Ping timeout: 244 seconds]
asteros has joined #ruby
<atmosx> hm or to the test maybe
<havenwood> atmosx: i don't think i follow, but ships with minitest
<atmosx> okay, I'm testing the testing framework lol
Zai00 has joined #ruby
<atmosx> okay I have a rainbow color-scheme in the place where I least need it..
<havenwood> haha
<havenwood> \o/
studiotate has quit [Ping timeout: 258 seconds]
shellfu has joined #ruby
<havenwood> i need coffee...!
<atmosx> lol
<atmosx> havenwood: espresso!
Kabaka has quit [Read error: Connection reset by peer]
* atmosx doesn't drink coffee
* shellfu enjoys hot bean drink
mjuszczak has quit []
yfeldblum has quit [Ping timeout: 244 seconds]
<mostlybadfly> Mmmmm coffee
Aswebb_ has quit []
Trynemjoel has quit [Ping timeout: 272 seconds]
s00pcan has quit [Remote host closed the connection]
s00pcan_ has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
jottr has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JBreit has quit [Read error: Connection reset by peer]
jimmyhoughjr has joined #ruby
s00pcan has joined #ruby
davedev24_ has quit [Ping timeout: 258 seconds]
michaeldeol has joined #ruby
silkfox has quit [Ping timeout: 244 seconds]
Kricir has quit [Remote host closed the connection]
duggiefresh has joined #ruby
Trynemjoel has joined #ruby
duggiefresh has quit [Remote host closed the connection]
DadoCe has joined #ruby
davedev24_ has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
javiercito has joined #ruby
AlexRussia has quit [Quit: WeeChat 1.1-dev]
jobewan has quit [Quit: Leaving]
AlexRussia has joined #ruby
bitri_ has quit [Quit: Textual IRC Client: www.textualapp.com]
AlexRussia has quit [Changing host]
AlexRussia has joined #ruby
maestrojed has joined #ruby
noop1 has quit [Ping timeout: 264 seconds]
mjuszczak has joined #ruby
teddyp1cker has joined #ruby
em0ral has quit [Read error: Connection reset by peer]
startupality has quit [Quit: startupality]
commmmodo has joined #ruby
Zai00 has quit [Quit: Zai00]
maestrojed has quit [Client Quit]
hamakn has quit [Remote host closed the connection]
DadoCe has quit [Ping timeout: 245 seconds]
ta has joined #ruby
JBreit has joined #ruby
alex88_ has quit []
jottr has quit [Read error: Connection reset by peer]
rbrs has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
tlarevo_ has joined #ruby
mjuszczak has quit []
Sid05 has quit [Ping timeout: 245 seconds]
tlarevo has quit [Ping timeout: 240 seconds]
<MrSparkle> gah lets reread the unless discussion
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MrSparkle> if not true, just have to remember those 3 words
knikolov has quit [Ping timeout: 258 seconds]
mdw has joined #ruby
lkba has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
<MrSparkle> the example I was looking at wasn't helping, doing a weird doble negative thing with problem = false, puts 'good to go unless' problem
msmith_ has quit [Remote host closed the connection]
knikolov has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
kiyote23 has joined #ruby
mjuszczak has joined #ruby
jobewan has joined #ruby
dionysus69 has quit [Ping timeout: 245 seconds]
infoget has joined #ruby
nik_-_ has joined #ruby
nik_-_ has quit [Client Quit]
tkuchiki has quit [Remote host closed the connection]
chrishough has joined #ruby
javiercito has quit [Remote host closed the connection]
nik_-_ has joined #ruby
tkuchiki has joined #ruby
startupality has joined #ruby
Heskie has quit [Read error: Connection reset by peer]
<infoget> Hi guys, How can I get float number from string? "09:30" to 9.3, this way? "9:30".tr(':','.').to_f
Heskie has joined #ruby
mjuszczak has quit [Client Quit]
hmnhf has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
mjuszczak has joined #ruby
tkuchiki has quit [Ping timeout: 240 seconds]
hmnhf has quit [Client Quit]
kamilc__ has joined #ruby
hmnhf has joined #ruby
mjuszczak has quit [Client Quit]
<apeiros_> >> "9:30".tr(':','.').to_f
<eval-in__> apeiros_ => 9.3 (https://eval.in/238442)
<apeiros_> seems fine infoget. what's your problem?
<infoget> apeiros_: If exists other solution, but thx
ta has quit [Ping timeout: 265 seconds]
<infoget> easier*
<apeiros_> not really
<apeiros_> 09:30 doesn't happen to be a time or duration?
Pupeno_ has joined #ruby
bronson has joined #ruby
<infoget> apeiros_: Bcs I have timezone in this format "+10:00" and I need to convert to float
Pupeno has quit [Read error: Connection reset by peer]
<apeiros_> infoget: you do realize that 9h 30min does *not* equal 9.3h?
<apeiros_> it'd be 9.5h
* sweeper giggles
<sweeper> you shouldn't have told him
<Hanmac> infoget: i dont think you can parse that + - format into the correct timezone
Soda has quit [Remote host closed the connection]
<apeiros_> also, time offsets are not timezones
<sweeper> also, isn't that the afghanistan time zone?
ahmgeek has joined #ruby
<sweeper> oh no, afg is 4:40
<sweeper> 4:30
<sweeper> some other misbegotten place with a half-hour offset
<infoget> Yeah, I working with DB where is example such as ( 4.3 - Kabul, -10 - Hawaii )
<sweeper> does is say 4.3 or 4.5 for kabul?
<sweeper> *it
<infoget> Like I wrote, 4.3
bronson has quit [Ping timeout: 255 seconds]
<infoget> It's little bit strange, right?
<apeiros_> that sounds fucked up
<sweeper> just back away slowly, no good can come of this
wald0 has quit [Quit: Lost terminal]
<sweeper> or run screaming, w/e, but get out
FooMunki has quit [Quit: FooMunki]
pwnz0r has quit [Remote host closed the connection]
<infoget> apeiros_: How could I do that when should to be like 4.5 insteed of 4.3 ?
Flcn__ has quit [Quit: Be back later ...]
rkalfane has joined #ruby
dkb20k has joined #ruby
<apeiros_> there's 60min in an hour, so 60 = 1
Flcn__ has joined #ruby
Sid05 has joined #ruby
<sweeper> infoget: but surely some string manipulation + actual time zone/offset stuff is what you want?
poetazus has joined #ruby
jarjar_prime has left #ruby ["Ready? Set? Go!"]
<apeiros_> >> hours, minutes = "09:30".match(/(\d+):(\d+)/).captures.map(&:to_i); hours + minutes.fdiv(60)
<eval-in__> apeiros_ => 9.5 (https://eval.in/238443)
<sweeper> like you're not manipulating dates as ints or somethin
Hobogrammer has joined #ruby
<infoget> apeiros_: thanks!
n80 has joined #ruby
Flcn__ has quit [Ping timeout: 255 seconds]
dkb20k has quit [Ping timeout: 255 seconds]
LouisRoR has quit [Ping timeout: 245 seconds]
giz|afh has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<Hanmac> or:
<Hanmac> >> /(?<hours>\d+):(?<minutes>\d+)/ =~ "09:30" ? hours.to_i + minutes.to_i.fdiv(60) : 0
<eval-in__> Hanmac => 9.5 (https://eval.in/238444)
JBreit has left #ruby ["Leaving"]
checkit has joined #ruby
yfeldblum has joined #ruby
tlarevo_ has quit [Ping timeout: 256 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
yfeldblum has quit [Ping timeout: 255 seconds]
andikr has quit [Remote host closed the connection]
rshetty has joined #ruby
thumpba has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
vvivv has quit [Quit: Leaving]
msmith_ has joined #ruby
paulfm has joined #ruby
SOLDIERz has joined #ruby
rshetty has quit [Ping timeout: 245 seconds]
n80 has quit [Quit: n80]
pidgeon has joined #ruby
kiyote23 has quit [Remote host closed the connection]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
lolmaus has joined #ruby
msmith_ has quit [Read error: Connection reset by peer]
thumpba_ has joined #ruby
bmichelsen has joined #ruby
pushpak has quit [Ping timeout: 240 seconds]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mjuszczak has joined #ruby
thumpba has quit [Ping timeout: 244 seconds]
marr has joined #ruby
klmlfl has quit [Remote host closed the connection]
aclearman037 has joined #ruby
chipotle has joined #ruby
_Buroa has joined #ruby
Soda has joined #ruby
vlad_starkov has quit [Quit: ZNC - http://znc.in]
ta has joined #ruby
tejas-manohar has left #ruby [#ruby]
silkfox has joined #ruby
Sid05 has quit [Ping timeout: 240 seconds]
kiyote23 has joined #ruby
msmith_ has joined #ruby
ta has quit [Ping timeout: 258 seconds]
deryl has joined #ruby
shuber_ has joined #ruby
pwnz0r has joined #ruby
thumpba has joined #ruby
thumpba__ has joined #ruby
thumpba_ has quit [Ping timeout: 240 seconds]
javiercito has joined #ruby
<MrSparkle> does while stop partway into a loop should the condition go true?
thumpba has quit [Ping timeout: 240 seconds]
<godd2> MrSparkle a while loop will exit when it evaluates the condition after each iteration
<godd2> the other time it will exit is when it hits a "break" inside the loop
<MrSparkle> ok it doesn't even check if true till iteration end, thanks
<MrSparkle> or I should better word, before iteration start
<MrSparkle> since firt iteration
<godd2> >> i = 0; while i != 1; i += 1; puts "i is #{i} now"; end
<eval-in__> godd2 => i is 1 now ... (https://eval.in/238458)
sambao21 has quit [Quit: Computer has gone to sleep.]
<godd2> you can see there that even though i was 1 going into the puts, the loop still continued
senayar has joined #ruby
motto has joined #ruby
motto is now known as Guest23572
ohaibbq has joined #ruby
mrmargolis has quit [Read error: Connection reset by peer]
m8 has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
jobewan has quit [Quit: Leaving]
vlad_starkov has joined #ruby
mrmargolis has joined #ruby
jdj_dk has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jobewan has joined #ruby
javiercito has quit [Remote host closed the connection]
mengu has joined #ruby
giuseppesolinas has joined #ruby
mjuszczak has quit []
bronson has quit [Ping timeout: 265 seconds]
msmith_ has quit [Remote host closed the connection]
Guest23572 has quit [Changing host]
Guest23572 has joined #ruby
rpag has joined #ruby
Guest23572 is now known as m8
timonv_ has joined #ruby
dkb20k has joined #ruby
msmith_ has joined #ruby
javiercito has joined #ruby
parduse has joined #ruby
timonv_ has quit [Remote host closed the connection]
stunder has quit [Quit: Screw you guys I'm going home]
timonv_ has joined #ruby
yfeldblum has joined #ruby
timonv_ has quit [Remote host closed the connection]
shuber_ has quit [Remote host closed the connection]
javiercito has quit [Remote host closed the connection]
dkb20k has quit [Ping timeout: 272 seconds]
mengu has quit [Remote host closed the connection]
jottr has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
javiercito has joined #ruby
javiercito has quit [Remote host closed the connection]
shuber_ has joined #ruby
adamski2600 has quit []
mrmargolis has quit [Read error: Connection reset by peer]
startupality has quit [Quit: startupality]
mrmargolis has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
startupality has joined #ruby
allen has joined #ruby
javiercito has joined #ruby
Heskie has quit []
jottr has quit [Ping timeout: 245 seconds]
mengu has quit [Ping timeout: 258 seconds]
klmlfl has joined #ruby
Hobogrammer has quit [Ping timeout: 265 seconds]
javiercito has quit [Remote host closed the connection]
Heskie has joined #ruby
javiercito has joined #ruby
parduse has quit []
blackmesa has joined #ruby
javiercito has quit [Remote host closed the connection]
ta has joined #ruby
_Buroa has quit [Remote host closed the connection]
javiercito has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
yxhuvud has quit [Remote host closed the connection]
ohaibbq has quit [Quit: Leaving...]
antgel has joined #ruby
Heskie has quit [Read error: Connection reset by peer]
<ziyadb> Gentlemen..
<ziyadb> I have some silly nested ifs that I would like to DRY out and I'd like some tips..
Heskie has joined #ruby
javiercito has quit [Remote host closed the connection]
sambao21 has joined #ruby
teddyp1cker has quit []
claymore has quit [Quit: Leaving]
ta has quit [Ping timeout: 265 seconds]
javiercito has joined #ruby
shuber_ has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
giuseppesolinas has quit [Client Quit]
tus has quit [Ping timeout: 240 seconds]
paulfm has quit [Quit: Zzzzz...]
elaptics is now known as elaptics`away
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axilla has quit [Ping timeout: 256 seconds]
oetjenj_ has joined #ruby
oetjenj has quit [Read error: Connection reset by peer]
<synire> finished codeacademy's ruby lessons, anyone have a suggestion on a project or something to try getting my hands dirty on to get more experience with the language?
giuseppesolinas has joined #ruby
livingstn has joined #ruby
thumpba__ has quit [Ping timeout: 255 seconds]
thumpba has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has joined #ruby
<shevy> you must decide on something that you desire to code
s00pcan has quit [Remote host closed the connection]
davedev2_ has joined #ruby
<shevy> then make it a gem
<pipework> shevy: What if he desires to make money?
<shevy> then publish it
<shevy> then he must write rails apps
duncannz has joined #ruby
davedev2_ has quit [Read error: Connection reset by peer]
horsecowdog has joined #ruby
<shevy> but he has not written that he is in for the big bucks
LouisRoR has joined #ruby
wallerdev has quit [Quit: wallerdev]
davedev2_ has joined #ruby
senayar has quit [Remote host closed the connection]
<synire> is rails something *easy* to dive right into?
<pipework> shevy: Maybe little bucks?
<pipework> synire: It's easy to use.
michaeldeol has joined #ruby
<shevy> dunno, I did not go the rails route. I always found that there is a lot to read though
<shevy> ziyadb you need to change to a way that allows you to eliminate redundancy in such code constructs
Morkel has quit [Quit: Morkel]
<basichash> how do I make big $$$ with rails?
<pipework> They have guides to get you started.
<shevy> ziyadb basically what you do is query a hash
Menorah has joined #ruby
<pipework> basichash: rails new, mostly
<ziyadb> shevy: listening..
<synire> I'm stuck where I have tons of pdf's to read and resouce websites to browse through, but I'm better at learning via hands on then anything else.
<basichash> pipework: rails new?
<pipework> basichash: ?
davedev24_ has quit [Ping timeout: 258 seconds]
<pipework> synire: !guides
<helpa> synire: http://guides.rubyonrails.org/ - Ruby on Rails guides. Recommended reading.
<pipework> !gettingstarted
<helpa> http://guides.rubyonrails.org/getting_started.html - Getting started with Ruby on Rails guide written by Mike Gunderloy
<pipework> gl;hf
horsecowdog has quit [Remote host closed the connection]
<basichash> pipework: not sure that's an answer to my question
<pipework> basichash: I'm not sure that your question deserves an answer.
ta has quit [Ping timeout: 265 seconds]
r0bby_ has joined #ruby
<bricker> lol
robbyoconnor has quit [Ping timeout: 256 seconds]
<bricker> basichash: 1. Learn Rails. 2. Rob a bank. 3. $$$
<basichash> i thought there's no such thing as a stupid question?
<bricker> basichash: whoever told you that was lying.
<basichash> i'm just a simple man trying to provide for his family, and this is how people respond? with ridicule and scorn?
<pipework> Some questions just don't deserve answers, regardless of stupidity.
<havenwood> basichash: what's your question?
<shevy> ziyadb well first identify the duplications
<shevy> @happens = 'by date and length'
<pipework> <basichash> how do I make big $$$ with rails?
<synire> pipework: rails it is, thanks.
<havenwood> basichash: in #rubyonrails
<pipework> synire: Good luck, and god save your soul.
mattwildig has joined #ruby
<basichash> how do I make big $$$ with ruby*?
<shevy> ziyadb line 8 and line 12 is a duplication
thumpba has quit [Ping timeout: 240 seconds]
<bricker> Okay that made me laugh out loud
<shevy> nope sorry
<havenwood> basichash: Drones. No go forth an prosper.
<shevy> ziyadb I meant 12 and like 28, that code is a true mess
thumpba has joined #ruby
<pipework> Put the words 'ruby' and 'rails' somewhere on your resume. Done.
<synire> if rails ties into android apps, then I see the $$$ in it
<pipework> 'ties into'?
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pipework> Rails is best at HTTP request handling. It doesn't really care if you're making requests from an android app or a browser, or anything really. It's good at making HTML and JSON responses though.
<synire> I'm reading the wikipedia on it now, neven knew what it was till now.
elaptics`away is now known as elaptics
postmodern has joined #ruby
tkuchiki has joined #ruby
<shevy> ziyadb for instance, as a first step I would move towards something like this http://pastie.org/9805769 - afterwards, try to see which calls are not necessary or could be bundled together, you seem to call complicated APIs where you have several arguments duplicated
asteros has quit [Quit: asteros]
<shevy> you could chain if conditions through "and" or "&&" or "! condition"
yxhuvud has joined #ruby
towski_ has joined #ruby
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby
adamski2600 has joined #ruby
tkuchiki has quit [Ping timeout: 265 seconds]
tus has joined #ruby
pidgeon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ziyadb> shevy: that would make it so much cleaner
<shevy> yeah well
allen has quit [Quit: Lost terminal]
bronson has joined #ruby
<shevy> the idea is that you try to distill the required logic to the absolute minimum
<shevy> for instance:
<shevy> if condition
<shevy> @foo = 'hello world'
<shevy> else
pwnz0r has quit [Ping timeout: 245 seconds]
<shevy> @foo = 'bye world'
<shevy> end
<shevy> ok two ways to make it shorter - ternary, or this:
<shevy> @foo = 'bye world'
<shevy> @foo = 'hell world' if condition
<shevy> erm
<shevy> that was supposed to be 'hello world', not hell world...
<shevy> if you use methods though, you can try to build up succint "sentences"
<shevy> if this do that else do something_else
poetazus has quit [Remote host closed the connection]
blackmesa has joined #ruby
livingstn has quit [Read error: Connection reset by peer]
renderful has joined #ruby
paulfm has joined #ruby
bronson has quit [Ping timeout: 250 seconds]
decoponio has quit [Quit: Leaving...]
yfeldblum has joined #ruby
Crazy_Atheist has joined #ruby
thumpba has quit [Remote host closed the connection]
kiyote23 has quit [Remote host closed the connection]
javiercito has quit [Remote host closed the connection]
thumpba has joined #ruby
dkb20k has joined #ruby
freerobby has joined #ruby
dc_ has quit [Remote host closed the connection]
renderful has quit [Ping timeout: 250 seconds]
chrishough has joined #ruby
Kricir has joined #ruby
thumpba_ has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Ping timeout: 244 seconds]
dc_ has joined #ruby
rshetty has joined #ruby
chrishough has quit [Client Quit]
chrishough has joined #ruby
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
jobewan has quit [Quit: Leaving]
Heskie has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
mjuszczak has joined #ruby
thumpba has quit [Ping timeout: 245 seconds]
dkb20k has quit [Ping timeout: 265 seconds]
Heskie has joined #ruby
ahmgeek has quit [Ping timeout: 240 seconds]
rshetty has quit [Ping timeout: 245 seconds]
Prometheian has joined #ruby
Welkin has joined #ruby
keen__________18 has joined #ruby
elaptics is now known as elaptics`away
Musashi007 has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv_ has quit [Ping timeout: 255 seconds]
senayar has joined #ruby
keen__________17 has quit [Ping timeout: 265 seconds]
cyberarm has joined #ruby
jobewan has joined #ruby
FooMunki has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
bluekyanite has joined #ruby
triple_b has quit [Ping timeout: 245 seconds]
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
n80 has joined #ruby
thumpba_ has quit [Ping timeout: 255 seconds]
mjuszczak has quit []
thumpba has joined #ruby
thumpba_ has joined #ruby
last_staff has quit [Read error: Connection reset by peer]
St_Marx has quit [Ping timeout: 250 seconds]
knikolov has quit [Ping timeout: 255 seconds]
thumpba has quit [Ping timeout: 244 seconds]
baroquebobcat has joined #ruby
jobewan has quit [Ping timeout: 265 seconds]
knikolov has joined #ruby
whoisjake has quit []
<pipework> @foo = (condition ? 'hello world' : 'bye world' )
St_Marx has joined #ruby
kiyote23 has joined #ruby
hamakn has joined #ruby
Welkin has left #ruby [#ruby]
n80 has quit [Quit: n80]
paulfm has quit [Quit: Zzzzz...]
<shevy> ziyadb yeah as you can see from pipework, ternary is very terse
keen__________19 has joined #ruby
keen__________18 has quit [Ping timeout: 240 seconds]
elfuego has quit [Quit: elfuego]
Prometheian has quit [Remote host closed the connection]
hamakn has quit [Ping timeout: 240 seconds]
Elan10993245 has joined #ruby
sinkensabe has joined #ruby
bluekyanite has quit [Quit: Page closed]
jonathanwallace has quit [Read error: Connection reset by peer]
horsecowdog has joined #ruby
jottr has joined #ruby
thumpba_ has quit [Remote host closed the connection]
<ziyadb> shevy: thank you for the lesson sir! I'll be sure to refactor accordingly.
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ziyadb> I appreciate it
jonathanwallace has joined #ruby
AxonetBE has joined #ruby
kenichi has quit [Quit: ZNC - http://znc.in]
jobewan has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
<waxjar> the parentheses aren't even necessary :)
_ixti_ has quit [Ping timeout: 256 seconds]
apeiros_ has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
Pupeno_ has quit [Read error: Connection reset by peer]
Nameo0 has joined #ruby
horsecowdog has quit [Remote host closed the connection]
Pupeno has joined #ruby
<shevy> see ziyadb? even further optimizations are possible!
<shevy> waxjar eliminated two characters (actually three, pipework also added a space after world'
<pipework> waxjar: Right, but people get confused.
zzz_Ridley has quit [Ping timeout: 265 seconds]
<pipework> You can remove a lot of the spaces.
<shevy> YesWeCan!
jenrzzz has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
zzz_Ridley has joined #ruby
hamakn has joined #ruby
silkfox has quit [Ping timeout: 272 seconds]
zzz_Ridley is now known as Ridley5
Ridley5 has quit [Changing host]
Ridley5 has joined #ruby
DadoCe has joined #ruby
nateberkopec has quit [Quit: Leaving...]
ebbflowgo has joined #ruby
<pipework> @foo=@foo=:hi ?'hello world':'bye world'
jmdade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pipework> oops
<pipework> >> @foo=:hi ?'hello world':'bye world'
<eval-in__> pipework => "hello world" (https://eval.in/238476)
antgel has quit [Ping timeout: 255 seconds]
<pipework> replace :hi with the condition
Hobogrammer has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
kiyote23 has quit [Remote host closed the connection]
DadoCe has quit [Ping timeout: 265 seconds]
jdj_dk has quit [Remote host closed the connection]
knuckolls has joined #ruby
mjuszczak has joined #ruby
knuckolls has left #ruby ["Textual IRC Client: www.textualapp.com"]
ebbflowgo has quit [Ping timeout: 240 seconds]
ebbflowgo has joined #ruby
gsd has joined #ruby
kiyote23 has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
_ixti_ has joined #ruby
yfeldblum has joined #ruby
axilla has joined #ruby
jcromartie has joined #ruby
DadoCe has joined #ruby
bronson has joined #ruby
Nameo0 has quit [Read error: Connection reset by peer]
mjuszczak has quit [Ping timeout: 258 seconds]
kiyote23 has quit [Remote host closed the connection]
jefus_ has joined #ruby
synire has quit [Read error: Connection reset by peer]
rfennec has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
axilla has quit [Ping timeout: 250 seconds]
chrishough has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
bronson has quit [Ping timeout: 250 seconds]
Azure has quit [Quit: My MBP went to sleep.]
diegoviola has joined #ruby
jefus has quit [Ping timeout: 244 seconds]
<shevy> I've just had an epiphany
hamakn has quit [Remote host closed the connection]
<shevy> in my pipe project, I evaluate user input such as 'random image | browser'
kt2 has quit [Quit: Textual IRC Client: www.textualapp.com]
Photism has joined #ruby
<shevy> which sort of says "grab a random image, then open and display it in your browser"
shazaum has joined #ruby
<shevy> and I noticed that 'random image' could already be described by other actions
<shevy> as in 'all images | random' which should mean... get all images... pick a random one
<pipework> Yeah part of the Unix philosophy talks about that.
<pipework> composable streams joined by pipes.
Flcn__ has joined #ruby
dkb20k has joined #ruby
ptrrr has quit [Quit: ptrrr]
synire has joined #ruby
diegoviola has quit [Read error: Connection reset by peer]
Lucky__ has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
dc_ has quit [Remote host closed the connection]
dkb20k has quit [Ping timeout: 244 seconds]
Fire-Dragon-DoL has joined #ruby
Jackneill has quit [Read error: Connection reset by peer]
Fire-Dragon-DoL has quit [Max SendQ exceeded]
dc_ has joined #ruby
tlarevo has joined #ruby
dc_ has quit [Remote host closed the connection]
diegoviola has joined #ruby
kamilc__ has quit [Quit: Linkinus - http://linkinus.com]
Fire-Dragon-DoL has joined #ruby
<shevy> it is a good philosophy
<shevy> I'd wish I'd have a trivial way to apply even advanced manipulation of video and audio data on the commandline through pipes
<shevy> best I can do right now is format conversions and rejoining audio parts mostly ... through ffmpeg
<pipework> Probably doable.
AlSquire has quit [Quit: This computer has gone to sleep]
axilla has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
GaryOak_ has joined #ruby
mattwildig has quit []
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
nik_-_ has quit [Quit: nik_-_]
ChoiKyuSang has joined #ruby
Kricir has quit [Remote host closed the connection]
iamninja has quit [Remote host closed the connection]
AlSquire has joined #ruby
evanjs has quit [Remote host closed the connection]
iamninja has joined #ruby
thumpba has joined #ruby
mrmargolis has quit [Remote host closed the connection]
thumpba has quit [Remote host closed the connection]
thumpba has joined #ruby
_beechnut has quit [Ping timeout: 272 seconds]
thumpba_ has joined #ruby
rpag has quit [Ping timeout: 264 seconds]
axilla has quit [Ping timeout: 265 seconds]
tlarevo has quit [Ping timeout: 264 seconds]
kenichi has joined #ruby
Stalkr_ has joined #ruby
thumpba has quit [Ping timeout: 256 seconds]
mattwildig has joined #ruby
atmosx_ has joined #ruby
atmosx_ has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
atmosx has quit [Ping timeout: 264 seconds]
tlarevo has joined #ruby
ardian has quit [Ping timeout: 244 seconds]
parduse has joined #ruby
diegoviola has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 258 seconds]
<Fire-Dragon-DoL> is anyone aware of a bug where a file named "symbol.rb" won't be required? I have a weird bug where require 'extensions/symbol.rb' returns false (so the file exist) but it's not actually loaded
olivier_bK has joined #ruby
maestrojed has joined #ruby
dc_ has joined #ruby
<pipework> Fire-Dragon-DoL: try gisting your code
kirun has quit [Read error: Connection reset by peer]
cmarques has quit [Remote host closed the connection]
nelsonr has joined #ruby
tlarevo_ has joined #ruby
tlarevo has quit [Ping timeout: 256 seconds]
<bradland> Fire-Dragon-DoL: verify that the path to extensions/ is on your load path as well.
<shevy> Fire-Dragon-DoL can not be based on the filename alone, a file called symbol.rb must work nicely. but perhaps you have multiple symbol.rb files?
<Fire-Dragon-DoL> pipework: not a lot to gist, anyway: https://gist.github.com/Fire-Dragon-DoL/a44f5cf5976b7803366a notice that manually typing (with pry): require "/home/francesco/projects/web/federtrek/lib/extensions/symbol" works, so maybe a load_path issue, problem is that the second entry is "lib" (which is where it should be) and first is spec, which doesn't have extensions directory at all
<shevy> and btw
<shevy> when require returns false
<shevy> that emans the file was already loaded right?
<shevy> *means
infoget has quit [Ping timeout: 244 seconds]
<shevy> so I don't understand your situation. surely there must have been something else that loaded that file before, otherwise it can not logically return false
<Fire-Dragon-DoL> shevy: no, I have one symbol file in the entire project... argh
<pipework> shevy: Yeah.
<pipework> When require returns false, it's already been loaded.
<Fire-Dragon-DoL> yes I think the same shevy
<pipework> Fire-Dragon-DoL: What's with the undercores?
<Fire-Dragon-DoL> pipework: I can't use '/' in gist file names
<pipework> extensions_symbol.rb, is that just for the gist?
<shevy> hehehe
<pipework> Is the location the ext directories are in actually in $: or $LOAD_PATH
<Fire-Dragon-DoL> yes it's the second one
<Fire-Dragon-DoL> are there any way to check which file was loaded with require?
infoget has joined #ruby
<pipework> Fire-Dragon-DoL: Also, using to_sym on string when calling rolify (which is a crappy name) is probably a bad idea.
<pipework> You can access all required files in ruby.
<pipework> $LOADED_FEATURES
<eka> hi, using thor, when invoking other command the options are being passed command thus giving error... how to avoid that?
parduse has quit []
infoget has left #ruby [#ruby]
<Fire-Dragon-DoL> ["/home/francesco/.rvm/gems/ruby-2.1.3/gems/therubyracer-0.12.1/lib/v8/conversion/symbol.rb", "/home/francesco/.rvm/gems/ruby-2.1.3/gems/faker-1.4.3/lib/extensions/symbol.rb"]
<Fire-Dragon-DoL> this is terrible
tkuchiki has joined #ruby
crueber has quit [Quit: Leaving.]
visof has quit [Quit: Lost terminal]
yfeldblum has joined #ruby
<Fire-Dragon-DoL> pipework: any NICE solution aside require Rails.root.join('lib','extensions','symbol') ?
javiercito has joined #ruby
coderhs has joined #ruby
<bradland> Fire-Dragon-DoL: namespacing
<bradland> ‘extensions/symbol’ is very broad
phutchins has quit [Ping timeout: 240 seconds]
<Fire-Dragon-DoL> bradland: mh probably I'll go for that
<bradland> require ’yourlib/extensions/symbol’
<bradland> :)
koderok has joined #ruby
<bradland> eka: not sure i understand your question
tkuchiki has quit [Ping timeout: 244 seconds]
coderhs has quit [Client Quit]
<bradland> what do you mean by “other command”?
Kricir has joined #ruby
<eka> bradland: solved, but to rephrase ... I have a thor command A that invokes command B, but A takes options but B don't ... so all the A options are passed to the B invocation giving error
<bradland> ah
<eka> bradland: solved with invoke :B, [], {}
<eka> but dunno if it's the way :D
<bradland> yeah, you’ll want to pass an explicit set of empty options
Kricir has quit [Remote host closed the connection]
<bradland> that’s how i’d do it anyway
koderok has quit [Client Quit]
yfeldblum has quit [Ping timeout: 244 seconds]
klmlfl has quit [Remote host closed the connection]
rshetty has joined #ruby
Pupeno_ has joined #ruby
hephaestus_rg has joined #ruby
havenwood has quit []
Pupeno has quit [Ping timeout: 272 seconds]
kiyote23 has joined #ruby
thumpba_ has quit [Remote host closed the connection]
thumpba has joined #ruby
rshetty has quit [Ping timeout: 245 seconds]
DadoCe has quit [Remote host closed the connection]
shellfu is now known as shellfu_afk
pietr0 has quit [Quit: pietr0]
boadie_ has quit [Remote host closed the connection]
dkb20k has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
Blackhol_ has quit [Remote host closed the connection]
icebourg has quit []
nateberkopec has joined #ruby
bmichelsen has quit [Quit: ZZZzzz…]
dkb20k has quit [Ping timeout: 265 seconds]
razieliyo has joined #ruby
kiyote23 has quit [Ping timeout: 245 seconds]
codecop has quit [Remote host closed the connection]
devdazed has quit [Quit: Computer has gone to sleep.]
nateberkopec has quit [Quit: Leaving...]