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
peret has quit []
Celm_ has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 244 seconds]
sshaw has quit [Quit: rcirc on GNU Emacs 24.3.1]
timonv_ has quit [Ping timeout: 240 seconds]
newUser1_ has quit [Ping timeout: 250 seconds]
newUser1234 has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
newUser1234 has quit [Ping timeout: 250 seconds]
newUser1_ has joined #ruby
<ari-_-e> asteve: it's a self-referential array
<ari-_-e> >> a = []; a[0] = a; a
asuka has joined #ruby
<eval-in> ari-_-e => [[...]] (https://eval.in/180067)
Takle has joined #ruby
<ari-_-e> >> a = [a]
<eval-in> ari-_-e => [nil] (https://eval.in/180068)
<ari-_-e> nah
fgo has joined #ruby
fold has joined #ruby
ddv has quit [Ping timeout: 260 seconds]
ddv has joined #ruby
zenojis has quit [Ping timeout: 240 seconds]
BBBThunda has quit [Ping timeout: 240 seconds]
newUser1_ has quit [Ping timeout: 240 seconds]
justas has joined #ruby
sepp2k1 has joined #ruby
Tohsig has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
sepp2k has quit [Ping timeout: 272 seconds]
<justas> hi, I am coding dijsktras algorithm for shortest path. Any idea how to count the route from source to target, when target is the same source? dijkstras algortithm sets source wight to zero. so I can calculate only shortest path to any target but source(if my target is the same source over some other vertexes)
d4nk_ has joined #ruby
asuka has quit []
<justas> weihgt*
<justas> or direct me to people, who might know about algorithms. thank you
zenojis has joined #ruby
Takle has quit [Ping timeout: 250 seconds]
M-Technic has quit [Ping timeout: 246 seconds]
M-Technic has joined #ruby
tylerkern has joined #ruby
_lexjm has joined #ruby
techietrash has quit []
SilkFox has joined #ruby
startupality has quit [Quit: startupality]
shevy has quit [Ping timeout: 264 seconds]
mweshi has joined #ruby
gccostabr has joined #ruby
zenojis has quit [Ping timeout: 240 seconds]
_lexjm has quit [Quit: Textual IRC Client: www.textualapp.com]
jshultz has joined #ruby
Tohsig has left #ruby [#ruby]
mijicd has quit [Remote host closed the connection]
zenojis has joined #ruby
iaj has joined #ruby
tkuchiki has joined #ruby
linojon has quit [Quit: linojon]
gilest has quit [Remote host closed the connection]
jottr has joined #ruby
asuka has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
mojo619 has joined #ruby
shevy has joined #ruby
nfk has quit [Quit: yawn]
jottr has quit [Ping timeout: 240 seconds]
Tab__ has joined #ruby
<shevy> do you guys use #each_with_index oftenly?
bmurt has joined #ruby
<waxjar> nop
philcrissman has joined #ruby
mkaesz has joined #ruby
whyy has joined #ruby
<gizmore> yes
<gizmore> 1.41% of the iterators
<nobitanobi> wow
cesurasean1 has quit [Read error: Connection reset by peer]
<nobitanobi> that's precision, right there
<gizmore> that´s a statement
<shevy> hmm
<nobitanobi> how'd you make that calculation?
<gizmore> nobitanobi: everything boils down to magic constants
__main__ has quit [Ping timeout: 240 seconds]
<gizmore> pi, golden ratio, sqrt(2)
<nobitanobi> what's the last number of pi though?
philcrissman has quit [Ping timeout: 250 seconds]
<nobitanobi> *digit
gilest has joined #ruby
<gizmore> [0-9]{1}$
marr has quit []
Lewix has quit [Remote host closed the connection]
<nobitanobi> I knew it.
<gizmore> it was a good candidate
<nobitanobi> can confirm
Lewix has joined #ruby
mkaesz has quit [Ping timeout: 260 seconds]
whyy has quit [Ping timeout: 245 seconds]
krz has joined #ruby
bmurt has quit []
binaryhat has quit [Quit: Leaving]
threesixes has quit [Ping timeout: 272 seconds]
gilest has quit [Remote host closed the connection]
Lewix has quit [Ping timeout: 250 seconds]
tjr9898 has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
RustyShackleford has quit [Ping timeout: 240 seconds]
pasties has quit [Ping timeout: 250 seconds]
binaryhat has joined #ruby
mary5030 has quit [Remote host closed the connection]
mojo619 has quit [Quit: mojo619]
timonv_ has joined #ruby
<chipotle> anyone here run rails on AWS or google here?
timonv_ has quit [Ping timeout: 244 seconds]
OffTheRails has joined #ruby
AlexRussia is now known as MockerRussia
<nobitanobi> heroku here. chipotle try #rails
pasties has joined #ruby
dorei has quit [Ping timeout: 250 seconds]
<chipotle> nobitanobi: i don't understand heroku's pricing at all, how much do you pay?
<nobitanobi> depends on the number of dynos that you use and other add-ons that you can place
mweshi has quit [Quit: mweshi]
goshdarnyou has joined #ruby
fgo has joined #ruby
frankle has quit [Quit: Connection closed for inactivity]
Bira has joined #ruby
fgo has quit [Ping timeout: 250 seconds]
newUser1_ has joined #ruby
Lewix has joined #ruby
gaussblurinc1 has joined #ruby
newUser1_ has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: i've nodded off.]
newUser1234 has joined #ruby
ghr has joined #ruby
InhalingPixels has joined #ruby
gilest has joined #ruby
r_s has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 255 seconds]
Olipro has quit [Ping timeout: 256 seconds]
axsuul has joined #ruby
gaussblurinc1 has quit [Quit: Leaving.]
Olipro has joined #ruby
patrick99e99 has joined #ruby
chars6 has quit [Quit: Konversation terminated!]
gilest has quit [Ping timeout: 260 seconds]
Tab__ has quit [Quit: This computer has gone to sleep]
newUser1_ has quit [Ping timeout: 246 seconds]
newUser1234 has joined #ruby
bmurt has joined #ruby
mweshi has joined #ruby
Tab_ has joined #ruby
patrick99e99 has quit [Ping timeout: 255 seconds]
icebourg has joined #ruby
kaspergrubbe_ has joined #ruby
_cpt_yossarian_ has quit [Quit: Leaving]
eivindml has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cpt_yossarian has joined #ruby
mr_snowf1ake has joined #ruby
Bira has quit []
newUser1234 has quit [Ping timeout: 260 seconds]
thomasxie has joined #ruby
fgo has joined #ruby
kaspergrubbe_ has quit [Ping timeout: 260 seconds]
linojon has joined #ruby
<OffTheRails> chipotle, you pay as much as they can grab off you
<chipotle> heh
<OffTheRails> possibly the most over-priced host around
<OffTheRails> even if they are highly convenient
<OffTheRails> I'd cut out the middleman and go straight to AWS
Matadoer has quit [Ping timeout: 272 seconds]
axsuul has quit [Read error: No route to host]
mkaesz has joined #ruby
<OffTheRails> I recall cutting hosting bills by 80% by migrating an app from heroku to linode.
wfw has joined #ruby
starkhalo has joined #ruby
starkhalo has quit [Client Quit]
mkaesz has quit [Ping timeout: 240 seconds]
starkhalo has joined #ruby
thomasxie has quit [Read error: Connection reset by peer]
thomasxie has joined #ruby
mweshi has quit [Quit: mweshi]
mordocai has quit [Remote host closed the connection]
gondalier has joined #ruby
wfw has left #ruby [#ruby]
Matadoer has joined #ruby
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
bmurt has quit []
Shidash has joined #ruby
charliesome has joined #ruby
diegoviola has joined #ruby
niklasb has quit [Ping timeout: 250 seconds]
mary5030 has joined #ruby
RustyShackleford has joined #ruby
redondo has quit [Ping timeout: 240 seconds]
cap has quit [Remote host closed the connection]
cap has joined #ruby
mary5030 has quit [Ping timeout: 260 seconds]
niklasb has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
cap has quit [Ping timeout: 240 seconds]
w09x has joined #ruby
_0xf_ has joined #ruby
ghr has joined #ruby
Wolland has quit [Remote host closed the connection]
Taranis has quit [Remote host closed the connection]
Wolland has joined #ruby
venture37 has joined #ruby
<venture37> hi
advorak has joined #ruby
ryan__ has joined #ruby
icebourg has quit []
<venture37> I'm trying to compile ruby 2.1.2 on OS X Tiger & struggling with the dbm.bundle not compiling
ghr has quit [Ping timeout: 250 seconds]
<venture37> is there any documentation on what the dependencies are?
Wolland has quit [Ping timeout: 264 seconds]
axilla has quit [Ping timeout: 250 seconds]
RustyShackleford has quit [Quit: Leaving]
philcrissman has joined #ruby
tkuchiki has joined #ruby
oo_ has joined #ruby
kireevco has joined #ruby
mattalexx has quit [Quit: Page closed]
whyy has joined #ruby
Tab_ has quit [Quit: This computer has gone to sleep]
phutchins has quit [Ping timeout: 245 seconds]
newUser1234 has joined #ruby
Tab__ has joined #ruby
tkuchiki has quit [Ping timeout: 250 seconds]
philcrissman has quit [Ping timeout: 272 seconds]
<waxjar> os x tiger? :o
<venture37> waxjar: indeed
whyy has quit [Ping timeout: 260 seconds]
axl_ has joined #ruby
__main__ has joined #ruby
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 255 seconds]
axl_ has quit [Client Quit]
mkaesz has joined #ruby
newUser1_ has quit [Ping timeout: 250 seconds]
alekst has quit [Quit: Leaving...]
mkaesz has quit [Ping timeout: 250 seconds]
xcv has quit [Remote host closed the connection]
pasties has quit [Ping timeout: 250 seconds]
Tab__ has quit [Quit: This computer has gone to sleep]
Wolland has joined #ruby
amargherio has quit [Remote host closed the connection]
Wolland has quit [Read error: Connection reset by peer]
newUser1234 has joined #ruby
threesixes has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
Wolland has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pasties has joined #ruby
icebourg has joined #ruby
haroldwu has quit [Changing host]
haroldwu has joined #ruby
newUser1234 has quit [Ping timeout: 260 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
Wolland has quit [Ping timeout: 244 seconds]
gaussblurinc1 has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
d4ryus has quit [Quit: leaving]
linojon has quit [Quit: linojon]
InhalingPixels has quit [Ping timeout: 255 seconds]
braincrash has quit [Quit: bye bye]
michaeldeol has joined #ruby
ixti has quit [Quit: WeeChat 0.4.3]
braincrash has joined #ruby
newUser1234 has joined #ruby
threesixes has quit [Ping timeout: 272 seconds]
Tab__ has joined #ruby
newUser1234 has quit [Ping timeout: 240 seconds]
<benzrf> ruby is ok
threesixes has joined #ruby
oo_ has quit [Remote host closed the connection]
ghr has joined #ruby
bmoyles0117 has joined #ruby
oo_ has joined #ruby
newUser1234 has joined #ruby
tkuchiki has joined #ruby
axilla has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
oo_ has quit [Remote host closed the connection]
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
oo_ has joined #ruby
axilla has quit [Ping timeout: 246 seconds]
tkuchiki has quit [Ping timeout: 240 seconds]
patrick99e99 has joined #ruby
gondalier has quit []
arup_r has joined #ruby
ClarusCogitatio has quit [Ping timeout: 250 seconds]
ClarusCogitatio has joined #ruby
nahtnam has joined #ruby
newUser1_ has quit [Ping timeout: 246 seconds]
InhalingPixels has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
nobitanobi has joined #ruby
<nobitanobi> OffTheRails: I have been really thinking on moving out of Heroku
patrick99e99 has quit [Ping timeout: 255 seconds]
<nahtnam> Hey! I have a quick newbie question. How can I have specific parts of code run depending on the command run? In other words, how can I setup something like this: `ruby test.rb print 10i394` where print is a method/class that takes in the input from the command
<nahtnam> if that makes sense
banistergalaxy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nahtnam> An example to my poorly worded question is:
Tab__ has quit [Quit: This computer has gone to sleep]
InhalingPixels has quit [Ping timeout: 260 seconds]
Shidash has quit [Ping timeout: 260 seconds]
<nahtnam> (Pretend git is a ruby program). To run git, you would have to type `ruby git.rb` which would run the whole program. But the user only wants to push his code. How can I setup a ruby application so that when `ruby git.rb push` is typed, only run part of the code
<nobitanobi> nahtnam: something like this? https://gist.github.com/novito/93a20338595748d423f2
<nahtnam> nobitanobi: So for this, if I run `ruby hello.rb hello`, it would print "hello"?
<nobitanobi> try it
<nahtnam> kk
<nobitanobi> :)
Takle has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nahtnam> nobitanobi: Yay! That was exactly what I was looking for. Are there more examples off of the documentation or something. How can I limit the args to only two and stuff like that?
michaeldeol has joined #ruby
CorySimmons has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
newUser1234 has joined #ruby
mkaesz has joined #ruby
Takle has quit [Ping timeout: 240 seconds]
<nahtnam> nobitanobi: Just found out about optionparser! Thanks!
<nobitanobi> nahtnam: sorry I was out
ClarusCogitatio has quit [Ping timeout: 260 seconds]
<nahtnam> np
<nahtnam> thanks
<nobitanobi> I'm glad you found something useful!
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
newUser1234 has quit [Ping timeout: 240 seconds]
newUser1234 has joined #ruby
tkuchiki has joined #ruby
ClarusCogitatio has joined #ruby
mkaesz has quit [Ping timeout: 255 seconds]
d4nk_ has quit [Remote host closed the connection]
charliesome has joined #ruby
sylvanica has joined #ruby
newUser1234 has quit [Ping timeout: 255 seconds]
newUser1234 has joined #ruby
chrishough has joined #ruby
Wolland has joined #ruby
lkba has joined #ruby
newUser1234 has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
newUser1234 has joined #ruby
chrishough has quit [Client Quit]
cy has quit [Ping timeout: 272 seconds]
Wolland has quit [Ping timeout: 245 seconds]
cap has joined #ruby
diegovio1 has joined #ruby
_0xf_ has quit [Ping timeout: 250 seconds]
diegoviola has quit [Ping timeout: 240 seconds]
newUser1234 has quit [Ping timeout: 260 seconds]
sylvanica has quit [Quit: Leaving]
sylvanica has joined #ruby
cy has joined #ruby
ClarusCogitatio has quit [Ping timeout: 245 seconds]
cap has quit [Remote host closed the connection]
cap has joined #ruby
diegoviola has joined #ruby
diegovio1 has quit [Read error: Connection reset by peer]
OffTheRails has quit [Ping timeout: 245 seconds]
ClarusCogitatio has joined #ruby
asteve has joined #ruby
Cheezebox has joined #ruby
cap has quit [Ping timeout: 264 seconds]
Matadoer has quit [Remote host closed the connection]
klmlfl has joined #ruby
geggam has quit [Ping timeout: 244 seconds]
chrishough has joined #ruby
chrishough has quit [Client Quit]
newUser1234 has joined #ruby
newUser1234 has quit [Read error: Connection reset by peer]
philcris_ has joined #ruby
newUser1234 has joined #ruby
ClarusCogitatio has quit [Ping timeout: 250 seconds]
whyy has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ClarusCogitatio has joined #ruby
philcris_ has quit [Ping timeout: 255 seconds]
newUser1234 has quit [Ping timeout: 246 seconds]
axilla has joined #ruby
whyy has quit [Ping timeout: 246 seconds]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
farn has quit [Remote host closed the connection]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
zeroNones has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
axilla has quit [Ping timeout: 250 seconds]
iamjarvo has joined #ruby
newUser1234 has joined #ruby
Panicky has joined #ruby
newUser1234 has quit [Ping timeout: 246 seconds]
cpruitt has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
zz_anildigital is now known as anildigital
cap has joined #ruby
tylerkern has quit [Read error: Connection reset by peer]
<nahtnam> newbie ruby question. How can I make this if NOT. if number.is_an_integer? I dont know where to put the !
tylerkern has joined #ruby
<nahtnam> Oh wait
<nahtnam> nvm
klmlfl has quit [Quit: klmlfl]
<zenspider> nahtnam: glad you figured it out, but you should practice improving your questions
Ulrike_Rayne has quit [Quit: ZNC - http://znc.in]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nahtnam> zenspider: Yeah, sorry about that
_0xf_ has joined #ruby
mkaesz has joined #ruby
axl_ has joined #ruby
Cheezebox has quit [Remote host closed the connection]
axl_ has quit [Client Quit]
chihhsin_ has quit [Quit: leaving]
_0xf_ has quit [Ping timeout: 240 seconds]
chihhsin has joined #ruby
IceDragon has quit [Quit: Space~~~]
newUser1234 has joined #ruby
mkaesz has quit [Ping timeout: 260 seconds]
d4nk_ has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
Tab_ has joined #ruby
iamjarvo has joined #ruby
newUser1234 has quit [Ping timeout: 240 seconds]
bjornar has quit [Excess Flood]
newUser1234 has joined #ruby
bjornar has joined #ruby
d4nk_ has quit [Ping timeout: 255 seconds]
Wolland has joined #ruby
kireevco has quit [Quit: Leaving.]
El_Guapo has joined #ruby
El_Guapo has quit [Client Quit]
nat2610 has quit [Quit: Leaving.]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 272 seconds]
Wolland has quit [Ping timeout: 244 seconds]
ClarusCogitatio has quit [Ping timeout: 240 seconds]
newUser1_ has quit [Ping timeout: 245 seconds]
ClarusCogitatio has joined #ruby
newUser1234 has joined #ruby
Tab_ has quit [Quit: This computer has gone to sleep]
matti has quit [Ping timeout: 240 seconds]
_0xf_ has joined #ruby
matti has joined #ruby
matti has joined #ruby
matti has quit [Changing host]
Cheezebox has joined #ruby
newUser1234 has quit [Read error: Connection reset by peer]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kovensky has joined #ruby
Photism has quit [Read error: Connection reset by peer]
_0xf_ has quit [Ping timeout: 240 seconds]
ClarusCogitatio has quit [Ping timeout: 240 seconds]
newUser1234 has joined #ruby
sylvanica has quit [Ping timeout: 245 seconds]
icebourg has quit []
Tab_ has joined #ruby
ClarusCogitatio has joined #ruby
Cheezebox has quit [Remote host closed the connection]
newUser1234 has quit [Ping timeout: 250 seconds]
newUser1234 has joined #ruby
Photism has joined #ruby
axilla has joined #ruby
arup_r has quit [Ping timeout: 250 seconds]
CorySimmons has quit [Quit: Bye!]
Spami has joined #ruby
newUser1234 has quit [Ping timeout: 240 seconds]
gaussblurinc1 has quit [Quit: Leaving.]
newUser1234 has joined #ruby
axilla has quit [Ping timeout: 245 seconds]
ghr has joined #ruby
d4nk_ has joined #ruby
ClarusCogitatio has quit [Ping timeout: 250 seconds]
mweshi has joined #ruby
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 240 seconds]
mweshi has quit [Client Quit]
ClarusCogitatio has joined #ruby
nobitanobi has quit [Remote host closed the connection]
havenwood has joined #ruby
gilest has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
patrick99e99 has joined #ruby
fgo has quit []
robscormack has joined #ruby
newUser1_ has quit [Ping timeout: 245 seconds]
newUser1234 has joined #ruby
ClarusCogitatio has quit [Ping timeout: 245 seconds]
JoshGlzBrk has joined #ruby
gilest has quit [Ping timeout: 264 seconds]
Inside has joined #ruby
ClarusCogitatio has joined #ruby
InhalingPixels has joined #ruby
patrick99e99 has quit [Ping timeout: 260 seconds]
mary5030 has joined #ruby
cap has quit [Remote host closed the connection]
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 255 seconds]
Spami has quit [Quit: This computer has gone to sleep]
cap has joined #ruby
mary5030 has quit [Remote host closed the connection]
cap has quit [Ping timeout: 240 seconds]
newUser1_ has quit [Read error: Connection reset by peer]
crdprink2 has quit [Quit: q term]
w09x has quit [Remote host closed the connection]
fold has quit [Ping timeout: 250 seconds]
mkaesz has joined #ruby
newUser1234 has joined #ruby
Wolland has joined #ruby
Asher has quit [Ping timeout: 250 seconds]
Asher has joined #ruby
CorySimmons has joined #ruby
mkaesz has quit [Ping timeout: 272 seconds]
newUser1234 has quit [Ping timeout: 246 seconds]
newUser1_ has joined #ruby
bearish has joined #ruby
anildigital is now known as zz_anildigital
InhalingPixels has quit [Ping timeout: 264 seconds]
lkba has quit [Ping timeout: 250 seconds]
newUser1_ has quit [Ping timeout: 255 seconds]
speaking1ode has joined #ruby
speakingcode has quit [Ping timeout: 264 seconds]
<pontiki> hey
<robscormack> hey
starkhalo has quit [Ping timeout: 264 seconds]
newUser1234 has joined #ruby
_0xf_ has joined #ruby
<agent_white> hullo
newUser1234 has quit [Ping timeout: 246 seconds]
noop has joined #ruby
newUser1234 has joined #ruby
_0xf_ has quit [Ping timeout: 240 seconds]
linojon has joined #ruby
mitt3ns has joined #ruby
mitt3ns has left #ruby [#ruby]
rippa has joined #ruby
<mostlybadfly> hi
<pontiki> so quiet everynet
philcrissman has joined #ruby
<mostlybadfly> just got back from a show
<pontiki> what/who did you see?
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 246 seconds]
whyy has joined #ruby
<Inside> Hey #ruby
philcrissman has quit [Ping timeout: 255 seconds]
<Inside> not really a pure ruby question - more of an OOP question.
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
havenwood has quit [Remote host closed the connection]
<Inside> Let's say you've got an Assembly which has a list of components..
<Inside> and the components could be either Assemblies themselves or a Part
<Inside> The question is... what's the best way to represent that?
newUser1234 has joined #ruby
<Inside> An assembly and a part class that derive from some common ancestor?
newUser1_ has quit [Ping timeout: 264 seconds]
<Inside> Just have a Part class that has an assembly? member function?
<Inside> Abstract the Part/Assembly out to a PartNumber class which has the assembly? class?
<Inside> class->function
whyy has quit [Ping timeout: 255 seconds]
<robscormack> Assembly and Part are members of the same interface.
<Inside>
<robscormack> and an assembly can contain an array of any objects belonging to that interface.
<Inside> interface.. hmm
axilla has joined #ruby
<robscormack> parts and assemblies have some common methods and data, right?
newUser1234 has quit [Ping timeout: 240 seconds]
<Inside> yeah, an assembly has a part number and a description and also a list of subcomponents and their qtys
<robscormack> then it quacks like a duck.
darkxploit has quit [Ping timeout: 240 seconds]
w09x has joined #ruby
<robscormack> if you're using Ruby, the common ancestor is (or should be) a class.
<Inside> (I am using ruby)
tylerkern has joined #ruby
<pontiki> wouldn't a Part just have a null collection?
<Inside> ummm
axilla has quit [Ping timeout: 240 seconds]
<threesixes> just purged ruby from gentoo, im sick of them trying to manage gems, bundle install and rvm do a way better job
newUser1234 has joined #ruby
<robscormack> Inside: then an interface is a class
<robscormack> Ruby doesn't have interfaces like Java or PHP.
<pontiki> i'm trying to derive the meaning of that response to my query....
<Inside> haha
<Inside> I mean you bring up a good point
<Inside> and I don't have any counterpoint
oo_ has joined #ruby
<pontiki> ah
<robscormack> Inside: as pontiki is pointiking (haha)... if an assembly has many parts, then an assembly is a subclass of part adding the array of parts inside.
<robscormack> (considering that a part will never have parts inside)
<pontiki> that's called "pontikificating"
<Inside> haha.
ryan__ has quit [Quit: Leaving]
<Inside> oh hell, I don't even need to use inheritance then
<robscormack> but that is only if a part never has parts inside.
<Inside> a part that has parts inside is an assembly then
<robscormack> yes sir.
<Inside> by definition
<pontiki> i'm seeing there needs to be any distinction or subclassing at all. *quack*
<Inside> should there be a no/not somewhere in there ^?
<robscormack> if it quacks like a duck, it's a duck.
<Inside> we use a really ancient system for storing assemblies & parts at work so I'm trying to write something for me/my department to use to browse through them :p
newUser1234 has quit [Ping timeout: 246 seconds]
newUser1_ has joined #ruby
<Inside> the current system is "log into VM" > "open up ancient MS access app" > "navigate through a million sub menus" heh
<pontiki> i'm *not* seeing; yes, thanks
cy has quit [Quit: died of rabies]
<Inside> okay great
<Inside> yeah, I'll just go with that
<Inside> thanks!
<Inside> and holy crap, the Tropico4 authentication servers need to send me the authentication email already
<Inside> that's just ridiculous
<pontiki> didja check spam?
<Inside> yes :(
<pontiki> i know, but it has to be asked
arya_ has joined #ruby
<Inside> it went on sale today; people on reddit are saying it's taking them 4+ hours to get the email
<pontiki> are they doing it by hand? they must be...
relix has joined #ruby
newUser1_ has quit [Ping timeout: 245 seconds]
<pontiki> way back in the dark ages of e-mail, the proprietary e-mail system had mail trucks run once an hour
Jackneill has joined #ruby
newUser1234 has joined #ruby
<Inside> you mean like a cron job or something?
<pontiki> which also meant an e-mail that needed to hop from exchange to exchange might miss a truck and have to wait nearly another hour
w09x has quit [Ping timeout: 250 seconds]
<pontiki> something; it wasn't unix
Vile` has quit [Ping timeout: 250 seconds]
<Inside> I just don't get why a single player needs authentication from a central server
<pontiki> we live in the days of bad DRM and stupid decisions
<Inside> pretty much
<pontiki> IOW, normal life :)
oo_ has quit [Ping timeout: 260 seconds]
starless has quit [Quit: Leaving]
Vile` has joined #ruby
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
<nahtnam> Hey! I have an array with a list of letter. I want to map each letter to a number (A = 1, B = 2, etc), and then run through the array and convert everything to numbers. What is the best way to map a letter to a number?
<nahtnam> nvm
newUser1_ has quit [Ping timeout: 260 seconds]
mkaesz has joined #ruby
renier has quit [Ping timeout: 240 seconds]
MockerRussia has quit [Ping timeout: 245 seconds]
renier has joined #ruby
newUser1234 has joined #ruby
InhalingPixels has joined #ruby
mkaesz has quit [Ping timeout: 255 seconds]
agjacome has joined #ruby
_2_Lily97 has joined #ruby
newUser1234 has quit [Read error: Connection reset by peer]
newUser1234 has joined #ruby
_2_Lily97 has quit [Read error: Connection reset by peer]
agjacome_ has quit [Ping timeout: 255 seconds]
InhalingPixels has quit [Ping timeout: 264 seconds]
_0xf_ has joined #ruby
oo_ has joined #ruby
arup_r has joined #ruby
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 244 seconds]
benzrf is now known as benzrf|offline
_0xf_ has quit [Ping timeout: 250 seconds]
zipace has joined #ruby
newUser1_ has quit [Ping timeout: 240 seconds]
georgelappies has quit [Remote host closed the connection]
newUser1234 has joined #ruby
sLi__ has joined #ruby
bluOxigen has joined #ruby
newUser1234 has quit [Ping timeout: 244 seconds]
sLi__ has left #ruby [#ruby]
binw has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
hellangel7 has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
hellangel7 has quit [Max SendQ exceeded]
Darkchaos has joined #ruby
hellangel7 has joined #ruby
w09x has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
bluOxigen has joined #ruby
zz_anildigital is now known as anildigital
binw has joined #ruby
noop has quit [Quit: Leaving]
linojon has quit [Quit: linojon]
cpruitt has quit [Quit: cpruitt]
bearish has quit [Remote host closed the connection]
axilla has joined #ruby
bearish has joined #ruby
roshanavand has joined #ruby
michaelchum has joined #ruby
cap has joined #ruby
mary5030 has quit [Remote host closed the connection]
bearish has quit [Ping timeout: 264 seconds]
axilla has quit [Ping timeout: 272 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
pasties has quit [Ping timeout: 250 seconds]
<smuck> I have get_number = $stdin.gets.chomp and i want to repeat that number like {get_number}.times.do. any hint how does it work :)
bearish has joined #ruby
MockerRussia has joined #ruby
patrick99e99 has joined #ruby
<crome> get_number = $stdin.gets.chomp.to_i; get_number.times.do
<smuck> thanks alot crome.
<crome> educative article of the day
ValicekB has quit []
niklasb has quit [Ping timeout: 245 seconds]
<smuck> heh thanks for that also.
pasties has joined #ruby
<crome> :)
<smuck> now i will never use "alot" again :D
<crome> you're welcome
kireevco has quit [Quit: Leaving.]
patrick99e99 has quit [Ping timeout: 250 seconds]
vjt has quit [Ping timeout: 260 seconds]
pasties has quit [Ping timeout: 250 seconds]
vjt has joined #ruby
sigurding has joined #ruby
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
arya__ has joined #ruby
robscormack has quit [Quit: Leaving]
pasties has joined #ruby
ValicekB has joined #ruby
georgelappies has joined #ruby
arya_ has quit [Ping timeout: 246 seconds]
mkaesz has joined #ruby
sigurding has quit [Quit: sigurding]
<zenspider> nahtnam: sure sounds like homework
Lewix has quit [Ping timeout: 240 seconds]
tjr9898 has quit [Remote host closed the connection]
Inside has quit [Ping timeout: 245 seconds]
<Nilium> I have an 87 day streak on GitHub. At this point it's just about keeping that going. ಠ_ಠ
diegoviola has quit [Quit: WeeChat 0.4.3]
diegoviola has joined #ruby
timonv_ has joined #ruby
tjr9898 has joined #ruby
mkaesz has quit [Ping timeout: 272 seconds]
S0da has joined #ruby
_0xf_ has joined #ruby
radic has quit [Ping timeout: 272 seconds]
radic has joined #ruby
timonv_ has quit [Ping timeout: 250 seconds]
mijicd has joined #ruby
nat2610 has joined #ruby
CorpusCallosum has quit [Remote host closed the connection]
newUser1234 has joined #ruby
_0xf_ has quit [Ping timeout: 272 seconds]
Tab_ has quit [Quit: This computer has gone to sleep]
philcrissman has joined #ruby
_0xf_ has joined #ruby
adamski2600 has joined #ruby
mercwith1mouth has quit [Ping timeout: 260 seconds]
newUser1234 has quit [Ping timeout: 240 seconds]
doev has joined #ruby
whyy has joined #ruby
zeroNones has quit [Ping timeout: 240 seconds]
jsaak has quit [Ping timeout: 260 seconds]
davedev2_ has quit [Read error: Connection reset by peer]
d4nk_ has quit [Remote host closed the connection]
philcrissman has quit [Ping timeout: 250 seconds]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_0xf_ has quit [Ping timeout: 240 seconds]
davedev24_ has joined #ruby
decoponio has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
Brando753 has quit [Read error: Connection reset by peer]
whyy has quit [Ping timeout: 255 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eivindml has joined #ruby
jsaak has joined #ruby
william3 has joined #ruby
newUser1234 has joined #ruby
<william3> hey hey
doev has quit [Ping timeout: 244 seconds]
ClarusCogitatio has quit [Ping timeout: 255 seconds]
Brando753 has joined #ruby
klaut has joined #ruby
newUser1234 has quit [Ping timeout: 245 seconds]
arya__ has quit [Quit: sayonara^_^]
ClarusCogitatio has joined #ruby
d4nk_ has joined #ruby
bluOxigen has quit [Remote host closed the connection]
bluOxigen has joined #ruby
ClarusCogitatio has quit [Excess Flood]
ClarusCogitatio has joined #ruby
eivindml has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mkaesz has joined #ruby
axilla has joined #ruby
axilla has quit [Ping timeout: 272 seconds]
ClarusCogitatio has quit [Ping timeout: 255 seconds]
GriffinHeart has joined #ruby
Tab_ has joined #ruby
ClarusCogitatio has joined #ruby
anildigital is now known as zz_anildigital
mary5030 has joined #ruby
havenwood has joined #ruby
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
andrewlio has joined #ruby
d4nk_ has quit [Remote host closed the connection]
hellangel7 has quit [Max SendQ exceeded]
bluish has joined #ruby
d4nk_ has joined #ruby
mary5030 has quit [Ping timeout: 246 seconds]
koderok has joined #ruby
koderok has quit [Client Quit]
Wolland has quit [Ping timeout: 272 seconds]
blackmesa has joined #ruby
poindontcare has joined #ruby
ClarusCogitatio has quit [Ping timeout: 240 seconds]
<poindontcare> i am having trouble installing rdiscount ..
<poindontcare> any ideas here?
<Hanmac> poindontcare: you need ruby dev packages
<poindontcare> hmm i see
<poindontcare> Hanmac: how would i get those?
<Hanmac> apt-get install ruby1.9.1-dev or similar
havenwood has quit [Remote host closed the connection]
ClarusCogitatio has joined #ruby
<poindontcare> ah i see
<poindontcare> they contain native extensions?
newUser1234 has joined #ruby
<poindontcare> Hanmac: yup seems to be building native extensions, thanks
<poindontcare> worked!
bluOxigen has quit [Ping timeout: 260 seconds]
_2_Lily97 has joined #ruby
<Darkchaos> Hello Guys. Is there a easy way to spawn a little http server using ruby?
william3 has quit [Remote host closed the connection]
_2_Lily97 has quit [Read error: Connection reset by peer]
InhalingPixels has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
bearish has quit [Remote host closed the connection]
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 272 seconds]
relix has joined #ruby
jsaak has quit [Ping timeout: 240 seconds]
obs has joined #ruby
obs has quit [Client Quit]
jsaak has joined #ruby
InhalingPixels has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
startupality has joined #ruby
newUser1_ has quit [Ping timeout: 244 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
newUser1234 has joined #ruby
poindontcare has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
anaeem1 has joined #ruby
georgelappies has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
chipotle has quit [Ping timeout: 255 seconds]
newUser1234 has quit [Ping timeout: 246 seconds]
Hanmac has quit [Read error: Connection reset by peer]
georgelappies has joined #ruby
doev has joined #ruby
chipotle has joined #ruby
zipace has quit [Ping timeout: 260 seconds]
kaspertidemann has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
cap has quit [Remote host closed the connection]
cap has joined #ruby
threesixes has quit [Remote host closed the connection]
gilest has joined #ruby
gilest has quit [Remote host closed the connection]
Hanmac has joined #ruby
gilest has joined #ruby
gilest has quit [Remote host closed the connection]
gilest has joined #ruby
w09x has quit [Remote host closed the connection]
Tab_ has quit [Quit: This computer has gone to sleep]
<shevy> Darkchaos webrick?
w09x has joined #ruby
Deele has joined #ruby
<shevy> require 'webrick'
<shevy> include WEBrick; http_server = HTTPServer.new()
<shevy> alternatively just use sinatra or rack
pandaant has quit [Remote host closed the connection]
newUser1234 has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1 has quit [Remote host closed the connection]
gilest has quit [Ping timeout: 260 seconds]
advorak has quit [Ping timeout: 240 seconds]
w09x has quit [Ping timeout: 250 seconds]
newUser1234 has quit [Ping timeout: 244 seconds]
newUser1234 has joined #ruby
cap has quit [Remote host closed the connection]
cap has joined #ruby
axilla has joined #ruby
Tab_ has joined #ruby
krz has joined #ruby
nfk has joined #ruby
Mon_Ouie has quit [Ping timeout: 246 seconds]
newUser1234 has quit [Ping timeout: 244 seconds]
newUser1234 has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
axilla has quit [Ping timeout: 264 seconds]
cap has quit [Ping timeout: 245 seconds]
oo_ has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 260 seconds]
anaeem1_ has joined #ruby
GriffinHeart has quit [Read error: Connection reset by peer]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinH_ has joined #ruby
alexju has joined #ruby
oo_ has joined #ruby
robbyoconnor has joined #ruby
farn has joined #ruby
tjr9898 has quit [Remote host closed the connection]
newUser1234 has quit [Ping timeout: 272 seconds]
nat2610 has quit [Quit: Leaving.]
tjr9898 has joined #ruby
d4nk_ has quit [Remote host closed the connection]
tjr9898 has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
alexju has joined #ruby
Tab_ has quit [Quit: This computer has gone to sleep]
oo_ has quit [Ping timeout: 272 seconds]
tjr9898 has joined #ruby
<Darkchaos> shevy: Might I use Ruby as Scripting Language then? Or PHP?
d4nk_ has joined #ruby
alexju has quit [Ping timeout: 244 seconds]
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
<txdv> wth
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
alexju has joined #ruby
blackmesa has quit [Quit: WeeChat 1.0]
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
eivindml has joined #ruby
spider-mario has joined #ruby
postmodern has quit [Quit: Leaving]
Tab_ has joined #ruby
d4nk_ has quit [Ping timeout: 250 seconds]
alexju has quit [Remote host closed the connection]
bearish has joined #ruby
alexju has joined #ruby
robbyoconnor has quit [Excess Flood]
gilest has joined #ruby
newUser1234 has joined #ruby
GriffinH_ has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
GriffinHeart has quit [Read error: Connection reset by peer]
Spami has joined #ruby
philcrissman has joined #ruby
GriffinHeart has joined #ruby
f_vosberg has joined #ruby
TieSoul has joined #ruby
malcolmva has quit [Ping timeout: 240 seconds]
alexju has quit [Ping timeout: 264 seconds]
jhass|off is now known as jhass
gilest has quit [Ping timeout: 255 seconds]
zettam has joined #ruby
mijicd has quit [Quit: leaving]
newUser1_ has joined #ruby
whyy has joined #ruby
newUser1234 has quit [Ping timeout: 272 seconds]
philcrissman has quit [Ping timeout: 255 seconds]
jheg has joined #ruby
zettam_ has quit [Ping timeout: 240 seconds]
InhalingPixels has joined #ruby
newUser1_ has quit [Ping timeout: 240 seconds]
rippa has quit [Ping timeout: 255 seconds]
newUser1234 has joined #ruby
doev has quit [Ping timeout: 246 seconds]
whyy has quit [Ping timeout: 260 seconds]
InhalingPixels has quit [Ping timeout: 245 seconds]
davispuh has joined #ruby
obs has joined #ruby
jheg has quit [Quit: jheg]
newUser1234 has quit [Ping timeout: 240 seconds]
newUser1_ has joined #ruby
vinky has quit [Ping timeout: 272 seconds]
dorei has joined #ruby
malcolmva has joined #ruby
Tab_ has quit [Quit: This computer has gone to sleep]
nfk has quit [Quit: yawn]
axl_ has joined #ruby
axl_ has quit [Client Quit]
marr has joined #ruby
emmesswhy has joined #ruby
newUser1_ has quit [Ping timeout: 240 seconds]
newUser1234 has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has joined #ruby
newUser1234 has quit [Ping timeout: 244 seconds]
newUser1_ has joined #ruby
Mon_Ouie has joined #ruby
<shevy> Darkchaos yeah
<shevy> Darkchaos you may have to combine a little more stuff with ruby than with php, but as language it is cleaner, shorter and more elegant
<shevy> php has the main focus www, ruby unfortunately does not
mikecmpbll has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
m8 has joined #ruby
Tab_ has joined #ruby
newUser1_ has quit [Ping timeout: 250 seconds]
newUser1234 has joined #ruby
w09x has joined #ruby
<mozzarella> "unfortunately"?
lamasnik has quit [Ping timeout: 264 seconds]
Tab_ has quit [Client Quit]
Tab_ has joined #ruby
newUser1234 has quit [Read error: Connection reset by peer]
<shevy> yeah
<shevy> you can see that php is more popular than ruby
newUser1234 has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> because there is a clear decline for ruby in the context of how javascript became more important, on github based projects
<shevy> and logically, when javascript becomes more popular, all web-orientated languages will also benefit indirectly
<shevy> "A downward slope does not mean fewer repositories are being created. It does mean, however, that other languages are gaining repositories faster"
hellangel7 has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
sevenseacat has joined #ruby
newUser1234 has quit [Ping timeout: 246 seconds]
newUser1_ has joined #ruby
axilla has joined #ruby
w09x has quit [Ping timeout: 255 seconds]
memph1s has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
newUser1_ has quit [Ping timeout: 240 seconds]
banister has joined #ruby
axilla has quit [Ping timeout: 260 seconds]
anaeem1_ has joined #ruby
newUser1234 has joined #ruby
diegoviola has quit [Ping timeout: 245 seconds]
froggy_ has joined #ruby
d4nk_ has joined #ruby
darkness has joined #ruby
darkness is now known as Guest64767
diegoviola has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
anaeem1_ has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
newUser1_ has joined #ruby
froggy__ has quit [Ping timeout: 255 seconds]
newUser1234 has quit [Ping timeout: 246 seconds]
d4nk_ has quit [Ping timeout: 245 seconds]
georgelappies has quit [Remote host closed the connection]
anaeem1 has joined #ruby
GriffinHeart has quit [Ping timeout: 245 seconds]
ptrrr has joined #ruby
georgelappies has joined #ruby
marr has quit [Ping timeout: 245 seconds]
newUser1_ has quit [Ping timeout: 240 seconds]
Sonny|3oy has joined #ruby
newUser1234 has joined #ruby
newUser1234 has quit [Ping timeout: 272 seconds]
newUser1234 has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
anaeem1 has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
o0oo0o has quit [Remote host closed the connection]
St_Marx has quit [Remote host closed the connection]
DrCode has quit [Write error: Broken pipe]
Boohbah has quit [Write error: Broken pipe]
Ankhers has quit [Write error: Connection reset by peer]
Boohbah has joined #ruby
lamasnik has joined #ruby
DrCode has joined #ruby
St_Marx has joined #ruby
o0oo0o has joined #ruby
oo_ has joined #ruby
newUser1234 has quit [Ping timeout: 245 seconds]
tjr9898 has quit [Remote host closed the connection]
<shevy> does ruby stdlib have something that has a method called .use_stdout ?
<shevy> (aside from rdoc)
tjr9898 has joined #ruby
georgelappies has quit [Remote host closed the connection]
claymore has joined #ruby
oo__ has joined #ruby
cpruitt has joined #ruby
keltvek has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
InhalingPixels has joined #ruby
georgelappies has joined #ruby
<Hanmac> shevy what is your current problem?
havenwood has joined #ruby
cpruitt has quit [Client Quit]
GriffinHeart has joined #ruby
newUser1_ has joined #ruby
InhalingPixels has quit [Ping timeout: 246 seconds]
sigurding has joined #ruby
Sonny|3oy has quit [Remote host closed the connection]
Sonny|3oy has joined #ruby
newUser1_ has quit [Ping timeout: 245 seconds]
oo__ has quit [Remote host closed the connection]
newUser1234 has joined #ruby
oo_ has joined #ruby
bluish has quit [Quit: One step closer to oblivion.]
craigbowen3 has quit [Ping timeout: 255 seconds]
bluish has joined #ruby
diegoviola has quit [Ping timeout: 255 seconds]
marr has joined #ruby
maximski has joined #ruby
newUser1234 has quit [Ping timeout: 250 seconds]
newUser1234 has joined #ruby
havenwood has quit [Remote host closed the connection]
craigbowen3 has joined #ruby
havenwood has joined #ruby
oo_ has quit [Remote host closed the connection]
wald0 has quit [Quit: Lost terminal]
newUser1234 has quit [Read error: Connection reset by peer]
newUser1234 has joined #ruby
<shevy> Hanmac there is some reassignment code going on
<shevy> it is something like:
<shevy> ri = RDoc::RI::Driver.new(hash)
<shevy> ri.use_stdout = true
<shevy> result = ''
<shevy> $stdout = StringIO.new(result)
<shevy> ri.display_method(original_input_here)
<shevy> $stdout = STDOUT
<shevy> in particular I am not entirely sure about those two $stdout assignments, and why StringIO is used
<Hanmac> otherwise you cant get the output in a string
Fire-Dragon-DoL has joined #ruby
<shevy> hmmm
ptrrr has quit [Quit: ptrrr]
newUser1234 has quit [Ping timeout: 260 seconds]
pandaant has joined #ruby
newUser1234 has joined #ruby
havenwood has quit [Remote host closed the connection]
<shevy> the problem is that I don't understand it
newUser1234 has quit [Ping timeout: 246 seconds]
kimosabe has joined #ruby
newUser1234 has joined #ruby
S0da has quit [Remote host closed the connection]
zz_anildigital is now known as anildigital
prologepilog has quit [Ping timeout: 250 seconds]
<jhass> >> $stdout = StringIO.new; puts "hey"; $stdout.string
<eval-in> jhass => uninitialized constant StringIO (NameError) ... (https://eval.in/180107)
prologepilog has joined #ruby
<jhass> >> require 'stringio'; $stdout = StringIO.new; puts "hey"; $stdout.string # shevy
<eval-in> jhass => (https://eval.in/180108)
kaspertidemann has quit []
<jhass> eh
arup_r1 has joined #ruby
<jhass> >> require 'stringio'; $stdout = StringIO.new; puts "hey"; result = $stdout.string; $stdout = STDOUT; result
<eval-in> jhass => "hey\n" (https://eval.in/180109)
<shevy> hmm
<shevy> it stole the stdout output?
axilla has joined #ruby
smuck has quit []
<shevy> so it is like a redirect
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 272 seconds]
<jhass> puts is just a delegation to $stdout.puts
<jhass> same for print -> $stdout.print and so on
oo_ has joined #ruby
<shevy> hmm
arup_r has quit [Ping timeout: 264 seconds]
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> omg
<shevy> armin did it again:
axilla has quit [Ping timeout: 246 seconds]
<Hanmac> jhass: you dont need do do $stdout.string if you use a string as parameter for creation like in the sample of shevy
<shevy> hmm
<shevy> what is .string used for? it captures the main string that will be output?
<jhass> Yes and I don't need to use a string parameter if I use StringIO#string afterwards as my example has shown ;)
newUser1_ has quit [Ping timeout: 272 seconds]
d4nk_ has joined #ruby
CorySimmons has quit [Quit: Zzz...]
<shevy> what is $stdout = STDOUT actually doing?
<jhass> shevy: StringIO is a layer above a string that implements IO's methods so that they write and read from the underlying string
CorySimmons has joined #ruby
<jhass> the underlying string can be given as parameter and accessed via #string
<Hanmac> shevy: "$stdout = STDOUT" does set the current stdout with the Standard stdout
<jhass> $stdout = STDOUT assigns the original stdout back to $stdout
CorySimmons has quit [Client Quit]
rippa has joined #ruby
<Hanmac> jhass: hm i would probably use something like that:
<Hanmac> >> def use_stdout(f); $stdout = f ; yield; $stdout = STDOUT; end; require "stringio"; def use_string_stdout(s = ""); use_stdout(StringIO.new(s)) { yield }; s; end; with_string_stdout { p 1,2,3 }
<eval-in> Hanmac => undefined method `with_string_stdout' for main:Object (NoMethodError) ... (https://eval.in/180110)
<Hanmac> >> def use_stdout(f); $stdout = f ; yield; $stdout = STDOUT; end; require "stringio"; def use_string_stdout(s = ""); use_stdout(StringIO.new(s)) { yield }; s; end; use_string_stdout { p 1,2,3 }
<eval-in> Hanmac => "1\n2\n3\n" (https://eval.in/180111)
havenwood has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d4nk_ has quit [Ping timeout: 246 seconds]
newUser1234 has joined #ruby
anaeem1 has joined #ruby
philcrissman has joined #ruby
monds has joined #ruby
poulet_a has joined #ruby
newUser1234 has quit [Ping timeout: 245 seconds]
whyy has joined #ruby
philcrissman has quit [Ping timeout: 240 seconds]
timonv_ has joined #ruby
poulet_a has quit [Client Quit]
banister has joined #ruby
poulet_a has joined #ruby
poulet_a has quit [Client Quit]
poulet_a has joined #ruby
bluish has quit [Quit: One step closer to oblivion.]
DEA7TH has joined #ruby
whyy has quit [Ping timeout: 246 seconds]
<shevy> is there a way to do a conditional require?
newUser1234 has joined #ruby
<shevy> require 'foo' unless foo_was_already_required?
craigbowen3 has quit [Ping timeout: 246 seconds]
<jhass> yes, require 'foo'
<shevy> well some files will report stuff like warning: loading in progress, circular require considered harmful
poulet_a has quit [Client Quit]
poulet_a has joined #ruby
<jhass> require doesn't load a file again if it was already required
timonv_ has quit [Remote host closed the connection]
gilest has joined #ruby
peret has joined #ruby
agent_white has quit [Ping timeout: 246 seconds]
poulet_a has quit [Client Quit]
poulet_a has joined #ruby
newUser1_ has joined #ruby
pandaant has quit [Remote host closed the connection]
ARCADIVS has joined #ruby
newUser1234 has quit [Ping timeout: 264 seconds]
poulet_a has quit [Client Quit]
rethus has left #ruby ["Konversation terminated!"]
poulet_a has joined #ruby
poulet_a_ has joined #ruby
havenwood has quit []
poulet_a has quit [Client Quit]
poulet_a_ has quit [Client Quit]
timonv_ has joined #ruby
gilest has quit [Ping timeout: 250 seconds]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
fgo has joined #ruby
Sonny|3oy has quit [Quit: Leaving]
poulet_a has joined #ruby
newUser1234 has joined #ruby
lkba has joined #ruby
newUser1_ has quit [Ping timeout: 272 seconds]
arup_r1 has quit [Ping timeout: 245 seconds]
bMalum has joined #ruby
timonv_ has quit [Remote host closed the connection]
thomasxie has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
newUser1234 has quit [Ping timeout: 244 seconds]
newUser1_ has joined #ruby
hasan has joined #ruby
zettam_ has joined #ruby
mercerist has joined #ruby
thingmaker has joined #ruby
maximski has quit []
zettam has quit [Ping timeout: 240 seconds]
mahtennek has joined #ruby
newUser1_ has quit [Ping timeout: 240 seconds]
phoo1234567 has joined #ruby
newUser1234 has joined #ruby
poulet_a has quit [Quit: Quitte]
phoo1234567 has quit [Max SendQ exceeded]
poulet_a has joined #ruby
phoo1234567 has joined #ruby
<mahtennek> any idea how can i run a regex to strip these values to 3 individual portions? https://gist.github.com/anonymous/c317879cd715da55ce49
poulet_a has quit [Client Quit]
<mahtennek> given that my second part might contain (Faculty of Engineering -> Faculty of Science) or (Computing -> Faculty of Science), how can i grab the information ignoring all whitespaces etc
nfk has joined #ruby
poulet_a has joined #ruby
<shevy> so your input string is? x = 'COM_CLIB : School of Computing -> Central Library ; ayg|{FwikxR{Ar@CDZx@oBx' ?
poulet_a has quit [Read error: Connection reset by peer]
<mahtennek> yes
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 260 seconds]
<jhass> .split(/:;/) ?
<jhass> er
<mahtennek> but there are cases where it could also contain x = 'COM_CLIB : Computing -> Central Library ; ayg|{FwikxR{Ar@CDZx@oBx
<jhass> .split(/ [:;] /)
klaut has quit [Remote host closed the connection]
zettam has joined #ruby
<jhass> >> "COM_CLIB : School of Computing -> Central Library ; ayg|{FwikxR{Ar@CDZx@oBx".split(/ [;:] /)
<eval-in> jhass => ["COM_CLIB", "School of Computing -> Central Library", "ayg|{FwikxR{Ar@CDZx@oBx"] (https://eval.in/180115)
<jhass> like that?
<mahtennek> let me try that out
M-Technic has quit [Ping timeout: 240 seconds]
<mahtennek> i tried using route_desc = line.split(/[:;]/).map { |desc| }
<mahtennek> but it didn't work nicely
<shevy> well did it work?
kirun has joined #ruby
M-Technic has joined #ruby
<jhass> what did you expect and what did you get?
zettam_ has quit [Ping timeout: 240 seconds]
zettam_ has joined #ruby
<mahtennek> apparently when it executed, I got COM_LIB\nSchool of Computing
anaeem1__ has joined #ruby
<mahtennek> but it seemed to be together
oo_ has quit [Remote host closed the connection]
newUser1234 has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
phoo1234567 has quit [Quit: Leaving]
newUser1_ has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
<mahtennek> i guess the solution you guys suggested might just work
zettam has quit [Ping timeout: 240 seconds]
mkaesz has quit [Read error: Connection reset by peer]
mkaesz has joined #ruby
zettam has joined #ruby
<mahtennek> i want to map these values to a variable.
<mahtennek> that's why i tried using .map
<shevy> huh
phoo1234567 has joined #ruby
<shevy> I did not know .map is used to map to a variable
Photism has quit [Quit: Leaving]
phoo1234567 has quit [Max SendQ exceeded]
zettam_ has quit [Ping timeout: 240 seconds]
<mahtennek> as in, i wanted to be able to put these data into a variable. name = "COM_LIB"; desc="School of Computing -> Central Library"; code="ag...."
phoo1234567 has joined #ruby
<mahtennek> maybe i am not too sure how this works, you could advise
<Nowaker> mahtennek: what if theres a - in book name?
<mostlybadfly> pontiki: sorry really late now but it was Andrew Bird.
<jhass> mahtennek: do name, desc, code = line.split(/ [;:] /)
newUser1234 has quit [Read error: Connection reset by peer]
<mahtennek> jhass: ok.
newUser1234 has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
<mahtennek> jhass: i did that, it threw out the entire result instead of individual records
<mahtennek> jhass: am i missing something?
<shevy> >> name, desc, code = "COM_CLIB : School of Computing -> Central Library ; ayg|{FwikxR{Ar@CDZx@oBx"; desc
<eval-in> shevy => nil (https://eval.in/180117)
<shevy> oops
<shevy> >> name, desc, code = "COM_CLIB : School of Computing -> Central Library ; ayg|{FwikxR{Ar@CDZx@oBx".split(/ [;:] /); desc
<eval-in> shevy => "School of Computing -> Central Library" (https://eval.in/180118)
<shevy> mahtennek the code should work fine as the example above shows
Tab_ has quit [Quit: Leaving]
<mahtennek> shevy: i see. thanks for the advise and help
<mahtennek> thanks guys! let me work it out
<Hanmac> or:
<Hanmac> >> "COM_CLIB : School of Computing -> Central Library ; ayg|{FwikxR{Ar@CDZx@oBx"[/: (.+) ;/,1]
<eval-in> Hanmac => "School of Computing -> Central Library" (https://eval.in/180120)
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 260 seconds]
ixti has joined #ruby
<jhass> I think he wants all three, not just one
axilla has joined #ruby
chipotle has quit [Ping timeout: 264 seconds]
<mahtennek> yeah jhass is right, i need all three but as individuals. eval-in your previous solution is what i was looking for
SilkFox_ has joined #ruby
newUser1_ has quit [Ping timeout: 250 seconds]
<mahtennek> thanks it worked. pretty bad with these.
CorySimmons has joined #ruby
<jhass> guys, eval-in is the only one helping in this channel. We need to get better
SilkFox has quit [Ping timeout: 245 seconds]
axilla has quit [Ping timeout: 272 seconds]
d4nk_ has joined #ruby
<mahtennek> kudos!
newUser1234 has joined #ruby
<bMalum> does somebody know how to read SMART HDD Attributes with ruby?
hasan has left #ruby [#ruby]
<jhass> bMalum: I'd just shell out to smartctl
<bMalum> is a way .... i already knew but its not really "beautiful"
<jhass> hide it in a class that abstracts that
d4nk_ has quit [Ping timeout: 272 seconds]
newUser1234 has quit [Read error: Connection reset by peer]
<bMalum> jhass - yes, still shit only hidden in cotton :P
realDAB has joined #ruby
<dorei> bMalum: find a C lib that does it and use ffi? :p
chiel has left #ruby [#ruby]
stef_204 has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
<bMalum> jhass: just realized i cannot use smartcl in ans abstracted way cause of the license ...
<jhass> bMalum: ever compared mini_magick and rmagick ?
Neomex has joined #ruby
<bMalum> dorei: not easy to finde well written C-Libs for this ...
<bMalum> jhass: never - but i see what you want to tell me ^^
fgo_ has joined #ruby
newUser1_ has joined #ruby
realDAB has quit [Client Quit]
fgo has quit [Ping timeout: 240 seconds]
<shevy> mahtennek eval-in is a bot :)
<mahtennek> shevy: woah seriously?! i didn't know. it knows how to help me, that's like brilliant
<shevy> it can be used to evaluate ruby code
krz has quit [Quit: WeeChat 0.4.3]
<shevy> >> puts 'hi mahtennek'
<eval-in> shevy => hi mahtennek ... (https://eval.in/180121)
<shevy> people like it when you do that ;)
<shevy> >> puts 'right jhass?'
<eval-in> shevy => right jhass? ... (https://eval.in/180122)
newUser1_ has quit [Ping timeout: 255 seconds]
newUser1234 has joined #ruby
<mahtennek> so how do i trigger eval-in?
johncamelion1 has joined #ruby
<mahtennek> this is so cool! i didn't know about this
<mahtennek> >> puts 'hi?'
<eval-in> mahtennek => hi? ... (https://eval.in/180123)
chipotle has joined #ruby
<mahtennek> thanks shevy, jhass, Hanmac for the help! haha my bad. mistook the bot!
<shevy> yeah leading >> it is
end_guy has quit [Ping timeout: 264 seconds]
sepp2k has joined #ruby
agjacome has quit [Quit: leaving]
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 272 seconds]
<waxjar> or 1.9>> if you want to use a 1.9 runtime, etc
oo_ has joined #ruby
georgelappies has quit [Remote host closed the connection]
chipotle has quit [Ping timeout: 244 seconds]
newUser1_ has quit [Ping timeout: 240 seconds]
<shevy> really?
InhalingPixels has joined #ruby
<shevy> 1.8>> puts 'hello old world'
<jhass> without the dot
<shevy> 1.9>> puts 'hello not so old world'
<shevy> hmmm
<jhass> you didn't notice in all the time?
newUser1234 has joined #ruby
<jhass> 19>> RUBY_DESCRIPTION
<shevy> I've never seen that
<eval-in> jhass => "ruby 1.9.3p547 (2014-05-14 revision 45962) [i686-linux]" (https://eval.in/180124)
<shevy> 18>> RUBY_DESCRIPTION
<eval-in> shevy => "ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-linux]" (https://eval.in/180125)
<jhass> how come I have?
<shevy> I don't know
oo_ has quit [Remote host closed the connection]
end_guy has joined #ruby
georgelappies has joined #ruby
<shevy> jhass how did you know?
<jhass> I've seen people using it
oo_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> 10>> RUBY_DESCRIPTION
<eval-in> jhass => /tmp/execpad-02a79426b648/source-02a79426b648:4: TypeError: can't modify frozen string (https://eval.in/180126)
phutchins has joined #ruby
<jhass> 10>> RUBY_VERSION
<eval-in> jhass => /tmp/execpad-addd57814b60/source-addd57814b60:4: TypeError: can't modify frozen string (https://eval.in/180127)
<jhass> hm, broken
InhalingPixels has quit [Ping timeout: 260 seconds]
newUser1234 has quit [Read error: Connection reset by peer]
newUser1_ has joined #ruby
<mr_snowf1ake> so... i'm on vacation... which means i can write lots of ruby!! :D what should i make? any thoughts?
oo_ has quit [Ping timeout: 245 seconds]
<Mon_Ouie> The template it uses for Ruby 1.0 doesn't work
fgo_ has quit [Read error: Connection reset by peer]
fgo has joined #ruby
<Mon_Ouie> (it uses #class and puts, none of which are defined)
<jhass> 10>> print RUBY_VERSION; end; exit; begin;
<eval-in> jhass => /tmp/execpad-d954190f5500/source-d954190f5500:2: NameError: Uninitialized constant RUBY_VERSION (https://eval.in/180128)
<jhass> 10>> print "hey"; end; exit; begin;
<eval-in> jhass => heynil (https://eval.in/180129)
<shevy> mr_snowf1ake make ruby more popular
<mr_snowf1ake> but shevy, i've already converted a few people from other languages. haven't i contributed enough in that regard? :/
<shevy> not enough
<bMalum> >> loop do puts "this line will be executed for an infinite amount of time" end
<shevy> php is still more popular than ruby is
newUser1_ has quit [Ping timeout: 264 seconds]
<shevy> bMalum I think such code is intercepted
fgo_ has joined #ruby
<mahtennek> any idea if i were to push to git repo, and if my source codes contains sensitive passwords, how can i remove these passwords from my git repo? should i use .gitignore?
yfeldblum has quit [Ping timeout: 260 seconds]
fgo has quit [Ping timeout: 240 seconds]
<mr_snowf1ake> shevy: i think it would be more beneficial to make php less popular than ruby more popular since php should be purged anyway
newUser1234 has joined #ruby
<Hanmac> mr_snowf1ake: the problem would be that rails is still more popular than ruby for the world ...
bMalum has quit [Remote host closed the connection]
freerobby has joined #ruby
<mr_snowf1ake> Hanmac: that's really true....
<mr_snowf1ake> it makes me sad.
jottr has joined #ruby
<mr_snowf1ake> when i say "ruby" people are like "web language?"
bMalum has joined #ruby
<jhass> mahtennek: did you already push or did you accidentally commit them?
newUser1234 has quit [Ping timeout: 246 seconds]
<shevy> mr_snowf1ake that can not work, there is too much investment into the current infrastructure - just look that COBOL is still used
<mahtennek> jhass: not yet. just wondering how can i go about before i push them
<shevy> mr_snowf1ake ruby would have to provide compelling advantages over php on the web
<mr_snowf1ake> shevy: but i'm not interested in web... :(
<shevy> perl was not interested in the web aside from cgi either
<jhass> mahtennek: read them from environment variables or make your code read a config file, the config itself should be in .gitignore, just commit an example file that has to be copied over and edited
banister has joined #ruby
<mahtennek> jhass: yup im reading from a config file. so i just declare my config file in .gitignore. cool! thanks
jottr has quit [Ping timeout: 272 seconds]
Takle has joined #ruby
nateberkopec has joined #ruby
<dorei> Are there any ruby without rails jobs? :)
Cheezebox has joined #ruby
<mr_snowf1ake> curious, was why also an irc'er?
<mr_snowf1ake> like, was there a time he lounged this channel?
newUser1_ has joined #ruby
obs has quit [Quit: Saliendo]
craigbowen3 has joined #ruby
obs has joined #ruby
philcrissman has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
newUser1234 has joined #ruby
newUser1_ has quit [Ping timeout: 245 seconds]
GriffinHeart has joined #ruby
<mr_snowf1ake> awww i want to try playing with qt in ruby but qtruby is apparently dead and the only other bindings i could find only works on ruby 1.9.3 or ruby 2.0
xcv has joined #ruby
axilla has joined #ruby
axl_ has joined #ruby
axl_ has quit [Client Quit]
<peret> dorei: sure, in the sysadmin realm
mercerist has quit [Quit: Computer has gone to sleep.]
whyy has joined #ruby
philcrissman has quit [Ping timeout: 264 seconds]
newUser1234 has quit [Read error: Connection reset by peer]
newUser1234 has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
<shevy> mr_snowf1ake he was sometimes on channels like #shoes
Martxel has joined #ruby
axilla has quit [Ping timeout: 240 seconds]
<shevy> not sure whether he was here
<mr_snowf1ake> ahh, makes sense for him to be on #shoes ofc.
d4nk_ has joined #ruby
charliesome has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
newUser1_ has joined #ruby
whyy has quit [Ping timeout: 272 seconds]
newUser1234 has quit [Ping timeout: 264 seconds]
asteve has joined #ruby
johncamelion1 has left #ruby [#ruby]
maoko has joined #ruby
_0xf_ has joined #ruby
freerobby has quit [Quit: Leaving.]
patrick99e99 has joined #ruby
yfeldblum has joined #ruby
Cheezebox has quit [Remote host closed the connection]
cy has joined #ruby
d4nk_ has quit [Ping timeout: 240 seconds]
Neomex has quit [Read error: Connection reset by peer]
gregf has quit [Quit: WeeChat 0.4.3]
newUser1234 has joined #ruby
newUser1_ has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
autochthon has joined #ruby
Guest64767 has quit [Read error: Connection reset by peer]
patrick99e99 has quit [Ping timeout: 250 seconds]
hellangel7 has joined #ruby
newUser1234 has quit [Ping timeout: 250 seconds]
newUser1234 has joined #ruby
klmlfl has joined #ruby
axilla has joined #ruby
gregf has joined #ruby
chipotle has joined #ruby
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 272 seconds]
mercerist has joined #ruby
Squarepy has joined #ruby
koderok has joined #ruby
newUser1_ has quit [Ping timeout: 260 seconds]
newUser1234 has joined #ruby
merceris_ has joined #ruby
oo_ has joined #ruby
mercerist has quit [Ping timeout: 245 seconds]
InhalingPixels has joined #ruby
timonv_ has joined #ruby
newUser1_ has joined #ruby
newUser1234 has quit [Ping timeout: 264 seconds]
sigurding has quit [Quit: sigurding]
oo_ has quit [Ping timeout: 272 seconds]
krz has joined #ruby
chipotle has quit [Ping timeout: 244 seconds]
bmurt has joined #ruby
InhalingPixels has quit [Ping timeout: 245 seconds]
shredding has joined #ruby
newUser1_ has quit [Read error: Connection reset by peer]
newUser1234 has joined #ruby
starkhalo has joined #ruby
chipotle has joined #ruby
mercwithamouth has joined #ruby
newUser1234 has quit [Ping timeout: 250 seconds]
newUser1_ has joined #ruby
claymore has quit [Quit: Leaving]
atmosx has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
axilla has quit [Ping timeout: 272 seconds]
ValicekB has quit []
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sevenseacat has quit [Remote host closed the connection]
W0rmDr1nk has joined #ruby
newUser1_ has quit [Ping timeout: 255 seconds]
newUser1234 has joined #ruby
Lewix has joined #ruby
mahtennek has quit []
newUser1234 has quit [Ping timeout: 272 seconds]
newUser1_ has joined #ruby
aspiers has quit [Ping timeout: 272 seconds]
axilla has joined #ruby
jgt has joined #ruby
jshultz has quit [Quit: Connection closed for inactivity]
oo_ has joined #ruby
GriffinHeart has joined #ruby
newUser1_ has quit [Ping timeout: 260 seconds]
ValicekB has joined #ruby
charliesome has joined #ruby
axilla has quit [Client Quit]
travis__ has joined #ruby
travis__ is now known as axilla
<jgt> can anyone see why I’m getting uninitialized constants? http://pastebin.com/RZfCc7VR
<jgt> I want to test the conditional in supplier_invoice_or_voucher
<waxjar> you can paste the error?
<jgt> sure, just a moment
davedev24_ has quit []
anaeem1__ has quit [Remote host closed the connection]
TieSoul has quit [Read error: Connection reset by peer]
TieSoul_ has joined #ruby
<jhass> looks like the files defining Voucher and SupplierInvoice aren't loaded in your testsuite
tstand90 has joined #ruby
ilteris has quit [Excess Flood]
merceris_ has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby
Ankhers has joined #ruby
<jgt> jhass: I tried pulling them in with require_relative just now, and the message has changed
<jgt> now I have uninitialized constant ActiveRecord
<jhass> then your testsuite doesn't load active record
<jgt> ideally I’d like to not load AR
Neomex has joined #ruby
<jhass> but you depend on it
<jgt> I’d like to create a fake version of my two models
<jhass> why?
<jgt> because I don’t want to test the implementation of my models
oo_ has quit [Remote host closed the connection]
<jgt> I want to test the conditional in supplier_invoice_or_voucher
d4nk_ has joined #ruby
<jhass> executing a find_by and expecting an instance back can hardly be called testing implementation
chipotle has quit [Ping timeout: 244 seconds]
<jhass> you assume the find_by works
eivindml has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> you test that the right one is executed
<jhass> if you want you can stub out the find_by
<jhass> allow(Voucher).to receive(:find_by).and_return(dummy)
<waxjar> you could alter the #find_by methods to just take any arguments and return true or something like that
yfeldblum has quit [Ping timeout: 240 seconds]
<jgt> in English, I want to say “When I call supplier_invoice_or_voucher with "V-110192", I want to make sure find_by() was called on SupplierInvoice"
ilteris has joined #ruby
<jhass> or even make that your expectation: expect(Voucher).to receive(:find_by)
d4nk__ has joined #ruby
timonv_ has quit [Remote host closed the connection]
eivindml has joined #ruby
chipotle has joined #ruby
eivindml has quit [Max SendQ exceeded]
maroloccio has joined #ruby
rubytor has joined #ruby
<jgt> jhass: right, but it’s still complaining about AR
<waxjar> can't you just check the return value of #supplier_invoice_or_voucher?
<jhass> jgt: you need to load it
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
<waxjar> you're testing an implementation detail now, no?
krisquigley has joined #ruby
<jgt> waxjar: I don’t think so?
shredding has quit [Quit: shredding]
<jgt> in my test, I don’t care what find_by does
eivindml has joined #ruby
d4nk_ has quit [Ping timeout: 246 seconds]
<jgt> I just want to test that it’s called
eivindml has quit [Max SendQ exceeded]
<waxjar> no, but maybe in the future you're not gonna use #find_by, but some other method on Voucher to find the right one
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
<jgt> I don’t see how that’s relevant. I’m not testing any of my models right now. I am testing the Importer class.
eivindml has joined #ruby
frankle has joined #ruby
eivindml has quit [Max SendQ exceeded]
d4nk__ has quit [Ping timeout: 250 seconds]
<jgt> one of the methods in the Importer class takes a string, and calls find_by on a model, depending on what the string was
eivindml has joined #ruby
<waxjar> but you're not checking the output, you're checking if it calls #find_by on a class that's not Importer
eivindml has quit [Max SendQ exceeded]
<jgt> that’s correct
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
eivindml has joined #ruby
charliesome has quit [Quit: zzz]
<waxjar> okay
rubytor has quit [Quit: No Ping reply in 180 seconds.]
rubytor has joined #ruby
timonv_ has joined #ruby
fold has joined #ruby
newUser1234 has joined #ruby
DivineEn1ity has joined #ruby
Hanmac has quit [Remote host closed the connection]
DivineEntity has quit [Ping timeout: 244 seconds]
Hanmac has joined #ruby
agjacome has joined #ruby
bmurt has quit []
bearish has quit [Remote host closed the connection]
mercerist has joined #ruby
matchaw has quit [Remote host closed the connection]
ARCADIVS has quit [Quit: WeeChat 0.4.3]
arup_r has joined #ruby
matchaw has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
chipotle_ has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
wox has joined #ruby
<wox> require 'irb/completion' fails for me... what's step 1
charliesome has joined #ruby
kimosabe has quit [Quit: Connection closed for inactivity]
<wox> where are ruby's modules stored?
fold has quit [Ping timeout: 250 seconds]
<wox> nm, found them, but it's still weird right? i shoudl have that one
mercwithamouth has quit [Ping timeout: 246 seconds]
ilteris has left #ruby ["Textual IRC Client: www.textualapp.com"]
xcv has quit [Remote host closed the connection]
<wox> oh so apparently i have to link against readline. what a pita
relix has joined #ruby
IceDragon has joined #ruby
craigbowen3 has quit [Ping timeout: 240 seconds]
chipotle_ is now known as chipotle
Xeago has joined #ruby
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby
philcrissman has joined #ruby
agent_white has joined #ruby
georgelappies has quit [Remote host closed the connection]
eivindml has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matchaw has quit [Ping timeout: 264 seconds]
nateberkopec has quit [Quit: Leaving...]
<shevy> wox ext/readline keeps the readline bindings
<shevy> completion is only available if you have a ruby with those bindings compiled
<shevy> this is from a source tarball like ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.bz2 - some distribution's ruby does not have readline support compiled in by default
philcrissman has quit [Ping timeout: 244 seconds]
whyy has joined #ruby
<wox> yeah i noticed, guess arch doesn't
<jhass> arch does
<wox> oh it should?
<shevy> jhass is also using arch
<wox> i got that, mine doesn't seem to have it though
<jhass> I can require irb/completion fine
<wox> cool
<shevy> hehe
<shevy> well
<shevy> does not list readline as dependency
<jhass> yeah that vanished for some reason
<shevy> when I do "ldd ruby" on my ruby, I get this among others libreadline.so.6 => /usr/lib/libreadline.so.6 (0x00007f8090c16000)
TieSoul has joined #ruby
<wox> shevy: i tried that, no readline
whyy has quit [Ping timeout: 250 seconds]
TieSoul_ has quit [Read error: Connection reset by peer]
<wox> jhass: what version?
<shevy> perhaps they removed that from the archlinux package in between
<jhass> "ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]"
<wox> i'm 2.1.2-1
<wox> same.. hm
<jhass> yep, same
<shevy> ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
<shevy> \o/
<shevy> we are brothers
<shevy> except that wox has no readline support
<jhass> shevy: my ruby doesn't link against readline. The ext does
<shevy> huh
klmlfl has quit [Quit: klmlfl]
<shevy> your ldd ruby does not show a link towards libreadline.so?
<shevy> or rather libreadline.so*
<wox> shevy: no
<jhass> /usr/lib/ruby/2.1.0/x86_64-linux/readline.so
yfeldblum has joined #ruby
<wox> ah
<wox> libreadline.so.6 => /usr/lib/libreadline.so.6 (0x00007f8f9b27d000)
bearish has joined #ruby
<shevy> wox yeah but your ruby does not have a link towards libreadline.so.6 right?
havenwood has joined #ruby
phoo1234567 has quit [Quit: Leaving]
<jhass> shevy: mine doesn't either and require 'irb/completion' works
<wox> right. so yours does but jhass's doesnt?
pandaant has joined #ruby
<wox> well
<shevy> I don't trust jhass' setup
<shevy> you arch guys should at least have the same rubies!
Panicky has quit [Ping timeout: 264 seconds]
<jhass> we do
Takle has quit [Remote host closed the connection]
<jhass> shevy: works even in env -i irb, so I don't see how it would be setup related
<shevy> now that's a mystery bug
<shevy> works for jhass but does not work for wox
yfeldblum has quit [Ping timeout: 240 seconds]
<jhass> wox: does require 'readline' work for you?
lkba has quit [Ping timeout: 245 seconds]
<wox> jhass: no
<agent_white> shevy: "[we] arch guys"... you racist.
<jhass> wox: load error?
bearish has quit [Ping timeout: 245 seconds]
<wox> no, just false - yeah what's with that?
<Hanmac> shevy better than the centos guys ;P
<jhass> false means it already worked
<jhass> it means it was already loaded
<wox> aha
<wox> weird
alexju has joined #ruby
<jhass> so what error do you get on require 'irb/completion' ?
<wox> also false
<wox> but no completio
<wox> how do i see loaded modules?
<jhass> $LOADED_FEATURES
<jhass> what sort of completion do you expect?
f_vosberg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> you get nothing if you for example do: [].p<tab><tab> ?
<wox> method completion for one
<wox> right
<jhass> hm weird
<jhass> what terminal?
<jhass> also what echo $TERM?
arya_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
<wox> ok reinstalled... now it works
<wox> sigh
<wox> guess we'll never know now
<jhass> btw now that it works switch to pry :P
danijoo has joined #ruby
<wox> pry.. bond..
<wox> a lot of choices huh
<Hanmac> >> require "date"; "ruby build is %d days old" % (Date.today - Date.parse(RUBY_RELEASE_DATE))
<eval-in> Hanmac => "ruby build is 101 days old" (https://eval.in/180197)
<jhass> pry is awesmome
d4nk_ has joined #ruby
davedev24_ has joined #ruby
ValicekB has quit [Ping timeout: 260 seconds]
thingmaker has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patrick99e99 has joined #ruby
charliesome has quit [Quit: zzz]
Inside has joined #ruby
mercwithamouth has joined #ruby
newUser1234 has quit [Remote host closed the connection]
advorak has joined #ruby
adamski2600 has quit [Remote host closed the connection]
kp666 has joined #ruby
koderok has left #ruby [#ruby]
kp666 has quit [Client Quit]
d4nk_ has quit [Ping timeout: 272 seconds]
patrick99e99 has quit [Ping timeout: 245 seconds]
whoah has quit [Ping timeout: 250 seconds]
Cheezebox has joined #ruby
Xe has joined #ruby
<Xe> Where can I get help with Ruby on Rails?
kp666 has joined #ruby
anildigital is now known as zz_anildigital
LangeOortjes has joined #ruby
ValicekB has joined #ruby
<havenwood> Xe: #rubyonrails
<agent_white> Goodbai xterm :'(
axl_ has joined #ruby
brothmars has joined #ruby
Cheezebox has quit [Remote host closed the connection]
cpruitt has joined #ruby
axl_ has quit [Client Quit]
cpruitt has quit [Read error: Connection reset by peer]
M-Technic has quit [Ping timeout: 245 seconds]
M-Technic has joined #ruby
cpruitt has joined #ruby
Cheezebox has joined #ruby
kp666 has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
wox has quit [Ping timeout: 272 seconds]
Hanmac has quit [Ping timeout: 272 seconds]
tstand90 has quit [Remote host closed the connection]
cpruitt has quit [Quit: cpruitt]
ddv has joined #ruby
ddv has quit [Changing host]
sigurding has joined #ruby
fold has joined #ruby
matchaw has joined #ruby
newUser1234 has joined #ruby
soulcake has quit [Quit: Quack.]
CorySimmons has quit [Quit: Zzz...]
GriffinHeart has quit [Remote host closed the connection]
CorySimmons has joined #ruby
GriffinHeart has joined #ruby
soulcake has joined #ruby
CorySimmons has quit [Client Quit]
GriffinHeart has quit [Read error: Connection reset by peer]
GriffinH_ has joined #ruby
kp666 has joined #ruby
arya__ has joined #ruby
brothmars has quit [Ping timeout: 260 seconds]
Hanmac has joined #ruby
arya_ has quit [Ping timeout: 245 seconds]
nahtnam has quit [Quit: Page closed]
nobitanobi has joined #ruby
<nobitanobi> good morning
tectonic has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has joined #ruby
kp666 has quit [Remote host closed the connection]
phoo1234567 has joined #ruby
brothmars has joined #ruby
adamski2600 has joined #ruby
matchaw has quit [Remote host closed the connection]
phoo1234567 has quit [Client Quit]
phoo1234567 has joined #ruby
carraroj has joined #ruby
itadder has joined #ruby
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
zz_anildigital is now known as anildigital
wallerdev has joined #ruby
matchaw has joined #ruby
<shevy> dumdedum
linojon has joined #ruby
<shevy> >> Exception.exception "this is not allowed"
<eval-in> shevy => #<Exception: this is not allowed> (https://eval.in/180213)
yfeldblum has joined #ruby
d4nk_ has joined #ruby
timonv_ has joined #ruby
mojo619 has joined #ruby
soulcake has quit [Quit: Quack.]
soulcake has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
d4nk_ has quit [Ping timeout: 250 seconds]
bMalum has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
lkba has joined #ruby
shredding has joined #ruby
mojo619 has quit [Quit: mojo619]
bMalum has quit [Read error: Connection reset by peer]
o0oo0o has quit [Remote host closed the connection]
o0oo0o has joined #ruby
bMalum has joined #ruby
Takle has joined #ruby
nfk has quit [Quit: yawn]
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
fgo_ has quit [Ping timeout: 240 seconds]
bMalum has quit [Read error: Connection reset by peer]
zettam has quit [Read error: Connection reset by peer]
fgo has joined #ruby
itadder has quit [Remote host closed the connection]
d4nk_ has joined #ruby
fgo has quit [Read error: Connection reset by peer]
LangeOortjes has quit [Remote host closed the connection]
fgo has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
zettam has joined #ruby
lkba has joined #ruby
jgt has quit [Quit: WeeChat 0.4.2]
Squarepy has quit [Ping timeout: 260 seconds]
ghr has joined #ruby
mary5030 has joined #ruby
kireevco has joined #ruby
fgo has quit [Ping timeout: 250 seconds]
fgo has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
brothmars has quit [Ping timeout: 264 seconds]
jsodini has quit [Read error: Connection reset by peer]
Atlas159 has joined #ruby
vinky has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
redondo has joined #ruby
mercwithamouth has quit [Ping timeout: 250 seconds]
d4nk_ has quit []
tokime611 has joined #ruby
Cheezebox has quit [Remote host closed the connection]
nobitanobi has quit []
tokime611 has quit [Client Quit]
OffTheRails has joined #ruby
mary5030 has quit [Remote host closed the connection]
Cheezebox has joined #ruby
w1xz has joined #ruby
Soda has joined #ruby
W0rmDr1nk has quit [Ping timeout: 272 seconds]
lxsameer has joined #ruby
jonahR has joined #ruby
InhalingPixels has joined #ruby
tylerkern has joined #ruby
mercwithamouth has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
Lewix has quit []
Lewix has joined #ruby
hellangel7 has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
claymore has joined #ruby
benzrf|offline is now known as benzrf
philcrissman has joined #ruby
axilla has quit [Ping timeout: 264 seconds]
kireevco has quit [Read error: Connection reset by peer]
lkba has joined #ruby
philcrissman has quit [Ping timeout: 240 seconds]
peret has quit []
whyy has joined #ruby
mary5030 has joined #ruby
whyy has quit [Ping timeout: 244 seconds]
timonv_ has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
alexju has joined #ruby
timonv_ has joined #ruby
mijicd has joined #ruby
carraroj has quit [Ping timeout: 255 seconds]
bearish has joined #ruby
IceDragon has quit [Ping timeout: 250 seconds]
carraroj has joined #ruby
Inside has quit [Ping timeout: 272 seconds]
timonv_ has quit [Remote host closed the connection]
poulet_a has joined #ruby
emmesswhy has joined #ruby
alexju has quit [Ping timeout: 260 seconds]
thingmaker has joined #ruby
IceDragon has joined #ruby
bearish has quit [Ping timeout: 240 seconds]
brothmars has joined #ruby
anaeem1 has joined #ruby
<banister> anyone here have experience with threaded programming in ruby?
axilla has joined #ruby
Squarepy has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
mweshi has joined #ruby
o0oo0o has quit [Ping timeout: 264 seconds]
<waxjar> threading's hard :(
msmith_ has joined #ruby
bluOxigen has joined #ruby
nuck has quit [Ping timeout: 240 seconds]
Dwarf has quit [Ping timeout: 272 seconds]
DrCode has quit [Ping timeout: 264 seconds]
<benzrf> banister: why not use actors, or something
pydave6367 has quit [Ping timeout: 245 seconds]
<banister> benzrf because I'm more interested in the underlying concepts right now, i'm not solving any particular problem, just upskilling myself
DrCode has joined #ruby
<benzrf> gool
<waxjar> haven't read it, but "working with threads" is supposedly a good book
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<waxjar> i read "working with tcp sockets" and "working with unix processes" by the same author, they were good as well
pydave6367 has joined #ruby
<banister> waxjar working with threads doesn't really go into enough detail
banister is now known as banisterfiend
emmesswhy has quit [Quit: This computer has gone to sleep]
<waxjar> maybe read up on threads in general, knowledge should be portable
maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
o0oo0o has joined #ruby
keltvek has quit [Ping timeout: 250 seconds]
bure has joined #ruby
mityaz has joined #ruby
_crowell has joined #ruby
<bure> hello all, is there an official ruby doc that talks about garbage collection?
<_crowell> hi, is there a way to detect this warning and then hit a rescue block?
<_crowell> (eval):1: warning: in a**b, b may be too big
sigurding has quit [Quit: sigurding]
Dwarf has joined #ruby
<yxhuvud> bure: in what context. as a language user or for extensions?
mityaz has quit [Client Quit]
<bure> how do i handle memory leaks?
keltvek has joined #ruby
CorySimmons has joined #ruby
momomomomo has joined #ruby
<havenwood> bure: there's been a lot of work on GC lately so it depends what version of Ruby you're interested in
amclain has joined #ruby
<waxjar> try to find out where the memory's leaking from and stop leaking it
johnmolina has joined #ruby
<bure> havenwood: 2.0.0p481
<havenwood> bure: most recently, incremental GC \o/ https://bugs.ruby-lang.org/issues/10137
<bure> internet search is hopeless
ghr has joined #ruby
keltvek has quit [Client Quit]
<havenwood> bure: 2.0 went to bitmap marking, so it's CoW friendly, but generational stuff landed in 2.1
jrunning_ is now known as jrunning
momomomomo has quit [Client Quit]
<bure> ok, i have hash of array, array is the value of the hash, and this array holds objects. i will recycle the array, what happens to those objects?
axilla has quit [Ping timeout: 264 seconds]
<bure> by setting array = nil
bmurt has joined #ruby
<waxjar> if they're not referenced anywhere else, the GC will pick them up
rdavila has joined #ruby
<waxjar> if they are, they won't be picked up
axilla has joined #ruby
<havenwood> bure: the bitmap corresponding to them gets marked
<havenwood> bure: on the next sweep, poof
ghr has quit [Ping timeout: 240 seconds]
momomomomo has joined #ruby
arup_r has quit [Quit: Leaving.]
relix has joined #ruby
<havenwood> or i guess doesn't get marked, rather :P
<havenwood> bure: if you're interested in details, try googling: bitmap marking ruby 2.0
cap has joined #ruby
Morkel has joined #ruby
Cheezebox has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
<bure> thank u
fgo has joined #ruby
mercerist has joined #ruby
CorySimmons has quit [Quit: Bye!]
mercerist has quit [Client Quit]
mercerist has joined #ruby
mweshi has quit [Quit: mweshi]
fgo has quit [Ping timeout: 250 seconds]
krz has quit [Quit: WeeChat 0.4.3]
qmfnp has joined #ruby
Spami has joined #ruby
nfk has joined #ruby
agjacome_ has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 255 seconds]
cap has quit [Remote host closed the connection]
jerikl has joined #ruby
cap has joined #ruby
msmith_ has quit [Remote host closed the connection]
agjacome has quit [Ping timeout: 260 seconds]
jottr has joined #ruby
cap has quit [Ping timeout: 240 seconds]
mercerist has quit [Quit: Computer has gone to sleep.]
mercwithamouth has quit [Ping timeout: 260 seconds]
cap has joined #ruby
mweshi has joined #ruby
newUser1234 has quit [Remote host closed the connection]
jerikl has quit [Quit: jerikl]
newUser1234 has joined #ruby
bearish has joined #ruby
craigbowen3 has joined #ruby
thingmaker has quit []
nuck has joined #ruby
nobitanobi has joined #ruby
nat2610 has joined #ruby
mercerist has joined #ruby
newUser1234 has quit [Ping timeout: 246 seconds]
krisquigley has joined #ruby
anaeem1 has quit [Remote host closed the connection]
nat2610 has quit [Client Quit]
Cheezebox has joined #ruby
emmesswhy has joined #ruby
nateberkopec has joined #ruby
_main_ has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
fgo has joined #ruby
__main__ has quit [Ping timeout: 250 seconds]
momomomomo has quit [Quit: momomomomo]
axilla has quit [Ping timeout: 250 seconds]
skysploit has joined #ruby
skysploit has joined #ruby
Pharaoh2 has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
_main_ is now known as __main__
fgo has quit [Ping timeout: 260 seconds]
Rylee has quit [Remote host closed the connection]
krisquigley has joined #ruby
Rylee has joined #ruby
anaeem1 has joined #ruby
benzrf is now known as benzrf|offline
tectonic has quit []
Pharaoh2 has joined #ruby
claymore has quit [Ping timeout: 245 seconds]
InhalingPixels has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
claymore has joined #ruby
rubytor has quit [Quit: No Ping reply in 180 seconds.]
mary5030 has quit [Remote host closed the connection]
rubytor has joined #ruby
advorak has quit [Ping timeout: 245 seconds]
TieSoul has quit [Ping timeout: 255 seconds]
thoolihan has quit [Ping timeout: 264 seconds]
codecop has joined #ruby
newUser1234 has joined #ruby
nateberkopec has quit [Quit: Leaving...]
Aranshada|W_ has quit [Ping timeout: 240 seconds]
thoolihan has joined #ruby
axilla has joined #ruby
krisquigley has quit [Remote host closed the connection]
ghr has joined #ruby
georgelappies has joined #ruby
bluOxigen has quit [Ping timeout: 245 seconds]
gilest has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
o0oo0o has quit [Ping timeout: 264 seconds]
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
bearish has quit [Remote host closed the connection]
o0oo0o has joined #ruby
mercerist has joined #ruby
krisquigley has joined #ruby
charliesome has joined #ruby
codecop has quit [Remote host closed the connection]
Mweshi_ has joined #ruby
codecop has joined #ruby
codecop_ has joined #ruby
ursooperduper has joined #ruby
philcrissman has joined #ruby
codecop has quit [Client Quit]
roshanavand has quit [Ping timeout: 245 seconds]
decoponio has quit [Quit: Leaving...]
nuck has quit [Ping timeout: 244 seconds]
arya__ has quit [Ping timeout: 255 seconds]
w1xz has quit [Ping timeout: 255 seconds]
osvico has joined #ruby
ARCADIVS has joined #ruby
anaeem1 has quit [Remote host closed the connection]
C0deMaver1ck has quit [Quit: ZNC - http://znc.in]
Cheezebox has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 250 seconds]
philcrissman has quit [Ping timeout: 264 seconds]
BBBThunda has joined #ruby
nuck has joined #ruby
jottr_ has joined #ruby
advorak has joined #ruby
advorak has quit [Max SendQ exceeded]
advorak has joined #ruby
whyy has joined #ruby
robustus has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
Soda has quit [Remote host closed the connection]
St_Marx has quit [Quit: Ex-Chat]
mweshi has quit [Quit: mweshi]
Mweshi_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Cheezebox has joined #ruby
Ilyas has joined #ruby
Ilyas has quit [Max SendQ exceeded]
whyy has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
nuck has quit [Ping timeout: 245 seconds]
St_Marx has joined #ruby
cap has quit [Read error: Connection reset by peer]
gilest has quit [Remote host closed the connection]
cap has joined #ruby
krisquigley has quit [Remote host closed the connection]
Darkchaos2 has joined #ruby
Cheezebox has quit [Remote host closed the connection]
Darkchaos has quit [Ping timeout: 250 seconds]
Taranis has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
cap has quit [Read error: Connection reset by peer]
cap has joined #ruby
nuck has joined #ruby
thingmaker has joined #ruby
skysploit has quit [Remote host closed the connection]
qmfnp has quit [Ping timeout: 244 seconds]
razum2um has joined #ruby
HarD2Beat has joined #ruby
thingmaker has quit [Client Quit]
IotaSpencer has joined #ruby
heftig has quit [Quit: Quitting]
axilla has quit [Ping timeout: 240 seconds]
heftig has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.3]
stef_204 has joined #ruby
jabbott has joined #ruby
<jabbott> Could someone please tell me why this is happening: http://goo.gl/ArFusj one is development environment and the other is production. It seems like it's not loading css or something...
bure has quit [Ping timeout: 246 seconds]
HarD2Beat has left #ruby [#ruby]
Cache_Money has joined #ruby
agjacome has joined #ruby
OffTheRails has quit [Ping timeout: 255 seconds]
stef_204 has quit [Client Quit]
nobitanobi has quit [Remote host closed the connection]
nuck has quit [Ping timeout: 272 seconds]
advorak has quit [Read error: Connection reset by peer]
agjacome_ has quit [Ping timeout: 260 seconds]
advorak has joined #ruby
krisquigley has joined #ruby
chipotle has quit [Quit: cya]
Spami has quit [Quit: This computer has gone to sleep]
fgo has joined #ruby
Spami has joined #ruby
<jhass> jabbott: #rubyonrails and that is expected behaviour. In production mode you're supposed to put a reverse proxy in front that serves the precompiled assets
_crowell has left #ruby [#ruby]
krisquigley has quit [Remote host closed the connection]
jabbott has left #ruby [#ruby]
axsuul has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
skysploit has joined #ruby
nuck has joined #ruby
anaeem1_ has joined #ruby
kquig has joined #ruby
skysploit has quit [Ping timeout: 244 seconds]
cap has quit [Remote host closed the connection]
carraroj has quit [Quit: Konversation terminated!]
cap has joined #ruby
kquig has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
nuck has quit [Ping timeout: 260 seconds]
mijicd has quit [Quit: leaving]
<shevy> Hanmac hehehe
michaeldeol has joined #ruby
Neomex has quit [Read error: Connection reset by peer]
charliesome has quit [Read error: Connection reset by peer]
agjacome_ has joined #ruby
mojo619 has joined #ruby
yacks has quit [Read error: Connection reset by peer]
peret has joined #ruby
krisquigley has quit [Remote host closed the connection]
catbusters has joined #ruby
nuck has joined #ruby
agjacome has quit [Ping timeout: 245 seconds]
patrick99e99 has joined #ruby
mweshi has joined #ruby
mary5030 has joined #ruby
pietr0 has joined #ruby
pietr0 has quit [Client Quit]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nuck has quit [Ping timeout: 260 seconds]
Mweshi_ has joined #ruby
patrick99e99 has quit [Ping timeout: 272 seconds]
kaspertidemann has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
heftig has quit [Quit: Quitting]
Mweshi_ has quit [Client Quit]
mweshi has quit [Quit: mweshi]
heftig has joined #ruby
mweshi has joined #ruby
Mweshi_ has joined #ruby
cuppscakes has joined #ruby
agjacome has joined #ruby
mweshi has quit [Client Quit]
Mweshi_ has quit [Client Quit]
mweshi has joined #ruby
Mweshi_ has joined #ruby
agjacome has quit [Client Quit]
pygospa has quit [Ping timeout: 250 seconds]
Takle has quit [Remote host closed the connection]
anildigital is now known as zz_anildigital
Cache_Money has quit [Quit: Cache_Money]
Mweshi_ has quit [Client Quit]
mweshi has quit [Client Quit]
agjacome_ has quit [Ping timeout: 246 seconds]
mweshi has joined #ruby
Mweshi_ has joined #ruby
lxsameer has quit [Quit: Leaving]
Mweshi_ has quit [Client Quit]
mweshi has quit [Client Quit]
KnownSyntax_ has joined #ruby
mweshi has joined #ruby
yfeldblum has joined #ruby
Mweshi_ has joined #ruby
mooru has joined #ruby
Mweshi_ has quit [Client Quit]
mweshi has quit [Client Quit]
KnownSyntax__ has joined #ruby
graft__ has quit [Quit: leaving]
KnownSyntax has quit [Ping timeout: 240 seconds]
Cheezebox has joined #ruby
chipotle has joined #ruby
mweshi has joined #ruby
mweshi has quit [Client Quit]
Mweshi_ has joined #ruby
Mweshi_ has quit [Client Quit]
mweshi has joined #ruby
klaut has joined #ruby
confused_ has joined #ruby
<kephra> Hanmac, I'm sure its an entrance to next level at my favorite MMO ;-)
KnownSyntax has joined #ruby
<kephra> Hanmac, http://kephra.de/pix/outside.jpg <- do you play this game?
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
<confused_> Which version of ruby should I install for Windows 8 and Linux Ubuntu?
KnownSyntax_ has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
hamsterslayer has joined #ruby
<kephra> confused_, pick same version for Windows, that is considered stable by Ubuntu
<Hanmac> confused_: "2.1.2" if possible says the topic
<xlii> kephra: No monthly fee is a lie, it's essentialy pay-to-win
Takle has joined #ruby
mojo619 has quit [Quit: mojo619]
<confused_> I have a question.
<confused_> I know this is a retarded question, please don't crticize me since I am new to programming.
<kephra> xlii, or even worse - pay or starve to death
<confused_> What is the difference between 1.9.3 and 2.1.2?
<confused_> Is it more functions and stuff like that?
georgelappies has quit [Remote host closed the connection]
<confused_> I had 1.9.3 in the past but my computer deleted my programs.
KnownSyntax__ has quit [Ping timeout: 260 seconds]
newUser1234 has quit [Remote host closed the connection]
cuppscakes has quit [Quit: Disconnected]
newUser1234 has joined #ruby
<pontiki> that's by no means a short or simple answer
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
<pontiki> what i'm curious about is how your computer chose to act on it's own
echevemaster has joined #ruby
mweshi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cheezebox has quit [Remote host closed the connection]
<kephra> confused_, I think most important change between 1.9.x and 2.x was that UTF8 is now default encoding for scripts
johnmolina has quit []
newUser1234 has quit [Ping timeout: 255 seconds]
JBreit has quit [Read error: Connection reset by peer]
<confused_> kephra: Can you please explain to me what UTF8 is and encoding for scripts? What is a script?
<confused_> This is interesting.
jottr has joined #ruby
<kephra> UTF8 is an encoding to wrap unicode into 8bit - its a pain in the ass, created by plan 9 from outer space - and as bad as the movie
axl_ has joined #ruby
<pipework> lol
KnownSyntax_ has joined #ruby
newUser1234 has joined #ruby
rdavila has quit [Quit: rdavila]
newUser1234 has quit [Remote host closed the connection]
<pontiki> computing has been going steeply downhill we abandoned 6-bit CDC character set
KillerFox has quit [Ping timeout: 250 seconds]
newUser1234 has joined #ruby
axl_ has quit [Client Quit]
KnownSyntax__ has joined #ruby
<Hanmac> apropos UTF8: i remember an old bug in the notepad editor from WindowsXp ... if you enter "no one likes gates" as string it did change the chars into japanise ones ;P
<pontiki> that wasn't a bug
hamsterslayer is now known as haliax
jottr_ has quit [Ping timeout: 245 seconds]
bmurt has quit []
relix has quit [Ping timeout: 240 seconds]
<bhaak> pontiki: pah! nothing beats the good old 5-bit baudot code!
newUser1234 has quit [Remote host closed the connection]
newUser1_ has joined #ruby
KillerFox has joined #ruby
<confused_> kephra: What is unicode and 8bit? Encoding?
* pontiki stands in solidarity with bhaak
rdavila has joined #ruby
KnownSyntax has quit [Ping timeout: 240 seconds]
vjt_ has joined #ruby
KnownSyntax_ has quit [Ping timeout: 240 seconds]
r_s has quit [Quit: Leaving]
ytw has joined #ruby
vjt has quit [Ping timeout: 240 seconds]
poulet_a has quit [Remote host closed the connection]
r_s has joined #ruby
relix has joined #ruby
autochthon has quit [Ping timeout: 245 seconds]
JBreit has joined #ruby
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
alexherbo2 has joined #ruby
krisquigley has joined #ruby
eivindml has joined #ruby
fgo has joined #ruby
krisquigley has quit [Remote host closed the connection]
<apeiros> confused_ chose the correct nick?
krisquigley has joined #ruby
charliesome has quit [Quit: zzz]
peta_ has joined #ruby
mojo619 has joined #ruby
ARCADIVS has quit [Ping timeout: 240 seconds]
andrewlio has quit [Quit: Leaving.]
fgo has quit [Ping timeout: 245 seconds]
peta_ has quit [Remote host closed the connection]
rdavila has quit [Quit: rdavila]
o0oo0o has quit [Remote host closed the connection]
Cheezebox has joined #ruby
o0oo0o has joined #ruby
claymore has quit [Quit: Leaving]
aalmenar_ has quit [Quit: No Ping reply in 180 seconds.]
rubytor has quit [Quit: No Ping reply in 180 seconds.]
rubytor has joined #ruby
pygospa has joined #ruby
ereslibre has quit [Quit: No Ping reply in 180 seconds.]
ereslibre has joined #ruby
ereslibre has quit [Changing host]
ereslibre has joined #ruby
bearish has joined #ruby
virtualize has quit [Read error: Connection reset by peer]
virtualize has joined #ruby
bearish has quit [Ping timeout: 272 seconds]
benzrf|offline is now known as benzrf
philcrissman has joined #ruby
charliesome has joined #ruby
Squarepy has quit [Remote host closed the connection]
ghr has joined #ruby
Jackneill has quit [Remote host closed the connection]
jonahR has quit []
chipotle has quit [Quit: cya]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mweshi has joined #ruby
philcrissman has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby
msmith_ has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
whyy has joined #ruby
KnownSyntax__ is now known as KnownSyntax
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
OffTheRails has joined #ruby
poulet_a has joined #ruby
rdavila has joined #ruby
bricker`LA has quit [Quit: leaving]
Wolland has joined #ruby
nfk has quit [Quit: yawn]
Wolland has quit [Remote host closed the connection]
yfeldblum has joined #ruby
havenwood has quit []
whyy has quit [Ping timeout: 272 seconds]
Wolland has joined #ruby
tylerkern has joined #ruby
Beoran_ has quit [Ping timeout: 240 seconds]
nfk has joined #ruby
Wolland_ has joined #ruby
Morkel has quit [Quit: Morkel]
yfeldblum has quit [Ping timeout: 255 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Wolland has quit [Ping timeout: 272 seconds]
jmc75 has joined #ruby
alpha123 has quit [Ping timeout: 260 seconds]
alpha123 has joined #ruby
brothmars has quit [Ping timeout: 264 seconds]
timonv_ has joined #ruby
jerikl has joined #ruby
MatthewsFace has joined #ruby
Ankhers has quit [Remote host closed the connection]
Wolland_ has quit [Remote host closed the connection]
Wolland has joined #ruby
Beoran_ has joined #ruby
axl_ has joined #ruby
nobitanobi has joined #ruby
mweshi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axl_ has quit [Client Quit]
xcv has joined #ruby
Wolland has quit [Ping timeout: 246 seconds]
saltsa has quit [Ping timeout: 255 seconds]
aZtec_ has joined #ruby
<aZtec_> hello
Xe has left #ruby ["WeeChat 0.4.3"]
<MatthewsFace> helllo
<aZtec_> how would you test "typecasting" methods?
<MatthewsFace> join #rubyonrails
<MatthewsFace> oops
oooooio has joined #ruby
saltsa has joined #ruby
<aZtec_> i have a method to_ics for an event class that returns an Ical object, i want to test that the return value of this method "makes sense" but i don't want to test the implementation of this Icalender::Bla Class
<dorei> anyone that could help me with an OO design dilemma I face? https://gist.github.com/egwspiti/366445eb9a0c2685c991
<nobitanobi> dorei: I like the second approach. You give the serialized object to the storage.
dnyy_ has joined #ruby
<aZtec_> dorei i would say this depends on the larger context
mweshi has joined #ruby
Inside has joined #ruby
jmc75 has quit [Excess Flood]
<dorei> but they both seem ok, right?
fgo has joined #ruby
<dorei> I think I agree with nobitanobi, I like B.rb more, but I can't reason about it, sort of like it's a matter a taste
saltsa has quit [Ping timeout: 250 seconds]
<pr0t> /join #arduino
<pr0t> heh
rdavila has quit [Quit: rdavila]
charliesome has quit [Ping timeout: 240 seconds]
rubytor has quit [Ping timeout: 250 seconds]
<aZtec_> dorei both are definitly "ok"
michaeldeol has joined #ruby
<aZtec_> i think it's imortant to understand the difference, which is loose coupling
fgo has quit [Ping timeout: 244 seconds]
codecop_ has quit [Quit: Išeinu]
<aZtec_> in B, class A (man, choose different class names next time ;) ) has to make an assumption about datastore, which is, that it provides an actual_save method
rdavila has joined #ruby
charliesome has joined #ruby
<aZtec_> in A, this is not inherent knowledge of the class, but instead some higher authority takes care of this
<aZtec_> imo., loose coupling tends to introduce unnecessary complexity so I'd also go with the second approach
<aZtec_> unless you intend to have many different classes like A and potentially some other classes similar to DataStore,
saltsa has joined #ruby
jerikl has quit [Quit: jerikl]
rubytor has joined #ruby
mweshi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mkaesz has quit [Remote host closed the connection]
Trieste has joined #ruby
einarj has joined #ruby
<dorei> so, tight coupling sometimes is not a bad a thing?
LiohAu has joined #ruby
closer has quit [Ping timeout: 252 seconds]
razum2um has quit [Quit: Leaving.]
<aZtec_> dorei, common notion seems to be that tight coupling is the worst thing ever ;)
<dorei> hold on, there's a flying insect attacking me :S
failshell has joined #ruby
mweshi has joined #ruby
<Nilium> Damned space invaders.
<Nilium> Someone do me a favor and kickban oooooio
<aZtec_> +1
closer has joined #ruby
<aZtec_> dorei i think there is a tradeoff for loose coupling, which is code complexity...
nobitanobi has quit []
<aZtec_> so the goal of loose coupling in general is maintainability. but if you introduce so much complexity in a seemingly simple task, that you have to spend half an hour before you understand what the *** you programmed a month ago, I'd say that's when tight coupling would have been better
nobitanobi has joined #ruby
nat2610 has joined #ruby
redondo has quit [Ping timeout: 246 seconds]
<dorei> aZtec_: I see, thanx a lot for your insight :)
<aZtec_> you're welcome
shredding has quit [Quit: shredding]
patrick99e99 has joined #ruby
<Nilium> The main trouble with loose coupling is you'll usually end up writing a bunch of stuff to ensure things can still communicate but they just have to go through some sort of messaging system (where the message could be anything, call it signaling or something else if you want)
ghr has joined #ruby
<Nilium> This can be great at times and it can just mean writing a lot more code at others
<Nilium> At any rate, kind of depends on what you're doing.
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
jerikl has joined #ruby
patrick99e99 has quit [Ping timeout: 244 seconds]
jmbrown412 has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: zzz]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblu_ has joined #ruby
jarto has joined #ruby
cap_ has joined #ruby
jerikl has quit [Quit: jerikl]
cap has quit [Ping timeout: 240 seconds]
Inside has quit [Ping timeout: 240 seconds]
C0deMaver1ck has joined #ruby
timonv_ has quit [Remote host closed the connection]
FaresKAlaboud has quit [Quit: Quit~]
FaresKAlaboud has joined #ruby
jhass is now known as jhass|off
mweshi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdugan_ is now known as mikedugan
axl_ has joined #ruby
LiohAu has quit [Ping timeout: 245 seconds]
axl_ has quit [Client Quit]
mkaesz has joined #ruby
krisquigley has quit [Remote host closed the connection]
newUser1_ has quit [Remote host closed the connection]
newUser1234 has joined #ruby
codebrah has joined #ruby
Shidash has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
mkaesz has quit [Ping timeout: 260 seconds]
circ-user-3Wi7N has joined #ruby
circ-user-3Wi7N has left #ruby [#ruby]
newUser1234 has quit [Ping timeout: 240 seconds]
OffTheRails has quit [Ping timeout: 240 seconds]
linojon has quit [Quit: linojon]
Grantlyk has joined #ruby
obs has quit [Quit: Saliendo]
cap_ has quit [Remote host closed the connection]
Sauvin has quit [Read error: Connection reset by peer]
cap has joined #ruby
Sauvin has joined #ruby
gtrak_ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
poulet_a has quit [Remote host closed the connection]
xcv has quit []
mooru has quit [Quit: Textual IRC Client: www.textualapp.com]
Cheezebox has quit [Remote host closed the connection]
peret has quit [Remote host closed the connection]
einarj has quit [Remote host closed the connection]
eivindml has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OffTheRails has joined #ruby
fgo has joined #ruby
Cheezebox has joined #ruby
bearish has joined #ruby
Fezzler has joined #ruby
riotjones has quit [Ping timeout: 250 seconds]
linojon has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
axilla has joined #ruby
msmith_ has quit []
Nowaker has quit [Ping timeout: 255 seconds]
Nowaker has joined #ruby
riotjones has joined #ruby
bearish has quit [Ping timeout: 255 seconds]
advorak has quit [Quit: Leaving]
<agent_white> BOOP
philcrissman has joined #ruby
codebrah has quit [Quit: Computer has gone to sleep.]
gilest has joined #ruby
<agent_white> Nilium: How often do you find yourself really thinking about design patterns like that in the 'real world'? -- I've heard people say that they are good to know, but aren't often seen in the wild.
<Nilium> I never think about design patterns, period.
<Nilium> They're patterns because they describe stuff people already do and don't think about.
mkaesz has joined #ruby
* apeiros thinks design patterns when he communicates others what he did
adamski2600 has quit []
<agent_white> apeiros: Are you a design pattern?
<agent_white> ;D
msmith_ has joined #ruby
msmith_ has quit [Remote host closed the connection]
<apeiros> I also see people who think design patterns when confronted with a problem as puzzle coders. trying to squeeze a puzzle piece into a free space.
<agent_white> Ahhh.
oooooio was kicked from #ruby by apeiros [using the channel as a spam source is not welcome]
oooooio has joined #ruby
froggy__ has joined #ruby
oooooio was banned on #ruby by apeiros [*!*@21.Red-83-39-251.dynamicIP.rima-tde.net]
oooooio was kicked from #ruby by apeiros [using the channel as a spam source is not welcome]
<agent_white> Yeah the only 'taste' I've gotten of it has been from POODR... but that felt more like "how to keep your program tidy".
philcrissman has quit [Ping timeout: 264 seconds]
<apeiros> note: I do think it's good to have *seen* and understand design patterns. I'm just not a fan of puzzle coding :)
MockerRussia has quit [Ping timeout: 260 seconds]
<Nilium> I just look at stuff as data-in -> transform -> data-out
<agent_white> Ah good deal :) I guess I'll stumble into it when I do :D
andrewlio has joined #ruby
andrewlio has quit [Client Quit]
<Nilium> How often the code actually looks like a straight transformation is a different matter since I mainly write game code and so there's tons of state and crap all over the palce
<Nilium> place
<Nilium> palace
mercerist has quit [Quit: Computer has gone to sleep.]
<agent_white> :D
<agent_white> Yeah I'm just hoping to catch onto some good leads at least... since once I begin to put my code into classes the whole world explodes.
spider-mario has quit [Read error: Connection reset by peer]
whyy has joined #ruby
froggy_ has quit [Ping timeout: 245 seconds]
<Nilium> Only thing I'd suggest is that you avoid the sometimes strong urge to use inheritance.
<Nilium> Since people starting out with classes usually like to go overboard with that crap.
mkaesz has quit [Ping timeout: 250 seconds]
Matadoer has joined #ruby
workmad3 has joined #ruby
Kilo`byte has quit [Ping timeout: 244 seconds]
jottr has quit [Ping timeout: 250 seconds]
Cheezebox has quit [Remote host closed the connection]
<agent_white> Ah good deal... Sandy explained the pitfalls of it pretty well in POODR. I just haven't made anything complex enough to consider it.
<agent_white> s/complex enough/work well enough
<agent_white> ;P
whyy has quit [Ping timeout: 250 seconds]
<Nilium> Classes are good provided you don't try too hard to cram everything into classes (the Java problem)
<Nilium> Inheritance is good provided you don't forget that there's composition and that not everything needs to inherit from something
axilla has quit [Ping timeout: 250 seconds]
m8 has quit [Quit: Sto andando via]
Kilo`byte has joined #ruby
nobitanobi has quit [Remote host closed the connection]
<Nilium> I have anime quotes for situations like this but I'm thankfully conscious enough to know that quoting anime is about as socially acceptable as kicking a baby into a busy street
ghr has joined #ruby
<wasamasa> You Are (Not) Alone
* wasamasa hides
mikeric has joined #ruby
<Nilium> That looks familiar but I don't actually recognize it.
<wasamasa> it's not a quote, that's why
<wasamasa> in fact, it's a title
<Nilium> That's probably why it looks familiar.
<Nilium> Oh right, Evangelion, also known as the worst anime.
<agent_white> Ikari Shinjikun pissed me off. He was such a fucking pussy for that whole series.
* agent_white pardons his language
<Nilium> kun isn't part of his name
<wasamasa> hey, it's one of the few movies that have CGI I actually like
failshell has quit []
<wasamasa> but yes, I've found more convincing depressing works over tme
<agent_white> Ah... I must've misheard it :P
fubarbaz has joined #ruby
<Nilium> Aside from that, nobody likes Shinji. In the original series he's practically a being made of tears.
fubarbaz has left #ruby [#ruby]
<Nilium> The reboot movies are alright because they're just action movies, but at that point it's not really Evangelion
<agent_white> Hahaha yeah he is.
rdavila_ has joined #ruby
<wasamasa> heck, one of them even features a mecha looking painfully close to the original and underage children piloting it
tylerkern has quit [Quit: Textual IRC Client: www.textualapp.com]
<agent_white> "WHY DO I HAVE TO PILOT THIS AWESOME, GIANT, PLANET-SAVING ROBOT? FATHER!!!1!1!!ONE!!1"
<Nilium> That's a really common trope
kies has quit [Ping timeout: 250 seconds]
<wasamasa> but is way less annoying and more original
rdavila has quit [Ping timeout: 260 seconds]
rdavila_ is now known as rdavila
charliesome has joined #ruby
<Nilium> Japan likes its giant robots piloted by teenagers
<Nilium> Stardriver's probably the best series for it.
<Nilium> Though it's not depressing. It's just insane.
mary5030 has joined #ruby
<agent_white> As long as they are stoked about piloting it, that's all good with me.
ghr has quit [Ping timeout: 245 seconds]
<wasamasa> I rather thought of bokurano
<Nilium> They are so very stoked to be piloting giant robots in Stardriver
nfk has quit [Quit: yawn]
<Nilium> Eureka Seven also does the giant robots thing pretty well.
<Nilium> And I've never seen Bokurano.
<wasamasa> where the children are stoked at first, then learn that piloting it is a pretty deadly thing to do
<Nilium> Eureka Seven definitely goes down that route
<Nilium> I'm not a huge fan of giant robots though. More of a dystopian scifi person.
<agent_white> wasamasa: True... but... walking across the street can be too. ;D
mary5030 has quit [Remote host closed the connection]
<Nilium> Stuff like Big O or Ghost in the Shell or Eden: It's an Endless World
<Nilium> Eden's extremely dark.
<wasamasa> agent_white: well, the difference is that you aren't destined to die after you've successfully walked down the street
<Nilium> Also not an anime, at least not yet.
<wasamasa> better that way, I prefer manga anyways :P
nfk has joined #ruby
<Nilium> I like the pacing in comics more, usually.
<Nilium> The move to anime always means something gets dropped.
<wasamasa> well, not if the anime didn't start as a manga adaption
<agent_white> wasamasa: Ahhh true :P
<Nilium> True.
tylerkern has joined #ruby
<wasamasa> also, kaiji would be a pretty good counter example of the anime adaptation surpassing the manga
<Nilium> Or, if you've got BONES behind it, they'll just go for fifty episodes and not cut anything.
brothmars has joined #ruby
<agent_white> FLCL seemed to do both really well. I love it so mach.
<wasamasa> agent_white: FLCL happens to be my favourite anime
<Nilium> I think it's impossible for people to dislike FLCL
<wasamasa> oh sure it is
<wasamasa> I know of one guy on a different channel I happen to be on
<Nilium> Also, on the topic of favorites, Welcome to the NHK is great both as a manga and anime, though it's hard to stomach
<wasamasa> hmm
<wasamasa> I suspected that to be the case
<dorei> serial experiment lain is my fav :)
<Nilium> Welcome to the NHK deals with some really unpleasant and downright awful stuff
<Nilium> Hence it being hard to stomach
<wasamasa> dorei: I had to watch FLCL afterwards to get right of the earworms
<wasamasa> dorei: but yes, it's second place for me
<Nilium> I haven't ever watched Lain. I keep trying to but I can't get past the first episode without falling asleep.
<wasamasa> Nilium: just concentrate on the pseudo-C
<wasamasa> Nilium: and ye olde hardware
<Nilium> That might drive me insane
nateberkopec has joined #ruby
<wasamasa> it sure has the potential
<wasamasa> it's the most depressing anime I've watched so far
nat2610 has quit [Quit: Leaving.]
<Nilium> I once read a Crichton book about nanomachines, Prey, and the nanomachines' AI was coded in BASIC.
<Nilium> When I got to that point in the book, I just about had an aneurysm.
juz88 has joined #ruby
peret has joined #ruby
<wasamasa> I guess they did not go with BASIC
kies has joined #ruby
haliax has quit [Quit: WeeChat 1.0]
<wasamasa> so, uh, what the hell is a code walker
hamsterslayer has joined #ruby
<wasamasa> something like a SSAX parser, but for code?
tyfighter has joined #ruby
<Nilium> Far as I'm aware, it's for self-modifying code.
<wasamasa> let's ask the guys on #lisp
dopie has joined #ruby
<dopie> hey all
<wasamasa> my guess is since S-Expressions and XML happen to look pretty similiar
<Nilium> So, in the context of Lain and the code presented, probably for loading code in a form that allows you to work with it in code and then unwalk it so it's back to being code. That's my best guess anyway since I don't know what a code walker means in the context of Lisp.
<Nilium> You shouldn't mention that thing about XML to Lisp folks.
<wasamasa> well, they know already
<wasamasa> and are pretty fine with DSLs that create HTML and such
<Nilium> Considering the whole XML/S-expr 'war'
<dopie> how do i call a puts method on this array [["2", "Hearts"], ["5", "Hearts"]] to display it as 2 of Hearts?? an each method iterates over each selection...
<Nilium> dopie: What?
<dopie> im calling an each.do on that array
<Nilium> What?
<dopie> and it puts it out like this
<dopie> 2
<dopie> Hearts
<Nilium> Put your code in a pastebin.
<dopie> instead of 2 Hearts
<Nilium> And then figure out what you're actually asking.
<wasamasa> >> [["2", "Hearts"], ["5", "Spades"]].each { |rank, suit| puts "#{rank} of #{suit}" }
Grantlyk has quit [Read error: Connection reset by peer]
<eval-in> wasamasa => 2 of Hearts ... (https://eval.in/180254)
Grantlyk has joined #ruby
Inside has joined #ruby
juz88 has quit [Ping timeout: 255 seconds]
hamsterslayer has quit [Quit: WeeChat 1.0]
Grantlyk has quit [Read error: Connection reset by peer]
kaspertidemann has quit []
Grantlyk has joined #ruby
* wasamasa disappears into the night
* Nilium watchers more Terror no Whatsit
rdavila has quit [Quit: rdavila]
Lewix has quit [Remote host closed the connection]
<dopie> I am... how do i call puts on that array w cards.map{|value, suit| puts "#{value} of #{suit}"}
<dopie> errro
<dopie> wait
<dopie> just answered my quesiton
CpuID has joined #ruby
CpuID has quit [Client Quit]
Lewix has joined #ruby
<Nilium> w cards?
Lewix_ has joined #ruby
Grantlyk has quit [Read error: Connection reset by peer]
Lewix has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
Grantlyk has joined #ruby
nat2610 has joined #ruby
fgo has joined #ruby
<Nilium> I can't figure out why I have a rails executable installed
juz88 has joined #ruby
Grantlyk has quit [Read error: Connection reset by peer]
<Nilium> And of all things it's Rails 2.3.2..
Grantlyk has joined #ruby
nat2610 has quit [Quit: Leaving.]
gilest has quit [Remote host closed the connection]
nat2610 has joined #ruby
<Nilium> Found it. Old Ruby 1.9 installation..
Deele has quit [Ping timeout: 244 seconds]
fgo has quit [Ping timeout: 255 seconds]
workmad3 has quit [Ping timeout: 250 seconds]
Matadoer has quit [Ping timeout: 272 seconds]
Matadoer has joined #ruby
Fire-Dragon-DoL has quit [Ping timeout: 260 seconds]
nateberkopec has quit [Quit: Leaving...]
MatthewsFace has quit [Quit: This computer has gone to sleep]
SilkFox has joined #ruby
mkaesz has joined #ruby
Grantlyk has quit [Remote host closed the connection]
michaeldeol has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
Fire-Dragon-DoL has joined #ruby
memph1s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axilla has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
OffTheRails has quit [Ping timeout: 264 seconds]
SouL has joined #ruby
dorei has quit []
Fire-Dragon-DoL has quit [Client Quit]
Fire-Dragon-DoL has joined #ruby
bmurt has joined #ruby
rdavila has joined #ruby
<Nilium> Also just realized my web host provides Rails, but it's via Ruby 1.8.7 and Rails 2.3.8 or something
<Nilium> I can only imagine the security holes that offers people
mkaesz has quit [Ping timeout: 255 seconds]
linojon has quit [Quit: linojon]
axl_ has joined #ruby
axsuul has quit [Ping timeout: 245 seconds]
bmurt has quit [Client Quit]
axl_ has quit [Client Quit]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patrick99e99 has joined #ruby
ghr has joined #ruby
nfk has quit [Quit: yawn]
kirun has quit [Quit: Client exiting]
tjr9898 has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 272 seconds]
tjr9898 has joined #ruby
cy has quit [Quit: :q!]
wallerdev has quit [Ping timeout: 255 seconds]
ghr has quit [Ping timeout: 260 seconds]
nfk has joined #ruby
mojo619 has quit [Quit: mojo619]
phoo1234567 has quit [Quit: Leaving]
tjr9898 has quit [Ping timeout: 255 seconds]
tectonic has joined #ruby
tylerkern has joined #ruby
mercwithamouth has joined #ruby
<benzrf> rails executable?
<benzrf> u wot?
mikeric has quit [Read error: Connection reset by peer]
DadoCe has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
DadoCe has quit [Remote host closed the connection]
chipotle has joined #ruby
mary5030 has joined #ruby
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
klaut has quit [Remote host closed the connection]