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
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
sparrovv has joined #ruby
coreycondardo has joined #ruby
pu22l3r has joined #ruby
djbkd has joined #ruby
jottr_ has quit [Ping timeout: 272 seconds]
cougarten_ has quit [Ping timeout: 255 seconds]
kaldrenon has left #ruby [#ruby]
sevenseacat has joined #ruby
sparrovv has quit [Ping timeout: 264 seconds]
Px12 has quit [Ping timeout: 246 seconds]
djbkd has quit [Client Quit]
maestrojed has quit [Quit: Computer has gone to sleep.]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OffTheRails has quit [Ping timeout: 272 seconds]
kaspergrubbe_ has quit [Remote host closed the connection]
ghr has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrisja has quit [Quit: leaving]
bousquet has quit []
Spami has joined #ruby
fabrice31 has joined #ruby
TheNet has joined #ruby
ghr has quit [Ping timeout: 268 seconds]
b00stfr3ak has quit [Ping timeout: 252 seconds]
<manzo> This may be a stupid question, but someone can tell me why the method []= is private for the Matrix class?
fabrice31 has quit [Ping timeout: 245 seconds]
Grantlyk has quit [Remote host closed the connection]
Grantlyk has joined #ruby
CorySimmons has quit [Read error: Connection reset by peer]
CorySimmons has joined #ruby
rimenes has joined #ruby
timgauthier_isaw is now known as timgauthier
doodlehaus has joined #ruby
<atmosx> manzo: probably because it's for the best. You must ask the developer for the specifics
timgauthier is now known as timgauthier_isaw
GriffinHeart has joined #ruby
Grantlyk has quit [Ping timeout: 272 seconds]
brandonshowers has joined #ruby
xcyclist has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<xcyclist> Say, is there a specific room I should join to ask a Rails question?
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> xcyclist: #rubyonrails, nick reg is req to speak
tkuchiki has joined #ruby
<xcyclist> Ok. I will try. My xcyclist should be properly registered. Thank you.
<shevy> manzo perhaps some other method calls it
bruno- has joined #ruby
GriffinHeart has quit [Ping timeout: 246 seconds]
zz_karupa is now known as karupa
<manzo> atmosx: thanks, I was just wondering if someone around here would know the reason... Looking at the code this is from 2005
Vaxgeek has quit [Remote host closed the connection]
oo_ has joined #ruby
nettoweb has joined #ruby
tkuchiki has quit [Remote host closed the connection]
mikeg has quit [Ping timeout: 245 seconds]
bmurt has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
benlieb has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
everett__ has quit [Ping timeout: 246 seconds]
benweint has quit [Quit: Computer has gone to sleep.]
oo_ has quit [Remote host closed the connection]
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<manzo> shevy: looking at the code on matrix.rb they may be called from wthin the class by methods like zero or diagonal... Maybe it has something to do with the semanthics of the initialization methods that I cited and others... I'm just guessing, but maybe making them public should not break anything that is not the semanthics
JohnFord has quit [Ping timeout: 246 seconds]
tockitj has quit [Quit: Leaving]
tlarevo has joined #ruby
linojon has quit [Quit: linojon]
lsone has joined #ruby
pu22l3r has quit [Remote host closed the connection]
oo_ has joined #ruby
zwischenzug has quit [Quit: Leaving]
lyuzashi has joined #ruby
w3pm has quit [Quit: This computer has gone to sleep]
benlieb has quit [Quit: benlieb]
linojon has joined #ruby
jponc__ has quit [Quit: Lost terminal]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
CorySimmons has quit [Quit: Zzz...]
oo_ has joined #ruby
CorySimmons has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
everett__ has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
t0rc has quit [Quit: WeeChat 1.0]
troyready has quit [Ping timeout: 245 seconds]
PanPan has joined #ruby
charliesome has joined #ruby
orolo has joined #ruby
atmosx has quit [Quit: Lost in trance]
CorySimmons has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
lampd has joined #ruby
lampd is now known as lampd1
oo_ has joined #ruby
_maes_ has joined #ruby
linojon has quit [Quit: linojon]
TheNet has quit [Remote host closed the connection]
dideler has quit [Ping timeout: 255 seconds]
cougarten_ has joined #ruby
TheNet has joined #ruby
Cooler_ has joined #ruby
emocakes has joined #ruby
andrewjanssen has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
linojon has joined #ruby
cirn0 has joined #ruby
havenwood has quit []
jds has quit [Quit: Connection closed for inactivity]
TheNet has quit [Ping timeout: 272 seconds]
maestrojed has joined #ruby
andrewjanssen has quit [Client Quit]
Zesty has joined #ruby
ghostmoth has joined #ruby
cirn0 has quit [Ping timeout: 245 seconds]
doodlehaus has joined #ruby
tkuchiki has joined #ruby
ericwood_ is now known as ericwood
tylersmith has joined #ruby
maestrojed has quit [Client Quit]
klmlfl_ has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
everett__ has quit [Ping timeout: 252 seconds]
rockdon_ has joined #ruby
shock_one has joined #ruby
TheNet has joined #ruby
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 246 seconds]
sleepee has joined #ruby
linojon has quit [Quit: linojon]
bricker`work has quit [Ping timeout: 272 seconds]
shock_one has quit [Ping timeout: 272 seconds]
pork_clips has joined #ruby
linojon has joined #ruby
doodlehaus has quit [Remote host closed the connection]
EasyCo has joined #ruby
bruno- has joined #ruby
patrick99e99 has quit [Ping timeout: 246 seconds]
_shrine has joined #ruby
lemur has joined #ruby
rafacv has quit [Remote host closed the connection]
_cake has quit [Ping timeout: 268 seconds]
GriffinHeart has joined #ruby
Cooler_ has quit []
pork_clips has quit [Ping timeout: 264 seconds]
bmurt has quit []
bruno- has quit [Ping timeout: 246 seconds]
pu22l3r has joined #ruby
lemur has quit [Ping timeout: 272 seconds]
MCDev has joined #ruby
GriffinHeart has quit [Ping timeout: 276 seconds]
jimmyhoughjr has quit [Quit: Textual IRC Client: www.textualapp.com]
Asher1 has joined #ruby
jimmyhoughjr has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
bonhoeffer has joined #ruby
rklfn has joined #ruby
dorei has quit []
Asher has quit [Ping timeout: 276 seconds]
iamjarvo has joined #ruby
nairys has quit [Quit: nairys]
ghostmoth has joined #ruby
davedev24_ has quit []
ta_ has joined #ruby
amclain has joined #ruby
bricker`LA has joined #ruby
rockdon_ is now known as rockdon|away
DrCode has quit [Remote host closed the connection]
icebourg has joined #ruby
oleo__ has joined #ruby
DrCode has joined #ruby
ta has quit [Ping timeout: 268 seconds]
everett__ has joined #ruby
Cheezebox has joined #ruby
oleo is now known as Guest82040
Guest82040 has quit [Ping timeout: 246 seconds]
britneywright has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
rklfn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo has quit [Quit: momomomomo]
rubyonrailed has quit []
yetanotherdave has quit [Quit: Lost terminal]
zettam has quit [Read error: Connection reset by peer]
ch0ke has joined #ruby
rockdon|away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jusmyth has joined #ruby
Channel6 has joined #ruby
cndiv has quit [Ping timeout: 240 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
orolo has quit [Quit: This computer has gone to sleep]
InhalingPixels has quit [Remote host closed the connection]
lazyguru has joined #ruby
AzureDiamond has joined #ruby
InhalingPixels has joined #ruby
vinleod has joined #ruby
AzureDiamond has left #ruby [#ruby]
pu22l3r has quit [Remote host closed the connection]
niklasb has quit [Ping timeout: 245 seconds]
bwwrd has joined #ruby
_reset has joined #ruby
InhalingPixels has quit [Ping timeout: 255 seconds]
orolo has joined #ruby
andrewjanssen has joined #ruby
KC9YDN has quit [Ping timeout: 272 seconds]
emocakes has quit []
andrewjanssen has quit [Client Quit]
amystephen has quit [Quit: amystephen]
emocakes has joined #ruby
<bricker`LA> I have god monitoring about 20 resque workers, but "god terminate" doesn't kill all of them, and sometimes they don't restart at all, even when a condition is met. The PIDs are configured correctly. I have increased the terminate timeout, but it doesn't help. If I manually send a QUIT signal to individual processes, they die eventually. Using `pkill -QUIT resque` does not work. What should I be looking for?
reset has quit [Ping timeout: 260 seconds]
aspires has quit []
pu22l3r has joined #ruby
<j4jackj> Please give some context
hamakn has joined #ruby
_reset has quit [Ping timeout: 276 seconds]
<bricker`LA> j4jackj: resque versions ranging from 1.23 to 1.26, ruby 2.1.1, god 0.13.4, ubuntu 12.03
<bricker`LA> 12.04*
sparrovv has joined #ruby
Spami has joined #ruby
everett__ has quit [Quit: Leaving]
kireevco has quit [Quit: Leaving.]
fabrice31 has joined #ruby
Spami has quit [Client Quit]
sparrovv has quit [Ping timeout: 260 seconds]
kenneth has joined #ruby
<mozzarella> how can I delete ri and darkfish documentation?
kenneth has quit [Client Quit]
lemur has joined #ruby
fabrice31 has quit [Ping timeout: 267 seconds]
wallerdev has quit [Quit: wallerdev]
fold has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
<j4jackj> i should really learn Tcl again... ruby seems too complicated for my tastes :/
lsone has quit [Quit: Textual IRC Client: www.textualapp.com]
Photism has quit [Quit: Leaving]
mocfive has quit [Remote host closed the connection]
slester has joined #ruby
Fire-Dragon-DoL has joined #ruby
ghr has joined #ruby
mocfive has joined #ruby
mary5030 has joined #ruby
darkxploit has quit [Ping timeout: 276 seconds]
bruno- has joined #ruby
linojon has quit [Quit: linojon]
sevvie has quit [Ping timeout: 276 seconds]
linojon has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jon-Xie has joined #ruby
sevvie has joined #ruby
sevvie has quit [Client Quit]
ghr has quit [Ping timeout: 240 seconds]
mocfive has quit [Ping timeout: 252 seconds]
oo_ has quit [Remote host closed the connection]
cougarten_ has quit [Ping timeout: 272 seconds]
bruno- has quit [Ping timeout: 245 seconds]
end_guy has quit [Remote host closed the connection]
JohnFord has joined #ruby
end_guy has joined #ruby
shock_one has joined #ruby
benlieb has joined #ruby
fold has quit [Ping timeout: 276 seconds]
w3pm has joined #ruby
arup_r has joined #ruby
tlarevo has quit [Ping timeout: 260 seconds]
coreycondardo has quit [Ping timeout: 272 seconds]
GriffinHeart has joined #ruby
tobyo has joined #ruby
Cheezebox has quit [Remote host closed the connection]
fold has joined #ruby
ItSANgo__ has quit [Quit: Leaving...]
shock_one has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
rezzack has quit [Quit: Leaving.]
wallerdev has joined #ruby
w3pm has quit [Quit: This computer has gone to sleep]
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
tlarevo has joined #ruby
Zesty has quit [Quit: Linkinus - http://linkinus.com]
benlieb has quit [Quit: benlieb]
Cheezebox has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
modernbob has quit [Ping timeout: 245 seconds]
modernbob has joined #ruby
modernbob has joined #ruby
modernbob has quit [Changing host]
ghostmoth has joined #ruby
sdegutis has joined #ruby
<sdegutis> +1 for chruby + ruby-install btw
<sdegutis> Been using it for about a week now, with no issues.
omosoj has quit [Quit: Leaving]
jonr22 has joined #ruby
Cheezebox has quit [Remote host closed the connection]
froggy_ has quit [Quit: Leaving]
GriffinHeart has quit [Remote host closed the connection]
Cheezebox has joined #ruby
mikepack has joined #ruby
andrewjanssen has joined #ruby
mary5030 has quit [Remote host closed the connection]
rehat__ has joined #ruby
Cheezebox has quit [Ping timeout: 246 seconds]
sleepee has quit [Ping timeout: 240 seconds]
icebourg has quit []
GriffinHeart has joined #ruby
j_mcnally has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
radic has quit [Disconnected by services]
KC9YDN has joined #ruby
radic_ has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
BTRE has quit [Ping timeout: 245 seconds]
nucatus has joined #ruby
manzo has quit [Ping timeout: 240 seconds]
reset has joined #ruby
mocfive has joined #ruby
orolo has joined #ruby
modernbob has quit [Ping timeout: 276 seconds]
reset has quit [Client Quit]
Oog has joined #ruby
<Oog> it seems the ? in regex is not greedy how do i make it greedy?
dapz has joined #ruby
bwwrd has quit [Quit: Textual IRC Client: www.textualapp.com]
<Oog> 'hi there test@turi.com'.match(/(.*) ?<?([^<@>]+@[^<@>]+)>?/)
<Oog> i think it should match
Photism has joined #ruby
mferrier has quit []
jonr22 has quit [Ping timeout: 268 seconds]
andrewjanssen has quit [Quit: Leaving...]
emmesswhy has quit [Quit: This computer has gone to sleep]
krz has joined #ruby
Nj0rd_ has joined #ruby
mikepack has quit [Remote host closed the connection]
lazyguru has quit [Read error: No route to host]
bonhoeffer_ has joined #ruby
rafacv has joined #ruby
BTRE has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
bonhoeffer has quit [Ping timeout: 255 seconds]
bonhoeffer_ is now known as bonhoeffer
ch0ke has quit [Ping timeout: 272 seconds]
jusmyth has quit [Quit: Leaving.]
ghostmoth has joined #ruby
icebourg has joined #ruby
braincrash has quit [Quit: bye bye]
cirn0 has joined #ruby
nairys has joined #ruby
voodoofish has quit [Ping timeout: 276 seconds]
lazyguru has joined #ruby
braincrash has joined #ruby
voodoofish has joined #ruby
ch0ke has joined #ruby
ItSANgo has joined #ruby
cirn0 has quit [Ping timeout: 255 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DanKnox has quit [Ping timeout: 240 seconds]
cndiv has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tlarevo has quit [Remote host closed the connection]
nettoweb has joined #ruby
tlarevo has joined #ruby
<claw> http://paste.triple6.org/?21 anybody can tell me where my misstake is? i have a array of x and y cordinate and a class Char where every chare has a instance variable @position
<claw> the method walk lets them walk to their enemy ( battle system )
patrick99e99 has joined #ruby
<claw> every char has a @team ( id )
<claw> but the chars move with whole team instead of their own
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Klaus_Dieter has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
nucatus has quit [Remote host closed the connection]
<claw> e.g. if member1 from team1 moves from 59,52 to 58,51 then member2 from team1 moves from 58,51 to 57,50
<claw> so position is shared
nucatus has joined #ruby
InhalingPixels has joined #ruby
Klaus_Dieter has joined #ruby
nucatus has quit [Read error: Connection reset by peer]
<claw> and i dont know why because @position is a instance of char not of team ( team isnt even a class )
nucatus has joined #ruby
ch0ke has quit [Ping timeout: 272 seconds]
niklasb has joined #ruby
r0ast has joined #ruby
rafacv has quit []
patrick99e99 has quit [Ping timeout: 260 seconds]
tlarevo has quit [Ping timeout: 268 seconds]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
nucatus has quit [Remote host closed the connection]
nucatus has joined #ruby
InhalingPixels has quit [Ping timeout: 276 seconds]
rehat__ has quit []
avita1 has joined #ruby
nettoweb has quit [Quit: Textual IRC Client: www.textualapp.com]
benzrf is now known as benzrf|offline
nucatus has quit [Ping timeout: 276 seconds]
thomasxie has joined #ruby
andrewjanssen has joined #ruby
andrewjanssen has quit [Client Quit]
bonhoeffer has quit [Quit: bonhoeffer]
nucatus has joined #ruby
nucatus has quit [Remote host closed the connection]
nucatus has joined #ruby
mikepack has quit [Remote host closed the connection]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
ghanima has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
nucatus has quit [Ping timeout: 255 seconds]
Scotteh has quit [Ping timeout: 260 seconds]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nj0rd_ has left #ruby ["Leaving"]
Ruhk has quit [Read error: Connection reset by peer]
Ruhk has joined #ruby
pasties has quit [Ping timeout: 250 seconds]
ghostmoth has quit [Quit: ghostmoth]
narcan has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
i6ghost has quit [Quit: Lost terminal]
gdoteof has quit [Ping timeout: 245 seconds]
_musl_ has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
lukeholder has joined #ruby
linojon has quit [Quit: linojon]
gdoteof has joined #ruby
bricker`LA has quit [Ping timeout: 245 seconds]
zorak8 has quit [Ping timeout: 276 seconds]
nucatus has joined #ruby
pasties has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
emmesswhy has joined #ruby
zz_anildigital is now known as anildigital
_cake has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
zorak8 has joined #ruby
fabrice31 has joined #ruby
_Kerber0s_ has quit [Remote host closed the connection]
havenwood has joined #ruby
_shrine has quit [Ping timeout: 264 seconds]
renier_ has joined #ruby
orolo has joined #ruby
renier has quit [Ping timeout: 260 seconds]
aleatorik has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arrubin> Can someone explain why this error occurs? http://ideone.com/YXdguT
fabrice31 has quit [Ping timeout: 264 seconds]
<arrubin> Adding a @ to bar on line 10 fixes the problem.
<arrubin> I want to understand why.
BlkDynmt has joined #ruby
freerobby has quit [Quit: Leaving.]
<havenwood> arrubin: you wrote `bar` when you meant `@bar`
<arrubin> Hilarious.
pu22l3r has quit [Remote host closed the connection]
<havenwood> arrubin: note `self.bar.size` would work
<arrubin> Why does line 10 introduce a local variable when it is not executed?
GriffinHeart has quit [Remote host closed the connection]
binaryhat has quit [Ping timeout: 252 seconds]
<Hanmac> arrubin: "bar = x" is always a local variable, "self.bar = x" is always a method
<sdegutis> lol havenwood do you ever sleep
BlkDynmt_ has joined #ruby
<havenwood> sdegutis: rarely except on the weekend :P
nettoweb has quit [Ping timeout: 255 seconds]
Synthead has joined #ruby
BlkDynmt has quit [Ping timeout: 268 seconds]
r0ast has quit [Read error: Connection reset by peer]
<havenwood> >> arrubin = arribuin if false; defined? arrubin
<eval-in____> havenwood => "local-variable" (https://eval.in/191552)
ghostmoth has joined #ruby
crdpink2 has joined #ruby
<havenwood> >> defined? arrubin
bruno- has joined #ruby
<eval-in____> havenwood => nil (https://eval.in/191553)
<sdegutis> I shoved a Ruby script into my OS X app's build phase to generate a docs.json file from my app's private source code which gets copied to the app itself so ti can use it at runtime.
<sdegutis> Just reporting that it was pleasant and works like a charm.
<havenwood> nice
crdpink has quit [Ping timeout: 276 seconds]
lazyguru has quit [Read error: No route to host]
<arrubin> Hanmac: Line 10 is never executed though.
nucatus has quit [Remote host closed the connection]
<Hanmac> hm yeah and that too, but ruby detects that you want to set a local variable
nucatus has joined #ruby
oo_ has quit [Remote host closed the connection]
<arrubin> Also, is there some reason to prefer self.bar to @bar?
<sdegutis> Although to be fair, it's a really ugly Ruby file. It's very ad-hoc and it shows.
<sdegutis> But honestly, is that really that bad?
bruno- has quit [Ping timeout: 246 seconds]
<havenwood> arrubin: it'd have to go through the method dispatch for self.bar
lazyguru has joined #ruby
<havenwood> arrubin: might as well use @bar
<havenwood> arrubin: you see both, but accessing the instance variable directly is more common
mary5030 has joined #ruby
nucatus has quit [Ping timeout: 252 seconds]
shock_one has joined #ruby
melik has joined #ruby
<havenwood> arrubin: for the rare tight loop when it actually matters, local variables are actually faster to access that instance variables so you'll see stuff like this: https://github.com/puma/puma/blob/master/lib/puma/thread_pool.rb#L57-L60
Synthbread has joined #ruby
<havenwood> arrubin: but generally don't worry about such things, they rarely come up
avita11 has joined #ruby
avita1 has quit [Read error: Connection reset by peer]
Synthead has quit [Read error: Connection reset by peer]
<sdegutis> I see that in Lua a lot too.
<sdegutis> (It's even faster in Lua than in Ruby.)
_musl_ has joined #ruby
<sdegutis> My wife thinks of Luau every time I say Lua.
<havenwood> moooon
<havenwood> harvest moon tonight
<sdegutis> That's what I said too!
<sdegutis> Oh wait yeah that.
* sdegutis looks
<havenwood> mruby!
<havenwood> lua envy inspired..
ghr has joined #ruby
<arrubin> havenwood: I only asked because both you and Hanmac used self.bar.
bryanhowarth has quit [Quit: bryanhowarth]
shock_one has quit [Ping timeout: 240 seconds]
<sdegutis> havenwood: Every time I look at mruby I can't help but wonder why not just use Lua.
<havenwood> arrubin: Just to show the binding to the bar you were looking for. But @bar.
<Hanmac> like if you have a speciffic setter method, like doing some convert in the obj.foo = bar, them you need to use self.foo = bar inside your method otherwise you cant call that setter method from the inside
<havenwood> sdegutis: because... ruby!
<sdegutis> Ruby in itself is lame, it's the standard libraries that make it useful.
<arrubin> havenwood, Hanmac: Thank you both.
<sdegutis> And the fact that it comes with my Mac pre-installed.
jack_rabbit has quit [Ping timeout: 245 seconds]
andrewjanssen has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
<sdegutis> Hmm.
anaeem1 has joined #ruby
<sdegutis> Actually, I might want to embed mruby instead of Lua.
<sdegutis> More people seem to know Ruby than Lua...
lukeholder has joined #ruby
Synthbread has quit [Remote host closed the connection]
<mozzarella> people don't like 1-based indexes
mary5030 has quit [Remote host closed the connection]
<sdegutis> Nonsense. I do.
echevemaster has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
duncannz has joined #ruby
Jon-Xie has quit [Remote host closed the connection]
JoshGlzBrk has joined #ruby
InhalingPixels has quit [Ping timeout: 255 seconds]
axsuul has quit [Ping timeout: 276 seconds]
TheNet has quit [Quit: Leaving...]
arup_r has quit [Quit: Leaving.]
aspires has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
Fire-Dragon-DoL has quit [Quit: Leaving.]
yacks has quit [Ping timeout: 260 seconds]
oo_ has joined #ruby
bricker`LA has joined #ruby
yfeldblu_ has joined #ruby
<eam> lua has 1 based indexes? I will continue to not use it
<sdegutis> eam: Dumbest reason ever.
<sdegutis> *Dumbest objection ever.
<eam> surely not the dumbest
<eam> "the name is too short" is an even dumber reason. Q.E.D.
<sdegutis> It's up there.
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
<eam> I guess another reason is I find no practical applications for it
<eam> but where's the fun in that
kireevco has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
tlarevo has joined #ruby
<sdegutis> eam: The best use-case for it is that it's way easier to embed into a C app than Ruby or Python.
bluOxigen has joined #ruby
<sdegutis> Although mruby looks like it may be viable.. I'm testing it out as we speak.
tlarevo has quit [Remote host closed the connection]
<eam> sdegutis: bullshit
tlarevo has joined #ruby
GriffinHeart has joined #ruby
<eam> python and ruby are both impossibly easy to embed
<sdegutis> eam: I'm not making this up. I've actually done it.
<eam> so have I (with ruby, and python)
<eam> literally cannot be easier
<sdegutis> Yes it can. Try embedding Lua, it's easier.
<eam> ruby is three lines.
<sdegutis> Anyway, when I embedded Ruby, it took up 20mb to include some of the stdlib in it.
bMalum has joined #ruby
<eam> #include <ruby.h>
<eam> ruby_init();
<eam> rb_eval_string("puts 'hello world'");
<sdegutis> Yes I know how it works in code, like I said I've done it.
<sdegutis> eam: Why do you think mruby exists?
<eam> size concerns are different than how easy it is in terms of language complexity to embed
<eam> "lua is lightweight" => yeah totally
<sdegutis> It's also reentrant.
<sdegutis> You can have multiple Lua states running in the same app.
kireevco has quit [Quit: Leaving.]
<sdegutis> Ruby can't do that.
<Nowaker> sdegutis: is 20 MB a minimum for every mruby app?
wolf__ has quit [Quit: This computer has gone to sleep]
<sdegutis> Nowaker: No that was Ruby not mruby.
<sdegutis> Nowaker: mruby doesn't really come with any kind of stdlib.
thomasxie has left #ruby [#ruby]
<Nowaker> i see. so mruby is like lua, as the latter doesnt come with any stdlib either. am i right?
<sdegutis> Kind of.
<Nowaker> sdegutis: thanks. is mruby usable today? how heavier is it than lua?
rimenes has quit [Ping timeout: 264 seconds]
<havenwood> Nowaker: It's currently powering things like MobiRuby: http://mobiruby.org/
<sdegutis> Nowaker: I just found out about it about 20 mins ago.
meinside has joined #ruby
<havenwood> Matz' most recent mruby commit from yesterday: https://github.com/mruby/mruby/commit/7ea8803e06d349105c12e4470b34626b60447599
<Nowaker> sdegutis: hehe, like me
axsuul has joined #ruby
<havenwood> (FizzBuzz program using only lambda calculus.)
orolo has quit [Quit: This computer has gone to sleep]
rimenes has joined #ruby
<sdegutis> seems legit
<havenwood> that is one reallllly long line of code...
<havenwood> solution = -> k { -> f { -> f { -> x { f[-> y { x[x][y] }] }[-> x { f[-> y { x[x][y] }] }] }[-> f { -> l { -> x { -> g { -> b { b }[-> p { p[-> x { -> y { x } }] }[l]][x][-> y { g[f[-> l { -> p { p[-> x { -> y { y } }] }[-> p { p[-> x { -> y { y } }] }[l]] }[l]][x][g]][-> l { -> p { p[-> x { -> y { x } }] }[-> p { p[-> x { -> y { y } }] }[l]] }[l]][y] }] } } } }][k][-> x { -> y { -> f { f[x][y] } } }[-> x { -> y { x } }][-> x { -> y {
<havenwood> x } }]][-> l { -> x { -> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[l][f[x]] } }] } }[-> f { -> x { f[-> y { x[x][y] }] }[-> x { f[-> y { x[x][y] }] }] }[-> f { -> m { -> n { -> b { b }[-> m { -> n { -> n { n[-> x { -> x { -> y { y } } }][-> x { -> y { x } }] }[-> m { -> n { n[-> n { -> p { p[-> x { -> y { x } }] }[n[-> p { -> x { -> y { -> f { f[x][y] } } }[-> p {
<havenwood> p[-> x { -> y { y } }] }[p]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }] }[p]]] }][-> x { -> y { -> f { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x } }]]] }][m] } }[m][n]] } }[m][n]][-> x { -> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[f[-> n { -> p { -> x { p[n[p][x]] } } }[m]][n]][m][x] }][-> x { -> y { -> f { f[x][y] } } }[-> x { -
deric_skibotn has quit [Ping timeout: 272 seconds]
<havenwood> > y { x } }][-> x { -> y { x } }]] } } }][-> p { -> x { p[x] } }][-> p { -> x { p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[x]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] } }]][-> n { -> b { b }[-> n { n[-> x { -> x { -> y { y
<havenwood> } } }][-> x { -> y { x } }] }[-> f { -> x { f[-> y { x[x][y] }] }[-> x { f[-> y { x[x][y] }] }] }[-> f { -> m { -> n { -> b { b }[-> m { -> n { -> n { n[-> x { -> x { -> y { y } } }][-> x { -> y { x } }] }[-> m { -> n { n[-> n { -> p { p[-> x { -> y { x } }] }[n[-> p { -> x { -> y { -> f { f[x][y] } } }[-> p { p[-> x { -> y { y } }] }[p]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }] }[p]]] }][-> x { -> y { -> f
<havenwood> { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x } }]]] }][m] } }[m][n]] } }[n][m]][-> x { f[-> m { -> n { n[-> n { -> p { p[-> x { -> y { x } }] }[n[-> p { -> x { -> y { -> f { f[x][y] } } }[-> p { p[-> x { -> y { y } }] }[p]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }] }[p]]] }][-> x { -> y { -> f { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x } }]]] }][m] } }[m][n]][n][x] }][m] } } }][n][-> p { ->
<sdegutis> :|
<havenwood> x { p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[x]]]]]]]]]]]]]]] } }]]][-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l { -> x { -> x { -> y { -> f
<havenwood> { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l {
<havenwood> -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> x { -> y { -> f { f[x][y] } } }[-> x { -> y { x } }][-> x { -> y { x } }]][-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x
<sdegutis> thanks havenwood
<havenwood> } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]]]]][-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]]]]][-> n { -> p { -> x { p[n[p][x]]
<havenwood> } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]]]][-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]][-> n { ->
<sdegutis> ur my hero
<havenwood> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]]]]][-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n
<havenwood> { -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]]]]][-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p
<havenwood> [p[p[x]]]]] } }]]]]][-> n { -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]][-> b { b }[-> n { n[-> x { -> x { -> y { y } } }][-> x { -> y { x } }] }[-> f { -> x { f[-> y { x[x][y] }] }[-> x { f[-> y { x[x][y] }] }] }[-> f { -> m { -> n { -> b { b }[-> m { -> n { -> n { n[-> x { ->
<havenwood> x { -> y { y } } }][-> x { -> y { x } }] }[-> m { -> n { n[-> n { -> p { p[-> x { -> y { x } }] }[n[-> p { -> x { -> y { -> f { f[x][y] } } }[-> p { p[-> x { -> y { y } }] }[p]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }] }[p]]] }][-> x { -> y { -> f { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x } }]]] }][m] } }[m][n]] } }[n][m]][-> x { f[-> m { -> n { n[-> n { -> p { p[-> x { -> y { x } }] }[n[-> p { ->
<havenwood> x { -> y { -> f { f[x][y] } } }[-> p { p[-> x { -> y { y } }] }[p]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }] }[p]]] }][-> x { -> y { -> f { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x } }]]] }][m] } }[m][n]][n][x] }][m] } } }][n][-> p { -> x { p[p[p[x]]] } }]]][-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l { -> x { -> x { -> y
<havenwood> { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> x { -> y { -> f { f[x][y] } } }[-> x { -> y { x } }][-> x { -> y { x } }]][-> n { -> p { -> x { p[n[p][x]] } } }
<havenwood> [-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]]]]][-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] }
<havenwood> } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]]]]][-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]]][-> n {
<sdegutis> <3
<havenwood> -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]][-> b { b }[-> n { n[-> x { -> x { -> y { y } } }][-> x { -> y { x } }] }[-> f { -> x { f[-> y { x[x][y] }] }[-> x { f[-> y { x[x][y] }] }] }[-> f { -> m { -> n { -> b { b }[-> m { -> n { -> n { n[-> x { -> x { -> y { y } } }][-> x { -
<havenwood> > y { x } }] }[-> m { -> n { n[-> n { -> p { p[-> x { -> y { x } }] }[n[-> p { -> x { -> y { -> f { f[x][y] } } }[-> p { p[-> x { -> y { y } }] }[p]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }] }[p]]] }][-> x { -> y { -> f { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x } }]]] }][m] } }[m][n]] } }[n][m]][-> x { f[-> m { -> n { n[-> n { -> p { p[-> x { -> y { x } }] }[n[-> p { -> x { -> y { -> f { f[x][y] }
<havenwood> } }[-> p { p[-> x { -> y { y } }] }[p]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }] }[p]]] }][-> x { -> y { -> f { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x } }]]] }][m] } }[m][n]][n][x] }][m] } } }][n][-> p { -> x { p[p[p[p[p[x]]]]] } }]]][-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l { -> x { -> x { -> y { -> f { f[x][y] } }
<havenwood> }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> x { -> y { -> f { f[x][y] } } }[-> x { -> y { x } }][-> x { -> y { x } }]][-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x {
<havenwood> p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]]]]][-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-
<havenwood> > m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]]]]][-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> n { -> p { -> x { p[n[p][x]] } } }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]]
<havenwood> } }]]]]]][-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]][-> f { -> x { f[-> y { x[x][y] }] }[-> x { f[-> y { x[x][y] }] }] }[-> f { -> n { -> l { -> x { -> f { -> x { f[-> y { x[x][y] }] }[-> x { f[-> y { x[x][y] }] }] }[-> f { -> l { -> x { -> g { -> b { b }[-> p { p[-> x { -> y { x } }] }[l]][x][-> y { g[f[->
<havenwood> l { -> p { p[-> x { -> y { y } }] }[-> p { p[-> x { -> y { y } }] }[l]] }[l]][x][g]][-> l { -> p { p[-> x { -> y { x } }] }[-> p { p[-> x { -> y { y } }] }[l]] }[l]][y] }] } } } }][l][-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[-> x { -> y { -> f { f[x][y] } } }[-> x { -> y { x } }][-> x { -> y { x } }]][x]][-> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x {
<sdegutis> oh for a second i thought it was done
<havenwood> -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }] } }[-> b { b }[-> m { -> n { -> n { n[-> x { -> x { -> y { y } } }][-> x { -> y { x } }] }[-> m { -> n { n[-> n { -> p { p[-> x { -> y { x } }] }[n[-> p { -> x { -> y { -> f { f[x][y] } } }[-> p { p[-> x { -> y { y } }] }[p]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }] }[p]]] }][-> x { -> y { -> f { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x }
<havenwood> }]]] }][m] } }[m][n]] } }[n][-> n { -> p { p[-> x { -> y { x } }] }[n[-> p { -> x { -> y { -> f { f[x][y] } } }[-> p { p[-> x { -> y { y } }] }[p]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }] }[p]]] }][-> x { -> y { -> f { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x } }]]] }[-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] }
<havenwood> }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]]][-> x { -> y { -> f { f[x][y] } } }[-> x { -> y { x } }][-> x { -> y { x } }]][-> x { f[-> f { -> x { f[-> y { x[x][y] }] }[-> x { f[-> y { x[x][y] }] }] }[-> f { -> m { -> n { -> b { b }[-> m { -> n { -> n { n[-> x { -> x { -> y { y } } }][-> x { -> y { x } }] }[-> m { -> n { n[-> n { -> p { p[-> x { -> y { x } }] }[n[-> p { -> x { -> y { -> f { f[x][y] } } }[-> p { p[-> x { -> y { y } }] }[p
<Nowaker> havenwood: nice project mobiruby
<havenwood> ]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }] }[p]]] }][-> x { -> y { -> f { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x } }]]] }][m] } }[m][n]] } }[n][m]][-> x { -> n { -> p { -> x { p[n[p][x]] } } }[f[-> m { -> n { n[-> n { -> p { p[-> x { -> y { x } }] }[n[-> p { -> x { -> y { -> f { f[x][y] } } }[-> p { p[-> x { -> y { y } }] }[p]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }]
<havenwood> }[p]]] }][-> x { -> y { -> f { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x } }]]] }][m] } }[m][n]][n]][x] }][-> p { -> x { x } }] } } }][n][-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[p[p[p[x]]]]] } }]]][x] }]][-> f { -> x { f[-> y { x[x][y] }] }[-> x { f[-> y { x[x][y] }] }] }[-> f { -> m { -> n { -> b { b }[-> m { -> n
<havenwood> { -> n { n[-> x { -> x { -> y { y } } }][-> x { -> y { x } }] }[-> m { -> n { n[-> n { -> p { p[-> x { -> y { x } }] }[n[-> p { -> x { -> y { -> f { f[x][y] } } }[-> p { p[-> x { -> y { y } }] }[p]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }] }[p]]] }][-> x { -> y { -> f { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x } }]]] }][m] } }[m][n]] } }[n][m]][-> x { f[-> m { -> n { n[-> n { -> p { p[-> x { -> y {
<havenwood> x } }] }[n[-> p { -> x { -> y { -> f { f[x][y] } } }[-> p { p[-> x { -> y { y } }] }[p]][-> n { -> p { -> x { p[n[p][x]] } } }[-> p { p[-> x { -> y { y } }] }[p]]] }][-> x { -> y { -> f { f[x][y] } } }[-> p { -> x { x } }][-> p { -> x { x } }]]] }][m] } }[m][n]][n][x] }][m] } } }][n][-> m { -> n { n[-> m { -> n { n[-> n { -> p { -> x { p[n[p][x]] } } }][m] } }[m]][-> p { -> x { x } }] } }[-> p { -> x { p[p[x]] } }][-> p { -> x { p[p[
<havenwood> p[p[p[x]]]]] } }]]] } }][n]]]] }]
<havenwood> oh, sorry
<havenwood> err
<havenwood> didn't mean to paste the entire thing here, meant the link >.>
<sdegutis> :)
<eam> all I see is blonde, brunette
* sdegutis is laughing out loud
<mozzarella> stop clogging up the tubes
<sdegutis> dont make me laugh out loud when my wife and kids are sleeping!
<Nowaker> lol
<sdegutis> i have successfully run mruby in a small C app
<Nowaker> gotta sleep, 7am here ;/
<sdegutis> whoa
<sdegutis> night owl?
slester has quit [Ping timeout: 264 seconds]
<Nowaker> yep
<sdegutis> SLEEP NOW.
<eam> what's the runtime profile of mruby vs ruby?
<Nowaker> ok
txdv has quit [Read error: Connection reset by peer]
<Nowaker> thanks
<Nowaker> will do as rquested
<sdegutis> read that first.
yfeldblum has joined #ruby
txdv has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
ghostmoth has joined #ruby
<Nowaker> sdegutis: xd.
Lewix has quit [Read error: Connection reset by peer]
<sdegutis> hence "SLEEP NOW."
orolo has joined #ruby
<sdegutis> make more sense?
<Nowaker> yes
<sdegutis> good.
<Nowaker> byes
Lewix has joined #ruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
modernbob has joined #ruby
modernbob has quit [Changing host]
modernbob has joined #ruby
bMalum has quit [Quit: bMalum]
<Hanmac> zenspider: hey you did write that graph thing right? i have some problems doing colorscheme with my own dot files ... but i dont know what when wrong ...
mr-foobar has quit [Quit: Leaving...]
JohnFord has quit [Ping timeout: 240 seconds]
MaciejCzyzewski has joined #ruby
bruno- has joined #ruby
saarinen has joined #ruby
oleo__ has quit [Quit: Verlassend]
mercwithamouth has joined #ruby
BlkDynmt_ has quit [Quit: BlkDynmt_]
MaciejCzyzewski has quit [Client Quit]
robbyoconnor has joined #ruby
bruno- has quit [Ping timeout: 246 seconds]
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
crdpink has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
kireevco has joined #ruby
crdpink2 has quit [Ping timeout: 264 seconds]
ta_ has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kireevco has quit [Client Quit]
Lewix has quit [Read error: Connection reset by peer]
cirn0 has joined #ruby
Lewix has joined #ruby
shock_one has joined #ruby
BlkDynmt has joined #ruby
arup_r has joined #ruby
danijoo_ has joined #ruby
Jon-Xie has joined #ruby
kireevco has joined #ruby
Synthead has joined #ruby
danijoo has quit [Ping timeout: 250 seconds]
havenwood has quit [Remote host closed the connection]
mikepack has joined #ruby
ghostmoth has joined #ruby
kireevco has quit [Client Quit]
jusmyth has joined #ruby
ghostmoth has quit [Client Quit]
cirn0 has quit [Ping timeout: 260 seconds]
<EasyCo> Is there a ruby array method that you can use to loop through all items of an array checking for true/false values and have it stop if it find a false value? Other than using Array#each
kireevco has joined #ruby
wolf__ has joined #ruby
<sevenseacat> something like all?
<mocfive> detect?
mikepack has quit [Ping timeout: 272 seconds]
shock_one has quit [Quit: Computer has gone to sleep.]
IceDragon has quit [Quit: Space~~~]
relix has joined #ruby
<EasyCo> all?
<EasyCo> That's the one
<EasyCo> Thanks, couldn't find it
Synthead has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
reset has joined #ruby
toordog has joined #ruby
p0sixpscl has joined #ruby
incomprehensibly has quit []
incomprehensibly has joined #ruby
Dreamer3 has quit [Ping timeout: 245 seconds]
kireevco has quit [Quit: Leaving.]
devdazed has quit [Ping timeout: 240 seconds]
patrick99e99 has quit [Ping timeout: 255 seconds]
Dreamer3 has joined #ruby
febuiles has quit [Read error: Connection reset by peer]
emocakes has quit []
devdazed has joined #ruby
tectonic has joined #ruby
kenneth has joined #ruby
sigurding has joined #ruby
mary5030 has joined #ruby
Channel6 has quit [Quit: Leaving]
felixjet_ has quit [Quit: Leaving]
felixjet has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
sigurding has quit [Client Quit]
ch0ke has joined #ruby
shock_one has joined #ruby
timonv_ has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 264 seconds]
jxf has quit [Ping timeout: 272 seconds]
TommeHo has joined #ruby
tobago has joined #ruby
Kerber0s has joined #ruby
fabrice31 has joined #ruby
anildigital is now known as zz_anildigital
havenwood has joined #ruby
Tomme has quit [Ping timeout: 268 seconds]
starkhallo has quit [Ping timeout: 246 seconds]
ch0ke has quit [Read error: Connection reset by peer]
BlkDynmt has quit [Quit: BlkDynmt]
tagrudev has joined #ruby
ch0ke has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
emocakes has joined #ruby
speaking1ode has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
speakingcode has quit [Ping timeout: 255 seconds]
shock_one has quit [Quit: Computer has gone to sleep.]
dapz has joined #ruby
icebourg has quit []
orolo has joined #ruby
dapz has quit [Client Quit]
crdpink2 has joined #ruby
tlarevo_ has joined #ruby
crdpink has quit [Ping timeout: 264 seconds]
BadQuanta has joined #ruby
ghanima has joined #ruby
apeiros has quit [Remote host closed the connection]
reset has quit [Quit: Leaving...]
apeiros has joined #ruby
tlarevo has quit [Ping timeout: 264 seconds]
TommeHo has quit [Ping timeout: 260 seconds]
zorak8 has quit [Ping timeout: 252 seconds]
CaptainJet has quit []
tectonic has quit []
codecop has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aganov has joined #ruby
aspires has quit []
tvw has joined #ruby
Macaveli has joined #ruby
guardian has left #ruby ["WeeChat 1.0"]
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
fold has quit [Ping timeout: 260 seconds]
Jon-Xie has quit [Remote host closed the connection]
dapz has joined #ruby
xvq17 has joined #ruby
cndiv has quit [Ping timeout: 276 seconds]
fold has joined #ruby
timonv_ has joined #ruby
bal has joined #ruby
p0sixpscl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kyb3r_ has joined #ruby
Jon-Xie has joined #ruby
ghr has joined #ruby
BraddPitt has quit [Ping timeout: 260 seconds]
ch0ke has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
chrishough has joined #ruby
BadQuanta has quit [Ping timeout: 272 seconds]
shock_one has joined #ruby
InhalingPixels has joined #ruby
nfk has joined #ruby
ht__th has joined #ruby
TommeHo has joined #ruby
mr-foobar has joined #ruby
himsin has joined #ruby
InhalingPixels has quit [Ping timeout: 246 seconds]
BlkDynmt has joined #ruby
JBreit has joined #ruby
<claw> http://paste.triple6.org/?23 why is @position changing for both instances of Test when using Test.move here ?
absolutezeroff has quit [Ping timeout: 264 seconds]
Soda has quit [Remote host closed the connection]
<claw> anybody can help ?
bMalum has joined #ruby
JBreit has left #ruby [#ruby]
<claw> if i use m1.move m2 also moves
<claw> they are always the same
Lewix has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
Px12 has joined #ruby
<Hanmac> claw because "m1","m2" are currently at the same position, do you want that? and it does use the same Array object ... thats why they are currently linked ...
<Hanmac> use $array << Test.new(x,position.dup)
goshdarnyou has quit [Quit: Connection closed for inactivity]
<claw> okay
<claw> lets see
nairys has quit [Quit: nairys]
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
fabrice31 has joined #ruby
<claw> okay that works
abuzze has quit [Remote host closed the connection]
w3pm has joined #ruby
<claw> but m1 and m2 are different instances why are there @position instance variables are always the same ?
danijoo_ has quit [Read error: Connection reset by peer]
Scotteh has joined #ruby
<claw> that did not make sense to me
Px12 has quit [Remote host closed the connection]
danijoo has joined #ruby
jgrevich has joined #ruby
<claw> okay i guess reading about dup awnsers my question
<claw> thank you Hanmac
Px12 has joined #ruby
Rollabunna has quit [Quit: Leaving...]
Scotteh has quit [Ping timeout: 245 seconds]
w3pm has quit [Quit: This computer has gone to sleep]
bruno- has joined #ruby
timonv_ has quit [Remote host closed the connection]
Kerber0s has quit []
timonv_ has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
postmodern has joined #ruby
timonv_ has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 260 seconds]
yfeldblu_ has joined #ruby
tylersmith has quit [Remote host closed the connection]
orolo has joined #ruby
tylersmith has joined #ruby
linojon has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
yfeldblu_ has quit [Ping timeout: 272 seconds]
cleopatra has quit [Remote host closed the connection]
crdpink has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
tylersmith has quit [Ping timeout: 245 seconds]
timonv_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
crdpink2 has quit [Ping timeout: 264 seconds]
niklasb has quit [Quit: WeeChat 0.4.3]
himsin has quit [Quit: himsin]
niklasb has joined #ruby
bMalum has quit [Quit: bMalum]
gauke has joined #ruby
oo_ has quit [Remote host closed the connection]
Takle has joined #ruby
sirene has joined #ruby
linojon has quit [Quit: linojon]
kaspergrubbe has joined #ruby
atmosx has joined #ruby
<atmosx> good morning
ptrrr has joined #ruby
w3pm has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
kalusn has joined #ruby
sparrovv has joined #ruby
Takle has quit [Remote host closed the connection]
Morkel has joined #ruby
apeiros has joined #ruby
cirn0 has joined #ruby
ht has joined #ruby
emocakes has quit []
Juanchito has joined #ruby
mikepack has joined #ruby
w1xz has joined #ruby
sk87 has joined #ruby
ht__th has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
cirn0 has quit [Ping timeout: 245 seconds]
tobyo has quit [Ping timeout: 272 seconds]
sigurding has joined #ruby
myeyesareblind has joined #ruby
mikepack has quit [Ping timeout: 264 seconds]
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 276 seconds]
Px12 has quit [Ping timeout: 276 seconds]
Ruhk has quit []
patrick99e99 has joined #ruby
ghr has quit [Ping timeout: 268 seconds]
rockdon_ has joined #ruby
lemur has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
lemur has joined #ruby
rockdon_ is now known as rockdon|away
Advocation has joined #ruby
InhalingPixels has joined #ruby
emocakes has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
spider-mario has joined #ruby
arup_r has quit [Remote host closed the connection]
jhass|off is now known as jhass
spider-mario has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 240 seconds]
anarang has joined #ruby
InhalingPixels has quit [Ping timeout: 276 seconds]
spider-mario has joined #ruby
awestroke has joined #ruby
sparrovv has quit [Remote host closed the connection]
rockdon|away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sparrovv has joined #ruby
timonv_ has joined #ruby
sparrovv has quit [Ping timeout: 276 seconds]
chth0n has joined #ruby
Guest54785 has quit [Ping timeout: 246 seconds]
fold has quit [Ping timeout: 245 seconds]
bMalum has joined #ruby
rockdon_ has joined #ruby
bruno- has joined #ruby
myeyesareblind has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
elaptics`away is now known as elaptics
cougarten has joined #ruby
ch0ke has joined #ruby
qba73 has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
Takle has joined #ruby
<mostlybadfly> Buenos días
wpp has joined #ruby
ta has joined #ruby
threesixes has quit [Remote host closed the connection]
sparrovv has joined #ruby
max06 has joined #ruby
abuzze has joined #ruby
abuzze has quit [Remote host closed the connection]
orolo has quit [Quit: This computer has gone to sleep]
abuzze has joined #ruby
Takle has quit [Remote host closed the connection]
ta has quit [Client Quit]
tobyo has joined #ruby
Guest62656 has quit [Excess Flood]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skarn has joined #ruby
skarn is now known as Guest42178
arup_r has joined #ruby
charliesome has quit [Quit: zzz]
ta has joined #ruby
jusmyth1 has joined #ruby
jusmyth has quit [Read error: Connection reset by peer]
abuzze has quit [Ping timeout: 272 seconds]
orolo has joined #ruby
abuzze has joined #ruby
hanjianwei has joined #ruby
dopiee has joined #ruby
sigurding has quit [Quit: sigurding]
m4rCsi has quit [Quit: No Ping reply in 180 seconds.]
andrewlio has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
emocakes has quit []
m4rCsi has joined #ruby
tobyo has quit [Ping timeout: 272 seconds]
dopie has quit [Ping timeout: 240 seconds]
Px12 has joined #ruby
michael_mbp has quit [Excess Flood]
mikecmpbll has joined #ruby
sigurding has joined #ruby
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mupkoo has joined #ruby
michael_mbp has joined #ruby
Xeago has joined #ruby
lkb has joined #ruby
jusmyth1 has quit [Read error: Connection reset by peer]
jusmyth has joined #ruby
kaspertidemann has joined #ruby
jusmyth has quit [Read error: Connection reset by peer]
jusmyth has joined #ruby
lkba has joined #ruby
timonv_ has quit [Remote host closed the connection]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
niklasb has quit [Ping timeout: 245 seconds]
yacks has joined #ruby
kennet___ has joined #ruby
a has joined #ruby
a is now known as Guest10606
kenneth has quit [Ping timeout: 264 seconds]
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
ghr has joined #ruby
UKn0Me is now known as allthehats
kriskropd has quit [Ping timeout: 255 seconds]
existensil has quit [Ping timeout: 240 seconds]
W0rmDr1nk has quit [Ping timeout: 268 seconds]
lukeholder has joined #ruby
yfeldblum has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
lukeholder has quit [Max SendQ exceeded]
Advocation has quit [Quit: Advocation]
roolo has joined #ruby
axsuul has quit [Ping timeout: 268 seconds]
lukeholder has joined #ruby
existensil has joined #ruby
jle` has quit [Quit: WeeChat 0.4.2]
kriskropd has joined #ruby
jle` has joined #ruby
cougarten_ has joined #ruby
jle` has quit [Changing host]
jle` has joined #ruby
stef_204 has joined #ruby
marr has joined #ruby
cougarten has quit [Ping timeout: 250 seconds]
olivier_bK has joined #ruby
Advocation has joined #ruby
Guest10606 has quit [Ping timeout: 252 seconds]
gaussblurinc1 has joined #ruby
Jake232 has joined #ruby
Jon-Xie has quit [Remote host closed the connection]
einarj has joined #ruby
j4jackj is now known as ^-^
amclain has quit [Quit: Leaving]
yfeldblum has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
yfeldblum has joined #ruby
jgrevich has quit [Quit: jgrevich]
ephemerian has joined #ruby
tvw has quit []
jgrevich has joined #ruby
Farioko has joined #ruby
<Farioko> I'm playing with sinatra, and want to use activerecord. Now when I run rake -T it says it can't find app.
InhalingPixels has quit [Ping timeout: 276 seconds]
<canton7> there's not nearly enough information there to debug your problem
<canton7> adding ActiveRecord won't break your rakefile
<canton7> something else is going n
<Farioko> canton7: I do exactly whats in here http://screencasts.org/episodes/activerecord-with-sinatra
<sevenseacat> obviously not, if that works and yours doesnt
<canton7> what *exactly* do you see when you run 'rake -T'?
Scotteh has joined #ruby
jonathan_alban has joined #ruby
rdark has joined #ruby
jonathan_alban has quit [Client Quit]
cougarten_ has quit [Ping timeout: 250 seconds]
<Farioko> canton7: one second
Jon-Xie has joined #ruby
SouL has quit [Ping timeout: 246 seconds]
SouL has joined #ruby
<Farioko> canton7: http://sprunge.us/aOWc
fgo has joined #ruby
W0rmDr1nk has joined #ruby
<canton7> Farioko, pastie the contents of the rakefile, and the output of 'ls'
Scotteh has quit [Ping timeout: 260 seconds]
<Farioko> canton7: http://sprunge.us/iKFG
lkb has quit [Quit: Wychodzi]
Jon-Xie has quit [Ping timeout: 245 seconds]
<Farioko> canton7: http://sprunge.us/RjgV
<canton7> Farioko, that's got bugger all to do with active record :P the problem is that the current working directory isn't in require's load path
<canton7> so requiring 'app' won't look in the current directory
<Farioko> canton7: Then where will it look? :O
<canton7> try adding __dir__ to the $LOAD_PATH, or use "require './app'" or "require_relative 'app'"
Pumukel has joined #ruby
<canton7> puts $LOAD_PATH - that's all the places require looks
<Farioko> canton7: weird, works now thanks!
<canton7> :)
himsin has joined #ruby
emocakes has joined #ruby
jgrevich has quit [Quit: jgrevich]
sevenseacat has quit [Remote host closed the connection]
<canton7> I like the 'rakefail' btw :P
timonv_ has joined #ruby
dumdedum_ has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
<Farioko> canton7: that was just a tempfile with the contents of the error which I uploaded to the pastebin :P urxvt doesn't want to copy to chrome :(
axsuul has joined #ruby
Squarepy has joined #ruby
jusmyth1 has joined #ruby
jusmyth has quit [Read error: Connection reset by peer]
orolo has quit [Quit: This computer has gone to sleep]
Oog has quit []
Advocation has quit [Quit: Advocation]
SDr has quit [Read error: Connection reset by peer]
SDr has joined #ruby
charliesome has joined #ruby
orolo has joined #ruby
<Farioko> canton7: damn, everything he does is different
<canton7> ?
<Farioko> in the tutorial :(
Xeago has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
Advocation has joined #ruby
havenwood has quit [Remote host closed the connection]
<canton7> different to..?
Jon-Xie has joined #ruby
decoponio has joined #ruby
havenwood has joined #ruby
<Farioko> canton7: having rake problems again :(
intuxicated has joined #ruby
<Farioko> canton7: oh found it I think
Jon-Xie has quit [Ping timeout: 245 seconds]
havenwood has quit [Ping timeout: 264 seconds]
sparrovv has quit [Remote host closed the connection]
kennet___ has quit [Ping timeout: 268 seconds]
ghanima has quit [Ping timeout: 252 seconds]
a has joined #ruby
mengu has quit [Remote host closed the connection]
a is now known as Guest79468
axsuul has quit [Ping timeout: 264 seconds]
leokaito has joined #ruby
Xeago has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
leokaito has quit [Client Quit]
workmad3 has joined #ruby
eivindml has joined #ruby
zarul has quit [Remote host closed the connection]
j416 has quit [Read error: Connection reset by peer]
SDr__ has joined #ruby
j416 has joined #ruby
Morkel has quit [Quit: Morkel]
mikepack has joined #ruby
melik has quit [Quit: Computer has gone to sleep.]
SDr has quit [Ping timeout: 252 seconds]
KC9YDN has quit [Ping timeout: 252 seconds]
bruno- has joined #ruby
mikepack has quit [Ping timeout: 255 seconds]
Takle has quit [Remote host closed the connection]
lukeholder has quit [Ping timeout: 255 seconds]
Scotteh has joined #ruby
kaspergrubbe has joined #ruby
Jon-Xie has joined #ruby
ephemerian has quit [Read error: No route to host]
InhalingPixels has joined #ruby
Sammael has quit [Ping timeout: 260 seconds]
w3pm has quit [Quit: This computer has gone to sleep]
Takle has joined #ruby
baum has quit [Quit: ZNC - http://znc.in]
Guest79468 has quit [Quit: leaving]
KC9YDN has joined #ruby
nairys has joined #ruby
Xeago has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
InhalingPixels has quit [Ping timeout: 268 seconds]
postmodern has quit [Quit: Leaving]
tvw has joined #ruby
timgauthier_isaw is now known as timgauthier
baum has joined #ruby
TommeHo has quit [Ping timeout: 246 seconds]
sk87 has joined #ruby
agjacome has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duncannz has quit [Ping timeout: 276 seconds]
sigurding has quit [Quit: sigurding]
sigurding has joined #ruby
joast has quit [Ping timeout: 255 seconds]
krisquigley has joined #ruby
ephemerian has joined #ruby
<krisquigley> Hi, I'm looking for an SQL guru
AlSquire has joined #ruby
<krisquigley> I am using this statement (which is not correct) in postgres: ELECT tags.name,(SELECT count(*) FROM tags WHERE tags.status = 'strength') - (SELECT count(*) FROM tags WHERE tags.status = 'weakness') AS difference FROM tags WHERE updated_at BETWEEN now() - interval '7 days' AND now() GROUP BY tags.name;
kaspergrubbe has quit [Remote host closed the connection]
<krisquigley> Basically, I want to work out the difference between the status' on the same tag.name
kaspergrubbe has joined #ruby
<krisquigley> Is there a way of passing 'self' or equivalent in postgres?
<krisquigley> i.e.:
<jhass> krisquigley: #postgresql ?
<krisquigley> SELECT tags.name,(SELECT count(*) FROM tags WHERE tags.status = 'strength' AND tags.name = self) - (SELECT count(*) FROM tags WHERE tags.status = 'weakness' AND tags.name = self) AS difference FROM tags WHERE updated_at BETWEEN now() - interval '7 days' AND now() GROUP BY tags.name;
<krisquigley> ok, will try that channel. Thanks :)
RasElg00l has joined #ruby
tokik has quit [Ping timeout: 260 seconds]
<Farioko> canton7: Are you familiar with Sinatra?
kaspergrubbe has quit [Remote host closed the connection]
dawkirst has joined #ruby
saarinen has quit [Quit: saarinen]
orolo has quit [Quit: This computer has gone to sleep]
Macaveli has quit [Read error: Connection reset by peer]
<canton7> Farioko, I've used it a fair few times
timgauthier is now known as timgauthier_isaw
diegoviola has joined #ruby
<Farioko> canton7: Would you take a look at what i'm doing wrong?
<canton7> I could try
<Farioko> canton7: http://sprunge.us/JKTe
shelling_ has quit [Quit: Connection closed for inactivity]
<canton7> that looks like more of an ActiveRecord problem
<canton7> what exactly is going wrong?
orolo has joined #ruby
<Farioko> It says nameerror unitialized constant temperature
<Farioko> My migration http://sprunge.us/CTWf
<shevy> NameError
<shevy> Temperature
<canton7> you've written a Temperature model?
<tobiasvl> Farioko: you haven't included Temperature
<tobiasvl> or required
<Farioko> tobiasvl: where and what? :P
<tobiasvl> you should know :P you're using it
<tobiasvl> @temperatures = Temperature.all
<tobiasvl> won't work if ruby doesn't know what Temperature is
<canton7> Farioko, first things first: you've written a Temperature model? 'class Temperature....'?
<Farioko> It doesn't mention anything like that https://github.com/janko-m/sinatra-activerecord ?
<shevy> he is hiding the module from us!
<shevy> where from comes: Temperature.create(temperature: 20.00)
<canton7> Farioko, read the bit starting "you can also write models"
<tobiasvl> Farioko: what do you mean? https://github.com/janko-m/sinatra-activerecord doesn't mention anything like Temperature, no
<tobiasvl> so where did you get it from?
<canton7> he's watching some screencast
<shevy> oh man
<shevy> the rails world does not teach people ruby :(
dumdedum_ has quit [Quit: foo]
<tobiasvl> Farioko: you have told ruby to do something with a class called Temperature, but you haven't defined what Temperature is. ruby doesn't know what it is. it's a random word for ruby.
Advocation has quit [Quit: Advocation]
<tobiasvl> if this is rails stuff, try #rubyonrails
<canton7> this is sinatra + activerecord
<tobiasvl> oh okay.
banister has joined #ruby
<canton7> which is why his pastie was sinatra, and the github page he linked to was called "sinatra-activerecord"
<tobiasvl> yeah, I just went off what shevy said
nairys has quit [Quit: nairys]
<canton7> shevy never reads anything ;)
realDAB has joined #ruby
<shevy> activerecord originated from the rails world
<Hanmac> but still activerecord questions are more easier anwserd in #rubyonrails than there
<Hanmac> shevy: its the spawn of the devil ! ;P
<shevy> more like a leaky virus
<shevy> making sinatra more railsy
<shevy> and people dumber
<canton7> Sequel all the way
<shevy> hahahaha :D
realDAB has quit [Client Quit]
<shevy> Farioko a constant in ruby starts with the first character uppercased. all class and modules are that way. class Foo but not class foo, same with modules
fabrice31 has quit [Remote host closed the connection]
<shevy> so, class Temperature. If you want to add class methods to that, one way would be: class Temperature; def self.all; end; end; Temperature.all
<Farioko> ok, I will try
<shevy> could be module Temperature too of course. module Temperature; def self.name_here; end; end; Temperature.name_here
<canton7> in his case it's 'class Temperature'
<canton7> please stop trying to confuse him ;)
<shevy> he will learn the basics here
<shevy> he is clever
<canton7> not with you spamming random syntax at him :P
<shevy> the railsers just did not explain this to him yet
<shevy> it is not random at all, it is modeled to his specific use case in question
<tsunamie> hi guys, I am a total ruby noob and building a chef cookbook. I tried the following line in .erb <% if ssl = "true" %>
<tsunamie> <% end %>. Basicly what I wanted was if a value is set to true print the following in a configuration. However it does'nt work as expected IS this really what I have to put into a erb file?
<tsunamie> SSLEngine on
<shevy> tsunamie what is this code doing: if ssl = "true"
RasElg00l has quit [Ping timeout: 268 seconds]
<tsunamie> shevy, if a value in chef is true
<tobiasvl> no
<jhass> tsunamie: = is assignment
<shevy> tsunamie remember you are writing ruby code
<jhass> you want ==
<shevy> so in the above example you assign the string "true" to a variable called ssl
<tsunamie> sorry thanks
<tobiasvl> that would be `if ssl == "true"` (or probably more likely you can just do `if ssl`? unless ssl truly is a string)
<tsunamie> tobiasvl, it's a bolean in chef
<shevy> ssl is more a wreck than a string
mengu has joined #ruby
<shevy> in chef :)
kaspertidemann has quit []
<shevy> that's the new programming language for housewives
<shevy> for cooking
<tsunamie> :)
<tsunamie> thanks
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<tobiasvl> tsunamie: okay, then be aware that "true" is not the same as true. the former is a string (which evaluates to the boolean value true in ruby), the latter is a boolean value
<tobiasvl> in ruby, everything evaluates to true except nil and false
<Hanmac> hey! who uses my gemtree with Gemfile's? because it does now colorize with colorschemas ;P
<tobiasvl> tsunamie: just something to watch out for although it doesn't impact that piece of code
<shevy> Hanmac havenwood does
<tsunamie> tobiasvl, so if ssl is sufficient
<Hanmac> shevy: yes, but he already knows and is also currently not online yet
<tsunamie> thanks guys
<tobiasvl> tsunamie: should be, unless you specifically need to check if ssl has the string value "true"
<tsunamie> I love this channel, details explaination of what is what rather than a 5 minute's of abuse
<shevy> the = vs == happens often
<tsunamie> tobiasvl, naaa, ssl is set to true as a bolean in chef
<shevy> that's why you need to have good eyesight
Rollabunna has joined #ruby
<atmosx> hello
<shevy> the worst typos I made were this
<shevy> def intialize
mikecmpbll has quit [Read error: Connection reset by peer]
<shevy> and I spent about 20 minutes debugging stuff
<shevy> hey atmosx
Macaveli has joined #ruby
Jon-Xie has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
dblessing has joined #ruby
cirn0 has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
elstif has joined #ruby
Jon-Xie has joined #ruby
intuxicated has quit [Ping timeout: 260 seconds]
<Farioko> shevy: lovely now it does execute the SQL and doesn't return anything, because there is nothing in the database
toretore has joined #ruby
Takle has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
cirn0 has quit [Ping timeout: 255 seconds]
Jon-Xie has quit [Ping timeout: 268 seconds]
shredding has joined #ruby
ctp has joined #ruby
dawkirst has quit [Remote host closed the connection]
dawkirst has joined #ruby
cougarten has joined #ruby
balance has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
<balance> hi, can someone tell me why the following is the same as if I'd inherit Timeline and call super instead of old_print? https://gist.github.com/anonymous/0a3386b086cfa69edf2d Can't see how alias_method refers to the "parent".
Takle has joined #ruby
<tobiasvl> there's no parent, it's opening det same class
<balance> tobiasvl, notice the ""
<tobiasvl> funny that Class is uppercase. does that work? I know Class is a valid constant, but …
<Hanmac> tobiasvl: "Class Timeline" ... that is a syntax error
InhalingPixels has joined #ruby
<tobiasvl> would think so, yeah
<Hanmac> hm ok its not, its a "NoMethodError" but you know what i mean
<balance> tobiasvl, ah yeah, I wquickly wrote it, it's not in use, so sry if there are syntax errors. I leanred that alias_method cna be used to create an alias to a method within a class. Basically having 2 names for 1 method, but somehow, it also reverse to overwritten methods.
zettam has joined #ruby
<tobiasvl> balance: well, what's happening here is monkey patching
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 32.0/20140825202822]]
intuxicated has joined #ruby
<tobiasvl> the class is reopened and the print method is re-defined
<tobiasvl> but before the method is overwritten by the new definition, the old method is saved as an alias
<jhass> balance: alias_method copies the method to the new name, while the alias keyword just assigns a new name
<Hanmac> tobiasvl: for java its called "money-patching" ;P
<tobiasvl> Hanmac: lol
<balance> aahh thanks tobiasvl now I get it, I alsways though how this should work, but yeah, you hit it. :P
<balance> thanks
<Hanmac> tobiasvl: alias_method does asign a new name too, its also similar to alias in that point
kaspergrubbe has joined #ruby
lkba has joined #ruby
InhalingPixels has quit [Ping timeout: 246 seconds]
Steve has joined #ruby
<tobiasvl> yeah
Tomme has joined #ruby
lkb has joined #ruby
<Hanmac> >> class A; def abc;end; end; class A; alias_method :xyz, :abc; end; A.instance_method(:xyz)
<eval-in____> Hanmac => #<UnboundMethod: A#xyz(abc)> (https://eval.in/191705)
<Hanmac> 19>> class A; def abc;end; end; class A; alias_method :xyz, :abc; end; A.instance_method(:xyz)
<eval-in____> Hanmac => #<UnboundMethod: A#abc> (https://eval.in/191706)
tlarevo_ has quit [Ping timeout: 255 seconds]
<Hanmac> tobiasvl: as you can see at 2.0 there was a feature added that you can detect aliased methods
hellangel7 has joined #ruby
<tobiasvl> ah, that's useful
<Hanmac> >> class A; def abc;end; end; class A; alias_method :xyz, :abc; end; A.instance_method(:xyz).original_name
<eval-in____> Hanmac => :abc (https://eval.in/191707)
nettoweb has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cougarten_ has joined #ruby
KC9YDN has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
Jon-Xie has joined #ruby
tlarevo has joined #ruby
cougarten has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
sigurding has quit [Quit: sigurding]
timgauthier_isaw is now known as timgauthier
krz has quit [Ping timeout: 260 seconds]
Mon_Ouie has quit [Ping timeout: 245 seconds]
fold has joined #ruby
hellangel7 has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
SouL has quit [Ping timeout: 276 seconds]
w1xz has quit [Ping timeout: 245 seconds]
zettam has quit [Read error: Connection reset by peer]
tkuchiki_ has joined #ruby
sigurding has joined #ruby
fold has quit [Ping timeout: 260 seconds]
GriffinHeart has quit [Remote host closed the connection]
orolo has quit [Quit: This computer has gone to sleep]
Tomasso has joined #ruby
jusmyth1 has left #ruby [#ruby]
sigurding has quit [Read error: Connection reset by peer]
tkuchiki has quit [Ping timeout: 264 seconds]
Xeago has quit [Remote host closed the connection]
zettam has joined #ruby
tkuchiki_ has quit [Ping timeout: 264 seconds]
zettam has quit [Read error: Connection reset by peer]
karupa is now known as zz_karupa
timonv_ has quit [Remote host closed the connection]
zettam has joined #ruby
orolo has joined #ruby
nfk has quit [Quit: yawn]
ctp has joined #ruby
doodlehaus has joined #ruby
armyriad has quit [Ping timeout: 276 seconds]
<balance> How is this #{} calledi n ruby? e.g. define_method "runs_on_#{system.downcase}?"
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
<workmad3> balance: string interpolation
<tobiasvl> interpolation
<Hanmac> workmad3: do you use bundler Gemfiles too?
<balance> ty tobago workmad3
<workmad3> Hanmac: yes I do
krisquigley has quit [Remote host closed the connection]
<Hanmac> for my gemtree: https://gist.github.com/Hanmac/cb9e13ff220e4f31e13a newest option "--gemfile-colorscheme reds" with that the different groups inside the Gemfile are colorated differently (depending on the colorschema)
<workmad3> Hanmac: fun :)
nucatus has joined #ruby
<Hanmac> yeah did take me long enough until i noticed that my nodes does have the wrong shape for the current fill style ;P
<Cork> i have a variable with a name of a global variable (except the $)
<Cork> is there an alternative to eval to access that variable from a function inside the class?
<Cork> eval("$#{ v_name }")
<Cork> opps
<Cork> meant @
jottr_ has joined #ruby
<shevy> so ugly
<Cork> sure
<balance> Would you prefere the first example over the second?
sigurding has joined #ruby
Advocation has joined #ruby
<shevy> if it were an @ivar, you could try Object.const_get or object.instance_variable_get '@foo'
hanjianwei has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Advocation has quit [Client Quit]
Advocation has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
<apeiros> Cork: is it a global now or an instance variable ($global and @instance_variable)?
<Cork> apeiros: its a @
<Cork> so instance
danijoo has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has joined #ruby
<apeiros> then what shevy said - see Object#instance_variable_get
MCDev has quit [Ping timeout: 250 seconds]
<Cork> ya was testing it
sparrovv has joined #ruby
<Cork> shevy, apeiros: thx for answering!
<shevy> yeah @ are much nicer
<shevy> I feel dirty when using $
<shevy> those things leak into everywhere
cougarten_ has quit [Ping timeout: 272 seconds]
bricker`LA has quit [Ping timeout: 240 seconds]
<shevy> $config
<Cork> lol ya that was a typo ^^
<Cork> and would have been weird for a class method to convert
<Cork> well actually it is a module for multiple classes
<Cork> so it needs to figure out what the instance variable is named and get a variable pointing to it
sparrovv has quit [Ping timeout: 240 seconds]
yacks has quit [Remote host closed the connection]
cougarten has joined #ruby
mikepack has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
cocotton has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
shredding has quit [Quit: shredding]
sleepee has joined #ruby
SouL has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
mikepack has quit [Ping timeout: 255 seconds]
dblessing has quit [Quit: dblessing]
sandelius has joined #ruby
yeticry has quit [Quit: leaving]
Grantlyk has joined #ruby
MCDev has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
patrick99e99 has joined #ruby
krz has joined #ruby
armyriad has joined #ruby
narcan has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
patrick99e99 has quit [Ping timeout: 252 seconds]
InhalingPixels has joined #ruby
mengu has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 240 seconds]
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gccostabr has quit [Quit: ZZZzzz…]
InhalingPixels has quit [Ping timeout: 246 seconds]
cougarten has quit [Ping timeout: 250 seconds]
dopiee has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<mityaz> Hi all. How do I define a method in parent class (private method) that won't be accessible from it's children?
narph has joined #ruby
dblessing has joined #ruby
<mityaz> so it's private in A class, but not accessible in B < A
<Xeago_> that would be private
Sammael has joined #ruby
<Xeago_> protected methods are inherited
Xeago_ is now known as Xeago
<mityaz> Xeago_, I'm able to call private method within Class B methods
dopiee has joined #ruby
phoo1234567 has joined #ruby
<mityaz> but I need to get an error on calling foo in B
cocotton has quit [Remote host closed the connection]
phoo1234567 has quit [Max SendQ exceeded]
jottr_ has joined #ruby
phoo1234567 has joined #ruby
techsethi has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
<Hanmac> mityaz: hm you can add a "self.class == A" check inside of the private method ... but that protection can still be broken ...
Farioko has quit [Quit: Page closed]
rimenes has joined #ruby
ndrei has joined #ruby
Cheezebox has joined #ruby
bweston92 has joined #ruby
dblessing has quit [Quit: dblessing]
<bweston92> If bundle isn't installed on a server (and server admins won't install (php freaks)) would I be able to download the bundle files (only 1 dependency anyhow) and put them in the project anywhere?
krz has quit [Quit: WeeChat 1.0]
<jhass> not easily
<jhass> what level of access do you have?
jottr_ has quit [Ping timeout: 272 seconds]
HelperW has joined #ruby
<bweston92> jhass: everything but sudo
<jhass> try gem install --user-install bundler
<jhass> and make sure to take care of the warning it may print
JohnFord has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> then in your app bundle install --deployment
jottr_ has joined #ruby
<gregf_> mityaz: i'm sure thats not possible in java :/
fsapo has joined #ruby
fabrice31 has joined #ruby
<gregf_> which means ruby does not preserve encapsulation? :/
<workmad3> gregf_: it is possible in java
<workmad3> gregf_: if you mess around with the reflection API
mupkoo has quit [Remote host closed the connection]
<workmad3> gregf_: ruby's reflection stuff is just a bit easier to do
<bweston92> jhass: Got bundler to install, bundler deployment also works, issue now is require cannot load such file. Any ideas?
<bweston92> Works locally
<gregf_> well, even mocking a private method for tests is difficult without reflection :/
<jhass> bweston92: bundle exec $whatever
orolo has quit [Quit: This computer has gone to sleep]
Advocation has quit [Quit: Advocation]
yfeldblum has joined #ruby
<mityaz> so, there is no way to do it? ok, let's assume I'm not going to use magic with reflections, just simple restriction
<bweston92> jhass: Says install missing gems, I had just install them though :s sorry for being annoying, just coming into the ruby world
GriffinHeart has quit [Remote host closed the connection]
terlar has quit [Ping timeout: 245 seconds]
<jhass> and you do that in the same dir you did bundle install --deployment ?
<jhass> and that did print a green success message?
Behi has joined #ruby
EasyCo has quit [Quit: Connection closed for inactivity]
<bweston92> Yes, I now have a folder vendor, with the gem "escort" my dependency deep down
dideler has joined #ruby
<jhass> mmh, weird
<jhass> any chance you can make a gist or pastie with copy pasting everything you did so far?
ldnunes has joined #ruby
gerep has joined #ruby
terlar has joined #ruby
felixjet_ has joined #ruby
jds has joined #ruby
yfeldblum has quit [Ping timeout: 268 seconds]
orolo has joined #ruby
<jhass> bweston92: oh, it's bundle exec ruby run.rb
<bweston92> Ah, sorry
doodlehaus has joined #ruby
Jon-Xie has quit [Remote host closed the connection]
<bweston92> Working, many thanks!
<jhass> welcome :)
jonr22 has joined #ruby
doodlehaus has quit [Remote host closed the connection]
felixjet has quit [Ping timeout: 260 seconds]
Px12 has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
dblessing has joined #ruby
britneywright has joined #ruby
Px12 has joined #ruby
doodlehaus has joined #ruby
Takle has quit [Remote host closed the connection]
Tomme has quit [Ping timeout: 272 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aclearman037 has joined #ruby
jonr22 has quit [Ping timeout: 252 seconds]
Sgeo has quit [Read error: Connection reset by peer]
doodlehaus has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 246 seconds]
Andriamanitra has quit [Ping timeout: 260 seconds]
shredding has joined #ruby
Advocation has joined #ruby
Xeago has joined #ruby
tkuchiki has joined #ruby
terlar has quit [Ping timeout: 272 seconds]
yacks has joined #ruby
Waheedi has joined #ruby
ItSANgo has quit [Read error: Connection reset by peer]
Andriamanitra has joined #ruby
Tomme has joined #ruby
ItSANgo has joined #ruby
doodlehaus has joined #ruby
Cheezebox has quit [Remote host closed the connection]
lemur has joined #ruby
MCDev has quit [Ping timeout: 250 seconds]
ndrei has quit [Ping timeout: 245 seconds]
pu22l3r has joined #ruby
vasilakisfil has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<vasilakisfil> hey guyzz is there any method like %Q but ignores new lines?
banister has joined #ruby
banister has quit [Max SendQ exceeded]
dblessing has quit [Quit: dblessing]
lemur has quit [Ping timeout: 272 seconds]
cougarten has joined #ruby
banister has joined #ruby
<Hanmac> vasilakisfil: i dont think so but you can use \ at the end of line
<vasilakisfil> like %Q(...).gsub("\n","")
<vasilakisfil> aha ok thanks!
<jhass> vasilakisfil: mmh, no, some people abuse the fact that "foo" \ "foo" works
<jhass> but I tend to prefer foo = "bar"; foo << "baz"
Tomasso has quit [Quit: Page closed]
dblessing has joined #ruby
<czaks> or: foo = "bar" << \n "baz"
<czaks> maybe it's also possible to put \n before <<
ndrei has joined #ruby
<jhass> no, then you'd need a \ again since foo = "bar" is a complete expression
bonhoeffer has joined #ruby
yfeldblum has joined #ruby
andrewjanssen has joined #ruby
Hien_ has quit [Quit: leaving]
arup_r has quit [Remote host closed the connection]
gccostabr has joined #ruby
ndrei has quit [Ping timeout: 268 seconds]
benzrf|offline is now known as benzrf
paulfm has joined #ruby
andrewjanssen has quit [Client Quit]
shortCircuit__ has joined #ruby
jottr_ has quit [Ping timeout: 260 seconds]
<shortCircuit__> is it possible to take a text, and then save it in a png file ?
Jon-Xie has joined #ruby
sprihodko has joined #ruby
nucatus has quit [Remote host closed the connection]
Photism has quit [Quit: Leaving]
shortCircuit__ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140715214327]]
nucatus has joined #ruby
Janno- has joined #ruby
Cheezebox has joined #ruby
avita11 has quit [Quit: Leaving.]
InhalingPixels has joined #ruby
Jon-Xie has quit [Ping timeout: 246 seconds]
<tobiasvl> aw he left
<tobiasvl> wonder if he's making a meme generator
<mityaz> =)
<bweston92> lmao
nucatus has quit [Ping timeout: 240 seconds]
thomasxie has joined #ruby
<mityaz> tobiasvl, he's at RoR channel now :)
andrewjanssen has joined #ruby
<tobiasvl> probably a better fit!
andrewjanssen has quit [Client Quit]
<tobiasvl> rmagick + ror
InhalingPixels has quit [Ping timeout: 264 seconds]
relix has joined #ruby
jusmyth has joined #ruby
mkaesz has joined #ruby
timonv_ has joined #ruby
<shevy> roar!
<shevy> rawr
bonhoeffer has quit [Quit: bonhoeffer]
ore0s has joined #ruby
professor_soap has joined #ruby
professor_soap has left #ruby [#ruby]
terlar has joined #ruby
allthehats is now known as UKn0Me
mijicd has joined #ruby
sepp2k has joined #ruby
GinoMan has quit [Ping timeout: 240 seconds]
cougarten has quit [Ping timeout: 246 seconds]
ctp has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 268 seconds]
fabrice31 has joined #ruby
spastorino has joined #ruby
jusmyth has quit [Quit: Leaving.]
orolo has quit [Quit: This computer has gone to sleep]
techsethi has quit [Quit: techsethi]
GriffinHeart has joined #ruby
lsone has joined #ruby
bonhoeffer has joined #ruby
freerobby has joined #ruby
mwlang has quit [Quit: mwlang]
relix_ has joined #ruby
elstif has quit [Read error: Connection reset by peer]
bricker`LA has joined #ruby
TheNet has joined #ruby
jokke has quit [Quit: WeeChat 1.0]
orolo has joined #ruby
timonv_ has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
timonv_ has joined #ruby
sigurding has joined #ruby
mijicd has quit [Quit: leaving]
mijicd has joined #ruby
jokke has joined #ruby
GriffinHeart has quit [Ping timeout: 255 seconds]
relix has quit [Ping timeout: 246 seconds]
anaeem1 has quit [Remote host closed the connection]
nettoweb has joined #ruby
lukeholder has joined #ruby
nettoweb has quit [Max SendQ exceeded]
lukeholder has quit [Max SendQ exceeded]
nettoweb has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
elstif has joined #ruby
bricker`LA has quit [Ping timeout: 245 seconds]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
ore0s has quit [Ping timeout: 246 seconds]
mijicd has quit [Client Quit]
mijicd has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
bonhoeffer has quit [Quit: bonhoeffer]
arup_r has joined #ruby
lukeholder has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
TheNet has quit [Remote host closed the connection]
JohnFord has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
lukeholder has quit [Max SendQ exceeded]
kaspergrubbe has quit [Remote host closed the connection]
TheNet has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
benzrf is now known as benzrf|offline
lukeholder has joined #ruby
elstif has quit [Ping timeout: 268 seconds]
hellangel7 has joined #ruby
Jon-Xie has joined #ruby
DaveTaboola has joined #ruby
<DaveTaboola> hi guys!
<Hanmac> apeiros: https://gist.github.com/Hanmac/cb9e13ff220e4f31e13a gemtree now has color schemes for the Gemfile groups ;P (gems that are in different groups are drawn multi colored)
<DaveTaboola> just wanted to say thank you for the help yesterday
<DaveTaboola> i've managed to fix my memory handling with reading huge files thank to you :) so thanks
mijicd has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
aleatorik has joined #ruby
amystephen has joined #ruby
jokke has quit [Quit: WeeChat 1.0]
cocotton has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 272 seconds]
jokke has joined #ruby
weems|mac has joined #ruby
mikepack has joined #ruby
weems|mac has quit [Changing host]
weems|mac has joined #ruby
iamjarvo has joined #ruby
JohnFord has joined #ruby
iamjarvo has quit [Client Quit]
centrx has joined #ruby
Takle has joined #ruby
bmurt has joined #ruby
iamayam has quit [Ping timeout: 250 seconds]
mupkoo has joined #ruby
Kamuela has joined #ruby
d2dchat has joined #ruby
binaryhat has joined #ruby
freerobby has quit [Quit: Leaving.]
jokke has quit [Client Quit]
mikepack has quit [Ping timeout: 246 seconds]
davedev24_ has joined #ruby
JohnFord has quit [Ping timeout: 252 seconds]
cirn0 has joined #ruby
jokke has joined #ruby
qwyeth has joined #ruby
iamayam has joined #ruby
jxf has joined #ruby
emocakes has quit []
SouL has quit [Ping timeout: 252 seconds]
relix_ has quit [Ping timeout: 252 seconds]
cocotton has joined #ruby
TheNet has quit [Remote host closed the connection]
sdegutis has left #ruby ["Leaving..."]
TheNet has joined #ruby
p0sixpscl has joined #ruby
mengu has quit [Remote host closed the connection]
relix has joined #ruby
User458764 has joined #ruby
atmosx has quit [Quit: Lost in trance]
oleo has joined #ruby
patrick99e99 has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
cirn0 has quit [Ping timeout: 268 seconds]
Tricon has joined #ruby
TheNet has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
TheNet has joined #ruby
nucatus has joined #ruby
elstif has joined #ruby
sailias has joined #ruby
krisquigley has joined #ruby
sinkensabe has joined #ruby
freerobby has joined #ruby
davedev2_ has joined #ruby
yfeldblu_ has joined #ruby
davedev24_ has quit [Ping timeout: 240 seconds]
patrick99e99 has quit [Ping timeout: 255 seconds]
Channel6 has joined #ruby
Takle has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
cocotton_ has joined #ruby
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
arya_ has joined #ruby
arya_ has quit [Client Quit]
arup_r has quit [Remote host closed the connection]
sprihodko has quit [Quit: Lingo - http://www.lingoirc.com]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> Hanmac: pics or it didn't happen ;-)
arya_ has joined #ruby
cocotto__ has joined #ruby
cocotton_ has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 268 seconds]
Takle has joined #ruby
mary5030 has joined #ruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
mark_locklear has joined #ruby
Takle has quit [Remote host closed the connection]
cocotton has quit [Ping timeout: 252 seconds]
Kamuela has left #ruby ["Leaving"]
krisquigley has quit [Remote host closed the connection]
Advocation has quit [Quit: Advocation]
InhalingPixels has quit [Ping timeout: 255 seconds]
sdegutis has joined #ruby
tlarevo has quit [Ping timeout: 276 seconds]
Advocation has joined #ruby
agjacome has quit [Quit: leaving]
Xeago has quit [Remote host closed the connection]
<sdegutis> How do you create a new number using Ruby's C API?
<sdegutis> The end.
<centrx> That was a great story, tell it again
<sdegutis> How do you create a new number using Ruby's C API?
<shevy> int c = 5;
<sdegutis> Fin.
<sdegutis> shevy: Incorrect.
<shevy> wat
<sdegutis> I need to create a new Ruby number.
<sdegutis> Using a C number.
<shevy> there are no genuine ruby numbers
Xeago has joined #ruby
<sdegutis> (lol everything's a number in C)
<shevy> yeah
<Hanmac> sdegutis: INT2NUM or DBL2NUM
<sdegutis> I need to create a FixNum using an int.
<shevy> but you can #define TRUE and FALSE
<sdegutis> Thanks Hanmac.
<sdegutis> Someone please kick shevy.
<Hanmac> INT2FIX with being more exact
<sdegutis> Dang, mruby doesn't have this.
freerobby has quit [Quit: Leaving.]
ta has quit [Remote host closed the connection]
<sdegutis> I couldn't find it in mruby, so I was hoping it just had the same name as in Ruyb.
<sdegutis> *RUBY
Takle has joined #ruby
<Hanmac> no one did say that mruby is complete or finish yet
<Mon_Ouie> mrb_fixnum(x)
ItSANgo has quit [Quit: Leaving...]
silkfox has joined #ruby
yeticry has joined #ruby
Lewix has joined #ruby
<Hanmac> apeiros: and? did that image satificed you in your guestion? (as you did see rdoc is requested by both default and development)
mr-foobar has quit [Quit: Leaving...]
albedoa has joined #ruby
mary5030 has quit [Remote host closed the connection]
jobewan has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
Cheezebox has quit [Remote host closed the connection]
cougarten has joined #ruby
paulfm has joined #ruby
Hien has joined #ruby
Hien has quit [Changing host]
Hien has joined #ruby
Hien has quit [Client Quit]
Cheezebox has joined #ruby
Cheezebox has quit [Remote host closed the connection]
GeorgesLeYeti has joined #ruby
<GeorgesLeYeti> Hi
Cheezebox has joined #ruby
<GeorgesLeYeti> How could i verify if a folder get a least 1 *.mp3 file present ?
<GeorgesLeYeti> Like File.exists?
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> GeorgesLeYeti Dir['*.mp3'].size > 0
sprihodko has joined #ruby
toretore has quit [Ping timeout: 272 seconds]
sailias has quit [Read error: Connection reset by peer]
<GeorgesLeYeti> shevy: ty a lot
sailias1 has joined #ruby
sailias1 is now known as sailias
davedev2_ has quit []
<shevy> you have to pass the location towards Dir[] of course, like Dir['/my_audio_files/*.mp3']
<shevy> \o/
<canton7> Dir['**/*.mp3'].any? is another way, also checking recursively
davedev24_ has joined #ruby
<Hanmac> or use Dir.chdir(path) { ... }
<centrx> may need to turn on globstar for **
<p0sixpscl> speaking of Dir. why do they use brackets instead of () to call? because of any design pattern?
tagrudev has quit [Quit: Me = Awesome]
<Mon_Ouie> "turn on globstar"?
<sdegutis> So, how would you add fixnums in mruby using the C API?
<GeorgesLeYeti> shevy: yes ofc i add the location
DaveTaboola has quit [Quit: Page closed]
bluOxigen has joined #ruby
<centrx> Mon_Ouie, maybe that's only in bash and ** it works seamlessly in Ruby
mijicd has joined #ruby
cougarten_ has joined #ruby
f0ster has joined #ruby
<Hanmac> p0sixpscl: Dir[] like Hash[] are methods on the class ... Array() is a method on the Kernel module
<centrx> Mon_Ouie, in bash you can do ls a/**/b.txt for any intervening directory structure, but you have to turn on globstar to do it
<p0sixpscl> ah good to know
Hien has joined #ruby
cougarten has quit [Ping timeout: 250 seconds]
britneywright has joined #ruby
Tricon has quit [Quit: Leaving...]
oleo has quit [Ping timeout: 245 seconds]
oleo has joined #ruby
livingstn has joined #ruby
momomomomo has joined #ruby
Channel6 has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
mary5030 has joined #ruby
<Hanmac> shevy do you like the colored output of my gemtree? http://i.imgur.com/Wb40yNn.png ... the colorscheme can be set with parameter
mary5030 has quit [Remote host closed the connection]
JohnFord has joined #ruby
Soda has joined #ruby
mary5030 has joined #ruby
anarang has quit [Quit: Leaving]
awestroke has quit [Remote host closed the connection]
<apeiros> Hanmac: nice. do you use .dot?
sylvanica has joined #ruby
fgo has quit [Remote host closed the connection]
Cheezebox has quit [Remote host closed the connection]
Advocation has quit [Quit: Advocation]
ephemerian has quit [Quit: Leaving.]
Cheezebox has joined #ruby
<sdegutis> What is the advantage of embedding mruby into a GUI app vs Ruby itself?
ptierno has joined #ruby
Kricir has joined #ruby
GriffinHeart has quit [Ping timeout: 264 seconds]
<Hanmac> apeiros: yes, currently its .dot output only or in my case i pipe it directly to dot "/home/hanmac/scripts/gemtree.rb --gemfile Gemfile --only-gemfile --gemfile-colorscheme reds | dot -Tpng -oout.png; eog out.png"
cocotto__ has quit [Remote host closed the connection]
<centrx> sdegutis, you can distribute it in a compiled binary?
rafacv has joined #ruby
rafacv has left #ruby [#ruby]
St_Marx has joined #ruby
<sdegutis> What, Ruby?
mijicd has quit [Remote host closed the connection]
<centrx> sdegutis, mruby produces compilable output
<centrx> sdegutis, so your app doesn't need a Ruby interpreter, it can be native
<sdegutis> I don't understand.
ursooperduper has joined #ruby
<sdegutis> Are you saying that the benefit is that mruby is fully self-contained within the executable, whereas Ruby would not be?
<centrx> sdegutis, that is one benefit yes
<sdegutis> Then I don't understand what you're saying the other benefits are.
<centrx> sdegutis, it's fast and small
<centrx> it produces C output
Ankhers has joined #ruby
<sdegutis> What do you mean by C output?
terlar has quit [Ping timeout: 252 seconds]
Advocation has joined #ruby
<Mon_Ouie> mruby can have multiple completely separate VMs so you could potentially load multiple scripts that would never change the state of one another, Ruby uses global state
mengu has joined #ruby
benzrf|offline is now known as benzrf
toretore has joined #ruby
snath has quit [Ping timeout: 246 seconds]
cocotton has joined #ruby
matchaw has quit [Ping timeout: 252 seconds]
<sdegutis> Ah.
<sdegutis> I'm okay with global state :)
matchaw has joined #ruby
workmad3 has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
AlSquire has joined #ruby
nettoweb has quit [Max SendQ exceeded]
Kricir has quit [Write error: Broken pipe]
nettoweb has joined #ruby
<shevy> mruby is fast
Kricir has joined #ruby
<sdegutis> Ruby isn't too slow.
Jackneill has joined #ruby
shackleford has joined #ruby
<shevy> perl is faster
<sdegutis> Nobody uses perl.
shackleford has quit [Remote host closed the connection]
klmlfl has joined #ruby
shackleford has joined #ruby
<diegoviola> I can't find any ruby work (remote) lately, this sucks
lampd1 has quit []
<sdegutis> :(
<diegoviola> and I really don't want to go back to Java or PHP
<shevy> diegoviola then you need to cut away from their share
AlSquirrel has joined #ruby
<diegoviola> what do you mean?
lemur has joined #ruby
Squarepy has quit [Quit: Leaving]
mupkoo has quit [Remote host closed the connection]
AlSquire has quit [Read error: Connection reset by peer]
<workmad3> diegoviola: convince clients looking for Java or PHP jobs done that they want it done in ruby instead
TheNet has quit [Quit: Leaving...]
iamjarvo has joined #ruby
mikepack has joined #ruby
<shevy> diegoviola well, there is a reason why they use X or Y
<shevy> so you want to give them Z, so you must reason
klmlfl has quit [Read error: Connection reset by peer]
definiv has joined #ruby
Kricir has quit [Ping timeout: 268 seconds]
klmlfl has joined #ruby
joast has joined #ruby
definiv has quit [Client Quit]
ffranz has joined #ruby
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby
zz_anildigital is now known as anildigital
freerobby has joined #ruby
<workmad3> shevy: I was listening to a ruby rogues podcast today and your name came up btw ;)
terlar has joined #ruby
<shevy> was that because I said compile from source
<workmad3> shevy: yeah
<shevy> \o/
zeroNones has joined #ruby
<shevy> eventually I'll have ruby bootstrap a linux from scratch system
yfeldblum has joined #ruby
lemur has quit [Ping timeout: 272 seconds]
<ddv> is shevy famous?
<ddv> <3
<bweston92> shevy: compile from source?
<workmad3> ddv: he's famous for saying you should compile ruby from source
<shevy> Cookbooks: 2648 programs are registered in our cookbooks
<shevy> yeah bweston92
ohcibi_ is now known as ohcibi
AlSquirrel has quit [Read error: Connection reset by peer]
<bweston92> meaning compile ruby from source ruby?
<shevy> actually compile everything
mikepack has quit [Ping timeout: 255 seconds]
<ddv> I can't wrap my head around that
Atrumx has joined #ruby
<wasamasa> well
* workmad3 is going to start suggesting that you should compile everything from sauce
<wasamasa> there's a bunch of languages that pull this off
<wasamasa> bootstrapping their build with an older binary
<bweston92> Hmm, I can't wrap my head around compiling gems etc either
<centrx> diegoviola, You want to be the general person a team or company wants to help them do things, whatever language that is
<wasamasa> like rust and some lisp implementations
<shevy> bweston92 no, these are usually autogenerate Makefiles in ext/ using extconf.rb usually, it's in the end just gcc and make that do the job here
<wasamasa> gcc, too
<centrx> diegoviola, and often that language is going to be Ruby, because it is good and effective for their needs, and because you are already good at it
<workmad3> centrx: I prefer to tell clients 'You can have whatever language you want, as long as it's ruby'
milkohol has joined #ruby
<shevy> but I aim big! for the world!
<workmad3> wasamasa: it's pretty common to bootstrap a compiler to the point you can write the compiler in the target language
drawingthesun has quit [Ping timeout: 276 seconds]
<bweston92> shevy: First day of ruby, no idea what you're going on about :)
<shevy> down with cmake, down with rake, down with make, down with GNU auto*, down with libtool, down with waf, down with everything
Alina-malina has quit [Ping timeout: 255 seconds]
<wasamasa> shevy: good luck
<shevy> wasamasa luck is not needed, only work
<bweston92> shevy: Hard work pays off :)
<workmad3> shevy: mad work, amirite?
Alina-malina has joined #ruby
ItSANgo has joined #ruby
<wasamasa> shevy: what will your build tool be called?
<shevy> wasamasa I renamed them about 10 times already
<workmad3> shevy: call it 'build'
<gerep> I'm looking for a gem to create a torrent server and manage those torrents, I've been looking but didn't find anything, does anyone here knows of something like that?
drawingthesun has joined #ruby
<wasamasa> shevy: I propose dish, as in dishevel
<shevy> build is a bit too generic
<workmad3> shevy: then the command line interface is 'build ruby'
<shevy> dishevel does not really reveal intent
<shevy> workmad3 well that is a bit better
<gerep> I need a torrent server and also need to control those torrents download
<wasamasa> shevy: well, it contains 80% of your name
<workmad3> 'build my_awesome_crap'
<diegoviola> it sounds like I'm going to have to bite the bullet and do java and php programming
<diegoviola> ugh
<shevy> wasamasa I usually call things close to what they should do
<workmad3> shevy: my only other suggestion is 'shiv'... as in 'shiv ruby'
bweston92 has left #ruby [#ruby]
yfeldblum has quit [Ping timeout: 246 seconds]
<wasamasa> workmad3: but shivs are for crazy lispers!
<workmad3> wasamasa: and gangstas
<workmad3> wasamasa: we want to be lisp gangstas in ruby, right?
<shevy> you guys are having way too much fun coming up with names rather than coming up with code
<wasamasa> workmad3: yeah, I'd be a little happier if all gems I came across had learned that lesson
InhalingPixels has joined #ruby
<workmad3> shevy: code is easy, names are hard!
<wasamasa> workmad3: tried builder the other day in irb
klmlfl has quit [Remote host closed the connection]
<wasamasa> workmad3: it kept adding elements every time I involunarily inspected it!
franzip has joined #ruby
klmlfl has joined #ruby
<wasamasa> workmad3: how the hell did that thing make it into the list of rails dependencies
<workmad3> wasamasa: hah
<ddv> gerep: i'm looking for a gem that programs everything for me
<wasamasa> ddv: agi.rb
<gerep> ddv why don't you simply say no? Easier ;)
sprihodko has quit [Quit: Lingo - http://www.lingoirc.com]
melik has joined #ruby
freerobby has quit [Quit: Leaving.]
<shevy> ddv we need an AI for that
starkhallo has joined #ruby
Takle has quit [Remote host closed the connection]
freerobby has joined #ruby
<ddv> I need a gem that writes gem that writes for me
<ddv> <3
<workmad3> ddv: you mean like jewler? or bundler?
davedev2_ has joined #ruby
Alina-malina has quit [Ping timeout: 245 seconds]
<ddv> not exactly
<workmad3> :P
fgo has joined #ruby
jerius has joined #ruby
klmlfl has quit [Remote host closed the connection]
Alina-malina has joined #ruby
gerep is now known as gerep-lunch
klmlfl has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
davedev24_ has quit [Ping timeout: 245 seconds]
lsone has quit [Read error: No route to host]
treehug88 has joined #ruby
lsone has joined #ruby
<shevy> he means something that writes code for him in the end
ndrei has joined #ruby
<shevy> a slave coder
anildigital is now known as zz_anildigital
<workmad3> shevy: I know :)
<workmad3> shevy: I was being mean
momomomomo has quit [Quit: momomomomo]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nucatus has quit [Remote host closed the connection]
circ-user-8fdEt has joined #ruby
Takle has joined #ruby
kaspergrubbe has joined #ruby
Kricir has joined #ruby
fgo has quit [Ping timeout: 268 seconds]
mengu has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Remote host closed the connection]
Grantlyk has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
Grantlyk has joined #ruby
cougarten_ has quit [Ping timeout: 250 seconds]
momomomomo has joined #ruby
gaussblurinc1 has quit [Quit: Leaving.]
nfk has joined #ruby
jay has joined #ruby
lkba has quit [Read error: Connection reset by peer]
Logico has joined #ruby
lkba has joined #ruby
<sdegutis> When you embed Ruby, what do you need to do to get it to be able to require built-in libs like JSON?
lkba has quit [Read error: Connection reset by peer]
speaking1ode is now known as speakingcode
darkxploit has joined #ruby
lkba has joined #ruby
mr-foobar has joined #ruby
<Hanmac> sdegutis: still working with mRuby? if yes are you sure that mruby does have json yet?
jerematic has joined #ruby
<sdegutis> Nope, just Ruby now.
<sdegutis> I'm linking against the system Ruby.
zartoosh has quit [Remote host closed the connection]
thomasxie has left #ruby [#ruby]
zartoosh has joined #ruby
jxf has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby
<Hanmac> build in stuff like json? hm just do rb_require ... hm or does that not work?
mkaesz has quit [Ping timeout: 245 seconds]
<sdegutis> It throws exception.
<sdegutis> Checking value of $: now
darkxploit has quit [Max SendQ exceeded]
<sdegutis> Ah, $: is empty!
timonv_ has quit [Read error: Connection reset by peer]
darkxploit has joined #ruby
mikepack has joined #ruby
timonv_ has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sinkensabe has quit [Remote host closed the connection]
<Hanmac> hm sorry that i cant help you much with that, i do mostly write only c++ gems, not the other way around
fgo has joined #ruby
<sdegutis> Thanks :)
bMalum has quit [Quit: bMalum]
jusmyth has joined #ruby
Andriamanitra has quit [Remote host closed the connection]
<Hanmac> ddv and? have you something against my new colorscheme option?
Jon-Xie has quit [Remote host closed the connection]
jusmyth has left #ruby [#ruby]
Takle has joined #ruby
darkxploit has quit [Max SendQ exceeded]
<sdegutis> phew it works
GriffinHeart has joined #ruby
<sdegutis> I just had to add stuff to $:
darkxploit has joined #ruby
<sdegutis> Ah! ruby_init_loadpath();
britneywright has joined #ruby
<sdegutis> That's what I was missing.
GinoMan has joined #ruby
<centrx> r u use rubby
<Hanmac> sdegutis: you add ruby into a gui application, ne? hm i do the other way around putting the gui lib into an ruby gem
<sdegutis> Meh.
ndrei has quit [Ping timeout: 272 seconds]
fgo has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
gccostabr has quit [Read error: Connection reset by peer]
gccostabr has joined #ruby
charliesome has quit [Quit: zzz]
saarinen has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
Morkel has joined #ruby
darkxploit has quit [Max SendQ exceeded]
Fire-Dragon-DoL has joined #ruby
javilove has joined #ruby
GriffinHeart has quit [Ping timeout: 245 seconds]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
darkxploit has joined #ruby
Fraeon has quit [Quit: Lost terminal]
lkba has quit [Read error: Connection reset by peer]
Andriamanitra has joined #ruby
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sdegutis> Is there a C function to tear down the global state Ruby sets up?
lkba has joined #ruby
jxf has joined #ruby
sigurding has quit [Quit: sigurding]
yfeldblum has quit [Ping timeout: 264 seconds]
joast has quit [Ping timeout: 272 seconds]
<shevy> hehehe
pu22l3r has quit [Remote host closed the connection]
pu22l3r has joined #ruby
bal has quit [Quit: bal]
darkxploit has quit [Max SendQ exceeded]
doodlehaus has joined #ruby
lkba has quit [Read error: Connection reset by peer]
centrx has quit [Quit: Mead error: Connection reset by beer]
lkba has joined #ruby
lkba has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
lkba has joined #ruby
darkxploit has joined #ruby
aganov has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 245 seconds]
zettam_ has joined #ruby
shock_one has quit [Quit: Computer has gone to sleep.]
Avahey_ has joined #ruby
skfax has joined #ruby
mary5030 has quit [Remote host closed the connection]
weems|mac has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
darkxploit has quit [Max SendQ exceeded]
zettam has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
Advocation has quit [Quit: Advocation]
weems|mac has joined #ruby
weems|mac has quit [Changing host]
weems|mac has joined #ruby
sinkensabe has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
arup_r has joined #ruby
darkxploit has joined #ruby
mary5030 has quit [Remote host closed the connection]
javilove has quit [Remote host closed the connection]
mary5030 has joined #ruby
ptierno has quit [Quit: leaving]
ptierno has joined #ruby
saarinen has quit [Quit: saarinen]
Fraeon has joined #ruby
MaciejCzyzewski has joined #ruby
kireevco has joined #ruby
ptierno_ has joined #ruby
ptierno_ has quit [Changing host]
ptierno_ has joined #ruby
lkba has quit [Read error: Connection reset by peer]
kireevco has quit [Max SendQ exceeded]
ptierno_ has quit [Client Quit]
lkba has joined #ruby
kireevco has joined #ruby
ptierno_ has joined #ruby
darkxploit has quit [Max SendQ exceeded]
arya_ has joined #ruby
tectonic has joined #ruby
txdv has quit [Read error: Connection reset by peer]
mjc_ has joined #ruby
darkxploit has joined #ruby
terlar has quit [Read error: Connection reset by peer]
snath has joined #ruby
fgo has joined #ruby
txdv has joined #ruby
fabrice31 has quit [Remote host closed the connection]
Tomme has quit [Ping timeout: 276 seconds]
Morkel has quit [Quit: Morkel]
havenwood has joined #ruby
tokik has joined #ruby
lemur has joined #ruby
fsapo has quit [Ping timeout: 240 seconds]
darkxploit has quit [Max SendQ exceeded]
tobyo has joined #ruby
darkxploit has joined #ruby
GeorgesLeYeti has quit [Quit: Quitte]
fgo has quit [Ping timeout: 276 seconds]
Sou|cutter has joined #ruby
Jackneill has quit [Quit: Leaving]
zeroNones has joined #ruby
lemur has quit [Ping timeout: 272 seconds]
darkxploit has quit [Max SendQ exceeded]
darkxploit has joined #ruby
Steve has quit [Remote host closed the connection]
sleepee has quit [Ping timeout: 263 seconds]
cirn0 has joined #ruby
RaCx has joined #ruby
Ankhers has quit [Ping timeout: 264 seconds]
avita1 has joined #ruby
LeVoDECoM has joined #ruby
taptapdan has joined #ruby
darkxploit has quit [Max SendQ exceeded]
Hanmac has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
Waheedi has quit [Quit: Waheedi]
darkxploit has joined #ruby
Hanmac has joined #ruby
ch0ke has quit [Ping timeout: 255 seconds]
<sdegutis> Ah, ruby_finalize()
sdegutis has left #ruby ["Leaving..."]
shock_one has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cirn0 has quit [Ping timeout: 255 seconds]
zorak8 has joined #ruby
renderful has joined #ruby
arya_ has quit []
darkxploit has quit [Max SendQ exceeded]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
darkxploit has joined #ruby
claw has quit [Read error: Connection reset by peer]
patrick99e99 has quit [Ping timeout: 268 seconds]
gsd has joined #ruby
g0bl1n has joined #ruby
Scripore has quit [Ping timeout: 268 seconds]
tectonic has quit []
vasilakisfil has quit [Quit: Konversation terminated!]
aclearman037 has quit [Ping timeout: 240 seconds]
wald0 has joined #ruby
sambao21 has joined #ruby
bricker`LA has joined #ruby
darkxploit has quit [Max SendQ exceeded]
einarj has quit [Remote host closed the connection]
Jarboe has joined #ruby
aclearman037 has joined #ruby
Akagi201 has quit [Read error: Connection reset by peer]
Akagi201_ has joined #ruby
jusmyth1 has joined #ruby
chrishough has joined #ruby
darkxploit has joined #ruby
britneywright has joined #ruby
terlar has joined #ruby
wallerdev has joined #ruby
ryanleesipes has quit [Ping timeout: 264 seconds]
Logico has quit [Quit: Saindo]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
HelperW has quit [Ping timeout: 245 seconds]
darkxploit has quit [Max SendQ exceeded]
freerobby has quit [Quit: Leaving.]
LeVoDECoM has quit [Quit: Leaving]
joast has joined #ruby
iamjarvo_ has joined #ruby
freerobby has joined #ruby
Akagi201_ has quit [Ping timeout: 255 seconds]
darkxploit has joined #ruby
sambao21 has quit [Ping timeout: 245 seconds]
<Lewix> hey all
sleepee has joined #ruby
iamjarvo has quit [Ping timeout: 240 seconds]
shackleford has quit [Remote host closed the connection]
roolo has quit [Quit: Leaving...]
cocotton has quit [Remote host closed the connection]
shock_one has quit [Quit: Computer has gone to sleep.]
aspires has joined #ruby
tkuchiki has quit [Remote host closed the connection]
darkxploit has quit [Max SendQ exceeded]
shackleford has joined #ruby
lkba has quit [Remote host closed the connection]
claw has joined #ruby
darkxploit has joined #ruby
deardino has joined #ruby
yfeldblum has joined #ruby
cocotton has joined #ruby
rippa has joined #ruby
cocotton has quit [Remote host closed the connection]
darkxploit has quit [Max SendQ exceeded]
matchaw has quit [Ping timeout: 245 seconds]
darkxploit has joined #ruby
matchaw has joined #ruby
pandaant has joined #ruby
gauke has quit [Quit: gauke]
kaspergrubbe has quit [Remote host closed the connection]
kireevco has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 246 seconds]
GriffinHeart has joined #ruby
gerep-lunch is now known as gerep
IceDragon has joined #ruby
SCHAAP137 has joined #ruby
emmesswhy has joined #ruby
Akagi201 has joined #ruby
max06 has quit [Quit: Leaving.]
ryanleesipes has joined #ruby
darkxploit has quit [Max SendQ exceeded]
deardino has quit [Ping timeout: 260 seconds]
makerop has joined #ruby
<makerop> if I have an array of 2 element arrays, whats the quickest way to convert to a hash?
darkxploit has joined #ruby
saarinen has joined #ruby
dorei has joined #ruby
cougarten_ has joined #ruby
joast has quit [Ping timeout: 268 seconds]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Hanmac> makerop: depening on your ruby version Hash[] or simply Array#to_h
GriffinHeart has quit [Ping timeout: 252 seconds]
p0sixpscl has quit [Quit: bye]
narph has quit [Quit: Connection closed for inactivity]
<makerop> Hanmac, when I do Hash[arr] only the last array is converted into a key value pari
<Hanmac> try Hash[*arr]
darkxploit has quit [Max SendQ exceeded]
<makerop> thats what my array looks like; Hash[*arr] throws odd number of args
mark_locklear has quit [Ping timeout: 240 seconds]
baroquebobcat_ has joined #ruby
darkxploit has joined #ruby
shock_one has joined #ruby
mikeg has joined #ruby
j_mcnall_ has joined #ruby
darkxploit has quit [Max SendQ exceeded]
avita1 has quit [Quit: Leaving.]
darkxploit has joined #ruby
mary5030 has quit [Remote host closed the connection]
olivier_bK has quit [Ping timeout: 276 seconds]
mupkoo has joined #ruby
<gregf_> makerop: a hash can only contain unique keys
<makerop> ah
sdwrage has quit [Quit: Leaving]
<gregf_> makerop: so you prolly need an array of hashes?
<makerop> ya, that'd work
threesixes has joined #ruby
wpp has quit [Quit: ZZZzzz…]
jblack has joined #ruby
Tomme has joined #ruby
ghostmoth has joined #ruby
davedev24_ has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
timonv_ has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkxploit has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
timonv_ has joined #ruby
icebourg has joined #ruby
kireevco has joined #ruby
Tricon has joined #ruby
sigurding has joined #ruby
maestrojed has joined #ruby
Trieste has quit [Ping timeout: 276 seconds]
davedev2_ has quit [Ping timeout: 252 seconds]
saarinen has quit [Quit: saarinen]
Grantlyk has quit [Remote host closed the connection]
banister has joined #ruby
Takle has quit [Remote host closed the connection]
Grantlyk has joined #ruby
<gregf_> makerop: [["Firmware version", "2.9.1000"], ["Firmware version", "2.9.1000"], ["Firmware version", "3"]].map{ |arr| Hash[*arr] }
<makerop> thanks (got it alrady)
<gregf_> you sure?
darkxploit has joined #ruby
<gregf_> o_O
aspires has quit []
<makerop> ports.map! { |x| Hash[*x] }
circ-user-8fdEt has quit [Remote host closed the connection]
<makerop> heh
mark_locklear has joined #ruby
patrick99e99 has joined #ruby
<jblack> does anyone have a favorite gem that can extract a part of a gem? png 1.2.0 relies on a broken (for 1.9.x, at least) inline 0.1.0
andrewjanssen has joined #ruby
<jblack> pardon, extract part of a png
timonv_ has quit [Ping timeout: 260 seconds]
glacius has joined #ruby
<glacius> yo yo fellass
darkxploit has quit [Max SendQ exceeded]
aspires has joined #ruby
ndrei has joined #ruby
fgo has joined #ruby
mary5030 has joined #ruby
darkxploit has joined #ruby
bricker`work has joined #ruby
jottr_ has joined #ruby
qba73 has quit [Remote host closed the connection]
aspires has quit [Client Quit]
qba73 has joined #ruby
HelperW has joined #ruby
renderful has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
thumpba has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
lkba has joined #ruby
thumpba has joined #ruby
Takle has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
darkxploit has quit [Max SendQ exceeded]
fgo has quit [Ping timeout: 245 seconds]
mikeg has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
ptierno_ has quit [Quit: leaving]
baweaver has joined #ruby
darkxploit has joined #ruby
<baweaver> Odd, gsub! returns nil if there's no match. Can any one reconcile with that behavior?
cndiv has joined #ruby
<jhass> all core ! methods do
tokik has quit [Ping timeout: 245 seconds]
qba73 has quit [Ping timeout: 268 seconds]
<baweaver> Seems odd that you wouldn't just return the string without modification if there's no need to modify it.
renderful has joined #ruby
kenneth has joined #ruby
<jhass> I guess the reasoning is that you can check whether there was a modification
<jhass> just don't chain bang methods, that's how it is
weems|mac has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
omosoj has joined #ruby
<baweaver> I don't personally, I'm trying to make a case to get rid of as much state as possible
<baweaver> it makes for a headache if you mutate things freely.
<baweaver> Then again I'm also slightly inclined towards Haskell and FP, so it's a habit.
bMalum has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
sinkensabe has quit [Remote host closed the connection]
lbwski has quit [Ping timeout: 276 seconds]
lsone has quit [Quit: Textual IRC Client: www.textualapp.com]
aspires has joined #ruby
sinkensabe has joined #ruby
tylersmith has joined #ruby
darkxploit has quit [Ping timeout: 260 seconds]
jgrevich has joined #ruby
ppinto has joined #ruby
Takle has quit [Remote host closed the connection]
sailias has quit [Read error: Connection reset by peer]
albedoa has quit [Ping timeout: 240 seconds]
<Hanmac> baweaver:
<Hanmac> >> "abc".gsub!("d","e") ? "changed" : "not changed"
<eval-in____> Hanmac => "not changed" (https://eval.in/191836)
jxf has quit [Ping timeout: 255 seconds]
<Hanmac> "adc".gsub!("d","e") ? "changed" : "not changed"
<Hanmac> >> "adc".gsub!("d","e") ? "changed" : "not changed"
<eval-in____> Hanmac => "changed" (https://eval.in/191837)
<baweaver> I never really realized it worked that way, as I tend to avoid using bang methods.
sinkensabe has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Ping timeout: 268 seconds]
fsapo has joined #ruby
Cheezebox has quit [Remote host closed the connection]
Cheezebox has joined #ruby
momomomomo has joined #ruby
tlarevo has joined #ruby
b00stfr3ak has joined #ruby
andrewjanssen has quit [Ping timeout: 260 seconds]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
lxsameer has quit [Quit: Leaving]
cocotton has joined #ruby
jxf has joined #ruby
Cheezebox has quit [Ping timeout: 245 seconds]
gattie has joined #ruby
carraroj has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamakn has quit [Remote host closed the connection]
troyready has joined #ruby
MaciejCzyzewski has joined #ruby
Takle has joined #ruby
shredding has quit [Quit: shredding]
Takle has quit [Remote host closed the connection]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
lkba has quit [Read error: Connection reset by peer]
Cheezebox has joined #ruby
lkba has joined #ruby
wallerdev has quit [Quit: wallerdev]
lbwski has joined #ruby
icarus has joined #ruby
Kricir has quit [Remote host closed the connection]
omosoj has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
agjacome has joined #ruby
zartoosh has quit [Remote host closed the connection]
Kricir has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
baweaver has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
rostam has joined #ruby
havenwood has joined #ruby
MaciejCzyzewski has quit [Client Quit]
maestrojed has quit [Quit: Computer has gone to sleep.]
darkxploit has joined #ruby
Kricir_ has joined #ruby
bricker`LA has quit [Ping timeout: 246 seconds]
ndrei has joined #ruby
Kricir has quit [Read error: Connection reset by peer]
timgauthier is now known as timgauthier_isaw
chth0n has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 246 seconds]
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
linojon has joined #ruby
spider-mario has joined #ruby
Advocation has joined #ruby
Alina-malina has quit [Ping timeout: 240 seconds]
darkxploit has quit [Max SendQ exceeded]
renderfu_ has joined #ruby
britneywright has joined #ruby
Trieste has joined #ruby
timonv_ has joined #ruby
Tricon has quit [Quit: Linkinus - http://linkinus.com]
renderful has quit [Ping timeout: 240 seconds]
hamakn has joined #ruby
JohnFord has quit [Ping timeout: 260 seconds]
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
GriffinHeart has joined #ruby
omosoj has joined #ruby
jxf has quit [Ping timeout: 246 seconds]
apeiros has quit [Remote host closed the connection]
Photism has joined #ruby
apeiros has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shock_one has quit [Quit: Computer has gone to sleep.]
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rezzack has joined #ruby
claymore has joined #ruby
rockdon_ has joined #ruby
tlarevo_ has joined #ruby
darkxploit has joined #ruby
TommeHo has joined #ruby
Px12 has quit [Remote host closed the connection]
TommeHo has quit [Read error: Connection reset by peer]
lsone has joined #ruby
tlarevo has quit [Ping timeout: 255 seconds]
bonhoeffer has joined #ruby
W0rmDr1nk has quit [Ping timeout: 272 seconds]
GriffinHeart has quit [Ping timeout: 276 seconds]
nettoweb has joined #ruby
klmlfl has quit [Ping timeout: 260 seconds]
cocotton has quit [Remote host closed the connection]
Synthead has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has quit [Ping timeout: 255 seconds]
Tomme has quit [Ping timeout: 276 seconds]
darkxploit has quit [Max SendQ exceeded]
cocotton has joined #ruby
timonv_ has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
Alina-malina has joined #ruby
RaCx has joined #ruby
cocotton has joined #ruby
jusmyth1 has left #ruby [#ruby]
timonv_ has joined #ruby
atmosx has joined #ruby
<atmosx> hello
<atmosx> can foreman run in the background?
timonv^ has joined #ruby
andrewjanssen has joined #ruby
saarinen has joined #ruby
hamakn has quit [Remote host closed the connection]
relix has joined #ruby
wpp has joined #ruby
darkxploit has joined #ruby
cocotton has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
jottr_ is now known as jottr
mwlang has joined #ruby
wpp has quit [Client Quit]
fabrice31 has joined #ruby
wldcordeiro has quit [Client Quit]
Alina-malina has quit [Read error: Connection reset by peer]
timonv^ has quit [Remote host closed the connection]
timonv_ has quit [Ping timeout: 276 seconds]
Alina-malina has joined #ruby
wldcordeiro has joined #ruby
<mwlang> I’m having trouble with rake. I’m working on an old rails 1.2 project under ruby 1.8.7 and need to use rake 0.8.7, but am picking up rake 10.0.4. I tried to uninstall, but its stated that it isn’t. Here’s the gist of what I’m seeing. How can remove the 10.0.x versions so I can use 0.8.7?
<Hanmac> mwlang: #rubyonrails ruby1.8.7 is also dead you need to use newer ruby
<mwlang> Hanmac: I know its dead....
cougarten_ has quit [Ping timeout: 250 seconds]
MaciejCzyzewski has joined #ruby
kotk_ has joined #ruby
<mwlang> I’m aiming to upgrade it, but need to get this ancient version running locally.
<Hanmac> even the afterlife support of it is dead
kalusn has quit [Remote host closed the connection]
darkxploit has quit [Max SendQ exceeded]
mikeg has joined #ruby
sigurding has quit [Read error: Connection reset by peer]
<mwlang> sooo….how can I move the newer rakes out of my way so I can move forward with working with rails 1.2?
fabrice31 has quit [Ping timeout: 264 seconds]
darkxploit has joined #ruby
sigurding has joined #ruby
<Hanmac> mwlang: rails questions in the rails channel #rubyonrails
linojon has quit [Quit: linojon]
<lupine> don't suppose anyone's familiar with a test harness for WEBRick::HTTPServlet::AbstractServlet, are they?
<mwlang> this isn’t a rails question…perhaps a gems channel?
kotk has quit [Ping timeout: 276 seconds]
<lupine> it looks relatively simply, but I'd rather no repeat someone else
Xeago has quit [Read error: Connection reset by peer]
Jake232 has joined #ruby
<Hanmac> last year we all did decice that we bury ruby1.8.7 and do not support it anymore
darkxploit has quit [Max SendQ exceeded]
Xeago has joined #ruby
diegoviola is now known as dviola
andrewjanssen has quit [Quit: Linkinus - http://linkinus.com]
darkxploit has joined #ruby
|splat| has joined #ruby
andrewjanssen has joined #ruby
mark_locklear has quit [Ping timeout: 276 seconds]
joast has joined #ruby
Jarboe has quit [Ping timeout: 252 seconds]
fgo has joined #ruby
dawkirst has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
dawkirst has joined #ruby
fgo has quit [Read error: Connection reset by peer]
fgo has joined #ruby
andrewjanssen has quit [Client Quit]
ndrei has quit [Ping timeout: 252 seconds]
<|splat|> hey guys, i’m trying to make a job for Dashing to pull in some json data from Ganglia and the url has some [ and ] in it which HTTParty seems to not like. I’ve tried CGI::escape, URI.escape and Addressable:URI.escape and all seem to fail. any ideas on how I can properly parse this url? http://pastebin.com/cZMjff3E
darkxploit has quit [Max SendQ exceeded]
wallerdev has joined #ruby
Cheezebox has quit [Remote host closed the connection]
nanoyak has joined #ruby
sailias has joined #ruby
linojon has joined #ruby
Cheezebox has joined #ruby
lemur has joined #ruby
darkxploit has joined #ruby
<|splat|> http://pastebin.com/mmhJYN8j is the error I’m seeing
nairys has joined #ruby
ndrei has joined #ruby
shackleford has quit [Remote host closed the connection]
_musl_ has quit [Quit: WeeChat 0.4.3]
albedoa has joined #ruby
musl has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
djbkd has joined #ruby
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eivindml has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dawkirst has quit [Ping timeout: 272 seconds]
bMalum has quit [Quit: bMalum]
Grantlyk has quit []
fgo has quit [Ping timeout: 268 seconds]
darkxploit has quit [Max SendQ exceeded]
momomomomo has quit [Quit: momomomomo]
Cheezebox has quit [Ping timeout: 240 seconds]
chris6131 has joined #ruby
andrewjanssen has joined #ruby
lazyguru has quit [Remote host closed the connection]
darkxploit has joined #ruby
lemur has quit [Ping timeout: 272 seconds]
niklasb has joined #ruby
adamski2600 has joined #ruby
pibby has joined #ruby
ppinto has quit [Quit: ppinto]
Synthead has quit [Remote host closed the connection]
deric_skibotn has joined #ruby
<mwlang> for anyone who cares, the answer: rvm @global do gem uninstall -ax rake
bonhoeffer has quit [Quit: bonhoeffer]
<havenwood> alternative answer is don't use gemsets!
<havenwood> mwlang: thanks for posting solution! :)
darkxploit has quit [Max SendQ exceeded]
<mwlang> havenwood: I actually didn’t…I think rvm does so automatically in this case since its rake.
<wallerdev> good morning rubyists
Cheezebox has joined #ruby
dawkirst has joined #ruby
<havenwood> g'morn
<chris6131> Hi. I'm adding a method to the Array class that adds things to itself based on some external magic (chef in this case). I can do self << 'new thing' but when I try to do self += ['some','new','things'] I get "Can't change the value of self". How do I correctly perform Concatenation on self?
klmlfl has joined #ruby
ctp has quit [Quit: Textual IRC Client: www.textualapp.com]
orolo has joined #ruby
chrishough has joined #ruby
<wallerdev> well += creates a new array and assigns it
<wallerdev> like self = self + [blah]
<wallerdev> and you cant reassign self
RichardLitt has joined #ruby
cirn0 has joined #ruby
<wallerdev> you can use concat
darkxploit has joined #ruby
<chris6131> I gathered that, heh. But I can << (append) , which is not an assignment. How to I + (concatenate) without it being an assignment?
<chris6131> OMG
elstif has quit [Quit: Leaving.]
<wallerdev> lol
<chris6131> *facepalm* thanks
User458764 has quit [Ping timeout: 272 seconds]
jay is now known as rubyonrailed
RaCx has quit [Quit: Computer has gone to sleep.]
User458764 has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
Synthead has joined #ruby
tjbiddle has joined #ruby
Synthead has quit [Remote host closed the connection]
rafacv has joined #ruby
klmlfl has quit [Ping timeout: 240 seconds]
fantazo has joined #ruby
michaeldeol has joined #ruby
darkxploit has quit [Max SendQ exceeded]
cirn0 has quit [Ping timeout: 276 seconds]
RaCx has joined #ruby
magoo has joined #ruby
darkxploit has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andrewjanssen has joined #ruby
_maes_ has quit [Read error: Connection reset by peer]
<masterkorp> hello
kirun has joined #ruby
Jackneill has joined #ruby
Synthead has joined #ruby
<masterkorp> on rspec
mary5030 has quit [Remote host closed the connection]
omosoj has quit [Ping timeout: 268 seconds]
pibby has quit [Quit: leaving]
cougarten has joined #ruby
pibby has joined #ruby
darkxploit has quit [Max SendQ exceeded]
dawkirst has quit [Remote host closed the connection]
darkxploit has joined #ruby
qhartman has joined #ruby
starless has joined #ruby
Morkel has joined #ruby
thagomizer has joined #ruby
darkxploit has quit [Max SendQ exceeded]
d2dchat has quit [Ping timeout: 272 seconds]
darkxploit has joined #ruby
stef_204 has quit [Write error: Broken pipe]
eivindml has joined #ruby
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mark_locklear has joined #ruby
axsuul has joined #ruby
mkaesz has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carraroj has quit [Ping timeout: 245 seconds]
sambao21 has joined #ruby
Cheezebox has quit [Remote host closed the connection]
Cheezebox has joined #ruby
darkxploit has quit [Max SendQ exceeded]
masterkorp has left #ruby ["WeeChat 0.3.8"]
darkxploit has joined #ruby
yetanotherdave has joined #ruby
nucatus has joined #ruby
Cheezebox has quit [Ping timeout: 252 seconds]
GriffinHeart has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ylluminarious has joined #ruby
threesixes has quit [Remote host closed the connection]
sinkensabe has joined #ruby
GinoMan has quit [Ping timeout: 255 seconds]
darkxploit has quit [Max SendQ exceeded]
Lingo__ has joined #ruby
darkxploit has joined #ruby
d2dchat has joined #ruby
gsd has joined #ruby
<chris6131> Is http://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p547.tar.gz what is called "MRI Ruby" ?
rimenes has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> yup
<chris6131> oh, sweet!
michaeldeol has joined #ruby
<lupine> technically, it's YARV
<havenwood> chris6131: 2.1.2 is latest stable.
<lupine> but aye :D
<havenwood> matz calls it cruby or mri
<havenwood> mri mostly it seems
<havenwood> he commented on that lately, i can't remember the talk
nobitanobi has joined #ruby
<chris6131> Thanks guys
<havenwood> he was asked if in his mind it was "My Ruby Interpreter"
qmfnp has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
<lupine> I always knew it as matz's ruby interpreter
<havenwood> i like cruby
<chris6131> hehe
<nobitanobi> morning guys
DrShoggoth has joined #ruby
Synthead has quit [Remote host closed the connection]
<lupine> god, I hate diving back into 1.8 code written in 2005
cougarten has quit [Ping timeout: 245 seconds]
brandonshowers has joined #ruby
ghr has joined #ruby
ta has joined #ruby
<slash_nick> hate more or less than 1.8 code written in 2014?
RaCx_ has joined #ruby
<wallerdev> 1.8 is amazing
<wallerdev> 1.8.6 for lyfe
RaCx has quit [Ping timeout: 268 seconds]
RaCx_ is now known as RaCx
shock_one has joined #ruby
<lupine> well, I'm writing code to add to it
sambao21 has quit [Ping timeout: 264 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lupine> it's going fairly well, and everything I write is ruby2-compatible
d2dchat has quit [Read error: Connection reset by peer]
goshdarnyou has joined #ruby
MaciejCzyzewski has joined #ruby
<lupine> but because rmail, the tests in this segment won't even run in 1.9
<lupine> grumble grumble
mijicd has joined #ruby
gsd has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
masterkorp has joined #ruby
cocotton has joined #ruby
sambao21 has joined #ruby
Pumukel has quit [Ping timeout: 272 seconds]
shock_one has quit [Quit: Computer has gone to sleep.]
rdark has quit [Quit: leaving]
lsone has quit [Ping timeout: 260 seconds]
omosoj has joined #ruby
banister has joined #ruby
mary5030 has joined #ruby
banister has quit [Max SendQ exceeded]
xcesariox has joined #ruby
skullz has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
gtrak has quit [Ping timeout: 264 seconds]
mkaesz has quit [Ping timeout: 255 seconds]
banister has joined #ruby
SouL has joined #ruby
gtrak has joined #ruby
cocotton has quit [Ping timeout: 246 seconds]
shackleford has joined #ruby
shackleford has quit [Remote host closed the connection]
sambao21 has quit [Ping timeout: 252 seconds]
shackleford has joined #ruby
britneywright has quit [Read error: Connection reset by peer]
britneywright has joined #ruby
mary5030 has quit [Write error: Broken pipe]
hamakn has joined #ruby
saarinen has quit [Quit: saarinen]
mary5030 has joined #ruby
shock_one has joined #ruby
shock_one has quit [Quit: Computer has gone to sleep.]
kaspergrubbe has joined #ruby
hellangel7 has quit [Remote host closed the connection]
fgo has joined #ruby
Ankhers has joined #ruby
himsin has quit [Quit: himsin]
hamakn has quit [Ping timeout: 252 seconds]
reset has joined #ruby
mattmcclure has joined #ruby
rockdon_ has joined #ruby
HelperW has quit [Quit: Computer has gone to sleep.]
fgo has quit [Ping timeout: 240 seconds]
lemur has joined #ruby
rockdon_ is now known as rockdon|away
HelperW has joined #ruby
ndrei has quit [Ping timeout: 268 seconds]
DrShoggoth has quit [Remote host closed the connection]
Cheezebox has joined #ruby
bMalum has joined #ruby
echevemaster has joined #ruby
linojon has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lemur has quit [Ping timeout: 272 seconds]
saarinen has joined #ruby
postmodern has joined #ruby
linojon has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
HelperW has quit [Ping timeout: 268 seconds]
milkohol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister is now known as banisterfiend
krisquigley has joined #ruby
weaksauce has quit [Ping timeout: 264 seconds]
bricker`LA has joined #ruby
jonathan_alban has joined #ruby
elaptics is now known as elaptics`away
cocotton has joined #ruby
yfeldblum has joined #ruby
cocotton has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
cocotton has joined #ruby
ppinto has joined #ruby
seamon has joined #ruby
RichardLitt has quit [Quit: RichardLitt]
OffTheRails has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
rbenv has joined #ruby
bricker`LA has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 246 seconds]
ndrei has joined #ruby
bonhoeffer has joined #ruby
benzrf|offline is now known as benzrf
treehug88 has quit [Ping timeout: 268 seconds]
RichardLitt has joined #ruby
AlexRussia has joined #ruby
havenwood has quit [Remote host closed the connection]
darkxploit has quit [Quit: Leaving]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<AlexRussia> does we have irc bots written on ruby?
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
havenwood has joined #ruby
<wallerdev> theres cinch
<wallerdev> ive written an irc bot in ruby with it
milkohol has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
elstif has joined #ruby
endash has joined #ruby
klmlfl has joined #ruby
dawkirst has joined #ruby
<AlexRussia> wallerdev: i also found that http://ruby-rbot.org/
qmfnp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo has joined #ruby
Advocation has quit [Quit: Advocation]
havenwood has quit [Ping timeout: 264 seconds]
ndrei has quit [Ping timeout: 278 seconds]
j_mcnall_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> +1 to cinch
britneywright has quit [Ping timeout: 246 seconds]
MaciejCzyzewski has joined #ruby
<jhass> latest rbot changelog entry is from 2007
<jhass> looks dead
RaCx has joined #ruby
dawkirst has quit [Ping timeout: 268 seconds]
ctp has joined #ruby
Jarboe has joined #ruby
Soda has quit [Remote host closed the connection]
j_mcnall_ has joined #ruby
workmad3 has joined #ruby
carraroj has joined #ruby
krisquigley has joined #ruby
cougarten has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dawkirst has joined #ruby
rubyonrailed is now known as fay
mtmcfarl has joined #ruby
fay is now known as Guest93804
j_mcnall_ is now known as j_mcnally
<mtmcfarl> Why does a file generated with FasterCSV make some fields enclosed in quotation marks while others not?
sambao21 has quit [Ping timeout: 240 seconds]
<mtmcfarl> like \tGabrielle\t as opposed to \t"457 Blohm Street 3rd Floor"\t
sigurding has joined #ruby
Inhaling_ has joined #ruby
Kricir_ has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 245 seconds]
Mars`_ has joined #ruby
Kricir has joined #ruby
Synthead has joined #ruby
thumpba has left #ruby [#ruby]
thumpba has joined #ruby
Guest93804 is now known as Jaayyyy
sigurding has quit [Read error: Connection reset by peer]
Advocation has joined #ruby
gtrak has quit [Quit: No Ping reply in 180 seconds.]
fabrice31 has joined #ruby
bricker`work has quit [Ping timeout: 245 seconds]
GriffinHeart has joined #ruby
Advocation has quit [Client Quit]
sambao21 has joined #ruby
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
InhalingPixels has quit [Ping timeout: 240 seconds]
TheNet has joined #ruby
cocotton has quit [Remote host closed the connection]
qmfnp has joined #ruby
gtrak has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
Kricir has quit [Ping timeout: 276 seconds]
robustus has quit [Ping timeout: 250 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
jxf has joined #ruby
DanKnox has joined #ruby
mupkoo has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 255 seconds]
chrishough has joined #ruby
<AlexRussia> jhass: lastest commit on the march, xD
<AlexRussia> jhass: but i tried cinch, it nice
RaCx has quit [Ping timeout: 260 seconds]
aspires has quit []
robustus has joined #ruby
lsone has joined #ruby
spyderman4g63 has joined #ruby
AlexRussia has quit []
Lingo__ has quit [Quit: Lingo - http://www.lingoirc.com]
jerius has quit []
nanoyak has quit [Quit: Computer has gone to sleep.]
AlexRussia has joined #ruby
mijicd has quit [Quit: leaving]
bricker`work has joined #ruby
mtmcfarl has quit [Remote host closed the connection]
tobago has quit [Remote host closed the connection]
rbenv has quit [Ping timeout: 268 seconds]
tlarevo_ has quit [Remote host closed the connection]
Alina-malina has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
havenwood has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grokdancer has joined #ruby
Alina-malina has joined #ruby
sambao21 has quit [Ping timeout: 245 seconds]
merqlove has joined #ruby
linojon has quit [Quit: linojon]
sigurding has joined #ruby
Morkel_ has joined #ruby
cocotton_ has joined #ruby
Morkel has quit [Ping timeout: 245 seconds]
Morkel_ is now known as Morkel
Ankhers has quit [Ping timeout: 264 seconds]
iamjarvo has joined #ruby
elstif has quit [Quit: Leaving.]
Inhaling_ has quit [Remote host closed the connection]
sambao21 has joined #ruby
Advocation has joined #ruby
rostam has quit [Remote host closed the connection]
cocotton has quit [Ping timeout: 245 seconds]
aspires has joined #ruby
fgo has joined #ruby
InhalingPixels has joined #ruby
tylerkern has joined #ruby
linojon has joined #ruby
rostam has joined #ruby
Mars` has quit [Ping timeout: 272 seconds]
cocotton_ has quit [Ping timeout: 255 seconds]
krisquigley has joined #ruby
benzrf is now known as benzrf|offline
maestrojed has joined #ruby
grokdancer has quit [Quit: Leaving.]
fgo has quit [Read error: No route to host]
Cheezebox has quit [Remote host closed the connection]
fgo has joined #ruby
IceDragon has quit [Ping timeout: 240 seconds]
<Blizzy> anyone know any good timer gems? like, in 4 minutes, do somethign.
<Blizzy> *something.
<Blizzy> or in 4 seconds, do an action.
andrewjanssen has left #ruby ["Linkinus - http://linkinus.com"]
banister has joined #ruby
sambao21 has quit [Ping timeout: 276 seconds]
<jhass> Thread.new { sleep 5; do_something } ?
<Blizzy> thanks, jhass.
<atmosx> Faraday uses curl?
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> atmosx: the default is net/http but it has adapters for many things
<atmosx> I'm having a hard time with SSL::ERRORL Faraday::SSLError... for some reason can't verify the server
Tricon has joined #ruby
<atmosx> hm
<Blizzy> does anyone know a REST gem that works with HTTPS. :L
<jhass> rest-client doesn't?
<atmosx> okay I think I've found something https://gist.github.com/ttringas/4612060
<bricker`work> atmosx: it can probably, the point of Faraday is to be an abstraction for whatever HTTP client you want
phutchins has joined #ruby
shredding has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
tvw has quit []
akemrir has joined #ruby
fgo has quit [Ping timeout: 255 seconds]
SouL has quit [Ping timeout: 255 seconds]
Xeago has quit [Remote host closed the connection]
<jhass> atmosx: if you need to set the ca bundle do: Faraday.default_connection = Faraday::Connection.new(ssl: {ca_file: 'foo/bar/bundle' })
lsone has quit [Read error: No route to host]
Mars`_ has quit [Remote host closed the connection]
lsone has joined #ruby
SegFaultAX has quit [Quit: ZNC - http://znc.in]
RaCx has joined #ruby
Mars` has joined #ruby
<atmosx> jhass: thanks, this looks way better
<atmosx> cleaner approach
SegFaultA has joined #ruby
<jhass> the gist is just stupid tbh
RaCx has quit [Read error: Connection reset by peer]
<AlexRussia> jhass: so what are NOT stupid?
IceDragon has joined #ruby
jerius has joined #ruby
<jhass> question of humanity
krisquigley has quit [Remote host closed the connection]
makerop has quit [Remote host closed the connection]
krisquigley has joined #ruby
eivindml has quit [Quit: Textual IRC Client: www.textualapp.com]
krisquigley has quit [Remote host closed the connection]
<AlexRussia> jhass: haha
Mars` has quit [Ping timeout: 245 seconds]
britneywright has joined #ruby
sparrovv has joined #ruby
invsblduck has quit [Quit: ZNC - http://znc.in]
akemrir has quit [Remote host closed the connection]
carraroj has quit [Quit: Konversation terminated!]
invsblduck has joined #ruby
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
benlieb has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
benlieb has quit [Read error: Connection reset by peer]
SegFaultA has quit [Quit: ZNC - http://znc.in]
cirn0 has joined #ruby
RaCx has joined #ruby
carraroj has joined #ruby
<atmosx> jhass: The error is related to omniauth though, before the farraday calls
<atmosx> but omniauth uses faraday but I think I've found a way to pass SSL ca-certs to omniauth too (as soon as the fucking page opens!)
SegFaultA has joined #ruby
axsuul has quit [Ping timeout: 245 seconds]
otherj has joined #ruby
<atmosx> is stackoverflow loading for you guys?!
seamon has quit [Quit: Zzzzzzz]
<atmosx> I'm waitint the CDN to deliver but no luck.. I'm stuck with aloading page on 3 browsers for like 2 minutes
g0bl1n has quit [Quit: g0bl1n]
weems|mac has joined #ruby
weems|mac has joined #ruby
sambao21 has joined #ruby
sigurding has quit [Read error: Connection reset by peer]
qmfnp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
linojon has quit [Quit: linojon]
wallerdev has quit [Quit: wallerdev]
cirn0 has quit [Ping timeout: 246 seconds]
otherj has quit [Client Quit]
qmfnp has joined #ruby
jottr is now known as elementz
emmesswhy has quit [Quit: This computer has gone to sleep]
nucatus_ has joined #ruby
bthesorceror has joined #ruby
dawkirst has quit [Remote host closed the connection]
qhartman has quit [Quit: Ex-Chat]
wallerdev has joined #ruby
invsblduck has quit [Quit: ZNC - http://znc.in]
flak has joined #ruby
zettam has joined #ruby
flak is now known as Guest33836
Koshian_ has joined #ruby
seamon has joined #ruby
mwlang has quit [Quit: mwlang]
Mars` has joined #ruby
anshin1 has joined #ruby
sambao21 has quit [Read error: Connection reset by peer]
tobyo1 has joined #ruby
BTRRY has joined #ruby
wallerdev has quit [Client Quit]
Armand has joined #ruby
Armand is now known as Guest83888
linojon has joined #ruby
sepp2k_ has joined #ruby
gizmore has joined #ruby
SegFaultA has quit [Quit: ZNC - http://znc.in]
crdpink has joined #ruby
Asher has joined #ruby
thumpba_ has joined #ruby
it_tard has joined #ruby
maasha has joined #ruby
OffTheRails has quit [Ping timeout: 245 seconds]
mikeg has quit [Ping timeout: 272 seconds]
Sirele has joined #ruby
deol has joined #ruby
dideler_ has joined #ruby
Lewix has quit [Read error: Connection reset by peer]
Heartbroken has quit [Ping timeout: 252 seconds]
Koshian has quit [Ping timeout: 252 seconds]
anshin has quit [Ping timeout: 252 seconds]
BTRE has quit [Ping timeout: 252 seconds]
Apocalypse has quit [Ping timeout: 252 seconds]
nucatus has quit [Ping timeout: 252 seconds]
jobewan has quit [Ping timeout: 252 seconds]
sirene has quit [Ping timeout: 252 seconds]
tobyo has quit [Ping timeout: 252 seconds]
gizless has quit [Ping timeout: 252 seconds]
sepp2k has quit [Read error: Connection reset by peer]
michaeldeol has quit [Ping timeout: 252 seconds]
omosoj has quit [Ping timeout: 252 seconds]
dideler has quit [Ping timeout: 252 seconds]
starless has quit [Ping timeout: 252 seconds]
crdpink2 has quit [Ping timeout: 252 seconds]
coldkey21 has quit [Ping timeout: 252 seconds]
Kruppe has quit [Ping timeout: 252 seconds]
rippa has quit [Ping timeout: 252 seconds]
nfk has quit [Ping timeout: 252 seconds]
zettam_ has quit [Ping timeout: 252 seconds]
f0ster has quit [Ping timeout: 252 seconds]
Asher1 has quit [Read error: Connection reset by peer]
Advocation has quit [Quit: Advocation]
thumpba has quit [Ping timeout: 252 seconds]
jobewan has joined #ruby
sambao21 has joined #ruby
SegFaultA has joined #ruby
Guest83888 is now known as Apocalypse
Apocalypse has quit [Changing host]
Apocalypse has joined #ruby
Lewix has joined #ruby
shock_one has joined #ruby
ndrei has joined #ruby
coldkey21 has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
<maasha> evening.
omosoj has joined #ruby
<maasha> Will someone hold my hand and point me to where in this profile I should focus to improve? https://gist.github.com/maasha/a982cdb3681282f70b8b
^-^ is now known as j4jackj
comma8 has quit [Ping timeout: 272 seconds]
wolf__ has quit [Quit: This computer has gone to sleep]
KC9YDN has joined #ruby
relix has joined #ruby
anarang has joined #ruby
Kruppe has joined #ruby
sigurding has joined #ruby
* maasha finds profile graph confusing
kireevco has quit [Quit: Leaving.]
benzrf|offline is now known as benzrf
Ankhers has joined #ruby
rubie has joined #ruby
SegFaultA has quit [Quit: ZNC - http://znc.in]
<rubie> question: what is the best way to generate a random value from a hash
shock_one has quit [Quit: Computer has gone to sleep.]
<rubie> say you have 5 items/values in a hash
<jhass> .values.sample ?
<rubie> you want to select one of them at random
SegFaultAX has joined #ruby
SegFaultAX is now known as SegFaultA
saarinen has quit [Quit: saarinen]
spyderman4g63 has quit [Remote host closed the connection]
grokdancer has joined #ruby
bMalum has quit [Quit: bMalum]
<jhass> .to_a.sample, .keys.sample, .values.sample
spyderman4g63 has joined #ruby
<rubie> ok thank you
yfeldblum has joined #ruby
starless has joined #ruby
echevemaster has quit [Ping timeout: 260 seconds]
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
kireevco has joined #ruby
Mars`` has joined #ruby
apipkin has left #ruby [#ruby]
GriffinHeart has joined #ruby
bitfury has left #ruby ["Leaving"]
arup_r has quit [Read error: Connection reset by peer]
sambao21 has quit [Ping timeout: 268 seconds]
avocado has joined #ruby
kireevco has quit [Client Quit]
Guest33836 has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Stalkr^ has joined #ruby
Avahey_ has quit [Quit: Connection closed for inactivity]
zoo-zed has joined #ruby
GriffinHeart has quit [Ping timeout: 268 seconds]
sambao21 has joined #ruby
Stalkr^ has quit [Changing host]
Stalkr^ has joined #ruby
Synthead has quit [Remote host closed the connection]
saarinen has joined #ruby
anarang has quit [Ping timeout: 246 seconds]
nanoyak has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
brandonshowers has joined #ruby
saarinen has quit [Client Quit]
klmlfl_ has joined #ruby
endash has quit [Quit: endash]
bahar has joined #ruby
sinaef has joined #ruby
klmlfl has quit [Ping timeout: 245 seconds]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bahar has quit [Changing host]
bahar has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
<avocado> i think i might just be ruby dumb, but i did "gem install inifile" and then launched irb and tried to run "require 'inifile'" and it gives me an error (syntax error in ini.rb)
<avocado> can anyone confirm that or help me understand what i'm not understanding?
spider-mario has quit [Remote host closed the connection]
InhalingPixels has quit [Read error: Connection reset by peer]
InhalingPixels has joined #ruby
TheNet has quit [Remote host closed the connection]
elstif has joined #ruby
echevemaster has joined #ruby
TheNet has joined #ruby
jack_rabbit has quit [Ping timeout: 245 seconds]
maasha has quit [Quit: Page closed]
<rubie> this is my first program can someone help guide me in the right direction: https://gist.github.com/gabrie30/cc7626bf3e4d63e0080e
Phrogz_ has joined #ruby
wallerdev has joined #ruby
<nobitanobi> rubie: what's your problem?
Phrogz_ has quit [Changing host]
Phrogz_ has joined #ruby
Phrogz has quit [Disconnected by services]
Phrogz_ is now known as Phrogz
SouL_ has joined #ruby
<jhass> rubie: see that long bar in the bottom middle of your keybard? That's the space key. Use it
ghostmoth has joined #ruby
<rubie> jhass what do you mean?
<Phrogz> Given a dynamically-created class (Class.new) how do I best re-open it to add instance methods?
<jhass> I'm surprised puts"foo" is not a syntax error
<jhass> you have an if that's not indented properly
bonhoeffer has joined #ruby
Guest64065 has joined #ruby
<rubie> jhass: ok i will fix that
renderfu_ has quit [Remote host closed the connection]
<avocado> never mind, i'm just dumb. removed it and reinstalled and it worked. :|
<rubie> i cant figure out a good way to ask the user a question and test to see if their answer is correct
<jhass> rubie: well, first of all the expression on line 28 will never be true
anarang has joined #ruby
TheNet has quit [Ping timeout: 268 seconds]
<jhass> can you think why that is?
<Phrogz> Best solution I've got so far is myklass.instance_eval{ define_method(…){ … } } but that seems like it must be the hard way.
<rubie> jhass: because its a string?
<jhass> rubie: no, but at the that point selection can't contain the string "a"
fgo has joined #ruby
yetanotherdave has quit [Ping timeout: 260 seconds]
mupkoo has joined #ruby
absolutezeroff has joined #ruby
<rubie> jhass: it works on my first if statement
ht has quit [Remote host closed the connection]
<rubie> jhass: line 16
<jhass> rubie: yes
yetanotherdave has joined #ruby
<jhass> now that if statement contains something that makes me say that it can't work again
mupkoo has quit [Client Quit]
echevemaster has quit [Remote host closed the connection]
<rubie> jhass: oh because i changed the value to "South America"
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> yes
<rubie> ok i'll fix that
sambao21 has quit [Ping timeout: 260 seconds]
sambao21_ has joined #ruby
<rubie> and line 36 i'll fix
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kireevco has joined #ruby
<jhass> update the gist when you're done
fgo has quit [Ping timeout: 240 seconds]
<rubie> jhass: okay updated
<rubie> now i need to figure out the best way to check the users answer to the question
<jhass> check then indention on line 36 ff
nairys has quit [Quit: nairys]
Kricir has joined #ruby
<jhass> if you have two ends directly next to each other, indented on the same level, you indented wrong
<jhass> another thing, why do you assign the local variables a and b but never use them?
linguini has joined #ruby
<pipework> jhass: Because locals are cheap!
<jhass> pipework: you racist
saarinen has joined #ruby
davedev2_ has joined #ruby
<pipework> jhass: Well, jingoist, but sure.
Jackneill has quit [Remote host closed the connection]
mark_locklear has quit [Quit: Leaving]
<jhass> oh well, yet another ism
davedev24_ has quit [Ping timeout: 252 seconds]
<eam> hate that game, blocks always fall on my turn
it_tard has quit [Quit: yawn]
<jhass> jenga?
Tricon has quit [Quit: Leaving...]
<rubie> ism? you from quicken loans?
albedoa has quit [Read error: Connection reset by peer]
<rubie> i changed a and b only to make it easier to put the string "You selected" on lines 18 and 23
krisquigley has joined #ruby
St_Marx has quit [Remote host closed the connection]
<jhass> but you use selection there, not a nor b
<jhass> they're never used
<rubie> i'll try to just use a and b
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
mferrier has joined #ruby
renderful has joined #ruby
<rubie> oh it was line 24 that i was trying to create
<rubie> not sure how to do line 24 - using a and b
krisquigley has quit [Ping timeout: 245 seconds]
sambao21_ has quit [Ping timeout: 245 seconds]
MaciejCzyzewski has joined #ruby
<jhass> mmh, now you don't reassign selection anymore (not saying that's a bad thing), so ll 26 and 35 will never be true again (unless the user enters "South America" or "Asia")
comma8 has joined #ruby
MaciejCzyzewski has quit [Client Quit]
qhartman has joined #ruby
cirn0 has joined #ruby
klmlfl has joined #ruby
sambao21 has joined #ruby
bMalum has joined #ruby
anarang has quit [Ping timeout: 252 seconds]
Hobogrammer has joined #ruby
<jhass> rubie: okay. Can you tell what the return value of puts is ?
momomomomo has quit [Quit: momomomomo]
<rubie> nil
<rubie> just made some changes, i think for the better
<jhass> so what value will sa_question_1 and a_question_1 always have?
cirn0 has quit [Ping timeout: 260 seconds]
billy_ran_away has quit [Ping timeout: 240 seconds]
<rubie> jhass: still cant figure out how to get line 24 to work
klmlfl_ has quit [Ping timeout: 246 seconds]
<jhass> how about selected_country = a / b in the if's
sigurding has quit [Quit: sigurding]
Px12 has joined #ruby
ppinto has quit [Quit: ppinto]
<rubie> i dont understand
Px12 has quit [Remote host closed the connection]
seamon has quit [Quit: Zzzzzzz]
<jhass> previously you overwrote selection with the value you wanted to display
<jhass> since you still want to use selection for its old value too, why not create a new variable?
jxf has quit [Ping timeout: 245 seconds]
momomomomo has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
fabrice31 has joined #ruby
emmesswhy has joined #ruby
silkfox has quit [Ping timeout: 240 seconds]
g0bl1n has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elstif has quit [Quit: Leaving.]
<rubie> humm, i thought i had it
<rubie> i used selected_country = a || b
manzo has joined #ruby
albedoa has joined #ruby
<jhass> nah that / was meant in one you do a in the other do b
<jhass> (a || b) will always equal a in this case
silkfox has joined #ruby
Vile` has quit [Ping timeout: 272 seconds]
Kricir has quit [Remote host closed the connection]
aleatorik has quit [Quit: Textual IRC Client: www.textualapp.com]
starless has quit [Quit: Leaving]
choke has quit [Quit: Leaving]
<rubie> if there is no a, then it will use b?
Kricir has joined #ruby
fabrice31 has quit [Ping timeout: 268 seconds]
Takle has joined #ruby
<jhass> a || b ? that will be b if a is nil or false
n_blownapart has joined #ruby
<rubie> ok
<rubie> i could just get rid of this line
sepp2k_ has quit [Quit: Konversation terminated!]
Vile` has joined #ruby
jottr has joined #ruby
Kricir_ has joined #ruby
<rubie> fixed it an easier way
carraroj has quit [Quit: Konversation terminated!]
Kricir has quit [Read error: Connection reset by peer]
anaeem1 has joined #ruby
davedev2_ has quit [Ping timeout: 245 seconds]
jerius has quit []
<jhass> so, we learned that puts always returns nil. Why do you assign that to a variable?
KC9YDN has quit [Read error: Connection reset by peer]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rafacv has left #ruby [#ruby]
elementz has quit [Ping timeout: 276 seconds]
KC9YDN has joined #ruby
<rubie> lines 32 and 41?
davedev24_ has joined #ruby
<jhass> yes
yalue has quit [Quit: Leaving]
<rubie> ok that makes sense
himsin has joined #ruby
himsin has quit [Client Quit]
blackmesa has quit [Ping timeout: 255 seconds]
mary5030 has quit [Remote host closed the connection]
codecop has quit [Quit: Išeinu]
decoponio has quit [Quit: Leaving...]
Lewix has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
<rubie> i see what i did - thats a good thing to know about ruby
avocado has left #ruby ["WeeChat 0.4.3"]
sambao21 has quit [Ping timeout: 240 seconds]
<rubie> jhass: is that better?
<jhass> yes
aclearman037 has quit []
codeurge has joined #ruby
RichardLitt has quit [Quit: RichardLitt]
DrShoggoth has joined #ruby
mengu has joined #ruby
GriffinHeart has quit [Ping timeout: 246 seconds]
Kricir_ has quit [Remote host closed the connection]
ghostmoth has quit [Quit: ghostmoth]
<jhass> now there's a lot of duplication in this
<jhass> do you want to see my version?
<rubie> sure!
<pipework> jhass: Could you rewrite it in PHP?
<jhass> pipework: no
RichardLitt has joined #ruby
<rubie> jhass: where am i duplicating
tjbiddle has quit [Quit: tjbiddle]
RichardLitt has quit [Client Quit]
bmurt has quit []
<pipework> jhass: Wait, are you mrzyx?
<jhass> yeah ;P
<pipework> oh neat
<jhass> rubie: well, all your code in a and b are basically identical
<jhass> compare to my code
fsapo has quit [Remote host closed the connection]
g0bl1n has quit [Quit: g0bl1n]
carraroj has joined #ruby
<shevy> you know... archlinux site about packages like https://www.archlinux.org/packages/testing/x86_64/nss/
febuiles has joined #ruby
<shevy> is significantly better than this one https://packages.debian.org/de/sid/libnss3
dviola has quit [Remote host closed the connection]
<jhass> shevy: come to the good side finally! :P
<shevy> debian is stuck like in the 1980s
freerobby has quit [Quit: Leaving.]
<shevy> I mean we all liked Toy Story I
<shevy> but there was Toy Story II ... and Toy Story III ...
<atmosx> do we?
<shevy> everything moves on
<rubie> jhass: thanks let me take a while to digest this
<shevy> yeah
<atmosx> I'm having a weeeird error.
<eam> shevy: because it's english and not german?
<shevy> atmosx remember, those were just about the days of Terminator 2 "omg that was computer generated!!!"
<jhass> rubie: sure, just ask if you need a part explained in detail
paulfm has quit []
<atmosx> shevy: true
<shevy> eam dunno, there are actually some movies which are better in german. chinese kung fu flicks for instance, they are better in the german language than the english one (though admittedly they are best in original cantonese when done in Hong Kong)
Kricir has joined #ruby
Mars` has quit [Remote host closed the connection]
Mars`` is now known as Mars`
Mars`_ has joined #ruby
<eam> when an american action movie is redubbed for germany, what language do they use for the bad guys?
freerobby has joined #ruby
<shevy> for project A http://www.imdb.com/title/tt0085127/ the lead pirate dude actually had a dialect from some northern german town... I think Kiel or Hamburg or Bremen or something like that...
<shevy> many of those english dubs are really AWFUL
<eam> like lethal weapon
carraroj has quit [Client Quit]
<shevy> hehehe
gtrak has quit [Ping timeout: 264 seconds]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> hmm
<shevy> they actually have professional sync speakers
chrishough has joined #ruby
<shevy> it's more fun for movies who can afford only crap speakers
chrishough has quit [Client Quit]
gtrak has joined #ruby
<eam> I mean, we make all our educated villains german (or russian). So are they still german when translated?
<eam> or do they like, change them to be polish or something
chrishough has joined #ruby
<bhaak> depends. in sitcoms, they often get cast to danish
<eam> like hans gruber in die hard
<shevy> eam hmm there were some old james bond movies with two somewhat famous german dudes
<rubie> jhass: im getting an error trying to run it here is the error -- :in `select': undefined method `to_h' for [["South America", "A"], ["Asia", "B"]]:Array (N
<shevy> one was in goldfinger
sailias has quit [Quit: Leaving.]
chrishough has quit [Read error: Connection reset by peer]
<eam> does it turn into like bjorn jensen
<shevy> I think that was the original voice, in german
<eam> and dutch?
spyderma_ has joined #ruby
<jhass> rubie: then you don't learn ruby on the newest version! ;)
melik has quit [Quit: Computer has gone to sleep.]
<bhaak> the villains in die hard 1 were just regular villains, without any specific nationality (besides the fake political agenda)
<shevy> eam dunno but most people in the netherlands speak german too
<shevy> just with some crazy accent
<eam> they were totooootally specifically evil rich german villains
<shevy> chchchch's
melik has joined #ruby
<rubie> jhass: i use aptana 3 should i just update that, or download a newer version of ruby?
Mars`_ has quit [Ping timeout: 252 seconds]
<bhaak> you also can't watch die hard if you know german. the "german" those are "speaking" is even worse than your standard nazi german barking
rockdon|away is now known as rockdon_
<eam> taken hostage by German terrorist Hans Gruber during a Christmas party
<jhass> rubie: I don't know aptana. But http://paste.mrzyx.de/pb63a8f97/ should work
Tricon has joined #ruby
claymore has quit [Quit: Leaving]
Eiam has joined #ruby
claw_ has joined #ruby
sylvanica has quit [Quit: sylvanica]
spyderman4g63 has quit [Ping timeout: 246 seconds]
TheNet has joined #ruby
claw has quit [Ping timeout: 272 seconds]
<shevy> oh damn
<shevy> while googling for james bond, I found out that the tall guy with the sharp teeth died not long ago http://en.wikipedia.org/wiki/Richard_Kiel
<shevy> eh actually yesterday
TheNet has quit [Remote host closed the connection]
Pumukel has joined #ruby
seamon has joined #ruby
TheNet has joined #ruby
tanath has quit [Remote host closed the connection]
<shevy> now the reason I searched for nss, was actually ssl3.so ... I had an error in that, from geoclue, and wondered where from ssl3.so comes from
TheNet has quit [Remote host closed the connection]
Mars`_ has joined #ruby
fgo has joined #ruby
melik has quit [Ping timeout: 255 seconds]
mary5030 has joined #ruby
<jhass> shevy: pkgfile libssl3.so done
<shevy> what is "pkgfile"
<shevy> is that part of arch?
<shevy> I am on ubuntu right now
<shevy> :\
Synthead has joined #ruby
<shevy> :/
zenspider has quit [Remote host closed the connection]
<jhass> it's an archlinux tool, yeah
<jhass> debian folks have apt-file I think, but I remember using it was cumbersome
<jhass> with arch it's, if installed: pacman -Qo /path/to/file or if it's not installed but in the repos: pkgfile name
ldnunes has quit [Quit: Leaving]
<jhass> that is the later works for installed stuff too of course
<jhass> just not if it's a custom package
<Hanmac> hm isnt the debian variant "pkg-config" ?
merqlove has quit [Quit: Connection closed for inactivity]
<jhass> don't think pkg-config was invented by debian
<jhass> and it doesn't do anything with the package manager anyway
fgo has quit [Ping timeout: 276 seconds]
<rubie> jhass: not sure how this first line works -- def select choices -- is choices a parameter of select?
<jhass> yes
sinkensabe has quit [Remote host closed the connection]
sfix has joined #ruby
gerep has quit [Ping timeout: 272 seconds]
Morkel has quit [Quit: Morkel]
<rubie> the only other place i see choices is in this line -- region = select capitols.keys -- what is select doing here?
spyderma_ has quit [Read error: Connection reset by peer]
<jhass> def select defines the method, that line calls it
spyderman4g63 has joined #ruby
nucatus_ has quit [Remote host closed the connection]
<rubie> region = select(capitols.keys) -- same thing?
oddmunds has joined #ruby
<jhass> yes
<rubie> ok
Ankhers has quit [Ping timeout: 264 seconds]
elstif has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
<atmosx> what could cause the same program to make an oauth call in 2s in one system and ~ 1:13s on another?
Pumukel has quit [Ping timeout: 252 seconds]
sinaef has quit [Remote host closed the connection]
<pipework> atmosx: user input
<atmosx> pipework: nah, there's no user input.
bluenemo has joined #ruby
bluenemo has joined #ruby
<rubie> jhass: there are a lot of structural things, methods, etc that i dont understand...what is the best way to break this apart?
anaeem1 has quit [Remote host closed the connection]
<pipework> atmosx: Butterflies on the other side of the planet
<atmosx> I mean the user enters a search term at the beginning but other than that... I don't see why is this happening
<atmosx> pipework: probably is something alone the lines yes..
<nobitanobi> rubie: http://rubykoans.com/
Smujo has quit [Ping timeout: 252 seconds]
mengu has quit []
Smujo_ has joined #ruby
Mars`_ has quit [Remote host closed the connection]
<jhass> koans is not good if you're new to programming
<atmosx> we could say FreeBSD sucks big time and get over with other thatn it would take me 2 months to reconfigure another server at this level.
<rubie> ive done codecademy pretty similar
<rubie> i need something just beyond beginner
<jhass> rubie: I'm not sure, it's still pretty basic tbh
krisquigley has joined #ruby
Mars`_ has joined #ruby
MaciejCzyzewski has joined #ruby
elstif has quit [Client Quit]
<nobitanobi> sorry rubie didn't know you were new to programming
<rubie> jhass: what is the -- def select choices -- part of the program doing
<rubie> thats the hardest part
<jhass> do you know methods already?
Inhaling_ has joined #ruby
<rubie> yes
<rubie> a bit
shackleford has quit [Remote host closed the connection]
<jhass> so the contents trouble you?
<jhass> or defining a method already?
threesixes has joined #ruby
Mars`_ has quit [Ping timeout: 245 seconds]
<atmosx> anyone running ruby21 in freebsd?
<zmartazz> Hi guys, just finished the codecademy interactive introduction to Ruby and want one more interactive tutorial before I dive into Eloquent Ruby or The Well-Grounded Rubyist :) Got any suggestions? AND which of these books should I start with? Got them both :) hehe
krisquigley has quit [Ping timeout: 276 seconds]
<shevy> nobody uses freebsd
<rubie> this book will keep u busy zmartazz
adamski2600 has quit []
<atmosx> shevy: true, we're just few elites, watching other people from up-high
<atmosx> shevy: jokes apart, I think it's ruby.
<febuiles> atmosx: no experience with 2.1 but your problem seems preeety broad
InhalingPixels has quit [Ping timeout: 272 seconds]
<rubie> i cant find anything interactive that is worth while after codecademy
<febuiles> let's try to nail it down
<atmosx> febuiles: how? I'm developing on macosx
livingstn has quit []
<zmartazz> rubie, thanks, but hasn't alot changed since 2006? :)
Waheedi has joined #ruby
<febuiles> atmosx: bsd vm'd?
<atmosx> febuiles: I'm testing production in FreeBSD, exactly same code.
<atmosx> febuiles: yes
<febuiles> ok
<atmosx> febuiles: VPS
<febuiles> ah
<febuiles> do the lower latency is from your laptop and the other one from the vps?;
<febuiles> so the*
<febuiles> (what I'm trying to know is: 1) is latency an issue because of different locations or 2) have you already benchmarked everything outside of ruby adn the latency is at the app level)
nanoyak has quit [Read error: Connection reset by peer]
bMalum has quit [Quit: bMalum]
FL1SK has quit [Read error: Connection reset by peer]
FL1SK has joined #ruby
nanoyak has joined #ruby
<atmosx> my laptop throws a result at 5 seconds (with stopwatch, system 'time' reports 1.6s), while on FreeBSD system time reports 2.1s but my stopwatch says 1 mi 14s
<atmosx> 1 minute and 14s
mferrier has quit []
w3pm has joined #ruby
<zmartazz> Well well, the books are laying around on my desk anyways and I guess I'm ready to start reading and learning. Got experience from java so should be able to pick the language up well :)
omosoj has quit [Quit: Leaving]
saarinen has quit [Quit: saarinen]
mosoj has joined #ruby
FL1SK has quit [Read error: Connection reset by peer]
FL1SK has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
Kricir has quit [Remote host closed the connection]
Synthead has quit [Remote host closed the connection]
<febuiles> atmosx: is there any way for you to use the Benchmark library and see if the BSD code is really taking that long in app-land? a 1 minute difference sounds horrible
Kricir has joined #ruby
<atmosx> febuiles: sure
Takle has quit [Remote host closed the connection]
<febuiles> Ruby 2+ includes many changes to GC and other things that could slow down things, but not to that point I think
pu22l3r_ has joined #ruby
lukevinc has joined #ruby
codeurge has quit [Quit: Sleep.]
<lukevinc> Hello ruby programmers, how are you? Can you recommend me a good material to learn ruby fast?
Lucky__ has joined #ruby
saarinen has joined #ruby
Lewix has joined #ruby
<febuiles> lukevinc: someone just mentioned codeacademy a few minutes ago, there's also http://tryruby.org for a super fast intro
Avahey_ has joined #ruby
<eam> amphetamine
<febuiles> ^^ works too
<zmartazz> lukevinc, I just finished the lesson on codecademy and would recommend it for learning the basics quick :)
pu22l3r has quit [Ping timeout: 246 seconds]
tvw has joined #ruby
<lukevinc> thanks, i will check it out, fellas.
Synthead has joined #ruby
<lukevinc> i don't get down with drugs, but thanks anyway
Kricir has quit [Ping timeout: 245 seconds]
jonathan_alban has quit [Quit: Textual IRC Client: www.textualapp.com]
axsuul has joined #ruby
saarinen has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
<atmosx> flughafen: macosx 0.100000 0.010000 0.110000 ( 1.508847)
<atmosx> freebsd still going
<pipework> too slow
<atmosx> nah it's fine
<pipework> nah bru, its slow
<atmosx> the other one is fucking infinite
<atmosx> nginx time's out
<atmosx> I mean, it's > 60s
<atmosx> per fucking request, isn't that something?!
<febuiles> atmosx: I'd try to test the offending code otuside nginx and any other 3rd party things
<atmosx> here -> 0.117188 0.015625 0.132812 ( 68.941276)
<atmosx> I have access to a linux box a couple of RPis
<febuiles> atmosx: you're doing a GET or POST for OAuth, correct?
<atmosx> I'm sure they perform better
<atmosx> yes
<febuiles> measure that specific code, nto the entire thing or you'll die crazy waiting
<febuiles> or since you're in freebsd, attach a dtrace and see where the time's being spent
gtrak has quit [Quit: No Ping reply in 180 seconds.]
<atmosx> I'll test it on debian now
Lewix has quit [Remote host closed the connection]
Mars`_ has joined #ruby
Lewix has joined #ruby
<atmosx> let's see
seamon has quit [Quit: Zzzzzzz]
gtrak has joined #ruby
spyderman4g63 has quit []
chrishough has joined #ruby
Takle has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Inhaling_ has quit [Remote host closed the connection]
michaeldeol has joined #ruby
InhalingPixels has joined #ruby
codeurge has joined #ruby
unstable has joined #ruby
troyready has quit [Ping timeout: 268 seconds]
seamon has joined #ruby
kireevco has quit [Quit: Leaving.]
<unstable> How can I make it so I go into a mode where I use the ruby from rbenv (2.0.x), but by default if I don't go into that mode it uses the system ruby
<unstable> I have a bunch of bins in ~/.rbenv/someplace, that is all the ruby 2.0.x stuff, and there are operating system ruby files somewhere else /usr/bin, and I want to have those be the default ruby
Lewix has quit [Remote host closed the connection]
<pipework> I'd personally suggest using chruby and ruby-install, but I'm sure rbenv has a way to default a chosen ruby
britneywright has joined #ruby
<postmodern> unstable, i think there's a way to set system as the default ruby? not sure
GriffinHeart has joined #ruby
linojon has quit [Quit: linojon]
vt102 has quit [Ping timeout: 246 seconds]
Phrogz has quit [Remote host closed the connection]
dblessing has quit [Quit: dblessing]
qba73 has joined #ruby
atmosx_ has joined #ruby
Cheezebox has joined #ruby
<unstable> Is there mkvirtualenv for ruby?
<unstable> I use that a lot for python
nanoyak has quit [Read error: Connection reset by peer]
<pipework> unstable: There are many managers for ruby environments. I prefer chruby and ruby-install, but there's rvm, and the less awesome rbenv
<unstable> yea, I think I've been using the less awesome one
atmosx has quit [Ping timeout: 252 seconds]
<unstable> I'll checkout rvm
nanoyak has joined #ruby
KingOfKarlsruhe has joined #ruby
<havenwood> chruby with ruby-install is my fav :)
Mars`_ has quit [Remote host closed the connection]
nanoyak has quit [Client Quit]
<pipework> the most beast.
GriffinHeart has quit [Ping timeout: 245 seconds]
Mars`_ has joined #ruby
<unstable> I use ohmyzsh with mkvirtualenv, so when I cd into certain directories.. I get certain python environments and libraries
TheNet has joined #ruby
<pipework> unstable: chruby supports that feature.
deric_skibotn has quit [Ping timeout: 255 seconds]
nanoyak has joined #ruby
<pipework> RVM also supports that feature.
jrhe_ has joined #ruby
<havenwood> And old systems and old Rubies.
<pipework> And HEAD rubies.
deric_skibotn has joined #ruby
<pipework> ruby-install supports installing ruby from any old tarball you have laying around though, or can link to.
<pipework> You just have to provide the link
DrShoggoth has quit [Quit: Leaving]
Mars`_ has quit [Ping timeout: 240 seconds]
sigurding has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
andrewlio has quit [Quit: Leaving.]
Smujo_ has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
aspires has quit []
Smujo has joined #ruby
Cheezebox has quit [Remote host closed the connection]
startupality has joined #ruby
Waheedi has quit [Read error: Connection reset by peer]
fgo has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
davedev24_ has quit [Ping timeout: 260 seconds]
Waheedi has joined #ruby
shosti has joined #ruby
thagomizer has quit [Quit: Leaving.]
rockdon_ is now known as rockdon|away
ppinto has joined #ruby
agjacome has quit [Quit: leaving]
rezzack has quit [Quit: Leaving.]
Waheedi has quit [Client Quit]
fgo has quit [Ping timeout: 245 seconds]
sparrovv has quit [Remote host closed the connection]
seamon has quit [K-Lined]
wldcordeiro has quit [Quit: Leaving]
weems|mac has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
riotjones has quit [Ping timeout: 240 seconds]
rockdon|away is now known as rockdon_
jobewan has quit [Quit: Leaving]
brandonshowers has joined #ruby
melik has joined #ruby
hephaestus_rg has joined #ruby
<hephaestus_rg> can someone point me to an example .ruby-version file
aspires has joined #ruby
<hephaestus_rg> i've having an unusally hard time finding one online
saarinen has joined #ruby
lkb has quit [Quit: Wychodzi]
rockdon_ is now known as rockdon|away
j4jackj has quit [Quit: Changing server]
[[[j4jackj]]] has joined #ruby
<hephaestus_rg> so much noise in google
riotjones has joined #ruby
silkfox has quit [Ping timeout: 245 seconds]
[[[j4jackj]]] has quit [Remote host closed the connection]
j4jackj has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rockdon|away is now known as rockdon_
davedev24_ has joined #ruby
<dorei> > cat .ruby-version
<dorei> ruby-2.1.1
lsone has quit [Quit: Textual IRC Client: www.textualapp.com]
<dorei> that simple :p
Smujo has quit [Read error: Connection reset by peer]
cburyta has joined #ruby
cburyta has quit [Write error: Broken pipe]
unstable has left #ruby [#ruby]
<dorei> I also have a .ruby-gemset file
lebek has joined #ruby
b00stfr3ak has quit [Ping timeout: 255 seconds]
momomomomo has quit [Quit: momomomomo]
<lebek> how can I get ruby/rails to print a full backtrace on exception
<lebek> currently I'm just getting an exception for my top-level function call into a third-party lib
fabrice31 has joined #ruby
<lebek> i want to to trace the error down into the 3rd-party lib
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
w09x has joined #ruby
<toretore> lebek: ruby always prints the full trace
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lebek> toretore: hm. I'm getting a TypeError for a function call.. since ruby functions aren't typed i find that strange
albedoa has quit [Ping timeout: 240 seconds]
queequeg1 has quit [Ping timeout: 252 seconds]
michaeldeol has joined #ruby
<lebek> JSON::Validator.fully_validate('path/to/my/schema.json', my_data)
SouL_ has quit [Ping timeout: 252 seconds]
cirn0 has joined #ruby
queequeg1 has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
Mars__ has joined #ruby
skullz has quit [Ping timeout: 240 seconds]
qba73 has quit [Remote host closed the connection]
rostam has quit [Ping timeout: 252 seconds]
cndiv has quit [Ping timeout: 252 seconds]
qba73 has joined #ruby
SegFaultA has quit [Excess Flood]
davedev2_ has joined #ruby
SegFaultAX has joined #ruby
davedev24_ has quit [Ping timeout: 276 seconds]
SouL_ has joined #ruby
Stalkr^ has quit [Quit: Leaving...]
rezzack has joined #ruby
kirun has quit [Quit: Client exiting]
melik_ has joined #ruby
<linguini> I've written a very small gem that has one library file and one ruby script. The ruby script depends on no external gems.
<linguini> bundle exec myscript # is quite slow
gr33n7007h has joined #ruby
shredding has quit [Quit: shredding]
cirn0 has quit [Ping timeout: 264 seconds]
melik has quit [Ping timeout: 252 seconds]
xiphias has quit [Ping timeout: 252 seconds]
RaCx has quit [Ping timeout: 252 seconds]
<linguini> Is there a kosher way to make my gem's bin/myscript directly executable (thus avoiding a 2 second delay for loading unnecessary gems)? Or am I doing something wrong?
<pipework> in your gemspec, yeah
n_blownapart has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
n_blownapart has joined #ruby
qba73 has quit [Ping timeout: 255 seconds]
xiphias has joined #ruby
<linguini> spec.executables = "myscript"
xiphias has quit [Changing host]
xiphias has joined #ruby
<linguini> Should I be doing something other than that?
wldcordeiro has joined #ruby
RaCx has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<linguini> Maybe I should be asking in #bundler..?
<jhass> what does this have to do with bundler?
gsd has joined #ruby
cndiv has joined #ruby
<linguini> jhass: Well, I'm not sure how to make bin/myscript "available" for direct execution. I'm not familiar with the gem paradigm.
franzip has quit [Quit: ...]
<jhass> s.executables = ["bin/foo"] done
<linguini> jhass: Sorry if I don't understand, but how would a consumer of my gem use foo?
jxf has joined #ruby
<linguini> gem install # puts foo in /usr/local/bin ?
bluenemo has quit [Quit: Verlassend]
<jhass> if run as root
<jhass> if run with --user-install in another directory the user is supposed to add to his path
AlexRussia has quit [Ping timeout: 255 seconds]
<linguini> I see. Thanks for the link. I think I have done as that guide describes.
thoolihan has joined #ruby
roolo has joined #ruby
bruno- has joined #ruby
<linguini> I suppose my real question is $ bundle install # puts foo somewhere?
<linguini> I realize bundler can do different things (system gems vs vendor/ vs ~/).
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> yes, bundle exec will find it in any case
<linguini> Right! bundle exec will work. But it's so freaking slow.
<jhass> if it's installing to system or --user-install same rules as with gem install
nisstyre has quit [K-Lined]
Hien has quit [K-Lined]
<jhass> that might just be your system or your huge Gemfile or both
Mars__ has quit [Remote host closed the connection]
<linguini> jhass: True; but I thought 'bundle exec' is typically slow (over 2 seconds) in rails projects. But maybe I've only worked with bloated ones...
atmosx_ has quit [Quit: Lost in trance]
jxf has quit [Ping timeout: 252 seconds]
<linguini> myscript, in any case, needs no other gems...
<jhass> fairly big project: time bundle exec ruby -v
<jhass> ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
<jhass> bundle exec ruby -v 0.26s user 0.03s system 99% cpu 0.296 total
Mars__ has joined #ruby
<jhass> and not even an SSD
roolo has quit [Ping timeout: 245 seconds]
RaCx_ has joined #ruby
RaCx has quit [Ping timeout: 255 seconds]
RaCx_ is now known as RaCx
<linguini> jhass: Ah, good to know. I was testing on an old (2006) laptop running 1.9.3.
bruno- has quit [Ping timeout: 263 seconds]
<jhass> well, yeah, 2.0 and 2.1 improved startup drastically
dideler_ has quit [Ping timeout: 268 seconds]
nisstyre has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zenspider has joined #ruby
aspires has quit []
Lewix has joined #ruby
sigurding has quit [Quit: sigurding]
Lewix has quit [Remote host closed the connection]
klmlfl has quit [Ping timeout: 264 seconds]
orolo has quit [Quit: This computer has gone to sleep]
Jaayyyy is now known as rubyonrailed
michaeldeol has joined #ruby
x1337807x has joined #ruby
GriffinHeart has joined #ruby
milkohol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has quit [Client Quit]
shevy has quit [Ping timeout: 260 seconds]
michaeldeol has joined #ruby
michaeldeol has quit [Client Quit]
MCDev has joined #ruby
davedev2_ has quit [Ping timeout: 276 seconds]
rockdon_ is now known as rockdon|away
GriffinHeart has quit [Ping timeout: 255 seconds]
freerobby has joined #ruby
rockdon|away is now known as rockdon_
<linguini> jhass: Thanks; I'll ask for more details in bundler.
kaspergrubbe has quit [Remote host closed the connection]
michaeldeol has joined #ruby
snath has quit [Ping timeout: 240 seconds]
deric_skibotn has quit [Ping timeout: 268 seconds]
Lewix has joined #ruby
jxf has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
Lewix has quit [Remote host closed the connection]
freerobby has quit [Client Quit]
balance has quit [Read error: Connection reset by peer]
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gremax has quit [Ping timeout: 240 seconds]
shevy has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
snath has joined #ruby
havenwood has quit []
startupality has quit [Quit: startupality]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BlkDynmt has joined #ruby
orolo has joined #ruby
icarus has quit [Remote host closed the connection]
_2_sandhy has joined #ruby
_2_sandhy has quit [Remote host closed the connection]
fgo has joined #ruby
gremax has joined #ruby
rockdon_ is now known as rockdon|away
Mars__ has quit [Remote host closed the connection]
mary5030 has joined #ruby
rockdon|away is now known as rockdon_
Mars__ has joined #ruby
wldcordeiro has quit [Quit: Leaving]
fgo has quit [Ping timeout: 255 seconds]
PeterBoy has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
wldcordeiro has joined #ruby
ghostmoth has joined #ruby
Jarboe has quit []
sinkensabe has joined #ruby
Scotteh_ has joined #ruby
Sgeo has joined #ruby
Mars__ has quit [Ping timeout: 264 seconds]
wldcordeiro has quit [Client Quit]
lemur has joined #ruby
Scotteh has quit [Ping timeout: 245 seconds]
dblessing has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wldcordeiro has joined #ruby
doodlehaus has joined #ruby
centrx has joined #ruby
wldcordeiro has quit [Client Quit]
sinkensabe has quit [Ping timeout: 245 seconds]
wldcordeiro has joined #ruby
renderful has quit [Remote host closed the connection]
tokik has joined #ruby
lemur has quit [Ping timeout: 272 seconds]
skfax has quit [Quit: Page closed]
nairys has joined #ruby
jblack has quit [Quit: Lost terminal]
baroquebobcat_ has quit [Ping timeout: 246 seconds]
krisquigley has joined #ruby
iiylll has joined #ruby
aspires has joined #ruby
lukevinc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.7.0/20000101000000]]
charliesome has joined #ruby
ctp has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
ppinto has quit [Quit: ppinto]
thoolihan has quit [Ping timeout: 252 seconds]
_reset has joined #ruby
ddv has quit [Ping timeout: 260 seconds]
krisquigley has quit [Ping timeout: 260 seconds]
merqlove has joined #ruby
grokdancer has quit [Quit: Leaving.]
grokdancer has joined #ruby
grokdancer has quit [Read error: Connection reset by peer]
reset has quit [Ping timeout: 255 seconds]
Mars__ has joined #ruby
grokdancer has joined #ruby
_reset has quit [Ping timeout: 264 seconds]
rockdon_ is now known as rockdon|away
deric_skibotn has joined #ruby
kenneth has joined #ruby
mary5030_ has joined #ruby
tokik has quit [Ping timeout: 245 seconds]
benlieb has joined #ruby
masterkorp has left #ruby ["WeeChat 0.3.8"]
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
grokdancer has quit [Quit: Leaving.]
mary5030 has quit [Ping timeout: 276 seconds]
dblessing has quit [Quit: dblessing]
Takle has quit [Remote host closed the connection]
j_mcnally has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MCDev has quit [Ping timeout: 250 seconds]
phoo1234567 has quit [Quit: Leaving]
thumpba_ has quit [Remote host closed the connection]
Synthead has quit [Remote host closed the connection]
kell has joined #ruby
grokdancer has joined #ruby
GriffinHeart has joined #ruby
bruno- has joined #ruby
grokdancer has quit [Client Quit]
icebourg has quit []
grokdancer has joined #ruby
w3pm has quit [Read error: Connection reset by peer]
hellangel7 has joined #ruby
kell has quit [Ping timeout: 268 seconds]
bmurt has joined #ruby
bonhoeffer has joined #ruby
nszceta has joined #ruby
grokdancer has quit [Client Quit]
mikepack has quit [Remote host closed the connection]
grokdancer has joined #ruby
bruno- has quit [Ping timeout: 245 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
PeterBoy has quit [Quit: Bye Bye]
goshdarnyou has quit [Quit: Connection closed for inactivity]
kell has joined #ruby
kell has quit [Client Quit]
cndiv has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: zzz]
toretore has quit [Quit: This computer has gone to sleep]
grenierm has quit [Quit: grenierm]
gremax has quit [Ping timeout: 246 seconds]