apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
sevvie has quit [Quit: leaving]
InfraRuby has joined #ruby
fgo has joined #ruby
robscormack has quit [Quit: Leaving]
felgenh3 has quit [Quit: felgenh3]
user___ has joined #ruby
zz_anildigital is now known as anildigital
user___ has quit [Changing host]
user___ has joined #ruby
user___ is now known as icarus
tylerkern has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
w09x has joined #ruby
bbloom has quit [Quit: Computer has gone to sleep.]
marr has quit [Ping timeout: 240 seconds]
chipotle has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
redlegion has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
asdasdasdasss has quit [Ping timeout: 240 seconds]
sepp2k1 has joined #ruby
redlegion has joined #ruby
diegoviola has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
sepp2k has quit [Ping timeout: 272 seconds]
Xeago has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
ecksit has joined #ruby
anildigital is now known as zz_anildigital
bbloom_ has joined #ruby
oo_ has joined #ruby
nateberkopec has joined #ruby
momomomomo has joined #ruby
jayunit100 has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
felgenh3 has joined #ruby
s2013 has joined #ruby
<s2013> does httparty have limit on # of requests it can make per sec?
<CuriousMind> Hi everyone.
<CuriousMind> I'm Noob101.
r0hit has quit [Quit: Leaving]
davispuh has quit [Ping timeout: 246 seconds]
buto has quit [Quit: Textual IRC Client: www.textualapp.com]
<godd2> I have a thread that I want to start back up after it has stopped, but I'm running #run earlier than the thread gets to its Thread.stop
SilkFox_ has joined #ruby
<godd2> Is there a way to tell if the thread has gotten to a certain point?
ddv has quit [Ping timeout: 260 seconds]
felgenh3 has left #ruby [#ruby]
ddv has joined #ruby
<godd2> Or do I just need to do `until th.status.eql? "sleep"` ?
brianherman has quit [Read error: Connection reset by peer]
ghr has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
britneywright has joined #ruby
Sauvin has quit [Remote host closed the connection]
CodeBunny has joined #ruby
philcrissman has joined #ruby
godd2 has quit [Ping timeout: 240 seconds]
CodeBunny has quit [Client Quit]
dc_ has joined #ruby
godd2 has joined #ruby
diegoviola has joined #ruby
TorpedoSkyline has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
gregf has quit [Quit: WeeChat 0.4.3]
funburn has quit [Quit: funburn]
philcrissman has quit [Ping timeout: 244 seconds]
wjimenez5271 has joined #ruby
nateberkopec has quit [Quit: Leaving...]
kenneth has quit [Quit: Bye.]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: i've nodded off.]
<CuriousMind> godd2: Hi!
wjimenez5271 has quit [Read error: Connection reset by peer]
wjimenez5271 has joined #ruby
bbloom_ has quit [Quit: Computer has gone to sleep.]
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
autonomousdev has joined #ruby
elaptics is now known as elaptics`away
wjimenez5271 has quit [Read error: Connection reset by peer]
bbloom has joined #ruby
wjimenez5271 has joined #ruby
chipotle has quit [Quit: cya]
<shevy> godd2 Thread.current.status
Shidash has quit [Ping timeout: 240 seconds]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> further class methods are: Thread.exit Thread.kill Thread.pass Thread.start Thread.stop
<shevy> .alive? also exists
kachi8 has quit [Remote host closed the connection]
bricker`LA has joined #ruby
msmith has joined #ruby
Shidash has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
InfraRuby has left #ruby [#ruby]
t0rc has quit [Quit: WeeChat 0.4.3]
freerobby has joined #ruby
krisquigley has quit [Remote host closed the connection]
msmith has quit [Ping timeout: 250 seconds]
armyriad has joined #ruby
charliesome has joined #ruby
charliesome has quit [Client Quit]
phoo1234567 has quit [Quit: Leaving]
bbloom has quit [Quit: Computer has gone to sleep.]
oo_ has quit [Remote host closed the connection]
armyriad has quit [Client Quit]
fgo has joined #ruby
armyriad has joined #ruby
jinie has quit [Ping timeout: 260 seconds]
Lexun has joined #ruby
Lexun has quit [Client Quit]
mr_snowf1ake has joined #ruby
jinie has joined #ruby
asdasdasdasss has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
chipotle has joined #ruby
kriskrop1 has joined #ruby
kriskrop1 has quit [Client Quit]
asdasdasdasss has quit [Ping timeout: 260 seconds]
kriskrop1 has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kriskropd has quit [Ping timeout: 244 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
benlieb has quit [Quit: benlieb]
Ankhers has joined #ruby
dingus_khan has joined #ruby
axsuul has joined #ruby
dingus_khan has quit [Remote host closed the connection]
kriskrop1 has quit [Ping timeout: 260 seconds]
wjimenez5271 has quit [Ping timeout: 246 seconds]
dingus_khan has joined #ruby
kriskropd has joined #ruby
axsuul has quit [Ping timeout: 245 seconds]
nat2610 has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
funburn has joined #ruby
dingus_khan has quit [Ping timeout: 255 seconds]
wald0 has quit [Ping timeout: 260 seconds]
glebm has quit [Quit: Textual IRC Client: www.textualapp.com]
SilkFox_ has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
icarus has quit [Remote host closed the connection]
kireevco has left #ruby [#ruby]
tectonic has quit []
vsoftoiletpaper has quit []
TheNet has quit [Quit: Leaving...]
lanox has joined #ruby
robustus has quit [Ping timeout: 250 seconds]
moted has joined #ruby
nateberkopec has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
eyeamaye has joined #ruby
robustus has joined #ruby
TorpedoSkyline has joined #ruby
dc_ has quit [Remote host closed the connection]
nateberkopec has quit [Ping timeout: 240 seconds]
lw has joined #ruby
xcv has quit [Remote host closed the connection]
AlSquire has quit [Quit: This computer has gone to sleep]
davedev2_ has joined #ruby
wjimenez5271 has joined #ruby
aleatorik has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
emmesswhy has joined #ruby
moted has quit [Ping timeout: 245 seconds]
charles81____ is now known as charles81
tectonic has joined #ruby
davedev24_ has quit [Ping timeout: 264 seconds]
cesurasean has joined #ruby
aspires has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kyb3r_ has quit [Read error: Connection reset by peer]
aspires has quit []
thomasxie has joined #ruby
aspires has joined #ruby
SilkFox_ has joined #ruby
pen has quit []
fgo has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
wjimenez5271 has quit [Remote host closed the connection]
asdasdasdasss has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
Xaitec has joined #ruby
Xaitec has quit [Read error: Connection reset by peer]
Xaitec has joined #ruby
aspires has quit []
Alina-malina has quit [Ping timeout: 272 seconds]
codebrah has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mercwithamouth has quit [Ping timeout: 260 seconds]
Xaitec has left #ruby [#ruby]
aspires has joined #ruby
asdasdasdasss has quit [Ping timeout: 250 seconds]
vsoftoiletpaper has joined #ruby
aspires has quit [Client Quit]
Alina-malina has joined #ruby
philcrissman has joined #ruby
aspires has joined #ruby
funburn has quit [Quit: funburn]
momomomomo has quit [Quit: momomomomo]
eyeamaye has quit [Quit: Leaving.]
havenwood has joined #ruby
aspires has quit [Client Quit]
philcrissman has quit [Ping timeout: 272 seconds]
<godd2> Does a thread start running as soon as the block for Thread.new is closed?
codebrah has quit [Quit: Computer has gone to sleep.]
<jamesfordummies> what do you mean by closed?
<jamesfordummies> closed as in with 'end' or '}'?
<jamesfordummies> godd2:
<godd2> yes. And I found out it does immediately get scheduled
ecksit has quit [Quit: Textual IRC Client: www.textualapp.com]
<jamesfordummies> yeah i imagine once the thread object is created it begins execution
<ari-_-e> godd2: what you actually mean is does it start as soon as Thread.new returns
<havenwood> unless it's a very bad Thread and wanders off in search of frozen yogurt first
balazs has joined #ruby
<havenwood> up to the system scheduler
<godd2> thanks ari-_-e I'll keep that vocab in mind.
ghr has joined #ruby
<godd2> havenwood I guess I should say it's up for immediate scheduling
<havenwood> aye
<godd2> (even if it doesn't actually get scheduled)
Alina-malina has quit [Ping timeout: 240 seconds]
fold has joined #ruby
nateberkopec has joined #ruby
TorpedoSkyline has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
dc_ has joined #ruby
goshdarnyou has joined #ruby
aspires has joined #ruby
<havenwood> thread
phinfonet has quit []
Sauvin has joined #ruby
dc_ has quit [Remote host closed the connection]
aspires has quit [Client Quit]
InhalingPixels has quit []
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
Alina-malina has joined #ruby
dc_ has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
gregf has joined #ruby
<havenwood> didn't mean to input that here >.>
<jamesfordummies> THREAD!
eyeamaye1 has joined #ruby
<havenwood> higher level concurrency construct!
Emmanuel_Chanel has quit [Ping timeout: 255 seconds]
dbasch_ has joined #ruby
dbasch_ has quit [Client Quit]
nateberkopec has quit [Ping timeout: 240 seconds]
kaspergrubbe_ has joined #ruby
<havenwood> "1) add more abstract concurrency e.g. actors 2) add warning when using threads directly 3) then remove GIL" ~Matz
Spacecloud is now known as pipework
nat2610 has quit [Quit: Leaving.]
<havenwood> ^ Aug 1 "vague plan for Ruby GIL"
tectonic has quit []
<jamesfordummies> does ruby have a GIL havenwood?
<havenwood> jamesfordummies: CRuby does indeed.
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jamesfordummies> interesting
<havenwood> jamesfordummies: as do MagLev and Topaz
<jamesfordummies> i am concurrency novice
<eam> I wish ruby played nicer with fork
<havenwood> jamesfordummies: JRuby and Rubinius are GILless
davedev24_ has joined #ruby
<havenwood> eam: in what way?
<centrx> If forks are forks, are threads sporks?
<eam> lots of gems around with shared state cleanup in the finalizer
<havenwood> ah
kireevco has quit [Quit: Leaving.]
<eam> descriptor manip seems to be the common gotcha
<havenwood> jamesfordummies: CRuby GIL could be removed right now but a lot of c-exts would break.
<jamesfordummies> why is it "bad"?
<havenwood> jamesfordummies: *soon*
Photism has quit [Quit: Leaving]
kaspergrubbe_ has quit [Ping timeout: 245 seconds]
<havenwood> jamesfordummies: Why is the GIL bad?
<jamesfordummies> yes
davedev2_ has quit [Ping timeout: 260 seconds]
<centrx> jamesfordummies, It means threads are not concurrent in the CPU. So the threads are only basically concurrent and useful for waiting for I/O such as network, database, etc.
<havenwood> jamesfordummies: It disallows parallel execution when more than one Ruby thread requires the GVL to proceed.
<eam> all the people who do math in ruby are real bummed out </mild sarcasm>
<havenwood> jamesfordummies: They can still run concurrently, in the sense that they schedule intermittently, but they can't run in parallel.
lw has quit [Quit: s]
<jamesfordummies> i see
<jamesfordummies> that really sucks
<havenwood> jamesfordummies: *when* they both require the GVL at once
<havenwood> jamesfordummies: which in many circumstances doesn't happen
<havenwood> jamesfordummies: but when it does...
<jamesfordummies> when wouldnt they both require it??
<centrx> jamesfordummies, It only affects CPU-intensive apps. Other kinds of apps are always waiting around for network I/O, disk I/O, database, etc.
<havenwood> jamesfordummies: not every bit of Ruby code must aquire the GVL
InfraRuby has joined #ruby
<havenwood> jamesfordummies: what centrx said^
<eam> the general rule is that applications are always i/o bound
crypwolf has joined #ruby
<havenwood> jamesfordummies: and c-ext don't have to aquire it, Ruby is actually pretty smart about it
<eam> there are few exceptions, and those exception cases are rarely written in a language like ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> jamesfordummies: when Ruby has Agents or Actors and Threads get a warning they can pull the trigger and just drop the GVL
<havenwood> jamesfordummies: Think Ruby 3.
lw has joined #ruby
<jamesfordummies> hmm. give me a second to work this out.
crypwolf has quit [Client Quit]
<havenwood> jamesfordummies: some good reading on the subject (5-part thingy): http://www.jstorimer.com/blogs/workingwithcode/8085491-nobody-understands-the-gil
<jamesfordummies> reading
centrx has quit [Quit: Mead error: Connection reset by beer]
krz has joined #ruby
davedev2_ has joined #ruby
<jamesfordummies> havenwood: so the idea is to remove the GVL but make it safer and easier to use threading operations - so it will be easy for the user to avoid these troubles
<jamesfordummies> ?
centrx has joined #ruby
<jamesfordummies> wow. so fascinating
<havenwood> jamesfordummies: right. provide something better than threads. warn when threads are used. drop the GVL.
funburn has joined #ruby
<jamesfordummies> i never really used threads extensively in ruby
davedev24_ has quit [Ping timeout: 246 seconds]
eyeamaye1 has quit [Quit: Leaving.]
kriskropd has quit [Quit: leaving]
<jamesfordummies> havenwood: and this is planned for ruby 3?
eyeamaye has joined #ruby
<havenwood> jamesfordummies: There are nice gems like Celluloid and concurrent-ruby for now.
<postmodern> what is the current best way to define git style subcommands?
<centrx> and JRuby
<centrx> postmodern, Thor, no?
<jamesfordummies> postmodern: like what?
<jamesfordummies> or commandor
<jamesfordummies> commander*
<postmodern> centrx, problem with Thor is it doesn't do POSIX style option parsing
<postmodern> centrx, also all their sub-commands must be defined as methods within a class
<jamesfordummies> ?
<postmodern> centrx, so you can't spread sub-commands across multiple gems
<postmodern> jamesfordummies, can you define sub-commands across multiple files?
<centrx> Norse gods letting me down again
<postmodern> jamesfordummies, and multiple gems
<havenwood> jamesfordummies: Matz gave a little talk recently that touches on future plans: https://www.youtube.com/watch?v=CPoZJoHtuZ8
<postmodern> jamesfordummies, i feel like i need something that scans ENV['PATH'] and loads the sub-command
<postmodern> jamesfordummies, or scans rubygems for the appropriate command file
<jamesfordummies> ahh so much of my name
bmurt has joined #ruby
lw has quit [Quit: s]
fgo has joined #ruby
<jamesfordummies> havenwood: awesome thanks
<jamesfordummies> postmodern: hm not really sure to be honest. never tried
abuzze_ has joined #ruby
Cache_Money has joined #ruby
TorpedoSkyline has joined #ruby
Cache_Money has quit [Client Quit]
Cache_Money has joined #ruby
braincrash has quit [Quit: bye bye]
kriskropd has joined #ruby
abuzze has quit [Ping timeout: 255 seconds]
fgo has quit [Ping timeout: 240 seconds]
<pipework> havenwood: I made chums with the australian CEO guy of ninefold.
<pipework> Their name keeps popping up.
asdasdasdasss has joined #ruby
braincrash has joined #ruby
Pharaoh2 has quit [Ping timeout: 260 seconds]
amystephen has quit [Quit: amystephen]
DEA7TH has quit [Remote host closed the connection]
asdasdasdasss has quit [Ping timeout: 250 seconds]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sputnik13 has joined #ruby
Tricon has joined #ruby
eebee has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
dc_ has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
sputnik13 has quit [Ping timeout: 255 seconds]
eka has joined #ruby
ValicekB has quit [Ping timeout: 240 seconds]
centrx has quit [Quit: Mead error: Connection reset by beer]
xcm has joined #ruby
ghr has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
nateberkopec has joined #ruby
razum2um has joined #ruby
kireevco has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
GinoMan has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
kyb3r_ has joined #ruby
vjanicek has joined #ruby
<vjanicek> hey there ppl, what is the equivalent in ruby for Python's if 'x' in 'xyz': do_something()?
<ari-_-e> vjanicek: String#include?
<vjanicek> ari-_-e, let me see...
<ari-_-e> (the ? is part of the method name)
<havenwood> vjanicek: e.g.: do_something if 'xyz'.include? 'x'
bmurt has quit []
ValicekB has joined #ruby
<vjanicek> ari-_-e, havenwood yes! thanks a lot
vjanicek has quit [Client Quit]
kenneth has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
kenneth_ has joined #ruby
havenwood has quit []
funburn has quit [Quit: funburn]
thomasxie has quit [Quit: Leaving.]
ValicekB has quit [Ping timeout: 240 seconds]
thomasxie has joined #ruby
amystephen has joined #ruby
razum2um has quit [Quit: Leaving.]
xcm has quit [Remote host closed the connection]
Hobogrammer has quit [Quit: さようなら]
agarie has joined #ruby
MatthewsFace has quit [Ping timeout: 272 seconds]
ValicekB has joined #ruby
eebee has quit [Ping timeout: 245 seconds]
arup_r has joined #ruby
ferr has joined #ruby
krz has quit [Ping timeout: 240 seconds]
sayem has joined #ruby
wclifford has joined #ruby
amystephen has quit [Quit: amystephen]
wclifford has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
coderhs has joined #ruby
sayem has quit [Remote host closed the connection]
icebourg has joined #ruby
dingus_khan has joined #ruby
kireevco has quit [Quit: Leaving.]
fgo has joined #ruby
jayunit100 has quit [Quit: jayunit100]
philcrissman has joined #ruby
newUser1234 has joined #ruby
Wolland_ is now known as Wolland
tectonic has joined #ruby
Pharaoh2 has joined #ruby
Cache_Money has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
asdasdasdasss has joined #ruby
philcrissman has quit [Ping timeout: 272 seconds]
pontiki has joined #ruby
asdasdasdasss has quit [Ping timeout: 240 seconds]
dpbus has joined #ruby
benlieb has joined #ruby
axsuul has joined #ruby
brandonshowers has joined #ruby
brandonshowers has quit [Max SendQ exceeded]
benlieb has quit [Read error: Connection reset by peer]
benlieb has joined #ruby
brandonshowers has joined #ruby
androbtech has joined #ruby
tectonic has quit []
sputnik13 has joined #ruby
nat2610 has joined #ruby
androbtech has quit [Quit: Textual IRC Client: www.textualapp.com]
axsuul has quit [Ping timeout: 255 seconds]
Pharaoh2 has quit [Read error: Connection reset by peer]
Pharaoh2_ has joined #ruby
[endel] has joined #ruby
infinitone has quit [Ping timeout: 260 seconds]
wjimenez5271 has joined #ruby
s2013 has quit [Ping timeout: 260 seconds]
sputnik13 has quit [Ping timeout: 240 seconds]
zettam has joined #ruby
hellangel7 has joined #ruby
darkness has joined #ruby
darknesshellange has joined #ruby
<zettam> Hello channel. I know there is a lot of this same discussion everywhere, but I want to ask here as well to get an up to date insigth.... Should I chose ruby over python?
darkness is now known as Guest71601
agarie has quit [Ping timeout: 246 seconds]
<zettam> I don't have much idea about rails or django, this will be my first dive into more serious programming
ghr has joined #ruby
<pontiki> does it really matter? :)
<Nowaker> zettam: to be really honest and objective, ruby is better than python, but not that much
<Nowaker> but when it comes to rails vs django, rails is way better
darknesshellange has quit [Max SendQ exceeded]
<charles81> They're both great languages but follow some different concepts.
<Nowaker> django is archaic
darknesshellange has joined #ruby
<zettam> Nowaker :)
nateberkopec has joined #ruby
<Nowaker> it's sad a framework like this is the most popular framework
<zettam> django is the most popular?
<charles81> ruby = many ways to do the same thing. can be easier for a lone programmer.
Hobogrammer has joined #ruby
<Nowaker> for example... using gettext for i18n, seriously? it's xxi century
<zettam> charles81, I'm not sure if I'll be able to find more than one ways to do a thing, at first. I'm comin from actionscrippt background, I know a little bit of csharp (for unity purposes) and that's mostly all about it
<zettam> ah and some JS of course
<Nowaker> zettam: yes, it is.
sambao21 has joined #ruby
<Nowaker> okay guys gotta go
<pontiki> huh, i would have thought drupal was the most popular framework
<benzrf> wordpress?
ghr has quit [Ping timeout: 245 seconds]
machete has quit [Ping timeout: 245 seconds]
<pontiki> maybe
<charles81> python = one way which can make it easier for multiple programmers working on code together or changing programmers since they should all be using roughly the same method to do something.
<ari-_-e> drupal and wordpress are php
<pontiki> and django is python
<pontiki> what's your point?
<ari-_-e> we weren't talking about php :)
<pontiki> someone mentioned "most popular"
<zettam> charles81, phyton definitely seems readable but if that's the only thing, I tink it's all about getting used to
machete has joined #ruby
<ari-_-e> I assumed "in python" was implied
<zettam> For some reason ruby feels like the users are more protective and more "into" it
nateberkopec has quit [Ping timeout: 240 seconds]
<[endel]> i think PHP is "comming back" in the next year
Tophats has quit [Remote host closed the connection]
<zettam> [endel], why do you think so
<zettam> it looks awful, I always hated that. Please don't lt it come back :3
wjimenez5271 has quit [Remote host closed the connection]
<[endel]> haha. It seems that a new version called PHPNG is way faster the last one.
wjimenez5271 has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<[endel]> the language itself have evolved a lot in these years, one thing that I've found awesome is the support of Traits http://php.net/trait
<jamesfordummies> as long as javascript dies a painful death i dont mind
<jamesfordummies> :P
fgo has joined #ruby
<zettam> Ok than here is the question, what do you tink about nodejs, compared to ruby and phyton?
<ari-_-e> [endel]: the problem with php isn't its speed
<zettam> As I mentioned, I'm looking for a language mainly for web apps.
<jamesfordummies> i think js is broken
<jamesfordummies> so making a server in it doesn't make sense to me
<onewheelskyward> wow, feel the love in here tonight.
<jamesfordummies> but others disagree and love javascript!
<jamesfordummies> :) so just try em out and pick what you like zettam
benzrf is now known as benzrf|offline
wjimenez5271 has quit [Ping timeout: 272 seconds]
benzrf|offline is now known as benzrf
<jamesfordummies> zettam: it's not about what we like - it's about what you like
<zettam> I have to taste to know what I like jamesfordummies, I'm just trying to have an insight as well. I will test both anyways (started already)
<zettam> also https://www.destroyallsoftware.com/talks/wat this makes me laugh every time jamesfordummies
<[endel]> zettam: perhaps you don't need a server-side language
Pharaoh2_ is now known as Pharaoh2
jxf has joined #ruby
sambao21 has quit [Ping timeout: 255 seconds]
zz_anildigital is now known as anildigital
anildigital is now known as zz_anildigital
wjimenez5271 has joined #ruby
JoshGlzBrk has joined #ruby
JoshGlzBrk has quit [Max SendQ exceeded]
JoshGlzBrk has joined #ruby
<[endel]> there is a bunch of 'no-backend' solutions, which is valid in the case you just want to build some kind of product or prototype http://nobackend.org/solutions.html
JoshGlzBrk has quit [Client Quit]
tectonic has joined #ruby
Cache_Money has quit [Remote host closed the connection]
zz_anildigital is now known as anildigital
JoshGlzBrk has joined #ruby
JBreit has joined #ruby
<jamesfordummies> but... then you have to use javascript...
<jamesfordummies> :P
<[endel]> haha jamesfordummies, unfortunatelly javascript is essential for any webapp :(
<jamesfordummies> it is a bleak world
<jamesfordummies> although there is a resistance - just made a small homepage in this http://elm-lang.org/
<jamesfordummies> but it's very far from a production level state, so we are stuck with js for now :P
SilkFox_ has joined #ruby
arup_r has quit [Ping timeout: 272 seconds]
Pharaoh2 has quit [Read error: Connection reset by peer]
<zettam> So, where should I start learning ruby?
<zettam> codeacademy was where I started, but I'm open to suggestions.
newUser1234 has quit [Remote host closed the connection]
InfraRuby has left #ruby [#ruby]
Apocalypse has joined #ruby
Pharaoh2 has joined #ruby
eyeamaye has quit [Quit: Leaving.]
vsoftoiletpaper has quit []
<jamesfordummies> i'm partial to Mislav's guide for beginners. my learning style was conducive to reading this *with an idea in mind*, and trying to implement that idea along the way - with the help of this book and stackoverflow. once I had repeated that a few times, I read eloquent ruby - then kept building things, then I read metaprogramming in ruby zettam
EvanR_ has quit [Read error: Connection reset by peer]
EvanR_ has joined #ruby
spicerack has joined #ruby
benzrf is now known as benzrf|offline
benzrf|offline is now known as benzrf
<zettam> jamesfordummies, so no interactive tutorials at first?
<zettam> I find interactive ones quite helpful but I'm sure they don't cover as much as the books.
<jamesfordummies> not really helpful for me zettam but http://tryruby.org/levels/1/challenges/0 and http://rubykoans.com/ are the ones I've done
<zettam> thank you jamesfordummies
dpbus has quit [Quit: Computer has gone to sleep.]
<jamesfordummies> zettam: are you also learning rails?
dpbus has joined #ruby
<zettam> jamesfordummies, that's my aim, should I start them at the same time
<zettam> I don't know mucuh abotu anything really, this will be my first serious dive into programming
<jamesfordummies> ah ok.
<jamesfordummies> if you want a better base IMO go with ruby first
<zettam> When I googled about webapps, it led me to phyton and ruby after a few days of searching/reading
<zettam> is rails too different?
<zettam> I always thought of it as like a library or somethin
<zettam> does it have to be learned seperately -
<zettam> because most places say it takes aroun 6 months for one to become good in ruby
<jamesfordummies> it's a framework... but it's an entire system on its own. I know people who have learned rails without formally using ruby. you do have to learn them separately but if you know the basics of ruby then rails will come much easier to you
<zettam> it seemed too much to me
robscormack has joined #ruby
<zettam> Jameser`, okay, I understand
hephaestus_rg has joined #ruby
<jamesfordummies> zettam: i personally think ruby is plenty fun & useful without rails :)
SilkFox_ has quit [Ping timeout: 240 seconds]
JoshGlzBrk has quit [Ping timeout: 240 seconds]
newUser1234 has joined #ruby
JoshGlzBrk has joined #ruby
brandonshowers has joined #ruby
asdasdasdasss has joined #ruby
<robscormack> it is indeed
dpbus has quit [Ping timeout: 272 seconds]
<robscormack> btw hi, humans
<zettam> any online sources for rails interactive-learning?
TieSoul has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
starkhalo has joined #ruby
Guest71601 has quit [Remote host closed the connection]
hellangel7 has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
darknesshellange has quit [Read error: Connection reset by peer]
JoshGlzBrk has quit [Ping timeout: 250 seconds]
asdasdasdasss has quit [Ping timeout: 240 seconds]
<jamesfordummies> interactive... it's a bit too big for that, but this is most ppls fav zettam http://www.railstutorial.org/book
<godd2> in the future, please direct rails questions to #rubyonrails, but to answer your question: http://railsforzombies.org/
Akagi201 has joined #ruby
icebourg has quit []
Akagi201 has quit [Remote host closed the connection]
Akagi201_ has quit [Read error: No route to host]
<zettam> thank you jamesfordummies and godd2
gogohome has joined #ruby
Akagi201_ has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
decoponio has joined #ruby
jxf has quit [Ping timeout: 255 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
arup_r has joined #ruby
fgo has quit [Remote host closed the connection]
<zettam> I just installed ruby on my win8, it's uisng the ms-dos window; is it possible to use soemthing else
<zettam> I mean, te interactive ruby
Anwar has joined #ruby
Tricon has quit [Quit: Leaving...]
nanoyak has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Akagi201 has joined #ruby
Akagi201 has quit [Remote host closed the connection]
Akagi201_ has quit [Read error: Connection reset by peer]
Akagi201 has joined #ruby
<Pharaoh2> open up whatever command shell you like and start irb
cesurasean has left #ruby [#ruby]
<pontiki> then install pry and have an even better interactive ruby experience
mercwithamouth has joined #ruby
<zettam> Pharaoh2, what do you mean by whatever command shell? is there any other in windows?
<ari-_-e> zettam: the command shell in NT OSes isn't actually DOS
<ari-_-e> just sorta acts like it
<Pharaoh2> there are a few, like Command2; but if you think something like idle for python; I don't think one comes as default
duper has quit [Ping timeout: 260 seconds]
<ari-_-e> zettam: do you want a different command line interface or just the ability to resize the window how you want to and such?
<zettam> Pharaoh2, I see --- also when I type irb and press enter, nothing happens in the command prompt
<zettam> ari-_-e, I just dislike the default command window, it's not about the size or color, it's about the behavior
<Pharaoh2> try irb.exe
<ari-_-e> zettam: what about its behavior?
ghr has joined #ruby
<zettam> not even possible to select witout gimmicks
<zettam> Pharaoh2, not working
<zettam> :/
<zettam> should I browse to a directory first
<Pharaoh2> is it setup correctly in your path?
<ari-_-e> zettam: "not working"?
<ari-_-e> what do you mean by that?
<zettam> well I just pen the command prompt, and type irb or irb.exe
<zettam> that's what doens't works
<ari-_-e> and you press enter?
<zettam> Sorry for being this new :)
<zettam> -__-
<zettam> yes I do
<ari-_-e> and what happens?
nateberkopec has joined #ruby
<zettam> 'irb' is not recognized as an internal or external command,
<zettam> operable program or batch file.
s2013 has joined #ruby
<ari-_-e> there we go
JoshGlzBrk has joined #ruby
<ari-_-e> yeah, probably not in your path or something
InfraRuby has joined #ruby
<ari-_-e> I don't know about setting up ruby on windows, I'll defer to someone else
<zettam> well there is this interactive ruby command prompt thing
<zettam> I tink that instantly starts it
<zettam> but I was just trying the other way around
charliesome has joined #ruby
duper has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
eyeamaye has joined #ruby
JoshGlzBrk has quit [Read error: No route to host]
vsoftoiletpaper has joined #ruby
SilkFox_ has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
<Pharaoh2> zettam: what is the output of path
<zettam> my user
tvw has joined #ruby
merqlove has joined #ruby
<Pharaoh2> what
<Pharaoh2> `path`
kenneth_ has quit [Read error: Connection reset by peer]
benlieb has quit [Quit: benlieb]
balazs has quit [Ping timeout: 255 seconds]
kenneth has joined #ruby
kenneth has quit [Client Quit]
Tricon has joined #ruby
hephaestus_rg has quit [Ping timeout: 255 seconds]
x1337807x has joined #ruby
s2013 has quit [Ping timeout: 255 seconds]
segv has quit [Ping timeout: 255 seconds]
x1337807x has quit [Ping timeout: 246 seconds]
wjimenez5271 has quit [Remote host closed the connection]
darkxploit has joined #ruby
philcrissman has joined #ruby
newUser1234 has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 272 seconds]
freerobby has quit [Quit: Leaving.]
davedev2_ has quit [Read error: Connection reset by peer]
<robscormack> zettam, can you describe your problem again?
<robscormack> nvm I found it
davedev24_ has joined #ruby
<robscormack> zettam, on your Programs menu, you'll find something like "Ruby command prompt"
<robscormack> use that one instead of the common cmd
philcrissman has quit [Ping timeout: 272 seconds]
<robscormack> that one loads everything you need: irb, gem, ruby... etc.
sputnik13 has joined #ruby
<robscormack> also, someone suggested to install pry, I recommend against it on Windows... because it's Windows.
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aleatorik has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
<zettam> robscormack, oh I already installed pry
<zettam> it's not looking like how it looks on thewebsite
cajone has left #ruby [#ruby]
<robscormack> it's because the Windows terminal doesn't have support for ANSI colours
mercwithamouth has quit [Ping timeout: 272 seconds]
<robscormack> if you're serious about developing Ruby apps, you should use Linux, BSD or OS X.
thams has joined #ruby
<jamesfordummies> *developing any modern web app :P
<jamesfordummies> if that's annoying, just run a VM of Ubuntu in windows
<robscormack> Ubuntu? ewww
<jamesfordummies> what, you wanna start a beginner in arch?
<robscormack> nope, Slackware, obviously.
<jamesfordummies> ubuntu has tons of support for things like rails
<jamesfordummies> tons of form posts
nanoyak has quit [Quit: Computer has gone to sleep.]
brandonshowers has joined #ruby
<jamesfordummies> forum
<robscormack> I know but I hate its user interface. :D
IceDragon has quit [Quit: Space~~~]
<robscormack> just kidding.
<jamesfordummies> lol
<robscormack> actually when my students become tired of Windows uselessness for anything decent, I recommend them LinuxMint.
<jamesfordummies> zettam: in all seriousness, the development community doesn't have much love for windows. there are generally more hurdles and because so - there is much less support. most unix support you find will apply to both mac and linux, so most developers use those
<jamesfordummies> i know devs who have windows boxes and just run VMs though
diegoviola has quit [Remote host closed the connection]
asdasdasdasss has joined #ruby
frankle has quit [Quit: Connection closed for inactivity]
tricon_ has joined #ruby
<robscormack> I agree with jamesfordummies
craigbowen3 has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
starkhalo has quit [Quit: WeeChat 1.0-rc2]
razum2um has joined #ruby
Tricon has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cya]
<zettam> jamesfordummies, I understand and know
<zettam> I do a lot of rendering, so most of my machines are windows
<zettam> the whole rnderfarm basically
<zettam> because of the tools that I use for my "job"
<jamesfordummies> lol
drawingthesun has joined #ruby
newUser1234 has joined #ruby
asdasdasdasss has quit [Ping timeout: 272 seconds]
drawingthesun has quit [Max SendQ exceeded]
<robscormack> I know that feeling bro, too bad for you. :D
drawingthesun has joined #ruby
brandonshowers has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
InfraRuby has left #ruby [#ruby]
danijoo has joined #ruby
<threesixes> windows is for gaming, NOT WORK
MatthewsFace has joined #ruby
magikfx__ has quit [Remote host closed the connection]
thams has quit [Quit: thams]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hellangel7 has joined #ruby
fgo has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
benzrf is now known as benzrf|offline
benzrf|offline is now known as benzrf
fgo has quit [Ping timeout: 260 seconds]
<Pharaoh2> Uhh, what is the general opinion on double quoted strings vs single quoted strings? Just go with double quoted always? Only when somethings needs to be interpolated or escaped?
<[endel]> threesixes: "if it works for gaming, it works for ANYTHING" - wise quotation of a coworker of mine :)
wjimenez5271 has joined #ruby
<arup_r> Use double quote if you need string interpolation.. Otherwise use lightweight single quote
<Pharaoh2> Yea, your coworker is going to have a very bad time
<Pharaoh2> arup_r: how big of a performance/memory difference is there?
<arup_r> It is really BIG
<pontiki> almost none
ghr has joined #ruby
Alina-malina has quit [Quit: https://twitter.com/AleenaMaleena]
DrCode has quit [Remote host closed the connection]
nateberkopec has joined #ruby
MatthewsFace has quit [Quit: Leaving]
MatthewsFace has joined #ruby
<arup_r> shevy Hi
lanox has quit []
DrCode has joined #ruby
rusty_ has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
duncannz has joined #ruby
Guest37821 has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
lanox has joined #ruby
Matadoer has quit [Remote host closed the connection]
wjimenez5271 has quit [Remote host closed the connection]
fgo has joined #ruby
gogohome has quit [Quit: gogohome]
Blizzy has joined #ruby
<Blizzy> I have a question. let's say I have a string with the value 'ruby'. How would I sort the string by alphabetically?
InfraRuby has joined #ruby
Aryasam has joined #ruby
Aryasam has quit [Client Quit]
anildigital is now known as zz_anildigital
<Pharaoh2> 'ruby'.chars.sort.join
nat2610 has quit [Quit: Leaving.]
Pharaoh2 is now known as Pharaoh_
Pharaoh_ is now known as Pharaoh2
<Blizzy> thank you, Pharaoh2. :D
GriffinHeart has joined #ruby
relix has joined #ruby
spicerack has quit [Quit: Textual IRC Client: www.textualapp.com]
gogohome has joined #ruby
Anwar has quit [Ping timeout: 246 seconds]
wjimenez5271 has joined #ruby
benzrf is now known as benzrf|offline
benzrf|offline is now known as benzrf
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jamesfordummies has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
<pontiki> Pharaoh2: if you're worried about performance differences between single and double quote without interpolation, don't. there's lots better things to worry about.
<pontiki> it's more of a consideration of style than anything
<Pharaoh2> No, I am just worried about style guide and ease of use
<Pharaoh2> and the fact that rubymine keeps complaining about this stuff :|
<pontiki> nod
<pontiki> rubymine also tends to have this annoying trait where it will suggest one thing, then when you change it, suggest the other
razum2um has quit [Quit: Leaving.]
<pontiki> they're mainly just suggestions though, not complaints
sputnik13 has joined #ruby
<pontiki> the github ruby style guide says to always use double quote
babykosh has joined #ruby
flowerhack has joined #ruby
<pontiki> that's hardly gospell tho
charliesome has joined #ruby
kaspergrubbe_ has joined #ruby
Mattx has quit [Read error: Connection reset by peer]
Mattx has joined #ruby
charliesome has quit [Client Quit]
<robscormack> rubymine caused me serious brain damage.
<pontiki> i don't use it as my regular code editor, for sure
<pontiki> but i've not found anything better at code spelunking
<robscormack> spelunking?
wjimenez5271 has quit [Remote host closed the connection]
<robscormack> ok, understood
<pontiki> stolen from cave exploring: given a new project, repo, etc., diving into the code to figure out what calls what, where methods are defined, etc
<robscormack> yep
<robscormack> has it changed significantly from 5.0?
<pontiki> probably; i'm on 6.3, but i probably don't take advantage of the changes that much
<pontiki> for fun, i thought i'd try to build a rails app starting from scratch in RM
<pontiki> if that was how i normally did things, it'd probably be okay
<pontiki> probably just too old and set in my ways to use it full time tho
hakunin has joined #ruby
<robscormack> the screencast doesn't look bad, actually
build-system has joined #ruby
<robscormack> I'll keep with Brackets, though.
<pontiki> Brackets?
techsethi has joined #ruby
<robscormack> download.brackets.io
<robscormack> most of what I do currently is HTML+CSS+JS over small Rails apps
cpruitt has joined #ruby
<pontiki> sure
<pontiki> i'd just never heard of it
<robscormack> it's one of the new kids on the block
<pontiki> clojurebridge suggests using light table -- another new one
<robscormack> Ruby support is awful, but it supports LESS, SASS, CoffeeScript just as well.
magic is now known as Logician
<robscormack> light table is newer, I also read it but it's... large for me.
<pontiki> i have webstorm from jetbrains as well; not sure i like it much
<pontiki> idk
<pontiki> it's hard for me to get away from emacs because i've been using it forever
<pontiki> it's the editor i imprinted on, really
asdasdasdasss has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
<robscormack> if you're on development for a living, of course.
Pharaoh2 has joined #ruby
<robscormack> as I'm a teacher, I often try many things, even Dreamweaver.
<pontiki> as a developer, it behooves me to try new tools
<robscormack> true that
<robscormack> but you don't switch :)
asdasdasdasss has quit [Ping timeout: 255 seconds]
Pharaoh2 has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
<robscormack> well, it's time to listen to some music, will try rubymine I guess
s2013 has quit [Ping timeout: 245 seconds]
heftig has joined #ruby
<pontiki> i didn't say i don't switch
MatthewsFace has quit [Quit: This computer has gone to sleep]
<pontiki> i said i find it hard to switch
m8 has joined #ruby
<pontiki> i've used other editors, some a lot, and eventually i come back
<pontiki> probably more importantly, all other editors get measured against emacs
axsuul has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
<benzrf> i just use vim
zz_anildigital is now known as anildigital
<benzrf> it is pretty great at taking a blob of bytes and doing things to it
<benzrf> which may or may not be what you want
<robscormack> yep, I was a vim user too
build-system has quit [Quit: Leaving]
<godd2> Holy crap converting ALSA structs to ffi is freakin ridiculous
<pontiki> i have a very hard time with vi*
<robscormack> I never was an impressive vim user, it's enough with vimderbar on top of Brackets (and Bram Moolenaar will come and kick me)
vsoftoiletpaper has quit []
<pontiki> i've just never been able to work well with modal editors
codecop has joined #ruby
<pontiki> there's nothing wrong with them
<pontiki> it's just, again, what i imprinted on
<pontiki> it's hard to change some of that
dseitz has joined #ruby
benzrf is now known as benzrf|offline
vsoftoiletpaper has joined #ruby
techsethi has quit [Quit: techsethi]
<robscormack> switching editors is like switching operating systems
<robscormack> haha
<pontiki> or shells
Ilyas has joined #ruby
<robscormack> after almost 15 years working with bash, I switched to zsh in 2 days.
<pontiki> i can't get the hang of zsh completion
arya_ has joined #ruby
ghr has joined #ruby
<robscormack> it's tricky sometimes
<pontiki> i wanted to do: `rake SPEC='spec/blah/blah/..'` and could NOT figure out how to get it to expand the path
<robscormack> tab?
<pontiki> nope
JBreit has quit [Read error: Connection reset by peer]
lkba has joined #ruby
doev has joined #ruby
<pontiki> it's also slow
nateberkopec has joined #ruby
<robscormack> it works with tab for me
GriffinHeart has quit [Remote host closed the connection]
<pontiki> i'm so glad
<robscormack> haha
newUser1234 has quit [Remote host closed the connection]
<robscormack> it's slower, yes
<robscormack> and it gets worse if you put oh my zsh on top of it.
<pontiki> that might be it
ghr has quit [Ping timeout: 255 seconds]
<pontiki> folks i'm working with tend to distribute a shared VM environment for their projects, a nice practice in and of itself, but it's always got zsh and oh my zsh defaulted for the vagrant user
<pontiki> no one seems to know why
<pontiki> and most folks switch back to bash
<pontiki> but no one bothers to change the boxes
InfraRuby has left #ruby [#ruby]
GriffinHeart has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
JBreit has joined #ruby
Spami has joined #ruby
JBreit has left #ruby [#ruby]
mackintosh has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
threesixes has quit [Remote host closed the connection]
lkba has quit [Read error: Connection reset by peer]
philcrissman has joined #ruby
lkba has joined #ruby
crazed has quit [Ping timeout: 245 seconds]
skaflem has joined #ruby
crazed has joined #ruby
vsoftoiletpaper has quit []
wwalker has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby
charliesome has joined #ruby
philcrissman has quit [Ping timeout: 260 seconds]
Lucky__ has joined #ruby
tricon_ has quit [Read error: Connection reset by peer]
Tricon has joined #ruby
arya_ has quit [Read error: Connection reset by peer]
andrewlio has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wwalker has joined #ruby
<wasamasa> hmm, this looks nice: https://github.com/johnnyshields/naturalsort
arya_ has joined #ruby
hellangel7 has quit [Read error: Connection reset by peer]
vinky has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
krisquigley has joined #ruby
gogohome has quit [Quit: gogohome]
Xeago has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
JoshGlzBrk has joined #ruby
asdasdasdasss has joined #ruby
[endel] has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
decoponio has quit [Quit: My PC will restart]
asdasdasdasss has quit [Ping timeout: 264 seconds]
asmodlol has joined #ruby
cnj has quit [Ping timeout: 272 seconds]
cnj has joined #ruby
mijicd has joined #ruby
charliesome has quit [Ping timeout: 260 seconds]
robbyoconnor has quit [Excess Flood]
basiclaser has quit [Excess Flood]
robbyoconnor has joined #ruby
funburn has joined #ruby
mijicd has quit [Client Quit]
axsuul has joined #ruby
mijicd has joined #ruby
godd2 has quit [Ping timeout: 246 seconds]
basiclaser has joined #ruby
gogohome has joined #ruby
axsuul has quit [Ping timeout: 245 seconds]
relix has joined #ruby
marr has joined #ruby
cpruitt has quit [Quit: cpruitt]
spastorino has quit [Quit: Connection closed for inactivity]
rusty_ has quit []
devdazed has joined #ruby
lxsameer has joined #ruby
mijicd has quit [Remote host closed the connection]
ValicekB has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
lanox_ has joined #ruby
Takle has joined #ruby
nateberkopec has joined #ruby
sepp2k has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
lanox has quit [Ping timeout: 245 seconds]
ghr has quit [Ping timeout: 255 seconds]
Beoran has quit [Ping timeout: 250 seconds]
jottr has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
arya_ has quit [Ping timeout: 240 seconds]
decoponio has joined #ruby
anildigital is now known as zz_anildigital
mikecmpbll has joined #ruby
lkba has joined #ruby
kenneth has joined #ruby
timonv_ has joined #ruby
ValicekB has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eyeamaye has quit [Quit: Leaving.]
Beoran has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
georgelappies has joined #ruby
newUser1234 has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
b00stfr3ak has joined #ruby
spider-mario has joined #ruby
kaspertidemann has joined #ruby
mocchi has quit [Quit: ZNC - http://znc.in]
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv_ has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
funburn has quit [Quit: funburn]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
w09x has quit [Remote host closed the connection]
krisquigley has joined #ruby
asdasdasdasss has joined #ruby
krisquigley has quit [Remote host closed the connection]
krisquigley has joined #ruby
Ilyas has quit [Read error: Connection reset by peer]
asdasdasdasss has quit [Ping timeout: 245 seconds]
jhass|off is now known as jhass
Atttwww has quit [Ping timeout: 272 seconds]
anaeem1_ has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
basiclaser has quit [Excess Flood]
anaeem1_ has joined #ruby
lanox_ has quit [Remote host closed the connection]
basiclaser has joined #ruby
davispuh has joined #ruby
Shidash has quit [Ping timeout: 240 seconds]
wald0 has joined #ruby
Rollabunna has quit [Remote host closed the connection]
<Hanmac> shevy i used some checks and i found a few files in rwx that does have more commented code than source code inside ;P
Rollabunna has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
devdazed has quit [Ping timeout: 264 seconds]
Emmanuel_Chanel has joined #ruby
wchun has quit [Ping timeout: 245 seconds]
Emmanuel_Chanel_ has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
Emmanuel_Chanel_ has quit [Read error: Connection reset by peer]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
b__ has joined #ruby
Emmanuel_Chanel has joined #ruby
ghr has joined #ruby
lkba has joined #ruby
coderhs has quit [Ping timeout: 272 seconds]
devdazed has joined #ruby
nateberkopec has joined #ruby
marr has quit [Ping timeout: 255 seconds]
guardian has left #ruby ["WeeChat 0.4.3"]
ghr has quit [Ping timeout: 245 seconds]
lkba has quit [Ping timeout: 272 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
Sid05 has quit [Read error: Connection reset by peer]
philcrissman has joined #ruby
arya_ has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has quit [Ping timeout: 240 seconds]
lanox has joined #ruby
gogohome has left #ruby [#ruby]
philcrissman has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
lanox has quit [Client Quit]
wchun has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Hobogrammer has quit [Ping timeout: 255 seconds]
sandelius has joined #ruby
User458764 has joined #ruby
<sandelius> Is it possible to add a method to a module with an external variable as method return? I need to get a value outside of the module context
<Hanmac> sandelius: is parameter for the method not your liking?
gruz0[russia] has joined #ruby
yfeldblu_ has joined #ruby
<jhass> sandelius: did you look at instance_variable_get ?
babykosh has quit [Quit: babykosh]
<Hanmac> if the module is included into a class or extended into an object, the method inside the module can use the instance variables of the object just fine
yfeldblum has quit [Ping timeout: 240 seconds]
bootstrappm has joined #ruby
thomasxie has quit [Remote host closed the connection]
<jhass> I guess we're not sure what you're asking
<sandelius> Mut then I need to add the instance of the class I'm in to the other module. Like Rails does when adding the controller instance to view helpers
<jhass> sandelius: do you have some code to show what you're doing/what you want?
<sandelius> Sure, I'll gist it
lynxman has joined #ruby
<Hanmac> ah rails ... the bane of us normal users
gruz0[russia] has quit [Quit: This computer has gone to sleep]
SCHAAP137 has quit [Remote host closed the connection]
starless has quit [Quit: Leaving]
ferr has quit [Remote host closed the connection]
<sandelius> Hanmac This is not rails but the concept is the same.
<sandelius> I'm mostly curious how it's done if possible
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
<sandelius> in class_eval I can't access the outside context
<jhass> why does it need to happen in MyClass#initialize?
<sandelius> jhass it's just an example
wald0 has quit [Ping timeout: 260 seconds]
<jhass> why is module MyModule; def my_class; MyClass.new; end; end; not fine?
arya__ has joined #ruby
<sandelius> jhass because I need the current instance I'm in
<jhass> what happens if there's more than one instance of MyClass ?
St_Marx has joined #ruby
<sandelius> MyClass is actually an abstract class that's inherited
<jhass> ruby doesn't have abstract classes, we use modules to share functionality
brandonshowers has joined #ruby
<sandelius> jhass yeah I know but MyClass is inherited
<jhass> still, what happens if there's more than one instance?
seph429 has quit [Ping timeout: 255 seconds]
arya_ has quit [Ping timeout: 260 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
sputnik13 has joined #ruby
banister has joined #ruby
<jhass> (yes, there's a way and yes I'm trying to talk you out of this approach because it sounds.. not well designed)
seph429 has joined #ruby
<sandelius> jhass You're totally right and this is not something I would actually use. I'm more interested in how this would work.
<sandelius> jhass I know that Rails uses something like: class_eval <<-ruby_eval, __FILE__, __LINE__ + 1 .... But that's not very pretty
Cyrax_ has quit [Ping timeout: 260 seconds]
<jhass> you can just send define_method to the module
<sandelius> jhass yeah but in the define_method block I don't have access to the outside scope
<jhass> you do
<jhass> >> module Foo; end; class Bar; include Foo; end; foo = :bar; Foo.send(:define_method, :foo) { foo }; Bar.new.foo
<eval-in> jhass => :bar (https://eval.in/177792)
Cyrax_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
asdasdasdasss has joined #ruby
User458764 has quit [Ping timeout: 250 seconds]
User458764 has joined #ruby
<sandelius> jhass ahh
Cyrax_ has quit [Ping timeout: 245 seconds]
asdasdasdasss has quit [Ping timeout: 240 seconds]
jgt has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
jgt has quit [Client Quit]
axsuul has joined #ruby
GriffinHeart has joined #ruby
Cyrax_ has joined #ruby
nfk has joined #ruby
froggy__ has joined #ruby
tokik has joined #ruby
bootstrappm has quit [Ping timeout: 240 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has joined #ruby
axsuul has quit [Ping timeout: 272 seconds]
froggy_ has quit [Ping timeout: 246 seconds]
charles81 has quit [Quit: so long and thanks for all the bitfish ;)]
charles81 has joined #ruby
InfraRuby has joined #ruby
lanox_ has joined #ruby
InfraRuby has left #ruby [#ruby]
nateberkopec has joined #ruby
e4xit_ has joined #ruby
InfraRuby has joined #ruby
e4xit has quit [Ping timeout: 246 seconds]
e4xit_ is now known as e4xit
nateberkopec has quit [Ping timeout: 240 seconds]
Takle has quit [Remote host closed the connection]
User458764 has quit [Ping timeout: 260 seconds]
Gabri has joined #ruby
User458764 has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
phoo1234567 has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
cpruitt has joined #ruby
phoo1234567 has joined #ruby
tectonic has quit []
Takle has joined #ruby
asdasdasdasss has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
brandonshowers has quit [Quit: Textual IRC Client: www.textualapp.com]
doev has quit [Ping timeout: 272 seconds]
jottr has joined #ruby
duncannz has quit [Ping timeout: 260 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest37821 has quit [Ping timeout: 272 seconds]
arya__ has quit [Ping timeout: 260 seconds]
marr has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
merqlove has quit [Quit: Connection closed for inactivity]
thomasxie has joined #ruby
apeiros has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
apeiros has joined #ruby
asdasdasdasss has quit [Quit: Computer has gone to sleep.]
asdasdasdasss has joined #ruby
autochthon has joined #ruby
Takle has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 240 seconds]
lanox_ has quit []
asdasdasdasss has quit [Ping timeout: 272 seconds]
dingus_khan has quit [Remote host closed the connection]
einarj has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
marr has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
Pharaoh2 has joined #ruby
thomasxie has quit [Remote host closed the connection]
Gabri has quit [Remote host closed the connection]
Gabri has joined #ruby
w09x has joined #ruby
kaspergrubbe_ has quit [Remote host closed the connection]
w09x has quit [Remote host closed the connection]
thomasxie has joined #ruby
w09x has joined #ruby
mercwithamouth has joined #ruby
dorei has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
Gabri has quit [Ping timeout: 272 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
Pharaoh2 has joined #ruby
e4xit_ has joined #ruby
coderhs has joined #ruby
e4xit has quit [Ping timeout: 255 seconds]
e4xit_ is now known as e4xit
CorpusCallosum has quit [Ping timeout: 250 seconds]
CuriousMind has quit [Quit: Page closed]
Mattx has quit [Ping timeout: 250 seconds]
User458764 has quit [Ping timeout: 250 seconds]
coderhs has quit [Read error: Connection reset by peer]
jds has joined #ruby
philcrissman has joined #ruby
asdasdasdasss has joined #ruby
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
ghr has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
philcrissman has quit [Ping timeout: 246 seconds]
heftig has quit [Ping timeout: 250 seconds]
<zly> Anyone using vim with emmet and slim templates?
Pharaoh2 has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
arya_ has joined #ruby
<shevy> we use better editors
<shevy> there are many vim users here though - jhass ... hmm I forgot the others
<shevy> <benzrf> i just use vim
<shevy> that dude
<shevy> now known as benzrf|offline
havenwood has quit [Remote host closed the connection]
<jhass> I use sublime for coding
<jhass> vim just for sysadmin type stuff
<shevy> ack
ghr has quit [Ping timeout: 255 seconds]
<shevy> so jhass is no true vimster
<shevy> he is more like a hamster
<jhass> true that, I even use hamster for time tracking
drizz_ is now known as drizz
<shevy> lol
<zly> 'better editors'
<zly> better than vim?
<zly> kek
drizz has quit [Quit: Reconnecting]
<shevy> yeah
<shevy> one got named already - sublime
drizz has joined #ruby
<jhass> please guys, don't start it
<shevy> bluefish 1.0.7 was also awesome, unfortunately bluefish 2.x got nerfed in functionality :(
<dseitz> zly: I'd help, but I'm not using emmet atm, and never used slim
<shevy> a vimster!
Pharaoh2 has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
Jackneill has joined #ruby
ocher has quit [Ping timeout: 260 seconds]
doev has joined #ruby
<dseitz> Good thing it's early on a sunday; it's easy to start that war lol
<shevy> hey it is past noon already
nszceta has joined #ruby
Emmanuel_Chanel has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby
<shevy> how many Encodings does ruby have - anyone know the answer without looking up
<Xeago> where'd apeiros go!?
<shevy> it is sunday
<shevy> on sunday the swiss climb on a mountain
<shevy> and yodel
<Hanmac> shevy does you count the alias too?
<shevy> and then they chase the goats down the mountain
<shevy> Hanmac nah
<matti> shevy: And shave yaks.
lkba has joined #ruby
<dseitz> Rough est. I guess could be Encodings.constants.count hahaha
<Hanmac> >> [Encoding.name_list.size, Encoding.aliases.size]
<eval-in> Hanmac => [170, 69] (https://eval.in/177798)
<Hanmac> means 170 with alias, 69 alias, means 101 without alias
coderhs has joined #ruby
nfk has quit [Quit: yawn]
<shevy> matti they don't have many yaks. a few llamas though
<shevy> the llamas are better at defending against wolves than the sheep are
<shevy> so some put a few llamas together with the sheep
<matti> shevy: No, no Llamas.
<dseitz> Hanmac: Wouldn't Encoding.list be better est. 100?
<matti> shevy: An Alpaca.
xcv has joined #ruby
<shevy> they are awesome, when a wolf comes they approach it
cpruitt has quit [Quit: cpruitt]
<matti> Haha
<matti> Guarding Llama
<matti> TIL
comma8 has quit [Ping timeout: 260 seconds]
Brando753 has quit [Ping timeout: 260 seconds]
<shevy> it's more than 20 llamas too btw, some of the local peons already adopted and integrated them... though I guess the total number of llamas is indeed very small compared to the sheep count... lemme find out
<Hanmac> hm ok mi might need to sort out some encodings like "locale", "external", "filesystem", "internal" ... i dont know why list does return 100 but my counting does return 101
<shevy> "Im Jahr 2009 waren das 431.889 Schafe." ok... 2009, there were 431.889 sheep in swiss
<Hanmac> yep its the "internal" one
<shevy> so possibly at max only 100 llamas :(
arya_ has quit [Ping timeout: 272 seconds]
Brando753 has joined #ruby
anaeem1 has joined #ruby
devdazed has quit [Ping timeout: 255 seconds]
<shevy> anyone knows offhand if I can use "locate" to locate only 100% matches? if I do: "locate ar", I'd only like to get the binary ar (from binutils)
<Hanmac> shevy because the llamas/alpacas does eat wolves? ;P ... just image how awesome/freaky that would be ;P
<shevy> they just chase them away
<shevy> I think the wolves are scared of other animals that look very tall
<shevy> the sheep appear rather small and helpless
timonv_ has joined #ruby
<shevy> dang... now I broke binutils ... Assembler messages: ccfcoXxJ.s:368: Error: expecting string instruction after `rep'
<dseitz> Probably use a different query cmd
<dseitz> like whereis
anaeem1 has quit [Read error: Connection reset by peer]
<Hanmac> shevy ... so we need 6feet tall sheeps and they would be safe? ;D
DEA7TH has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<shevy> dseitz hmm let's see
anaeem1__ has joined #ruby
Wolland has joined #ruby
devdazed has joined #ruby
<jhass> shevy: man page says locate -b '\NAME'
<shevy> hmm
<matti> shevy: I am sure this one is the one that apeiros owns http://i.imgur.com/LS1lfqd.jpg
<shevy> why are there duplicated locations ... /usr/x86_64-slackware-linux/bin/ar /usr/x86_64-unknown-linux-gnu/bin/ar
<Xeago> what did I start…
<Xeago> shevy: gnu and bsd most likely
<shevy> matti lol
<shevy> matti a flying llama?
<matti> shevy: Llamacorn
<dseitz> my little llama
<shevy> omg
<matti> Even "llama" looks like llama.
<matti> When the "ll" are the neck etc.
<shevy> man
<dseitz> My aunt owns one, they are big bullies
<dseitz> :)
<shevy> you must live in some strange area
<matti> WHy does your aunt owns one?
<matti> ;]
<shevy> husband
einarj has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 240 seconds]
<shevy> they give the better wool after all
<dseitz> No clue. Guess go bored with buying horses and thought? Oh neat, llama??
<matti> dseitz: LOL
<dseitz> And they do live in a pretty strange place known as Alabama
dingus_khan has joined #ruby
Neomex has joined #ruby
<shevy> haha
w09x has quit []
<wasamasa> so, how the hell do I use the ruby-filemagic gem
<wasamasa> there's only auto-generated docs for it ._.
dingus_khan has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
pandaant has quit [Quit: Lost terminal]
Pharaoh2 has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
pandaant has joined #ruby
comma8 has joined #ruby
kaspertidemann has quit []
timonv_ has quit [Remote host closed the connection]
Takle has quit [Ping timeout: 260 seconds]
Takle has joined #ruby
timonv_ has joined #ruby
InfraRuby has left #ruby [#ruby]
<wasamasa> ok, found an example.rb
acgtyrant has joined #ruby
acgtyrant has left #ruby [#ruby]
<wasamasa> this is pretty disgusting, but whatever
SchweetPapa has quit [Ping timeout: 250 seconds]
postmodern has quit [Quit: Leaving]
nszceta has quit [Ping timeout: 264 seconds]
craigbowen3 has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
Wolland has joined #ruby
aleatorik has joined #ruby
easier has quit [Remote host closed the connection]
ghr has joined #ruby
nszceta has joined #ruby
W0rmDr1nk has joined #ruby
comma8 has quit [Ping timeout: 260 seconds]
Wolland has quit [Ping timeout: 240 seconds]
AlSquire has joined #ruby
aleatorik is now known as asdf
asdasdasdasss has quit [Ping timeout: 264 seconds]
asdf is now known as tradekraft
Symbiosisz has joined #ruby
o0oo0o has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 260 seconds]
<shevy> hehehe
tradekraft is now known as Guest13779
Guest13779 has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
aleatorik has joined #ruby
yeticry has quit [Quit: leaving]
aleatorik is now known as tradekraft
<wasamasa> I mean, you need to do Filemagic.mime.file(file)
<wasamasa> and get the same output as by `file -i file`
Nex has joined #ruby
User458764 has joined #ruby
kirun has joined #ruby
wald0 has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
einarj has joined #ruby
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mattx has joined #ruby
newUser1234 has quit [Read error: Connection reset by peer]
craigbowen3 has joined #ruby
newUser1234 has joined #ruby
einarj has quit [Ping timeout: 255 seconds]
mr_snowf1ake has joined #ruby
Photism has joined #ruby
o0oo0o has joined #ruby
craigbowen3 has quit [Read error: Connection reset by peer]
nurrb has joined #ruby
doev has quit [Ping timeout: 260 seconds]
<wasamasa> hmm
nurrb has left #ruby [#ruby]
<wasamasa> there is no simple way to determine whether a directory is empty?
nurrb has joined #ruby
<shevy> >> Dir.empty? Dir.pwd
<eval-in> shevy => undefined method `empty?' for Dir:Class (NoMethodError) ... (https://eval.in/177805)
<shevy> ack
<shevy> how annoying
niklasb has quit [Ping timeout: 245 seconds]
<jhass> Dir.entries(dir).size == 2 ?
<wasamasa> shevy: yeah, that's what I meant
<wasamasa> shevy: I've expected there to be an empty? method
<shevy> me too
<wasamasa> alternatively, hand me some gem that makes path mainpulation and directory traversal fun again
<shevy> Pathname
* shevy cackles evilly.
pandaant has quit [Remote host closed the connection]
<shevy> I wonder if a programming language would work by community design
<shevy> perl 6 failed
<wasamasa> scheme?
<jhass> java ? :P
tvw has quit []
Wolland has joined #ruby
Gabri has joined #ruby
<shevy> man
Gabri has quit [Remote host closed the connection]
<shevy> that was controlled by a company
Wolland has quit [Read error: Connection reset by peer]
Wolland_ has joined #ruby
nurrb has left #ruby [#ruby]
nurrb has joined #ruby
nurrb has left #ruby [#ruby]
nurrb has joined #ruby
wallerdev has joined #ruby
wallerdev has quit [Client Quit]
<shevy> oh yeah like the W3C
<shevy> "we the community decided - we want more DRM"
* wasamasa feels ignored
dingus_khan has joined #ruby
<shevy> now the python process is definitely better than the java one
<shevy> wasamasa come on man
<shevy> wasamasa who uses scheme
<wasamasa> shevy: some guys at work do
<wasamasa> shevy: besides, that wasn't your requirement
britneywright has joined #ruby
<shevy> we need to look at successful languages
Wolland_ has quit [Ping timeout: 255 seconds]
<wasamasa> of course, a language with like over nine thousand implementations isn't successful
<wasamasa> and did you seriously refer to tiobe
<shevy> nine thousand standards define a successful language?
<wasamasa> aka "How many people have googled for their language"
<wasamasa> no, not standards, implementations
<wasamasa> that many times somebody bothered implementing the standard
<shevy> sounds like a lot of duplication effort
<wasamasa> sure it is
dingus_khan has quit [Ping timeout: 272 seconds]
<shevy> this is funny - scheme is more popular than lisp http://langpop.com/
<wasamasa> *common lisp
<shevy> but for the google results, lisp ranks higher than scheme
<wasamasa> which poses another problem
<wasamasa> lisp is the name for the entire family
<wasamasa> no matter what the folks over at #lisp think
<wasamasa> whereas common lisp is the name of the clunkier standard a couple dozen implementations exist of
<wasamasa> so, lots of people who don't know that will just google for lisp
<wasamasa> and skew the results
<dseitz> Guess Racket doesn't rank there lol
nurrb has quit [Quit: Leaving.]
nurrb has joined #ruby
philcrissman has joined #ruby
<shevy> at least ruby is slightly above perl there
nurrb has left #ruby [#ruby]
frankle has joined #ruby
<dseitz> Hey that is a good rank considering that stack is based on #lines changed
<shevy> Scheme is at a solid 0.08%
<dseitz> I would suspect a mid-range rank to be better
<shevy> hehe
<shevy> well it would depend on the total amount of lines as well
larissa has joined #ruby
<shevy> so that plot should be replotted and compared with the average line count in the respective language
larissa has left #ruby [#ruby]
<dseitz> Definitely. Using SO statitistics is kinda... poopie
<dseitz> Cause all that shows is over the lifetime of SO, people have had problems lol
mr_flibble is now known as feloneousmonk
o0oo0o has quit [Quit: WeeChat 0.4.3]
<shevy> well it depends
<dseitz> But the trending of SO is more interesting
<shevy> more people using the language would also mean more questions asked in that language
<dseitz> Where PHP, JS, and Java show increased pace
<shevy> most of the ruby questions on SO seem to be rails-inspired :(
philcrissman has quit [Ping timeout: 255 seconds]
<shevy> let's see
heftig has joined #ruby
mgomezch has joined #ruby
dtordable has joined #ruby
<shevy> no idea how to get trending of SO
<dseitz> I'm using makingdataeasy.com
dtordable has quit [Client Quit]
<dseitz> Kinda matches what I expected
<dseitz> JS is trending upward, significantly
<dseitz> C# is on a downward slope
<dseitz> PHP remains popular regardless of how bad it is lol
<dseitz> Ruby on SO is flat, not popular -- Python on a slight upward trend
o0oo0o has joined #ruby
<dseitz> I'm reviewing tag trends since 2008
<dseitz> ish.. probably more like 2010
InhalingPixels has joined #ruby
lxsameer has quit [Quit: Leaving]
* Hanmac does not care about trends since '88
asdasdasdasss has joined #ruby
SilkFox_ has joined #ruby
comma8 has joined #ruby
ghr has joined #ruby
heftig has quit [Ping timeout: 240 seconds]
<mr_snowf1ake> the number of questions though is also an indicator of the difficulty of the language and the quality of documentation out there already
<mr_snowf1ake> the less ambiguity there is with a language, the less of a necessity to ask questions
<shevy> yeah
* wasamasa is pretty sad about having to glob instead of walking over a file tree
<wasamasa> this is not bash
<mr_snowf1ake> globbing is fun in zsh! :D
<shevy> ok wasamasa I will start an issue request on your behalf
<wasamasa> shevy: on what?
<Hanmac> also the codelines is also a maybe not so good indicator ... if you need 20 lines php code what ruby can do in one, php is ranked higher
<wasamasa> Hanmac: in other words, all indicators are to be used with care
<mr_snowf1ake> yup
<Hanmac> there need to be an indicator for indicators how useful an indicator is ;D
<dseitz> Trying to measure language popularity is silly anyway
<shevy> wasamasa on Dir.empty?
amystephen has joined #ruby
* Hanmac is getting more "meta" good i have a fever.termometer there ...
asdasdasdasss has quit [Ping timeout: 260 seconds]
<wasamasa> shevy: oh right
<mr_snowf1ake> Hanmac: but different indicators are useful for different people :P if i want to learn an easy language, i wouldn't necessarily go for the one with the most questions or the most lines even if it means it might be more popular
Pharaoh2 has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 255 seconds]
<mr_snowf1ake> Hanmac: there needs to be an indicator that automagically indicates which indicator is most indicative for you!
Pharaoh2 has joined #ruby
<dseitz> According to TIOBE, Taylor Swift is one of the most popular programming languages in the world lol
infinitone has joined #ruby
nszceta_ has joined #ruby
<mr_snowf1ake> it's on the internet. must be true
<mr_snowf1ake> anyway, gonna go rock climbing. cya.
mr_snowf1ake has quit [Quit: Leaving]
Hanmac has quit [Ping timeout: 260 seconds]
<shevy> rock climbing huh
<shevy> people have strange hobbies
<shevy> brb going to chase a rhinozerus with my machete
<matti> shevy: I am going spear fishing in Thames.
<matti> ;D
nateberkopec has quit [Quit: Leaving...]
<dseitz> oh fun
nszceta has quit [Ping timeout: 260 seconds]
<dseitz> I'm flying to france to check out those catacombs
<shevy> what fish
codecop has quit [Remote host closed the connection]
krisquigley has quit [Read error: Connection reset by peer]
<shevy> if I were a fish
<shevy> I'd relocate
<shevy> voluntarily
SilkFox_ has quit [Ping timeout: 272 seconds]
krisquigley has joined #ruby
codecop has joined #ruby
<matti> shevy: If you were a fish...
<shevy> haha cool
<matti> dseitz: Take shevy with you, he will panic at random ;]
<shevy> they even have a water quality checking thing :P
asdasdasdasss has joined #ruby
<dseitz> I did a lot of spear fishing when I lived in HI... ah I miss the water there
<shevy> someone tell me a working postcode
<shevy> I want to see if they would instantly die or whether it would take like 2 weeks
comma8 has quit [Ping timeout: 250 seconds]
<shevy> dseitz sounds like an adventure
<shevy> unless a kodiac hunts you
<shevy> *Kodiak
cpruitt has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
heftig has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
<dseitz> whaa
danijoo has joined #ruby
cpruitt has quit [Client Quit]
arya_ has joined #ruby
asdasdasdasss has quit [Ping timeout: 246 seconds]
Gadgetoid has quit [Ping timeout: 250 seconds]
<wasamasa> hmm, I wonder whether it's worth it to use ruby's tmpfile support
t_p has joined #ruby
TorpedoSkyline has joined #ruby
<shevy> dunno
<shevy> I hate tempfile
krz has joined #ruby
Advocation has joined #ruby
einarj has joined #ruby
einarj has quit [Client Quit]
Hanmac has joined #ruby
kaspertidemann has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wasamasa> hmm
<wasamasa> is there something that gives me both index and item in a loop over something iterable?
einarj has joined #ruby
Panicky has joined #ruby
<wasamasa> kind of like python's "for index, item in enumerate(iterable):"
<waxjar> #each_with_index
msmith has joined #ruby
<wasamasa> thanks
icebourg has joined #ruby
bmurt has quit []
icebourg has quit [Max SendQ exceeded]
Eiam has quit [*.net *.split]
gattuso has quit [*.net *.split]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
sevenseacat has joined #ruby
icebourg has joined #ruby
towbes has quit [Ping timeout: 250 seconds]
centrx has joined #ruby
msmith has quit [Remote host closed the connection]
Wolland has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
starkhalo has joined #ruby
<shevy> that python syntax would almost work in ruby as well :)
msmith_ has joined #ruby
bricker`LA has quit [Ping timeout: 245 seconds]
<Hanmac> shevy you mean like that?
<Hanmac> >> e = "abc".chars; for index, item in e.each_with_index; p index,item; end
<eval-in> Hanmac => "a" ... (https://eval.in/177809)
<shevy> dunno
<shevy> I don't use for in ruby
<shevy> Hanmac I am out of a GUI in ruby :(
<shevy> ruby-gnome does not compile
dingus_khan has joined #ruby
<jhass> shevy: start a proper GObject Introspection binding for ruby
Wolland has quit [Ping timeout: 264 seconds]
<Hanmac> shevy i commited some stuff for rwx less then 2 days ago ... some files are more commented than code lines ;p
<shevy> jhass but I don't know C
bricker`LA has joined #ruby
<jhass> uhm, use C++?
<shevy> ewwwww
<wasamasa> hmm, feels like I'm halfway done with this really yucky ruby script that's supposed to process my manga for my kobo
<wasamasa> time to take a break
<shevy> lemme look at it!
heftig has quit [Ping timeout: 272 seconds]
dingus_khan has quit [Ping timeout: 260 seconds]
msmith_ has quit [Remote host closed the connection]
icebourg has quit []
<wasamasa> not yet, only once I'm finished
InfraRuby has joined #ruby
<shevy> :(
<shevy> I am rewriting two separate .rb files into one common base
<Hanmac> shevy and where is the problem?
<shevy> it's no fun
<shevy> I could have left them as separate
<shevy> but it felt unclean to duplicate functionality
autonomousdev has joined #ruby
towbes has joined #ruby
rubytor has joined #ruby
<Hanmac> currently my different scripts that make graphs like my gemtree or my classtree scripts are separate too, but they might be bundled later into a gem or something similar
devdazed has quit [Ping timeout: 260 seconds]
kaspertidemann has quit []
aef has quit [Remote host closed the connection]
comma8 has joined #ruby
yfeldblu_ has quit [Ping timeout: 246 seconds]
aef has joined #ruby
craigbowen3 has joined #ruby
nateberkopec has joined #ruby
aef has quit [Remote host closed the connection]
heftig has joined #ruby
hfp_ has joined #ruby
devdazed has joined #ruby
timonv_ has quit [Remote host closed the connection]
hfp has quit [Ping timeout: 245 seconds]
einarj has quit [Remote host closed the connection]
timonv_ has joined #ruby
Mon_Ouie has joined #ruby
hfp has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
tylerkern has joined #ruby
hfp_ has quit [Ping timeout: 244 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
hfp- has joined #ruby
hfp has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
towbes has quit [Ping timeout: 260 seconds]
starkhalo has quit [Ping timeout: 255 seconds]
s2013 has joined #ruby
hfp has joined #ruby
aef has joined #ruby
bmurt has joined #ruby
dingus_khan has joined #ruby
hfp| has joined #ruby
benzrf|offline is now known as benzrf
mary5030 has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
hfp_ has joined #ruby
hfp- has quit [Ping timeout: 240 seconds]
anaeem1__ has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
hfp has quit [Ping timeout: 260 seconds]
Cyrax_ has quit [Ping timeout: 264 seconds]
arya_ has quit [Ping timeout: 272 seconds]
dingus_khan has quit [Ping timeout: 246 seconds]
Cyrax_ has joined #ruby
jottr has joined #ruby
hfp| has quit [Ping timeout: 260 seconds]
anaeem1 has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anaeem1 has quit [Remote host closed the connection]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
heftig has quit [Ping timeout: 272 seconds]
bmurt has quit []
Cyrax_ has quit [Ping timeout: 255 seconds]
InfraRuby has left #ruby [#ruby]
GriffinHeart has joined #ruby
yfeldblum has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
Cyrax_ has joined #ruby
GriffinHeart has quit [Ping timeout: 246 seconds]
mrommelf has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
s2013 has quit [Ping timeout: 240 seconds]
abigailj7399 has quit [Remote host closed the connection]
bootstrappm has joined #ruby
thomasxie has quit [Quit: Leaving.]
heftig has joined #ruby
einarj has joined #ruby
tradekraft has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
britneywright has joined #ruby
arya_ has joined #ruby
nateberkopec has joined #ruby
rubytor has quit [Quit: No Ping reply in 180 seconds.]
rubytor has joined #ruby
timonv_ has quit [Remote host closed the connection]
vsoftoiletpaper has joined #ruby
CorpusCallosum has joined #ruby
Wolland has joined #ruby
endash has joined #ruby
aleatorik has joined #ruby
InfraRuby has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bootstrappm has quit [Ping timeout: 264 seconds]
einarj has quit [Ping timeout: 272 seconds]
TieSoul_ has joined #ruby
philcrissman has joined #ruby
Mattx has quit [Ping timeout: 246 seconds]
kaspergrubbe_ has joined #ruby
rubytor has quit [Ping timeout: 240 seconds]
Wolland has quit [Ping timeout: 250 seconds]
t_p has quit [Ping timeout: 272 seconds]
Mattx has joined #ruby
Mattx has joined #ruby
Mattx has quit [Changing host]
TieSoul has quit [Ping timeout: 255 seconds]
tjr9898_ has joined #ruby
Advocation has quit [Quit: Advocation]
s2013 has joined #ruby
spastorino has joined #ruby
philcrissman has quit [Ping timeout: 255 seconds]
endash has quit [Ping timeout: 264 seconds]
jokke has joined #ruby
tjr9898 has quit [Ping timeout: 240 seconds]
rubytor has joined #ruby
krisquigley has joined #ruby
heftig has quit [Ping timeout: 272 seconds]
jxf has joined #ruby
cpruitt has joined #ruby
cpruitt has quit [Client Quit]
jottr has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
fgo has quit []
Nex has quit [Quit: Verlassend]
MatthewsFace has joined #ruby
s2013 has quit [Ping timeout: 255 seconds]
CorpusCallosum has quit [Ping timeout: 255 seconds]
hakunin has quit []
rubytor has quit [Quit: No Ping reply in 180 seconds.]
build-system has joined #ruby
SilkFox_ has joined #ruby
Xeago_ has joined #ruby
georgelappies has quit [Remote host closed the connection]
MatthewsFace has quit [Quit: This computer has gone to sleep]
kaspergrubbe_ has quit []
craigbowen3 has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
mijicd has joined #ruby
kaspergrubbe_ has joined #ruby
sandelius has joined #ruby
Xeago has quit [Ping timeout: 272 seconds]
codebrah has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
heftig has joined #ruby
timonv_ has joined #ruby
eka has quit [Ping timeout: 272 seconds]
CorpusCallosum has joined #ruby
timfoo has joined #ruby
jottr has joined #ruby
ghr has joined #ruby
SilkFox_ has quit [Ping timeout: 250 seconds]
eyeamaye has joined #ruby
eka has joined #ruby
sevenseacat has quit [Quit: Leaving.]
TieSoul_ has quit [Ping timeout: 255 seconds]
ghr has quit [Ping timeout: 250 seconds]
Logician is now known as magic
mr_snowf1ake has joined #ruby
krisquigley has joined #ruby
kaspergrubbe_ has quit [Remote host closed the connection]
tokik has quit [Ping timeout: 240 seconds]
TieSoul has joined #ruby
SilkFox_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
danijoo has joined #ruby
kaspergrubbe_ has joined #ruby
CorySimmons has joined #ruby
b00stfr3ak has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
kaspergrubbe_ has quit [Remote host closed the connection]
heftig has quit [Ping timeout: 272 seconds]
yeticry has joined #ruby
koderok has joined #ruby
asdasdasdasss has joined #ruby
koderok has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 255 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
WormDr1nk has joined #ruby
emmesswhy has joined #ruby
asdasdasdasss has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby
flowerhack has quit [Remote host closed the connection]
W0rmDr1nk has quit [Ping timeout: 250 seconds]
WormDrink has quit [Ping timeout: 272 seconds]
codebrah has quit [Quit: Computer has gone to sleep.]
cpruitt has joined #ruby
InfraRuby has left #ruby [#ruby]
kireevco has joined #ruby
flowerhack has joined #ruby
Jackneill has quit [Ping timeout: 244 seconds]
atmosx has joined #ruby
lw has joined #ruby
brianherman has joined #ruby
einarj has joined #ruby
cpruitt has quit [Client Quit]
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lw has quit [Client Quit]
ptrrr has joined #ruby
Wolland has joined #ruby
TieSoul has quit [Remote host closed the connection]
sandelius has joined #ruby
kaspergrubbe_ has joined #ruby
TieSoul has joined #ruby
<TieSoul> Hey guys
nszceta_ has quit [Ping timeout: 264 seconds]
einarj has quit [Ping timeout: 272 seconds]
<build-system> Hi.
nszceta has joined #ruby
banister has joined #ruby
Wolland has quit [Ping timeout: 264 seconds]
zak_ has joined #ruby
kireevco has quit [Quit: Leaving.]
xcv has quit [Remote host closed the connection]
<havenwood> helllo
<TieSoul> https://gist.githubusercontent.com/TieSoul/7a66f3172198fdf7d57b/raw/f8f6a3abbe67166fffea1486be9e623abdacac26/obf.rb I wrote some obfuscated ruby code here. If you can figure out what it does without running it you win a cookie. If this isn't appropriate for this chatroom I'm sorry.
skysploit has joined #ruby
zak_ is now known as Zakya
tylerkern has joined #ruby
parzo has joined #ruby
SilkFox has joined #ruby
eka has quit [Remote host closed the connection]
W0rmDr1nk has joined #ruby
<Hanmac> hah i didnt know that chr does can take an encoding parameter ;P
o0oo0o has quit [Remote host closed the connection]
SilkFox_ has quit [Ping timeout: 272 seconds]
timonv_ has quit [Remote host closed the connection]
towbes has joined #ruby
towbes has joined #ruby
towbes has quit [Remote host closed the connection]
o0oo0o has joined #ruby
ghr has joined #ruby
parzo has quit [Ping timeout: 244 seconds]
e4xit_ has joined #ruby
<build-system> jesus
e4xit has quit [Ping timeout: 255 seconds]
e4xit_ is now known as e4xit
aleatorik has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago_ has quit [Remote host closed the connection]
devdazed has quit [Ping timeout: 272 seconds]
asmodchan has joined #ruby
kaspertidemann has joined #ruby
<wasamasa> shevy: I'm almost done, just fixing some bugs
<shevy> \o/
<shevy> I did not continue on my rewrite the two separate .rb files
Takle has quit [Remote host closed the connection]
dc_ has joined #ruby
devdazed has joined #ruby
<shevy> I should never have started it
craigbowen3 has joined #ruby
vsoftoiletpaper has quit []
towbes has joined #ruby
IceDragon has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
asmodlol has quit [Ping timeout: 272 seconds]
nateberkopec has quit [Quit: Leaving...]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 260 seconds]
jxf has quit [Ping timeout: 245 seconds]
axsuul has joined #ruby
tylerkern has joined #ruby
amclain has joined #ruby
asdasdasdasss has joined #ruby
eeezkil has joined #ruby
vsoftoiletpaper has joined #ruby
craigbowen3 has quit [Ping timeout: 245 seconds]
axsuul has quit [Ping timeout: 272 seconds]
<wasamasa> here it is
<wasamasa> mixing up Dir, File, FileUtils and Pathname
TieSoul has quit [Ping timeout: 255 seconds]
mary5030 has joined #ruby
<wasamasa> shevy: rate its suckiness
claymore has joined #ruby
<shevy> hmm
mary5030 has quit [Ping timeout: 272 seconds]
<shevy> I would have written a class
<shevy> and then: include FileUtils
<wasamasa> include MakeFileHandlingSuckLess
TieSoul has joined #ruby
dingus_khan has joined #ruby
<shevy> hehe
<shevy> we could write such a gem
<shevy> problem is that we'd then have to include it all the time
<wasamasa> doesn't matter, look at how many gems I've included
<Hanmac> wasamasa: why "/tmp/beam/unpack" hardcoded like that? just use "Dir.mktmpdir"
<wasamasa> Hanmac: well, sure, I could have used mktmpdir with its prefix and postfix
<wasamasa> Hanmac: but it feels pointless to me with that API
hobo has joined #ruby
e4xit_ has joined #ruby
krisquigley has quit [Remote host closed the connection]
dingus_khan has quit [Ping timeout: 240 seconds]
lw has joined #ruby
Rejected has joined #ruby
agarie has joined #ruby
hellangel7 has joined #ruby
e4xit has quit [Ping timeout: 260 seconds]
e4xit_ is now known as e4xit
MatthewsFace has joined #ruby
Rejected has left #ruby [#ruby]
<Hanmac> wasamasa: why do you need that trash dir?
jxf has joined #ruby
<wasamasa> just a development thing
cajone has joined #ruby
<wasamasa> in case it crashes midprocess and I need to debug why
Gu_______ has joined #ruby
Gu_______ has quit [Max SendQ exceeded]
lw has quit [Ping timeout: 255 seconds]
maletor has joined #ruby
<Hanmac> hm i need to update my libarchive gem ... with that you might have it more easy than using that atool
newUser1234 has quit [Remote host closed the connection]
<wasamasa> I kind of doubt that since atool handles archives that bomb your cwd
<wasamasa> instead of unpacking cleanly to a directory
<cajone> guys how can I use gsub to remove from a give char to the end of the input, so say given a string "This is, a string" it would return "This is" so basically matching the comma and everything after it?
<jhass> cajone: .split(',', 2).first
<wasamasa> >> 'This is, a string'.sub(/,.*?$/, '')
<eval-in> wasamasa => "This is" (https://eval.in/177832)
kireevco has joined #ruby
<Hanmac> wasamasa: with my libarchive you can open an archive an handle it like an array ... like you can simply pull data out or push data in
<wasamasa> Hanmac: but does it handle nested archives?
sfate has joined #ruby
<wasamasa> Hanmac: and rar?
<cajone> jhass: , wasamasa: thanks guys !
<wasamasa> cajone: as jhass pointed out there's no need for regex
<Hanmac> wasamasa: how many nested do you mean? like a zip in a rar or like a tar.gz ?
<wasamasa> Hanmac: like cbz in cbz
<wasamasa> Hanmac: since I encounter this sometimes
<wasamasa> Hanmac: lazy people zipping chapter releases
<shevy> if I have a string x = "13436", how can I turn it into "13.436"? "13436".gsub(/(\d{3})/,'\\1.') turns it into this # => "134.36"
<shevy> though, perhaps I should start from the right side actually
charliesome has joined #ruby
<havenwood> >> 'This is, a string'.each_char.take_while { |c| c != ',' }.join
<eval-in> havenwood => "This is" (https://eval.in/177833)
<Hanmac> wasamasa: hm ok currently it does only open it
philcrissman has joined #ruby
<shevy> >> "13436".reverse.gsub(/(\d{3})/,'\\1.').reverse
<eval-in> shevy => "13.436" (https://eval.in/177834)
<Hanmac> cajone & wasamasa & havenwood
<Hanmac> >> 'This is, a string'[/(.*?),/,1]
<eval-in> Hanmac => "This is" (https://eval.in/177835)
<shevy> pretty awful but it works
timonv_ has joined #ruby
nateberkopec has joined #ruby
<wasamasa> Hanmac: which is why I walk over the extracted file hierarchy and look for other archives
<cajone> wasamasa: thanks, the string is actually a bit more complicated than my simple example, but I had not thought about split so that is good also
<Hanmac> wasamasa: hm yes you can do it with my gem too ... but without really extracting it ... (you only read it in ram)
<wasamasa> Hanmac: ah, nice
<wasamasa> Hanmac: I assume it doesn't hang on "wrong" file extensions, right?
amargherio has joined #ruby
<jhass> shevy: .sub(/(.*)(\d{3})$/, '\\1.\\2')
<shevy> aha
InfraRuby has joined #ruby
simonv3 has joined #ruby
<Hanmac> wasamasa: hm it might not crash, i need to test it ... that gem is not touched for a very long time ... i need to update it against my newer skills too
TieSoul has quit [Ping timeout: 255 seconds]
aleatorik has joined #ruby
<simonv3> Hey all, I'm trying to figure out if there's a way to create a recurring date in Ruby (or any other programming language, for that matter). For example, I'm only interested in the 10th of August every year, I don't really care about the year.
kireevco has quit [Quit: Leaving.]
<simonv3> Would I just store that as a date and add an arbitrary year, or as two separate values? Do Date objects allow for something like that?
philcrissman has quit [Ping timeout: 240 seconds]
<wasamasa> just create a new date object per year
<gzl> what's the reason for having first/last and not just using [0] and [-1]?
perrier has quit [Remote host closed the connection]
<simonv3> wasamasa: yeah I think I'm just hoping for something too magical
<Hanmac> gzl short for symbol & block
<wasamasa> simonv3: as for anything else we'd need moar context
techsethi has joined #ruby
Wolland has joined #ruby
Wolland has quit [Remote host closed the connection]
craigbowen3 has joined #ruby
<gzl> Hanmac: ah, makes sense. thanks.
<wasamasa> like how the hell such a thing should behave
heftig has joined #ruby
<Hanmac> >> ["Anton","Karl","Gustav", "Klaus"].group_by(&:first)
<eval-in> Hanmac => undefined method `first' for "Anton":String (NoMethodError) ... (https://eval.in/177837)
threesixes has joined #ruby
<jhass> gzl: I find it also more readable. Note they take parameters, you can do .first(10) or .last(5)
<wasamasa> do you want some sort of generator-like object that returns the next recurring date?
<jhass> gzl: which reads just like english
Wolland has joined #ruby
perrier has joined #ruby
<simonv3> No, it's basically a growing calendar - storing the date of first sowing and last sowing, and showing that each year.
mijicd has quit [Remote host closed the connection]
<gzl> jhass: sure, I agree.
<simonv3> (sorry and)
mikecmpbll has quit [Quit: i've nodded off.]
dh64 has quit [Remote host closed the connection]
<Hanmac> wasamasa: hm i might experiment with a DateTimeClass where you can have nil for some values ... and then you might have a check when is the "next Fr 13th" or "next time Dez 24th is a Monday", ;P
darkxploit has quit [Ping timeout: 272 seconds]
TieSoul has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
atmosx has quit [Ping timeout: 255 seconds]
atmosx has joined #ruby
Wolland has quit [Ping timeout: 260 seconds]
JoshGlzBrk has joined #ruby
bunzz has joined #ruby
mikecmpbll has joined #ruby
x1337807x has joined #ruby
craigbowen3 has quit [Ping timeout: 272 seconds]
heftig has quit [Ping timeout: 272 seconds]
<shevy> " Boost Python is used to bridge the C++ and Python code."
devdazed has quit [Ping timeout: 250 seconds]
<wasamasa> Hanmac: you don't know of any other gems that might simplify this code significantly, do you?
<wasamasa> Hanmac: like something offering me the option to traverse files in a directory or to find out whether a directory is empty
simonv3 has left #ruby [#ruby]
<Hanmac> hm currently no ... but i have a bit fever now, so i might not found all things
arya_ has quit [Read error: Connection reset by peer]
techsethi has quit [Quit: techsethi]
senayar has joined #ruby
arya_ has joined #ruby
zz_anildigital is now known as anildigital
<wasamasa> the only things I've found were https://github.com/tsigo/wriggle and https://github.com/lorensr/pow
kekek has joined #ruby
dc_ has quit [Remote host closed the connection]
Matadoer has joined #ruby
balazs has joined #ruby
devdazed has joined #ruby
<shevy> wasamasa have you made a gem yet?
<wasamasa> shevy: nope
nszceta has quit [Ping timeout: 246 seconds]
<wasamasa> shevy: only wrote some scripts like that one
<shevy> I make lots of tiny gems, nobody except me finds them useful
<shevy> before that, I modified all of ruby core classes
<shevy> I even added a Dir.empty? because I needed it
<shevy> oddly enough the implementation of it was like so
<shevy> _ = Dir[which_dir+'/**']
<shevy> _ = _.size < 1 ? true : false
asdasdasdasss has quit [Quit: Computer has gone to sleep.]
<shevy> where which_dir is the argument to the method
<shevy> and defaults to Dir.pwd
Xeago has joined #ruby
asdasdasdasss has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
darkxploit has joined #ruby
<wasamasa> most of your repositories are empty?
Xeago has quit [Remote host closed the connection]
craigbowen3 has joined #ruby
<ptrrr> why the redundant ternary?
<ptrrr> or is it redundant?
<jhass> it is
<wasamasa> shevy: assuming that's you: https://github.com/shevegen?tab=repositories
nszceta has joined #ruby
<shevy> wasamasa nah, gems
<wasamasa> also, why the hell does rubygems still link to the now defunct rubyforge
<shevy> ptrrr no idea, that was before I transitioned to use gems
<shevy> I no longer need my old modifications of the core stuff or uby
<shevy> *of ruby
<shevy> that was a weird typo
<ptrrr> is it common in ruby to read from _?
sfate has left #ruby [#ruby]
SchweetPapa has joined #ruby
<shevy> I like the name because I don't have to give it meaning
<Hanmac> wasamasa: you can look at one of my bigger repositories ;P https://github.com/Hanmac/rwx
<wasamasa> shevy: no wonder people don't like your gems :P
ta has joined #ruby
<shevy> :(
<jhass> ptrrr: we use _ for unused variables actually
<wasamasa> shevy: if there's no github link and the readme is a sludge of sentences
<jhass> ptrrr: for example in block args
<ptrrr> yes, but only writing, afaik?
<TieSoul> ooh I found a neat way to get a one without using any integers for very obfuscated code.
<shevy> wasamasa yeah I don't really use github unfortunately
<jhass> hash.each do |key, _| or hash.each do |key, _value|
<ptrrr> I mean, if it’s unused, you don’t read from it
<TieSoul> -~$$[$$]
<TieSoul> -~$$[$$$]
<TieSoul> *
ghr has joined #ruby
MatthewsFace has quit [Quit: Leaving]
<shevy> ptrrr I see _ more as a dump or a placeholder
asdasdasdasss has quit [Ping timeout: 260 seconds]
<shevy> but only _, not _foo anything
sfate has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
sfate_ has joined #ruby
<Hanmac> shevy _ is a special one because it does not warn about unused and other stuff
TieSoul_ has joined #ruby
craigbowen3 has quit [Ping timeout: 255 seconds]
nateberkopec has joined #ruby
sfate_ has quit [Client Quit]
ghr has quit [Ping timeout: 250 seconds]
TieSoul has quit [Ping timeout: 255 seconds]
hobo has left #ruby [#ruby]
havenwood has quit []
Zakya has left #ruby [#ruby]
arya_ has quit [Ping timeout: 260 seconds]
nateberkope has joined #ruby
nateberkopec has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eyeamaye has quit [Quit: Leaving.]
craigbowen3 has joined #ruby
<ptrrr> is there a reason for why _ is readable? Except for possibly implementation simplification?
arya_ has joined #ruby
nateberkope has quit [Ping timeout: 240 seconds]
<build-system> it's readable because it's one of the possible variable identifiers.
<ptrrr> so why is it one of the possible variable identifiers?
<build-system> it's just treated as a special case by the interpreter when it comes to shadowing other variables.
<ptrrr> ok, nm
kekek has quit [Quit: happy chatting]
<benzrf> >> -~$$[$$$]
<eval-in> benzrf => /tmp/execpad-0cb8b322b706/source-0cb8b322b706:2: `$]' is not allowed as a global variable name ... (https://eval.in/177839)
Wolland has joined #ruby
<benzrf> >> -~$$[$$]
<eval-in> benzrf => 1 (https://eval.in/177840)
<build-system> variables can be any UTF-8 character I believe.
Takle has joined #ruby
<build-system> they can't start with numbers though.
<build-system> that's the gist of it
<benzrf> > → = 3
<build-system> so, _ is a possible variable, just like _asd or ____python____ :P
<benzrf> >> → = 3
<eval-in> benzrf => 3 (https://eval.in/177841)
Hobogrammer has joined #ruby
<ptrrr> I figured they could’ve added some special case when reading variables
eyeamaye has joined #ruby
<benzrf> >> def foo(f); f.(); end; def →(v); ->{v}; end; foo → 3
<eval-in> benzrf => 3 (https://eval.in/177842)
bmurt has joined #ruby
nouitfvf6 has joined #ruby
sfate has quit [Quit: Mango IRC for iOS and OS X, http://mediaware.sk/mango]
sfate has joined #ruby
arya_ has quit [Ping timeout: 260 seconds]
Wolland has quit [Ping timeout: 240 seconds]
<build-system> ptrrr: see this interesting question: http://stackoverflow.com/q/9559561
icebourg has joined #ruby
asdasdasdasss has joined #ruby
Takle has quit [Ping timeout: 255 seconds]
<ptrrr> I didn’t know _ was used like that by irb!
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
<ptrrr> IRC is incredibly useful for learning stuff.
starkhalo has joined #ruby
craigbowen3 has quit [Ping timeout: 240 seconds]
weems|nix has joined #ruby
charliesome has joined #ruby
flowerhack has quit [Read error: No route to host]
sfate has quit [Remote host closed the connection]
flowerha_ has joined #ruby
jamesfordummies has joined #ruby
sfate has joined #ruby
<benzrf> ptrrr: pry is considerably better than irb
nateberkopec has joined #ruby
<ptrrr> will check it out
jamesfordummies has quit [Read error: Connection reset by peer]
jxf has quit [Ping timeout: 260 seconds]
jamesfor_ has joined #ruby
Matadoer has quit [Remote host closed the connection]
Matadoer has joined #ruby
bmurt has quit []
jamesf___ has joined #ruby
jamesfor_ has quit [Ping timeout: 260 seconds]
mr_snowf1ake has quit [Ping timeout: 240 seconds]
jamesfor_ has joined #ruby
axsuul has joined #ruby
agarie has quit [Quit: Leaving...]
jame_____ has joined #ruby
mary5030 has joined #ruby
icebourg has quit []
wald0 has quit [Quit: Lost terminal]
jamesf___ has quit [Ping timeout: 272 seconds]
jamesfo__ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jkline has joined #ruby
CorySimmons has quit [Quit: Bye!]
jamesfor_ has quit [Ping timeout: 272 seconds]
jamesfordummies has joined #ruby
jame_____ has quit [Ping timeout: 260 seconds]
nfk has joined #ruby
charliesome has joined #ruby
charliesome_ has joined #ruby
jamesfo__ has quit [Ping timeout: 240 seconds]
jamesfordummies has quit [Client Quit]
St_Marx has quit [Quit: Ex-Chat]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nekolore has joined #ruby
Takle has joined #ruby
nekolore has left #ruby [#ruby]
lkba has quit [Ping timeout: 272 seconds]
charliesome has quit [Ping timeout: 245 seconds]
Matadoer has quit [Remote host closed the connection]
Matadoer has joined #ruby
St_Marx has joined #ruby
craigbowen3 has joined #ruby
Xeago has joined #ruby
GriffinHeart has joined #ruby
felgenh3 has joined #ruby
einarj has joined #ruby
Wolland has joined #ruby
craigbowen3 has quit [Ping timeout: 240 seconds]
axsuul has quit [Read error: Connection reset by peer]
JuanS has joined #ruby
felgenh3 has quit [Ping timeout: 240 seconds]
axsuul has joined #ruby
GriffinHeart has quit [Ping timeout: 260 seconds]
Takle has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 255 seconds]
IcyDragon has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
wallerdev has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
icebourg has joined #ruby
IceDragon has quit [Ping timeout: 240 seconds]
Matadoer has quit [Remote host closed the connection]
Matadoer has joined #ruby
icebourg has quit [Client Quit]
TheNet has joined #ruby
heftig has joined #ruby
jamesfordummies has joined #ruby
klaas has quit [Quit: ZNC - http://znc.sourceforge.net]
kenneth has quit [Ping timeout: 260 seconds]
abuzze_ has quit [Ping timeout: 272 seconds]
jamesfordummies has quit [Client Quit]
godd2 has joined #ruby
<shevy> it annoys me greatly that irb behaves differently
jxf has joined #ruby
<shevy> it should not automagically assign to _ when main ruby does not either
Snowstormer is now known as Xtine
Xtine is now known as Snowstormer
<godd2> You know what feature I'd like to see in irb? multi-line delayed execution
krisquigley has joined #ruby
<godd2> Maybe delimit a few lines of code with %% or something and then it runs the lines in between all at once
kenneth has joined #ruby
jamesfordummies has joined #ruby
<waxjar> you could do that by wrapping everything in a begin .. end block i suppose
<jamesfordummies> ari-_-e: when a class is instantiated, i'm guessing all unbound methods stored in the class are bound to the instance?
<godd2> oh I guess you're right
<ari-_-e> jamesfordummies: unbound methods?
kaspertidemann has quit []
craigbowen3 has joined #ruby
amtkhdkr has joined #ruby
<jamesfordummies> ari-_-e: you were the one who sent http://yugui.jp/articles/846 to me yesterday right
<jhass> jamesfordummies: no, the instance just contains a pointer to its class and methods are looked up there
<jamesfordummies> i can't remember
<ari-_-e> yeah
towbes has quit [Ping timeout: 272 seconds]
<jhass> jamesfordummies: as it goes for MRI implementation
Matadoer has quit [Remote host closed the connection]
<jamesfordummies> hm ok
Matadoer has joined #ruby
amtkhdkr has left #ruby [#ruby]
<ari-_-e> an unbound method is an instance method that is not yet bound to an actual instance
<jamesfordummies> right
ghr has joined #ruby
<jamesfordummies> but it's stored in the class
<ari-_-e> yeah
<ari-_-e> but yeah, the methods aren't really copied
wookiehangover has quit [Quit: i'm out]
<jamesfordummies> ok. just a representation
heftig has quit [Ping timeout: 272 seconds]
starkhalo has quit [Quit: WeeChat 1.0-rc2]
charliesome_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ari-_-e> >> String.instance_method(:length)
<eval-in> ari-_-e => #<UnboundMethod: String#length> (https://eval.in/177843)
bunzz has quit [Read error: No route to host]
<ari-_-e> "abc".method(:length)
wookiehangover has joined #ruby
<ari-_-e> >> "abc".method(:length)
<eval-in> ari-_-e => #<Method: String#length> (https://eval.in/177844)
<ari-_-e> >> "abc".method(:length).unbind
<eval-in> ari-_-e => #<UnboundMethod: String#length> (https://eval.in/177845)
ghr has quit [Ping timeout: 250 seconds]
codebrah has joined #ruby
<ari-_-e> >> String.instance_method(:length).bind("abc")
<eval-in> ari-_-e => #<Method: String#length> (https://eval.in/177846)
<jamesfordummies> this may be a somewhat stupid question - but although classes are "just objects", the ability to instantiate them and define methods for instances exists because they are "special" right?
<jamesfordummies> special according to the interpreter
<jamesfordummies> ari-_-e, jhass ^
<jhass> jamesfordummies: they have a few features you can't reimplement, yeah
<jhass> such as .allocate and holding methods
feloneousmonk is now known as tarcwynne
<jamesfordummies> jhass: and because you can't reimplement allocate, you can't reimplement instantiation
<jamesfordummies> ?
yfeldblum has joined #ruby
<jhass> yeah
<jamesfordummies> mmm
<ari-_-e> you can override new though
<jamesfordummies> right
<jamesfordummies> i wonder if this knowledge will ever come in handy :P
<build-system> it's pretty handy. you can use it to cache instances.
TieSoul_ has quit [Read error: Connection reset by peer]
Rollabunna has quit [Ping timeout: 255 seconds]
TieSoul has joined #ruby
<jamesfordummies> by overriding new you mean
heftig has joined #ruby
nateberkopec has quit [Quit: Leaving...]
<jamesfordummies> indeed
xcv has joined #ruby
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
<build-system> also, note that module doesn't implement new.
babykosh has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
<jamesfordummies> >> Module.new
<eval-in> jamesfordummies => #<Module:0x416e1d88> (https://eval.in/177847)
craigbowen3 has quit [Ping timeout: 246 seconds]
<jamesfordummies> ?
<jhass> >> Module.class
<eval-in> jhass => Class (https://eval.in/177848)
<jhass> so that's Class#new there ;)
gregf has quit [Quit: WeeChat 0.4.3]
<jamesfordummies> ah of course
<jhass> >> Module.new.new
<eval-in> jhass => undefined method `new' for #<Module:0x4177dd64> (NoMethodError) ... (https://eval.in/177849)
andriusfm has joined #ruby
<jamesfordummies> *meta*
<jhass> >> Class.new.new
<eval-in> jhass => #<#<Class:0x41f95e0c>:0x41f95de4> (https://eval.in/177850)
Panicky has quit [Read error: Connection reset by peer]
darkxploit has quit [Ping timeout: 272 seconds]
<jamesfordummies> hm
s2013 has joined #ruby
mercwithamouth has quit [Ping timeout: 246 seconds]
devdazed has quit [Ping timeout: 240 seconds]
<jamesfordummies> >> Class.new.new.class
<eval-in> jamesfordummies => #<Class:0x40925d98> (https://eval.in/177853)
elaptics`away is now known as elaptics
<jamesfordummies> >> Class.new.new.class.new.class.class
<eval-in> jamesfordummies => Class (https://eval.in/177854)
<Xeago> >> Class.new("Foo").new
<eval-in> Xeago => superclass must be a Class (String given) (TypeError) ... (https://eval.in/177855)
<jhass> .class.class will always give Class btw
<Xeago> >> Class.new(Array,"Foo").new
<eval-in> Xeago => wrong number of arguments (2 for 0..1) (ArgumentError) ... (https://eval.in/177856)
<Xeago> can you make named classes programatically?
<jhass> >> Foo = Class.new; Foo.new
<eval-in> jhass => #<Foo:0x41845d28> (https://eval.in/177857)
dingus_khan has joined #ruby
<Xeago> ahh
<jhass> not sure if it respects const_set
<Xeago> >> Class.new; _.new
<eval-in> Xeago => undefined local variable or method `_' for main:Object (NameError) ... (https://eval.in/177858)
<Xeago> bah
devdazed has joined #ruby
<jhass> Xeago: pry/irb please ;)
philcrissman has joined #ruby
<jamesfordummies> ergh
<jamesfordummies> my brain
<jamesfordummies> the rabbit hole is deep
KLVTZ has joined #ruby
nszceta has quit [Ping timeout: 264 seconds]
<Hanmac> jhass:
<Hanmac> >> x = Class.new; Object.const_set(:XYZ,x); x.name
<eval-in> Hanmac => "XYZ" (https://eval.in/177859)
<jamesfordummies> woah
<jamesfordummies> that's awesome
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
dingus_khan has quit [Ping timeout: 260 seconds]
codebrah has quit [Quit: Computer has gone to sleep.]
aleatorik has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nszceta has joined #ruby
senayar has quit [Remote host closed the connection]
philcrissman has quit [Ping timeout: 272 seconds]
darkxploit has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
kaspertidemann has joined #ruby
krisquigley has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
aleatorik has joined #ruby
duper has quit [Ping timeout: 260 seconds]
krisquigley has joined #ruby
axsuul has quit [Ping timeout: 250 seconds]
axsuul has joined #ruby
duper has joined #ruby
timonv_ has quit [Remote host closed the connection]
s2013 has quit [Ping timeout: 244 seconds]
s2013 has joined #ruby
dingus_khan has joined #ruby
<benzrf> no, that's terrible
<benzrf> that's horrible and it's evil
<benzrf> i hate it
georgelappies has joined #ruby
<jamesfordummies> benzrf: how can you create named classes programmatically
<benzrf> DON'T
felgenh3 has joined #ruby
<shevy> Class.new
<jamesfordummies> i don't *want* to. i'm just curious
<benzrf> >> Class.new :foo
<eval-in> benzrf => superclass must be a Class (Symbol given) (TypeError) ... (https://eval.in/177862)
<benzrf> >> Class.new :Foo
<eval-in> benzrf => superclass must be a Class (Symbol given) (TypeError) ... (https://eval.in/177863)
<benzrf> hmm ok
<benzrf> >> Class.new Object, :Foo
<eval-in> benzrf => wrong number of arguments (2 for 0..1) (ArgumentError) ... (https://eval.in/177864)
<benzrf> fassinating
soulcake has quit [Quit: Quack.]
maletor has quit [Quit: Computer has gone to sleep.]
sfate has left #ruby [#ruby]
soulcake has joined #ruby
<ptrrr> >> foo = Class.new Object
<eval-in> ptrrr => #<Class:0x41a05d34> (https://eval.in/177865)
pigram86 has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
pigram86 has left #ruby [#ruby]
<arup_r> Is there any difference between class A::B ; #code ;end and class A ; class B #code; end ; end ?
JuanS has quit []
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
<pipework> arup_r: You tell me, chum.
TieSoul has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
Wolland has joined #ruby
nateberkopec has joined #ruby
<arup_r> means ?
ericp4 has joined #ruby
<pipework> arup_r: yes
Pharaoh2 has quit [Read error: Connection reset by peer]
<arup_r> The main question that I forgot to ask is
InfraRuby has left #ruby [#ruby]
<centrx> arup_r, It references/defines the same object, but within A::B::C you can't reference B::X
<centrx> arup_r, Without using the full name A::B::X
Pharaoh2 has joined #ruby
<build-system> why is it horrible, benzrf?
<arup_r> Which one to use when ? What's the correct situation for what ?
<crome> arup_r: not much but there is a slight difference. in the first case A needs to exist, it can be a module or a class. in the second case A is always a class but you won't be able to reference other classess nested under A unless you use their full name
<pipework> centrx: It also isn't the same at all, in terms of constants.
<shevy> make[2]: Entering directory '/Depot/Temp/atk-2.13.3/atk'
<shevy> GISCAN Atk-1.0.gir
<shevy> ImportError: No module named site
<shevy> man...
<shevy> python is EVERYWHERE
Pharaoh2 has quit [Read error: Connection reset by peer]
<pipework> shevy: pls no pasting that much
<shevy> 3 lines man!
M-Technic has quit [Quit: leaving]
<arup_r> lol
Wolland has quit [Read error: Connection reset by peer]
Wolland_ has joined #ruby
<arup_r> crome: Thanks.. But I always got confused about the design decision..
Pharaoh2 has joined #ruby
<shevy> arup_r class Foo; class Bar is much easier to read and understand
Pharaoh2 has quit [Read error: Connection reset by peer]
<arup_r> Is this readability only matters ?
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
<arup_r> Now I am reading http://blog.rubybestpractices.com/posts/gregory/anonymous_class_hacks.html .. The question came from the below
<shevy> many more people will use class Foo; class Bar
<shevy> where exactly
<arup_r> class FreightOffer::Rail < FreightOffer
<arup_r> hard_constraint do |query|
<arup_r> end
<arup_r> query[:delivery] - query[:pickup] > 5.days
<arup_r> soft_constraint do |query|
<arup_r> query[:asking_price] < 5000.to_money
<arup_r> end
<arup_r> end
<arup_r> Opps! Sorry
<shevy> yeah that is awful
<shevy> you see that he contradicts himself in the same article
<arup_r> See the definition
<shevy> class MyReport < Fatty::Formatter
mr-foobar has quit [Quit: Leaving...]
<shevy> the second idiom is common, the first is not
<arup_r> I got shocked when I saw **class FreightOffer::Rail < FreightOffer**
klaas has joined #ruby
<arup_r> This is my exact pain code.. What's the code doing ?
Wolland_ has quit [Ping timeout: 272 seconds]
<crome> wow, I have never seen that structure
InfraRuby has joined #ruby
<arup_r> me too
<crome> moar way to write horrible ruby code \o/
<arup_r> Lol
<shevy> arup_r dunno, I suppose it subclasses
<arup_r> shevy: I am thinking to post in RubyTalk.. there author is available always
<arup_r> What do you think ?
<arup_r> Let him explain his code ...
nateberkopec has quit [Ping timeout: 240 seconds]
<shevy> what for
<shevy> I mean it is your interest
<arup_r> after seeing this code I forgot difference between class A::B ; #code ;end and class A ; class B #code; end ; end
<shevy> who uses class A::B
<shevy> you had no example for that
<shevy> the only example you had was:
<shevy> class A::B < C
<arup_r> I no.. It is a short code
<crome> it happens in rails
<arup_r> Know**
<shevy> rails is alien code
<pipework> arup_r: Look at your constants.
<arup_r> to make the idea is clear
<pipework> Inspect the shit out of them, that's how you'll know.
<arup_r> pipework you are a good teacher.. I am not getting you
jkline has quit [Quit: jkline]
<arup_r> my interest is the blog code
nat2610 has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
<arup_r> not mine A::B or class A; class b .. shit
<pipework> arup_r: Then perhaps that's a hint that you need more time to study ruby.
<Hanmac> rails does missuse autoload very often ... matz does not like autoload
<pipework> autoload is horrible.
<arup_r> +1 Hanmac
Pharaoh2 has joined #ruby
nbarnett has joined #ruby
* pipework explicitly requires his dependencies and handles their loading himself
<KLVTZ> is there a simple way for me to output my tinker code in pry to a file of my choice?
lkba has joined #ruby
<pipework> I'm fairly sure you can use .<shell_command>
Takle has joined #ruby
<arup_r> pipework: Good advise
<arup_r> But this code is not natural one.. :-) talking about the blog
<jhass> KLVTZ: help save-file
jkline has joined #ruby
<nbarnett> hi guys just wanted an opnion about rundeck, what's tool to programmatically automate RunDeck
tectonic has joined #ruby
AlexRussia has quit [Remote host closed the connection]
_lazarevsky_ has joined #ruby
<_lazarevsky_> hello all
<pipework> nbarnett: crond
<pipework> crontab bru!
<_lazarevsky_> pipework: howzit boet
<_lazarevsky_> :P
AlexRussia has joined #ruby
<nbarnett> crontab best to automate RunDeck (why ?)
<nbarnett> just vurious
<nbarnett> curious
<_lazarevsky_> I have two arrays of strings. I would like to get the intersection of the arrays (values contained in both arrays)
<_lazarevsky_> how can i do that?
<pipework> nbarnett: You're the one wanting to automate it running.
<_lazarevsky_> obviously I can write my own method to do that but Im looking for a built in function
<_lazarevsky_> thanks
<pipework> Or are you asking me why use crontab?
<pipework> _lazarevsky_: &
<nbarnett> ok. was sort of looking to programmatically automate Rundeck via Rest API or Java etc.
nat2610 has quit [Quit: Leaving.]
<pipework> >> [1,2,3] & [1,3]
<eval-in> pipework => [1, 3] (https://eval.in/177873)
top4o has joined #ruby
nat2610 has joined #ruby
timonv_ has joined #ruby
<_lazarevsky_> pipework: thanks bru :)
<_lazarevsky_> pipework: you are southy?
<_lazarevsky_> you a*
nbarnett has quit [Remote host closed the connection]
<pipework> _lazarevsky_: I don't know what that means.
<pipework> What is a southy?
<_lazarevsky_> pipework: south african
<pipework> _lazarevsky_: Oh, unfortunately I'm a whilte male american slob.
nbarnett has joined #ruby
eyeamaye has quit [Quit: Leaving.]
<_lazarevsky_> pipework: I'm a white male south african slob myself :) You said bru
<_lazarevsky_> bru is the english south african equivalent of dude
<_lazarevsky_> kk
<_lazarevsky_> thanks for yer help
<pipework> Ah quite. Stay frosty.
nbarnett has quit [Remote host closed the connection]
PsionTheory has joined #ruby
eyeamaye has joined #ruby
krisquigley has quit [Remote host closed the connection]
krisquigley has joined #ruby
tectonic has quit []
<shevy> a southy
autochthon has quit [Remote host closed the connection]
<shevy> Texas
timonv_ has quit [Ping timeout: 260 seconds]
craigp has joined #ruby
chipotle has joined #ruby
<shevy> is this not a pretty homepage
<centrx> that print statement is far to the right, tldr
andriusfm has quit [Quit: Leaving]
<shevy> unfortunately that new page is also slower than the old one :(
HiMyNameIs has joined #ruby
<HiMyNameIs> sup
<arup_r> shevy: Now I understood
<arup_r> that blog code
tectonic has joined #ruby
<HiMyNameIs> slime shay here. what language you all using?
<centrx> rubby
<HiMyNameIs> no you should be using javascript. it is cross platform
<KLVTZ> So save-file can save input or output, but can it append results the same way i see it in pry?
<centrx> rubby is cross platform
<KLVTZ> like 100% mirror of pry input and output?
<HiMyNameIs> rubby not cross deplloyable holmes. Cross platorm is in your dreams without deployment.
<HiMyNameIs> gotta have to install a bunch of sheet before ruby will run. Javascript good 2 go. know wat i'm sayin?
<shevy> HiMyNameIs ruby works on windows
<HiMyNameIs> oh no you didnt
decoponio has quit [Quit: Leaving...]
timonv_ has joined #ruby
<HiMyNameIs> oh no you didnt say window
b__ has quit [Ping timeout: 240 seconds]
<arup_r> I have class A:class B;end end . Now can I say, class A::B ; end is I am reopening the existing class A::B ? Today I am bit confused in Ruby.. I don't know why
<shevy> you wrote cross platform HiMyNameIs
postmodern has joined #ruby
<shevy> arup_r you can test it
<shevy> >> class A; class B; end; end; class A::B; FOO = 'bar'; end; A::B.constants
<eval-in> shevy => [:FOO] (https://eval.in/177882)
<shevy> see
<shevy> tested it.
<HiMyNameIs> just sayin you should all be using javascript wherever you using ruby.
<shevy> HiMyNameIs you did not provide reasons
<wasamasa> HiMyNameIs: nope
<HiMyNameIs> allabout the json holmes.
<shevy> you can use json in ruby as well
<KLVTZ> HiMyNameIs: WhatIsYourName ?
<HiMyNameIs> json already parsed for javascript holmes. Not parsed for ruby
<HiMyNameIs> slim shady G
jmbrown412 has joined #ruby
<KLVTZ> of course!
<wasamasa> the things I'd do if I had +o...
<HiMyNameIs> json data is javascript code. That's deep holmes.
apeiros has joined #ruby
<arup_r> >> class A; class B ; FOO = 10; end; end ; class A::B: FOO = 11 ;end : puts A::B::FOO
<eval-in> arup_r => /tmp/execpad-d8df0e94ee06/source-d8df0e94ee06:2: syntax error, unexpected ':', expecting '<' or ';' or '\n' ... (https://eval.in/177883)
balazs has quit [Ping timeout: 255 seconds]
<arup_r> >> class A; class B ; FOO = 10; end; end ; class A::B; FOO = 11 ;end ; puts A::B::FOO
<eval-in> arup_r => /tmp/execpad-e25de4840800/source-e25de4840800:2: warning: already initialized constant A::B::FOO ... (https://eval.in/177884)
<arup_r> F*** What's wrong.. :-(
<HiMyNameIs> eval-in. why you disrespecting me dawg?
<HiMyNameIs> why you put code in my face like htat?
<HiMyNameIs> that code not javascript
<apeiros> arup_r: it tells you
einarj has joined #ruby
<apeiros> you assign twice to the same constant
<arup_r> shevy tested
<arup_r> yes I noticed it
<HiMyNameIs> aight. I'm out of here
skaflem has quit [Quit: Leaving]
HiMyNameIs has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<arup_r> Now I understood
<_lazarevsky_> pipework: hey man. One more question
<arup_r> shevy is awesome
<_lazarevsky_> pipework: I think I want to be able to create a hash of hashes
<pipework> _lazarevsky_: doable
<_lazarevsky_> pipework: I want to be able to say hashes["key"]
<_lazarevsky_> and get the subhash as a return value
<pipework> doable
<_lazarevsky_> I went about doing it like this
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> lol
<_lazarevsky_> hash = {"key1": { attr1: "va;"}, "key2" : {attr1: "val}}...
<_lazarevsky_> is that the correct way of doing it?
<_lazarevsky_> or should I create an array of hashes?
babykosh has quit [Quit: babykosh]
<_lazarevsky_> Im new to ruby tbh
<pipework> _lazarevsky_: Give it a go and try it out.
<apeiros> _lazarevsky_: => instead of :
<_lazarevsky_> ya I forgot about the ruby console
jkline has quit [Quit: jkline]
<arup_r> pipework: Learning Ruby hard.. Trust me.
towbes has joined #ruby
towbes has joined #ruby
<pipework> arup_r: I don't agree. It's hard if it's your first or one of your first languages, but all in all, it's the easiest language I've learned.
<_lazarevsky_> pipework: bingo :)
nouitfvf6 has quit [Ping timeout: 240 seconds]
fold has quit [Ping timeout: 272 seconds]
newUser1234 has joined #ruby
<arup_r> Lol.. My poor english
<shevy> arup_r ruby will be simple if you keep it simple
einarj has quit [Ping timeout: 250 seconds]
<arup_r> pipework: I meant I am putting too much effort.. to learn Ruby....
<arup_r> I didn't mean it is hard language..
<pipework> arup_r: Oh, then pick a different language.
<arup_r> I mean I am trying hard
<apeiros> ohai Xeago :)
<pipework> Perhaps python, it's a good language for beginners to learn.
<shevy> arup_r you learn stuff that is not important
<apeiros> oooh
<Xeago> easier than inspecting after their javascript runs :)
<Xeago> apeiros: hai :)
<apeiros> is this what I think it is?
<Xeago> it needs some modifications on osx to open vlc properly
<apeiros> a "make my live with twitch a *lot* easier" bash script?
<Xeago> yea
robscormack has quit [Quit: This computer has gone to sleep]
<Xeago> it isn't what I'd want
einarj has joined #ruby
<Xeago> I'd prefer something more interactive to select
<pipework> _lazarevsky_: As a hint, ruby's 1.9 hash syntax {lol: 'wat'} is for when your keys are symbols. If they are anything else, use hashrockets {'hi' => 'wat'}
<Xeago> it's a bit innocuous --game foo, ^w^w, type name
eyeamaye has quit [Quit: Leaving.]
<arup_r> shevy I didn't get you :-(
<shevy> arup_r the code above
<shevy> <arup_r> class FreightOffer::Rail < FreightOffer
<shevy> you focus on the wrong things
<arup_r> Humm..
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
georgelappies has quit [Ping timeout: 246 seconds]
<pipework> arup_r: What are you using to learn ruby?
<arup_r> Actually I was reading the blog.. but the code suddenly looks odd to me
<arup_r> My daily food.
jmbrown412 has quit [Remote host closed the connection]
<pipework> You're probably using something that sucks for teaching ruby.
<arup_r> pipework: I earn money to carry my family using Ruby
jmbrown412 has joined #ruby
<shevy> arup_r go write more ruby code yourself
<arup_r> But yes.. My coworker are not helpful.. :-(
<shevy> then you don't have to worry about other people's awful code
<arup_r> shevy doing so..
vsoftoiletpaper has quit []
britneywright has joined #ruby
vsoftoiletpaper has joined #ruby
<arup_r> started working in a Gem .. with one people..
<pipework> arup_r: You should use better resources to learn ruby.
<arup_r> He is very helpful
jkline has joined #ruby
robbyoconnor has quit [Excess Flood]
jkline has quit [Client Quit]
skysploit has quit [Remote host closed the connection]
<arup_r> pipework: Give me such resource links
robbyoconnor has joined #ruby
vsoftoiletpaper has quit [Read error: Connection reset by peer]
skysploit has joined #ruby
vsoftoil_ has joined #ruby
sfate has joined #ruby
skysploit has quit [Changing host]
skysploit has joined #ruby
<pipework> arup_r: I suggest reading only the first half of 'metaprogramming ruby', and then having the ruby pickaxe on hand for reference. After that, get 'The well-grounded rubyist'.
britneywright has quit [Client Quit]
<pipework> When you've finished those, there's more.
darkness has joined #ruby
benlieb has joined #ruby
darkness is now known as Guest81558
Guest81558 has quit [Max SendQ exceeded]
hellangel7 has quit [Ping timeout: 272 seconds]
<arup_r> 'The well-grounded rubyist'. My first book
<shevy> arup_r did you publish the gem yet
jmbrown4_ has joined #ruby
jmbrown412 has quit [Read error: Connection reset by peer]
<arup_r> I learned from there
<arup_r> shevy: working on an existing gem.. Just started
anaeem1 has joined #ruby
<arup_r> I will add some new features there and mostly re-factoring
hellangel7 has joined #ruby
<arup_r> I was reading some theory behind it
Wolland has joined #ruby
<arup_r> I didn't push anything.. But I will
hellangel7 has quit [Max SendQ exceeded]
bricker`LA has quit [Ping timeout: 245 seconds]
<arup_r> pipework: "When you've finished those, there's more" Tell me these
hellangel7 has joined #ruby
<pipework> arup_r: I'm suspect that you haven't finished the rest.
robbyoconnor has quit [Ping timeout: 246 seconds]
Hobogrammer has quit [Read error: Connection reset by peer]
mijicd has joined #ruby
skysploit has quit [Ping timeout: 272 seconds]
<arup_r> David A Black is my favorite author..
<arup_r> and Paolo too
<arup_r> the other one I didn't
abuzze has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
Morkel has joined #ruby
abuzze has quit [Remote host closed the connection]
Veidit has quit [Remote host closed the connection]
hellangel7 has joined #ruby
robbyoconnor has joined #ruby
abuzze has joined #ruby
jxf has quit [Ping timeout: 260 seconds]
<arup_r> pipework: I have short time memory lose problem.. sometimes I forgot things that i know
hellangel7 has quit [Max SendQ exceeded]
jamesfordummies has quit []
<arup_r> don't take it seriously
<arup_r> I knew it..but forgot it sometime
hellangel7 has joined #ruby
yliu has quit [Ping timeout: 255 seconds]
Wolland has quit [Ping timeout: 264 seconds]
yliu has joined #ruby
jmbrown4_ has quit [Remote host closed the connection]
hellangel7 has quit [Max SendQ exceeded]
georgelappies has joined #ruby
x1337807x has joined #ruby
jmbrown412 has joined #ruby
devdazed has quit [Ping timeout: 245 seconds]
Grantlyk has joined #ruby
balazs has joined #ruby
krisquigley has quit [Remote host closed the connection]
saarinen has joined #ruby
jmbrown412 has quit [Ping timeout: 240 seconds]
anaeem1__ has joined #ruby
devdazed has joined #ruby
x1337807x has quit [Ping timeout: 250 seconds]
georgelappies has quit [Remote host closed the connection]
lkba has quit [Read error: Connection reset by peer]
anaeem1 has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
jxf has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
kirun has quit [Quit: Client exiting]
sfate has quit [Ping timeout: 260 seconds]
Pharaoh2 has quit [Read error: Connection reset by peer]
Grantlyk has quit [Remote host closed the connection]
Grantlyk has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
Pharaoh2 has joined #ruby
ghr has joined #ruby
yacks has quit [Ping timeout: 255 seconds]
arup_r has quit [Quit: Leaving.]
lkba has joined #ruby
Matadoer has quit [Remote host closed the connection]
Matadoer has joined #ruby
craigbowen3 has joined #ruby
yfeldblum has joined #ruby
hellangel7 has joined #ruby
Advocation has joined #ruby
timonv_ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 250 seconds]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hellangel7 has quit [Max SendQ exceeded]
kaspertidemann has quit []
eka has joined #ruby
saarinen has quit [Quit: saarinen]
hellangel7 has joined #ruby
einarj_ has joined #ruby
einarj has quit [Read error: Connection reset by peer]
eka has quit [Client Quit]
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby
dingus_khan has quit [Remote host closed the connection]
bricker`LA has joined #ruby
philcrissman has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
devdazed has quit [Ping timeout: 244 seconds]
dc_ has joined #ruby
txdv has quit [Read error: Connection reset by peer]
andrewlio has quit [Quit: Leaving.]
ddv has quit [Changing host]
ddv has joined #ruby
benlieb has quit [Remote host closed the connection]
txdv has joined #ruby
21WAAXEH8 has joined #ruby
benlieb has joined #ruby
charliesome has joined #ruby
robscormack has joined #ruby
SilkFox has quit [Ping timeout: 260 seconds]
philcrissman has quit [Ping timeout: 255 seconds]
s2013 has left #ruby ["Leaving"]
chipotle has quit [Quit: cya]
darkxploit has quit [Ping timeout: 255 seconds]
PsionTheory has quit [Remote host closed the connection]
drawingthesun has quit [Ping timeout: 272 seconds]
drawingthesun has joined #ruby
eka has joined #ruby
21WAAXEH8 has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
benlieb has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
dc_ has quit []
havenwood has joined #ruby
Grantlyk has quit [Remote host closed the connection]
Grantlyk has joined #ruby
dh64 has joined #ruby
devdazed has joined #ruby
robscormack has quit [Quit: Leaving]
nszceta has quit []
mary5030 has quit [Remote host closed the connection]
_lazarevsky_ has quit [Ping timeout: 246 seconds]
dc_ has joined #ruby
CuriousMind has joined #ruby
Xeago has quit [Remote host closed the connection]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
newUser1234 has quit [Remote host closed the connection]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
anildigital is now known as zz_anildigital
kireevco has joined #ruby
KLVTZ has quit [Ping timeout: 250 seconds]
timonv_ has joined #ruby
babykosh has joined #ruby
nanoyak has joined #ruby
Advocation has quit [Quit: Advocation]
{xenomorph} is now known as xenomorph
Morkel has quit [Quit: Morkel]
spastorino has joined #ruby
hellangel7 has quit [Remote host closed the connection]
frankle has quit [Quit: Connection closed for inactivity]
Bumptious has quit [Remote host closed the connection]
maximski has joined #ruby
timonv_ has quit [Ping timeout: 264 seconds]
maximski has quit [Max SendQ exceeded]
JoshGlzBrk has quit [Read error: No route to host]
basiclaser has quit [Excess Flood]
aleatorik has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SilkFox has joined #ruby
maximski has joined #ruby
Zebroid has joined #ruby
JoshGlzBrk has joined #ruby
basiclaser has joined #ruby
maximski has quit [Max SendQ exceeded]
Wolland has joined #ruby
JoshGlzBrk has quit [Read error: No route to host]
JoshGlzBrk has joined #ruby
tylerkern has joined #ruby
JoshGlzBrk has quit [Max SendQ exceeded]
maximski has joined #ruby
flowerha_ has quit [Read error: Connection reset by peer]
flowerhack has joined #ruby
dingus_khan has joined #ruby
maximski has quit [Max SendQ exceeded]
JoshGlzBrk has joined #ruby
JoshGlzBrk has quit [Max SendQ exceeded]
babykosh has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
JoshGlzBrk has joined #ruby
JoshGlzBrk has quit [Max SendQ exceeded]
JoshGlzBrk has joined #ruby
JoshGlzBrk has quit [Max SendQ exceeded]
Pharaoh2 has quit [Read error: Connection reset by peer]
JoshGlzBrk has joined #ruby
Wolland has quit [Ping timeout: 260 seconds]
JoshGlzBrk has quit [Read error: Connection reset by peer]
<CuriousMind> Hello everybody, I have an error in my ruby code. Would someone be nice to help me fix it please? http://pastie.org/private/jbrbockvbquqrwlsod1hq
maximski has quit [Ping timeout: 250 seconds]
<CuriousMind> Note: I am new to programming/ruby programming so it would be nice to give me some notes/tips. Thank You.
krisquigley has joined #ruby
<jhass> The error means somewhere you add a number to nil
krisquigley has quit [Remote host closed the connection]
<CuriousMind> jhass: Please explain more.
krisquigley has joined #ruby
<CuriousMind> I added a number to nothing?
<canton7> is line 171 in the pastie the same as line 171 in the original file?
<jhass> yes
<canton7> line 170, rather
<CuriousMind> Hmmm, I don't think so canton7, I took a portion out of the game.
<canton7> then the error message can't really help us ;)
<CuriousMind> That is because the rest of the code was irrelevant methods, etc.
Bumptious has joined #ruby
<CuriousMind> No but it's that line.
<CuriousMind> I'm sure, I tested it.
<pipework> CuriousMind: If you won't share code, don't ask us to help fix it :)
<canton7> you should really be trying to cut things out until you've isolated a small bit of code which reproduces the problem, on its own. then you can send us that, if the problem doesn't become obvious ;)
<canton7> CuriousMind, "No but it's that line" <-- which line?
<CuriousMind> I did share it! >:((
<jhass> CuriousMind: so, @decks is an array of two element arrays, right?
<jhass> *@deck
<CuriousMind> canton7: The line the error is on right? It's 170, is that what you mean? I'm a bit confused.
Bumptious has quit [Remote host closed the connection]
<CuriousMind> jhass: Yes
<CuriousMind> jhass: Yes sir.
<canton7> CuriousMind, I asked if line 170 in the pastie was line 170 in your actual file. you said no. so I'm asking which line in the pastie line 170 in the file actually is
Grantlyk has quit [Ping timeout: 245 seconds]
<jhass> CuriousMind: so dealtCard on 162 is a two element array, right?
<canton7> "
<canton7> test123.rb:170: in '+': nil can't be coerced into Fixnum (TypeError)"
<canton7> so the problem occurs in test123.rb line 170
<CuriousMind> canton7: I don't think that matters because I took a section of code from my original source code. Ran it in the terminal to make sure I would get the error again and it's there.
lkba has joined #ruby
babykosh has joined #ruby
<canton7> CuriousMind, ok, so line 170 in the pastie is the same line 170 that the error refers to?
mrommelf has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> CuriousMind: or maybe a three element array since you push stuff onto it
<CuriousMind> jhass: dealtCard could be either a 3 element array or a 4 element array.
axsuul has quit [Read error: Connection reset by peer]
<CuriousMind> canton7: yes sir, yes.
<CuriousMind> jhass: Correct again.
axsuul has joined #ruby
pdtpatrick_ has joined #ruby
<CuriousMind> jhass: dealtCard could be either a three element array or a four element array.
<CuriousMind> It could be four elements because for example ["Ace", "Spades", 1, 11]
pdtpatrick_ has quit [Client Quit]
<CuriousMind> It could be three elements for example: ["6", "Hearts", 6]
Grantlyk has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> so, either dealtCard is not what you think it is on line 170 or @cpuOpponenetPoints isn't
<CuriousMind> The last element or the last two elements in the dealtCard array are values I use to add to @userPoints.
<jhass> print both using the `p` method to find out
ptrrr has quit [Quit: ptrrr]
<jhass> btw. most ruby people use underscore_case for variable names
kireevco has quit [Quit: Leaving.]
<CuriousMind> jhass: `p` method?
<CuriousMind> jhass: Please explain that.
<jhass> >> p "some_object"
<eval-in> jhass => "some_object" ... (https://eval.in/177921)
<canton7> it's line 169 I'm worried about. dealthCard has 4 elements at that point
<canton7> then you delete 1 of them
<canton7> and try and access the 4th element
<canton7> not surprisingly, it doesn't exist, and you're getting nil back
nat2610 has quit [Quit: Leaving.]
<jhass> yeah, those delete's look suspicious. What do you think Array#delete does?
nat2610 has joined #ruby
Lexun has joined #ruby
<CuriousMind> Sorry, I am only a beginner. I'm trying to learn how to program and I'm 17. :'(
<jhass> nothing to worry about
charliesome has joined #ruby
<jhass> we all started somewhere
<CuriousMind> canton7 and jhass What should I do? Is it bad? :(
<CuriousMind> Ok, Sorry.
<jhass> we're trying to show you how to debug your program
<CuriousMind> Ok, did I do a good job by any chance jhass?
<jhass> first program? I've seen much worse
<CuriousMind> I tried my best with making it an algorithm for it, putting spaces, not making messy code, etc.
<CuriousMind> jhass: It's not my first program. My first one was hello world but this is my first independent project.
<jhass> so debugging a program is basically asserting that your assumptions about it are true
<CuriousMind> Someone told me if I want to learn code, I need to work on something and it's sort of true.
<wasamasa> nothing teaches you programming like... programming
<wasamasa> especially if you push yourself while doing it
anaeem1__ has quit [Remote host closed the connection]
<jhass> so that's why I said to print your stuff with p
<CuriousMind> wasamasa: I thought reading books and watching videos would help but you're right. I was so intimidated my first time to code.
<CuriousMind> I would get so many errors coding, it was fustrating.
<wasamasa> CuriousMind: just keep on doing it :P
<jhass> inspect your program to find out its state is what you expect it to be at that point
CuriousMind has quit [Quit: Page closed]
<jhass> oO why did he left now
chipotle has joined #ruby
<wasamasa> because he closed the page of the webchat
<jhass> yeah but why
CuriousMind has joined #ruby
<CuriousMind> Sorry
<CuriousMind> Freaking, I pressed the wrong dang key.
<jhass> ;P
<CuriousMind> Are you guys still here?
<CuriousMind> So how is my program?
<CuriousMind> I know something was said about 169.
<jhass> so did you insert that p dealtCard already to check if it is what you think it is?
ari-_-e has quit [Quit: Leaving]
<jhass> and the p @cpuOpponentPoints to check that that is what you think it is?
<CuriousMind> jhass: I inserted a puts statement, is that fine?
<CuriousMind> jhass: Oh, use `p`? Not puts?
<shevy> p should invoke #inspect
<shevy> It is Kernel#p
<jhass> p has the benefit that it calls puts(obj.inspect); obj, that is giving a nicer representation for you and returning the object
<CuriousMind> shevy!!!!!!!!!! Hi Shevy!
<shevy> omg... so many !
<CuriousMind> Long time no see shevy!
<shevy> like a dog wagging its tail man
<CuriousMind> shevy: I'm Noob101, I changed my name.
<jhass> >> puts [1, 2 3]
<eval-in> jhass => /tmp/execpad-659b70f71b5d/source-659b70f71b5d:2: syntax error, unexpected tINTEGER, expecting ']' ... (https://eval.in/177922)
<jhass> >> puts [1, 2, 3]
<eval-in> jhass => 1 ... (https://eval.in/177923)
<shevy> somehow that card game was familiar
anaeem1_ has joined #ruby
<shevy> you should move on to do a new project man :P
<jhass> >> p [1, 2, 3]
<eval-in> jhass => [1, 2, 3] ... (https://eval.in/177924)
<jhass> compare the output
<CuriousMind> Ok I will use p.
flowerha_ has joined #ruby
mijicd has quit [Quit: leaving]
<CuriousMind> This is so confusing. :(
<shevy> nono
<shevy> puts is puts string
<shevy> put an object in its string representation
<shevy> #inspect you use when you want to get to the innards of the object
<shevy> see the use of p as a cheap way to debugging
flowerhack has quit [Ping timeout: 240 seconds]
<CuriousMind> shevy: What is the innards of an object?
<jhass> that's shevy speak
<CuriousMind> "shevy speak"?
<jhass> think about .inspect as giving you a representation of the object for you the programmer
krisquigley has quit [Remote host closed the connection]
<CuriousMind> Ohh wait, I think I sort of understand.
<jhass> so that you can better understand what it is
<shevy> innards is what you get when you dissect your object
<CuriousMind> puts prints the object after the object does whatever operation. p prints the object as it is Ex. 1 + 1 will be " 1 + 1"?
<wasamasa> phew
JoshGlzBrk has joined #ruby
<jhass> no, no
<CuriousMind> jhass :(
<jhass> 1 + 1 is not an object, it's an expression
<jhass> both will print 2
Ilyas has joined #ruby
<jhass> which is the resulting object of that expression
<waxjar> use puts if you want to show a string to the end user, use p if you want to show a string to the developer :)
<jhass> fixnums aren't a good example, since their .inspect == .to_s
<jhass> >> puts "foo\tabbar"
<eval-in> jhass => fooabbar ... (https://eval.in/177925)
<jhass> >> p "foo\tbar"
<eval-in> jhass => "foo\tbar" ... (https://eval.in/177926)
marr has joined #ruby
malcolmva has quit [Ping timeout: 272 seconds]
emmesswhy has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<CuriousMind> Good explanation jhass and waxjar. Thanks.
<CuriousMind> So what should I change in my code? Any suggestions?
<jhass> did you fix the bug?
anaeem1_ has quit [Remote host closed the connection]
<CuriousMind> I will add the `p` statement now.
<CuriousMind> jhass: I will try right now.
fold has joined #ruby
<wasamasa> Hanmac: I'm afraid I have to get back to your offer for your libarchive wrapper
<wasamasa> Hanmac: can't figure out how to pass unrar options to aunpack
<shevy> \o/
Lexun has quit [Quit: Manjaro-KDE user leaving!]
<shevy> die, aunpack, die!
<wasamasa> Hanmac: I've looked at its code and apparently the option for doing that only works for 7z archives for whatever reason
<shevy> you could use system 'tar' ?
<wasamasa> bsdtar doesn't support rar
<shevy> cool
<shevy> you use bsd!
<wasamasa> no, I use arch
<shevy> hmmmm
<wasamasa> arch uses this bsdtar thingie which wraps libarchive apparently
<shevy> aha
<wasamasa> so wait
<wasamasa> would this mean libarchive wouldn't help me since it wouldn't support rar either ._.
* wasamasa contemplates inventing a time machine and killing of that file format
mrommelf has joined #ruby
<CuriousMind> Hey guys, can you please give me a link to the pastie I shown you with revised code in it please? http://pastie.org/private/jbrbockvbquqrwlsod1hq#155
<CuriousMind> Please ping me, I am trying to debug my code in the meanwhile.
<CuriousMind> Wait I have an idea!
<CuriousMind> Should I eliminate the "dealtCard.delete(11)" and "dealtCard.delete(1)"?
<jhass> maybe
<jhass> explain why you do them
<jhass> explaining your own code to somebody makes you understand it better
<CuriousMind> jhass: Hm, I don't know.
<CuriousMind> jhass: I just delete that index because... uh.... Um.. I am not sure why..
<jhass> okay, let's look at the documentation again
InfraRuby has left #ruby [#ruby]
einarj_ has quit [Ping timeout: 250 seconds]
<CuriousMind> jhass: Well if I delete one index from a 4 element array, I can just add the third element.
einarj has joined #ruby
<CuriousMind> jhass Ok.
<jhass> "Deletes all items from self that are equal to obj."
<jhass> items from self that are equal to obj
<jhass> it says nothing about an index
<CuriousMind> jhass, I sadly don't understand.
<jhass> Array#delete doesn't take an index
<jhass> it takes a containing object
<CuriousMind> Self I think is the object we are talking about which can be any array element from @deck.
<jhass> no, self is the array itself
djbkd has joined #ruby
<jhass> >> a = [1, 3, 4, 5, 4]; a.delete(4); a
<eval-in> jhass => [1, 3, 5] (https://eval.in/177933)
<jhass> see, it deleted the two 4's, not 5
chrishough has joined #ruby
<CuriousMind> Which array? @deck is a dimensional array. dealtCard is a element from that dimensional array @deck.
<jhass> (which is at index 4, the fifth element)
<jhass> you're calling delete on the array in dealtCard, so it can only be that array
malcolmva has joined #ruby
<CuriousMind> jhass: Just trying to understand.
<CuriousMind> jhass: Hm, continue please.
<jhass> I thought I said what there's to say. What still bothers you?
<CuriousMind> jhass: Give me a second please/
chipotle has quit [Quit: cya]
<CuriousMind> jhass: So this is my goal.
<CuriousMind> jhass: I am going to try to figure out if I am trying to add a nil object to @userPoints or if whatever element in the array I want to delete doesn't exist.
<CuriousMind> jhass: I'm sure you explained to me what I should do but I am a little confuse and I wouldn't want you to repeat yourself so..
<jhass> focus on the line you get the error on
<CuriousMind> jhass: I am going to try to aim at delete, see what's up with that.
<CuriousMind> jhass: Right, right.
<jhass> what variables are involved there?
msmith has joined #ruby
<CuriousMind> jhass: The variable names with what kind of variable it is?
<CuriousMind> jhass: Only what type of variables?
InfraRuby has joined #ruby
<jhass> I'm saying you should focus on the variables/objects that are involved
<jhass> I don't see @userPoints on line 170
basiclaser has quit [Excess Flood]
tewlz has joined #ruby
sethen has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
codecop has quit [Quit: Išeinu]
<CuriousMind> jhass: 146-179, those are the lines for CPU so it could get it's own two cards.
<CuriousMind> jhass: Does that make sense?
maletor has joined #ruby
<CuriousMind> jhass: Lines 146 to 179, the computer gets two cards so you won't see @userPoints.
<CuriousMind> jhass: Hey I have to go iron shirts for work tomorrow but feel free to send me messages in the channel still.
<jhass> then why do you say things like "I am going to try to figure out if I am trying to add a nil object to @userPoints"
InfraRuby has left #ruby [#ruby]
<CuriousMind> jhass: I will try to reply as soon as I am done.
codebrah has joined #ruby
<CuriousMind> jhass: Sorry I meant CPU.
basiclaser has joined #ruby
InfraRuby has joined #ruby
<CuriousMind> jhass: Yeah I was just confused, that's why I said give me a second. I need to look over my code and stuff.
<jhass> CuriousMind: I could figure out the problem in less time than we spent here, it's not about spoonfeeding you the solution
<CuriousMind> jhass: True.
<jhass> I'm trying to teach you how to find out yourself
<CuriousMind> jhass: Yeah I suck at problem solving, I tend to come to others for help.
Aristata has joined #ruby
<jhass> programming is nothing but problem solving
<CuriousMind> jhass: jhass: Gotta go, sorry. But thank you for your help, I will try to respond in the channel again when I am done.
<CuriousMind> jhass: I have to iron shirts for work, thank you for the help.
<jhass> as it gets complex writing code is less than half the work, making it work is the real work
nateberkopec has quit [Ping timeout: 240 seconds]
olivier_bK has quit [Ping timeout: 260 seconds]
<Aristata> Hey guys, I am trying to build a system where users can message other users in different scenarios, like person messages, or a message with a resource attached to it like a meeting request. Anyone know of a place to research good methods? I have a system in place I built but I am looking to become more flexible. While I have some good ideas I would like to see if there is something that has already be implemented that might offer me some good ideas.
gregf has joined #ruby
Takle has quit [Remote host closed the connection]
Wolland has joined #ruby
spider-mario has quit [Remote host closed the connection]
chipotle has joined #ruby
eyeamaye1 has joined #ruby
Atrumx has joined #ruby
eyeamaye1 has quit [Client Quit]
Wolland has quit [Ping timeout: 272 seconds]
eyeamaye1 has joined #ruby
wchun has quit [Ping timeout: 250 seconds]
Fezzler has joined #ruby
mary5030 has joined #ruby
nateberkopec has joined #ruby
craigbowen3 has quit [Ping timeout: 244 seconds]
Grantlyk has quit [Ping timeout: 260 seconds]
codebrah has quit [Quit: Computer has gone to sleep.]
msmith has quit [Remote host closed the connection]
babykosh has quit [Quit: babykosh]
nateberkopec has quit [Ping timeout: 240 seconds]
craigp has quit [Remote host closed the connection]
InfraRuby has left #ruby [#ruby]
philcrissman has joined #ruby
britneywright has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Zebroid has quit [Remote host closed the connection]
weems|nix has quit [Remote host closed the connection]
philcrissman has quit [Ping timeout: 255 seconds]
Zebroid has joined #ruby
claymore has quit [Quit: Leaving]
skysploit has joined #ruby
froggy_ has joined #ruby
Mattx has quit [Ping timeout: 272 seconds]
bricker`LA has quit [Ping timeout: 272 seconds]
codebrah has joined #ruby
craigp has joined #ruby
Zebroid has quit [Ping timeout: 246 seconds]
craigp has quit [Remote host closed the connection]
froggy__ has quit [Ping timeout: 240 seconds]
ded has joined #ruby
devdazed has quit [Ping timeout: 250 seconds]
Atttwww has joined #ruby
kaspergrubbe_ has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
bmurt has joined #ruby
eka has joined #ruby
Zebroid has joined #ruby
devdazed has joined #ruby
Tricon has joined #ruby
Tricon has quit [Client Quit]
<CuriousMind> Aristata: Sounds great, I would help but I am a beginner programmer.
<CuriousMind> Aristata: Back to ironing my shirts!
<wasamasa> Aristata: well, since lots of things abuse xmpp...
<wasamasa> Aristata: you could read up on it and systems using it
<wasamasa> Aristata: such as whatsapp or facebook chat or jabber
motto has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m8 has quit [Ping timeout: 240 seconds]
iamayam has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest81845 has quit [Quit: No Ping reply in 180 seconds.]
Bumptious has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
benzrf|offline has quit [Ping timeout: 245 seconds]
Fezzler has quit [Quit: Leaving]
iamayam has joined #ruby
banister has joined #ruby
Grantlyk has joined #ruby
Mattx has joined #ruby
Mattx has quit [Changing host]
Mattx has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
n1lo has joined #ruby
devdazed has quit [Ping timeout: 260 seconds]
starkhalo has joined #ruby
sptq has quit [Ping timeout: 245 seconds]
<godd2> I finally got my sound gem to produce arbitrary frequencies on both windows and linux. https://github.com/RSMP/sound
<codebrah> does it work on osx
einarj has quit [Remote host closed the connection]
SilkFox has quit [Read error: Connection reset by peer]
motto has quit [Quit: Sto andando via]
Neomex has quit [Quit: Leaving]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
IcyDragon is now known as IceDragon
<godd2> Not yet. I have to code ffi to use native libraries on each platform, and I haven't even looked at the osx ones
<godd2> But it is in store for the future
sptq has joined #ruby
banister has joined #ruby
SilkFox has joined #ruby
tectonic has quit []
dc_ has quit [Remote host closed the connection]
devdazed has joined #ruby
<codebrah> cool :)
djbkd has quit [Remote host closed the connection]
<wasamasa> godd2: interesting, what technologies does it leverage on windows and linux?
SchweetPapa has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
Mattx has left #ruby ["Leaving"]
dc_ has joined #ruby
<godd2> in windows it uses the waveOut multimedia functions and on linux I'm using the ALSA functions
SchweetPapa has joined #ruby
<wasamasa> sounds like it requires the pulseaudio-alsa compatibility packages then
<wasamasa> I'll give it a try to figure out whether that's the case
frankle has joined #ruby
asmodchan has quit [Quit: Leaving]
<godd2> alright sounds awesome. Yea I'll need to know what this doesn't work on so that either a) I can inform the developer what they need or b) code for some other more ubiquitous library
ded has quit [Remote host closed the connection]
<wasamasa> works here, nice
<wasamasa> which doesn't prove it wouldn't work without that one, but still
<wasamasa> it should do it on ubuntu and such out of the box then I guess
<godd2> You might notice some minor clicking when the tone starts or finishes, and that has to do with the artifical pcm data Im sending the buffer
djbkd has joined #ruby
<wasamasa> well, that's fine
<godd2> In the future I'm going to clean that up
j416 has quit [Read error: Connection reset by peer]
j416_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<godd2> Im mostly writing this for my juicy gem: https://github.com/RSMP/juicy
<godd2> It's for song creation and I want songs to be playable with pure ruby
InfraRuby has joined #ruby
<wasamasa> mhh
<wasamasa> I suppose I could write my own generate_* methods and create something like synths, right?
mercwithamouth has joined #ruby
nateberkopec has joined #ruby
saarinen has quit [Ping timeout: 260 seconds]
Wolland has joined #ruby
<godd2> you could, as long as the format of the data comforms to the format the device expects
bricker`LA has joined #ruby
Takle has joined #ruby
<godd2> thats one area I'm going to be focusing on a lot so that you can jsut throw a file at a device and have it infer the format and play
build-system has quit [Quit: Leaving]
<wasamasa> like midi?
<godd2> yep
saarinen has joined #ruby
<wasamasa> cool, have to show this to a co-worker then :P
<wasamasa> he's somewhat interested in making bleeps with ruby, but only found outdated packages
<godd2> Yea there are a few rogue gems and libraries out there
<godd2> I'm hoping to ressurect the whole scene
mercwithamouth has quit [Ping timeout: 246 seconds]
<wasamasa> another thing I'm kind of interested in is working with csound
<godd2> That's why I started the Ruby Sound And Music Project as an organization on github
tectonic has joined #ruby
Wolland has quit [Ping timeout: 255 seconds]
<godd2> if you browse http://www.github.com/RSMP I forked and collected all those old sound or music libraries so I can branch off their ideas
codebrah has quit [Quit: Computer has gone to sleep.]
jmbrown412 has joined #ruby
<godd2> for instance the alsa-rawmidi repo had implemented a good chunk of the midi libraries for ALSA
<godd2> but it hasn't been touched in 3 years
jmbrown412 has quit [Remote host closed the connection]
Takle has quit [Ping timeout: 244 seconds]
einarj has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
arunagw has quit [Read error: Connection reset by peer]
emmesswhy has quit [Quit: Leaving]
jmbrown4_ has joined #ruby
jmbrown4_ has quit [Remote host closed the connection]
SilkFox has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
einarj has quit [Remote host closed the connection]
devdazed has quit [Ping timeout: 264 seconds]
<dopie> how can i use git to have staging in like dev.foobar.com and then deploy to www.foobar.com ?
toretore has quit [Quit: This computer has gone to sleep]
asdasdasdasss has quit [Quit: Computer has gone to sleep.]
devdazed has joined #ruby
asdasdasdasss has joined #ruby
<pipework> what does that have to do with git?
dorei has quit []
<pipework> shevy: That was nice.
<shevy> you scared me man
<shevy> it's like those cats at night that leap onto you on the streets outside
<dopie> pipework, its more of a capistrano thing i suppose?
InfraRuby has left #ruby [#ruby]
<pipework> dopie: Not necessarily, just trying to ask what role git plays in this.
<pipework> shevy: You're so cute. You should convince your wife to let you drink with me.
cobakobodob has quit [Read error: Connection reset by peer]
<dopie> well i upload the development site to dev.foobar.com add changes the client wants
jmbrown412 has joined #ruby
benzrf has joined #ruby
<dopie> when he approves the changes i made, i then merge the changes to master and deploy to www.foobar.com
<pipework> dopie: There's nothing particularly hard about pushing to one remote over another in git.
asdasdasdasss has quit [Ping timeout: 244 seconds]
<shevy> pipework so you want to punish me with marriage now :(
Fezzler has joined #ruby
<shevy> though I have to admit ... I am no longer able to drink as much as I used to
<pipework> shevy: I thought you were already dead and gone.
<shevy> ah, a couple more years still left before I have to go
cobakobodob has joined #ruby
<pipework> shevy: I'd gladly sing the song of my people at your social funeral.
<shevy> I hate funerals
<shevy> everyone has to be so solemn
jmbrown412 has quit [Remote host closed the connection]
<crome> haha
<dopie> ?
<crome> shevy: I can drink as much as I used to, I just feel significantly shittier afterwards ;>
<shevy> and afterwards everyone fattens up feasting stuff
<shevy> crome for me it just makes me dead tired and sleepy :(
jmbrown412 has joined #ruby
bogeyd6 has joined #ruby
<shevy> as if too much alcohol just drains the energy away
amargherio has quit [Ping timeout: 264 seconds]
starless has joined #ruby
Ilyas has quit [Ping timeout: 255 seconds]
bogeyd6 has quit [Read error: Connection reset by peer]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bogeyd6 has joined #ruby
<crome> back at uni I could easily pull the drinking until 6, cooking something filth drunk and then getting to work at 9 trick
bogeyd6 has quit [Remote host closed the connection]
matchaw has quit [Quit: No Ping reply in 180 seconds.]
* CuriousMind *looks for a bottle of alcohol*
<crome> I dont want to think what would happen if I tried that now ;>
<crome> +about
* CuriousMind *fails to find a bottle of alcohol* -2 exp
<CuriousMind> He he.
<crome> my fridge is pretty loaded
aleatorik has joined #ruby
<crome> I shall get something
<crome> brb
centrx has quit [Quit: Mead error: Connection reset by beer]
matchaw has joined #ruby
centrx has joined #ruby
<pipework> I always keep quiet, but you'll find me chuckling to myself at funerals.
bogeyd6 has joined #ruby
<crome> btw, I found this absolutely amazing app recently
<crome> untappd
klaas has quit [Quit: ZNC - http://znc.sourceforge.net]
<crome> you check-in the beer you drink, the basic idea is not so better than uploading a photo of what you eat
<crome> but
<crome> you get badges for different things, like 3 pubs in a night, 5 beers from the same country, etc
<crome> gamified drinking
<crome> brilliant
klaas has joined #ruby
sfate has joined #ruby
jmbrown412 has quit [Ping timeout: 260 seconds]
x1337807x has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
banister has joined #ruby
xcv has quit [Remote host closed the connection]
funburn has joined #ruby
codebrah has joined #ruby
apeiros has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
apeiros has joined #ruby
aniM has joined #ruby
drawingthesun has quit [Ping timeout: 264 seconds]
drawingthesun has joined #ruby
Wolland has joined #ruby
ti-wali has joined #ruby
aniM has quit [Remote host closed the connection]
Grantlyk_ has joined #ruby
jonr22 has joined #ruby
jonr22 has quit [Client Quit]
Grantlyk has quit [Read error: Connection reset by peer]
banister has quit [Ping timeout: 255 seconds]
JoshGlzBrk has joined #ruby
Wolland has quit [Read error: Connection reset by peer]
Wolland has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
banister has joined #ruby
danijoo has joined #ruby
sfate has quit [Quit: Mango IRC for iOS and OS X, http://mediaware.sk/mango]
sfate has joined #ruby
JoshGlzBrk has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: i've nodded off.]
jxf has quit [Ping timeout: 245 seconds]
Adran has joined #ruby
jhass is now known as jhass|off
babykosh has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coderhs has quit [Ping timeout: 260 seconds]
Zebroid has quit [Remote host closed the connection]
tylerkern has joined #ruby
TorpedoSkyline has joined #ruby
Grantlyk_ has quit [Ping timeout: 240 seconds]
gtrak has joined #ruby
JoshGlzBrk has joined #ruby
Grantlyk has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]