beawesomeinstead has quit [Ping timeout: 272 seconds]
shennyg__ has quit [Ping timeout: 272 seconds]
akahn has quit [Ping timeout: 272 seconds]
kwd_ has quit [Ping timeout: 272 seconds]
th2389____ has quit [Ping timeout: 272 seconds]
bcardarella___ has joined #ruby-lang
bcardarella___ has quit [Changing host]
ggherdov__ has joined #ruby-lang
ggherdov__ has quit [Changing host]
manveru has quit [Changing host]
manveru has joined #ruby-lang
ramblinpeck_ has quit [Changing host]
ramblinpeck_ has joined #ruby-lang
jlpeters_ has joined #ruby-lang
jlpeters_ has quit [Changing host]
Guest85414______ has quit [Changing host]
Guest85414______ has joined #ruby-lang
lacrosse_ has joined #ruby-lang
esmet__ has quit [Changing host]
esmet__ has joined #ruby-lang
joshingly has quit [Changing host]
joshingly has joined #ruby-lang
kwd_ has joined #ruby-lang
mikecmpbll has joined #ruby-lang
tectonic has quit []
akahn has joined #ruby-lang
allomov has joined #ruby-lang
vondruch has quit [Changing host]
vondruch has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
shennyg__ has joined #ruby-lang
lacrosse_ has quit [Changing host]
lacrosse_ has joined #ruby-lang
kwd_ has quit [Changing host]
kwd_ has joined #ruby-lang
akahn has quit [Changing host]
akahn has joined #ruby-lang
th2389____ has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
beawesomeinstead has quit [Changing host]
shennyg__ has quit [Changing host]
shennyg__ has joined #ruby-lang
taylorrf has joined #ruby-lang
chussenot has joined #ruby-lang
taylorrf has quit [Ping timeout: 246 seconds]
mbr__ is now known as mbr
realDAB has joined #ruby-lang
thomasxie has joined #ruby-lang
realDAB has quit [Quit: realDAB]
marr has joined #ruby-lang
marr is now known as Guest4960
shinnya has quit [Ping timeout: 245 seconds]
elia has joined #ruby-lang
Averna has quit [Quit: Leaving.]
Mon_Ouie has quit [Ping timeout: 260 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
bruno- has joined #ruby-lang
ikrima has joined #ruby-lang
dagda1 has joined #ruby-lang
tkuchiki has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 255 seconds]
bruno- has quit [Ping timeout: 258 seconds]
mfn_ has left #ruby-lang ["WeeChat 0.3.2"]
<maloik_>
yorickpeterse: you weren't at the beachparty?
<maloik_>
I completely forgot you were going to baruco until I saw your lightning talk, so I decided to grab you at the beach but didn't spot you anymore
charliesome has quit [Quit: zzz]
valeri_ufo has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
taylorrf has joined #ruby-lang
taylorrf has quit [Ping timeout: 246 seconds]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
Guest4960 has quit []
Guest4960 has joined #ruby-lang
charliesome has joined #ruby-lang
Guest4960 has quit [Client Quit]
marr123 has joined #ruby-lang
marr123 has quit [Remote host closed the connection]
moviendo_ has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
bruno- has quit [Ping timeout: 246 seconds]
arBmind has quit [Quit: Leaving.]
j4cknewt has quit [Remote host closed the connection]
<ledestin>
darix: a nice way to talk to yourself
nofxx has quit [Ping timeout: 258 seconds]
<yorickpeterse>
maloik_: I was, did we just completely miss each other? :<
<yorickpeterse>
also hm 13:00, I better shower and get some breakfast
<yorickpeterse>
last day in Barceona
<yorickpeterse>
* Barcelona
shinnya has joined #ruby-lang
pabloh has quit [Quit: Saliendo]
chussenot has quit [Quit: chussenot]
jhass is now known as jhass|off
jhass|off is now known as jhass
jhass is now known as jhass|off
dennus has joined #ruby-lang
jhass|off is now known as jhass
benlovell has quit [Ping timeout: 260 seconds]
<maloik_>
already at work :(
<maloik_>
and yea apparently we did, sucks
<maloik_>
I even wandered through the crowd a couple times looking for people I knew but hadn't spoken yet, never saw you i suppose
marr has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
marr is now known as Guest25615
Guest25615 has quit [Client Quit]
letenje has joined #ruby-lang
chills42 has joined #ruby-lang
ta has joined #ruby-lang
sush24 has joined #ruby-lang
allomov has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
letenje_ has joined #ruby-lang
allomov has joined #ruby-lang
<yorickpeterse>
I was spreading the word of our lord and saviour Rubinius
<yorickpeterse>
Oddly enough, many people move away from Ruby due to perf reasons without checking out JRuby/Rbx
<yorickpeterse>
"Oh so we rewrote that thing in Scala" - "Did you check out Rubinius/JRuby?" - "Ehm no not really, not sure why we didn't"
letenje has quit [Ping timeout: 258 seconds]
bruno- has quit [Ping timeout: 258 seconds]
benlovell has joined #ruby-lang
kek_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
ruby-lang912 has joined #ruby-lang
<maloik_>
:-)
<ruby-lang912>
hi, can anyone explain what this hash here means please #{app_config['config_dir']}"
kek has quit [Ping timeout: 258 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
<maloik_>
I don't think anyone can without knowing how/where it was defined
<maloik_>
do a project-wide search for app_config
<yorickpeterse>
bah, seems this is one of those countries where shit's closed on Monday
<maloik_>
I imagine this is a Rails project? if so, you'll be able to find it in an initializer
<maloik_>
yorickpeterse: they're having siesta time probably?
<maloik_>
We usually went for starbucks, pretty safe bet in terms of opening hours
<yorickpeterse>
I was going to starbucks later today to do some hacking
<yorickpeterse>
(yes I'm a nerd)
<ruby-lang912>
I just need to know what the hash stands for, i don't understand that syntax and I can't find an explanation for it so far
<surrounder>
yorickpeterse: hipster more ;)
<yorickpeterse>
surrounder: don't have a macbook
<yorickpeterse>
ruby-lang912: #{} is used for embedding Ruby code in a string
<surrounder>
damn, and you're allowed at starbucks?
<yorickpeterse>
app_config['config_dir'] just accesses the "config_dir" key from the app_config hash
<ruby-lang912>
directory "#{app_config['config_dir']}" do
<yorickpeterse>
surrounder: so far I've never been denied
<surrounder>
hehe
<surrounder>
they opened this other hipsterplace in town here too called 'bagels and beans', had never heard of that one before but the hipsterness is huge
<surrounder>
doesn't quite fit this town
<[spoiler]>
"the hispterness"
<ruby-lang912>
Ah, brilliant thank you , I'm trying to write my first chef cookbook and come across that syntax
<yorickpeterse>
surrounder: dude, bagels and beans is as old as can be
<yorickpeterse>
they've been around for years
j4cknewt has joined #ruby-lang
<surrounder>
so I've heard, never encountered them before though
joelmheim_ is now known as joelmheim
ldnunes has joined #ruby-lang
<yorickpeterse>
sssshhhiiii, there's an egyptian museum nearby too
<yorickpeterse>
Fuck Gaudi, I want to see that
j4cknewt has quit [Ping timeout: 250 seconds]
<maloik_>
oooh, he meant the # character :-)
<yorickpeterse>
man gaudi must've been dropping a lot of acid
<yorickpeterse>
ok 3 museums should do, I'm off, toodles
fullybaked has joined #ruby-lang
chussenot has joined #ruby-lang
cored has quit [Quit: leaving]
yfeldblum has joined #ruby-lang
marr has joined #ruby-lang
dingus_khan has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
letenje_ has quit [Quit: Leaving]
ur5us has joined #ruby-lang
dingus_khan has quit [Ping timeout: 246 seconds]
<[spoiler]>
Hmm. Are Ruby strings interpolated at runtime?
<[spoiler]>
also, is it implementation-defined or not
taylorrf has joined #ruby-lang
moviendo_ has quit [Remote host closed the connection]
Forgetful_Lion has quit [Remote host closed the connection]
nifoc has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
dangerousdave has joined #ruby-lang
<toretore>
[spoiler]: [true,false]
nomadicoder_ is now known as nomadicoder
dangerousdave has quit [Client Quit]
jgpawletko has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 255 seconds]
<[spoiler]>
toretore, thanks :P
<apeiros>
[spoiler]: ruby only has run time :)
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<[spoiler]>
apeiros, I meant to ask whether the interpreter "expands" the literal before it executes that bit of bytecode it or whether it just blindly generates a new string, then interpolates it again
<[spoiler]>
-it after bytecode
sepp2k has joined #ruby-lang
dangerousdave has joined #ruby-lang
dangerousdave has quit [Client Quit]
SuMo_D has joined #ruby-lang
allomov__ has joined #ruby-lang
allomov has quit [Read error: Connection reset by peer]
SuMo_D has quit [Ping timeout: 272 seconds]
danijoo_ has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
relix has joined #ruby-lang
Sgeo_ has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: zzz]
charliesome has joined #ruby-lang
centrx has joined #ruby-lang
centrx is now known as Guest73100
hellangel7 has joined #ruby-lang
dwknoxy has joined #ruby-lang
snsei has joined #ruby-lang
Guest73100 has quit [Quit: The plan is programmed into every one of my one thousand robots]
cntrx has joined #ruby-lang
<harly_>
xuepdu
<harly_>
shazzam! (wrong window)
cntrx has quit [Client Quit]
kgrz has quit [Remote host closed the connection]
cntrx has joined #ruby-lang
Blaguvest has joined #ruby-lang
kgrz has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
kek_ has quit [Remote host closed the connection]
amystephen has joined #ruby-lang
rcvalle has joined #ruby-lang
bruno- has joined #ruby-lang
snsei has quit [Ping timeout: 272 seconds]
crankharder has joined #ruby-lang
yalue has joined #ruby-lang
cntrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
spastorino has joined #ruby-lang
cntrx has joined #ruby-lang
cntrx has quit [Client Quit]
joast has quit [Quit: Leaving.]
centrx has joined #ruby-lang
oleo has joined #ruby-lang
kek has joined #ruby-lang
yfeldblum has joined #ruby-lang
symm- has quit [Ping timeout: 272 seconds]
arBmind has joined #ruby-lang
bruno-_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 246 seconds]
bruno-_ has quit [Ping timeout: 258 seconds]
kfpratt has joined #ruby-lang
workmad3 has joined #ruby-lang
jo__ has joined #ruby-lang
stamina has quit [Ping timeout: 250 seconds]
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
realDAB has joined #ruby-lang
SuMo_D has joined #ruby-lang
ta has quit [Remote host closed the connection]
SuMo_D has quit [Ping timeout: 258 seconds]
kek has quit [Remote host closed the connection]
kek has joined #ruby-lang
TvL2386 has quit [Remote host closed the connection]
bruno-_ has joined #ruby-lang
ayonkhan has joined #ruby-lang
[spoiler] has quit [Remote host closed the connection]
bruno-_ has quit [Ping timeout: 245 seconds]
realDAB has quit [Quit: realDAB]
kgrz has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
joast has joined #ruby-lang
Guest46206 is now known as `micro
j4cknewt has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
kfpratt has joined #ruby-lang
tkuchiki has joined #ruby-lang
bruno-_ has joined #ruby-lang
whippythellama has joined #ruby-lang
hellangel7 has quit [Remote host closed the connection]
hellangel7 has joined #ruby-lang
j4cknewt has quit [Ping timeout: 250 seconds]
kfpratt has quit [Ping timeout: 258 seconds]
chussenot has quit [Quit: chussenot]
skade has joined #ruby-lang
skade has quit [Excess Flood]
skade has joined #ruby-lang
skade has quit [Excess Flood]
tenderlove has joined #ruby-lang
skade has joined #ruby-lang
chouhoul_ has joined #ruby-lang
dingus_khan has joined #ruby-lang
klmlfl has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
kimegede has quit [Quit: Leaving...]
klmlfl has joined #ruby-lang
benhaan has joined #ruby-lang
gjaldon has joined #ruby-lang
dingus_khan has quit [Ping timeout: 246 seconds]
cmhobbs has joined #ruby-lang
cmhobbs has joined #ruby-lang
chussenot has joined #ruby-lang
charliesome has quit [Quit: zzz]
bsvineet_ has quit [Remote host closed the connection]
RobertBirnie has joined #ruby-lang
tbuehlmann has quit [Quit: Leaving]
h4b0 has joined #ruby-lang
<h4b0>
hi all :)
<centrx>
!hi
<h4b0>
i have one question about poltergeist-capybara-angular, anyone can help?
SuMo_D has joined #ruby-lang
mistym has joined #ruby-lang
<centrx>
h4b0, a) best results if you just ask the question
<centrx>
h4b0, b) also try #ruby and #rubyonrails
<h4b0>
hmm, thanks :)
shinnya has quit [Ping timeout: 245 seconds]
apeiros has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
kek_ has joined #ruby-lang
<h4b0>
I made autocomplete directive in angular with jquery-ui and it working fine on website, but i have problem with pass integration test(capybara). I use poltergeist as driver with phantomjs.
callmeishmael has joined #ruby-lang
SuMo_D has quit [Ping timeout: 260 seconds]
<h4b0>
The problem is that, i use watch function for input, which giving permission to autocomplete after written hash.
<h4b0>
watch function in angular ofc.
callmeishmael has left #ruby-lang [#ruby-lang]
kek has quit [Ping timeout: 272 seconds]
<h4b0>
hmm and this is funny cuz when i break test with binding.pry and i manually write instructions that working fine :)
callmeishmael has joined #ruby-lang
fullybaked has quit []
<maloik_>
Is there more coming? Perhaps it's me (and my complete lack of understanding of how Angular works) but I don't see a question
kek_ has quit [Ping timeout: 255 seconds]
callmeishmael has left #ruby-lang [#ruby-lang]
<maloik_>
We'll need to see code, logs, errors to help I imagine
<h4b0>
sure :)
<h4b0>
sec
robbyoconnor has quit [Ping timeout: 250 seconds]
<maloik_>
Most likely won't be able to answer myself (leaving soon), but you'll need it anyway if you want other people to be able to help
tkuchiki has quit [Remote host closed the connection]
dingus_khan has quit [Ping timeout: 272 seconds]
bsvineeth has joined #ruby-lang
kfpratt has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AmBienCeD has joined #ruby-lang
redtomahawk has joined #ruby-lang
gjaldon has joined #ruby-lang
<bougyman>
what lib would you use for a beanstalk consumer that had to be always running?
robbyoconnor has joined #ruby-lang
pdoherty has joined #ruby-lang
j4cknewt has joined #ruby-lang
SuMo_D has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
<darix>
bougyman: isnt the part "what you do with the data consumed by that consumer" almost more important?
rippa has joined #ruby-lang
sharpmachine has joined #ruby-lang
jdecuirm has quit [Remote host closed the connection]
<bougyman>
darix: yes, just trying to hear from someone actually using one.
jdecuirm has joined #ruby-lang
<darix>
bougyman: i am sorry. we dont use it. we use delayed_job and sidekiq
redtomahawk has quit [Quit: Leaving...]
Johz has joined #ruby-lang
<darix>
but sidekiq only because discourse is using it
<bougyman>
I have a very solid worker that uses em::beanstalk.
|jemc| has joined #ruby-lang
<bougyman>
but em::beanstalk hasn't had love in 2 years.
Lewix has joined #ruby-lang
<bougyman>
we tried backburner on a project and it's failing miserably
<darix>
bougyman: does it *need* love?
sepp2k has quit [Quit: Leaving.]
momomomomo has joined #ruby-lang
<darix>
bougyman: something eventmachine based would have been my first thought too :)
sepp2k has joined #ruby-lang
allomov__ has quit [Remote host closed the connection]
<toretore>
bougyman: why are you looking to change something that is already "solid"?
taylorrf has quit [Remote host closed the connection]
dagda1 has quit [Read error: Connection reset by peer]
dagda1 has joined #ruby-lang
<darix>
toretore: well the question to move to something maintained is not that bad. if you get stuck on old code that noone cares about anymore, is not a good situation either
<toretore>
how do you know it's not "maintained"?
achiu has quit [Ping timeout: 272 seconds]
achiu1 has joined #ruby-lang
<toretore>
lack of commits is not it
<toretore>
unresolved issues, maybe
<toretore>
nobody ever considers that a lack of commits just means that something is stable, done
<darix>
toretore: that's why i asked if it needs love :p
luiz_lha has quit [Read error: Connection reset by peer]
<toretore>
ok
dagda1 has quit [Read error: Connection reset by peer]
luiz_lha has joined #ruby-lang
dagda1 has joined #ruby-lang
yfeldblum has joined #ruby-lang
benhaan has quit [Read error: Connection reset by peer]
imkmf has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
h4b0 has quit []
yfeldblum has quit [Ping timeout: 258 seconds]
rippa has joined #ruby-lang
gjaldon has quit []
mistym has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
maloik_ has quit [Ping timeout: 250 seconds]
dagda1 has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby-lang
dagda1 has joined #ruby-lang
RobertBirnie has joined #ruby-lang
maloik has joined #ruby-lang
thagomizer has joined #ruby-lang
araujo has joined #ruby-lang
j4cknewt has joined #ruby-lang
dingus_khan has joined #ruby-lang
klmlfl_ has joined #ruby-lang
gjaldon has quit []
klmlfl__ has joined #ruby-lang
klmlfl has quit [Ping timeout: 250 seconds]
dingus_khan has quit [Ping timeout: 272 seconds]
klmlfl_ has quit [Ping timeout: 246 seconds]
mistym has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mikecmpbll has quit [Ping timeout: 272 seconds]
teleporting_cat has joined #ruby-lang
chussenot has quit [Ping timeout: 245 seconds]
_musl_ has quit [Quit: WeeChat 0.4.3]
musl has joined #ruby-lang
bin7me has joined #ruby-lang
bin7me has quit [Remote host closed the connection]
redtomahawk has quit [Remote host closed the connection]
<wallerdev>
because ruby is a lot slower than C
redtomahawk has joined #ruby-lang
tkuchiki has joined #ruby-lang
<hramrach>
and OpenGL is done on the GPU ...
gnufied has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
<wallerdev>
well all the code you need to run each frame to determine what to draw using opengl isnt done on the gpu?
yfeldblum has joined #ruby-lang
<hramrach>
like the same as last frame?
<wallerdev>
oh you're drawing a static scene with opengl? lol
<hramrach>
for it to change the user must move it. that's even slower than ruby
elia has quit [Quit: Computer has gone to sleep.]
redtomahawk has quit [Client Quit]
<wallerdev>
alright
<wallerdev>
go for it :)
<wallerdev>
looks like theres some options if you search ruby opengl bindings
saarinen has joined #ruby-lang
tkuchiki has quit [Ping timeout: 272 seconds]
<hramrach>
I found a teapot sample
saarinen has quit [Client Quit]
<hramrach>
should be good enough to translate same random language OpenGL to ruby
matp has quit [Ping timeout: 250 seconds]
yatish27 has joined #ruby-lang
<whitequark>
opengl doesn't have to be slow with ruby, especially if you use VBOs
dagda1 has joined #ruby-lang
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
chills42 has joined #ruby-lang
mistym has joined #ruby-lang
Aethenelle has joined #ruby-lang
mistym_ has quit [Ping timeout: 258 seconds]
havenwood has joined #ruby-lang
redtomahawk has joined #ruby-lang
mkaesz has quit [Remote host closed the connection]
mkaesz has joined #ruby-lang
Blaguvest has quit []
AKASkip has quit [Ping timeout: 260 seconds]
mkaesz has quit [Remote host closed the connection]
mkaesz has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jbardin>
yea the promise of ruby game / opengl frameworks always seem to fall short in my experience
ged has joined #ruby-lang
<pipework>
Open source promises are cheap.
<jbardin>
opengl can be done in the in-effecient way, or the effecient way… so its possible… but then you get into deep object /scene graphs and high object orientating of your code and it starts to fall apart
dingus_khan has quit [Remote host closed the connection]
<jbardin>
so then you tweak the graphics layers to speed things up, then you get re-CPU bound on the AI / pathfinding bits and or really tight loops over alot of objects and it falls apart again
taylorrf has quit []
<whitequark>
yeah, I'm not in fact saying that Ruby is great for 3D games
mkaesz has quit [Ping timeout: 272 seconds]
<whitequark>
just that opengl likely isn't going to be the bottleneck
amerine has joined #ruby-lang
<whitequark>
(or ruby/opengl interface)
fragamus has joined #ruby-lang
dagda1 has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Aethenelle has quit [Ping timeout: 272 seconds]
luiz_lha has quit [Remote host closed the connection]
luiz_lha has joined #ruby-lang
cmhobbs has quit [Remote host closed the connection]
whippythellama has quit [Quit: whippythellama]
yatish27 has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
saarinen has joined #ruby-lang
j4cknewt has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
tsou has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
taq has quit [Ping timeout: 272 seconds]
benlovell has quit [Ping timeout: 250 seconds]
klmlfl has joined #ruby-lang
migbar has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
pdoherty has quit [Quit: pdoherty]
klmlfl has quit [Read error: No route to host]
loincloth has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
imkmf_ has joined #ruby-lang
migbar has quit [Ping timeout: 245 seconds]
luiz_lha has quit [Remote host closed the connection]
<jdecuirm>
Im getting the set_name : wrong number of arguments (1 for 0)
<momomomomo>
jdecuirm: read the link
<momomomomo>
jdecuirm: paste your full trace
<momomomomo>
it also seems that from what you pasted, you’re calling set_name with an argument (line 3)
<redtomahawk>
jdecuirm: you need `def set_name(name)`
<momomomomo>
set_name doesn’t take an argument
<jdecuirm>
I wanna die, now i see, the first time the example does not have (name) and the second example does
<jdecuirm>
..Thanks a lot lol
<redtomahawk>
:)
<jdecuirm>
I'm quite new to Ruby, so thanks for the help!
<redtomahawk>
good luck!
<ericwood>
enjoy your ruby adventures
pabs has quit [Quit: leaving]
yfeldblum has quit [Read error: Connection reset by peer]
<jdecuirm>
Thanks a lot redtomahawk! i hope i don't die trying. Can you suggest me any page with exercises to learn better? and practice?
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
mkaesz has joined #ruby-lang
yfeldblum has joined #ruby-lang
<momomomomo>
jdecuirm: yes, there are a number of books on ruby
<redtomahawk>
jdecuirm: a quick google search will find many ruby tutorials ... I think its good to just try and build something simple with ruby and research questions as you go
<momomomomo>
The Well Grounded Rubyist is good
<momomomomo>
once you’re done wiht that, go on to MetaProgramming in ruby, or an intermediate book before that
<momomomomo>
TWGR will get you pretty far
<womble>
For things to write to develop your skills, there's not a lot better than standard (basic) Unix utilities like cat, cp, mv, grep, etc
<womble>
I like 'strings' as a simple puzzle program
<jdecuirm>
Oh, well, i was with the Beginning Ruby
<jdecuirm>
I want to learn ruby, to go for Rails, i'm an iOS developer, and i need a backend
<redtomahawk>
womble's ideas are good
<jdecuirm>
but, paying for BaaS is not my style
<redtomahawk>
smart, imho BaaS is seldom worth it anyways :)
<redtomahawk>
DIY!
<redtomahawk>
lol
<jdecuirm>
So, The Well Grounded Rubyist is a great option?
<jdecuirm>
I was thinking TWGR and Eloquent Ruby, then jump right for Rails
<momomomomo>
and TWGR is honestly pretty standard and very thorough
taq has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
mkaesz has quit [Ping timeout: 255 seconds]
yfeldblu_ has quit [Remote host closed the connection]
<jdecuirm>
I'm in Ubuntu, using rvm, i made the mistake to "build" with the netbeans plug in and now i don't know where is the trashy gem i created lol
yfeldblum has quit [Read error: Connection reset by peer]
<redtomahawk>
lol ... law of leaky abstractions?
yfeldblum has joined #ruby-lang
<momomomomo>
jdecuirm: ‘gem environment'
<momomomomo>
oh, you built with an IDE? ask the ide
<redtomahawk>
netbeans took your gem hostage!
<djbkd>
TWGR is a solid book, too. The Ruby Programming Language by matz and david flanagan was pretty solid, too.
emmesswhy has joined #ruby-lang
<jdecuirm>
hahahaha that was a mistake! i guess i'll stick with Aptana or at least sublime text 2 lol
<redtomahawk>
text editors are really good when learning new things because they don't do everything for you ...
<redtomahawk>
IDE's tend to hide details from you, which can make your more productive, but hurt learning if you don't know the details
<redtomahawk>
imo
<jdecuirm>
in fact i learned that way :P, but for sake of simplicity with the ctrl + space to complete methods...
<redtomahawk>
s/your/you
yatish27 has joined #ruby-lang
<redtomahawk>
whichever works for you :)
<jdecuirm>
first i'll find the created gem, and delete it! hahahaha
<redtomahawk>
+1
<redtomahawk>
lol
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
<jdecuirm>
....
<jdecuirm>
in the method def name
skade has quit [Quit: Computer has gone to sleep.]
<jdecuirm>
i just put @first_name + ' ' + @last_name
klmlfl has quit [Ping timeout: 272 seconds]
<jdecuirm>
and i get the error undefined method + for nil:NilClass
<redtomahawk>
try "#{@first_name} #{@last_name}"
fragamus has quit [Quit: Computer has gone to sleep.]
redtomahawk has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
<jdecuirm>
yes it works with interpolation! but why is not working according the book xD?
yfeldblum has joined #ruby-lang
<jdecuirm>
One more question! TWGR is for beginner or medium or advanced :0
<momomomomo>
it’s good for all levels
<jdecuirm>
Oh
<jdecuirm>
well
<jdecuirm>
*throwing the other book, reading the other*
<ledestin>
jdecuirm: one of the fields is nil, that’s why it behaves like that
<jdecuirm>
Then that sucks! cuz' i used the split method to get both :/
<jdecuirm>
I'll recheck the code! Thanks ledestin!
<ledestin>
I think interpolation is faster than +, there are 2 new strings created with +, and I suppose there’s only one with interpolation
<ledestin>
jdecuirm: you’re welcome
migbar has joined #ruby-lang
thomasxie has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
araujo has quit [Ping timeout: 260 seconds]
benanne has quit [Quit: kbai]
migbar has quit [Ping timeout: 246 seconds]
marr has quit [Ping timeout: 246 seconds]
migbar has joined #ruby-lang
ruby-lang007 has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
<zenspider>
jdecuirm: your @first_name value is nil, and you're calling #+ on it, which doesn't exist. Can you show your split code?
<zenspider>
ledestin: not necessarily faster, per se, but it creates less garbage
<zenspider>
another way that I like is Array#join
mikecmpbll has joined #ruby-lang
<ruby-lang007>
Anyone know how to catch rspec exceptions? im trying to run a bunch in a loop and pass if one of them passes?
<jdecuirm>
Ok! let me show you!
tdy has quit [Ping timeout: 272 seconds]
SuMo_D has quit [Remote host closed the connection]
<zenspider>
ruby-lang007: you're trying to do WHAT?
SuMo_D has joined #ruby-lang
<zenspider>
that doesn't sound like good testing practices
<zenspider>
jdecuirm: 1) use attr_accessor, not methods that start with "set_"
<ruby-lang007>
im trying to test an array of objects, that one of them will match the expectations
<jdecuirm>
Oh, it's just the part of the learning in the book :P
<zenspider>
second, `def set_name` but you're calling `set_name(name)`, which obviously won't work
<jdecuirm>
Yes, i fixed that with the def set_name(name)
<zenspider>
third, as pointed out in your comments, you're typo'ing @first_name on line 7, which is the real problem
<jdecuirm>
Yes i just saw it! Thanks!
<zenspider>
going back to #1) `def name= name`, then remove set_first_name and set_last_name entirely. Replace with `attr_accessor :first_name, :last_name`
emmesswhy has quit [Quit: Leaving]
<jdecuirm>
Yeah, is that i was following the book example xd but thanks!
SuMo_D has quit [Ping timeout: 272 seconds]
tsou has quit [Quit: off]
charliesome has joined #ruby-lang
tectonic has joined #ruby-lang
mikecmpb_ has joined #ruby-lang
face has joined #ruby-lang
jds__ has joined #ruby-lang
tsou has joined #ruby-lang
faces has quit [Ping timeout: 272 seconds]
mbull9 has quit []
dm78 has joined #ruby-lang
dm78 has quit [Client Quit]
TaQ1 has joined #ruby-lang
djbkd has quit [Remote host closed the connection]