apeiros_ changed the topic of #ruby to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
GOMADWarrior has joined #ruby
adam12 has quit [Remote host closed the connection]
Regis__ has quit [Ping timeout: 256 seconds]
randomautomator has joined #ruby
wmoxam has quit [Ping timeout: 256 seconds]
classix has joined #ruby
cantonic has joined #ruby
randomautomator has quit [Read error: Connection reset by peer]
lethjakman has quit [Ping timeout: 264 seconds]
randomautomator has joined #ruby
randomautomator has quit [Read error: Connection reset by peer]
chessguy_ has joined #ruby
randomautomator has joined #ruby
chessguy has quit [Ping timeout: 252 seconds]
emergion has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
GreenPlastik has quit [Remote host closed the connection]
<sam113101> which one is faster, MRI or jruby?
DonRichie has quit [Ping timeout: 245 seconds]
vikhyat has quit [Ping timeout: 246 seconds]
DonRichie has joined #ruby
GOMADWarrior has quit [Read error: Connection timed out]
GOMADWarrior has joined #ruby
hesco has joined #ruby
marr has quit [Ping timeout: 256 seconds]
<sam113101> so ruby 2.0 is faster than jruby, if I understand correctly?
johnnyfuchs has joined #ruby
<sam113101> or only sometimes
<JesseH> Benchmarks benchmarks benchmarks
<hesco> I'm getting: /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:562:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError); checking for libxml/parser.h... no
mercwithamouth has joined #ruby
<hesco> my ruby seems to have been installed using rvm a year ago.
<hesco> Can rvm now be used to install this missing dependency? And if so, how?
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
idkazuma has joined #ruby
nomenkun has joined #ruby
randomau_ has joined #ruby
SCommette has joined #ruby
gorgor has joined #ruby
xargoon has joined #ruby
wreckimnaked has joined #ruby
gorgor has quit [Remote host closed the connection]
adam12 has joined #ruby
arya has quit [Ping timeout: 264 seconds]
banister_ is now known as banister`sleep
SCommette has quit [Client Quit]
randomautomator has quit [Ping timeout: 264 seconds]
rakl has quit [Quit: sleeping]
Spooner has quit [Remote host closed the connection]
yamez has joined #ruby
nomenkun has quit [Ping timeout: 260 seconds]
tommyvyo has joined #ruby
gorgor has joined #ruby
sepp2k has quit [Remote host closed the connection]
tommyvyo has quit [Client Quit]
randomautomator has joined #ruby
randomautomator has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 256 seconds]
madb055 has quit [Read error: Connection reset by peer]
hiyakashi has joined #ruby
madb055 has joined #ruby
rakl has joined #ruby
randomautomator has joined #ruby
randomau_ has quit [Ping timeout: 256 seconds]
Fuzai has quit [Quit: Ex-Chat]
randomau_ has joined #ruby
randomau_ has quit [Remote host closed the connection]
pcarrier has quit [Ping timeout: 256 seconds]
brennanMKE has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
randomau_ has joined #ruby
reset has quit [Quit: Leaving...]
GeissT has joined #ruby
wintermu1e has joined #ruby
nezumi has joined #ruby
GreenPlastik has joined #ruby
randomautomator has quit [Ping timeout: 256 seconds]
randomau_ has quit [Read error: Connection reset by peer]
randomautomator has joined #ruby
pcarrier has joined #ruby
wargasm has quit [Read error: Connection reset by peer]
randomautomator has quit [Read error: Connection reset by peer]
randomautomator has joined #ruby
apeiros has quit [Remote host closed the connection]
nickbender has joined #ruby
nickbend1r has joined #ruby
slainer68 has joined #ruby
randomau_ has joined #ruby
brianpWins has quit [Quit: brianpWins]
kofno has joined #ruby
GOMADWarrior has quit [Read error: Connection timed out]
randomautomator has quit [Read error: Connection reset by peer]
wargasm has joined #ruby
nickbend1r has quit [Ping timeout: 264 seconds]
nickbender has quit [Ping timeout: 276 seconds]
GreenPlastik has quit [Ping timeout: 246 seconds]
mneorr has joined #ruby
tbrock_ has quit [Quit: Textual IRC Client: www.textualapp.com]
tomsthumb has joined #ruby
indyrl has quit [Quit: Leaving.]
randomau_ has quit [Read error: Connection reset by peer]
wyhaines has quit [Remote host closed the connection]
randomautomator has joined #ruby
GOMADWarrior has joined #ruby
randomautomator has quit [Read error: Connection reset by peer]
Nahra has quit [Remote host closed the connection]
slainer6_ has joined #ruby
nickbender has joined #ruby
nickbend1r has joined #ruby
randomautomator has joined #ruby
slainer68 has quit [Read error: Connection reset by peer]
randomautomator has quit [Remote host closed the connection]
brennanMKE has quit [Remote host closed the connection]
randomautomator has joined #ruby
himsin has quit [Ping timeout: 260 seconds]
Nahra has joined #ruby
Davey has joined #ruby
randomautomator has quit [Remote host closed the connection]
nickbend1r has quit [Ping timeout: 264 seconds]
nickbender has quit [Ping timeout: 264 seconds]
idletom has quit []
chessguy_ has quit [Remote host closed the connection]
randomautomator has joined #ruby
idkazuma has quit [Remote host closed the connection]
pioz has joined #ruby
brennanM_ has joined #ruby
huoxito has quit [Ping timeout: 258 seconds]
randomautomator has quit [Read error: Connection reset by peer]
randomautomator has joined #ruby
bradhe has quit [Remote host closed the connection]
randomautomator has quit [Read error: Connection reset by peer]
Proshot has quit [Quit: Leaving]
randomautomator has joined #ruby
randomautomator has quit [Read error: Connection reset by peer]
atno has quit [Remote host closed the connection]
peta_ has quit [Quit: peta_]
dhruvasagar has joined #ruby
jonathanwallace has quit [Ping timeout: 255 seconds]
sambio has joined #ruby
randomautomator has joined #ruby
daniel_hinojosa has quit [Quit: Leaving.]
randomautomator has quit [Read error: Connection reset by peer]
davetherat1 has joined #ruby
bradleyprice has joined #ruby
randomautomator has joined #ruby
randomautomator has quit [Read error: Connection reset by peer]
idkazuma has joined #ruby
chipotle_ has joined #ruby
randomautomator has joined #ruby
mercwithamouth has quit [Ping timeout: 276 seconds]
randomautomator has quit [Remote host closed the connection]
huoxito has joined #ruby
chessguy has joined #ruby
kofno has quit [Remote host closed the connection]
chessguy has quit [Remote host closed the connection]
nomenkun has joined #ruby
mneorr has quit [Remote host closed the connection]
baphled_ has quit [Ping timeout: 245 seconds]
mneorr has joined #ruby
Nisstyre-laptop has quit [Remote host closed the connection]
r0bby has joined #ruby
aki1 has joined #ruby
robbyoconnor has quit [Ping timeout: 256 seconds]
nomenkun has quit [Ping timeout: 264 seconds]
mneorr has quit [Ping timeout: 240 seconds]
dougireton has joined #ruby
<aki1> hi everyone, is there a way to programmatically create function argument lists? say i had a function foo(*args) and i wanted to generate foo(one, two, three). is there any way to go about that, or am i limited to passing in an array or hash?
Heero has quit [Ping timeout: 252 seconds]
<wintermu1e> aki1: I'm not sure I'm understanding, what are you trying to acheive?
<banister`sleep> aki1: not sure what u mean
<aki1> say i've got a string "abcdef" and i split("") into a,b,c,d,e,f
danneu has quit [Ping timeout: 264 seconds]
<aki1> is there any way to call a function foo(a,b,c,d,e,f), rather than foo([a,b,c,d,e,f]) ?
danneu has joined #ruby
<banister`sleep> aki1: splat it
<banister`sleep> aki1: foo(*array)
wedgex has joined #ruby
kofno has joined #ruby
<banister`sleep> aki1: i.e array = [1,2,3]; foo(*array) is the same as doing foo(1, 2, 3)
<aki1> wow perfect
<aki1> thanks a bunch!
<banister`sleep> np
nminus1 has quit [Ping timeout: 256 seconds]
nminus1 has joined #ruby
huoxito has quit [Remote host closed the connection]
eddiezane has joined #ruby
heliumsocket has quit [Quit: heliumsocket]
indyrl has joined #ruby
pioz has quit [Quit: This computer has gone to sleep]
adamjleonard has joined #ruby
mercwithamouth has joined #ruby
huoxito has joined #ruby
linusoleander has quit [Quit: linusoleander]
wedgex has quit [Remote host closed the connection]
heliumsocket has joined #ruby
wallerdev has joined #ruby
wedgex has joined #ruby
<eddiezane> Anyone ever have a problem with sinatra and class variables working locally but not on heroku?
AlSquirikou has quit [Quit: This computer has gone to sleep]
AlSquire has joined #ruby
chandankumar has joined #ruby
Hobogrammer has joined #ruby
adamjleonard has quit [Quit: Leaving...]
wintermu1e has quit [Ping timeout: 252 seconds]
wedgex has quit [Ping timeout: 256 seconds]
Hanmac1 has joined #ruby
miso1337 has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
Bry8Star_ has quit [Ping timeout: 276 seconds]
Bry8Star has joined #ruby
et09 has joined #ruby
<et09> how do i pipe a string into a process opened with IO.popen?
<et09> it's not good enough to use the pipe in the open call
<et09> i.e. IO.popen("echo sdgsdg | dzen2")
idkazuma has quit [Remote host closed the connection]
mneorr has joined #ruby
dougireton has quit [Quit: Leaving.]
heliumsocket has quit [Quit: heliumsocket]
chrishunt has quit [Quit: ZzZzZz...]
pandawarrior has quit [Quit: Leaving.]
chrishunt has joined #ruby
eddiezane has left #ruby ["WeeChat 0.4.0"]
pandawarrior has joined #ruby
Heero has joined #ruby
Heero has quit [Changing host]
Heero has joined #ruby
reset has joined #ruby
pandawarrior has quit [Client Quit]
mneorr has quit [Ping timeout: 252 seconds]
wintermu1e has joined #ruby
tylersmith has joined #ruby
chipotle_ has quit [Quit: cya]
<hesco> Trying this question again after nearly two hours. I don't use ruby much, just a handful of tools that are built on it. running this: `vagrant plugin install vagrant-rackspace ` gets me this: /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:562:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError); checking for libxml/parser.h... no my ruby seems to have bee
splittingred has joined #ruby
kofno has quit [Remote host closed the connection]
wreckimnaked has quit [Ping timeout: 276 seconds]
SCommette has joined #ruby
nickbend1r has joined #ruby
nickbender has joined #ruby
pbertain has joined #ruby
tylersmith has quit [Ping timeout: 256 seconds]
emmanuelux has quit [Quit: emmanuelux]
xkickflip_ has quit [Quit: h..hi]
momomomomo has quit [Quit: momomomomo]
Faris9 has quit [Ping timeout: 276 seconds]
johnnyfuchs has quit [Remote host closed the connection]
hiyakashi has quit [Quit: お前は知りすぎた]
dhruvasagar has quit [Ping timeout: 264 seconds]
love_color_text has joined #ruby
<bnagy> et09: look up popen3
<bnagy> basically blah.popen3 {|in,out,err| in.write "hi"} more or less
security has joined #ruby
kofno has joined #ruby
megha has quit [Ping timeout: 240 seconds]
kofno has quit [Read error: Connection reset by peer]
kofno has joined #ruby
sayan has joined #ruby
shevy has quit [Ping timeout: 252 seconds]
jonathanwallace has joined #ruby
hogeo has joined #ruby
GreenPlastik has joined #ruby
Regis__ has joined #ruby
kofno has quit [Remote host closed the connection]
kofno has joined #ruby
GOMADWarrior has quit [Ping timeout: 255 seconds]
GOMADWarrior has joined #ruby
johnkary has quit [Quit: @johnkary]
iamvery has joined #ruby
r0bby is now known as robbyoconnor
iamvery has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 276 seconds]
Regis__ has quit [Ping timeout: 256 seconds]
kofno has quit [Ping timeout: 258 seconds]
xkickflip_ has joined #ruby
benlieb has quit [Quit: benlieb]
shevy has joined #ruby
jhn has joined #ruby
sayan has quit [Ping timeout: 245 seconds]
et09 has quit [Quit: Lost terminal]
SCommette has quit [Quit: SCommette]
r0bby has joined #ruby
hashmal has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 258 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
F1skr has quit [Quit: WeeChat 0.4.0]
dhruvasagar has joined #ruby
heftig has quit [Ping timeout: 245 seconds]
SCommette has joined #ruby
chrishough has joined #ruby
heftig has joined #ruby
chandankumar has quit [Quit: Leaving]
mneorr has joined #ruby
robottin1 has quit [Quit: WeeChat 0.4.0]
kofno has joined #ruby
momomomomo has joined #ruby
sayan has joined #ruby
chandankumar has joined #ruby
Mattix has quit [Read error: Connection reset by peer]
Mattix has joined #ruby
security is now known as megha
miso1337 has quit [Quit: afk]
mneorr has quit [Ping timeout: 264 seconds]
dougireton has joined #ruby
brennanM_ has quit [Remote host closed the connection]
miso1337 has joined #ruby
kofno has quit [Ping timeout: 258 seconds]
momomomomo has quit [Quit: brb]
miso1337 has quit [Client Quit]
aapzak has quit [Ping timeout: 255 seconds]
miso1337 has joined #ruby
GreenPlastik has quit [Remote host closed the connection]
aapzak has joined #ruby
dougireton has quit [Ping timeout: 252 seconds]
Heero has quit [Read error: Connection reset by peer]
tk_ has joined #ruby
wintermu1e has quit [Remote host closed the connection]
r0bby is now known as robbyoconnor
niceguy1234 has quit [Read error: Operation timed out]
slainer6_ has quit [Remote host closed the connection]
IceDragon has quit [Quit: Space~~~]
GOMADWarrior has quit [Ping timeout: 252 seconds]
arubin has joined #ruby
sayan has quit [Ping timeout: 258 seconds]
etcetera has joined #ruby
dougireton has joined #ruby
<hesco> found it: rvm pkg install libxml2 --verify-downloads 1
r0bby has joined #ruby
bradleyp_ has joined #ruby
okinomo has joined #ruby
GreenPlastik has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
brennanMKE has joined #ruby
bradleyprice has quit [Ping timeout: 276 seconds]
ikea_meatballs has left #ruby [#ruby]
postmodern has joined #ruby
akashj87 has joined #ruby
beneggett has joined #ruby
lethjakman has joined #ruby
josh_ has joined #ruby
josh_ is now known as rethunk
centiped_ has joined #ruby
kuzushi__ has quit [Quit: Leaving]
miso1337 has quit [Quit: afk]
centipedefarmer has quit [Read error: Connection reset by peer]
<rickruby> how do you display the rows of a matrix on separate lines ? for example, I use: m = Matrix.build(2) to create a 2x2 matrix
roadt has joined #ruby
<rickruby> so I'd like to display something like
<rickruby> 0 0
<rickruby> 0 0
<rickruby> but haven't been able to figure out how..
<unstable> require 'matrix'; m1 = Matrix[[0,0], [0,0]]; m1.to_a.each {|r| puts r.inspect};
<rickruby> that gets me close, I end up with this output:
<rickruby> [0, 0]
<rickruby> [0, 1]
<rickruby> [1, 0]
<rickruby> [1, 1]
<rickruby> => [[0, 0], [0, 1], [1, 0], [1, 1]]
<rickruby> trying to get:
<rickruby> [0, 0] [0, 1]
brennanMKE has quit [Ping timeout: 264 seconds]
sambio has quit []
<rickruby> [1, 0] [1, 1]
okinomo has quit [Read error: No route to host]
bigmac has joined #ruby
heliumsocket has joined #ruby
ariedler has quit [Remote host closed the connection]
<rickruby> actually looks like you're right, I must be doing something wrong with the build method
moos3 has quit [Quit: Computer has gone to sleep.]
<rickruby> ah I wasn't passing a block to build maybe that was it
momomomomo has joined #ruby
<rickruby> m = Matrix.build(2) {0}; m.to_a.each {|r| puts r.inspect} is doing what I wanted now
cheese1756 has quit [Quit: ZNC - http://znc.in]
jhn has quit [Ping timeout: 252 seconds]
cheese1756 has joined #ruby
cheese1756 has quit [Excess Flood]
cheese1756 has joined #ruby
cheese1756 has quit [Changing host]
cheese1756 has joined #ruby
chipotle_ has joined #ruby
freakazoid0223 has quit [Ping timeout: 258 seconds]
nomenkun has joined #ruby
heliumsocket has quit [Quit: heliumsocket]
heliumsocket has joined #ruby
sambio has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
nomenkun has quit [Ping timeout: 260 seconds]
love_color_text has joined #ruby
bhaarat has joined #ruby
r0bby_ has joined #ruby
banister`sleep has quit [Remote host closed the connection]
r0bby has quit [Ping timeout: 252 seconds]
xcv has quit [Remote host closed the connection]
freeayu has joined #ruby
zaiste has joined #ruby
zaiste has left #ruby [#ruby]
GreenPlastik has quit [Remote host closed the connection]
r0bby_ is now known as robbyoconnor
mahmoudimus has joined #ruby
kunday has joined #ruby
love_color_text has quit [Remote host closed the connection]
dougireton has quit [Quit: Leaving.]
love_color_text has joined #ruby
d11wtq has quit [Ping timeout: 256 seconds]
hemanth has joined #ruby
d11wtq has joined #ruby
slainer68 has joined #ruby
chrishunt has quit [Quit: ZzZzZz...]
huoxito has quit [Ping timeout: 258 seconds]
jeremywrowe has quit [Quit: leaving]
johnnyfuchs has joined #ruby
sambio is now known as cero
mahmoudimus has quit [Quit: Computer has gone to sleep.]
shevy has quit [Ping timeout: 248 seconds]
chrishunt has joined #ruby
<hesco> Can I get some guidance on how to resolve this please? I'm seeing ERRORS when I run `rvm pkg install libxml2 --verify-downloads 1`, which I posted here: https://gist.github.com/anonymous/5428480
gorgor has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 258 seconds]
alex__c2022 has joined #ruby
nminus1 has quit [Ping timeout: 260 seconds]
dougireton has joined #ruby
Pochacco has joined #ruby
dougireton has left #ruby [#ruby]
celinedior has joined #ruby
alex__c2022 has quit [Ping timeout: 252 seconds]
nomenkun has joined #ruby
centiped_ has quit [Remote host closed the connection]
miso1337 has joined #ruby
droppedonmyhead has quit [Ping timeout: 264 seconds]
droppedonmyhead_ has joined #ruby
nminus1 has joined #ruby
kunday has quit [Quit: Leaving...]
nickbend1r has quit [Ping timeout: 276 seconds]
nickbender has quit [Ping timeout: 276 seconds]
agarie has joined #ruby
nomenkun has quit [Ping timeout: 255 seconds]
sayan has joined #ruby
<hesco> I think I may be dealing with missing kernel headers, testing now
shevy has joined #ruby
cero is now known as himnoNacionalArg
moos3 has joined #ruby
hemanth has quit [Quit: This computer has gone to sleep]
mercwithamouth has quit [Ping timeout: 245 seconds]
splittingred has quit [Quit: splittingred]
sayan has quit [Quit: Leaving]
jamesfung14 has joined #ruby
hiyakashi has joined #ruby
himnoNacionalArg is now known as sambio
danneu has quit [Ping timeout: 252 seconds]
tevio has joined #ruby
osvico has quit [Ping timeout: 256 seconds]
etcetera has quit []
danneu has joined #ruby
buibex has joined #ruby
nadirvardar has joined #ruby
mockra has joined #ruby
ioNull has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
guiambros has joined #ruby
mockra has quit [Ping timeout: 264 seconds]
jovy88 has joined #ruby
ttt has joined #ruby
ttt_ has joined #ruby
ttt_ has quit [Remote host closed the connection]
ttt has quit [Ping timeout: 276 seconds]
thone has joined #ruby
lethjakm1 has joined #ruby
lethjakman has quit [Ping timeout: 264 seconds]
r0bby has joined #ruby
thone_ has quit [Ping timeout: 245 seconds]
momomomomo has quit [Quit: momomomomo]
robbyoconnor has quit [Ping timeout: 252 seconds]
r0bby_ has joined #ruby
hemanth has joined #ruby
SCommette has quit [Quit: SCommette]
akashj87 has quit [Ping timeout: 240 seconds]
r0bby_ is now known as robbyoconnor
r0bby has quit [Ping timeout: 252 seconds]
zmanfx has quit [Ping timeout: 245 seconds]
nickbend1r has joined #ruby
nickbender has joined #ruby
generali_ has quit [Remote host closed the connection]
nomenkun has joined #ruby
zmanfx has joined #ruby
bradleyp_ has quit [Remote host closed the connection]
nickbend1r has quit [Ping timeout: 264 seconds]
nickbender has quit [Ping timeout: 264 seconds]
Hanmac has joined #ruby
teh_gh0d has joined #ruby
<unstable> I keep getting this cannot load such file -- rest-client, I have "require 'rest-client'" in the top of the controller.. why won't it load?
Hanmac1 has quit [Ping timeout: 258 seconds]
nomenkun has quit [Ping timeout: 256 seconds]
bradleyprice has joined #ruby
<unstable> I have done gem install rest-client
<unstable> If I just do require 'rest-client' in a file.rb, it works file.
WarlockoftheWeb has joined #ruby
aytch has joined #ruby
zmanfx has quit [Read error: Connection reset by peer]
r0bby has joined #ruby
nickbend1r has joined #ruby
nickbender has joined #ruby
robbyoconnor has quit [Ping timeout: 258 seconds]
mockra has joined #ruby
zmanfx has joined #ruby
charliesome has joined #ruby
nickbend1r has quit [Ping timeout: 260 seconds]
nickbender has quit [Ping timeout: 260 seconds]
mockra has quit [Ping timeout: 264 seconds]
buibex has quit [Remote host closed the connection]
h4mz1d has joined #ruby
chrishunt has quit [Read error: Connection reset by peer]
nbjahan has joined #ruby
sayan has joined #ruby
bhaarat has quit [Quit: bhaarat]
wael has joined #ruby
agarie has quit [Ping timeout: 276 seconds]
nari has joined #ruby
chrishunt has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
kunday has joined #ruby
browndawg has joined #ruby
ananthakumaran has joined #ruby
browndawg has left #ruby [#ruby]
nbjahan_ has joined #ruby
jamesfung14 has quit [Ping timeout: 258 seconds]
nbjahan has quit [Ping timeout: 252 seconds]
nbjahan_ is now known as nbjahan
nbjahan has quit [Remote host closed the connection]
agarie has joined #ruby
h4mz1d has quit [Ping timeout: 256 seconds]
jekotia has quit [Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344]]
akashj87 has joined #ruby
brianpWins has joined #ruby
heathjs has joined #ruby
yamez has quit [Remote host closed the connection]
heath has quit [Ping timeout: 245 seconds]
mantovani has quit [Ping timeout: 258 seconds]
Hanmac1 has joined #ruby
mantovani has joined #ruby
bradleyprice has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 256 seconds]
angusiguess has quit [Ping timeout: 258 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
heathjs is now known as heath
acriax has joined #ruby
kunday has quit [Read error: Connection reset by peer]
<hesco> This seems to have resolved that issue: ~/.rvm/usr/include$ ln -s /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm asm ; only to leave me with the next one.
<acriax> Hi, is it possible to set irb up so it always runs a command, like "require 'awesome_print'" each time you start it?
<otters> ~/.irbrc
<acriax> thanks otters
hiyakashi has quit [Ping timeout: 258 seconds]
jamesfung14 has joined #ruby
momomomomo has joined #ruby
shock_one has joined #ruby
viuo has quit [Read error: Operation timed out]
ashka` is now known as ashka
ashka has quit [Changing host]
ashka has joined #ruby
s2013 has quit []
<charliesome> acriax: use pry
chrishunt has quit [Quit: ZzZzZz...]
SCommette has joined #ruby
Hanmac has joined #ruby
viuo has joined #ruby
Hanmac1 has quit [Ping timeout: 256 seconds]
shock_one has quit [Read error: Connection reset by peer]
kunday has joined #ruby
agarie_ has joined #ruby
wael has quit [Quit: wael]
ttt has joined #ruby
agarie has quit [Ping timeout: 276 seconds]
yashshah has joined #ruby
ehaliewicz has quit [Read error: No route to host]
havenwood has joined #ruby
ttt has quit [Ping timeout: 276 seconds]
hamed_r has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
angusiguess has joined #ruby
tomzx_mac has quit [Ping timeout: 264 seconds]
V8Energy has quit [Ping timeout: 260 seconds]
nickbender has joined #ruby
nickbend1r has joined #ruby
kunday has quit [Read error: No route to host]
browndawg has joined #ruby
happydude has joined #ruby
mockra has joined #ruby
nomenkun has joined #ruby
roadt has quit [Ping timeout: 258 seconds]
nickbend1r has quit [Ping timeout: 240 seconds]
Hanmac1 has joined #ruby
happydude has quit [Client Quit]
happydude has joined #ruby
nickbender has quit [Ping timeout: 256 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
nadirvardar has quit [Quit: Computer has gone to sleep.]
angusiguess has quit [Ping timeout: 276 seconds]
akashj87 has quit [Ping timeout: 240 seconds]
araujo has quit [Quit: Leaving]
schiang has joined #ruby
akashj87 has joined #ruby
idkazuma has joined #ruby
akashj87 has quit [Read error: Connection reset by peer]
mockra has quit [Ping timeout: 260 seconds]
hemanth has quit [Remote host closed the connection]
rakl has quit [Quit: sleeping]
SCommette has quit [Quit: SCommette]
akashj87 has joined #ruby
danneu1 has joined #ruby
sayan has quit [Ping timeout: 256 seconds]
happydude has quit [Quit: Leaving]
Proshot has joined #ruby
danneu1 has quit [Client Quit]
lahwran is now known as lahwran-
lahwran- is now known as lahwran
danneu has quit [Ping timeout: 276 seconds]
WarlockoftheWeb has quit [Ping timeout: 258 seconds]
workmad3 has joined #ruby
momomomomo has quit [Quit: momomomomo]
<rickruby> i've been working on a multiplication table program for hours.... can't figure this out
icco has joined #ruby
<rickruby> i keep returning [nil, 5, 10, 15, 20, 25]
<rickruby> and no idea why
tommyvyo has joined #ruby
kofno has joined #ruby
Hanmac has joined #ruby
tvw has joined #ruby
hiyakashi has joined #ruby
Animawish has joined #ruby
celinedior has quit [Quit: celinedior]
Hanmac1 has quit [Ping timeout: 246 seconds]
<havenwood> rickruby: Line 9
<bnagy> rickruby: times_table[i,j] isn't the way you do 2-d array notation
JesseH has left #ruby ["https://github.com/jessehorne/"]
madb055 has quit [Ping timeout: 256 seconds]
<rickruby> hmmm
<havenwood> rickruby: Just an aside, but line 2 isn't necessary. Just name the argument what you want it to be called.
<rickruby> what is the proper way of 2d array notation ?
decoponio has joined #ruby
<rickruby> it looks like I keep returning the last line of my calculations... but missing all the above rows
<bnagy> like a[0][0]
<bnagy> but you can't automatically access elements that aren't there yet, either
mocfive has joined #ruby
<MrZYX> rickruby: times_table = Array.new(table_length) { Array.new(table_length) } ..... times_table[i][j] = i*j
kofno has quit [Ping timeout: 258 seconds]
emergion has joined #ruby
<havenwood> MrZYX: ['3435'].pack 'H*'; #=> "45"
<havenwood> MrZYX: Dunno how I missed that!
<MrZYX> hm, yeah
<TTilus> rickruby: ruby stdlib doesnt have "N dimensional arrays", you just use arrays composed of arrays
<havenwood> MrZYX: jacobian gave me a headsup: https://gist.github.com/havenwood/5426260
icco has quit [Read error: Operation timed out]
<rickruby> ok thanks giving suggestions a try, spent hours first I tried matrix class but they are immutable and was getting too complicated for me
emergion has quit [Client Quit]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
tommyvyo has quit [Quit:]
<rickruby> so now I've got times_table = Array.new(table_length) {Array.new(table_length)}
<havenwood> MrZYX: Silly Python folk coming up with useless conversions is what I blame... blame the snake!!
<rickruby> which makes sense to me but
sayan has joined #ruby
<bnagy> >> n=5; [*(1..n)].map {|i| [*(1..n)].map {|j| j*i}}
<eval-in> bnagy => [[1, 2, 3, 4, 5], [2, 4, 6, 8, 10], [3, 6, 9, 12, 15], [4, 8, 12, 16, 20], [5, 10, 15, 20, 25]] (http://eval.in/17064)
<rickruby> times_table[i][j] = i * j is getting underfind method []= for nil
<rickruby> undefined*
icco has joined #ruby
<MrZYX> oh right, zero indexed
<havenwood> Well, I guess I do know how I missed it. Not knowing the pack and unpack notations.
rton has joined #ruby
<MrZYX> times[i-1][j-1] = i*j
zigomir has joined #ruby
akashj87 has quit [Ping timeout: 240 seconds]
<rickruby> OH i see i was going over the index
<rickruby> 0 to 4 so there wouldve been no 5 index
<MrZYX> bnagy: neat, actually you can save the [*...]
<rickruby> thank you guys for your help!! bnaggy: I will study your code 3 lines whats taken me many lines and hours haha nice!
<MrZYX> (1..n).map { |i| (1..n).map {|j| i*j }}
nari has quit [Ping timeout: 240 seconds]
<bnagy> yeah don't need to splt it
idkazuma has quit [Remote host closed the connection]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
Rym has quit [Quit: Rym]
Hobogrammer has joined #ruby
decoponio has quit [Quit: Load reduction]
hamed_r has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
rton has left #ruby [#ruby]
miso1337 has quit [Read error: Connection reset by peer]
ninegrid has quit [Ping timeout: 264 seconds]
icco has quit [Ping timeout: 252 seconds]
miso1337 has joined #ruby
jovy88 has quit [Read error: Connection reset by peer]
icco has joined #ruby
heliumsocket has quit [Quit: heliumsocket]
jovy88 has joined #ruby
Skofo has joined #ruby
smart has joined #ruby
nari has joined #ruby
smart has left #ruby [#ruby]
k610 has joined #ruby
aytch has quit [Remote host closed the connection]
hiyakashi has quit [Quit: お前は知りすぎた]
haxrbyte_ has quit [Remote host closed the connection]
yshh_ has joined #ruby
yshh has quit [Ping timeout: 258 seconds]
alex__c2022 has joined #ruby
bigmac has quit [Quit: Leaving]
jamesfung14 has quit [Ping timeout: 258 seconds]
alex__c2022 has quit [Read error: Operation timed out]
wallerdev has quit [Quit: wallerdev]
nickbender has joined #ruby
nickbend1r has joined #ruby
sepp2k has joined #ruby
angusiguess has joined #ruby
Rym has joined #ruby
icco has quit [Quit: Run Away!]
icco has joined #ruby
Heero has joined #ruby
Heero has quit [Changing host]
Heero has joined #ruby
brennanMKE has joined #ruby
mockra has joined #ruby
rakl has joined #ruby
nickbend1r has quit [Ping timeout: 276 seconds]
nickbender has quit [Ping timeout: 276 seconds]
brennanMKE has quit [Ping timeout: 255 seconds]
mockra has quit [Ping timeout: 264 seconds]
akashj87 has joined #ruby
angusiguess has quit [Ping timeout: 246 seconds]
threesome has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
icco has quit [Ping timeout: 258 seconds]
pagios has joined #ruby
icco has joined #ruby
mhi^ has joined #ruby
WarlockoftheWeb has joined #ruby
Macaveli has joined #ruby
vikhyat has joined #ruby
ninegrid has joined #ruby
tevio has quit [Remote host closed the connection]
subbyyy has quit [Ping timeout: 252 seconds]
<mose> anybody knows what happened to http://ruby.runpaint.org ?
<mose> the guy lost this domain it seems
psyprus has quit [Read error: Connection reset by peer]
marr has joined #ruby
Xeago has joined #ruby
psyprus has joined #ruby
Xeago has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 260 seconds]
icco has quit [Ping timeout: 252 seconds]
icco has joined #ruby
goraxe has quit [Read error: Connection reset by peer]
goraxe has joined #ruby
Spooner has joined #ruby
braoru has joined #ruby
project2501a has joined #ruby
<project2501a> hey guys
<project2501a> is there a library in ruby that makes it easy for me to add command-line arguments
<nmeum> thor?
brianpWins has quit [Quit: brianpWins]
<MrZYX> trollop, slop, even something in stdlib: optparse
<MrZYX> read: yes, tons
<project2501a> woot!
<project2501a> thank you :)
<project2501a> brb
Scriptor has quit [Ping timeout: 258 seconds]
project2501b has joined #ruby
project2501a has quit [Ping timeout: 258 seconds]
monkegjinni has joined #ruby
rdg has joined #ruby
tjbiddle has joined #ruby
nari has quit [Ping timeout: 258 seconds]
bradhe has joined #ruby
niceguyjames has joined #ruby
kirun has joined #ruby
niceguyjames has quit [Client Quit]
tjbiddle has quit [Quit: tjbiddle]
<Spooner> I used to like slop, but I found trollop to be significantly better.
jetblack has quit [Ping timeout: 276 seconds]
rakl has quit [Quit: sleeping]
rdg has quit [Quit: ttfn]
bradhe has quit [Remote host closed the connection]
tevio has joined #ruby
codenapper has joined #ruby
nickbender has joined #ruby
nickbend1r has joined #ruby
tevio has quit [Ping timeout: 256 seconds]
mockra has joined #ruby
dr_bob has joined #ruby
nickbend1r has quit [Ping timeout: 256 seconds]
nickbender has quit [Ping timeout: 256 seconds]
idkazuma has joined #ruby
altivec has joined #ruby
niceguyjames has joined #ruby
mockra has quit [Ping timeout: 256 seconds]
danslo has joined #ruby
ToApolytoXaos has joined #ruby
kelabot has joined #ruby
rickruby has quit [Remote host closed the connection]
keyvan has joined #ruby
keyvan has joined #ruby
r0bgleeson has quit [Ping timeout: 264 seconds]
lkba has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
love_color_text has quit [Ping timeout: 245 seconds]
aytch has joined #ruby
altivec has quit [Quit: Computer has gone to sleep.]
mocfive has quit [Remote host closed the connection]
Bry8Star_ has joined #ruby
progbyperm has joined #ruby
Bry8Star has quit [Ping timeout: 276 seconds]
niceguyjames has quit [Quit: Computer has gone to sleep.]
vikhyat has quit [Remote host closed the connection]
nveselinov has joined #ruby
Bry8Star has joined #ruby
Bry8Star_ has quit [Ping timeout: 276 seconds]
clocKwize has joined #ruby
arya has joined #ruby
aytch has quit [Remote host closed the connection]
vikhyat has joined #ruby
vikhyat_ has joined #ruby
zmanfx has quit [Ping timeout: 245 seconds]
emergion has joined #ruby
progbyperm has quit [Read error: Connection reset by peer]
paolooo has joined #ruby
Faris9 has joined #ruby
vikhyat has quit [Ping timeout: 258 seconds]
threesome has quit [Read error: Connection reset by peer]
SeySayux has quit [Ping timeout: 264 seconds]
niceguyjames has joined #ruby
Villadelfia_ has joined #ruby
Villadelfia has quit [Ping timeout: 248 seconds]
clocKwize has quit [Quit: clocKwize]
SeySayux has joined #ruby
paolooo has quit [Quit: Page closed]
threesome has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
robustus has joined #ruby
kenneth has joined #ruby
arya has quit [Ping timeout: 248 seconds]
skattyadz has joined #ruby
dr_bob has quit [Quit: Leaving.]
emergion has quit [Quit: Computer has gone to sleep.]
codenapper has quit [Quit: Leaving...]
arya has joined #ruby
ioNull has quit [Ping timeout: 252 seconds]
mockra has joined #ruby
browndawg has quit [Ping timeout: 264 seconds]
<shevy> I hate optparse, that thing should die
ioNull has joined #ruby
anderse has joined #ruby
bradhe has joined #ruby
chandankumar has quit [Read error: Connection reset by peer]
psyprus has quit [Read error: Connection reset by peer]
psyprus has joined #ruby
bradhe has quit [Ping timeout: 258 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
niceguyjames has quit [Quit: Computer has gone to sleep.]
chandankumar has joined #ruby
alex__c2022 has joined #ruby
rdg has joined #ruby
mockra has quit [Ping timeout: 256 seconds]
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 255 seconds]
mneorr has joined #ruby
erry has quit [Quit: Segmentation fault]
alex__c2022 has quit [Read error: Operation timed out]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
arya has quit [Ping timeout: 248 seconds]
pandawarrior has joined #ruby
sayan has quit [Read error: Connection reset by peer]
trautwein has joined #ruby
skattyadz has quit [Quit: skattyadz]
trautwein has quit [Client Quit]
rickruby has joined #ruby
reset has quit [Read error: Operation timed out]
arya has joined #ruby
alex__c2022 has joined #ruby
rdg has quit [Quit: ttfn]
erry_ has joined #ruby
erry_ is now known as erry
tenmilestereo has joined #ruby
akashj87__ has joined #ruby
akashj87 has quit [Ping timeout: 240 seconds]
alex__c2022 has quit [Read error: Operation timed out]
jovy88 has quit [Read error: Connection reset by peer]
schiang has quit [Ping timeout: 245 seconds]
jovy88 has joined #ruby
cantonic_ has joined #ruby
atno has joined #ruby
cantonic has quit [Ping timeout: 264 seconds]
cantonic_ is now known as cantonic
Es0teric has quit [Quit: Computer has gone to sleep.]
spider-mario has joined #ruby
progbyperm has joined #ruby
rickruby has quit [Remote host closed the connection]
<shevy> I also think the stdlib should be more flexible
keyvan has quit [Read error: Connection reset by peer]
arya has quit [Ping timeout: 248 seconds]
love_color_text has joined #ruby
arya has joined #ruby
security has joined #ruby
tevio has joined #ruby
megha has quit [Ping timeout: 264 seconds]
happydude has joined #ruby
keyvan has joined #ruby
keyvan has quit [Changing host]
keyvan has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
Macaveli has quit [Quit: Leaving]
workmad3 has joined #ruby
wael has joined #ruby
gyre007 has joined #ruby
arya has quit [Ping timeout: 248 seconds]
sambio has quit []
miso1337 has quit [Ping timeout: 258 seconds]
monkegjinni has quit [Remote host closed the connection]
razibog has joined #ruby
razibog has quit [Client Quit]
wael has quit [Client Quit]
monkegjinni has joined #ruby
sayan has joined #ruby
hiyakashi has joined #ruby
arya has joined #ruby
choobie has joined #ruby
Astralum has quit [Ping timeout: 264 seconds]
xcv has joined #ruby
nveselinov has quit [Quit: Page closed]
codenapper has joined #ruby
mockra has joined #ruby
skroon has left #ruby [#ruby]
angusiguess has joined #ruby
visof has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
love_color_text has joined #ruby
kunday has joined #ruby
mockra has quit [Ping timeout: 264 seconds]
hashmal has joined #ruby
keyvan has quit [Ping timeout: 248 seconds]
sayan has quit [Read error: Connection reset by peer]
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby
DonRichie has quit [Read error: Connection reset by peer]
DonRichie has joined #ruby
Dwarf has quit [Ping timeout: 246 seconds]
GeissT has quit [Read error: Connection reset by peer]
davetherat1 has quit [Remote host closed the connection]
davetherat1 has joined #ruby
altivec has joined #ruby
Dwarf has joined #ruby
kunday has quit [Ping timeout: 256 seconds]
mneorr has quit [Remote host closed the connection]
k610 has quit [Ping timeout: 256 seconds]
mneorr has joined #ruby
altivec has quit [Quit: Textual IRC Client: www.textualapp.com]
GeissT has joined #ruby
thone has quit [Ping timeout: 252 seconds]
thone has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
AndChat| has joined #ruby
chandankumar_ has joined #ruby
chandankumar has quit [Ping timeout: 276 seconds]
mneorr has quit [Ping timeout: 256 seconds]
kunday has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
Banistergalaxy has quit [Ping timeout: 256 seconds]
thone has quit [Ping timeout: 245 seconds]
progbyperm has quit [Read error: Connection reset by peer]
Skofo has quit [Quit: Leaving]
thone has joined #ruby
love_color_text has joined #ruby
kofno has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
sayan has joined #ruby
ioNull has quit [Quit: Textual IRC Client: www.textualapp.com]
MisterPostIT has joined #ruby
girija has joined #ruby
nfk has joined #ruby
tevio has quit [Ping timeout: 256 seconds]
BBonifield has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
lkba has joined #ruby
rickruby has joined #ruby
niceguyjames has joined #ruby
dhruvasagar has joined #ruby
pioz has joined #ruby
rickruby has quit [Ping timeout: 246 seconds]
atmosx has joined #ruby
thone has quit [Ping timeout: 256 seconds]
monkegjinni has joined #ruby
atmosx has quit [Client Quit]
mneorr has joined #ruby
jovy88 has quit [Read error: Connection reset by peer]
nkts has joined #ruby
jovy88 has joined #ruby
slainer68 has joined #ruby
kunday has quit [Quit: Linkinus - http://linkinus.com]
tevio has joined #ruby
rton has joined #ruby
JeanMertz has joined #ruby
arya__ has joined #ruby
arya has quit [Ping timeout: 246 seconds]
idkazuma has quit [Remote host closed the connection]
peta_ has joined #ruby
mneorr has quit [Ping timeout: 252 seconds]
baphled has joined #ruby
arya__ is now known as arya
niceguyjames has quit [Quit: Computer has gone to sleep.]
angusiguess has quit [Ping timeout: 255 seconds]
girija has quit [Ping timeout: 245 seconds]
mockra has joined #ruby
kofno has quit [Remote host closed the connection]
<rton> Guys, Eloquent Ruby good book for beginner?
emergion has joined #ruby
idkazuma has joined #ruby
mneorr has joined #ruby
mockra has quit [Ping timeout: 256 seconds]
arya has quit [Ping timeout: 248 seconds]
arya has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
Faris9 has quit [Ping timeout: 258 seconds]
<pagios> how can i add a small authentication before sending commands to sinattra?
browndawg has joined #ruby
Bry8Star_ has joined #ruby
heftig has quit [Ping timeout: 245 seconds]
arya has quit [Ping timeout: 248 seconds]
WarlockoftheWeb has quit [Read error: Connection reset by peer]
WarlockoftheWeb has joined #ruby
Bry8Star has quit [Ping timeout: 276 seconds]
arya has joined #ruby
heftig has joined #ruby
sayan has quit [Quit: Leaving]
emmanuelux has joined #ruby
thone has joined #ruby
rton has left #ruby [#ruby]
pioz has quit [Quit: This computer has gone to sleep]
k610 has joined #ruby
shevy has quit [Ping timeout: 260 seconds]
bhaarat has joined #ruby
emmanuelux has quit [Max SendQ exceeded]
kofno has joined #ruby
nkts has quit [Quit: -]
bhaarat has quit [Client Quit]
BizarreCake has joined #ruby
baphled has quit [Ping timeout: 252 seconds]
chandankumar_ has quit [Quit: Leaving]
swex has quit [Remote host closed the connection]
waxjar_ has quit [Read error: Connection reset by peer]
progbyperm has joined #ruby
workmad3 has joined #ruby
swex has joined #ruby
kofno has quit [Remote host closed the connection]
tevio has quit [Remote host closed the connection]
Faris9 has joined #ruby
workmad3 has quit [Read error: Operation timed out]
tevio has joined #ruby
niceguyjames has joined #ruby
waxjar has joined #ruby
Hien has quit [Quit: leaving]
Kudos has quit [Ping timeout: 248 seconds]
vikhyat_ has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Operation timed out]
niceguyjames has quit [Client Quit]
dhruvasagar has joined #ruby
codenapper has quit [Quit: Leaving...]
Hien has joined #ruby
vlad_starkov has joined #ruby
penzur has joined #ruby
kelabot has quit [Remote host closed the connection]
happydude has quit [Remote host closed the connection]
codenapper has joined #ruby
psyprus has quit [Ping timeout: 258 seconds]
vlad_starkov has quit [Ping timeout: 260 seconds]
thone has quit [Ping timeout: 264 seconds]
Kudos has joined #ruby
Kudos has quit [Changing host]
Kudos has joined #ruby
jonathanwallace has joined #ruby
teddyp1cker has joined #ruby
arya has quit [Ping timeout: 248 seconds]
skattyadz has joined #ruby
vlad_starkov has joined #ruby
<pandawarrior> hey all. my sql is pretty iffy any recommendations for a good solid book?
vlad_starkov has quit [Remote host closed the connection]
<pandawarrior> they are loads out there but would like you opinion
<pandawarrior> cheers
vlad_starkov has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
gyre008 has joined #ruby
monkegjinni has joined #ruby
psyprus has joined #ruby
angusiguess has joined #ruby
arya has joined #ruby
codenapper has quit [Quit: Leaving...]
kofno has joined #ruby
teddyp1cker has left #ruby ["Konversation terminated!"]
Hanmac1 has joined #ruby
gyre007 has quit [Ping timeout: 260 seconds]
Hanmac has quit [Ping timeout: 245 seconds]
<Spooner> pandawarrior, Don't bother. Use an ORM instead :D
angusiguess has quit [Ping timeout: 256 seconds]
mockra has joined #ruby
<pandawarrior> Spooner: I was thinking that but before i learn orms shouldn't i get a good grounding in sql?
<pandawarrior> also sometimes the orm can't do what i want so, then i have to do the sql by hand
<pandawarrior> and i super suck at that :S
idkazuma has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
akashj87_ has joined #ruby
osvico has joined #ruby
<Spooner> pandawarrior, This is true. A lot of people say you should learn SQL before you use an ORM (or avoid them entirely because they prove you aren't leet enough :D).
mockra has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 264 seconds]
<pandawarrior> exactly it's just another thing to put on the ever expanding list of things to learn!
Hanmac1 is now known as Hanmac
monkegji_ has joined #ruby
akashj87__ has quit [Ping timeout: 240 seconds]
kofno has quit [Remote host closed the connection]
<Spooner> No idea. Don't know the book and my SQL is rusty anyway.
divout has joined #ruby
waxjar has quit [Ping timeout: 258 seconds]
monkegjinni has quit [Ping timeout: 258 seconds]
<pandawarrior> ah okay
darkapex has quit [Ping timeout: 246 seconds]
davetherat1 has quit [Remote host closed the connection]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
chandankumar has joined #ruby
akashj87_ has quit [Quit: Leaving]
thone has joined #ruby
waxjar has joined #ruby
codecop has joined #ruby
darkapex has joined #ruby
darkapex has quit [Changing host]
darkapex has joined #ruby
skattyadz has quit [Quit: skattyadz]
DrCode_ has joined #ruby
tevio has quit [Remote host closed the connection]
skattyadz has joined #ruby
thone has quit [Ping timeout: 276 seconds]
DrCode has quit [Ping timeout: 276 seconds]
eka has joined #ruby
BizarreCake has quit [Ping timeout: 256 seconds]
ZachBeta has joined #ruby
DrCode_ is now known as DrCode
angusiguess has joined #ruby
Husel has joined #ruby
xcv has quit [Remote host closed the connection]
binaryplease has joined #ruby
thone has joined #ruby
subbyyy has joined #ruby
postmodern has quit [Quit: Leaving]
akashj87 has joined #ruby
Hanmac1 has joined #ruby
kelabot has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
danslo has quit [Ping timeout: 256 seconds]
kofno has joined #ruby
thone has quit [Ping timeout: 252 seconds]
bhaarat has joined #ruby
marr has quit [Ping timeout: 256 seconds]
psyprus has quit [Ping timeout: 258 seconds]
danslo has joined #ruby
tenmilestereo has quit [Quit: Leaving]
thone has joined #ruby
vikhyat has joined #ruby
gerep has joined #ruby
BizarreCake has joined #ruby
psyprus has joined #ruby
ZachBeta has quit [Read error: Connection reset by peer]
angusiguess has quit [Ping timeout: 264 seconds]
ZachBeta has joined #ruby
<gerep> How can I get a text between \n and \t? Like \nSuper game\t
thone has quit [Ping timeout: 256 seconds]
penzur has quit [Quit: Lost terminal]
<MrZYX> >> "\nSuper Game\t".scan(/\n.+?\t/)
<eval-in> MrZYX => ["\nSuper Game\t"] (http://eval.in/17075)
psyprus has quit [Remote host closed the connection]
<gerep> MrZYX I'm gonna try that =)
trautwein has joined #ruby
<charliesome> or ^.+?\t
<charliesome> which will also match "Super game\t"
<hesco> Can I get some guidance on how to resolve this please? I'm seeing ERRORS when I run `rvm pkg install libxml2 --verify-downloads 1`, which I posted here: https://gist.github.com/anonymous/5428480
<charliesome> gerep: ^
<gerep> charliesome: thanks
<MrZYX> hesco: sounds like a missing include or something like that, you might wanna try asking in #rvm
<hesco> Thanks MrZYX: will try that.
goganchic has joined #ruby
arya has quit [Ping timeout: 248 seconds]
vlad_sta_ has joined #ruby
gaahrdner has joined #ruby
javos has joined #ruby
chandankumar has quit [Quit: Leaving]
<MisterPostIT> hi all. anyone know any must have books on ruby?
arya has joined #ruby
thone has joined #ruby
vlad_starkov has quit [Ping timeout: 260 seconds]
mercwithamouth has joined #ruby
huttan has quit [Ping timeout: 245 seconds]
freeayu has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
sepp2k1 has quit [Ping timeout: 256 seconds]
jetblack has joined #ruby
thone has quit [Ping timeout: 256 seconds]
thone has joined #ruby
vlad_sta_ has quit [Ping timeout: 258 seconds]
v0n has joined #ruby
Husel has left #ruby [#ruby]
veinofstars has quit [Quit: veinofstars]
vlad_starkov has joined #ruby
javos has quit [Quit: Colloquy for iPod touch - http://colloquy.mobi]
angusiguess has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
pskosinski has joined #ruby
mockra has joined #ruby
vlad_starkov has joined #ruby
mrcrunch has joined #ruby
mrcrunch has left #ruby [#ruby]
mockra has quit [Ping timeout: 256 seconds]
gaahrdner has quit [Remote host closed the connection]
V8Energy has joined #ruby
airtonix has quit [Ping timeout: 245 seconds]
kleinerdrache has joined #ruby
vikhyat has quit [Remote host closed the connection]
tenmilestereo has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
browndawg has quit [Ping timeout: 258 seconds]
xlab has joined #ruby
vikhyat has joined #ruby
psyprus has joined #ruby
monkegjinni has joined #ruby
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
goganchic has quit []
vlad_starkov has joined #ruby
aytch has joined #ruby
monkegji_ has quit [Ping timeout: 258 seconds]
xcv has joined #ruby
psyprus has quit [Read error: Connection reset by peer]
guiambros has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
rton has joined #ruby
vlad_starkov has joined #ruby
gerep has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
huttan has joined #ruby
Hanmac has joined #ruby
mklappstuhl has quit [Ping timeout: 256 seconds]
martinklepsch has quit [Ping timeout: 256 seconds]
Hanmac1 has quit [Ping timeout: 240 seconds]
gyre008 has quit [Remote host closed the connection]
huttan has quit [Read error: Operation timed out]
guiambros has joined #ruby
moos3 has joined #ruby
Hanmac1 has joined #ruby
mklappstuhl has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
Hanmac has joined #ruby
lkba has quit [Read error: Connection reset by peer]
<pandawarrior> MisterPostIT: I'm reading the pickaxe book: http://pragprog.com/book/ruby4/programming-ruby-1-9-2-0
rippa has quit [Ping timeout: 240 seconds]
Hanmac1 has quit [Ping timeout: 245 seconds]
lkba has joined #ruby
<MisterPostIT> right on… any good so far?
johnnyfuchs has joined #ruby
Eiam has quit [Ping timeout: 264 seconds]
<pandawarrior> very
<MisterPostIT> okay - i'll look into then. thanks a lot!
<pandawarrior> after that there's also eloquent ruby, design pattens in ruby and the 'poodr' book
girija has joined #ruby
Hanmac1 has joined #ruby
Faris9 has quit [Ping timeout: 252 seconds]
<pandawarrior> but the pickaxe book is a good grounding book
<Spooner> I like the pickaxe a lot, but a lot of the stdlib documentation in it is very easily available online.
centipedefarmer has joined #ruby
<Spooner> Or from something like pry on the command line.
<pagios> anyone familiar with sinatra authentication?
<AndChat|> Imo "the Ruby programming language" is better than pickaxe
Hanmac has quit [Ping timeout: 256 seconds]
<pagios> i am trying to prompt the browser for some user/pass to authenticate on sinatra: http://pastie.org/7681981
<pagios> for some reason i am not getting the prompt in the browser
<MisterPostIT> okay, yeah - thats what I'm looking for at the moment… I'll read that and then go from there. thanks Spooner - i just really prefer to have a good book handy at all times - especially in the beginning. later on the sources you point out will do just fine i am sure.
psyprus has joined #ruby
<MisterPostIT> thanks AndChat| - i'll check that out as well
project2501b has quit [Quit: Leaving...]
martinklepsch has joined #ruby
havenwood has joined #ruby
sambao21 has joined #ruby
<pandawarrior> <randomness_alert> if anyone enjoys listening to trance, dance etc whilst coding. georgefm.nz has a really good online live station </randomness_alert>
* pandawarrior correction: http://www.georgefm.co.nz/
security is now known as megha
yfeldblum has joined #ruby
weeb1e has quit [Read error: Operation timed out]
SCommette has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
xlab has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
xlab has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
workmad3 has joined #ruby
Tizon has joined #ruby
Tizon has left #ruby [#ruby]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
monkegjinni has quit [Remote host closed the connection]
megha has quit [Quit: WeeChat 0.4.0]
survili has joined #ruby
baba has joined #ruby
<survili> hi, I was wondering why ruby(mri) has not intermiddiate state, where after parsing it's saved in a bytecode format so when it's ran next time, it will be faster(skipping parsing)
rton has left #ruby [#ruby]
monkegjinni has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
wargasm1 has joined #ruby
wargasm has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
<Spooner> survili, Because parsing to bytecode doesn't really take that long (I believe the Python parser, for example, is really slow). The main advantage of being able to create .rbc files would be the ability to not ship source. If you want bytecode, use jruby or one of the other implementations.
visof has quit [Ping timeout: 256 seconds]
<Spooner> And bytecode is easy to reverse engineer anyway (just lose comments really).
<survili> Spooner, yes but for sure it would be faster than parsing. also yes, it would make file smaller and you won't reveal the source code. so it's weird to me there is no such option for MRI
GOMADWarrior has joined #ruby
<Spooner> I don't know really why it isn't available yet though, since YARV uses bytecode internally. I guess other things have been more important (like mruby).
philcrissman has quit [Remote host closed the connection]
<survili> Spooner, mruby is cool although i found it useless for now, as I can't do IO with it. I was considering using it inside our C# project so I could do some stuff in ruby. And although people were skeptical here, I managed to run mruby on windowz :)
<Spooner> survili, Apparently, Ruby 2.0 has the ability to cache bytecode, but it isn't enabled. It might get enabled in 2.1 or later then, when they have the problems ironed out? *shrugs*
rippa has joined #ruby
<Spooner> survili, People here are skeptical that you can boot windows successfully ;)
<havenwood> Spooner: haha
<survili> lol
<Hanmac1> "*weeh* someone could read my code *weeh*" if thats your only problem than you choice the wrong programming language and maybe the wrong OS too
wesside has joined #ruby
Hanmac1 is now known as Hanmac
jhn has joined #ruby
survili has quit [Quit: Leaving]
<Spooner> I find that most people seeking to obfuscate their code is because they are embarrassed by it, not because they know it is going to get stolen :D
vlad_starkov has joined #ruby
* havenwood rushes off to bytecode compile all his Github projects!
<Hanmac> when i want to obfuscate i programm in evil-mode ;P
<AndChat|> Hanmac what is weeh
brennanMKE has joined #ruby
alexdoom has quit [Ping timeout: 245 seconds]
LennyLinux has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
airtonix has joined #ruby
alexdoom has joined #ruby
<dinoex> hi, what is the nice way to have a counting hash: if $sum.has_key?( key ) $sum[ key ] += i; else $sum[ key ] = i; end
pothibo has joined #ruby
pothibo has quit [Client Quit]
<havenwood> My fav obfuscation is quine: http://mamememo.blogspot.com/2010/09/qlobe.html
aytch has quit [Remote host closed the connection]
<havenwood> ^ His quines blow my mind.
pothibo has joined #ruby
<Spooner> dinoex, h = Hash.new(0); h["frog"] #=> 0; h["fish"] += 1 #=> 1
vlad_sta_ has joined #ruby
<Spooner> havenwood, That is pretty epic!
Hanmac1 has joined #ruby
<dinoex> Spooner, thanks will try.
brennanMKE has quit [Ping timeout: 276 seconds]
visof has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
<dinoex> so $sum[ key ] += j #=> j
<dinoex> should work
<Spooner> Yes, since all values default to 0.
<MrZYX> dinoex: $sum makes me suspicious, you should really really really rarely need global variables
Hanmac has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
adambeynon has joined #ruby
xcv has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
kofno has quit [Remote host closed the connection]
RagingDave has joined #ruby
<dinoex> Well, some counters are spread opver different classes
Davey has joined #ruby
vlad_sta_ has quit [Ping timeout: 272 seconds]
<MrZYX> I guess I'd still prefer a singleton or a static class personally
Amfy has joined #ruby
Mattix has quit [Read error: Connection reset by peer]
baba has quit [Ping timeout: 240 seconds]
<Amfy> How to exec i.e git, whatever shell command in subfolder? Open3 isn't working as I expect
Mattix has joined #ruby
mneorr_ has joined #ruby
<dinoex> Spooner, it fails. in `count_device': undefined method `+' for nil:NilClass (NoMethodError)
monkegjinni has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
pioz has joined #ruby
gaahrdner has joined #ruby
solidoodlesuppor has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
mneorr has quit [Ping timeout: 260 seconds]
sayan has joined #ruby
pioz has quit [Client Quit]
browndawg has quit [Ping timeout: 272 seconds]
baba has joined #ruby
danslo has quit [Quit: danslo]
Gabri has joined #ruby
<dinoex> should i set sum.default = 0 ?#
sayan has quit [Max SendQ exceeded]
gaahrdner has quit [Ping timeout: 252 seconds]
ariedler has joined #ruby
browndawg has joined #ruby
alexwh has quit [Quit: Quitting]
angusiguess has joined #ruby
<havenwood> dinoex: Or: Hash.new { 0 }
alexwh has joined #ruby
thone has quit [Read error: Operation timed out]
<havenwood> dinoex: Oh, nvm. I didn't realize hash arg and block both set default.
alexdoom has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
alexdoom has joined #ruby
Scriptor has joined #ruby
alexwh has left #ruby [#ruby]
mercwithamouth has quit [Ping timeout: 256 seconds]
alexwh has joined #ruby
adambeynon has quit [Quit: Computer has gone to sleep.]
<dinoex> havenwood, thanks it works.
monkegjinni has quit [Remote host closed the connection]
kleinerdrache has quit [Ping timeout: 276 seconds]
gyre007 has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
love_color_text has joined #ruby
mercwithamouth has joined #ruby
braoru has quit [Ping timeout: 252 seconds]
gyre007 has quit [Ping timeout: 256 seconds]
k610 has quit [Ping timeout: 246 seconds]
tk_ has quit [Quit: ばいばい]
arya has quit [Ping timeout: 248 seconds]
nminus1 has quit [Ping timeout: 256 seconds]
huoxito has joined #ruby
hogeo has quit [Remote host closed the connection]
nadirvardar has joined #ruby
wallerdev has quit [Quit: wallerdev]
TheHermit has joined #ruby
monkegjinni has joined #ruby
newUser1234 has joined #ruby
arya has joined #ruby
kleinerdrache has joined #ruby
luckyruby has joined #ruby
arya has quit [Ping timeout: 248 seconds]
guiambros has quit [Quit: Leaving]
Proshot has quit [Quit: Leaving]
love_color_text has quit [Ping timeout: 252 seconds]
newUser1234 has quit [Remote host closed the connection]
arya has joined #ruby
codenapper has joined #ruby
wreckimnaked has joined #ruby
subbyyy has quit [Read error: Connection reset by peer]
monkegjinni has quit [Remote host closed the connection]
r0bgleeson has joined #ruby
<Spooner> havenwood, dinoex Hash.new(0) and Hash.new {|k, v| k[v]=0 } are equivalent, but the former doesn't work well with mutable objects (e.g. Arrays).
guiambros has joined #ruby
<Spooner> dinoex, h = Hash.new(0); h[:f] += 1; h #=> { f: 1 }
trautwein has quit [Ping timeout: 252 seconds]
codenapper has quit [Read error: Connection reset by peer]
rton has joined #ruby
newUser1234 has joined #ruby
mockra has joined #ruby
bradhe has joined #ruby
<Hanmac1> but the second one does not work with marshal
Hanmac1 is now known as Hanmac
vlad_sta_ has joined #ruby
bothra has quit [Read error: Connection reset by peer]
bothra has joined #ruby
rton has left #ruby [#ruby]
vlad_sta_ has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby
vlad_starkov has quit [Ping timeout: 272 seconds]
mockra has quit [Ping timeout: 264 seconds]
bhaarat has quit [Quit: bhaarat]
sambao21 has joined #ruby
swex_ has joined #ruby
Bry8Star has joined #ruby
swex has quit [Ping timeout: 258 seconds]
newUser1234 has quit [Remote host closed the connection]
Bry8Star_ has quit [Ping timeout: 276 seconds]
mercwithamouth has quit [Ping timeout: 246 seconds]
thone has joined #ruby
bhaarat has joined #ruby
mercwithamouth has joined #ruby
bhaarat has quit [Client Quit]
alexdoom has quit [Changing host]
alexdoom has joined #ruby
newUser1234 has joined #ruby
guiambros has quit [Quit: Leaving]
thone has quit [Read error: Operation timed out]
rton has joined #ruby
<unstable> In file.rb, if I require 'addressable/uri' then use that gem... it works fine. Though if I do require 'addressable/uri' at the top of a controller.. it says cannot load such file -- addressable/uri. Even if I put gem 'addressable' in the Gemfile and bundle install.
generalissimo has joined #ruby
ariedler has quit [Remote host closed the connection]
forlin has joined #ruby
hiyakashi has quit [Quit: お前は知りすぎた]
thone has joined #ruby
guiambros has joined #ruby
subbyyy has joined #ruby
wallerdev has joined #ruby
<Spooner> unstable, You maybe need to put: gem "addressable", require: "addressable/uri"
<Spooner> Sounds like a Rails-specific problem though.
<unstable> Spooner: That's what I've done.
adamjleonard has joined #ruby
<Spooner> unstable, You only need to specify the :require option if you are using Bundler.require :default though.
h8R has quit [Ping timeout: 258 seconds]
* Spooner shrugs.
<Spooner> The way Rails manages stuff is nothing short of black magic :D
zz_Inoperable has joined #ruby
adamjleonard has quit [Client Quit]
forlin has quit [Remote host closed the connection]
chandankumar has joined #ruby
vlad_sta_ has quit [Ping timeout: 252 seconds]
arya has quit [Ping timeout: 248 seconds]
GeissT has quit [Quit: MillBroChat AdIRC User]
marr has joined #ruby
Regis__ has joined #ruby
mave_fnet has quit [Ping timeout: 256 seconds]
ariedler has joined #ruby
wesside has quit [Quit: Computer has gone to sleep.]
tomzx_mac has joined #ruby
newUser1234 has quit [Remote host closed the connection]
arya has joined #ruby
tommyvyo has joined #ruby
cherrypeel has joined #ruby
GOMADWarrior has quit [Ping timeout: 272 seconds]
newUser1234 has joined #ruby
sepp2k has quit [Ping timeout: 240 seconds]
sayan has joined #ruby
newUser1234 has quit [Remote host closed the connection]
chrishunt has joined #ruby
<spike|spiegel> no way
johnnyfuchs has joined #ruby
newUser1234 has joined #ruby
<unstable> spike|spiegel: Now way what?
wreckimnaked has quit [Ping timeout: 240 seconds]
<spike|spiegel> no way it's "black magic"
pcarrier has quit [Ping timeout: 255 seconds]
<unstable> I can require 'rest-client' at the top of the controller, and that works fine.
<Hanmac> spike|spiegel is right, compared to what i write is rails like butterfly and flower stuff ;P
newUser1234 has quit [Remote host closed the connection]
progbyperm has quit [Read error: Connection reset by peer]
pcarrier has joined #ruby
AndChat| has quit [Ping timeout: 246 seconds]
wesside has joined #ruby
<havenwood> unstable: Addressable doesn't have a lib/addressable.rb but, like most gems, rest-client does have a lib/rest-client.rb.
kelabot has quit [Remote host closed the connection]
<havenwood> unstable: Curious if Rails loading (i know nothing about it) is choking on that for some reason? Anyone in #RubyOnRails run into it?
<unstable> havenwood: I see. So rails looks in /home/john/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rest-client-1.6.7/lib/rest-client.rb, so that loads fine. For addressable there is this file: /home/john/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/addressable-2.3.4/lib/addressable/uri.rb
teh_gh0d has quit [Quit: Leaving]
ariedler has quit [Remote host closed the connection]
<unstable> havenwood: ahh, #rubyonrails, I went to #rails which has a tiny fraction of the people and there has been barely any activity for a day.
<unstable> That's a helpful tip. heh
tbrock_ has joined #ruby
wreckimnaked has joined #ruby
rethunk has quit [Ping timeout: 264 seconds]
arietis has joined #ruby
<r0bgleeson> unstable: there's also another ruby channel called #ruby-lang just to be super confusing :p
lkba has quit [Ping timeout: 260 seconds]
<r0bgleeson> (it's the official channel)
binaryplease has quit [Quit: WeeChat 0.4.0]
ariedler has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
<r0bgleeson> unstable: bundler should handle the require for you. why are you trying to require it yourself?
sepp2k has joined #ruby
arubin has joined #ruby
nveselinov has joined #ruby
<unstable> r0bgleeson: Well if I do gem 'oauth' in Gemfile, then do bundle install; Then I load my rails page for the controller, it says uninitialized constant TacosController::OAuth
pilojo has joined #ruby
subbyyy has quit [Quit: none 0.3.9.2]
subbyyy has joined #ruby
<pilojo> Uno.rb:20:in `join': undefined method `include?' for nil:NilClass (NoMethodError)
<pilojo> i declared the array, but it won't let me use the functions for arrays
<r0bgleeson> unstable: huh, that's super weird.
Mon_Ouie has joined #ruby
<r0bgleeson> unstable: how do you require oauth?
<unstable> r0bgleeson: Well in file.rb, it works fine. I can just do require 'oauth'. For rails, I have gem 'oauth' in my assets, then I bundle install
penzur has joined #ruby
penzur has left #ruby [#ruby]
<r0bgleeson> in your assets?
<r0bgleeson> why?
alexwh has left #ruby [#ruby]
<unstable> r0bgleeson: Where should it be? If I do gem 'oauth' globally at the top of Gemfile, I get the same thing.
<unstable> pilojo: You're passing nil somewhere.
<unstable> pilojo: Try doing puts nick and puts @joinlist
ariedler has quit [Remote host closed the connection]
<canton7> pilojo, I suspect you cut down your sample a lot for the purpose of that pastie, and lost what was actually wrong in the process
wreckimnaked has quit [Ping timeout: 256 seconds]
<pilojo> canton7: yes, i wasn't about to paste a few hundred lines.
johnmilton has joined #ruby
<canton7> aye, it's a balance. people do pastie that much
AlSquirrel has joined #ruby
<canton7> as it stands, though, your pastie is too little :P
vikhyat has quit [Remote host closed the connection]
<pilojo> there's nothing else that -SHOULD- affect it, though
<pilojo> that's the ONLY place those variables exist
<LennyLinux> like that, @joinlist should be a class instance variable... Not accessible from object instance methods
<LennyLinux> Am i right?
aces23up has quit [Ping timeout: 245 seconds]
carlsednaoui has joined #ruby
user__ has quit [Ping timeout: 272 seconds]
<LennyLinux> If you make @@joinlist then it'll be accessible
<pilojo> i only ever have one instance up at a time, so i don't see why it should be @@
<LennyLinux> Because like that it'll be accessible...
AlSquire has quit [Ping timeout: 252 seconds]
markalanevans has quit [Quit: markalanevans]
aces1up has joined #ruby
h8R has joined #ruby
markalanevans has joined #ruby
marr has quit [Ping timeout: 264 seconds]
markalanevans has quit [Client Quit]
<MrZYX> pilojo: LennyLinux is right, self outside and inside a method definition is different, so is the @joinlist outside not the same @joinlist inside, use the initialize function to bootstrap your instance variables instead
<MrZYX> eh, method, not function ;P
rethunk has joined #ruby
chandankumar has quit [Ping timeout: 264 seconds]
three18ti has quit [Ping timeout: 240 seconds]
AlSquirikou has joined #ruby
kofno has joined #ruby
Morkel has joined #ruby
<pilojo> well, changing joinlist to a class instance variable did nothing
<mose> heya boys and girls
AlSquirrel has quit [Ping timeout: 272 seconds]
carlsednaoui has quit [Remote host closed the connection]
<LennyLinux> pilojo: @var <- this is a class instance variable, @@var this is a class variable...
luckyruby has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<LennyLinux> But, you should do what MrZYX has said
<mose> I'm looking for feedback about my newsletter http://eepurl.com/ym1lj
three18ti has joined #ruby
blacktulip has joined #ruby
luckyruby has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<havenwood> mosez: From initial impression, seems like the date on each post should be css styled to set it off a tad from the content.
<mose> right
<mose> oh I have competition here mose != mosez
<havenwood> mose: oops!
<canton7> mose, yeah, in Join it's be nice if the titles lined up
kuzushi has joined #ruby
<mose> lined up ? how so ?
vlad_starkov has joined #ruby
love_color_text has joined #ruby
<LennyLinux> What do you think about php?
<mose> ah yes
<havenwood> mose: Love the links, great assortment!
<mose> well I steal from many and I have my own newsblur watchers
<spider-mario> LennyLinux: is your nickname a reference to Java4Ever?
beneggett has joined #ruby
<LennyLinux> spider-mario: yes
<mose> mew troll game : go to #ruby and ask about php feelings
danslo has joined #ruby
lethjakman has joined #ruby
<LennyLinux> Mine is a serious question. I'm thinking about learning php or not
<mose> depends what you fancy
<mose> really
<havenwood> LennyLinux: What langs do you like so far?
<mose> do you have programming background ?
lethjakm1 has quit [Ping timeout: 256 seconds]
Xeago has joined #ruby
<LennyLinux> havenwood: i like ruby, js.. I like scripting langs.
<spider-mario> what would you like to learn php for?
<LennyLinux> mose: i've a bachelor degree in cs but little experience
<mose> if you like ruby stay here, php is gonna make you puke
<LennyLinux> spider-mario: find job easily mainly..
<mose> and improve your js skill
<mose> nowadays js is a killer skill
AlSquirrel has joined #ruby
<havenwood> LennyLinux: Ruby devs are in huge demand. But that is same with a lot of langs. Choose the mainstream langs you like most.
<mose> depends where you live too
<mose> if you are in US definately go ruby
<LennyLinux> eh..
<Hanmac> php does not have an strict true false system ... 0 and 0.0 and "0" are false, but "0.0" is true
cherrypeel has quit [Quit: Leaving]
<havenwood> mose: Interesting. Yeah, here in LA it seems Ruby devs or iOS/Android devs are in highest damand.
<spider-mario> if only that were the biggest flaw in PHP…
bhaarat has joined #ruby
<LennyLinux> Hanmac: you convinced me ahahhaah
<mose> well yeah in LA especialy you will find very motivated communities around
<LennyLinux> Well, i'll keep studying ruby and we'll see
krisfremen has quit [Read error: Connection reset by peer]
<mose> join meetups
AlSquirikou has quit [Ping timeout: 256 seconds]
krisfremen has joined #ruby
krisfremen has quit [Changing host]
krisfremen has joined #ruby
TMM has quit [Quit: Bye]
<mose> that's the best way to make up your mind
TMM has joined #ruby
TMM has quit [Changing host]
TMM has joined #ruby
<LennyLinux> I live in the great Europe
<LennyLinux> :D
<LennyLinux> havenwood: i'll give it a look, thanks.
<mose> where in europe ?
<LennyLinux> Italy
<LennyLinux> The not so great Italy
<LennyLinux> ahahah
love_color_text has quit [Ping timeout: 264 seconds]
<mose> hmm not sure about it but I think php is still very strong there
<LennyLinux> yep
<LennyLinux> And Java too :(
chipotle_ has quit [Quit: cya]
chandankumar has joined #ruby
pcarrier has quit [Ping timeout: 264 seconds]
<mose> well italy sucks but italian are great haha
alexwh has joined #ruby
nomenkun_ has joined #ruby
pcarrier has joined #ruby
<LennyLinux> Italy would be a fantastic country if weren't for Italians
<mose> lol
<LennyLinux> ahahah
whitedawg has joined #ruby
lewis_ has joined #ruby
lewis_ is now known as lewix
lewix has quit [Changing host]
lewix has joined #ruby
<lewix> hi
<LennyLinux> Thanks for your opinions guys
<LennyLinux> lewix: hi
nomenkun has quit [Ping timeout: 255 seconds]
<lewix> how are you LennyLinux
kofno has quit [Remote host closed the connection]
<havenwood> LennyLinux: Scala and Elixir are fun Ruby-like langs to check out for variety - if you wanna play with functional programming.
divout has quit [Quit: Leaving.]
<LennyLinux> havenwood: i like functional langs and i bought a Scala book :)
<LennyLinux> I don't know Elixir
thone has quit [Ping timeout: 246 seconds]
robottinosino has joined #ruby
<havenwood> LennyLinux: Elixir is great. Created by a prominent Rubyist and runs on the Erlang VM. All the win of Erlang with Ruby sensibilities.
<havenwood> LennyLinux: 0.8.2 just came out like yesterday :)
huttan has joined #ruby
lethjakman has quit [Ping timeout: 252 seconds]
tjbiddle has joined #ruby
thone has joined #ruby
<mose> havenwood: oohh sounds nice
<havenwood> mose: Can seamlessly use Erlang libs too!
AlSquirikou has joined #ruby
<mose> definately gonna try that one
nateberkopec has joined #ruby
<LennyLinux> havenwood: are you the guy on #railsnoob?
<havenwood> LennyLinux: I'm the havenwood in any channel i'm in. Registered nick.
sthetz has joined #ruby
<sthetz> Hi. I know of a MockRedis gem which is great for testing, but is it possible to load existing redis database into a mock?
<LennyLinux> Got it
AlSquirrel has quit [Ping timeout: 256 seconds]
cooldman224 has joined #ruby
AlSquirrel has joined #ruby
<pagios> is this a correct way of using sinatra? http://pastebin.com/Btz0thSm
pskosinski has quit [Remote host closed the connection]
<havenwood> sthetz: If you're using a test db, can't you just use that test db for tests instead of mocking?
<mose> pagios: it seems correct but you could use system() or backticks
AlSquirikou has quit [Ping timeout: 272 seconds]
<sthetz> havenwood: unfortunately I can not
<havenwood> sthetz: ahh
<mose> pagios: if your purpose is to daemonize something you better use fork
<sthetz> We use redis a lot, so my tests will depend on many data pieces from redis
kofno has joined #ruby
<pagios> something looks still to be hanging
<sthetz> I think I'll just dump my redis database into a file and will load this file into MockRedis every time the tests are executed
<pagios> when using an xmlrequestsender i am sometimes receiving the reply sometimes it hangs
<pagios> if i only include the text to return and no command to be issued on server side with the `` it works fine
<pagios> so something is wrong with executing the commands in ``
<sthetz> Oh crap, it sucks being non-native English speaker
eka has quit [Quit: Computer has gone to sleep.]
mockra has joined #ruby
newUser1234 has joined #ruby
chipotle_ has joined #ruby
<mose> pagios: in what lang is your script ?
<mose> (btw naming it .txt is just feeling weird)
<pagios> mose: bash
sosedoff has joined #ruby
<pagios> he gst.txt just contains 1 command and a & at the end to throw it in the bg
nateberkopec has quit [Quit: Leaving...]
<pagios> works perfectly fine
<pagios> when i remove the 2 # in start and stop i see weird behavior mose
<mose> hehe sure
sub35 has joined #ruby
nateberkopec has joined #ruby
<mose> well you need to have it go nicely to background in sinatra otherwise it waits the end of it
<pagios> hmmm you mean throw it in the bg using the ``
jovy88 has quit [Ping timeout: 258 seconds]
<mose> for that there is either forking either threading or fibering
johnmilton has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 252 seconds]
Hobogrammer has quit [Ping timeout: 245 seconds]
<mose> wait I show you an example in 2 min on your pastie (btw you better use gist for that)
<pagios> ok
johnmilton has joined #ruby
robottinosino has quit [Quit: WeeChat 0.4.0]
Hanmac has joined #ruby
whowantstolivefo has joined #ruby
Hobogrammer has joined #ruby
pothibo has quit [Quit: pothibo]
<mose> pagios: have a look at this code : https://github.com/mose/felix/blob/master/lib/felix/base.rb
Regis__ is now known as GOMADWarrior
<lewix> LennyLinux: havenwood: railsnoob?
<mose> what you want to look for is the fork block, the capture of a pid, that can be used for the killing at stop
sthetz has left #ruby [#ruby]
brianpWins has joined #ruby
<mose> pagios: in the fork the action is @server.start you can replace it with your backtick command I guess
AlSquirikou has joined #ruby
<dross> T/win 6
AlSquirrel has quit [Ping timeout: 255 seconds]
sosedoff has quit [Remote host closed the connection]
robottinosino has joined #ruby
luckyruby has quit [Remote host closed the connection]
<pagios> fork does the trick :)
<pagios> thhanks mose
nilobject has joined #ruby
xlab has quit [Ping timeout: 272 seconds]
wedgex has joined #ruby
Hanmac1 has joined #ruby
<mose> pagios: one detail, you want to remove the & inside your bash script, actually you can directly launch the command from ruby I guess
<mose> because the bash script purpose was probably just to background it
<pagios> what i actually did isthis:
<pagios> get '/start' do fork do `/tmp/gst.txt` end "Stream started"
pilojo has left #ruby ["Leaving"]
bklane has joined #ruby
AlSquirrel has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
<mose> well you need to keep track of the pid if you don't want to have ghosts after stopping it
ZachBeta has quit [Quit: Computer has gone to sleep.]
jhn has quit [Ping timeout: 252 seconds]
johnmilton has quit [Quit: Leaving]
danslo has quit [Quit: danslo]
AlSquirikou has quit [Ping timeout: 252 seconds]
marr has joined #ruby
ph^ has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
Nisstyre-laptop has joined #ruby
dhruvasagar has joined #ruby
vikhyat has joined #ruby
Hanmac1 has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
xcv has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
pskosinski has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
Regis__ has joined #ruby
zmike has joined #ruby
AlSquirikou has joined #ruby
zmike has quit [Read error: Connection reset by peer]
WarlockoftheWeb has quit [Ping timeout: 258 seconds]
xcv has quit [Ping timeout: 256 seconds]
sub35 has quit [Quit: sub35]
kofno has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
wedgex has quit [Remote host closed the connection]
wedgex has joined #ruby
GOMADWarrior has quit [Ping timeout: 255 seconds]
AlSquirrel has quit [Ping timeout: 276 seconds]
WarlockoftheWeb has joined #ruby
lethjakman has joined #ruby
BizarreCake has quit [Remote host closed the connection]
wedgex has quit [Ping timeout: 252 seconds]
momomomomo has joined #ruby
kofno has joined #ruby
toekutr has joined #ruby
toekutr has left #ruby [#ruby]
momomomomo has quit [Client Quit]
busybox42 has quit [Quit: leaving]
busybox42 has joined #ruby
progbyperm has joined #ruby
weeb1e has joined #ruby
ZachBeta has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
AlSquirrel has joined #ruby
Opettaja has quit [Ping timeout: 256 seconds]
AlSquirikou has quit [Ping timeout: 246 seconds]
brianpWins has quit [Quit: brianpWins]
stkowski has joined #ruby
mockra has quit [Remote host closed the connection]
Regis__ is now known as GOMADWarrior
WarlockoftheWeb has quit [Read error: Connection reset by peer]
kleinerdrache has quit [Quit: Ex-Chat]
AlSquire has joined #ruby
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
weeb1e has joined #ruby
Xeago has quit [Remote host closed the connection]
browndawg has quit [Quit: Leaving.]
s_kilk has joined #ruby
rakl has joined #ruby
AlSquirrel has quit [Ping timeout: 264 seconds]
guiambros has quit [Ping timeout: 252 seconds]
guiambros has joined #ruby
IrishGringo has joined #ruby
AlSquirrel has joined #ruby
mockra has joined #ruby
marcdel has joined #ruby
Davey has joined #ruby
AlSquire has quit [Ping timeout: 255 seconds]
AlSquirikou has joined #ruby
Opettaja has joined #ruby
gerep has joined #ruby
<gerep> How can I write a Unit Test to check if a file exist?
tommyvyo has quit [Quit:]
momomomomo has joined #ruby
newUser1234 has quit [Remote host closed the connection]
Nisstyre-laptop has quit [Quit: Leaving]
newUser1234 has joined #ruby
Bry8Star has quit [Ping timeout: 276 seconds]
AlSquirrel has quit [Ping timeout: 252 seconds]
Bry8Star_ has joined #ruby
jovy88 has joined #ruby
Nisstyre-laptop has joined #ruby
<Morrolan> gerep: Uh, by asserting that File.file?('blah.conf') is true? :)
<MrZYX> there's also File.exists? but it seems like a silly test
<gerep> Morrolan Yeah, sorry about that question, I was so worried about specific test commands that I forgot to use Rails commands =)
<gerep> MrZYX My application needs a games.log file
<Morrolan> gerep: Heh. :)
<gerep> without it, it won't run
<MrZYX> then you should test that it throws an error message if it's missing
<gerep> ;)
<MrZYX> not test that the file exists
AlSquirrel has joined #ruby
sub35 has joined #ruby
bnagy has quit [Ping timeout: 245 seconds]
<gerep> MrZYX whats the difference ?
<MrZYX> assert File.exists?('games.log') vs assert_raise ArgumentError do; start_app; end
<MrZYX> or whatever
<MrZYX> the former is a useless test, the later tests your application
AlSquirikou has quit [Ping timeout: 255 seconds]
choobie has quit [Ping timeout: 252 seconds]
jacklk has joined #ruby
brianpWins has joined #ruby
SCommette has quit [Quit: SCommette]
<MrZYX> you want to mock File.exists? or whatever your app uses to check before the later of course
casheew_ has quit [Read error: Connection reset by peer]
<jacklk> Ruby or Python?
wreckimnaked has joined #ruby
baphled_ has joined #ruby
<MrZYX> jacklk: wrong channel to ask ;P
<jacklk> Why?
casheew has joined #ruby
<MrZYX> guess what answer you get in #ruby?
<MrZYX> guess what answer you get in #python?
s_kilk has quit [Quit: Leaving]
nadirvardar has quit [Ping timeout: 256 seconds]
<Spooner> Python is better than Ruby. It has parrots and we have foxes. Case closed!
<jacklk> in #ruby it will be Python and in #python it will be ruby?
splittingred has joined #ruby
<mose> ruby and python also make love together http://rubypython.rubyforge.org/
<Mon_Ouie> MrZYX: My guess is that people on #ruby will tell him he won't get a proper answer there!
<Spooner> That is so NSFW!
LongLiveBacon has joined #ruby
<Mon_Ouie> And same on #python
robottinosino has quit [Quit: WeeChat 0.4.0]
<MrZYX> maybe he should ask in #php or #java?
robottinosino has joined #ruby
<Hanmac1> mose i have seen topaz ... an ruby interpreter in python ;P
Hanmac1 is now known as Hanmac
<Spooner> Can the people in #php read a complex question like that? :D
nadirvardar has joined #ruby
GOMADWarrior has quit [Ping timeout: 252 seconds]
<MrZYX> Spooner: shall we try?
<Spooner> MrZYX, Er, no.
<Mon_Ouie> I hope so. How could they understand PHP inconsistencies otherwise? ;)
<Spooner> True. Anyone who can write PHP is a better coder than I am.
<Spooner> *good PHP
* dross still does PHP coding
AlSquire has joined #ruby
<dross> for a nominal fee
<dross> :)
<dross> if it's PHP, I mark up the price
<dross> ;D
<Spooner> I'd do it for $400/hour. No problem/
AlSquirrel has quit [Ping timeout: 240 seconds]
blacktulip has quit [Remote host closed the connection]
blacktulip has joined #ruby
jamesfung14 has joined #ruby
robottinosino has quit [Client Quit]
pothibo has joined #ruby
bklane has quit [Ping timeout: 248 seconds]
AlSquirrel has joined #ruby
ZachBeta has quit [Read error: Connection reset by peer]
marcdel has quit [Quit: marcdel]
matchaw_ has joined #ruby
AlSquire has quit [Ping timeout: 248 seconds]
AlSquirrel has quit [Client Quit]
matchaw has quit [Ping timeout: 272 seconds]
yshh_ has quit [Read error: Connection reset by peer]
matchaw_ has quit [Read error: Connection reset by peer]
ZachBeta has joined #ruby
akashj87__ has joined #ruby
fryguy has quit [Read error: Connection reset by peer]
yshh has joined #ruby
adambeynon has joined #ruby
fryguy has joined #ruby
momomomomo_ has joined #ruby
corentin has joined #ruby
<corentin> hi
<corentin> hi
<jacklk> corentin: hi
momomomomo has quit [Ping timeout: 272 seconds]
momomomomo_ is now known as momomomomo
<jacklk> corentin: hi
<corentin> is it appropriate to ask questions about building ruby?
guillehorno has joined #ruby
akashj87 has quit [Ping timeout: 240 seconds]
braoru has joined #ruby
guillehorno has quit [Quit: guillehorno]
<corentin> i'm trying to cross-compile ruby 1.9.3 for arm, but compilation fails with this error message: ./ext/extmk.rb:202:in `extmake': undefined method `prepend' for "Failed to configure fiddle. It will not be installed.\n":String (NoMethodError)
tylersmith has joined #ruby
matchaw has joined #ruby
akashj87_ has joined #ruby
pcarrier has quit [Quit: Computer has gone to sleep.]
predator217 has quit [Ping timeout: 260 seconds]
matchaw has quit [Remote host closed the connection]
akashj87_ has quit [Client Quit]
predator117 has joined #ruby
workmad3 has joined #ruby
luckyruby has joined #ruby
bnagy has joined #ruby
akashj87__ has quit [Ping timeout: 272 seconds]
akashj87 has joined #ruby
generalissimo has quit [Remote host closed the connection]
<Hanmac> corentin: prepend is a 2.0 method ... so you need 2.0 first before you can cross compile
classix has quit [Ping timeout: 240 seconds]
jamesfung14 has quit [Ping timeout: 272 seconds]
Xeago has joined #ruby
ariedler has joined #ruby
skattyadz has quit [Quit: skattyadz]
tylersmith has quit [Quit: tylersmith]
mneorr_ has quit [Remote host closed the connection]
matchaw has joined #ruby
chandankumar has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
predator117 has quit [Ping timeout: 264 seconds]
predator117 has joined #ruby
momomomomo has quit [Quit: momomomomo]
mockra has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 255 seconds]
SCommette has joined #ruby
xlab has joined #ruby
nilobject has quit [Quit: nilobject]
whowantstolivefo has quit [Ping timeout: 252 seconds]
sub35 has quit [Quit: sub35]
Faris9 has joined #ruby
carlsednaoui has joined #ruby
carlsednaoui has quit [Remote host closed the connection]
carlsednaoui has joined #ruby
Banistergalaxy has joined #ruby
martinklepsch has quit [Quit: WeeChat 0.3.9.2]
mklappstuhl has quit [Quit: ZNC - http://znc.in]
guiambros has quit [Ping timeout: 252 seconds]
wsterling has joined #ruby
luckyruby has quit [Remote host closed the connection]
visof has quit [Ping timeout: 246 seconds]
sthetz has joined #ruby
brianpWins has quit [Quit: brianpWins]
emmanuelux has joined #ruby
jacklk has quit [Quit: leaving]
Mon_Ouie has quit [Ping timeout: 255 seconds]
jekotia has joined #ruby
visof has joined #ruby
sub35 has joined #ruby
speakingcode has quit [Ping timeout: 264 seconds]
Mon_Ouie has joined #ruby
nomenkun_ has quit [Remote host closed the connection]
weeb1e has quit [Remote host closed the connection]
T|ASK has joined #ruby
mockra has joined #ruby
pcarrier has joined #ruby
T|ASK has quit [Client Quit]
T|ASK has joined #ruby
arya has quit [Ping timeout: 248 seconds]
sub35 has left #ruby [#ruby]
weeb1e has joined #ruby
speakingcode has joined #ruby
LnL has quit [Quit: LnL]
jovy88 has quit [Read error: Connection reset by peer]
wereHams1er is now known as wereHamster
LnL has joined #ruby
robottinosino has joined #ruby
Morkel_ has joined #ruby
Morkel has quit [Ping timeout: 246 seconds]
Morkel_ is now known as Morkel
arya has joined #ruby
jovy88 has joined #ruby
johnnyfuchs has joined #ruby
jdunck has joined #ruby
pcarrier has quit [Quit: Computer has gone to sleep.]
brianpWins has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
T|ASK has left #ruby [#ruby]
Davey has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
<pagios> hello, i have a ruby script running on port 4567, the script doesnt support authentication so i decided to throw the authentication on apache server using htaccess, now my question is can i configure the ruby script to accept only requests from the apache server? the client with ip1 getting redirected to the script url will hit the script with its ip or the apache ip address?
davetherat has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
<MrZYX> one more time: just run it with passenger
davetherat has joined #ruby
T|ASK has joined #ruby
davetherat has quit [Remote host closed the connection]
Davey has joined #ruby
davetherat has joined #ruby
xlab_ has joined #ruby
<T|ASK> Hi, do you know a webpage where the most Ruby coders meet? I'm searching for as many European Rails or Ruby coders as possible.
<Mon_Ouie> Guys, meeting on google's home page in two minutes!
Caius has joined #ruby
sayan has quit [Ping timeout: 272 seconds]
<pagios> MrZYX: standalone version?
<MrZYX> no
havenwood has quit [Ping timeout: 276 seconds]
<Hanmac> Tjask wrong channel
xlab has quit [Ping timeout: 256 seconds]
ananthakumaran has quit [Quit: Leaving.]
<MrZYX> pagios: you want to benefit from apache's basic auth feature, don't you?
<T|ASK> Hanmac: wrong channel? to meet Ruby coders?
ryanh has quit [Quit: Computer has gone to sleep.]
<pagios> yes but i mean the standalone version does allow nginx authentication too i think
<Hanmac> T|ASK: #rubyonrails is the right channel
<MrZYX> pagios: but you already got apache running? why the overhead?
<T|ASK> Hanmac: I'm looking for Ruby coders in the first place later on Rails is important
elaptics`away is now known as elaptics
johnnyfuchs has quit [Remote host closed the connection]
chrishough has joined #ruby
jamesfung14 has joined #ruby
<Mon_Ouie> You should ask your question directly, rather than where to find Ruby programmers (unless, of course, your end goal is just to find Ruby programmers…)
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
tds has joined #ruby
kylebt has joined #ruby
wsterling has quit [Remote host closed the connection]
GOMADWarrior has joined #ruby
mneorr has quit [Remote host closed the connection]
<T|ASK> Mon_Ouie: Indeed, it's really that I want to find Ruby Coders which live in Europe first. I want to meet some of them if they like this summer. Yet I'm unsure how to find them easily.
weeb1e has joined #ruby
ZachBeta has joined #ruby
<Hanmac> T|ASK: you could look at http://www.ruby-forum.com/forum/ruby
<Mon_Ouie> Oh. Well, not sure about that, but have you tried looking for ruby conferences, etc.?
<pagios> MrZYX: so request would go apache -> passenger -> ruby?
carlsednaoui has quit [Remote host closed the connection]
<MrZYX> passenger is ruby
<MrZYX> and runs inside apache
<pagios> where would sinatra fit in this casE?
<Xeago> sinatra is a ruby gem/framework on top of rack
<MrZYX> passenger runs your sinatra app and hands over the request
<pagios> i juast want to understand the workflow that i need to run using apache,passenger and sinatra
ZachBeta has quit [Client Quit]
<MrZYX> just follow their guide
luckyruby has joined #ruby
<pagios> i will but i need to know the highlevel design i need to follow
canton7 has quit [Remote host closed the connection]
<MrZYX> I'm sure you get it once you got it working
canton7 has joined #ruby
Gabri has quit [Remote host closed the connection]
<pagios> ok cool
nomenkun has joined #ruby
<T|ASK> Mon_Ouie: No, not for now. It's a good idea to meet them in person. I will think of this. I should create a webpage first, where I describe my plan in more detail.
bhaarat has quit [Quit: bhaarat]
<dominikh> yeah, I'm wondering why anyone would be willing to meet you.
<pagios> is passenger lightweight?
<Xeago> pagios: in my opinion, no
<MrZYX> won't be heavier than reverse proxying to a standalone appserver
cooler has joined #ruby
wmoxam has joined #ruby
SCommette has quit [Quit: SCommette]
<Xeago> I prefer unicorn
<MrZYX> yeah, but for his small purpose passenger is just easier IMO
<Xeago> maybe even stuff like thin
<pagios> the idea is that the apache server and ruby script are running on a very limited resource STB box
<pagios> RPI
<unstable> https://gist.github.com/JohnTheodore/5430816 .. I am querying the yelp api and getting some data. I'm sending this data to phones.. so I want to throw out any data I don't need. My code is getting a bit ugly/confusing since I need to dig deep into several nests to keep what I want.
cooler has quit [Client Quit]
<pagios> what i was thinking of is to do some apache vritual server with htaccess and redirect accordingly to the ruby script, ruby script running sinatra will only accept incoming requests from apache IP address
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
<pagios> do you think that would be a good workaround?
weeb1e has joined #ruby
<MrZYX> that's what we call a reverse proxy
<pagios> ah ok
<MrZYX> as said, it won't be lighter on resources
wesside has quit [Quit: Computer has gone to sleep.]
sthetz has left #ruby [#ruby]
kevdev has joined #ruby
<kevdev> anyone know if CarrierWave has a channel I could ask a question in?
wmoxam has quit [Ping timeout: 246 seconds]
solidoodlesuppor has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 256 seconds]
<T|ASK> dominikh: Good question, I should write down everything first for myself and publish it if I think it's still worth it.
ryanh has joined #ruby
mneorr has joined #ruby
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
luckyruby has quit [Remote host closed the connection]
weeb1e has joined #ruby
<gerep> If I do this: user = `git config --global github.user` p user I get the correct value printed but I don't need it printed, I need it to be saved in a variable, how can I do that?
dougireton has joined #ruby
wesside has joined #ruby
Caius has quit [Quit: ""]
zmanfx has joined #ruby
gerep has quit [Remote host closed the connection]
Caius has joined #ruby
anderse has quit [Quit: anderse]
etcetera has joined #ruby
<canton7> erm, it's already stored in the 'user' variable?
axl_ has joined #ruby
<canton7> ah, he quit
<MrZYX> I think he wants var=$(....)
<axl_> is there a way I can create a new time object knowing day, month and year, in the CST (timezone) without having to pass hour, min and seconds ?
<kevdev> Well maybe someone is watching that is familiar with CarrierWave so i'll just ask here, I'm using Rails 2.3.6 and the CarrierWave plugin w/s3 and I'm using the nested_form gem, im receiving undefined method `reflect_on_association' for NilClass:Class on my new page, when I remove form.link_to_add the error goes away, any ideas? I've Googled my brains out and came up with nothing =\
<canton7> MrZYX, that looked like ruby to me
<axl_> i am hoping not to do this: Time.new(2002, 10, 31, 2, 2, 2, "+02:00") #=> 2002-10-31 02:02:02 -0200
<MrZYX> canton7: oh, right
<axl_> don't want to pass the hour, min and sec if i can
nadirvardar has quit [Ping timeout: 260 seconds]
weeb1e_ has joined #ruby
<MrZYX> axl_: then don't?
<axl_> how do i specify the timezone without passing them in ?
<axl_> my system is in UTC and i want to create time in CST
weeb1e has quit [Ping timeout: 252 seconds]
nadirvardar has joined #ruby
mneorr has quit [Remote host closed the connection]
<canton7> explicitely pass in nil's?
<Morrolan> keyword arguments?
mockra has quit [Remote host closed the connection]
<canton7> ruby2, yeah
Xuerian has joined #ruby
<axl_> Morrolan: are you recommending that to me ?
kevdev has quit [Quit: Page closed]
<Morrolan> Yep. :)
dougireton has quit [Ping timeout: 264 seconds]
<axl_> what are keyword arguments? you mean passing a hash ? Don't see that documented, could you give an example ?
shevy2 has joined #ruby
shevy2 is now known as shevy
EPIK has joined #ruby
Lamp_ has joined #ruby
T|ASK has left #ruby [#ruby]
braoru has quit [Ping timeout: 272 seconds]
<shevy> yo guys
visof has quit [Changing host]
visof has joined #ruby
<tommylommykins> hmmm
sthetz has joined #ruby
<tommylommykins> I guess I'm getting something wrong somewhere
Davey has quit [Quit: Computer has gone to sleep.]
<tommylommykins> I want to do a reduce, but break early to get the memo value
<shevy> wat
<tommylommykins> the thing is, the value of break is nil
<tommylommykins> so the memo value becomes nil
<sthetz> When I use variable with *, like `method *some_array`, what is it called?
<sthetz> Does this syntax have some special name?
<elaptics> sthetz: splat
<sthetz> K thanks
<tommylommykins> foo.reduce(1) {|memo, curr| break if done_yet? curr}
<tommylommykins> ...but that returns nil D:
tomsthumb has quit [Quit: Leaving.]
<shevy> sthetz it's always hard to google that without knowing the name :D
<sthetz> yeah
momomomomo_ has joined #ruby
jacktrick has joined #ruby
<Morrolan> axl_: Something along the lines of Time.new(2012,01,01, utc_offset = "+02:00")
<Morrolan> axl_: As has been mentioned, however, this feature was only introduced in Ruby 2.0.
<axl_> hhmm… k. i am using 2.0
brianpWins has quit [Quit: brianpWins]
<Morrolan> axl_: If you use this on a previous version of Ruby, it will actually treat it as a positional argument and, in this case, set the hour to '02:00'.
tjbiddle has quit [Quit: tjbiddle]
nomenkun has joined #ruby
<spider-mario> I find it a pity not to have kept the old “fake named args” syntax
<spider-mario> (Time.new(2012, 1, 1, utc_offset: "+02:00"))
jdunck has quit [Quit: Computer has gone to sleep.]
ariedler has quit [Remote host closed the connection]
rakl has quit [Quit: sleeping]
ariedler has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
nomenkun has quit [Ping timeout: 246 seconds]
braoru has joined #ruby
k610 has joined #ruby
<Morrolan> axl_: Uh, I am not sure whether Time#new supports keyword arguments, by the way. Better check before you do.
<Morrolan> (Am on a device where I can not check it.)
chipotle_ has quit [Quit: cya]
rickruby has joined #ruby
havenwood has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
etcetera has quit []
vlad_starkov has joined #ruby
atno has quit [Ping timeout: 246 seconds]
blacktulip has quit [Remote host closed the connection]
chrishunt has quit [Quit: ZzZzZz...]
skinny_much has joined #ruby
Morkel has quit [Quit: Morkel]
<shevy> Morrolan: a potato?
Astralum has joined #ruby
visof has quit [Ping timeout: 246 seconds]
Astral_ has joined #ruby
acriax has quit [Remote host closed the connection]
ariedler has quit [Remote host closed the connection]
<Morrolan> Nearly. ;)
<Morrolan> No, just a machine without Ruby 2.0.
ph^ has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 276 seconds]
ph^ has joined #ruby
arya has quit [Ping timeout: 248 seconds]
ph^ has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 272 seconds]
<shevy> hah!
<shevy> I am on 1.8.7
Bosox20051 has joined #ruby
<shevy> I can't tell you how enjoyable it is without having to hassle through encoding
axl_ has quit [Quit: axl_]
arya has joined #ruby
atno has joined #ruby
luckyruby has joined #ruby
pcarrier has joined #ruby
mocfive has joined #ruby
reset has joined #ruby
adamjleonard has joined #ruby
rakl has joined #ruby
IrishGringo_ has joined #ruby
IrishGringo has quit [Ping timeout: 252 seconds]
IrishGringo_ is now known as IrishGringo
rakl has quit [Client Quit]
<joshu> hi any mustache users? I'm trying to iterate of an array and render each element but I only seem to get the same element everytime
<Xeago> joshu: not a mustache user here, post the code, might be able to help
<Banistergalaxy> Joshu isn't that a Javascript the templating language?
etcetera has joined #ruby
<Banistergalaxy> Ah cool
Scriptor` has joined #ruby
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
sambio has joined #ruby
<sthetz> If I have a module with some constants within it, how do I make all those constants available somewhere else?
<sthetz> Just including this module doesn't seem to wotk
<sthetz> work*
arya has quit [Ping timeout: 248 seconds]
<sthetz> In rspec. config.include Module::With::Constants doesn't work
momomomomo_ has quit [Quit: momomomomo_]
<joshu> Banistergalaxy hehe it'd be cool if I knew what's wrong with my code :(
Scriptor has quit [Ping timeout: 272 seconds]
sambio is now known as Abr1I
Abr1I is now known as Guest92644
Guest92644 is now known as sambio
Scriptor` has quit [Ping timeout: 272 seconds]
etcetera has quit []
arya has joined #ruby
akashj87 has quit [Quit: Leaving]
sambio has quit []
Abr1I_ has joined #ruby
rethunk has quit [Read error: Operation timed out]
vlad_starkov has joined #ruby
Abr1I_ has quit [Client Quit]
sambio has joined #ruby
guiambros has joined #ruby
skinny_much is now known as zz_skinny_much
heliumsocket has joined #ruby
Abr1I_ has joined #ruby
rton has left #ruby [#ruby]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
vlad_starkov has quit [Ping timeout: 256 seconds]
rethunk has joined #ruby
guiambros has quit [Ping timeout: 276 seconds]
banisterfiend has joined #ruby
pioz has joined #ruby
<elaptics> sthetz: what are you trying to do?
echevemaster has joined #ruby
sambio_ has joined #ruby
braoru has quit [Quit: Leaving]
El_Diablo has joined #ruby
<sthetz> elaptics: I was trying to make a module with constants that are available only in test environment (with rspec), so I tried `config.include My::Test::Constants` and it didn't work. Anyway, I just included this module outside of rspec config, and it works perfectly.
<sthetz> Though I'm not sure that this is the right way to do it
havenwood has joined #ruby
sambio has quit [Remote host closed the connection]
Abr2l has joined #ruby
codecop has quit [Remote host closed the connection]
pcarrier has quit [Quit: Textual IRC Client: www.textualapp.com]
sambio has joined #ruby
zz_skinny_much is now known as skinny_much
Abr1I_ has quit [Ping timeout: 264 seconds]
weeb1e_ has quit [Quit: No Ping reply in 180 seconds.]
mockra has joined #ruby
weeb1e has joined #ruby
Abr2l has left #ruby [#ruby]
nomenkun has joined #ruby
bhaarat has joined #ruby
sailias has joined #ruby
dawkirst has joined #ruby
<elaptics> sthetz: where do you want the constants to be available? Just within the example groups?
<sthetz> elaptics: yes.
sambio_ has quit [Ping timeout: 252 seconds]
<sthetz> But it seems like I have no choice but to include them globally in test environment
shirokuro11 has joined #ruby
El_Diablo has quit [Remote host closed the connection]
mockra has quit [Ping timeout: 240 seconds]
shirokuro11 has quit [Remote host closed the connection]
<elaptics> sthetz: hmm well I don't quite know what the rspec.include is doing, must be a little more magic so maybe constants won't work…or maybe the reference to them is different
shirokuro11 has joined #ruby
marcdel has joined #ruby
<sthetz> elaptics: this works with methods
<sthetz> but for some reason not with constants
jarin has quit [Quit: WeeChat 0.4.0]
dawkirst has quit [Ping timeout: 264 seconds]
oneirophren has joined #ruby
Es0teric has joined #ruby
baphled_1 has joined #ruby
Abr1I_ has joined #ruby
SCommette has joined #ruby
JeanMertz has quit [Quit: JeanMertz]
Abr1I_ has quit [Client Quit]
Opettaja has quit [Quit: WeeChat 0.4.0]
sambio_ has joined #ruby
baphled_ has quit [Ping timeout: 264 seconds]
SCommette has quit [Client Quit]
k610 has quit [Ping timeout: 252 seconds]
pioz has quit [Quit: This computer has gone to sleep]
<elaptics> yeah, I suspect rspec does something special since it has this as a config thing
swex_ has quit [Ping timeout: 276 seconds]
rippa has quit [Ping timeout: 240 seconds]
sambio has quit [Ping timeout: 264 seconds]
TheHermit has quit [Read error: No route to host]
pandawarrior has quit [Quit: Leaving.]
rodacato has joined #ruby
limadita has joined #ruby
sambio_ has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Remote host closed the connection]
dawkirst has joined #ruby
sambio has joined #ruby
limadita has quit [Read error: Connection reset by peer]
nomenkun has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 264 seconds]
arya has quit [Ping timeout: 248 seconds]
sambio_ has joined #ruby
arya has joined #ruby
SCommette has joined #ruby
sambio has quit [Ping timeout: 240 seconds]
generalissimo has joined #ruby
workmad3 has joined #ruby
lewix has quit [Remote host closed the connection]
ryanh has quit [Quit: Computer has gone to sleep.]
sambio_ is now known as sambio
sambio has quit [Changing host]
sambio has joined #ruby
arya has quit [Ping timeout: 248 seconds]
SCommette has quit [Client Quit]
danslo has joined #ruby
sambao21 has joined #ruby
sailias has quit [Quit: Leaving.]
Regis__ has joined #ruby
GOMADWarrior has quit [Ping timeout: 248 seconds]
dawkirst has quit [Ping timeout: 256 seconds]
Regis__ has quit [Max SendQ exceeded]
cableray has joined #ruby
nateberkopec has joined #ruby
arya has joined #ruby
mockra has joined #ruby
ariedler has joined #ruby
<droppedonmyhead_> hi. can someone explain default blocks to me?
etcetera has joined #ruby
danslo has quit [Quit: danslo]
love_color_text has joined #ruby
<droppedonmyhead_> i'm trying to write a method to pass a spec that says "reverses each word in the string returned by the default block"
ph^ has joined #ruby
<droppedonmyhead_> does anyone have a good reference for this? i haven't found anything good on stack overflow and i'm not sure where to look in the docs
MisterPostIT has quit []
Regis__ has joined #ruby
ariedler has quit [Ping timeout: 252 seconds]
ryanh has joined #ruby
whitedawg has quit [Quit: Leaving.]
unstable has quit [Changing host]
unstable has joined #ruby
etcetera has quit []
chrishough has quit [Quit: chrishough]
<elaptics> droppedonmyhead_: what is this spec you're trying to code against? the only thing that springs to mind that default block means anything to me is that I know that hashes can have a default proc specified to be used on failed key lookups…otherwise I can't say I've heard that expression used much
ph^ has quit [Ping timeout: 256 seconds]
luckyruby has quit [Remote host closed the connection]
timmow has quit [Remote host closed the connection]
Faris9 has quit [Ping timeout: 252 seconds]
dawkirst has joined #ruby
scrogson has quit [Ping timeout: 245 seconds]
jamesfung14 has quit [Ping timeout: 272 seconds]
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
weeb1e has joined #ruby
adamjleonard has quit [Quit: Leaving...]
chrishough has joined #ruby
havenwood has quit [Remote host closed the connection]
tenmilestereo has quit [Quit: Leaving]
oneirophren has quit [Ping timeout: 256 seconds]
scrogson has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
alanp has quit [Read error: Connection reset by peer]
alanp has joined #ruby
jamesfung14 has joined #ruby
AlSquire has joined #ruby
Opettaja has joined #ruby
RagingDave has quit [Quit: Ex-Chat]
chipotle_ has joined #ruby
lewix has joined #ruby
camt has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
camt has joined #ruby
Faris9 has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
baphled_1 has quit [Ping timeout: 246 seconds]
Opettaja has quit [Client Quit]
workmad3 has quit [Ping timeout: 248 seconds]
f0ster has joined #ruby
weeb1e has quit [Ping timeout: 272 seconds]
Squarepy has joined #ruby
Opettaja has joined #ruby
Astral_ has quit [Quit: Leaving]
mercwithamouth has joined #ruby
love_color_text has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 245 seconds]
sthetz has left #ruby [#ruby]
gadgetoid has quit [Ping timeout: 245 seconds]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
tds has quit [Quit: tds]
etcetera has joined #ruby
lewix has quit [Remote host closed the connection]
Bosox20051 has quit [Ping timeout: 245 seconds]
zigomir has quit [Ping timeout: 245 seconds]
mercwithamouth has quit [Ping timeout: 264 seconds]
pioz has joined #ruby
pioz has quit [Client Quit]
gadgetoid has joined #ruby
rickruby has quit [Remote host closed the connection]
RagingDave has joined #ruby
gadgetoid has quit [Client Quit]
progbyperm has quit [Read error: Connection reset by peer]
binaryplease has joined #ruby
gadgetoid has joined #ruby
workmad3 has joined #ruby
allanm has quit [Read error: Connection reset by peer]
allanm has joined #ruby
eka has joined #ruby
eka has quit [Client Quit]
rickruby has joined #ruby
ToApolytoXaos has quit [Quit: Leaving]
mercwithamouth has joined #ruby
hadees has quit [Quit: hadees]
timmow has joined #ruby
vikhyat has quit [Remote host closed the connection]
gabrielrotbart has joined #ruby
tds has joined #ruby
bakingbread has quit [Ping timeout: 264 seconds]
love_color_text has joined #ruby
arya has quit [Ping timeout: 248 seconds]
chipotle_ has quit [Quit: cya]
timmow has quit [Ping timeout: 252 seconds]
gadgetoid has quit [Quit: ZNC - http://znc.sourceforge.net]
hadees has joined #ruby
Gnubie has quit [Quit: No Ping reply in 180 seconds.]
arya has joined #ruby
Animawish has quit [Quit: Animawish]
love_color_text has quit [Ping timeout: 255 seconds]
love_color_text has joined #ruby
callmeivan has joined #ruby
<callmeivan> anybody using rubydns? passthrough does not seem to really work (sometimes it takes ages to resolve the address)
companion has quit [Ping timeout: 246 seconds]
LennyLinux has quit [Remote host closed the connection]
Gnubie has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
gstamp has joined #ruby
nomenkun has joined #ruby
companion has joined #ruby
chimkan has joined #ruby
beneggett has joined #ruby
love_color_text has quit [Ping timeout: 252 seconds]
v0n has quit [Read error: Connection reset by peer]
lewix has joined #ruby
lewix has quit [Remote host closed the connection]
<callmeivan> Exception thrown while processing Resolv::DNS::Resource::IN::ANY!
<callmeivan> RuntimeError: no datagram socket
<callmeivan> ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux]
<callmeivan> or maybe just not compatible with Ruby 2.0 ?
workmad3 has quit [Read error: Operation timed out]
nomenkun has quit [Ping timeout: 246 seconds]
girija has quit [Ping timeout: 248 seconds]
jacktrick has quit [Quit: Leaving]
yacks has quit [Ping timeout: 256 seconds]
lewix has joined #ruby
Xabarus has joined #ruby
kofno has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
rakl has joined #ruby
marwinism has quit [Ping timeout: 264 seconds]
vikhyat has joined #ruby
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
Liothen has quit [Ping timeout: 258 seconds]
lewix has quit [Remote host closed the connection]
xlab_ has quit [Remote host closed the connection]
lewix has joined #ruby
xcv has joined #ruby
lewix has quit [Remote host closed the connection]
emanu has joined #ruby
timmow has joined #ruby
lewix has joined #ruby
ZachBeta has joined #ruby
lewix has quit [Remote host closed the connection]
etcetera has quit []
lewix has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
idkazuma has joined #ruby
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
chrishunt has joined #ruby
lewix has quit [Remote host closed the connection]
timmow has quit [Ping timeout: 252 seconds]
chrishunt has quit [Client Quit]
lewix has joined #ruby
megha has joined #ruby
lewix has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
nminus1 has joined #ruby
robottinosino has quit [Quit: WeeChat 0.4.0]
camt has quit [Ping timeout: 245 seconds]
lewix has joined #ruby
emergion has joined #ruby
idkazuma has quit [Ping timeout: 260 seconds]
baba has quit [Ping timeout: 264 seconds]
lewix has quit [Remote host closed the connection]
camt has joined #ruby
idkazuma has joined #ruby
lewix has joined #ruby
binarypl1 has joined #ruby
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
chrishunt has joined #ruby
hadees has quit [Quit: hadees]
vlad_starkov has quit [Ping timeout: 245 seconds]
<droppedonmyhead_> elaptics: file://localhost/Users/Edible_Flowers/Documents/learn_ruby/05_silly_blocks/index.html
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
binaryplease has quit [Ping timeout: 252 seconds]
hadees has joined #ruby
lewix has quit [Remote host closed the connection]
Nisstyre-laptop has quit [Quit: Leaving]
lewix has joined #ruby
L8D has joined #ruby
kirun has quit [Quit: Client exiting]
<L8D> What is the difference between `i.each |X| do` and a `for x in i do`? And which should I use?
Squarepy has quit [Quit: Leaving]
lewix has quit [Remote host closed the connection]
Astralum has quit [Ping timeout: 264 seconds]
kunday has joined #ruby
<TTilus> L8D: former
lewix has joined #ruby
<L8D> ?
<L8D> I don't understand
lewix has quit [Remote host closed the connection]
skinny_much is now known as zz_skinny_much
<TTilus> L8D: iterators (i.each for example) are idiomatic ruby
<TTilus> L8D: use them
<elaptics> droppedonmyhead_: that really doesn't help much...
lewix has joined #ruby
<TTilus> L8D: you'll know when you need for
idkazuma has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
<L8D> Is the real difference just operators and methods?
<TTilus> L8D: ive earned my living by writing ruby code for last 5 years now and never once needed for
skattyadz has joined #ruby
lewix has joined #ruby
<L8D> Okay.
agarie has joined #ruby
lewix has quit [Remote host closed the connection]
Astralum has joined #ruby
lewix has joined #ruby
lewix has quit [Remote host closed the connection]
luckyruby has joined #ruby
lkba has joined #ruby
<L8D> TTilus: That's what I came here for, thanks.
lewix has joined #ruby
lewix has quit [Remote host closed the connection]
sepp2k has quit [Remote host closed the connection]
pskosinski has quit [Quit: pskosinski]
lewix has joined #ruby
skattyadz has quit [Quit: skattyadz]
luckyruby has quit [Remote host closed the connection]
Xuerian has quit [Read error: Connection reset by peer]
Xuerian has joined #ruby
BinaryMaster has joined #ruby
lewix has quit [Remote host closed the connection]
KRF has quit [Remote host closed the connection]
tylersmith has joined #ruby
<BinaryMaster> Question: can I pass a hash to a method in this manner var.some_method { :some_sym => @name, :some_other => @other }
Lamp_ has quit [Ping timeout: 256 seconds]
<BinaryMaster> or do I need to wrap that in ( )
Xuerian has quit [Read error: Connection reset by peer]
Xuerian has joined #ruby
Xeago has quit [Remote host closed the connection]
reset has quit [Quit: Leaving...]
xlab has joined #ruby
ariedler has joined #ruby
<elaptics> BinaryMaster: you can do that, no need for ( )
JesseH has joined #ruby
<elaptics> BinaryMaster: probably don't even need { } either
<BinaryMaster> elaptics, thank you
Neomex has joined #ruby
Neomex has quit [Client Quit]
* JesseH needs a ruby project to tinker with.
robottinosino has joined #ruby
* L8D needs the same once he's done with his personal scripts
<JesseH> :o
sambao21 has quit [Quit: Computer has gone to sleep.]
arya has quit [Ping timeout: 248 seconds]
JesseH has left #ruby ["https://github.com/jessehorne/"]
vikhyat has quit [Remote host closed the connection]
mockra has quit [Remote host closed the connection]
lewix has joined #ruby
crudo has joined #ruby
binarypl1 has quit [Ping timeout: 256 seconds]
arya has joined #ruby
xcv has quit [Remote host closed the connection]
Guedes0 has joined #ruby
reset has joined #ruby
wargasm1 has quit [Ping timeout: 264 seconds]
nickbend1r has joined #ruby
nickbender has joined #ruby
jekotia has quit [Ping timeout: 252 seconds]
bradhe_ has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
MrZYX is now known as MrZYX|off
r0bgleeson has quit [Ping timeout: 272 seconds]
xlab has quit [Remote host closed the connection]
xlab has joined #ruby
madb055 has joined #ruby
predator217 has joined #ruby
slainer68 has quit [Remote host closed the connection]
ZachBeta has quit [Quit: Computer has gone to sleep.]
d11wtq has quit [Ping timeout: 256 seconds]
bradhe has joined #ruby
bradhe_ has quit [Ping timeout: 264 seconds]
elaptics is now known as elaptics`away
predator117 has quit [Ping timeout: 264 seconds]
justsee has quit [Ping timeout: 255 seconds]
tomsthumb has joined #ruby
tomsthumb has quit [Max SendQ exceeded]
idkazuma has joined #ruby
r0bby has quit [Ping timeout: 258 seconds]
timmow has joined #ruby