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
kiyote23 has joined #ruby
bigmac has joined #ruby
<Yzguy> CSV::Table, the hell
<ddd> kl: my description explains your initial question. thats the difference. what *I* don't get is how you would tell what self you were actually in. how one would find out which self self pointed to. (which object was now self)
<shevy> simple - the different scopes he is in
<ddd> self.id?
<shevy> kl look: class Foo; def initialize; self; end; end
<ddd> err self.object_id i meant
<shevy> kl look: class Foo; self; def initialize; end; end
<shevy> ^^^ do you see the difference?
kiyote23 has quit [Remote host closed the connection]
<ddd> self there would point at the current class Foo object? #I'm with kl on the confusion part
<shevy> yeah when Foo.new will be called
hakunin has joined #ruby
<shevy> the second example shows the class method
<shevy> "Within instance methods self refers to the instance, within class methods it refers to the class, and it can always be used to distinguish from local variables."
bigmac has quit [Remote host closed the connection]
<ddd> sec. self has always confused me.
<ddd> reading
blackmes1 has quit [Quit: WeeChat 1.0.1]
<shevy> self is always like a pointer
<shevy> it points at things
<ddd> right that i get
<shevy> class Foo; end is also an object
<shevy> >> Class.class
<eval-in__> shevy => Class (https://eval.in/239319)
<shevy> an object from class Class
<shevy> Module is a class too
<shevy> >> Module.class
<eval-in__> shevy => Class (https://eval.in/239320)
<ddd> and i get the self.method means call method on the current object. and i get self.class.method calls method on the class itself.
djbkd has joined #ruby
<shevy> self.method calls a method on the class itself
<shevy> self.class.method is the programmatic way to get to the class; you can replace self.class with the name of the class itself
<ddd> oh its not on the current instance occupying the self scope?
<ddd> oh to get to the current object's class
<shevy> well the self.class.method way is a way to programmatically invoke the method called method()
<shevy> you could hardcode it too if you want to invoke it
sinkensabe has quit [Remote host closed the connection]
<shevy> >> class Foo; def self.hi; puts 'hi'; end; class Bar; def initialize; Foo.hi; end; end; Bar.new
<eval-in__> shevy => /tmp/execpad-7725dbfda4f2/source-7725dbfda4f2:7: syntax error, unexpected end-of-input, expecting keyword_end (https://eval.in/239321)
<shevy> oh man
<shevy> >> class Foo; def self.hi; puts 'hi'; end; end; class Bar; def initialize; Foo.hi; end; end; Bar.new
<eval-in__> shevy => hi ... (https://eval.in/239322)
<ddd> but if you hard code itm, then when the object changes, your going to always call on (say) the Foo class. but if the object is now a Bar class instance, you would still call Foo not Bar
<shevy> >> class Foo; def self.hi; puts 'hi'; end; end; class Bar; def self.test; self.class.foo; end; def self.foo; Foo.hi; end; end; Bar.test
<eval-in__> shevy => undefined method `foo' for Class:Class (NoMethodError) ... (https://eval.in/239323)
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> hmm I forgot something
<ddd> but if you do a self.class.method, you would call the class's method() *that* object currently occupying the self scope was created from. right?
<ddd> (that's assuiming self.class.responds_to?(method) )
<shevy> yeah
ta_ has joined #ruby
<ddd> whew. ok.
<ddd> that takes a bit to get into your head. that scoping change
<ddd> and the direct call
djbkd has quit [Ping timeout: 255 seconds]
<shevy> you can use it for [] invocations
Pupeno_ has quit [Ping timeout: 250 seconds]
<shevy> >> class Foo; def self.[](input); puts input; end; end; Foo['hello world']
<eval-in__> shevy => hello world ... (https://eval.in/239324)
<ddd> >> class Foo; def self.hi; puts 'hi'; end; end; @my_foo = Foo.new; @my_foo.class.hi # should return 'hi' because @my_foo currently occupies self
<eval-in__> ddd => hi ... (https://eval.in/239325)
djbkd has joined #ruby
<ddd> bingo!@
<shevy> I love [] because you do not have to remember a name
<shevy> I often use it to just access the most important part of any given class
ta_ has quit [Ping timeout: 244 seconds]
<shevy> like
Pupeno has joined #ruby
<ddd> i couldn't think of how to write a self call into the new instance of @my_foo to *explicitly* do the call chain kl pointed out of self.class.hi.
<shevy> class User; def login(i); end; def initialize(i); login(i); end; def self.[](i); User.new(i); end; end; User['john doe']
<shevy> self.class.hi would only work inside the class
<ddd> doing @my_foo.class.hi was the only way I knew because self was set to point at @my_foo because @my_foo was explicitly having .class called on it
luriv_ has quit [Quit: Leaving]
hanjianwei has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ddd> oh wait a sec. i gotta read that User class again slow
speakingcode has quit [Ping timeout: 256 seconds]
majeure has joined #ruby
<shevy> well you could do User.new 'john doe' too
<shevy> but sometimes the name of a class can be enough information
<shevy> CreateProjectSkeleton['hangman/']
<shevy> CreateProjectSkeleton.new 'hangman/'
jmdade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> not a huge gain is it :)
<ddd> no
<ddd> still a tad bit hard to follow as i walk the chain of calls mentally.
ta_ has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
<ddd> ohhhh. now I got it
<ddd> i see what you did. the User.new(i) appeared superfluous. but i see what happened when I added in your hangman example as test data.
crueber has quit [Quit: Leaving.]
osvico has joined #ruby
crueber has joined #ruby
<Yzguy> okay so
<Yzguy> a hash in ruby is the same as a dictionary in python correct?
<Yzguy> key value thing
<apeiros_> depends - can any object be a key in python's dicts?
<Yzguy> um...hm
<Yzguy> not sure
<apeiros_> the only requirement on a hash key in ruby is that it implements #hash and #eql? properly
<Yzguy> hm
jamesaxl has joined #ruby
<apeiros_> may well be similar in python. if that's the case, then yes, they are equivalents.
ta_ has quit [Ping timeout: 265 seconds]
dc_ has joined #ruby
djbkd has joined #ruby
<Yzguy> I think they are at least in the context I'm using them
<jhass> and even if it's not the case, ruby hashes certainly can fulfill all usecases of python dicts
<Yzguy> {"name" => "bob johnson"} vs {'name': 'bob johnson'}
<Yzguy> ruby vs python
<Yzguy> can get value based on row['name']
Stalkr_ has joined #ruby
brlkid has quit [Ping timeout: 250 seconds]
jaequery has joined #ruby
<shevy> do I understand it correctly - google enforces a switch from openid2 to a google-specific software?
<ddd> yes
djbkd has quit [Ping timeout: 244 seconds]
<ddd> actually no. OpenID2 defines a Connect object. which is marked as a 'relying party' if I understand correctly. they're still using OpenID2 but a specific feature of that protocol in their Google+ SignIn
<Yzguy> I don't think I can pass a hash to an erb template, and use the keys in that template
<parabolize> ruby hashes have order, python dictionaries don't.
<ddd> rather than a generic OpenID2 login connection
tyfighter has joined #ruby
<ddd> shevy: ity looks like a move from a generic to a specific within the openid2
vin` has quit [Remote host closed the connection]
<shevy> hmm
<shevy> Yzguy well just access the key in question there
<shevy> _ = hash.delete :key_goes_here; Erb.new _
Takle_ has quit [Remote host closed the connection]
<shevy> or however else you use erb... I forgot how you use erb hehe
tyfighter has quit [Client Quit]
<parabolize> Yzguy: if you use symbols you can do something like {name: 'bob johnson'}
Takle has joined #ruby
crueber has quit [Quit: Leaving.]
vvivv has quit [Quit: Leaving]
athan has quit [Ping timeout: 244 seconds]
<Yzguy> Well what I'm trying to do is read in a CSV file, the first row has the hash keys, and everything below is the values using those keys
<apeiros_> Yzguy: I thought jhass already told you that the csv stdlib does that
<apeiros_> ?
<Yzguy> yes with headers
<Yzguy> so I got that part
ta_ has joined #ruby
jenrzzz has joined #ruby
<Yzguy> now trying to render the erb template, pass in that hash, then refer to the keys in the erb template
Takle has quit [Ping timeout: 265 seconds]
<apeiros_> I think ERB still does not provide a direct way to do that
<Yzguy> yeah I didn't think so
<Yzguy> oh well, I'll figure something out
<Yzguy> thanks
<apeiros_> the easy way: create an OpenStruct from the hash, evaluate the erb in the context of that
djbkd has joined #ruby
<apeiros_> Yzguy: what ruby version do you target?
<Yzguy> uh whatever is on my mac, 2.0.0 i think
<jhass> I'd say the easy way is just passing the hash as a single variable and doing <%= row['foo'] %>
<Yzguy> I'm just learning ruby so
adriancb has quit [Remote host closed the connection]
<Cat_1> ruby --version
<Cat_1> You can use ruby code in the ERB template
<Cat_1> just use <% instead of <%=
<Cat_1> and you can break it up in the view
ta_ has quit [Ping timeout: 240 seconds]
<Yzguy> jhass that worked
sevvie has quit [Read error: Connection reset by peer]
jack_rabbit has joined #ruby
klmlfl has quit [Remote host closed the connection]
<apeiros_> Yzguy: a not-so-straightforward way: https://gist.github.com/apeiros/8889facb6b043175cbb0
<apeiros_> requires newer rubies. I think 2.1+
hvxgr has quit [Quit: leaving]
hvxgr has joined #ruby
sevvie has joined #ruby
Heartbroken has quit [Quit: pai pai...]
aswen has quit [Ping timeout: 245 seconds]
skj3gg has joined #ruby
freerobby has quit [Quit: Leaving.]
max96at is now known as max96at|off
towski_ has quit [Remote host closed the connection]
max96at|off is now known as max96at
diegoviola has quit [Remote host closed the connection]
timonv_ has joined #ruby
kiyote23 has joined #ruby
msmith_ has joined #ruby
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
timonv_ has quit [Ping timeout: 265 seconds]
kiyote23 has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby
robustus has quit [Ping timeout: 250 seconds]
msmith_ has quit [Ping timeout: 240 seconds]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
<bradland> does ERB under 2.x no longer support locals?
robustus|Off has joined #ruby
<bradland> i haven’t used ERB outside a framework in a long while
robustus|Off is now known as robustus
jenrzzz has quit [Ping timeout: 240 seconds]
adriancb has joined #ruby
kiyote23 has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
mercwithamouth has quit [Ping timeout: 240 seconds]
<bradland> i see, you pass in a binding
echooo has joined #ruby
marr has quit []
<Bish> >> Hash.new.methods
<eval-in__> Bish => [:rehash, :to_hash, :to_h, :to_a, :inspect, :to_s, :==, :[], :hash, :eql?, :fetch, :[]=, :store, :default, :default=, :default_proc, :default_proc=, :key, :index, :size, :length, :empty?, :each_value, ... (https://eval.in/239335)
<apeiros_> bradland: it never supported a way to pass it a hash and have the keys as lvars
Pupeno has quit [Quit: Leaving...]
<apeiros_> Bish: unless you have a question with regards to that code, do that in your personal irb/pry please. thanks.
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
<Yzguy> woo, so the last part I have for this thing is to do the SMTP stuff, to send emails of the rendered templates
djbkd has quit [Remote host closed the connection]
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
djbkd has joined #ruby
<Bish> apeiros, compiling it right now
cobakobodob has quit [Ping timeout: 245 seconds]
<apeiros_> Yzguy: dude, just use the mail gem ;-)
Aswebb_ has joined #ruby
<Yzguy> that's what I'm looking at right now :)
<apeiros_> or ponymail if you want it even easier
michaeldeol has joined #ruby
<apeiros_> (builds up on the Mail gem)
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hmsimha has joined #ruby
pandaant has quit [Remote host closed the connection]
max96at is now known as max96at|off
Zai00 has quit [Quit: Zai00]
kiyote23 has joined #ruby
michaeldeol has quit [Client Quit]
Aswebb_ has quit [Ping timeout: 244 seconds]
TrOuBleStArTeR has quit [Ping timeout: 244 seconds]
jaequery has joined #ruby
michaeldeol has joined #ruby
jenrzzz has joined #ruby
kiyote23 has quit [Remote host closed the connection]
Heartbroken has joined #ruby
michaeldeol has quit [Client Quit]
kiyote23 has joined #ruby
<shevy> ponymail?
<shevy> I did not know that ponies write mail
<majeure> Probably just the product of an unimaginative pro with the SMTP/POP RFC and a ponytail.
<shevy> hehe
Nameo0 has joined #ruby
pwnz0r has joined #ruby
<pontiki> or.... PONY EXPRESS
nonnatus_ has joined #ruby
nonnatus has quit [Ping timeout: 245 seconds]
teddyp1cker has joined #ruby
bigmac has joined #ruby
<apeiros_> no lucky luke fans anymore =(
speakingcode has joined #ruby
ptrrr has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
yfeldblu_ has joined #ruby
banister has joined #ruby
ta_ has joined #ruby
teddyp1cker has quit [Ping timeout: 265 seconds]
Takle has joined #ruby
lkba has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Ping timeout: 255 seconds]
Yzguy has quit [Quit: I'm sleeping, go away.]
<blizzy> I'm trynig to use YAML.load_file('../foo.txt'), though Ruby says the file doesn't exist
<blizzy> even though it does.
gusto has quit [Quit: Leaving]
Soda has quit [Remote host closed the connection]
kiyote23 has quit [Remote host closed the connection]
dseitz has joined #ruby
Takle has quit [Ping timeout: 240 seconds]
sinkensabe has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
<blizzy> nvm I figured it out.
bronson has joined #ruby
echooo has quit [Quit: echooo]
dseitz has quit [Client Quit]
zorak_ has quit [Ping timeout: 245 seconds]
MyMind has joined #ruby
Sembei has quit [Ping timeout: 265 seconds]
mercwithamouth has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> hehe
sinkensabe has quit [Ping timeout: 256 seconds]
bronson has quit [Ping timeout: 245 seconds]
giuseppesolinas has joined #ruby
cobakobodob has joined #ruby
ta_ has joined #ruby
adriancb has quit [Remote host closed the connection]
kyb3r_ has quit [Read error: Connection reset by peer]
microdex has quit [Ping timeout: 256 seconds]
kiyote23 has joined #ruby
kyb3r_ has joined #ruby
zorak_ has joined #ruby
ptrrr has quit [Quit: ptrrr]
silkfox has joined #ruby
mrmargolis has joined #ruby
thefran has joined #ruby
<thefran> yo
byprdct has joined #ruby
<thefran> I'm trying to install ruby on windows
DadoCe has joined #ruby
Photism has quit [Quit: Leaving]
kiyote23 has quit [Ping timeout: 244 seconds]
<thefran> i did ruby dk.rb install
<thefran> wait
<thefran> first i did init
<thefran> it generated a config file
<thefran> i fed it a path to my Ruby install
<thefran> then did ruby dk.rb install and it says invalid conf or no rubies listed
<thefran> what am i doing wrong?
echooo has joined #ruby
JBreit has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
Stalkr_ has quit [Quit: Leaving...]
pwnz0r has quit [Remote host closed the connection]
DadoCe has quit [Ping timeout: 240 seconds]
sevvie has quit [Read error: Connection reset by peer]
<thefran> nvm fixed it
<thefran> now i can't install jekyll :\
<shevy> why do you use windows anyway
athan has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Joufflu has quit [Read error: Connection reset by peer]
Aldem has joined #ruby
Aldem has left #ruby ["Leaving"]
Mon_Ouie has quit [Ping timeout: 240 seconds]
nonnatus_ has quit [Ping timeout: 255 seconds]
Joufflu has joined #ruby
<thefran> shevy, because i am using a desktop as we speak?
sevvie has joined #ruby
<shevy> so do I
<thefran> Then you know that linux on desktop is a pretty interesting toy
<thefran> but a toy nonetheless
<shevy> it works perfectly well
<thefran> oh i implore you to reconsider
<thefran> I am an interior designer.
<shevy> been using it since 11 years
<shevy> so use wine to run windows apps
<thefran> Does linux offer me alternatives to: Photoshop, MS Office, AutoCAD, CorelDraw?
binfalse has joined #ruby
<apeiros_> thefran: that toy powers almost all the web you're using
<thefran> so i need to install another OS
<apeiros_> thefran: that toy also powers large parts of various industries
<thefran> when i could just use windows instead
<shevy> it's perfectly fine if you don't want to switch; switching an operating system requires takes time
sevvie has quit [Read error: Connection reset by peer]
<thefran> apeiros_, linux drones proven to be incapable to read: i said on desktop
<thefran> I am not opposed to linux on servers...
<shevy> yep, works perfectly fine on desktop too
<thefran> oh but it does not
<apeiros_> thefran: ad-hominem is not welcome.
<thefran> I will reask the question until you run it.
<thefran> Does linux offer me alternatives to: Photoshop, MS Office, AutoCAD, CorelDraw?
<shevy> as said, use wine to run apps specifically written for a target platform
<apeiros_> thefran: why do you think you need to use one?
<thefran> ah but that is interesting
binfalse has quit [Quit: leaving]
<shevy> I used it to play warcraft 3 back in about 2006 on linux
<thefran> linux users are extremely aggressive proselytizers
Techguy305 has quit [Read error: Connection reset by peer]
<thefran> but i need to use wine
<thefran> to be able to run the software that I actually require
<shevy> yeah because you need to call the mapping
<thefran> and/or use FOSS solutions
<shevy> who said anything about FOSS?
<thefran> which are so very often just shitty discount versions of software I could be using
<thefran> shevy, cult of linux and FOSS are siamese twins.
<shevy> you were the first to bring in FOSS
<shevy> hey wait
<shevy> why do you use ruby
<shevy> how much do you pay for it
<thefran> To run jekyll.
<shevy> but you don't pay for it
<shevy> ruby must be shit
<thefran> Then how about you fucking pay for it
sevvie has joined #ruby
<shevy> was it not you to bring the argument of shitty discount software?
<thefran> What an idiotic, idiotic argument.
<thefran> You brought the argument of shitty discount software
<thefran> desktop linux
<apeiros_> you can easily remove the worst part of the argument
Nameo0 has quit [Ping timeout: 255 seconds]
<shevy> I would not use that propaganda term shitty discount software
<thefran> you're not opposed to propaganda
<thefran> just to terms that offend your feelings
<shevy> every non-technical argument is propaganda
<shevy> offend my feelings?
<shevy> now you insinuate that you know my feelings
<thefran> i will ignore your further arguments until you
Yzguy has joined #ruby
<apeiros_> cute
<thefran> without bringing up reverse engineering windows API when i could just be running windoes instead
<thefran> will name me linux alternatives for software i need to use in order to be able to eat:
<thefran> coreldraw, photoshop, MS Office and autoCAD.
<shevy> thefran so let's focus on the technical argument. You wrote before that jekyll does not run. Can you show the specific error with regards to jekyll?
<apeiros_> "please do my research for me". na, stick to MS. it's fine.
<thefran> What research?
<thefran> You're trying to induce me into a cult.
<apeiros_> "name me alternatives for …"
<apeiros_> thefran: you mean, another cult than your current cult?
<shevy> well there is one point that I agree
<thefran> How do you expect me to start worship your gods if you don't even make any arguments?
<thefran> What cult?
<shevy> ruby should not be available for people like thefran :>
<thefran> Cult of being able to eat food?
<shevy> so linux users do not eat?
<apeiros_> thefran: you suggest people who use linux don't eat food?
msmith_ has joined #ruby
athan has quit [Ping timeout: 265 seconds]
<shevy> wow... they became cyborgs
<apeiros_> thefran: that's probably the most idiotic argument I've heard :)
<thefran> I suggest that I need to be able to use professional software
<thefran> which linux does not have
<thefran> in order to be able to eat food
<apeiros_> ok, you are an idiot.
<shevy> thefran what about mac osx?
ponga has joined #ruby
<shevy> I just want to know whether they have to starve as well
<thefran> I've never used mac os x because its native hardware is overpriceds
<ponga> do you ever sleep shevy
<thefran> and it is not officially supported on any other hardware
<thefran> and i don't see any reasons as to why i would ever switch to it
<shevy> ponga I ate a bit, then got tired and wanted to make a short nap... but I slept for about 2 hours or so :(
<ponga> i want a laptop that could replace macbookair
<ponga> the way macbook represents white color on its led screen kill my ey
<thefran> apeiros_, did a cultist just call me an idiot?
<ponga> eye
boulder-ruby has joined #ruby
<brocktimus> ponga: Lenovo X1 Carbon maybe?
atmosx_ has joined #ruby
<apeiros_> thefran: anyway, pro-tip: offending the majority of the community you want help from is usually detrimental to your objective.
<apeiros_> thefran: also, cut it out now. this has gone on long enough. stick to your question.
<thefran> Hmm.
<thefran> Let's call me an idiot and then complain about being offended.
<thefran> More irony than the san fran bridge.
<apeiros_> thefran: I mean it when I say cut it out.
mrmargolis has quit [Remote host closed the connection]
<thefran> As long as you apologize for insults and proselytizing, sure?
thefran has left #ruby ["Leaving"]
boulder-ruby has quit [Client Quit]
haxrr has joined #ruby
* apeiros_ sobs
<apeiros_> idiots never die out.
<Cat_1> with great power, comes great responsibility
<Cat_1> you have done well
<SHyx0rmZ> I don't think so, but let's leave it at that
boulder-ruby has joined #ruby
atmosx has quit [Ping timeout: 240 seconds]
<apeiros_> we could have played the game who started what. that's pointless.
<havenwood> ahh, was just about to bust out with: I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/Linux...
<SHyx0rmZ> hehe
<apeiros_> and yes, somebody who claims in all seriousness that linux "has no professional software" is by all means an idiot.
<apeiros_> disclaimer: I don't use linux on the desktop, and I still know.
Pupeno has quit [Quit: Leaving...]
skj3gg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ponga> osx linux windows ... the meaningless OS fight again?
* ponga sighs
binfalse has joined #ruby
LouisRoR has quit [Ping timeout: 244 seconds]
<SHyx0rmZ> there's always someone who wants to fight
boulder-ruby has quit [Read error: Connection reset by peer]
<brocktimus> vim v emacs anyone :-P ?
<ponga> sublime :)
<SHyx0rmZ> pointless
<SHyx0rmZ> notepad cleary is best
<apeiros_> I still have the popcorn from before. so please go ahead…
<ponga> i wonder if that's more sensible than ruby vs python
jenrzzz has quit [Ping timeout: 265 seconds]
<SHyx0rmZ> I think the Windows vs. X debate is special though
kiyote23 has joined #ruby
mrmargolis has joined #ruby
<SHyx0rmZ> very often people will ask you why are even using Windows
<SHyx0rmZ> and just leave it at that
<SHyx0rmZ> I may be stupid, but I really wonder why
amclain has quit [Quit: Leaving]
<brocktimus> If youre stuck with autocad there aren't really alternatives though. All the high end CAD stuff is super proprietary and the alternatives are very average to poor. Moving between software on windows is difficult let alone to OS :P.
skj3gg has joined #ruby
<shevy> brocktimus in vim vs. emacs only one thing is sure - there be two losers
<waxjar> sometimes it's valid though, a lot of stuff just doesn't work too well on windows
<ponga> SHyx0rmZ: but im very to be using OSX cos i love ruby
<ponga> i'd never been able to package manage in windows
<ponga> and version
jaequery has joined #ruby
<ponga> shevy what's the point of fighting over text editor anyway? i love my sublime
<ponga> they all do the same stuff right
<shevy> ponga yeah. all power to bluefish 1.0.7!
<shevy> nah
<brocktimus> ponga: was just making a joke not actually looking to start a fight :)
<shevy> I can work much faster in bluefish than in vim for instance
<ponga> brocktimus: but some people do fight over that?
jaequery has quit [Client Quit]
kirun has quit [Remote host closed the connection]
<SHyx0rmZ> brocktimus, yes, I kind of have the same problem developing games
Yzguy has quit [Quit: I'm sleeping, go away.]
pengin has joined #ruby
<SHyx0rmZ> currently I'm using a Linux VM on Windows, which seems to be as good as it's going to get for the moment
<ponga> im interested to hear the story SHyx0rmZ
<ponga> SHyx0rmZ: don't you normally do the opposite
<ponga> Win VM on linux
<SHyx0rmZ> and I'm running a GCC/Ruby Toolchain on my Windows
<SHyx0rmZ> yes, but from my experience performance detoriates too much
<ponga> ok
<SHyx0rmZ> I'd also prefer it this way, but some of the Windows stuff is just plain slow in VMs
<SHyx0rmZ> Linux does much better
yfeldblu_ has quit [Quit: Leaving...]
<ponga> ah hah
<ponga> i currently run no vm
<ponga> on my macbook
<brocktimus> software dev against sql server => tears + VM
<brocktimus> luckily only some projects
DonOtreply has joined #ruby
<SHyx0rmZ> if I'm lucky I'll be able to move away from Windows in the next two years
yousuckidont has quit [Remote host closed the connection]
<shevy> hehe
<ponga> i never liked macvim anyway im good with sublime
<ponga> macvim looked ugly to me
banister has joined #ruby
jottr_ has joined #ruby
<SHyx0rmZ> Funnily enough I used sublime almost exclusively a year ago
<SHyx0rmZ> now I do most of my work in some IDE from Jetbrains
<SHyx0rmZ> still use vim for remote stuff, though
<SHyx0rmZ> and sublime for projects where I went a little too crazy with the Rakefiles
tectonic has joined #ruby
<apeiros_> rubymine?
<shevy> ponga I felt the same way with gvim, the ironic thing was that vim was better and faster than gvim
<SHyx0rmZ> for Ruby, yes
<ponga> shevy: i don't even utilise all the fancy stuffs on sublime anyway, i only use highlight syntax
<ponga> :P
<shevy> yeah very similar how I use bluefish
pengin has quit [Remote host closed the connection]
<shevy> I disabled most features when that was possible
pengin has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
deconfigured has joined #ruby
arescorpio has joined #ruby
<brocktimus> SHyx0rmZ: I've found it very interesting how easy gaming itself has become on linux in past 24 months
<SHyx0rmZ> yes, and I'm very happy about that
jaequery has joined #ruby
SparkMasterTape has joined #ruby
pengin has quit [Ping timeout: 256 seconds]
jaequery has quit [Client Quit]
<ponga> is it only me think macbook's screen hurt eyes , especially way they show 'white color'
<ponga> too much glare
sinkensabe has joined #ruby
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<shevy> ponga!
<shevy> on what ruby project are you working right now
ponga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
sinkensabe has quit [Ping timeout: 264 seconds]
<shevy> hmm... on *which. I am trying to not start any new ones but instead finish and polish existing ones, finish all incomplete rewrites, then dive into C. that was my todo at new year's eve
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby
adriancb has joined #ruby
dc_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
KC9YDN-2 has joined #ruby
KC9YDN-2 has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
duncannz has quit [Ping timeout: 255 seconds]
acalewin has quit [Quit: ZNC - http://znc.in]
DadoCe has joined #ruby
ta_ has joined #ruby
adriancb has quit [Ping timeout: 240 seconds]
kiyote23 has quit [Ping timeout: 264 seconds]
<godd2> I believe in you shevy
mices has joined #ruby
<mices> what's the rails channel?
<godd2> mices #rubyonrails
<mices> ty
jaequery has joined #ruby
<shevy> there are cats on #rubyonrails though
dc_ has joined #ruby
<ddd> then there's dogs like me
<ddd> ruff ruff
<godd2> I thought King Dedede was a bird of some sort
<ddd> fly like an eagle
yfeldblu_ has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
lw has joined #ruby
<mices> on freebsd i get 'git command not found' after install through gem install git
TheTopBloke has joined #ruby
<TheTopBloke> Ola
<TheTopBloke> Get a question about textmate/rmate anyone anyone?
<ddd> git gem just lets you interact with git via ruby
<mices> ty
<ddd> \you still have to intall git from ports or via pkg
<mices> ty
<godd2> mices git is its own program. youd have to do something like yum install git or apt-get install git
<mices> ty
yfeldblum has quit [Ping timeout: 255 seconds]
Channel6 has joined #ruby
ta_ has joined #ruby
lw has quit [Client Quit]
haxrr has quit [Ping timeout: 240 seconds]
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> good old freebsd
banister is now known as banisterfiend
Aswebb_ has joined #ruby
<shevy> what programming language do they use for ports?
eka has joined #ruby
Aswebb_ has quit [Ping timeout: 250 seconds]
diegoviola has joined #ruby
bronson has joined #ruby
xenomorph is now known as {xenomorph}
kiyote23 has joined #ruby
kiyote23 has quit [Remote host closed the connection]
ddd has quit [Ping timeout: 240 seconds]
msmith_ has quit []
kiyote23 has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
gsd has quit [Read error: Connection reset by peer]
gsd has joined #ruby
haxrr has joined #ruby
dkb20k has quit [Remote host closed the connection]
dkb20k has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
newtoruby has joined #ruby
kyb3r_ has joined #ruby
<newtoruby> What resource would you guys recommend for learning Ruby for a beginner? I was going to use Codecademy but their Ruby section won't load for me for some reason.
kyb3r_ has quit [Client Quit]
<ponga> i used codecademy :P
<ponga> if that doesn't work ...
<ponga> hm
kyb3r_ has joined #ruby
<ponga> newtoruby: are you a skilled programmer who comes to learn a scripting language
Takle has joined #ruby
<newtoruby> No, I am very new to programming in general,
<shevy> newtoruby did you work through "learn to program" yet?
<ponga> im very sorry to say this but how about trying python tutorial too?
<ponga> then choose what you prefer
<ponga> fyi, i chose ruby
* ponga is proud
<newtoruby> shevy: No, what is that?
<shevy> newtoruby I would first recommend you read this old article http://www.artima.com/intv/ruby.html - it is old, but it will explain you the philosophy of ruby, which was the reason why I picked ruby over python
mrdtt has joined #ruby
<shevy> newtoruby afterwards work through https://pine.fm/LearnToProgram/chap_01.html - it is simple, perhaps too easy for you, but you will understand "blocks" and "yield" afterwards
<newtoruby> ponga: They are very similar, right? I've dabbled a little in both, but I feel like Ruby is a bit more fun and readable.
<ponga> shevy: do you remember the url of the website which it looks like a book and you can learn basics via that website
<newtoruby> shev
shuber_ has joined #ruby
<ponga> where you can type in source code like codecademy.. can't remember..
<newtoruby> shevy: tryruby.com?
<shevy> newtoruby as third step, I would recommend a boring step, but it will be very useful for you lateron. I would take perhaps 1 hour to study the ruby stdlib. start with class String, then class Array, class Hash. Just read the description of each method once (you can skip the other classes, String Array and Hash are the most important ones)
<shevy> I don't know tryruby
<ponga> newtoruby: altho im very much of a ruby guy, i'd say python is more readable and accessable to beginner
<shevy> I would recommend you get ruby running locally, then start "irb"
<ponga> ruby has too many fancy stuffs that make code terrifying to beginners
<shevy> newtoruby when you finished step 3, step 4 is the most important one - you must write ruby code on your own, does not matter what or where. solve any given problem
<ponga> ah hah this stuff
<shevy> that can be
Takle has quit [Ping timeout: 245 seconds]
<shevy> ruby be quite complex
<ponga> yes newtoruby try ruby.com is ok
<newtoruby> shevy: And how do I go about choosing problems easy enough to solve?
<shevy> so you should try to focus on only few things first newtoruby
<newtoruby> shevy: For a beginner*
<ponga> recommend him tryruby.com shevy
<ponga> i'd say that's good enough for him now
<shevy> newtoruby I am not sure, that depends on what you want to do. for instance a game perhaps, an IRC bot, or some code that helps you manage your computer or files
<shevy> ponga have you finally started a project :D
<newtoruby> ponga: Alright, thank you guys a lot. Hopefully I'll get decent enough to start my own project within a month or so!
<ponga> shevy: i started the project a long time ago, just not written down in ruby yet :(
<newtoruby> Well actually I don't think it'd take that long..
Menorah has quit [Quit: Leaving]
<ponga> im still on this linguistic theory step
tyfighter has joined #ruby
teddyp1cker has joined #ruby
<shevy> newtoruby once you start to "think in ruby", it will become very easy and natural. ruby can be terse but beautiful, like poetry
<ponga> actual code work would not be that advanced task anyway
<blizzy> anyone know any good gems for REST since httparty doesn't support https
Menorah has joined #ruby
<shevy> newtoruby you have to find a style that suits you; code written by other people in ruby can often be strange, I think python has a simpler approach because it supports less ways, so code will often look more uniformly
<ponga> and that is why i told to try out python too shevy
<newtoruby> I once read somewhere that Ruby is like clay, and Python is like legos.
sevvie has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 240 seconds]
<shevy> ruby is a lot like lego too
<shevy> you build stuff into modules; you use modules to put onto your classes; you use classes to build larger software
jenrzzz has joined #ruby
<shevy> perhaps ruby is like clay lego
<shevy> you build your own lego bricks
<ponga> newtoruby: i'd say ruby is like 'i don't give shit about what the law says, i do my way' and python is like 'i'd rather follow good uniform-ed society'
<shevy> some people build huge bricks, other build small bricks
<shevy> python enforces uniform legos
<shevy> it's like a factory, and very fast at producing uniform legos
<shevy> whereas ruby may even build round legos. or pink legos. or legos that can fly
<newtoruby> shevy: ponga You guys both prefer Ruby?
<shevy> I loved lego :)
<ponga> well i prefer ruby over java..
<ponga> but i'd say python is ok with me but still ruby is number 1 to me
<ponga> but shevy would say anyone would prefer anything over java
<newtoruby> I'm looking for something that will set me up for web development, which is why I'm leaning for Ruby (with Rails once I learn the basics)
<ponga> i know him too well
teddyp1cker has quit [Ping timeout: 244 seconds]
<shevy> newtoruby yeah, because of the philosophy and the syntax is malleable and beautiful; python has a few huge advantages though. You see 844 people here, give or take... python should have perhaps 1500 or so. that reflects total number of users and devs too, python has a lot more than ruby, also more official support in regards to bindings to GUI toolkits etc...
<newtoruby> But I also want something that can make simple games like text adventures, pong, maybe a small rpg or something, but nothing 3d.
<ponga> if you want to do web, ruby is just fine i guess?
<ponga> isn't it shevy?
<ponga> rails, rack , etc
<shevy> for 2D you can use gosu http://www.libgosu.org/
<shevy> dunno
<shevy> I still use .cgi scripts in ruby :\ :/
<ponga> i always laugh at that 'gosu'
<newtoruby> Isn't Ruby younger than Python?
<shevy> ponga do you listen to japanese music too?
<ponga> cos gosu means guru in korean
<newtoruby> ponga: Why? Is gosu bad?
<ponga> newtoruby: no its like a terminology in gaming industry
<shevy> Do you know the soundtrack from Akira "Kaneda's Theme" ponga?
sevvie has joined #ruby
<newtoruby> Oh, yeah, I knew that. Learned that from SC2 :)
<ponga> yeah i know that too cos im korean and watched OGN from the day 1
<ponga> :)
<ponga> shevy: i do, but why?
<ponga> i wonder if that libgosu comes from 'gosu'
natevick has joined #ruby
<shevy> ponga I love the drums hehe
speakingcode has quit [Quit: Lost terminal]
greenbagels has quit [Read error: Connection reset by peer]
speakingcode has joined #ruby
osvico has quit [Ping timeout: 244 seconds]
<shevy> newtoruby I think ruby is younger only by a tiny bit
jtdowney has joined #ruby
<newtoruby> Is it reasonable to say that you can make some money on the side with Ruby web dev?
<newtoruby> (Given no prior experience)
<newtoruby> I
king313 has quit [Quit: .]
<newtoruby> I mean after you build your first few sites
<shevy> dunno
tyfighter has quit [Quit: tyfighter]
<shevy> the rails guys are on #rubyonrails
<newtoruby> Without a degree, do you think you can find any employment, even on the side?
<ponga> newtoruby:
<shevy> you can always find employment if you are motivated, dedicated, competent and don't give up
<ponga> for that matter the preference of language wouldn't matter
<ponga> i mean, you can always start doing python even if you started from ruby
jaequery has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> a degree helps in some ways as a competitive advantage compared to other people
<newtoruby> Now I feel like I need to compare the two languages so I don't choose the wrong one.
<shevy> but you can know a lot more without a degree too, it really depends on how you learn, motivation, amount of code written etc...
<ponga> newtoruby: there is no wrong one nor choice
sinkensabe has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
<shevy> newtoruby hehe yeah. I did the same thing back then. matz interview was the turning point for me
<shevy> matz rocks
natevick has quit [Client Quit]
bigmac has joined #ruby
<ponga> matz spoke decent English for japanese, actually
<newtoruby> shevy: Maybe I should check that out. Do you have a link?
<ponga> i thought he could not speak a word cos everyone kept saying his eng is terrible
greenbagels has joined #ruby
<shevy> newtoruby sure, the old one there http://www.artima.com/intv/ruby.html
<shevy> if you find a good interview from guido, or about python, let me know too
<ponga> his English is at top notch compared to general japanese public
<blizzy> anyone know any good REST gems?
<shevy> ponga hehe yeah
CustosLimen has joined #ruby
<shevy> ponga he still thinks a lot in japanese when speaking in english though
<shevy> you can notice because he builds the sentences in a different way than native english speakers
<ponga> shevy: lying, he's just being humble
<ponga> his word choices, semantics, syntax derive from English thingking
mices has left #ruby [#ruby]
<ponga> and its big culture to be humble in east asia you know, due to confucianism
<ponga> its more like he thinks in English, but Japanese steps in a way
<ponga> :P
<shevy> no I mean
<shevy> the grammar structure
<Cat_1> Blizzy to do what?
<shevy> I don't know what it is but I assume japanese must build sentences differently than the english language does
<Cat_1> If you want to interact with a REST service, I like rest_client
<blizzy> thanks, Cat_1.
dc_ has quit [Remote host closed the connection]
<shevy> like you append a "ka" to indicate a question in japanese... tabemasu-ka?
sinkensabe has quit [Ping timeout: 245 seconds]
<ponga> shevy: japanese/korean are SOV than SVO, where subject is often abbreviated, no article(a an the), and has tons of (pretty much all of) mood particles
<ponga> its too different
kiyote23 has quit [Remote host closed the connection]
<ponga> English has no mood particles in syntax
dc_ has joined #ruby
<ponga> korean/japanese have more than 10
ta_ has quit [Ping timeout: 256 seconds]
<shevy> cool
<shevy> mood particles :D
Spami has joined #ruby
<shevy> "eat" [I am angry! / I am happy / I am sad / I don't like to eat]
haxrr has quit [Ping timeout: 255 seconds]
<ponga> for example tabemasu is a formal version of taberu, and if you added -no and also made it to indicate question 'taberu-no?'
<ponga> you are reemphasizing the target's action carry-out yet at the same time implying uncertainty of speaker's mood
<ponga> that you can't do just by grammar in english
iamninja has quit [Quit: ZZZzzz…]
rbenv has joined #ruby
<ponga> and also it is female form of speech
<ponga> no wonder japanese/korean are too hard to learn
<newtoruby> Wow, that interview was pretty entertaining.
<newtoruby> I like the philosophy behind Ruby.
<ponga> shevy: did you know that sarcasm often doesn't work in korean/japanese due to mood particles :P
<ponga> cos just the syntax unveils too much of speaker's intention
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<shevy> ponga dunno. all I know is that sarcasm in written text often does not work
<newtoruby> If I had to pick one of the two right now, I'd choose Ruby over Python based on what I just read, but maybe I should read a Python interview as well before sticking to one.
<ponga> English is much better at pissing others off via facebook message
<shevy> ponga but in general, it seems as if asians are often significantly less sarcastic or cynical than e. g. europeans
haxrr has joined #ruby
<ponga> shevy: sarcasm was never really accepted a form of humour in asia
<ponga> that's why
mjuszczak has joined #ruby
rbenv has quit [Client Quit]
mjuszczak has quit [Max SendQ exceeded]
Spami has quit [Quit: This computer has gone to sleep]
zorak_ has quit [Ping timeout: 240 seconds]
<ponga> newtoruby: you could try both tutorial and try to write what you want to achieve in both languages , it wouldn't take that longer than learning just one lang
<ponga> i did this, and chose ruby over python
<newtoruby> ponga: Good idea, I will just do that then. Off to learn Ruby! :D
<newtoruby> Would anybody here be interested in tutoring me? Maybe once I learn the basics we can work on small projects together or something to improve my skills?
mjuszczak has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
<ponga> newtoruby: lol i don't think people tutor someone here sir
<ponga> its more like Q&A hall here
<ponga> you off to learn yourself, and ask questions when stuck
haxrr has quit [Ping timeout: 240 seconds]
<newtoruby> ponga: I did not mean here. Nevermind, I'll figure it out myself and with the help of this irc and stackoverflow.
<ponga> good luck newtorb
<shevy> yeah, stackoverflow has been amazing
kiyote23 has joined #ruby
newtoruby has quit [Quit: Page closed]
radic has quit [Ping timeout: 245 seconds]
jtdowney has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jtdowney has joined #ruby
radic has joined #ruby
ANYELI has joined #ruby
ANYELI has quit [Remote host closed the connection]
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
mjuszczak has quit [Ping timeout: 265 seconds]
braincrash has quit [Quit: bye bye]
bitcycle has joined #ruby
havenwood has quit [Remote host closed the connection]
mjuszczak has joined #ruby
lemur has quit [Ping timeout: 244 seconds]
deconfigured is now known as athan
braincrash has joined #ruby
kiyote23 has quit [Remote host closed the connection]
braincra- has joined #ruby
ponga has quit [Remote host closed the connection]
mrmargolis has quit [Remote host closed the connection]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
lampd1 has quit [Remote host closed the connection]
lampd1 has joined #ruby
speakingcode has quit [Remote host closed the connection]
hmsimha has quit [Ping timeout: 252 seconds]
chipotle has joined #ruby
djbender is now known as sinthetix_bsd
kiyote23 has joined #ruby
sinthetix_bsd is now known as djbender
DonOtreply has quit [Quit: DonOtreply]
jottr_ has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
bigmac has joined #ruby
rbenv has joined #ruby
kiyote23 has quit [Ping timeout: 240 seconds]
SparkMasterTape has quit [Quit: Leaving]
jottr_ has quit [Ping timeout: 256 seconds]
silkfox has joined #ruby
rbenv has quit [Quit: Textual IRC Client: www.textualapp.com]
hamakn has quit [Remote host closed the connection]
diegoviola has quit [Remote host closed the connection]
tlarevo has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
skj3gg has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
w4pm has joined #ruby
Menorah has quit [Quit: This computer has gone to sleep]
diegoviola has joined #ruby
behrz has quit [Ping timeout: 245 seconds]
tectonic has quit []
SparkMasterTape has joined #ruby
iamjarvo has joined #ruby
sinkensabe has joined #ruby
osvico has joined #ruby
DrCode has quit [Remote host closed the connection]
DrCode has joined #ruby
lampd1 has quit []
oo_ has joined #ruby
sinkensabe has quit [Ping timeout: 255 seconds]
oleo is now known as Guest34380
oleo__ has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
bigmac has joined #ruby
Guest34380 has quit [Ping timeout: 240 seconds]
Aswebb_ has joined #ruby
oo_ has quit [Remote host closed the connection]
silkfox has quit [Ping timeout: 265 seconds]
Aswebb_ has quit [Ping timeout: 240 seconds]
hmsimha has joined #ruby
bronson has joined #ruby
banisterfiend has quit [Ping timeout: 245 seconds]
jtdowney has quit [Quit: Textual IRC Client: www.textualapp.com]
bronson has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
siso has quit [Quit: siso]
Nameo0 has joined #ruby
byprdct has quit [Ping timeout: 250 seconds]
arup_r has joined #ruby
lkba has joined #ruby
jenrzzz has joined #ruby
Takle has joined #ruby
klmlfl has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
speakingcode has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
Techguy305 has joined #ruby
Channel6 has quit [Quit: Leaving]
pwnz0r has joined #ruby
lemur has joined #ruby
Channel6 has joined #ruby
charliesome has joined #ruby
freerobby has joined #ruby
kiyote23 has joined #ruby
dseitz has joined #ruby
fivetwentysix has joined #ruby
bitcycle has quit [Quit: WeeChat 1.0.1]
Ninjex is now known as Xnfu
teddyp1cker has joined #ruby
klmlfl has quit [Remote host closed the connection]
ziyadb has joined #ruby
kiyote23 has quit [Ping timeout: 245 seconds]
parduse has quit []
teddyp1cker has quit [Ping timeout: 245 seconds]
arup_r has quit [Quit: Leaving.]
DrCode has quit [Remote host closed the connection]
DrCode has joined #ruby
Hijiri has quit [Remote host closed the connection]
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
kyb3r_ has joined #ruby
lw has joined #ruby
sinkensabe has joined #ruby
lxsameer has joined #ruby
tus has quit []
fivetwentysix has quit [Quit: fivetwentysix]
pwnz0r has quit [Ping timeout: 240 seconds]
sinkensabe has quit [Ping timeout: 245 seconds]
sevvie has quit [Read error: Connection reset by peer]
towski has quit [Quit: goodbye friends I am gone]
Channel6 has quit [Quit: Leaving]
jack_rabbit has quit [Ping timeout: 240 seconds]
omosoj has joined #ruby
arescorpio has quit [Excess Flood]
mjuszczak has quit []
<omosoj> how does having a 32 vs 64 bit system affect developing ruby/rails?
fivetwentysix has joined #ruby
sevvie has joined #ruby
lemur has quit [Read error: Connection reset by peer]
silkfox has joined #ruby
lemur has joined #ruby
towski_ has joined #ruby
shuber_ has quit [Remote host closed the connection]
<godd2> omosoj Other than the fact that you can't address more than 4 gigs of ram? probably not a lot
DadoCe has quit [Remote host closed the connection]
Xnfu has quit [Changing host]
Xnfu has joined #ruby
w4pm has quit [Ping timeout: 245 seconds]
silkfox has quit [Ping timeout: 244 seconds]
crazydiamond has joined #ruby
iamninja has joined #ruby
<omosoj> lol i just discovered that you can only access 4 gigs of ram a minute ago. i've been on a 32-bit system for a couple years now, and when i bought it i added ram up to 6 gigs.
tlarevo has quit [Remote host closed the connection]
bronson has joined #ruby
tlarevo has joined #ruby
<godd2> omosoj yea the problem is that on a 32-bit cpu, you can only address 2^32 possible distinct bytes of ram
<SHyx0rmZ> Technically, the 4GB-stuff is not entirely true
<shevy> omosoj I don't think developing is much affected by that kind of speed
zorak8 has joined #ruby
<omosoj> i need to learn more about how all this works on hardware
<shevy> the longest time is thinking about what to write, how to organize it
<shevy> and then lateron if you really need the speed because you have so many other people use the software
<godd2> omosoj it is good to be educated on the hardware side of things, but generally not as important for making websites
fivetwentysix has quit [Quit: fivetwentysix]
<omosoj> shevy, but i just cloned an app and tried to run it and it took a long time. everything was taking forever. and also a bunch of tests were failing. think i just didn't have enough power to run it
Takle has joined #ruby
<omosoj> godd2, the hardware stuff is fascinating to me, but i'm only able to learn slowly over time
mary5030 has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
Hijiri has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
jottr_ has joined #ruby
mary5030 has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
davedev2_ has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
davedev24_ has quit [Ping timeout: 265 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
jottr_ has quit [Ping timeout: 244 seconds]
riscky has quit [Quit: riscky]
<ponga> shevy: "the longest time is thinking about what to write, how to organize it" so true ser
<ponga> and im still thinking hard
<ponga> :P
<ponga> :(
Tamae has joined #ruby
<epitron> omosoj: on a 32-bit machine, you can actually have more than 4gigs of ram being used by the kernel... but you are limited to only 4 gigs per *process*
banister has joined #ruby
<epitron> there's a special thing called PAE that you can compile into your kernel (or enable in the OS) which will let the kernel address > 4gigs in 32-bit mode
studiotate has quit [Quit: Lingo - http://www.lingoirc.com]
riscky has joined #ruby
<epitron> i was using it for a while... it's actually fine for non-crazy applications :)
shuber_ has joined #ruby
<epitron> (ie: it's not often that a single process needs more than 4gigs of ram)
zorak8 has quit [Ping timeout: 240 seconds]
skj3gg has quit [Quit: ZZZzzz…]
ponga has quit [Remote host closed the connection]
anitchrist has joined #ruby
<anitchrist> happy new year everybody!
ponga has joined #ruby
freerobby has quit [Quit: Leaving.]
<anitchrist> what am I missin?
<anitchrist> irb prints out out puts like true, nil and attr_reader if it has received from remote json... why doesn't the normal ruby command print that stuff out?
<anitchrist> and how do I get it to print out at least the results from the json get?
<anitchrist> or am I too much a noob >.<
sevvie has quit [Read error: Connection reset by peer]
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
sevvie has joined #ruby
<omosoj> epitron, i see. cool
<anitchrist> Not even a "Go f*ck yourself anitchrist?"
* anitchrist pouts in the corner
ponga has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
ponga has joined #ruby
mary5030 has joined #ruby
<epitron> anita-christ: the ruby command you are looking for is "p"
<epitron> which does the same thing as "puts object.inspect"
<epitron> which is what irb does to every return value
skj3gg has joined #ruby
<epitron> i'm not sure why you'd see "attr_reader" in irb's out puts though
sevvie has quit [Read error: Connection reset by peer]
<anitchrist> so if the object is say laptop, then I would put "p laptop.inspect"?
ponga has quit [Ping timeout: 264 seconds]
mary5030 has quit [Ping timeout: 240 seconds]
<anitchrist> apportion, thanks figured it out
babykosh has joined #ruby
dkb20k has quit [Ping timeout: 256 seconds]
sevvie has joined #ruby
<anitchrist> I had to do it for both the object and the method
<anitchrist> er idk what I'm talking about
Synthead has joined #ruby
<epitron> anitchrist: p automatically does the .inspect
<epitron> just "p laptop"
<epitron> or "puts laptop.inspect"
sleepee has joined #ruby
<epitron> also good: "gem install pry" and then "pry" :)
<anitchrist> nope it was actually "p laptop.info_for.inspect"
<epitron> irb is for squares
blizzy has quit [Ping timeout: 255 seconds]
<epitron> again, the .inspect is redundant
<anitchrist> haha
<epitron> p .inspects everything
<anitchrist> will do thanks epitron
hmsimha has quit [Ping timeout: 252 seconds]
<anitchrist> so it was just "p laptop.info_for(arg)"
<anitchrist> what's so different in regards to pry?
hvxgr has quit [Ping timeout: 240 seconds]
babykosh has quit [Quit: babykosh]
sinkensabe has joined #ruby
Aswebb_ has joined #ruby
<godd2> anitchrist there are several features that pry provides which aren't in irb. for example, color output
<anitchrist> ah!
babykosh has joined #ruby
<anitchrist> it looks more say
<godd2> also, a help menu, and tab-completion
<anitchrist> yeah just noticed
phutchins has quit [Ping timeout: 245 seconds]
<anitchrist> nice
<godd2> you can also easily list the methods on an object
<godd2> with ls
charliesome has quit [Quit: zzz]
<godd2> and you can "change directory" *into* an object with cd
<anitchrist> so like "laptop(ls)"
<banister> anitchrist epitron is one of the dudes behind pry
<godd2> it would be ls lapton
<godd2> laptop*
<anitchrist> woa
<godd2> or cd laptop
<anitchrist> got it god
<godd2> and then cd .. to get back
<anitchrist> banister I feel pretty humbled now
<banister> anitchrist epitron is the bomb, he's one of my favorite rubyists
claptor has quit [Quit: this channel is bakas]
<anitchrist> I am now making this my daily, sorry to impose, but y'all are stuck with me meow
<godd2> It's not an imposition if you continue to learn :)
sinkensabe has quit [Ping timeout: 250 seconds]
<anitchrist> thats all I'm about
charliesome has joined #ruby
Aswebb_ has quit [Ping timeout: 265 seconds]
<anitchrist> I want to maintain my sponginess
omosoj has quit [Quit: leaving]
charliesome has quit [Client Quit]
omosoj has joined #ruby
ponga has joined #ruby
silkfox has joined #ruby
shuber_ has quit [Remote host closed the connection]
<epitron> banister: definitely "BEHIND" pry :)
davedev24_ has joined #ruby
<epitron> i'm hiding way behind the codebase
iamninja has quit [Quit: ZZZzzz…]
<epitron> YOU ARE MY PRY PUPPETS
<epitron> CODE MY WILL
<epitron> jk jk
<godd2> epitron when are you guys going to add cowsay to pry?
<epitron> cows are so gauche
<epitron> it's all about ponies
<godd2> [1] pry(main)> user | ponysay
davedev2_ has quit [Ping timeout: 256 seconds]
shuber_ has joined #ruby
<epitron> :D
<epitron> pink pony + salvador hardin quote ftw
<epitron> ponysay exceptions would be fun
chrishough has joined #ruby
DadoCe has joined #ruby
chrishough has quit [Client Quit]
silkfox has quit [Ping timeout: 245 seconds]
chrishou_ has joined #ruby
tyfighter has joined #ruby
haxr has joined #ruby
<pontiki> now that you say that, i'm sure the next big trend is going to become "My Little Heifer"
hanjianwei has joined #ruby
<epitron> pontiki: oh snap... it all goes in cycles, doesn't it
_Andres has joined #ruby
<shevy> omosoj well how did you clone it actually?
davedev24_ has quit [Ping timeout: 264 seconds]
<shevy> pontiki My Little Pony?
<godd2> cloud to butt extension is leaking...
<shevy> Heifer sounds a bit like Hafer, which means "oats"
dkb20k has joined #ruby
<godd2> mares eat oats and does eat oats and little lambs eat ivy. A kid'll eat ivy, too, wouldn't you?
<shevy> I thought they are poisonous
<shevy> both kids and ivy
DadoCe has quit [Ping timeout: 245 seconds]
chrishou_ has quit [Client Quit]
chrishough has joined #ruby
<shevy> ohhhh
<shevy> a virgin cow!
<epitron> what's a slut cow?
<shevy> hey I am no cow expert, I didn't even know what a heifer was
<pontiki> the cheap shot on that is "your mom"
<epitron> lolol
<shevy> epitron probably the old ones that will not be slaughtered and go into a retirement lawn
<epitron> ^5
<godd2> slutcowsay
ChronocityLC has joined #ruby
duncannz has joined #ruby
<shevy> if only cows could code
chrishou_ has joined #ruby
chrishou_ has quit [Remote host closed the connection]
duncannz has quit [Max SendQ exceeded]
<epitron> if the only things that could code were cows?
<epitron> we'd have much different keyboards
phreakocious has quit [Ping timeout: 245 seconds]
oleo__ is now known as oleo
<godd2> clops per minute?
duncannz has joined #ruby
<shevy> lol
<shevy> and moos per hour
oleo has quit [Quit: Verlassend]
<pontiki> and let the chips fall where they may!
osvico has quit [Ping timeout: 265 seconds]
<epitron> if only gary larson were still drawing cartoons
<epitron> i can see it so vividly
<epitron> "if only cows could code"
<pontiki> i imagine there's a universe where the only people making cartoons are gary larsen and bill watterson
<godd2> every example with foo would have moo instead
<godd2> pontiki theres also a universe where cows make gary larson cartoons
<epitron> wow, he's been retired for 20 years to THE DAY (3 days ago)
<shevy> lol
<shevy> def moo
<shevy> retirement sounds so sad
<shevy> don't you ever retire writing code!
<epitron> put out to pasture :(
oleo has joined #ruby
oleo has joined #ruby
oleo has quit [Changing host]
<godd2> >> alias :moo :puts; moo "hello pasture"
<eval-in__> godd2 => hello pasture ... (https://eval.in/239366)
elaptics`away is now known as elaptics
aswen has joined #ruby
<epitron> >> self.gsub("__","")
<eval-in__> epitron => undefined method `gsub' for main:Object (NoMethodError) ... (https://eval.in/239367)
<epitron> fix your nick, eval-in__!
phreakocious has joined #ruby
iamninja has joined #ruby
hvxgr has joined #ruby
<banister> epitron bbs, dinner, then we'll watch either a doco or a movie together. See you soon!
<epitron> newp!
<epitron> you'll never get me to do something as silly as watch a movie over the internet
polishfoo has joined #ruby
pawanspace has joined #ruby
polishfoo has left #ruby [#ruby]
Logico has joined #ruby
Logico has left #ruby [#ruby]
jefus_ has joined #ruby
pawanspace has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
jenrzzz has quit [Ping timeout: 244 seconds]
tyfighter has quit [Quit: tyfighter]
jefus has quit [Ping timeout: 265 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
fenzil has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
teddyp1cker has joined #ruby
<anitchrist> wtf, I missed the ponies?!!? ::FAIL::
MartynKeigher has quit [Read error: No route to host]
<anitchrist> I got the attr_reader to go silent, so now it does what I tell it to!
MartynKeigher has joined #ruby
<anitchrist> now I wanna make compile it into an easy to use app for M$, OS X, IOS, and android... but I have no idea where to begin
teddyp1cker has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 240 seconds]
aswen has quit [Ping timeout: 245 seconds]
parduse has joined #ruby
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
<TheTopBloke> Uhh...
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
<anitchrist> sup TheTopBloke?
<TheTopBloke> I think there's already an app for that
<anitchrist> what's "that"?
<TheTopBloke> you know, that there
fantazo has joined #ruby
eren has quit [Quit: WeeChat 0.3.7]
<anitchrist> also, if I have a attr_accessor called stock. What would be the easiest way to omit or ignore all the items with bacon in them?
lkba_ has joined #ruby
<anitchrist> would that be an if statement?
<TheTopBloke> attr_kosher?
<TheTopBloke> jk
<anitchrist> lol
<TheTopBloke> I dunno
<godd2> items.reject {|item| item.contains? :bacon }
sinkensabe has joined #ruby
<godd2> anitchrist as long as you set up the contains? method on an item, and it accepts :bacon as input, that would work fine
lkba has quit [Ping timeout: 264 seconds]
ebanoid has joined #ruby
<godd2> >> [1,2,3,4,5].reject {|num| num.odd? }
<eval-in__> godd2 => [2, 4] (https://eval.in/239369)
<anitchrist> I'll play with it a little an see if I can do anything productive
noop has joined #ruby
luckyruby has quit [Ping timeout: 252 seconds]
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
hephaestus_rg has quit [Ping timeout: 250 seconds]
ponga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
Techguy305 has quit [Ping timeout: 255 seconds]
sinkensabe has quit [Ping timeout: 240 seconds]
Jackneill has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
ponga has quit [Remote host closed the connection]
sevvie has quit [Read error: Connection reset by peer]
bronson has joined #ruby
parduse has quit []
lxsameer has joined #ruby
ponga has joined #ruby
_5kg has quit [Ping timeout: 265 seconds]
bronson has quit [Ping timeout: 244 seconds]
sevvie has joined #ruby
silkfox has joined #ruby
banister has quit [Read error: Connection reset by peer]
jottr_ has joined #ruby
<epitron> >> [1..100_000_000].select(&:one?)
<eval-in__> epitron => [] (https://eval.in/239370)
<epitron> no wait :)
<epitron> that was wrong on many levels
sinkensabe has joined #ruby
<anitchrist> so, you think this should work?
<anitchrist> class Store
<anitchrist> attr_accessor :brand, :deli, :canned, :priv, :frozen, :total_count
<anitchrist> [deli, frozen].reject (|string| string.contains? :bacon )
tlarevo has quit [Remote host closed the connection]
<anitchrist> Ima try it
<epitron> >> (0..100_000_000).select(&:zero?)
<eval-in__> epitron => (https://eval.in/239371)
<epitron> hah, it timed out
<anitchrist> sure enough throwin an error
silkfox has quit [Ping timeout: 244 seconds]
jottr_ has quit [Ping timeout: 244 seconds]
<godd2> anitchrist that reject stuff would be happening inside a method or outside the class entirely
sevvie has quit [Read error: Connection reset by peer]
banister has joined #ruby
Soda has joined #ruby
<epitron> Store.new.without_bacon
<epitron> contains? also isn't a string method
<banister> epitron it's a way for long distance couples to connect
<Hanmac> epitron: hm i think you dont understand what "one?" and "zero?" means ... did you used Rails before?
<godd2> epitron I gave him the idea of contains? and I mentioned to define contain? for some item in his list presuming that item is some object in and of itself
<epitron> >> ["Ham hocks", "Spam", "Lobster thermadore (with bacon)"].reject { |s| s["bacon"] }
<eval-in__> epitron => ["Ham hocks", "Spam"] (https://eval.in/239372)
sevvie has joined #ruby
<epitron> anita: -^
<shevy> anita?
<anitchrist> ah
<epitron> anita christ
<anitchrist> thank you
<anitchrist> I have only been messing around with this for the last 4 days
sevvie has quit [Read error: Connection reset by peer]
<epitron> hanmac: i used rails for 10 years
<epitron> hanmac: zero? is actually a method on numeric
konsolebox has joined #ruby
<Hanmac> epitron: yeah but one? is not
<epitron> >> 1.zero?
<eval-in__> epitron => false (https://eval.in/239373)
<epitron> hanmac: hence "<epitron> that was wrong on many levels"
<epitron> but thank you for helping me with something i didn't need help with \o/
<anitchrist> you guys are rad
haxr has quit [Ping timeout: 244 seconds]
<epitron> epi@2rad4ruby.org
sevvie has joined #ruby
haxr has joined #ruby
troubadour has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
teddyp1cker has joined #ruby
pkrzywicki has joined #ruby
noname001 has quit [Ping timeout: 255 seconds]
ohaibbq has quit [Quit: Leaving...]
ta_ has joined #ruby
omosoj has quit [Quit: Lost terminal]
hanjianwei has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
haxr has quit [Ping timeout: 255 seconds]
<anitchrist> epitron, with your example... ["Ham hocks", "Spam", "Lobster thermadore (with bacon)"].reject { |s| s["bacon"] } .... "s" defines itself?
banister has quit [Read error: Connection reset by peer]
<epitron> s is the string in the array
<epitron> reject is like each
<epitron> you supply a block, { |s| ... }, and it fills in the "s" for you
haxr has joined #ruby
<anitchrist> it's running now, still getting bacon tho
<anitchrist> >.<
<epitron> what kind of thing is in the array?
banister has joined #ruby
<epitron> you should probably post the whole thing. go to gist.github.com
rbrs has joined #ruby
rkr090 has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
teddyp1cker has quit [Remote host closed the connection]
<shevy> cats are in the array
iamninja has joined #ruby
lw has quit [Quit: s]
shuber_ has quit [Remote host closed the connection]
StoneCypher has quit [Ping timeout: 256 seconds]
hgl has quit [Ping timeout: 265 seconds]
Synthead has quit [Remote host closed the connection]
aswen has joined #ruby
Aswebb_ has joined #ruby
StoneCypher has joined #ruby
shuber_ has joined #ruby
hgl has joined #ruby
vinleod has joined #ruby
Aswebb_ has quit [Ping timeout: 256 seconds]
Akagi201 has joined #ruby
_5kg has joined #ruby
ndrei has quit [Remote host closed the connection]
kristofferR has joined #ruby
ndrei has joined #ruby
MartynKeigher has quit [Read error: Connection reset by peer]
MartynKeigher has joined #ruby
Menorah has joined #ruby
<ponga> now i start to feel sorry for cats
sevenseacat has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
mostlybadfly has quit [Quit: Connection closed for inactivity]
kapil__ has quit [Quit: Connection closed for inactivity]
silkfox has joined #ruby
yeticry has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
haxr has quit [Ping timeout: 240 seconds]
lemur has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
lemur has joined #ruby
DadoCe has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
SilkFox_ has quit [Ping timeout: 245 seconds]
lemur has quit [Ping timeout: 244 seconds]
jmdade has joined #ruby
Tranquility has joined #ruby
DadoCe has quit [Ping timeout: 264 seconds]
anaeem1 has joined #ruby
bweston92 has joined #ruby
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
giuseppesolinas has joined #ruby
kyb3r_ has quit [Quit: Leaving]
anaeem1 has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.0.1]
towski_ has quit [Remote host closed the connection]
towski_ has joined #ruby
leafybasil has quit [Remote host closed the connection]
towski_ has quit [Remote host closed the connection]
haxr has joined #ruby
Aswebb_ has joined #ruby
anaeem1_ has joined #ruby
dts|pokeball has quit [Ping timeout: 264 seconds]
echooo1 has joined #ruby
echooo has quit [Ping timeout: 240 seconds]
echooo has joined #ruby
<majeure> shevy's still here?
<ponga> dunno
echooo2 has joined #ruby
echooo1 has quit [Ping timeout: 250 seconds]
ValicekB has quit [Ping timeout: 245 seconds]
echooo has quit [Ping timeout: 256 seconds]
ndrei has quit [Remote host closed the connection]
ndrei has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
oo_ has joined #ruby
nel has joined #ruby
<pontiki> shevy's always here
giuseppesolinas has joined #ruby
MartynKeigher has quit [Read error: No route to host]
zenspider has joined #ruby
MartynKeigher has joined #ruby
<ponga> he never sleeps
hmsimha has joined #ruby
{xenomorph} is now known as xenomorph
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby
atmosx_ has quit [Quit: Let him that would move the world first move himself. - Socrates]
nouran has joined #ruby
nouran is now known as nouranology
<nouranology> Hi all, I just wanna understand the difference between `&&` vs. `and` ----- `||` vs. `or`
jottr_ has joined #ruby
<nouranology> I read about the issue of priority and I got this but I didn't get the point from this explanation
<nouranology> and`: Called Logical AND operator. If both the operands are true, then the condition becomes true.
lkba_ has quit [Ping timeout: 250 seconds]
<nouranology> `&&`: Called Logical AND operator. If both the operands are non zero, then the condition becomes true.
<sevenseacat> that definition of && is incorrect
skj3gg has quit [Quit: ZZZzzz…]
<sevenseacat> zero is truthy
zenspider has quit [Quit: bye]
<nouranology> Aha, so the main difference is only the priority ?
ndrei has quit [Remote host closed the connection]
<sevenseacat> yep.
tadasp has joined #ruby
yeticry has quit [Ping timeout: 264 seconds]
jottr_ has quit [Ping timeout: 240 seconds]
yeticry has joined #ruby
ndrei has joined #ruby
<nouranology> okay, thanks
omosoj has joined #ruby
dkb20k has quit [Ping timeout: 245 seconds]
ebanoid has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ebanoid has joined #ruby
SilkFox_ has joined #ruby
Macaveli has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
vinleod has joined #ruby
mercwithamouth has quit [Ping timeout: 265 seconds]
dvd98 has joined #ruby
exadeci has joined #ruby
giuseppesolinas_ has joined #ruby
SilkFox_ has quit [Ping timeout: 250 seconds]
konsolebox has quit [Ping timeout: 245 seconds]
giuseppesolinas has quit [Quit: Leaving]
kotk_ has joined #ruby
kotk has quit [Ping timeout: 245 seconds]
kotk has joined #ruby
deepa has quit [Changing host]
deepa has joined #ruby
ta_ has joined #ruby
haxr has quit [Ping timeout: 240 seconds]
kotk_ has quit [Ping timeout: 244 seconds]
naftilos76 has joined #ruby
Soda has quit [Remote host closed the connection]
noop has quit [Ping timeout: 256 seconds]
Soda has joined #ruby
Soda has quit [Remote host closed the connection]
bweston92 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<ziyadb> Hey guys, is it possible to perform an operation AFTER super is called?
<ziyadb> So I have def create; super; end, and I would like to def create; super; do something else; end
<pontiki> sure, ziyadb
<ziyadb> pontiki: you're everywhere, aren't you? :)
sevvie has quit [Read error: Connection reset by peer]
<pontiki> no
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
<shevy> ponga haha I just tried to sleep... but it did not work :(
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ponga> ?
<shevy> ah cuz you wrote before <ponga> he never sleeps
<ponga> ah hah
troubadour has quit [Quit: troubadour]
dkb20k has joined #ruby
<shevy> ponga you know the song insomnia, from faithless? that's how I feel ... the lyrics fit a little :D https://www.youtube.com/watch?v=ZHVJVQzHv5Q
sevvie has joined #ruby
elaptics is now known as elaptics`away
ta_ has quit [Ping timeout: 265 seconds]
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
<ponga> i don't listen to music shevy
<shevy> hehe
<banister> Mon_Ouie 'lutte
dc_ has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
omosoj has quit [Quit: leaving]
dkb20k has quit [Ping timeout: 265 seconds]
zenspider has joined #ruby
MartynKeigher has quit [Read error: Connection reset by peer]
sinkensabe has quit [Remote host closed the connection]
MartynKeigher has joined #ruby
teddyp1cker has quit [Ping timeout: 245 seconds]
MartynKeigher has quit [Read error: No route to host]
MartynKeigher has joined #ruby
oo_ has quit [Remote host closed the connection]
valeriansaliou has joined #ruby
MartynKeigher has quit [Read error: Connection reset by peer]
BTRE has quit [Ping timeout: 265 seconds]
MartynKeigher has joined #ruby
dkb20k has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
konsolebox has joined #ruby
dvd98 has quit [Quit: Leaving]
bronson has joined #ruby
MartynKeigher has quit [Ping timeout: 255 seconds]
Stalkr_ has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
LouisRoR has joined #ruby
Stalkr_ has quit [Quit: Leaving...]
sevvie has quit [Read error: Connection reset by peer]
MartynKeigher has joined #ruby
tmi1 has joined #ruby
valeriansaliou has quit [Read error: Connection reset by peer]
valeriansaliou has joined #ruby
ta_ has joined #ruby
BTRE has joined #ruby
haxr has joined #ruby
kostitas has joined #ruby
_5kg has quit [Ping timeout: 245 seconds]
Zai00 has joined #ruby
dkb20k has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 244 seconds]
bigmac has quit [Read error: Connection reset by peer]
econerd4ever has joined #ruby
bigmac has joined #ruby
SilkFox_ has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
econerd4_ has joined #ruby
kiyote23 has joined #ruby
sevvie has joined #ruby
duncannz has quit [Remote host closed the connection]
Pupeno has joined #ruby
robustus has joined #ruby
econerd4ever has quit [Ping timeout: 265 seconds]
SilkFox_ has quit [Ping timeout: 244 seconds]
dkb20k has joined #ruby
rkr090 has quit [Quit: Leaving]
towski_ has joined #ruby
kiyote23 has quit [Ping timeout: 240 seconds]
fedexo has quit [Ping timeout: 255 seconds]
fedexo_ has quit [Ping timeout: 264 seconds]
Nameo0 has quit [Ping timeout: 265 seconds]
TrOuBleStArTeR has joined #ruby
towski_ has quit [Ping timeout: 250 seconds]
tmi1 has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
econerd4_ has quit [Remote host closed the connection]
Stalkr_ has joined #ruby
ta_ has joined #ruby
econerd4ever has joined #ruby
max96at|off is now known as max96at
ValicekB has joined #ruby
devoldmx_ has joined #ruby
charliesome has joined #ruby
econerd4ever has quit [Ping timeout: 240 seconds]
DadoCe has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
devoldmx_ has quit [Ping timeout: 244 seconds]
yxueqx has joined #ruby
Stalkr_ has joined #ruby
jenrzzz_ has joined #ruby
valeriansaliou has quit [Quit: Be back later ...]
DadoCe has quit [Ping timeout: 256 seconds]
Zai00 has quit [Quit: Zai00]
jenrzzz has quit [Ping timeout: 240 seconds]
Akagi201 has quit []
kf8a has joined #ruby
kf8a has quit [Client Quit]
giuseppesolinas_ has quit [Quit: This computer has gone to sleep]
kf8a has joined #ruby
<anitchrist> ugg
* anitchrist passes out
<anitchrist> "I'm too old for this shit"
haxr has quit [Ping timeout: 255 seconds]
kf8a has quit [Client Quit]
<anitchrist> catch you fools on the flip side... I'm gunna need mentoring on how to turn ruby scripts into an app for every platform
chipotle has quit [Quit: cheerio]
<anitchrist> cause I'm a noob script kiddy
kf8a has joined #ruby
anitchrist has quit [Quit: Leaving]
kf8a has quit [Client Quit]
Menorah has quit [Quit: This computer has gone to sleep]
sinkensabe has joined #ruby
MartynKeigher has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
MartynKeigher has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
valeriansaliou has joined #ruby
sinkensabe has quit [Ping timeout: 256 seconds]
jenrzzz_ has quit [Ping timeout: 240 seconds]
Stalkr_ has quit [Quit: Leaving...]
pushpak has joined #ruby
jottr_ has quit [Ping timeout: 255 seconds]
_5kg has joined #ruby
codecop has joined #ruby
nel has quit []
giuseppesolinas has joined #ruby
MartynKeigher has quit [Read error: Connection reset by peer]
ptrrr has joined #ruby
MartynKeigher has joined #ruby
zenspider has quit [Quit: bye]
doodlehaus has joined #ruby
MartynKeigher has quit [Ping timeout: 255 seconds]
MartynKeigher has joined #ruby
SilkFox_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
jottr_ has joined #ruby
tkuchiki has joined #ruby
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
TrOuBleStArTeR has quit [Quit: Going offline, see ya! (www.adiirc.com)]
oo_ has joined #ruby
dc_ has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
tkuchiki has quit [Ping timeout: 256 seconds]
Tranquility has quit [Quit: Connection closed for inactivity]
timonv_ has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
haxr has joined #ruby
Spami has joined #ruby
oo_ has quit [Quit: Leaving...]
haxr has quit [Read error: Connection reset by peer]
Techguy305 has joined #ruby
DadoCe has joined #ruby
Techguy305 has quit [Max SendQ exceeded]
Spami has quit [Ping timeout: 250 seconds]
Techguy305 has joined #ruby
sk87 has joined #ruby
Spami has joined #ruby
DadoCe has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
sevenseacat has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
m8 has joined #ruby
hanjianwei has joined #ruby
MartynKeigher has quit [Read error: Connection reset by peer]
MartynKeigher has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
sevvie has quit [Read error: Connection reset by peer]
hanjianwei has quit [Max SendQ exceeded]
shotgundebugging has joined #ruby
sinkensabe has joined #ruby
ev has joined #ruby
kasperti_ has joined #ruby
hanjianwei has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
hanjianwei has quit [Max SendQ exceeded]
teddyp1cker has quit [Ping timeout: 256 seconds]
claymore has joined #ruby
tlarevo has joined #ruby
Akagi201 has joined #ruby
Macaveli has joined #ruby
sevvie has joined #ruby
sinkensabe has quit [Ping timeout: 265 seconds]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
shuber_ has quit [Remote host closed the connection]
hanjianwei has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
anaeem1_ has quit [Remote host closed the connection]
hanjianwei has quit [Max SendQ exceeded]
hanjianwei has joined #ruby
Akagi201 has quit [Read error: Connection reset by peer]
Akagi201 has joined #ruby
Techguy305 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
MartynKeigher has quit [Read error: No route to host]
Techguy305 has joined #ruby
hanjianwei has quit [Max SendQ exceeded]
MartynKeigher has joined #ruby
hanjianwei has joined #ruby
Guest49309 has quit [Read error: Connection reset by peer]
shredding has joined #ruby
babykosh has quit [Quit: babykosh]
jsaak has quit [Ping timeout: 272 seconds]
MartynKeigher has quit [Ping timeout: 244 seconds]
kiyote23 has joined #ruby
sinkensabe has joined #ruby
charliesome has quit [Quit: zzz]
towski_ has joined #ruby
nfk has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
davedev24_ has joined #ruby
towski_ has quit [Ping timeout: 265 seconds]
kiyote23 has quit [Ping timeout: 244 seconds]
elaptics`away is now known as elaptics
SilkFox_ has joined #ruby
devoldmx_ has joined #ruby
doodlehaus has quit [Remote host closed the connection]
jmaya has joined #ruby
naftilos76 has quit [Remote host closed the connection]
Xeago has joined #ruby
sinkensabe has quit [Remote host closed the connection]
SilkFox_ has quit [Ping timeout: 255 seconds]
aswen has joined #ruby
ponga has quit [Quit: Leaving...]
devoldmx_ has quit [Ping timeout: 255 seconds]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
jottr_ has quit [Read error: Connection reset by peer]
StoneCypher has quit [Ping timeout: 240 seconds]
JohnBat26 has joined #ruby
jmaya has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
doodlehaus has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
towski_ has joined #ruby
DadoCe has joined #ruby
shuber_ has joined #ruby
iaj has left #ruby [#ruby]
MartynKeigher has joined #ruby
iamninja has joined #ruby
towski_ has quit [Ping timeout: 244 seconds]
shuber_ has quit [Ping timeout: 240 seconds]
DadoCe has quit [Ping timeout: 240 seconds]
Macaveli has quit [Ping timeout: 244 seconds]
giuseppesolinas has joined #ruby
shotgundebugging has quit [Remote host closed the connection]
Techguy305 has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
Macaveli has quit [Client Quit]
dc_ has quit [Remote host closed the connection]
rpag has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
rpag has quit [Remote host closed the connection]
MartynKeigher has quit [Ping timeout: 240 seconds]
binfalse has quit [Quit: Lost terminal]
tkuchiki has joined #ruby
jottr_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
jefus__ has joined #ruby
tkuchiki has joined #ruby
Aswebb_ has quit [Read error: Connection reset by peer]
Aswebb_ has joined #ruby
zorak8 has joined #ruby
MasterPiece has joined #ruby
jefus_ has quit [Ping timeout: 250 seconds]
timonv_ has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 255 seconds]
rkalfane has joined #ruby
ndrei has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
timonv_ has joined #ruby
ishikawa has quit [Remote host closed the connection]
ishikawa has joined #ruby
jamesaxl has quit [Ping timeout: 244 seconds]
ndrei has joined #ruby
claymore has quit [Remote host closed the connection]
claymore has joined #ruby
athan has quit [Ping timeout: 244 seconds]
tkuchiki has joined #ruby
kirun has joined #ruby
Xeago has quit [Remote host closed the connection]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rkalfane has joined #ruby
doodlehaus has quit [Remote host closed the connection]
zenspider has joined #ruby
yxueqx has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
hanjianwei has quit [Ping timeout: 265 seconds]
hanjianwei has joined #ruby
_ixti_ has joined #ruby
ptrrr has quit [Quit: ptrrr]
jottr_ has quit [Ping timeout: 240 seconds]
fantazo has quit [Quit: Verlassend]
arup_r has joined #ruby
ixti has quit [Ping timeout: 245 seconds]
SilkFox_ has quit [Ping timeout: 264 seconds]
MartynKeigher has joined #ruby
timonv_ has quit [Remote host closed the connection]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teddyp1cker has quit [Remote host closed the connection]
jamesaxl has joined #ruby
neoxquick has quit [Read error: Connection reset by peer]
TheTopBloke has quit [Ping timeout: 240 seconds]
MartynKeigher has quit [Read error: Connection reset by peer]
MartynKeigher has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
basichash has joined #ruby
freerobby has joined #ruby
bronson has joined #ruby
shuber_ has joined #ruby
jottr_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
AlSquire has joined #ruby
shuber_ has quit [Ping timeout: 244 seconds]
bronson has quit [Ping timeout: 240 seconds]
shredding has quit [Quit: shredding]
tkuchiki has quit [Ping timeout: 255 seconds]
rkalfane has joined #ruby
sinkensabe has joined #ruby
pandaant has joined #ruby
mostlybadfly has joined #ruby
baltazore has joined #ruby
claptor has joined #ruby
kasperti_ has quit []
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rkalfane has joined #ruby
Darryl__ has joined #ruby
jefus__ has quit [Ping timeout: 244 seconds]
leafybasil has joined #ruby
jamesaxl has quit [Ping timeout: 244 seconds]
noop has joined #ruby
kasperti_ has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
bashusr has quit [Read error: Connection reset by peer]
konsolebox has quit [Ping timeout: 245 seconds]
TheTopBloke has joined #ruby
sevvie has quit [Read error: Connection reset by peer]
aswen has joined #ruby
jamesaxl has joined #ruby
parduse has joined #ruby
oo_ has joined #ruby
sevvie has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
devoldmx_ has joined #ruby
DadoCe has joined #ruby
timonv_ has joined #ruby
Photism has joined #ruby
devoldmx_ has quit [Ping timeout: 255 seconds]
Xeago has joined #ruby
DadoCe has quit [Ping timeout: 245 seconds]
jefus__ has joined #ruby
jefus__ has quit [Read error: Connection reset by peer]
SilkFox_ has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
blizzy has joined #ruby
Xeago has joined #ruby
rkalfane has joined #ruby
lxsameer has quit [Quit: Leaving]
nouranology has quit [Quit: ChatZilla 0.9.91.1 [Firefox 34.0/20141127111021]]
giuseppesolinas has quit [Client Quit]
sinkensabe has quit [Remote host closed the connection]
savvykang has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
bluOxigen has joined #ruby
savvykang has left #ruby [#ruby]
Xeago has quit [Ping timeout: 245 seconds]
konsolebox has joined #ruby
jefus has joined #ruby
giuseppesolinas has joined #ruby
kstuart has joined #ruby
skj3gg has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
MasterPiece has quit [Quit: Leaving]
shuber_ has joined #ruby
doodlehaus has joined #ruby
sevvie has quit [Read error: Connection reset by peer]
rbrs has quit [Quit: rbrs]
shuber_ has quit [Ping timeout: 240 seconds]
timonv_ has quit [Ping timeout: 244 seconds]
timonv_ has joined #ruby
rbrs has joined #ruby
kiyote23 has joined #ruby
sevvie has joined #ruby
pkrzywicki has quit [Ping timeout: 244 seconds]
pkrzywicki has joined #ruby
oo_ has quit [Remote host closed the connection]
Xeago has joined #ruby
sevvie has quit [Read error: Connection reset by peer]
kiyote23 has quit [Ping timeout: 250 seconds]
sevvie has joined #ruby
rbrs has quit [Quit: rbrs]
sevvie has quit [Read error: Connection reset by peer]
MasterPiece has joined #ruby
Xeago has quit [Remote host closed the connection]
rbenv has joined #ruby
Xeago has joined #ruby
cirnetus has joined #ruby
timonv_ has quit [Quit: Leaving...]
giuseppesolinas has joined #ruby
MartynKeigher has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
sevvie has joined #ruby
Xeago has quit [Ping timeout: 245 seconds]
MasterPiece has quit [Quit: Leaving]
ta_ has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
lw has joined #ruby
silkfox has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
devoldmx has quit [Ping timeout: 245 seconds]
arya_ching has joined #ruby
sinkensabe has joined #ruby
devoldmx has joined #ruby
giuseppesolinas has joined #ruby
doodlehaus has quit [Remote host closed the connection]
MartynKeigher has joined #ruby
phutchins has joined #ruby
doodlehaus has joined #ruby
MartynKeigher has quit [Read error: Connection reset by peer]
MartynKeigher has joined #ruby
timonv_ has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
basichash has quit [Ping timeout: 244 seconds]
doodlehaus has quit [Remote host closed the connection]
kasperti_ has quit []
alex88 has joined #ruby
freerobby has quit [Quit: Leaving.]
sinkensabe has quit [Remote host closed the connection]
freerobby has joined #ruby
freerobby has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
nfk has quit [Quit: yawn]
hanjianwei has quit [Ping timeout: 250 seconds]
Fusl has quit [Quit: Contact: http://hallowe.lt/]
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
SilkFox_ has quit [Ping timeout: 256 seconds]
bronson has joined #ruby
ndrei has quit [Quit: Lost terminal]
doodlehaus has joined #ruby
teddyp1cker has joined #ruby
anaeem1_ has joined #ruby
dkb20k has quit [Remote host closed the connection]
zorak8 has quit [Ping timeout: 250 seconds]
timonv_ has quit [Ping timeout: 256 seconds]
bronson has quit [Ping timeout: 245 seconds]
dseitz has joined #ruby
teddyp1cker has quit [Ping timeout: 240 seconds]
Fusl has joined #ruby
ta_ has joined #ruby
zorak8 has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
shredding has joined #ruby
teddyp1cker has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
SilkFox_ has joined #ruby
ta_ has joined #ruby
DadoCe has joined #ruby
Tranquility has joined #ruby
DadoCe has quit [Ping timeout: 244 seconds]
ta_ has quit [Ping timeout: 265 seconds]
jamesaxl has quit [Remote host closed the connection]
oo_ has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
rbrs has joined #ruby
rkr090 has joined #ruby
rbenv has quit [Max SendQ exceeded]
MartynKeigher has quit [Quit: Leaving]
davedev24_ has quit [Read error: Connection reset by peer]
davedev2_ has joined #ruby
DadoCe has joined #ruby
jordanm has quit [Remote host closed the connection]
mrdtt has quit [Quit: Textual IRC Client: www.textualapp.com]
doodlehaus has quit [Remote host closed the connection]
jefus_ has joined #ruby
DadoCe has quit [Ping timeout: 240 seconds]
davedev2_ has quit [Ping timeout: 244 seconds]
asdasdsadas123 has joined #ruby
asdasdsadas123 is now known as function0-
function0- is now known as function90
teddyp1cker has quit [Remote host closed the connection]
ptrrr has joined #ruby
davedev24_ has joined #ruby
oleo has quit [Quit: Verlassend]
jefus has quit [Ping timeout: 256 seconds]
oleo has joined #ruby
kasperti_ has joined #ruby
poguez has joined #ruby
sinkensabe has joined #ruby
skj3gg has joined #ruby
Zai00 has joined #ruby
Soda has joined #ruby
djdarkbeat has quit [Read error: Connection reset by peer]
renderful has joined #ruby
parduse has quit []
Flcn____ has joined #ruby
gsd has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Blackhole has joined #ruby
ponga has quit [Quit: Leaving...]
parduse has joined #ruby
renderful has quit [Ping timeout: 250 seconds]
Blackhole has quit [Client Quit]
devoldmx has quit [Ping timeout: 264 seconds]
lampd1 has joined #ruby
devoldmx has joined #ruby
<cjm_> Hi Folks, I have an environmental misconfiguration for which I need assistance. I have a brand new clean install of ruby (yum -y install ruby ruby-devel ruby-doc rubygems ruby-libs). Next I need to build mod_ruby (mod_passenger), so, "/bin/passenger-install-apache2-module" which does a bunch of checks and instructs me to install "rack", as follows: "/usr/bin/gem install rack" So far, so good...
lw has quit [Quit: s]
<cjm_> On the command line, the passenger script tries to execute "rake": /usr/local/bin/rake RELEASE=yes apache2:clean apache2, which fails
<cjm_> Could not find 'rake' (>= 0) among 6 total gem(s) (Gem::LoadError)
ta_ has joined #ruby
Cat_1 has quit [Ping timeout: 240 seconds]
Channel6 has joined #ruby
amclain has joined #ruby
<cjm_> Earlier, the script checked for rake and claims to have found it. Additionally, "gem list" also does not find it. So, my question is, what is the script finding, since the run-time can?
martini has joined #ruby
oo_ has quit [Ping timeout: 245 seconds]
function90 has quit [Max SendQ exceeded]
<martini> If you use something like "Name".legth, is the output kept anywhere in memory?
<martini> length*
function90 has joined #ruby
<martini> Well I mean obviously it will be in memory, but can you call it later on in your code, or does the output need to be assigned to a variable first? I am new to ruby.
frogsy has joined #ruby
apurcell has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
arya_ching has quit []
<godd2> martini you would need to save it to a variable or calculate it again later
psy has quit [Ping timeout: 244 seconds]
lw has joined #ruby
Yzguy has joined #ruby
<godd2> if you calculate something an never save it anywhere, it will be deleted since ruby thinks you don't need it
<martini> godd2: Thank you. I'm learning ruby on codecademy right now and just wanted to clear that up. I had a feeling that I would need to store it as a variable, but Codecademy didn't tell me so I needed to double check.
<godd2> if you want a more technical answer, the resulting calculation becomes a candidate for garbage collection, but that is a detail you don't have to worry about as a beginner
<martini> Ruby has a relatively slow garbage collection, right?
apurcell has quit [Ping timeout: 255 seconds]
<martini> I read something about that on Stack Overflow. I was reading an article on 2d game development. I want to build an rpg when I get the appropriate skills.
jottr_ has quit [Ping timeout: 264 seconds]
timonv_ has joined #ruby
<godd2> That's not a question I'm fully qualified to answer, but to my understanding, the garbage collector in version 2.1 and higher is adequately fast
lkba has joined #ruby
<martini> I downloaded ruby 1.9.3. Do you think that I should upgrade it?
lw has quit [Client Quit]
<martini> I read that 1.9.3 was the most stable version
<godd2> 1.9.3 is just fine for learning ruby, and even for production ruby code
<martini> Thanks godd2
<godd2> just don't use 1.8.7 as it isn't maintained anymore
<godd2> as for game development, there are a few cool libraries or "gems" out there
heftig_ is now known as heftig
<godd2> one is called Gosu, another is Yeah, and another is Dare
<frogsy> Is there any reasonable way to produce native-looking Windows GUIs for Ruby apps?
<godd2> Yeah and Dare compile ruby to javascript so the game can be played in any browser :)
rbrs has quit [Ping timeout: 245 seconds]
dkb20k has joined #ruby
martini has quit [Quit: Page closed]
az7ar has joined #ruby
<shevy> frogsy I think you can call parts of the windows API from ruby
ddd has joined #ruby
<apeiros_> IMO if you start with ruby, use the newest version
<apeiros_> there's no reason to learn for the past
<shevy> frogsy if you use also java/jruby then you can use shoes http://shoesrb.com/
<shevy> and ruby-gnome and ruby-qt should work on windows
oleo__ has joined #ruby
perrier has joined #ruby
oleo is now known as Guest97615
rdark has joined #ruby
sleepee has quit [Ping timeout: 244 seconds]
teddyp1cker has joined #ruby
Guest97615 has quit [Ping timeout: 245 seconds]
motto has joined #ruby
motto is now known as Guest65541
djdarkbeat has joined #ruby
shuber_ has joined #ruby
hvxgr has quit [Quit: leaving]
m8 has quit [Ping timeout: 264 seconds]
hvxgr has joined #ruby
tus has joined #ruby
apurcell has joined #ruby
bronson has joined #ruby
blizzy has quit [Ping timeout: 255 seconds]
shredding has quit [Quit: shredding]
lw has joined #ruby
Kricir has joined #ruby
shuber_ has quit [Ping timeout: 255 seconds]
hvxgr has quit [Quit: leaving]
hvxgr has joined #ruby
apurcell has quit [Ping timeout: 244 seconds]
dkb20k has quit [Read error: Connection timed out]
Kricir has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 240 seconds]
it0a has joined #ruby
RandyT has quit [Quit: ZNC - http://znc.in]
riscky has quit [Quit: riscky]
RandyT has joined #ruby
dkb20k has joined #ruby
jottr_ has joined #ruby
sandelius has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
blizzy has joined #ruby
bigmac has joined #ruby
dkb20k has quit [Ping timeout: 256 seconds]
bigmac has quit [Read error: Connection reset by peer]
riscky has joined #ruby
bigmac has joined #ruby
kstuart has quit [Remote host closed the connection]
kstuart has joined #ruby
blizzy has quit [Ping timeout: 240 seconds]
Darryl__ has quit [Quit: Connection closed for inactivity]
GGMethos has quit [Quit: WeeChat 1.0.1]
Yzguy has quit [Quit: I'm sleeping, go away.]
ohaibbq has joined #ruby
ahmgeek has joined #ruby
adriancb has joined #ruby
oleo__ has quit [Quit: Verlassend]
rurban has joined #ruby
rurban has left #ruby [#ruby]
oleo__ has joined #ruby
oleo__ has quit [Read error: Connection reset by peer]
konsolebox has quit [Read error: Connection reset by peer]
Aswebb_ has quit []
oleo has joined #ruby
valeriansaliou has quit [Quit: Be back later ...]
apurcell has joined #ruby
chinmay_dd has joined #ruby
kiyote23 has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
govg has quit [Quit: leaving]
govg has joined #ruby
ddd has quit [Quit: you kidding me? wtf]
claudiuinberlin has joined #ruby
apurcell has quit [Ping timeout: 244 seconds]
nicolastarzia has joined #ruby
arup_r has quit [Quit: Leaving.]
teddyp1cker has quit [Read error: Connection timed out]
kiyote23 has quit [Ping timeout: 256 seconds]
ddd has joined #ruby
teddyp1cker has joined #ruby
ptrrr has quit [Quit: ptrrr]
GGMethos has joined #ruby
MartynKeigher has joined #ruby
baltazore has quit [Remote host closed the connection]
AlexRussia has quit [Quit: WeeChat 1.1-dev]
chipotle has joined #ruby
AlexRussia has joined #ruby
Soda has quit [Remote host closed the connection]
ebanoid has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ebanoid has joined #ruby
hvxgr has quit [Quit: leaving]
hvxgr has joined #ruby
baltazore has joined #ruby
byprdct has joined #ruby
Takle has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rkalfane has joined #ruby
apurcell has joined #ruby
brlkid has joined #ruby
k_89 has joined #ruby
k_89 has left #ruby ["Leaving"]
blizzy has joined #ruby
shuber_ has joined #ruby
havenwood has joined #ruby
apurcell has quit [Ping timeout: 240 seconds]
noop has quit [Ping timeout: 250 seconds]
jottr_ has joined #ruby
shredding has joined #ruby
az7ar is now known as az7ar_away
zorak8 has quit [Ping timeout: 255 seconds]
shuber_ has quit [Ping timeout: 244 seconds]
ptrrr has joined #ruby
fredsir_ has left #ruby [#ruby]
ta_ has joined #ruby
teddyp1cker has quit [Read error: Connection timed out]
teddyp1cker has joined #ruby
deepa is now known as deepy
rkr090 has quit [Quit: Leaving]
<cjm_> Hi Folks, I have installed a Ruby on Rails application which presumably runs with mod_ruby (mod_passenger) under apache. When I request the root page and the correct URL, I don't get Ruby output server, I get a static page dispatch.fcgi served from the public/ directory. This should be simple for someone that understands more about how Ruby on Rails on Passenger works than I do. Any advice?
alkoma has joined #ruby
* Nilium shrugs
<Nilium> Try the rails channel.
AndyBotwin has joined #ruby
<Nilium> God damn bots.
Zai00 has quit [Quit: Zai00]
TheTopBloke has quit [Read error: Connection reset by peer]
shotgundebugging has joined #ruby
<apeiros_> cjm_: #rubyonrails (mod_ruby != mod_passenger btw.)
<apeiros_> it sounds like you didn't properly configure apache
TheTopBloke has joined #ruby
<cjm_> apeiros, mod_ruby != mod_passenger Well, THAT might be my problem! I cannot find mod_ruby. EVERYTHING kept taking me to mod_passenger. Can you advise me?
<apeiros_> mod_ruby is pretty much dead. don't use it.
ta_ has quit [Ping timeout: 245 seconds]
<cjm_> apeiros, O.K., so where can I find instructions for running under apache?
<apeiros_> rubyonrails.org has quite extensive documentation
jottr_ has quit [Ping timeout: 255 seconds]
ahmgeek has quit [Remote host closed the connection]
<cjm_> apeiros, O.K., Thanks. Hi-ho, hi-ho, is off the rails I go... (-:
dkb20k has joined #ruby
ptrrr has quit [Quit: ptrrr]
* Nilium just uses nginx at this point because he's too lazy to successfully configure Apache
<Nilium> Granted, I also don't use Rails, so I don't know what's involved in that.
rdark has quit [Quit: leaving]
Yzguy has joined #ruby
Yzguy has quit [Client Quit]
dkb20k has quit [Ping timeout: 265 seconds]
malcolmva has quit [Ping timeout: 245 seconds]
SilkFox_ has quit [Ping timeout: 240 seconds]
claymore has quit [Quit: Leaving]
<cjm_> apeiros, I mislead you. mod_passenger is mod_rails, not mod_ruby.
chinmay_dd has quit [Read error: Connection reset by peer]
mattwildig has joined #ruby
<apeiros_> yes
Cyberheb has joined #ruby
<godd2> misleading apeiros is a capital crime
hashpuppy has joined #ruby
mleung has joined #ruby
kostitas has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
Channel6 has quit [Quit: Leaving]
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
Tranquility has quit [Quit: Connection closed for inactivity]
psy has joined #ruby
fedexo has joined #ruby
fedexo_ has joined #ruby
malcolmva has joined #ruby
lw has quit [Quit: s]
neersighted has joined #ruby
shredding has joined #ruby
lampd1 has quit [Remote host closed the connection]
pleasehelp has joined #ruby
DonOtreply has joined #ruby
davedev24_ has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Client Quit]
Tranquility has joined #ruby
StoneCypher has joined #ruby
<shevy> it's ok, pay him in schokli
<pleasehelp> I am trying to draw "HelloGame!" in the center of a window that I created with Gosu. When I run this code I get syntax errors on line 23 and 28. Any ideas? I am new to programming.
<pleasehelp> require 'gosu' class Hello < Gosu::Window def initialize (width = 800, height = 600, fullscreen = false) super self.caption = "HelloGame!" @image = Gosu::Image.from_text self, "HelloGame!", Gosu.default_font_name, 100 end def button_down id close if id == Gosu::KbEscape end def update @x = self.widt
<shevy> so
<pleasehelp> Sorry, that didn't work...
<shevy> line 23 eh
<shevy> would you not prefer to use a pastie
<shevy> people can then see what line 23 is
<ddd> gist.github.com and give people the url\
<pleasehelp> What is a pastie?
shredding has quit [Client Quit]
<pleasehelp> Alright, I'll check out github.
davedev24_ has quit [Read error: Connection reset by peer]
davedev2_ has quit [Ping timeout: 255 seconds]
<godd2> pleasehelp go to gist.github.com and paste your code, click "create public gist", and then copy paste the url
<shevy> a pastie is a site where you can dump code, then we all see it in a highlighted way + line numbers on it
davedev24_ has joined #ruby
<pleasehelp> shevy: BTW, we spoke yesterday. I'm the ruby vs python newb :)
<shevy> ah
<shevy> you have another nick
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<kl> pleasehelp: ruby vs python, you trying to decide between the two?
sandelius has joined #ruby
<kl> I remember when I was comparing things like Python and Ruby. Those days were simpler
<kl> Trouble now, is I've learned enough languages to know none are *really* good enough
ev has quit [Ping timeout: 245 seconds]
<shevy> pleasehelp ok you saved this as .txt file
<kl> Before, I always got off on the "maybe the next language..."
<pleasehelp> shevy: I make a new nick each time I hop on here because I haven't registered a permanent name yet
<shevy> pleasehelp next time save it as .rb file on that pastie please -> https://gist.github.com/shevegen/4b4092d7c14d34fd4a01
<pleasehelp> shevy: Let me try again. First time using Github.
<shevy> pleasehelp now the problem is simple
<shevy> nah I did for you
<shevy> we have no time to lose
<shevy> @image.draw (@x, @y, 0)
<shevy> remove the ' ' before the (
bronson has joined #ruby
<pleasehelp> Haha
areric has joined #ruby
<shevy> line 28 confuses me
<shevy> you invoke method .show()
<kl> I can't help but feel these days that default parameter values are an anti-pattern: but that's beyond the scope of the discussion
<shevy> but I see no method with that name in your pastie
<shevy> is it on gosu parent window?
SilkFox_ has joined #ruby
<shevy> default parameters are awesome, it gives people flexibility to invoke methods in different ways
ta_ has joined #ruby
<pleasehelp> Hold on...
DonOtreply has quit [Quit: DonOtreply]
<shevy> I think most people in ruby will opt to use a hash once a method may have too many arguments
<pleasehelp> You cannot have space between the opening parenthesis and a method?
<shevy> pdf.circle_at [100,100], :radius => 25
<godd2> pleasehelp that is correct
<godd2> pleasehelp also, you'll need to set @x and @y in the initialize method to something
<shevy> pdf.text "Ruby in Red", :color => "FF0000", :align => :justify
ebanoid has quit [Quit: Textual IRC Client: www.textualapp.com]
<pleasehelp> I am following this tutorial.
<godd2> otherwise, if it tries to draw before it updates, @x and @y will have a number
<pleasehelp> I am at about the 21:00 mark.
<pleasehelp> I did not design the code
<havenwood> pleasehelp: why are you using parens?
<shevy> people learn ruby in strange ways these days
<pleasehelp> havenwood: I thought that was the proper way, but then again I am a newbie.
bronson has quit [Ping timeout: 265 seconds]
<godd2> pleasehelp we generally omit parentheses if there's only a few simple arguments
<pleasehelp> havenwood: He does not use parens in the video, but I thought that he just had bad style.
<shevy> pleasehelp it's irrelevant, use whatever you prefer. there are a few cases where parens are mandatory though, if there is ambiougouou... amibous... thingies
<shevy> man that's a word
<godd2> ambiguity?
ta_ has quit [Ping timeout: 244 seconds]
<shevy> yeah
<godd2> :P
<shevy> I thought there was an o
mattwildig has quit [Remote host closed the connection]
<godd2> I guess you could get away with ambiguousness
<shevy> that's the good think about US english compared to UK english, they chop off characters! like color vs. colour ...
<havenwood> pleasehelp: Omitting every paren that doesn't break the interpreter is actually often called "Seattle style" after Seattle Ruby Brigade.
dh64 has quit [Quit: Konversation terminated!]
<pleasehelp> grr..my freenode isn't auto scrolling anymore when new messages appear (it does by default, right..?)
jottr_ has joined #ruby
<shevy> pleasehelp depends on your client. what IRC client do you use?
<pleasehelp> webchat
<shevy> I use xchat
timonv_ has quit [Ping timeout: 245 seconds]
<shevy> you ought to get a good client and you ought to get a permanent nick too some day
wkmanire has joined #ruby
pawanspace has joined #ruby
<pleasehelp> You recommend xchat? I'll work on that right now
<shevy> pleasehelp style questions in ruby are funny because in ruby there is more than one way to do things, including style. the ruby parser is very liberal compared to others like python
<shevy> xchat was great but it is abandoned; I still use it though. the new "xchat" is called hexchat
mleung has quit [Quit: mleung]
areric has quit [Remote host closed the connection]
Flcn____ has quit [Quit: Be back later ...]
<wkmanire> Good morning. What are considered the default unit testing and code coverage tools for Ruby?
<pleasehelp> Whatttt, xchat isn't free?
apurcell has joined #ruby
areric has joined #ruby
<havenwood> wkmanire: Minitest and Test::Unit ship with Ruby but RSpec is also quite popular.
<wkmanire> havenwood: Thanks! That's what I was looking for.
aswen has joined #ruby
kyb3r_ has joined #ruby
Flcn____ has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> wkmanire: For code coverage SimpleCov with maybe Coveralls or Code Climate.
<havenwood> wkmanire: No prob.
<havenwood> wkmanire: Here're some code metrics tools including coverage: https://www.ruby-toolbox.com/categories/code_metrics
ptrrr has joined #ruby
apurcell has quit [Ping timeout: 265 seconds]
<wkmanire> havenwood: Awesome. I bookmarked that site.
teddyp1cker has quit [Remote host closed the connection]
iksik has joined #ruby
Dolphi has joined #ruby
DonOtreply has joined #ruby
<havenwood> wkmanire: Ruby Toolbox usually doesn't have all the options but it can be a nice place to get some leads and see what's been popular for a while.
Takle has quit [Remote host closed the connection]
areric has left #ruby [#ruby]
<wkmanire> I've decided to learn Ruby this year so I'm trying to take a shortcut and go right to whatever is considered the standard toolset. :)
<Dolphi> shevy, Guess who it issss ^_^
<pleasehelp> shevy: Its me lol
maletor has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
bigmac has joined #ruby
alex88 has quit [Remote host closed the connection]
bigmac has quit [Read error: Connection reset by peer]
<wkmanire> Most likely I won't have a chance to use it at my day job, but I haven't studied a new language in a while and ruby is one of the top 10 github languages still. Looks like it's going to be a lot of fun.
ta_ has joined #ruby
luriv has joined #ruby
bigmac has joined #ruby
pawanspace has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
iksik has left #ruby ["wushhhhh....."]
az7ar_away is now known as az7ar
dfinninger has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
pleasehelp has quit [Quit: Page closed]
Techguy305 has joined #ruby
browndawg has joined #ruby
mmealling has joined #ruby
zarubin has joined #ruby
sinkensabe has joined #ruby
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dseitz has joined #ruby
Takle has joined #ruby
sinkensabe has quit [Remote host closed the connection]
dkb20k has joined #ruby
<havenwood> wkmanire: Careful or you'll end up working in Ruby! :)
<havenwood> A lot of us suffered that fine fate.
Flcn____ has quit [Quit: Be back later ...]
<wkmanire> havenwood: I'd certainly like to leave that door open. If anything else.
silkfox has joined #ruby
Zamyatin has joined #ruby
kiyote23 has joined #ruby
teddyp1cker has joined #ruby
claudiuinberlin1 has joined #ruby
sinkensabe has joined #ruby
claudiuinberlin has quit [Ping timeout: 255 seconds]
silkfox has quit [Ping timeout: 244 seconds]
towski_ has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
mattwildig has joined #ruby
vyorkin has joined #ruby
rgs has quit [Quit: Changing server]
<wkmanire> havenwood: Do you use RVM?
Cyberheb has quit [Quit: Textual IRC Client: www.textualapp.com]
adriancb has quit [Remote host closed the connection]
kiyote23 has quit [Remote host closed the connection]
rkalfane has joined #ruby
<kl> Ruby is definitely a nice language to know. It effectively replaced Perl for me.
TheTopBloke has quit [Ping timeout: 265 seconds]
iamjarvo has joined #ruby
TheTopBloke has joined #ruby
<kl> Ruby has a lot of traction in the devops-sphere. I do Ruby for my dayjob: web app dev, and not with Rails. I'm not sure what my future with Ruby is though
bronson has joined #ruby
<kl> As I refuse Rails
Flcn____ has joined #ruby
<wkmanire> kl: It seems to me that the select of server language is becoming less important these days.
<kl> wkmanire: in which respect?
<wkmanire> selection*
<Dolphi> kl, How long have you been in web dev?
<wkmanire> Most of the web apps I've written recently have been single-page applications where the server is just one big REST API.
browndawg has quit [Quit: Leaving.]
<kl> Dolphi: 10 years
Channel6 has joined #ruby
Guest12236 has quit [Quit: ZNC - http://znc.in]
<Dolphi> kl, Yikes. How long did it take you to get your first job once you decided to pick up programming?
<kl> wkmanire: that may be the case, but I'm not sure how that depreciates the importance of selecting a particular language
aaronoflegend has joined #ruby
aaronoflegend has left #ruby [#ruby]
<Dolphi> I'm learning ruby right now as my first language, and eventually I plan on getting into web development, though I originally decided to pick up programming to make games as a hobby.
<kl> Dolphi: I say 10 years, but much was part time. I started at age 14. Started programming as a little kid, so I wasn't "actively" looking for work for a given period
Soda has joined #ruby
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<kl> Dolphi: so I'm not sure you could validly compare
<Dolphi> I'm 20 and just now starting. I feel like such a newbie.
claudiuinberlin1 has quit [Read error: Connection reset by peer]
<kl> Dolphi: same. :)
az7ar is now known as az7ar_away
6A4AAYL2Y has joined #ruby
<wkmanire> kl: Well, it used to be that you really had to work hard to pick a good set of tools for the server because it handled templating your HTML. In some cases (ASP.Net forms), the browser is almost completely abstracted away from you and you don't work in terms of things the browser understands.
<kl> It's a rapidly moving industry
dkb20k has quit [Ping timeout: 255 seconds]
pawanspace has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
<kl> Dolphi: although I may well move beyond web dev in the next couple years
<wkmanire> kl: When your server just needs to be a REST API, all of a sudden most server-side languages can do a good job.
<kl> Can't help but feel that web dev tends to involve many of the same sorts of problems, over and over. To alleviate that, I do work slightly "more" back-end than others: the web just happens to be the presentation format
apurcell has joined #ruby
pawanspace has quit [Client Quit]
jherbst has joined #ruby
<kl> wkmanire: gotcha. There's some truth to that. But the language selection does remain pretty important in many other ways
kiyote23 has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
<Dolphi> kl, I just want to learn some web dev for job opportunities. Not sure how interesting it is because I've never tried, but I think that game dev will be more of my "thing". I could be wrong however.
<havenwood> wkmanire: I do use RVM sometimes, particularly for older systems or when I need precompiled binaries or to build dated Rubies that now require patches to build. I switch Rubies with chruby though primarily.
sinkensabe has joined #ruby
<wkmanire> havenwood: I'm looking for something like python's virtualenv
psy has quit [Ping timeout: 244 seconds]
<wkmanire> I think you can do that with RVM and named gemsets?
<wkmanire> What is chruby?
Luyt__ has quit [Remote host closed the connection]
Luyt__ has joined #ruby
<kl> Dolphi: I've been doing it for a good few years now - and I do a *lot* of learning, which makes me aspire to apply what I learn in areas that I don't feel webdev exploits to the maximum;
<havenwood> wkmanire: Bundler has been widely adopted for managing gem environments: http://bundler.io/
<kl> Dolphi: I don't think you should worry about getting bored very quickly. :)
anonymous2285657 has joined #ruby
anitchrist has joined #ruby
<havenwood> wkmanire: Bundler is a gem, unlike RVM and chruby which are shell scripts.
<wkmanire> havenwood: Nice! Thanks
<anitchrist> hello peeps
* anitchrist waves
Flcn____ has quit [Quit: Be back later ...]
<kl> Dolphi: it's really hard to advise beginning developers. There's no "good" place to start imo.
apurcell has quit [Ping timeout: 255 seconds]
<kl> Overall, the best to start is probably with something that'll give you job opportunities, which expose you to smarter people and complicated problems
Techguy305 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<kl> wkmanire: I can speak for chruby too, along with the rest of my team
bronson has quit [Remote host closed the connection]
anonymous2285657 has quit [Remote host closed the connection]
<towski_> what does chruby do that rvm doesn't
<wkmanire> I'll read about chruby and bundler
<Dolphi> kl, I agree. For now I'm just learning the basics of Ruby and then I will have to make a decision on whether I should focus on the web or on indie games. I have books on HTML, CSS, and JQuery, so if I end up going the web dev route first, I should be off to a good start.
<wkmanire> seems like chruby + bundler is a winning combination from my outsiders perspective
mattwildig has left #ruby [#ruby]
zarubin has quit []
<kl> wkmanire: bundler is practically mandatory. But it's really good, so that's the least of your worries
zarubin has joined #ruby
Cat_1 has joined #ruby
<havenwood> towski_: RVM is over 20,000 lines of shell. What chruby does is simplicity with only 100 lines of shell. Actually RVM even supports chruby out of the box with MRVM, which ships with RVM but uses chruby for switching.
<towski_> havenwood: oh cool interesting
zarubin has quit [Client Quit]
<kl> I have no idea what RVM needs 20k lines for, but I know what I *want* requires 100 max (i.e. chruby)
<kl> Frankly I'm surprised chruby even needs 100
<kl> Dolphi: when you say indie games, what kind of platform are you talking about?
giuseppesolinas has joined #ruby
<Dolphi> Well I am just worried about learning HOW games are made and the logic behind them really, not deployment. As of right now, it doesn't matter what platform to me, though I'd like to eventually throw something up on Steam with Greenlight if possible.
TheTopBloke has quit [Ping timeout: 244 seconds]
<towski_> it doesn't matter to me how many lines of shell a program uses
TheTopBloke has joined #ruby
<kl> towski_: well yeah, but it's just a metric that implies other things (like whether it does a load of crap you probably don't want)
omosoj has joined #ruby
zarubin has joined #ruby
<wkmanire> havenwood: 20,000 lines of shell?
<kl> Dolphi: games do involve quite different kinds of programming/languages
<wkmanire> Holy shit!
<Dolphi> kl, I just want to write a 2d rpg. If I could do that in ruby as a way to help me learn the language, that would be great. Once I can get a very basic rpg built, I can always learn a new language if neccessary in order to deploy to specific platforms or if I need better performance. I just don't want to have to worry about all of that right now. I want to focus on the basics of programming.
<wasamasa> Dolphi: I don't think programming is going to be the problem
<godd2> wkmanire well it wasn't written overnight!
<towski_> that's true. it does probably make it easier to understand what it's doing
<kl> Dolphi: sorry, when I say "games" - I'm talking about the kind you'd probably find on Steam, if you're talking about larger ones
<wasamasa> Dolphi: considering what code one can get away with in commercial releases :P
<wkmanire> I can only fathom that it must be due to supporting different interpreters and operating systems
jottr_ has quit [Ping timeout: 245 seconds]
codezomb has joined #ruby
<kl> Dolphi: cool. Ruby's a nice language to do that with.
<Dolphi> kl, No, I am talking about indie as in Steam games. I really just want to make a game that I can show my friends or even just be proud of without even sharing it. I don't really plan on working in an AAA, though I probably wouldn't pass up the opportunity. I just did not want to start straight off with C++ (Although I also purchased C++ and C# with Unity books in preparation lol)
zarubin has quit [Client Quit]
zarubin has joined #ruby
<Dolphi> Releasing something to Steam isn't really a goal right now, but if I could write something worth sharing, I wouldn't mind going to Steam. I just want to do something for fun and learning first and foremost. Once I write a few games then I think I can work on something more serious.
<wkmanire> Dolphi: A big mistake that people make, is that get too tied up in the graphics library and never actually write their game.
<wkmanire> You hear a lot of newbies throwing around the word "engine".
<Dolphi> wkmanire, Yeah, I've heard of that as well.
<Dolphi> wkmanire, I know what an engine is. Unity, RPG Maker Ace, etc.
<wkmanire> Dolphi: You can build your whole "2D RPG" as a software package, and then later one you can go get a graphics library and use to write a UI over your game.
<wkmanire> later on*
MartynKeigher has quit [Read error: No route to host]
<Dolphi> Speaking of...
MartynKeigher has joined #ruby
<wkmanire> Dolphi: I'm not trying to steal you away from Ruby, but over at #pygame we have a really nice little community of hobbyist game developers.
<godd2> heresy!
<kl> That *is* a pretty nice little community. Won't find that with Ruby
<wkmanire> Dolphi: If you get started on a game you might want to try your questions there, even though you're using ruby the answers to your architectural questions are probably going to be very similar.
<omosoj> i'm having trouble installing 2.1.3 with rbenv (here's the shell and log output for trying with 2.2.0: https://gist.github.com/anonymous/cae96e31eb36f228cde7)
<godd2> There are a couple game groups in Ruby
<kl> godd2: oh really? I'd be interested to know more
<Dolphi> RPG maker..I've heard a lot of bad things about that Engine, but I have also seen some amazing games built in it, such as "To the Moon". For someone who wants to learn coding, not just game design, would you recommend RPG maker?
<godd2> kl and RubyGameDev: http://www.rubygamedev.com/
giuseppesolinas has quit [Quit: This computer has gone to sleep]
bigmac has quit [Read error: Connection reset by peer]
<Dolphi> I don't want to buy it and then realize, "Well crap...I can make a game, but I still don't know how to code it myself." You know?
iamninja has joined #ruby
shotgund_ has joined #ruby
ChronocityLC is now known as osvico
<kl> Dolphi: any game-making that doesn't involve coding sounds a lot like "entertainment" to me
<wkmanire> kl, havenwood: Thanks for the advice guys. I have to split.
shotgundebugging has quit [Read error: Connection reset by peer]
<kl> Nice chatting, catch ya later.
<Dolphi> wkmanire, Have a nice day sir.
shuber_ has joined #ruby
<wkmanire> Thanks!
apurcell has joined #ruby
Macaveli has joined #ruby
chrishough has joined #ruby
it0a has quit [Ping timeout: 255 seconds]
timonv_ has joined #ruby
<anitchrist> can anyone help me understand ".info_for"?
shuber_ has quit [Ping timeout: 240 seconds]
<anitchrist> <=== nooob
psy has joined #ruby
<jhass> looks like a method call
apurcell has quit [Ping timeout: 244 seconds]
mary5030 has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
<anitchrist> jhass, you'd be right
<anitchrist> I'm trying to get a handle on httparty's api "get" command, so that I don't get all the information from on the attr_accessor's
<anitchrist> er
<anitchrist> not command
<anitchrist> "method call"
<anitchrist> I was in here last night and someone tried to tell me to use the reject method call, but its not working for me how I need it to
timonv_ has quit [Ping timeout: 245 seconds]
Jackneill has quit [Remote host closed the connection]
kiyote23 has quit [Remote host closed the connection]
bigmac has joined #ruby
alex88 has joined #ruby
<Cat_1> How do you need it to work?
Stichoza has joined #ruby
<Cat_1> cirnetus is a spammer
chipotle has quit [Quit: cheerio]
<anitchrist> its get the data from the json and then printing the query at the end
<anitchrist> but
<anitchrist> I don't need to see everything
<crome> reject sounds about right although an example would help a lot
<anitchrist> gimme a sec :)
valeriansaliou has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
it0a has joined #ruby
behrz has joined #ruby
devoldmx has quit [Remote host closed the connection]
<anitchrist> crome: http://pastebin.com/cmPTvd9B
<anitchrist> Cat_1: ^^^
apurcell has joined #ruby
<anitchrist> I then use this script as a class call, cause I plan to compile it into an app at some point... http://pastebin.com/b68wM5EM
<jhass> you should subclass StandardError, not Exception
shredding has joined #ruby
<jhass> Room is not used in the code you show, Store is not shown in the code you show
<Cat_1> I agree with JHass
mengu has joined #ruby
mengu has joined #ruby
<Cat_1> By Room did you mean Store?
<jhass> the rescue() makes no sense to me
<anitchrist> yeah sorry
<jhass> does that even parse?
<anitchrist> rescue had a put in it
Nameo0 has joined #ruby
<anitchrist> so I could see the attr_read's
<anitchrist> I have taken it out for now I could remove the rescue, but I'm toooooooo lazy lol
<jhass> also you can just use instance_variable_set there
<Cat_1> Are you using rails? May just want to use Rails.logger.info for that kind of stuff.
apurcell has quit [Ping timeout: 245 seconds]
<jhass> and then probably can use attr_reader instead of attr_accessor
<omosoj> hey guys i'm trying to pick a text editor. what do you all think of sublime text? and which should i start with, 2 or 3?
<Cat_1> that way you dont' have to go back and comment it out when you want it
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<Cat_1> omosoj - just pick one you're comfortable with. /thread
<Cat_1> 3 is in active development, 2 is EOL I believe.
<jhass> ^ sublime is fine, 3 is stable already. everybody else: that question never happened
jottr_ has joined #ruby
<Cat_1> I use ST3 right now and vim in a pinch when I'm in a terminal.
<omosoj> k. i use vim now, but was thinking i should use something prettier
av_a_word has joined #ruby
<Cat_1> Vim is pretty
<Cat_1> :)
<Cat_1> I always find myself pushing :wq in SublimeText though...
sandelius has joined #ruby
<crome> prettier than vim?
<crome> bollocks
<jhass> you people are too easy to troll
<omosoj> Cat_1, heh, yeah i do that everywhere (:wq)
<anitchrist> lol
<omosoj> does sublime text have a console i can run tests and stuff in?
teddyp1cker has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
<anitchrist> you tell me to do stop with not enough info, details... must have details
<anitchrist> imanoobduh
<av_a_word> Hi, I'm resoling an ip address by using Resolv::IPv4::Regex which works great. How can I also get the subnet mask in CIDR Formatting?
Dolphi has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
banister has quit [Read error: Connection reset by peer]
<anitchrist> stop = stuff ... smh
* anitchrist facepalms
babykosh has joined #ruby
sinkensabe has quit [Remote host closed the connection]
babykosh has quit [Client Quit]
<omosoj> how do you guys navigate the directory/file structure easily with vim? i use the vim file explorer, but it would be nice to have a separate window with the directory structure
teddyp1cker has quit [Ping timeout: 265 seconds]
bigmac has joined #ruby
<crome> ctrlp is all I need :D
<crome> well, most of the time
<crome> and ag.vim
<av_a_word> here the code i have working for just the ip without the ask
<av_a_word> mask*
dfinninger has quit [Remote host closed the connection]
shotgund_ has quit [Remote host closed the connection]
Dolphi has joined #ruby
lampd1 has joined #ruby
<crome> gets.chomp will never be a Resolv::IPv4::Regex
<crome> oh
<Dolphi> omosoj, I actually use Sublime Text 2 and I enjoy it, but I'm just a newbie. All seem to be the same to me for the most part.
<crome> wait
<crome> os is that a constant ;<
Techguy305 has joined #ruby
Mon_Ouie has quit [Remote host closed the connection]
<crome> right
zarubin has quit []
chipotle has joined #ruby
<av_a_word> crome: im very new to this so i might ave made an obvious mistake somewhere
<crome> nah, I was wrong
<omosoj> crome, what's ctrlp?
<crome> omosoj: a plugin
<av_a_word> official*
<crome> yes, it is
<omosoj> oic, hm, looks interesting but complicated
<av_a_word> would Regex256 do it?
<crome> av_a_word: also, you break out of the loop before doing anything else
<omosoj> Dolphi, i'm a newbie too. been using vim, played around with emacs some too. wondering if i shoudl branch out some more
lampd1 has quit [Ping timeout: 244 seconds]
<Dolphi> omosoj, How new are you? If you are using vim and emacs then you're probably more advanced than I am haha.
anitchrist has quit [Quit: Leaving]
<Dolphi> The most I have done so far is make a text adventure in Java before switching to learn Ruby.
<av_a_word> crome: yes your right, sorry was pulling the code out of code and re shuffled
apurcell has joined #ruby
<Dolphi> Now I'm trying to learn the basics of Ruby and then mess around with Gosu so I can work on a 2d rpg, but I've got a ways to go still.
<av_a_word> http://paste.ee/p/gNUcR probably works better
<omosoj> Dolphi, about a year in, i guess. but with vim and emacs, i basically pick up difficult things to force myself to learn (aka masochism)
<omosoj> Dolphi, cool :)
RareBlackMagic has joined #ruby
mary5030 has quit [Remote host closed the connection]
<Dolphi> omosoj, I'm about a month in, but most of that time was spent with Java. I decided to move on to bigger and better things (aka Ruby) :)
<Dolphi> Eventally I'll work with rails too, but like I said, I've got awhile to go.
mary5030 has joined #ruby
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Remote host closed the connection]
<omosoj> Dolphi, afaik java/ruby/x/y/z are a little different but the fundamentals of software design are pretty standard. if you can build a text game in your first month you're well on your well
philwantsfish has joined #ruby
<omosoj> well on your *way
apurcell has quit [Ping timeout: 240 seconds]
SixiS has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Dolphi> omosoj, A simple text adventure in your first month is considered good? Lol I'm mad at myself for not having completed my rpg yet! haha
<Dolphi> I'm in the process of learning how to build windows and move sprites now.
mary5030 has quit [Ping timeout: 265 seconds]
<omosoj> rome wasn't built in a day :)
Macaveli has quit [Ping timeout: 244 seconds]
<av_a_word> any ideas on the subnet mask?
6A4AAYL2Y has quit [Quit: Konversation terminated!]
Zai00 has joined #ruby
Menorah has joined #ruby
rkalfane has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
sandelius has joined #ruby
bronson has joined #ruby
anaeem1__ has joined #ruby
blackmesa has joined #ruby
mistergibson has quit [Quit: Quitting ... be good to each other :)]
philwantsfish has quit []
<av_a_word> any help would be appreciated :-)
banister has joined #ruby
banister has quit [Max SendQ exceeded]
bluOxigen has quit [Ping timeout: 240 seconds]
anaeem1_ has quit [Ping timeout: 250 seconds]
shuber_ has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
banister has joined #ruby
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has quit [Max SendQ exceeded]
<crome> I don't think I understand what exactly you are trying to do
<crome> you have an IP address, what do you want with the subnet?
msgodf has joined #ruby
msgodf has quit [Read error: Connection reset by peer]
msgodf has joined #ruby
timonv_ has joined #ruby
<av_a_word> i want to allow keyboard interaction for an ip followed by a subnet mask to then set it on that machine base don the input
<av_a_word> crome: valid input would 1.2.3.4/32
shuber_ has quit [Ping timeout: 244 seconds]
<av_a_word> crome: or 2.3.4.5/29
banister has joined #ruby
<av_a_word> a workaround would be to ask for the mask seperatly but id preferit asked at the same time
valeriansaliou has quit [Quit: Be back later ...]
<Xeago> so what is the problem av_a_word?
<crome> in that case the easiest way is to use your own regex instead of the one in Resolv
pkrzywicki is now known as noname001
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Xeago> > require 'resolv'; Resolv::IPv4::Regex
<Xeago> >> require 'resolv'; Resolv::IPv4::Regex
<eval-in__> Xeago => /\A((?x-mi:0 ... (https://eval.in/239415)
ptrrr has quit [Quit: ptrrr]
<Xeago> Can't you simply take that regex and append to it?
<crome> depends on the regex, it may be possible
timonv_ has quit [Ping timeout: 240 seconds]
DadoCe has joined #ruby
<Xeago> or else just use it as a template for yourself
<Xeago> I'm not sure what \z matches
Stichoza has quit [Quit: Lingo: www.lingoirc.com]
<Xeago> can we please ban cirnetus? he is private messaging spam
<av_a_word> currently im using http://paste.ee/p/gNUcR
bronson has quit [Remote host closed the connection]
<Xeago> why not just split at /, validate the first part with that regex, and verify the second part is 0...32
kiyote23 has joined #ruby
<av_a_word> Xeago: indeed i could do that. I was seeing if there was a module that did both ip and subnet
silkfox has joined #ruby
<Xeago> or just rip the regex out of Resolv::IPv4::Regex and add \/\d{1,2} or something alike
<Xeago> \d\d? might work too
tlarevo has quit [Ping timeout: 256 seconds]
<av_a_word> ok thanks
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
<apeiros_> >> require 'ipaddr'; addr = IPAddr.new('192.168.0.0/24'); addr.include?('192.168.0.1')
<eval-in__> apeiros_ => true (https://eval.in/239416)
<apeiros_> ^ av_a_word
bashusr has quit [Read error: Connection reset by peer]
adriancb has joined #ruby
giuseppesolinas has joined #ruby
<apeiros_> oh, maybe I misunderstood
echevemaster has joined #ruby
narph has joined #ruby
<av_a_word> aspiers: The user will input the ip and subnet mask
Hobogrammer has joined #ruby
<av_a_word> aspiers: ruby only knows the ip when its told
dkb20k has joined #ruby
<apeiros_> wrong tab completion av_a_word ;-)
<aspiers> that's not the first time that happened ...
vyorkin has quit [Ping timeout: 244 seconds]
Mia has quit [Read error: Connection reset by peer]
SixiS has quit [Quit: SixiS]
havenwood has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
Flcn____ has joined #ruby
<av_a_word> typing fail
msgodf has quit [Ping timeout: 240 seconds]
nux443 has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
devoldmx has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
nux443 has joined #ruby
tlarevo has joined #ruby
dkb20k has quit [Ping timeout: 265 seconds]
shotgundebugging has joined #ruby
Trep has joined #ruby
sinkensabe has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
rbennacer has joined #ruby
<rbennacer> hello
iamjarvo has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
<rbennacer> how can i have an expection in rspec to have an array of integers
<Cat_1> expectation? or exception?
<rbennacer> expectation in Rspec
<kl> expect(something).to eq [1, 2, 3] # ?
<rbennacer> mmm i dont knwo the integers though
<rbennacer> it could be any other class
<rbennacer> too
towski_ has quit [Remote host closed the connection]
<kl> you don't know the integers? sounds like you don't have much control over your tests
<rbennacer> expect(soemthing).to eq [Fixnum,Fixnum]
<rbennacer> soemthing liek this
shotgundebugging has quit [Client Quit]
riscky has quit [Quit: riscky]
<jhass> expect(x.all? {|i| i.is_a? Integer }).to be_true, or yet better write a custom matcher (it's quite easy)
<Cat_1> You'll probably want to mock or stub
<kl> I don't know the answer to that - but I think suggesting you obtain better control over your system under test to actually *know* what integers you expect, is the best answer you'll get.
Techguy305 has quit [Ping timeout: 244 seconds]
jmdade has quit [Quit: Textual IRC Client: www.textualapp.com]
AndyBotwin has quit [Quit: Leaving]
Xeago has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
Xeago has joined #ruby
<rbennacer> jhass: let em try that
hrs has joined #ruby
Nameo0 has quit [Ping timeout: 245 seconds]
giuseppesolinas has joined #ruby
kiyote23 has quit [Ping timeout: 240 seconds]
it0a has quit [Ping timeout: 244 seconds]
oleo has quit [Quit: Verlassend]
poguez has quit [Quit: Connection closed for inactivity]
bashusr has joined #ruby
Xeago has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
lolmaus_ has quit [Quit: Konversation terminated!]
lolmaus_ has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
<rbennacer> it works like a charm thanks jhass
oleo has joined #ruby
riscky has joined #ruby
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jokke has quit [Quit: ninja vanish]
it0a has joined #ruby
<Dolphi> Does anybody know of any online meeting places for programmers for Skype or something? You know, where they meet up every week and use voice chat or webcams to discuss ideas or work together on projects?
jokke has joined #ruby
dfinninger has joined #ruby
timonv_ has joined #ruby
<Cat_1> If only there were a place that allowed you to communicate with others by a simple topic...like, I dunno, #<programming language name> or something...it can be like...internet...<something> chat...
<Cat_1> If you are working on a project with someone use ScreenHero/HipChat/etc
kiyote23 has joined #ruby
hrs has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<Dolphi> Cat_1, Internet Relay Chat? Was that supposed to be a joke?
<Cat_1> Yup :)
timonv_ has quit [Remote host closed the connection]
<Cat_1> The more serious answer was below
dfinninger has quit [Ping timeout: 244 seconds]
<Cat_1> There's no real place where programmers just "hang out" to meet
<Cat_1> except IRC
<Cat_1> but if you want to pair with someone you meet in IRC
<Cat_1> ScreenHero/HipChat/Google Hangouts would be my best option
slawrence00 has joined #ruby
<crome> voip things don't really work when there are loads of people trying to speak
<Dolphi> Cat_1, I want someone to help me learn the basics of game programming with Gosu. I want to make a 2d rpg but I plan on working my way up by making pong and/or mario first
it0a has quit [Ping timeout: 255 seconds]
hrs has joined #ruby
<Dolphi> What channels should I lurk on? I'm new to this whole IRC thing.
josephndenton has joined #ruby
jherbst has joined #ruby
shredding has quit [Quit: shredding]
it0a has joined #ruby
diegoviola has joined #ruby
herrecito has joined #ruby
herrecito has quit [Client Quit]
wallerdev has joined #ruby
<Cat_1> I don't know, since you can name channels anything you want...you'll have to find online communities built around Gosu
<Cat_1> this is #ruby, so I can't advise you on that :)
kasperti_ has quit []
sankaber has joined #ruby
av_a_word has quit [Quit: Lost terminal]
Joufflu has quit [Read error: Connection reset by peer]
keen__________22 has quit [Read error: Connection reset by peer]
bufferloss has joined #ruby
<wasamasa> Dolphi: you know, I suspect people learn by actually doing what they're supposed to do
Sabastiaan has joined #ruby
<wasamasa> Dolphi: and doing this over and over and over again
DadoCe has quit [Remote host closed the connection]
keen__________22 has joined #ruby
nicolastarzia has quit [Remote host closed the connection]
mary5030 has joined #ruby
<shevy> wasamasa like self-sex!
<wasamasa> shevy: that's a pretty sobering thought
rbennacer has quit [Remote host closed the connection]
<shevy> Dolphi try at #gosu but you should first have a good basic knowledge of ruby really
<shevy> so wasamasa's phrase is right... doing it over and over and over again... write code code code
bashusr has quit [Read error: Connection reset by peer]
<shevy> your brain is like a self-learning pattern machine
<wasamasa> well, some reinforcement would be good
<wasamasa> like, figuring out what went bad and what went good
mquin has joined #ruby
DadoCe has joined #ruby
_ixti_ is now known as ixti
lampd1 has joined #ruby
<waxjar> exercism is nice for that, tho sometimes its hard getting feedback
<wasamasa> games are pretty excellent at this thing, the feedback and reinforcement
<wasamasa> ok, except the crappy ones, but you don't play these anyways, do you
kiyote23 has quit [Remote host closed the connection]
<wasamasa> too bad you can't really turn programming into a meaningful game
<wasamasa> especially not programming games
naftilos76 has joined #ruby
<Cat_1> codecombat!
<wasamasa> :|
veduardo has joined #ruby
<Cat_1> seriously, codecombat
naftilos76 has quit [Remote host closed the connection]
sinkensabe has joined #ruby
nicolastarzia has joined #ruby
bronson has joined #ruby
sinkensabe has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 265 seconds]
adriancb has quit [Remote host closed the connection]
sinkensabe has joined #ruby
<Dolphi> shevy, I understand that I need to get the fundamentals down, but what should I be building once I know those things? I can print strings. I can store variables. I can solve equations. I understand basic hashes. What else is there to know about the basics? I feel like its time to start building something, but I have no idea what to build.
oleo has quit [Ping timeout: 265 seconds]
<wasamasa> get a canvas going and use it to display static stuff first
bashusr has joined #ruby
<shevy> Dolphi ok; well have you worked with arrays and hashes? know how you can store and retrieve values from these?
<wasamasa> then, add some animations
it0a has quit [Ping timeout: 264 seconds]
<wasamasa> that alone can yield pretty cool stuff without even the use of bitmaps
<waxjar> maybe an old school text-game?
<Dolphi> Yes, with tryruby.org.
<Dolphi> waxjar, I've already built a simple text adventure in Java when I first took up programming a few weeks ago.
<crome> build a better one
<Dolphi> crome, True..Good idea.
<Dolphi> crome, Maybe that will be my first real ruby project.
<waxjar> a snake clone?
<wasamasa> turn it into a proper game loop, add some interactive elements
diegoviola has quit [Read error: Connection reset by peer]
<wasamasa> and you have a hipster game going on!
<Dolphi> crome, Maybe I can even learn how to incorporate graphics to enhance the text adventure.
<waxjar> a multiplayer snake clone?
phutchins has quit [Ping timeout: 240 seconds]
<Dolphi> Well thanks for all of the advice so far guys. Its hard out here for a newbie, when I'm tryna make a game with this Ruby.
jenrzzz has quit [Ping timeout: 264 seconds]
veduardo has quit [Ping timeout: 265 seconds]
kiyote23 has joined #ruby
kiyote23 has quit [Remote host closed the connection]
dh64 has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby
<shevy> \o/
Spami has joined #ruby
Martxel has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Dolphi> shevy, How do I join #gosu? I'm using HexChat. I don't know how to create a new channel.
justicefries has joined #ruby
<Dolphi> shevy, Nevermind, I got it.
Sabastiaan has quit [Quit: Ex-Chat]
bufferloss has left #ruby ["Leaving"]
Xeago has joined #ruby
bashusr has joined #ruby
kiyote23 has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby
diegoviola has joined #ruby
codecop has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
Dolphi_ has joined #ruby
diegoviola has quit [Client Quit]
cirnetus has quit [K-Lined]
freerobby has joined #ruby
ohaibbq has quit [Remote host closed the connection]
<Dolphi_> shevy, Actualy, I did not figure it out. How can I add another tab for with #gosu in it so that I can talk game dev there and still keep this one open?
Dolphi_ has left #ruby [#ruby]
rbennacer has joined #ruby
<waxjar> most clients have a /join #channel command
<shevy> Dolphi at where you type commands, a leading / can be used to type commands like /join or /j should also work I think
<rbennacer> shevy what is the best resource to go form intermediate to expert in ruby?
<Dolphi> waxjar, Sorry for the stupid question. I was looking in the main HexChat menu. The option is under the Server menu.
<shevy> rbennacer not sure there are many resources really... you kinda need to write ruby code, and if you need help ask on IRC, the ruby forum or stackoverflow
jenrzzz has joined #ruby
baltazore has quit [Remote host closed the connection]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
kiyote23 has quit [Ping timeout: 240 seconds]
<rbennacer> i am trying to finish rubymonk
<rbennacer> is it super cool
<rbennacer> it will help me in my way to enlightenment
<rbennacer> hehe
diegoviola has joined #ruby
zenspider has quit [Quit: bye]
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
teddyp1cker has joined #ruby
jsaak has joined #ruby
<rbennacer> is it possible to use define_method for a class method?
phutchins has joined #ruby
<rbennacer> something like define_method("self.hello")
philwantsfish has joined #ruby
<waxjar> you can open the singleton class and use #define_method (class String; class << self; ...) or use #define_singleton_method (String.define_single...)
rbennacer has quit [Remote host closed the connection]
Pupeno_ has joined #ruby
lemur has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
teddyp1cker has quit [Ping timeout: 255 seconds]
SparkMasterTape has quit [Read error: Connection reset by peer]
Pupeno has quit [Ping timeout: 240 seconds]
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
jonathanwallace has joined #ruby
Kilo`byte has quit [Read error: Connection reset by peer]
justicefries has quit [Remote host closed the connection]
jmaya has joined #ruby
Guest74867 has joined #ruby
zenspider has joined #ruby
_chs_ has quit [Ping timeout: 240 seconds]
jakery has quit [Ping timeout: 240 seconds]
banister has quit [Ping timeout: 240 seconds]
rcs has quit [Ping timeout: 240 seconds]
byprdct has quit [Ping timeout: 240 seconds]
Guest74867 is now known as _chs_
_chs_ is now known as Guest65496
rcs has joined #ruby
rbennacer has joined #ruby
towski_ has joined #ruby
rbennacer has quit [Remote host closed the connection]
<bl4ckdu5t> How can I count the number of occurence of an item in an array?
towski_ has quit [Remote host closed the connection]
<bl4ckdu5t> [2,3,3,6,7,3,5]
<havenwood> >> [1, 42, 2, 42].count 42
<eval-in__> havenwood => 2 (https://eval.in/239418)
ev has joined #ruby
<bl4ckdu5t> so smooth. Thanks
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmaya has quit [Ping timeout: 265 seconds]
timonv_ has joined #ruby
Pupeno_ has quit [Remote host closed the connection]
shuber_ has joined #ruby
fryguy9 has joined #ruby
livingstn has joined #ruby
<bl4ckdu5t> havenwood: how about removing every repetitions from the array and keeping one occurence
Pupeno has joined #ruby
fryguy9 has quit [Client Quit]
ohaibbq has joined #ruby
<shevy> bl4ckdu5t perhaps .uniq
<shevy> >> [1, 42, 2, 42].uniq
<eval-in__> shevy => [1, 42, 2] (https://eval.in/239419)
<bl4ckdu5t> ok
apurcell has joined #ruby
doodlehaus has joined #ruby
fryguy9 has joined #ruby
shuber_ has quit [Remote host closed the connection]
rbennacer has joined #ruby
<rbennacer> waxmajo not sure to understand
<rbennacer> waxjar not sure to understand
fryguy9 has quit [Client Quit]
<rbennacer> why can't i do it like this define_method("self.hello")
TheTopBloke has quit [Ping timeout: 244 seconds]
sinkensabe has quit [Remote host closed the connection]
<havenwood> >> class Example; class << self; define_method(:ok, ->{ 'yup' }) end end; Example.ok
<eval-in__> havenwood => "yup" (https://eval.in/239420)
<shevy> I have an array with all keywords in ruby
<shevy> RUBY_KEYWORDS = %w( alias and BEGIN begin break case class def defined
<havenwood> rbennacer: ^ example
<shevy> and so forth. does anyone know of an inbuilt way to obtain these?
<havenwood> shevy: hmmm
TheTopBloke has joined #ruby
RareBlackMagic has quit [Quit: Fell Asleep]
apurcell has quit [Ping timeout: 250 seconds]
Channel6 has quit [Quit: Leaving]
valeriansaliou has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
<apeiros_> rbennacer: you can, but then the method name will be "self.hello", which can be called from ruby without the use of __send__
marr has joined #ruby
Flcn____ has quit [Quit: Be back later ...]
rbennacer has quit [Remote host closed the connection]
iamninja has quit [Quit: ZZZzzz…]
luriv has quit [Quit: Leaving]
valeriansaliou has quit [Ping timeout: 244 seconds]
timonv_ has quit [Ping timeout: 256 seconds]
sevvie has quit [Read error: Connection reset by peer]
sevvie has joined #ruby
jottr_ has quit [Ping timeout: 244 seconds]
Crazy_Atheist has quit [Ping timeout: 265 seconds]
hanjianwei has joined #ruby
sevvie has quit [Read error: Connection reset by peer]
whomp has joined #ruby
braincra- has left #ruby [#ruby]
postmodern has joined #ruby
lw has joined #ruby
sevvie has joined #ruby
dkb20k has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
chrishough has joined #ruby
rbennacer has joined #ruby
davedev2_ has joined #ruby
Guest65541 has quit [Quit: Sto andando via]
Crazy_Atheist has joined #ruby
braincrash has joined #ruby
Soda has quit [Remote host closed the connection]
AndyBotwin has joined #ruby
AndyBotwin has joined #ruby
dkb20k has quit [Ping timeout: 244 seconds]
davedev24_ has quit [Ping timeout: 245 seconds]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
Techguy305 has joined #ruby
LouisRoR has quit [Ping timeout: 240 seconds]
shuber_ has joined #ruby
bronson has joined #ruby
ta_ has joined #ruby
<bl4ckdu5t> I need help with a logic https://gist.github.com/bl4ckdu5t/fe445701513a186bb43f
kiyote23 has joined #ruby
<bl4ckdu5t> been trying to wrap my head around it but can't figure it out
<bl4ckdu5t> I need to get percentage of presence per month
<rbennacer> apeiros: how would i add an predefined argument like page=1 to the function i create with define_method
<rbennacer> i dont knwo if it is clear
Xeago has quit [Remote host closed the connection]
<lampd1> anyone used PDFKit with Middleman?
segfalt has joined #ruby
<bl4ckdu5t> I'll like to finally have an array like [['November','80%'],['December','100%'],['January','100%']
bronson has quit [Ping timeout: 244 seconds]
<bl4ckdu5t> ]
ta_ has quit [Ping timeout: 265 seconds]
whomp has quit [Ping timeout: 265 seconds]
mengu has quit [Remote host closed the connection]
wolf4ood has joined #ruby
mengu has joined #ruby
ta_ has joined #ruby
scottyob_ is now known as scottyob
shuber_ has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
dseitz has joined #ruby
mengu has quit [Ping timeout: 240 seconds]
Crazy_Atheist has quit [Ping timeout: 244 seconds]
ta_ has quit [Ping timeout: 244 seconds]
ta_ has joined #ruby
nux443 has quit [Ping timeout: 240 seconds]
dh64 has quit [Quit: Konversation terminated!]
<Cat_1> bl4ckdu5t, I have a few suggestions
nux443 has joined #ruby
<Cat_1> Do you want me to comment on your gist?
Griff`Ron has joined #ruby
<bl4ckdu5t> yes
<bl4ckdu5t> I don't mind
ta_ has quit [Ping timeout: 265 seconds]
<bl4ckdu5t> Cat_1: ^
jenrzzz has quit [Ping timeout: 245 seconds]
kiyote23 has quit [Ping timeout: 244 seconds]
Dolphi has quit [Ping timeout: 244 seconds]
<Cat_1> I commented on your gist
sevvie has quit [Read error: Connection reset by peer]
Pupeno_ has joined #ruby
marjinal1st has joined #ruby