jimeh has quit [Quit: Computer has gone to sleep.]
teedex has joined #ruby
havenn has quit [Ping timeout: 255 seconds]
chrisja has quit [Quit: leaving]
RandyInLA has joined #ruby
pyr0commie has quit [Quit: Leaving]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
teedex has quit [Ping timeout: 240 seconds]
ebouchut has quit [Ping timeout: 240 seconds]
RandyInLA__ has joined #ruby
RandyInLA has quit [Read error: Connection reset by peer]
RandyInLA__ is now known as RandyInLA
joeycarmello has joined #ruby
Elico has joined #ruby
ebouchut has joined #ruby
piotr_ has quit [Ping timeout: 244 seconds]
Elico has quit [Read error: Connection reset by peer]
joeycarmello has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 246 seconds]
joeycarmello has joined #ruby
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
|RicharD| has quit [Quit: Sto andando via]
x0F_ is now known as x0F
ij has quit [Ping timeout: 248 seconds]
noyb has quit [Ping timeout: 264 seconds]
devdude has joined #ruby
ij has joined #ruby
thestereobus has joined #ruby
lolcathost has quit [Ping timeout: 248 seconds]
Hanmac has quit [Ping timeout: 265 seconds]
johnmilton has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
Elico has joined #ruby
Elico has quit [Read error: Connection reset by peer]
johnmilton has joined #ruby
seanwash has joined #ruby
thestereobus has quit [Ping timeout: 244 seconds]
thone_ has joined #ruby
thestereobus has joined #ruby
sporkball has joined #ruby
Elico has joined #ruby
BrianJ has joined #ruby
generalissimo has quit [Remote host closed the connection]
becom33 has quit [Ping timeout: 246 seconds]
thone has quit [Ping timeout: 240 seconds]
lolcathost has joined #ruby
lolcathost has quit [Changing host]
lolcathost has joined #ruby
emmanuelux has quit [Quit: emmanuelux]
thestereobus has quit [Client Quit]
arya_ has quit [Ping timeout: 245 seconds]
lolcathost has quit [Ping timeout: 244 seconds]
ebouchut has quit [Ping timeout: 260 seconds]
mercwithamouth has quit [Ping timeout: 250 seconds]
ebouchut has joined #ruby
clj_newb has quit [Ping timeout: 260 seconds]
shtirlic has joined #ruby
becom33 has joined #ruby
mklappstuhl has quit [Ping timeout: 240 seconds]
slainer68 has quit [Remote host closed the connection]
SeySayux has quit [Ping timeout: 248 seconds]
lorn has quit [Ping timeout: 248 seconds]
ephemerian has quit [Quit: Leaving.]
shtirlic_ has quit [Ping timeout: 248 seconds]
klip has quit [Ping timeout: 248 seconds]
melder has quit [Ping timeout: 248 seconds]
naquad has quit [Ping timeout: 248 seconds]
tos9 has quit [Ping timeout: 248 seconds]
lorn has joined #ruby
pcarrier has quit [Read error: Connection reset by peer]
klip has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
emmanuelux has joined #ruby
SeySayux has joined #ruby
tos9 has joined #ruby
naquad has joined #ruby
sporkball has quit [Ping timeout: 260 seconds]
melder has joined #ruby
niklasb has quit [Ping timeout: 245 seconds]
guns has joined #ruby
pcarrier has joined #ruby
pcarrier has quit [Max SendQ exceeded]
pskosinski has quit [Ping timeout: 252 seconds]
pcarrier has joined #ruby
fsck3r has joined #ruby
hackerdude has quit [Remote host closed the connection]
iPhoneMRZ has joined #ruby
MasterIdler has quit [Quit: MasterIdler]
nilg has joined #ruby
lolcathost has joined #ruby
daniel_-_ has quit [Quit: WeeChat 0.3.9.1]
xAndy is now known as xandy
daniel_- has joined #ruby
CamonZ_ has joined #ruby
fsck3r has quit [Quit: Leaving...]
tuannat has joined #ruby
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
lolcathost has joined #ruby
fsck3r has joined #ruby
icole has joined #ruby
fsck3r has quit [Client Quit]
icole has quit [Remote host closed the connection]
joofsh has joined #ruby
sporkball has joined #ruby
slainer68 has joined #ruby
shtirlic_ has joined #ruby
LucidDreamZzZ has joined #ruby
u89 has quit [Remote host closed the connection]
klip has quit [Ping timeout: 240 seconds]
d34th4ck3r has joined #ruby
klip has joined #ruby
staafl has quit [Ping timeout: 244 seconds]
ebobby has quit [Quit: Lost terminal]
brianpWins has quit [Quit: brianpWins]
LouisGB has quit [Ping timeout: 264 seconds]
ryanf has joined #ruby
shtirlic_ has quit [Ping timeout: 244 seconds]
sporkball has quit [Quit: Computer has gone to sleep.]
slainer68 has quit [Ping timeout: 252 seconds]
mercwithamouth has joined #ruby
brandon_ has joined #ruby
fsck3r has joined #ruby
BrianJ has quit [Quit: BrianJ]
brandon has quit [Ping timeout: 246 seconds]
<devdude>
Hi #ruby, first off happy thanksgiving. I have a question. What were your first programming projects with ruby? I want to explore Back End Development. Currently the furthest I've been is slicing and implementing .psd web designs and I'm looking to go further.
<rssfan99>
I think it's not possible given my budget? :x
<seanstickle>
You'd spend that budget better with PHP
<shevy>
rssfan99 sounds more fitting to rubyonrails
<shevy>
"let them enter their feed url" that's pretty much a web-only task
seanyo has quit [Ping timeout: 260 seconds]
<rssfan99>
well I tried there
<rssfan99>
but unfortunatley it would not let me post
<rssfan99>
seanstickle are you familiar with feedburner?
<seanstickle>
rssfan99: yup
<rssfan99>
what would be best for that: Perl, PHP or RubyonRails
<seanstickle>
Makes absolutely no difference.
bradhe has quit [Remote host closed the connection]
<rssfan99>
however, given the budget, php would be best, correct?
iamjarvo has joined #ruby
<seanstickle>
Yup
<rssfan99>
Of course I can do things with php so the project isnt start to finish
<rssfan99>
no way id get the whole service, finished site and stuff, for 1 grand
mercwithamouth has quit [Ping timeout: 244 seconds]
<rssfan99>
thanks for your help seanstickle :)
<seanstickle>
Sure
seggy has joined #ruby
bradhe has joined #ruby
techhelp has joined #ruby
<havenn_>
rssfan99: I'd use Rails if you can find someone. Might want to see if anyone in #RubyOnRails bites.
<seanstickle>
You might be able to afford 8 hours of someone there. :)
nari has joined #ruby
<rssfan99>
Yeah I think they are too good for this lol
<rssfan99>
I am a college student don't have much money :)
seggy is now known as segmond
<seanstickle>
Or just learn how to program yourself.
segmond has left #ruby [#ruby]
fsck3r has joined #ruby
noyb has joined #ruby
<rssfan99>
I am, slowly.
peter____ has joined #ruby
hadees has joined #ruby
peter____ is now known as Bane
<rssfan99>
It's unrealistic to finish the project without outside help though
<Bane>
yo shinji
<rssfan99>
*impossible probably
<shevy>
18.0148.round(4) hmm there was no easy way to round for floats?
techhelp has quit [Ping timeout: 276 seconds]
<seanstickle>
18.0148.round(4) #=> 18.0148
<seanstickle>
Is that a problem?
fsck3r has quit [Client Quit]
<rssfan99>
well thanks for the advice, Happy Thanksgiving
rssfan99 has left #ruby [#ruby]
bradhe has quit [Remote host closed the connection]
rippa has joined #ruby
bradhe has joined #ruby
<hadees>
i'm having some trouble metaprograming. http://pastie.org/5421452 I wrote this method parse to make things easier for me but when I use it the methods I define don't seem to have access to the instance variables. What am I doing wrong? I even tried instance_variable_get(:@scope)
<cirwin>
hadees: when you do "yield" it runs the block in the scope that it was defined
rippa has quit [Ping timeout: 240 seconds]
<cirwin>
so it's looking for the @scope variable on the class
dcope has quit [Changing host]
dcope has joined #ruby
<cirwin>
what you probably want is value = instance_eval(&block) if block
Cicloid has joined #ruby
CaptainJet has quit []
chendo_ has quit [Ping timeout: 252 seconds]
arya has quit [Ping timeout: 244 seconds]
<hadees>
cirwin: i figured it was something along those lines, thanks!
mercwithamouth has joined #ruby
bradhe has quit [Remote host closed the connection]
chendo_ has joined #ruby
cantonic has joined #ruby
bradhe has joined #ruby
Cicloid has quit [Ping timeout: 244 seconds]
average_drifter has joined #ruby
<average_drifter>
hey
ZubKonst has joined #ruby
<average_drifter>
heard you guys got problems with the speed !
arya has joined #ruby
<average_drifter>
or the lack thereof
<average_drifter>
are there plans on improving Ruby's interpreter speed ?
<cirwin>
average_drifter: I think since 1.9 ruby's pretty competitive speed-wise
<average_drifter>
cirwin: orly , very nice
phantasm66 has joined #ruby
<average_drifter>
very very nice
<cirwin>
2.0 has some widely publicised improvements on start-up time, and I suspect some other imrpovements
<cirwin>
and jruby are always telling us they're even faster than MRI
nyuszika7h has quit [Quit: Here we are, going far to save all that we love - If we give all we've got, we will make it through - Here we are, like a star shining bright on your world - Today, make evil go away!]
lukeholder has quit [Quit: Computer has gone to sleep.]
xpen has joined #ruby
joeycarmello has joined #ruby
chendo has joined #ruby
tomsthumb has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
ephemerian has joined #ruby
matrixise has quit [Ping timeout: 252 seconds]
zigomir has joined #ruby
_bart has quit [Quit: _bart]
dnyy has joined #ruby
dnyy has quit [Remote host closed the connection]
h8R has quit [Read error: Connection reset by peer]
jds has joined #ruby
kbeddingfield has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
rweng has quit [Quit: rweng]
durre has joined #ruby
chussenot has joined #ruby
fantazo has quit [Remote host closed the connection]
nyuszika7h has joined #ruby
lolcathost has joined #ruby
beiter has joined #ruby
cezar has joined #ruby
xpen has quit [Ping timeout: 264 seconds]
blacktulip has joined #ruby
punkrawkR has joined #ruby
dhruvasagar has joined #ruby
hoelzro|away is now known as hoelzro
tobinharris has joined #ruby
arya_ has quit [Ping timeout: 244 seconds]
wargasm has quit [Ping timeout: 252 seconds]
bradhe has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 240 seconds]
arya has joined #ruby
Banistergalaxy has joined #ruby
dekroning has joined #ruby
chussenot has joined #ruby
Xeago has joined #ruby
Beoran_ has joined #ruby
beiter has quit [Quit: beiter]
chussenot has quit [Client Quit]
Beoran__ has quit [Ping timeout: 252 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
lolcathost has quit [Ping timeout: 255 seconds]
Imapickle has joined #ruby
Xeago has joined #ruby
wargasm has joined #ruby
jgrevich_ has joined #ruby
jgrevich has quit [Read error: Connection reset by peer]
jgrevich_ is now known as jgrevich
cezar has quit [Remote host closed the connection]
lolcathost has joined #ruby
mahmoudimus has joined #ruby
charliesome has joined #ruby
hsbt is now known as hsbt_away
<witchdoc>
hi all
<durre>
I want to write load/stress tests for a non ruby application. I'm looking for something like selenium but without the browser. jmeter is too hard to version-handle between projects. is there anything with ruby?
jenrzzz has quit [Ping timeout: 252 seconds]
lolcathost has quit [Client Quit]
<durre>
it needs to be able to login (save cookies)
tuannat has joined #ruby
shtirlic_ has joined #ruby
Imapickle is now known as FailDrain
Xeago has quit [Ping timeout: 265 seconds]
<seanstickle>
durre: mechanize?
shtirlic has quit [Ping timeout: 240 seconds]
Juul has joined #ruby
<durre>
seanstickle: maybe, I will check it out. I also found something called Blitz that I will look at
dekroning has quit [Ping timeout: 248 seconds]
cantonic has quit [Quit: cantonic]
Elhu has joined #ruby
statarb3 has joined #ruby
arya_ has joined #ruby
Virunga has joined #ruby
lolcathost has joined #ruby
dekroning has joined #ruby
arya has quit [Ping timeout: 244 seconds]
wargasm has quit [Ping timeout: 240 seconds]
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
hotovson has joined #ruby
ninegrid has quit [Ping timeout: 276 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
cdt_ has joined #ruby
_bart has joined #ruby
nemesit has joined #ruby
polymar has joined #ruby
mengu__ has joined #ruby
matrixise has joined #ruby
jds has quit [Remote host closed the connection]
mugger has quit [Ping timeout: 260 seconds]
cantonic has joined #ruby
jds has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
durre has quit [Quit: durre]
bigmac has quit [Quit: Leaving]
grzywacz has quit [Ping timeout: 244 seconds]
durre has joined #ruby
cezar has joined #ruby
grzywacz has joined #ruby
Juul has quit [Ping timeout: 246 seconds]
hotovson_ has joined #ruby
coder_neo has joined #ruby
tuannat has quit [Ping timeout: 246 seconds]
tuan_nat has joined #ruby
coder_neo has left #ruby [#ruby]
hotovson has quit [Ping timeout: 244 seconds]
jds has quit [Remote host closed the connection]
jds has joined #ruby
pavilionXP has quit [Ping timeout: 248 seconds]
chussenot has joined #ruby
ExxKA has joined #ruby
ninegrid has joined #ruby
coder_neo has joined #ruby
dekroning has quit [Ping timeout: 265 seconds]
coder_neo has left #ruby [#ruby]
jimeh has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
jds has quit [Ping timeout: 248 seconds]
nomenkun has joined #ruby
greenarrow has quit [Quit: IRC is just multiplayer notepad]
cirwin has quit [Ping timeout: 252 seconds]
nomenkun has quit [Read error: Connection reset by peer]
prezioso has joined #ruby
slainer68 has joined #ruby
greenarrow has joined #ruby
nomenkun has joined #ruby
brianpWins has quit [Quit: brianpWins]
FailDrain has quit [Quit: Leaving]
nomenkun has quit [Read error: Connection reset by peer]
rdark has joined #ruby
nomenkun has joined #ruby
dekroning has joined #ruby
coder_neo has joined #ruby
greenarrow has quit [Ping timeout: 276 seconds]
greenarrow has joined #ruby
adambeynon has joined #ruby
dekroning has quit [Ping timeout: 244 seconds]
ksinkar has joined #ruby
LouisGB has joined #ruby
<ksinkar>
what is difference between Array#size and Array#length and Array#count?
nilg has joined #ruby
nilg has quit [Remote host closed the connection]
Vainoharhainen has joined #ruby
<clocKwize>
ksinkar, nothing
<clocKwize>
size is an alias for length
bradhe has joined #ruby
<clocKwize>
and count (in activesupport, not core) is an alias for one of those 2
RandyInLA_ has joined #ruby
<postmodern>
ksinkar, #count is from Enumerable
Coretracker has joined #ruby
<clocKwize>
oh ;p
polymar has quit [Read error: Connection reset by peer]
polymar_ has joined #ruby
<clocKwize>
so, count comes from core too, just on the Enumerable module. and has more functionality than length/size
<postmodern>
clocKwize, size is definitely aliased to length, and Enumerable depends on #size for various calculations
cezar has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 244 seconds]
RandyInLA has quit [Ping timeout: 244 seconds]
RandyInLA_ is now known as RandyInLA
arya has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
_bart has quit [Quit: _bart]
k610 has joined #ruby
_bart has joined #ruby
<_bart>
Didn't know banisterfiend made pry, cool
jgrevich has quit [Remote host closed the connection]
seanstickle has quit [Quit: seanstickle]
<ksinkar>
postmodern: not really, right now I am facing a case, where I have an array
habib has joined #ruby
<ksinkar>
array.count gives me 0 but array.size gives me the size of the array
<habib>
hi everyone
qwerxy has joined #ruby
<habib>
i've installed rvm yesterday. and now ran ruby -v. it says 1.8.7. but rvm list says 1.9.3
Elhu has joined #ruby
<habib>
how do i do ruby -v to give 1.9.3?
tuan_nat has quit [Ping timeout: 248 seconds]
msch has quit [Ping timeout: 246 seconds]
swex has quit [Read error: Connection reset by peer]
<clocKwize>
habib
<clocKwize>
rvm use 1.9.3
arya has quit [Ping timeout: 244 seconds]
<habib>
i did. it's still 1.8.7 when ruby-v
timonv has joined #ruby
<clocKwize>
then you did something wrong :/
<clocKwize>
did you follow rvm notes, rvm requirements etc?
hsbt_away is now known as hsbt
<habib>
yeah
blacktul_ has joined #ruby
<clocKwize>
did you add the rvm script thing to your .bash_profile/rc etc
sunhay_ has quit [Quit: Lost terminal]
<habib>
yes i did
<habib>
i'll reinstall it now
<clocKwize>
which ruby
<clocKwize>
is probably looking at /usr/bin
blacktulip has quit [Ping timeout: 252 seconds]
<clocKwize>
when rvm is symlinking ruby in ~/.rvm
<clocKwize>
and you need that in your PATH
<clocKwize>
(just guessing)
<clocKwize>
when I do which ruby
<clocKwize>
I get /home/michael/.rvm/rubies/ruby-1.9.3-p194-railsexpress/bin/ruby
monkegjinni has joined #ruby
<habib>
clocKwize: thnx. i'll try it
<habib>
just when it end reinstall
kbeddingfield has quit [Remote host closed the connection]
greenarrow has quit [Ping timeout: 248 seconds]
swex has joined #ruby
greenarrow has joined #ruby
arya has joined #ruby
ddd has quit [Quit: Leaving.]
prezioso has quit [Quit: leaving]
bpfh has quit [Quit: Saindo]
arya has quit [Ping timeout: 244 seconds]
teedex has quit [Remote host closed the connection]
teedex has joined #ruby
greenarrow has quit [Ping timeout: 244 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
monkegjinni has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 252 seconds]
aaronmcadam has joined #ruby
thestereobus has quit [Quit: thestereobus]
hsbt is now known as hsbt_away
teedex has quit [Ping timeout: 260 seconds]
<habib>
clocKwize: How do i add the path
<habib>
?
prezioso has joined #ruby
daniel_- has joined #ruby
habib has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
arya has joined #ruby
daniel_- has quit [Client Quit]
ExxKA has quit [Quit: This computer has gone to sleep]
monkegjinni has joined #ruby
sepp2k has joined #ruby
gyre007 has joined #ruby
habib has joined #ruby
ExxKA has joined #ruby
d34th4ck3r has joined #ruby
love_color_text has joined #ruby
tobinharris has quit [Quit: tobinharris]
arya has quit []
u89 has joined #ruby
monkegjinni has quit [Remote host closed the connection]
love_color_text has quit [Remote host closed the connection]
margle has joined #ruby
<habib>
so
<habib>
i've just reinstalled RVM
<habib>
and afterall ruby -v says 1.8.7
<habib>
how to solve it?
<habib>
rvm list => 1.9.3
<habib>
gem -v
<CamonZ>
habib: open a new terminal session and write which ruby
<habib>
/usr/bin/ruby
<habib>
how to change PATH?
<habib>
or what do i need to do
<CamonZ>
in the new shell write: source ~/.rvm/scripts/rvm
<CamonZ>
that should load rvm everytime you open a new shell
jds has joined #ruby
<CamonZ>
after running that, open a new shell and type: type rvm | head -n 1
<CamonZ>
you should get a message saying "rvm is a function"
<habib>
no it sais rvm is /home/habib/.rvm/bin/rvm
ryanlecompte has joined #ruby
RandyInLA has quit [Read error: Connection reset by peer]
RandyInLA has joined #ruby
jds has quit [Ping timeout: 265 seconds]
thestereobus has joined #ruby
<CamonZ>
habib: when you installed rvm it should have modified your environment automatically to be loaded when a new shell opens
<CamonZ>
maybe you got an error during the installation process
<CamonZ>
the [~/Code] ➔ bit is how my prompt looks
ij has quit [Read error: Connection reset by peer]
<habib>
my one is habib@habib-305U1A ~ $
<CamonZ>
ok
<habib>
is it ok?
<CamonZ>
yeah, that's the default
ij has joined #ruby
<habib>
and now it's type rvm | head -n 1
<habib>
rvm is a function
<habib>
bash: type: write error: Broken pipe
clj_newb has joined #ruby
<CamonZ>
that last part is a bit worrysome; my linux fu is not strong enough to solve that one
vlad_starkov has joined #ruby
<CamonZ>
but… if rvm is working for you
<CamonZ>
then I guess it's ok
dekroning has quit [Read error: Operation timed out]
<habib>
haha :) ok then
<habib>
thnx anyway CamonZ
<CamonZ>
np
tuan_nat has joined #ruby
dekroning has joined #ruby
tuan_nat has quit [Ping timeout: 248 seconds]
dekroning has quit [Ping timeout: 255 seconds]
lkba has joined #ruby
ij has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
ij has joined #ruby
u89 has quit [Remote host closed the connection]
pcarrier has quit []
reinaldob has joined #ruby
banisterfiend has joined #ruby
hemanth has quit [Quit: Leaving]
hemanth has joined #ruby
hemanth has quit [Client Quit]
tobinharris has joined #ruby
Zai00 has joined #ruby
bigmac has joined #ruby
prezioso has quit [Quit: leaving]
Virunga has quit [Remote host closed the connection]
adeponte has quit [Remote host closed the connection]
samphippen has joined #ruby
statarb3 has quit [Quit: Leaving]
tuan_nat has joined #ruby
<shevy>
hmm broken pipe can have several reasons
tuan_nat has quit [Client Quit]
<shevy>
habib does the part "| head -n 1" work for other commands?
<habib>
shevy: with like what?
<habib>
what is this comandfor?
nkts has joined #ruby
<nkts>
Hi, any good and simple searchers for datamapper? I have tried dm-searcher, but it's not working for me.
<shevy>
habib with any other command. head -n 1 should show the first line of a file
<habib>
ah ok
<shevy>
try to find a text file, then cat it... "cat foo.txt | head -n 1"
<shevy>
I once had a broken pipe due to a miscompiled lex parser
<shevy>
I could no longer compile anything needing that (I think it was bison... or flex. cant remember)
ananthakumaran1 has joined #ruby
kirun has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
bigmac has quit [Remote host closed the connection]
mengu_ has quit [Remote host closed the connection]
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
<habib>
shevy: it worked for ruby
<habib>
without any pipes broken
<habib>
but for rvm it's still working with broken pipe
Slivka has joined #ruby
slainer68 has quit [Remote host closed the connection]
kirun has quit [Read error: Operation timed out]
<shevy>
yeah, now you know that it works in general, but something doesn't with rvm. I am not sure if that is for everyone or not, I don't use rvm myself
joeycarmello has quit [Ping timeout: 244 seconds]
slainer68 has joined #ruby
durre has joined #ruby
sspiff has joined #ruby
durre has quit [Client Quit]
hoelzro is now known as hoelzro|away
arturaz has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
apeiros_ has joined #ruby
durre has joined #ruby
asuka_ has quit [Ping timeout: 256 seconds]
AndChat- has joined #ruby
pcarrier has joined #ruby
bier has quit [Ping timeout: 260 seconds]
bier_ has quit [Ping timeout: 264 seconds]
Banistergalaxy has quit [Ping timeout: 244 seconds]
kirun has joined #ruby
asuka has joined #ruby
staafl has joined #ruby
pcarrier has quit [Ping timeout: 260 seconds]
pcarrier has joined #ruby
carloslopes has joined #ruby
UukGoblin has joined #ruby
<UukGoblin>
what does a "void value expression" error mean?
tvw has joined #ruby
<apeiros_>
UukGoblin: hurray for giving so much context, bravo!
<apeiros_>
</sarcasm>
clj_newb has quit [Ping timeout: 252 seconds]
<UukGoblin>
apeiros_, no, I'm serious ;-) I'm curious what the error means, and see an example of where it can occur
<apeiros_>
UukGoblin: let me guess, you go to your carshop without your car too and ask why the motor doesn't work, yes?
<UukGoblin>
I'm not interested in solving an occurence of it in my code just yet ;-)
margle has quit [Quit: Computer has gone to sleep.]
<UukGoblin>
apeiros_, more like, "what would it mean if my car showed an 'error #135'?"
<apeiros_>
UukGoblin: yes, and you don't tell him what model, what brand etc.
sspiff has quit [Remote host closed the connection]
seanyo has joined #ruby
sk87 has joined #ruby
jackiechan0 has quit [Quit: Sto andando via]
arya has quit []
arya_ has joined #ruby
berserkr has quit [Quit: Leaving.]
mklappstuhl has quit [Ping timeout: 255 seconds]
ananthakumaran1 has quit [Quit: Leaving.]
thinkdevcode has quit [Remote host closed the connection]
ffranz has joined #ruby
durre has quit [Quit: durre]
phantasm66 has joined #ruby
shevy has joined #ruby
manizzle has quit [Ping timeout: 248 seconds]
mklappstuhl has joined #ruby
CodeVision has joined #ruby
<_bart>
When I do `titles.map { |title| ((title[0,2] == ': ') ? title[2..-1]! : title) }` not a single title is being touched, even though there is one that has ': blabla'
<_bart>
eh without the !, that's invalid ruby
<apeiros_>
because you don't do anything
<shevy>
hehe
srji has joined #ruby
<apeiros_>
title[2..-1] *returns* a substring
<apeiros_>
it doesn't modify the receiver
<apeiros_>
and map *returns* a new array
<apeiros_>
it doesn't modify the receiver
<apeiros_>
you want: mapped_titles = titles.map { … }
habib has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
greenarrow has joined #ruby
<_bart>
apeiros_: or .map! { } ?
<apeiros_>
depends on what you want
<_bart>
apeiros_: modify the original
<_bart>
ah it works
samphippen has quit [Quit: Computer has gone to sleep.]
samphippen has joined #ruby
itchyouch has joined #ruby
codecop has joined #ruby
tobinharris has quit [Quit: tobinharris]
AndChat- has quit [Ping timeout: 244 seconds]
<shevy>
:)
Banistergalaxy has joined #ruby
leonardorb has quit [Ping timeout: 256 seconds]
polymar_ has quit [Remote host closed the connection]
Goles has joined #ruby
arya_ is now known as arya
verto is now known as verto|off
rippa has joined #ruby
ij has quit [Read error: Connection reset by peer]
<Muz>
In what sense? The real ballache is "are Shoes based apps really distributable"
samphippen has quit [Quit: Computer has gone to sleep.]
lkba has quit [Ping timeout: 248 seconds]
<shevy>
require 'shoes'
<shevy>
Sorry, this gem currently does nothing. Team Shoes is working on Gemifying Shoes, and this is just a placeholder until then.
<shevy>
:(
<seanstickle>
People still use Shoes?
<shevy>
I guess noone uses ruby + GUI anymore
cascalheira has joined #ruby
lkba has joined #ruby
<seanstickle>
I use a GUI with Ruby all the time
xsdg_ has joined #ruby
zigomir has joined #ruby
kalleth_ has joined #ruby
ql6wlld1 has joined #ruby
<shevy>
seanstickle what are you using?
Nowaker has joined #ruby
ccooke_ has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
xsdg has quit [Ping timeout: 248 seconds]
ql6wlld has quit [Ping timeout: 248 seconds]
dekroning has joined #ruby
kalleth has quit [Quit: No Ping reply in 180 seconds.]
nwkr has quit [Ping timeout: 248 seconds]
carlzulauf has quit [Ping timeout: 248 seconds]
ccooke has quit [Ping timeout: 248 seconds]
carlzulauf has joined #ruby
shaman42 has quit [Ping timeout: 248 seconds]
DrShoggoth has joined #ruby
tommyvyo has joined #ruby
<seanstickle>
shevy: HTML/CSS/JS
shaman42 has joined #ruby
<seanstickle>
shevy: works right nice
areil has joined #ruby
<Xeago>
seanstickle: the gui in your case is HTML/CSS using JS to manipulate it
<Xeago>
not ruby
<seanstickle>
Xeago: nah, it's all driven by Ruby
<shevy>
:(
<seanstickle>
Xeago: the GUI is just enhanced by some JS, and very little at that
<Xeago>
in the end it is HTML that is the gui
<Xeago>
not any ruby-display
<shevy>
it seems to me as if, with the proliferation of HTML5, the "classical" toolkits died almost instantly
msch has joined #ruby
<Xeago>
shevy: kinda
virtualentity has joined #ruby
<seanstickle>
I see no reason to fiddle around with brain dead butchery like Qt
<shevy>
ruby-gnome - barely active. shoes - placeholder message when doing "gem install shoes", qtruby - rdale is missing in action since many months
<shevy>
tcl/tk - still looks like inferior shit
<seanstickle>
Or, god help me, WX or Swing
<shevy>
I guess it's time to bite the bullet and start embracing javascript
<arturaz>
android/ios still uses native toolkits :)
<arturaz>
on the other hand - writing gui apps with ruby wasn't popular at any given time
<shevy>
yeah that had a huge effect too
<seanstickle>
I've been tinkering with PhoneGap, which is pleasant enough.
havenn has joined #ruby
<shevy>
arturaz, it may not have been popular but it kinda worked in the past. I cant even get the up-to-date ruby-gnome bindings to compile at all
arya_ has joined #ruby
v0n has joined #ruby
arya has quit [Ping timeout: 256 seconds]
polymar has joined #ruby
arya_ is now known as arya
seanwash has joined #ruby
ffranz has quit [Ping timeout: 255 seconds]
techhelp has quit [Quit: This computer has gone to sleep]
arya has quit [Ping timeout: 240 seconds]
punkrawkR has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
<arturaz>
guys
<arturaz>
how do you feel about static typing? do you think ruby would benefit from it?
J-_-L has joined #ruby
<seanstickle>
arturaz: with or without autoboxing?
Cicloid has joined #ruby
arya has joined #ruby
haxrbyte has quit [Remote host closed the connection]
techhelp has joined #ruby
<arturaz>
seanstickle, autoboxing doesn't make much sense in ruby world :) or we have different definitions of autoboxing
<seanstickle>
arturaz: neither does static typing
noyb has joined #ruby
<seanstickle>
arturaz: but you brought that up too :)
Asher has joined #ruby
<arturaz>
seanstickle, well, ok, lets rephrase that - do you think something like mirah (staticly typed with ruby syntax) has potential?
<seanstickle>
It definitely has potential.
<seanstickle>
We'll see if it can be actualized.
<shevy>
arturaz if it would be not the default, perhaps
<shevy>
arturaz if it would become the default, ruby would lose flexibility
<Xeago>
for completely different usecases
Cicloid has quit [Remote host closed the connection]
<arturaz>
groovy has taken this approach. its dynamic by default, but you can mark certain portions as statically typed
<shevy>
hmm doesn't groovy syntax suck?
<arturaz>
shevy, i largely believe that "would lose flexibility" is a myth
Coretracker has quit [Remote host closed the connection]
<shevy>
g = new Greet('world')
<Xeago>
arturaz: you certainly achieve some amount of flexibility with using automatical typing of variables and such
<Xeago>
but the real treat comes from ducktyping in static languages
v0n has quit [Ping timeout: 244 seconds]
carlyle has joined #ruby
<shevy>
arturaz, why? if I am _forced_ to spend time thinking about types, I do lose time compared to when I do _not_ have to think about it at all whatsoever
<arturaz>
you still think about types
<shevy>
and you not?
<Xeago>
you don't think about static interfaces
<arturaz>
don't lie to yourself :)
<Xeago>
and inheritance chains
<shevy>
you wrote "staticly typed with ruby syntax"
<seanstickle>
When I want something like that, I just use Perl 6
<apeiros_>
arturaz: does mirah use type inference?
<shevy>
where is it optional where I can define the type please?
<arturaz>
apeiros_, seems so.
<apeiros_>
nice
<shevy>
def foo = new Foo()
<apeiros_>
arturaz: and what does it accept as type? classes only? or modules too?
<shevy>
hmmm kinda odd
<arturaz>
apeiros_, no idea. :)
<apeiros_>
arturaz: ok
<apeiros_>
arturaz: of course it has potential, c.f. all the existing strictly typed languages
<arturaz>
the thing is - i've recently migrated to scala (1 year) after 6 years of ruby
<seanstickle>
arturaz: Perl 6 has been out for some time
<apeiros_>
but whether it is any good depends on so many details…
<seanstickle>
arturaz: it's just not hugely popular yet
<arturaz>
and more scala I learn the more I think that dynamic typing is just a huge mistake
<shevy>
perl 6 still requires perl 5 to compile from source :(
<arturaz>
which is kind of sad given that I've been promoting dynamic languages for 10 years
<apeiros_>
arturaz: got any actual examples of where you noticed that?
<arturaz>
apeiros_, well, i write same amount of code, but it has less bugs
<shevy>
pfffft
<apeiros_>
arturaz: concrete examples of bugs?
arya_ has joined #ruby
ffranz has joined #ruby
<shevy>
syntax errors
<shevy>
:P
<arturaz>
apeiros_, type bugs, mistypes, etc...
<shevy>
apeiros_ you must have all kind of type bugs in your ruby code!
_JamieD_ has joined #ruby
<shevy>
MILLIONS of them
Asher has quit [Quit: Leaving.]
<apeiros_>
shevy: I write perfect code
<shevy>
hehe
BiHi has quit [Ping timeout: 244 seconds]
<apeiros_>
at first try.
<Hanmac>
shevy look at RbConfig::CONFIG["BASERUBY"] :D
<apeiros_>
I only know the meaning of the word "bug" from hearsay
<shevy>
see arturaz? that's the way to go about it... the perfect hacker writes bug free software
<apeiros_>
;-)
<arturaz>
yeah, right :D
cousine has joined #ruby
<shevy>
RbConfig::CONFIG["BASERUBY"] # => nil
<shevy>
Hanmac I am on 1.8.x temporarily btw :\
<apeiros_>
arturaz: ok, that's still pretty vague. but do you think it'd have taken you significantly longer to find those bugs in ruby? if so, why?
<arturaz>
apeiros_, well, i had one case in particular
cousine has quit [Remote host closed the connection]
<arturaz>
where a wrong type was passed
FredLe has quit [Ping timeout: 265 seconds]
<arturaz>
more over - it was silently accepted
<arturaz>
no crashes, nothing
<arturaz>
but the actual result was wrong
<Hanmac>
on ruby1.9 RbConfig::CONFIG["BASERUBY"] => "/usr/bin/ruby1.8"
<arturaz>
resulting in slow over-time DB corruption
<arturaz>
which sucked.
FredLe has joined #ruby
<Hanmac>
shevy why are you on 1.8? and why did you install your system new?
<apeiros_>
arturaz: slow bugs are annoying, but they can happen with strictly typed software too
<arturaz>
apeiros_, of course they can. but type checker would have prevented this one :)
<apeiros_>
arturaz: any occasions where you missed dynamic typing?
BiHi has joined #ruby
arya has quit [Ping timeout: 250 seconds]
<seanstickle>
shevy: Ruby still requires C to compile from source
<arturaz>
apeiros_, not really. rspec maybe, but you just have to write code in a bit different way to be able to stub out "static" methods
ninegrid has joined #ruby
<arturaz>
and scala actually has Dynamic trait, which allows you to do method_missing (xml builders?)
jslowe has joined #ruby
freeayu has quit [Remote host closed the connection]
<apeiros_>
arturaz: tbh, I don't really see the "earlier bug catching" as a real advantage of statically typed languages. But that doesn't mean that a) I'm right about that and b) there weren't other merits.
shtirlic has quit [Remote host closed the connection]
younnes has joined #ruby
<arturaz>
apeiros_, well, catching bugs which happen in production can be really bad
<arturaz>
especially when you have a realtime service :)
<apeiros_>
yes, but bugs will happen, no matter what.
<arturaz>
ever had to answer to a bunch of angry mmo gamers? :D
<apeiros_>
and you can always throw more tests at a problem
<apeiros_>
static typing is just one more test
<Xeago>
rofl..
<Xeago>
why not implement static typechecking in rspecs..
<apeiros_>
arturaz: i.e., with regards to bug catching, I favor DBC over static typing any day. but I lack experience.
Asher has joined #ruby
<Cadwallion>
why write specs when you can force your language to tie your arm behind you?
<Cadwallion>
:P
<shevy>
seanstickle yes, C. not itself however
<apeiros_>
DBC provides much better tests than static typing ever could. and that while being more flexible.
<shevy>
perl5 requires C too
<arturaz>
apeiros_, DBC?
<apeiros_>
design by contract
ExxKA has quit [Quit: This computer has gone to sleep]
<arturaz>
like in "it should have those method & properties"?
<shevy>
Hanmac usually 1.8.7 compiles faster for me, and I installed this distribution ~1 hour ago. need a bit time to transition everything
<seanstickle>
shevy: right, so some languages require other languages to compile
<apeiros_>
I'd love if ruby supported that on a syntax level. some things of it you can't add without (especially the 'old' pseudo-variable)
<seanstickle>
shevy: not exactly shocking, izzit?
ffranz has quit [Quit: Leaving]
<arturaz>
younnes, please stop that. we're having a discussion.
<apeiros_>
arturaz: no, like in pre-conditions, post-conditions and class-invariants
<shevy>
seanstickle if the evolution of a language requires legacy then this is showing that the evolution goes backwards
<apeiros_>
arturaz: eiffel.com has some good videos about it
<shevy>
perl 6 is a dead end
ffranz has joined #ruby
keymone has joined #ruby
<Hanmac>
shevy that does not answer why you reinstall your system
<seanstickle>
shevy: Perl 6 is pragmatically a different language
<seanstickle>
shevy: not just Perl 5 with some new features
<shevy>
Hanmac some things weren't working -lpthread for instance failed
emka has quit [Quit: emka]
<arturaz>
apeiros_, i'll check that out, thanks :)
<apeiros_>
arturaz: what stops you from typechecking in ruby?
<Hanmac>
shevy: "perl 6 is a dead end" and Haskell is a step more far :D
<shevy>
seanstickle yeah it's why perl 5 is more active :)
<arturaz>
apeiros_, nothing. but then you realize that you don't want ruby anymore.
<shevy>
oh god haskell
<seanstickle>
shevy: PHP is more active than Ruby too
<shevy>
120 MB size?!?!
<seanstickle>
shevy: not sure that tells me much
<shevy>
seanstickle true :(
<apeiros_>
arturaz: not sure. it's a tradeoff.
<apeiros_>
arturaz: if you only punctually want typechecking, and elsewhere prefer the dynamic style, you'd stay with ruby
<shevy>
arturaz what was your biggest project in ruby?
<arturaz>
a multithreaded game server with celluloid
<Hanmac>
seanstickle: thats only becaue in php you need more lines than in ruby :D
<shevy>
arturaz what happened to it? you let it die, didn't you? :>
<shevy>
cool, that looks like an insame amount of work
<arturaz>
yeah, it was
Blue_Ice has joined #ruby
<Cadwallion>
must teleport home. why are there no teleporters? Gathered enough coherency to work on spinel's resource manager last night
<Cadwallion>
must continue...
<Blue_Ice>
Is there a difference in used paths or such when using "irb file.rb" opposed to "ruby file.rb"? The first finds my installed gem, the latter not ...
<Xeago>
irb probably loads ruby gems or stuff
segv- has quit [Quit: segv-]
ExxKA has joined #ruby
<apeiros_>
Blue_Ice: irb can load an irbrc
ltsstar has joined #ruby
<apeiros_>
which might have additional stuff in it
<apeiros_>
also, it is possible that your irb executes a different ruby than your ruby command
himsin has joined #ruby
<arturaz>
shevy, what happened that as the codebase grew I wanted to know what stuff comes in and what comes out more and more.
<apeiros_>
check with `which irb` and `head -n1 <the irb path>`
<apeiros_>
(and `which ruby` to compare)
<arturaz>
and there's no good way for that with ruby :(
<arturaz>
also ruby was too slow for some tasks, which led me to writing those in java and then later in scala
Uranio has quit [Quit: WeeChat 0.3.8]
<arturaz>
and now its like 80% jruby / 20% scala
shtirlic has joined #ruby
<arturaz>
which is a hell if you're trying to use a debugger
<Hanmac>
arturaz, i does an 3d engine binding for ruby
<Hanmac>
and with the right driver you have >200FPS
<arturaz>
Hanmac, binding.
<arturaz>
right?
<arturaz>
you do not do you math stuff in ruby, right?
thestereobus has quit [Quit: thestereobus]
<shevy>
arturaz kinda true, growing complexity still annoys me
<arturaz>
your*
<shevy>
but to replace ruby with java ...
<shevy>
maaaaaan
pawsgordon is now known as elliottcable
<shevy>
Hanmac! where is the documentation!!!!!!!
<arturaz>
shevy, yeah, but if map generation takes 45 secs with ruby, you gotta do what you gotta do
<arturaz>
java killed my mojo though, that's why I discovered scala :)
<Hanmac>
arturaz i dont do, and its not my math suff, do you know OGRE? i did an ruby interface for it
<Hanmac>
and shevy yeah i know but currently i try to make the samples for rwx
<arturaz>
which was kind of ruby but with static typing
<Xeago>
arturaz: hell no
<arturaz>
Hanmac, yeah, I know ogre :)
headius has joined #ruby
<Xeago>
arturaz: is NO WHERE NEAR
<arturaz>
why not?
<Blue_Ice>
apeiros_: thanks for the suggestion. head -n 1 ruby gave lots of garbage, but it worked on the irb (which gave a full path to a ruby binary). Ran the script with also the full path to that binary, no avail. I'll try requiring rubygems first to test
<apeiros_>
Blue_Ice: …
<apeiros_>
I said head -n 1 ***PATH_TO_IRB***
Plazma has joined #ruby
<apeiros_>
not ruby
carlyle has quit [Remote host closed the connection]
ninegrid has quit [Ping timeout: 250 seconds]
<apeiros_>
and the point is that you compare the path to that ruby binary with the result of `which ruby`
<Blue_Ice>
apeiros_: ok, misunderstood it. Either way, just did an explicit load of rubygems, that did the trick
<apeiros_>
if they're different, you obviously run irb with a different ruby than your `ruby` command
generali_ has joined #ruby
v0n has joined #ruby
quest88 has quit [Quit: quest88]
<apeiros_>
if you have to require rubygems explicitly, then you're using a deprecated version of ruby and should update.
<Blue_Ice>
apeiros_: they were the same, just not obvious at first sight since /usr/bin/ruby was a symlink to /Library/System ..../usr/bin/ruby (and that full path was in the irb header)
<Xeago>
1.8.7 is not deprecated apeiros_
<Xeago>
!
<havenn>
Xeago: Soon...
<apeiros_>
Xeago: yes, officially.
<Xeago>
:)
Plazma has left #ruby [#ruby]
<Xeago>
neways
quest88 has joined #ruby
<Xeago>
i'm too drunk to be on irc..
vlad_starkov has joined #ruby
<Hanmac>
Xeago it is allready dead, it is only not buried yet
<havenn>
Xeago: What is it, June, when they stop security patches? That is about as deprecated as you can get!
quest88 has quit [Client Quit]
<havenn>
Already it just gets bugfixes. 1.8 is *almost* ten years old. Long live 2.0!
EyesIsServer has quit [Remote host closed the connection]
coder_neo has quit [Ping timeout: 248 seconds]
quest88 has joined #ruby
<arturaz>
(1..7).reject { |i| i % 3 == 0 }.inject(1) { |i, a| i * a }
<shevy>
Xeago why are you drunk at this time of the day?
<arturaz>
(1 to 7).filterNot(_ % 3 == 0).fold(1) { case (i1, i2) => i1 * i2 }
<arturaz>
shevy, depends on timezone ;)
<shevy>
whoa... who owns the [younnes] bot here?
<apeiros_>
arturaz: .inject(1, :*)
k610 has quit [Ping timeout: 252 seconds]
<shevy>
must be the horseman
<arturaz>
apeiros_, yeah :)
monkegjinni has joined #ruby
<arturaz>
the point is - its not so scary
<arturaz>
at least not java scary
<apeiros_>
arturaz: ah
<arturaz>
which would be a lot more scarier :D
<apeiros_>
arturaz: no doubt about that
v0n has quit [Ping timeout: 244 seconds]
roll has joined #ruby
<shevy>
test
<roll>
is
<arturaz>
i still dislike java :)
<apeiros_>
java ain't scarry, just bloaty :-p
<arturaz>
well, yeah
<arturaz>
and stupidly restricted
<apeiros_>
but it got better, or so I heard
fantazo has joined #ruby
<arturaz>
apeiros_, sort of. when java8 comes out
<roll>
What does ruby stand for?
<shevy>
it surely will never abandon its bloaty origin
<shevy>
roll, it's a pun following the naming of "perl"
<Mon_Ouie>
It's still verbose. I have to do lots of it for school homework. :(
<havenn>
roll: It stands for the birthstone.
<apeiros_>
but last time I wrote java (Java 1.5 back then), an exercise at school took my teacher ~250 lines of java, me ~150 lines of java and ~40 lines of ruby
Asher has quit [Quit: Leaving.]
applesarefruits has joined #ruby
<roll>
Wow
<roll>
That is really nice
Slivka has quit [Remote host closed the connection]
<apeiros_>
the amount of java could probably have been reduced, but I was a beginner. but given that the teacher wrote even more code than I… :)
<arturaz>
although you have to love some java ide features. like if there is only 1 var of required type in scope it gets autoinserted into method call
polymar has quit [Remote host closed the connection]
<fearoffish>
`|`roll: step one is to learn to spell like an adult.
<fearoffish>
;-)
haxrbyte_ has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 244 seconds]
haxrbyte has joined #ruby
shevy has joined #ruby
<`|`roll>
So where do i start?
<`|`roll>
I want fully operational scriptz with good loops and breaks.
tommyvyo has joined #ruby
noxoc has left #ruby [#ruby]
<shevy>
`|`roll hehe good loops?
<shevy>
easiest way to loop:
<shevy>
loop {
Mon_Ouie has quit [Ping timeout: 244 seconds]
<shevy>
user_input = $stdin.gets.chomp
<shevy>
break if user_input[0,1] == 'q'
<shevy>
}
<`|`roll>
Can I use foo ?
zemanel has joined #ruby
<shevy>
`|`roll you can use whatever name you like
<`|`roll>
What about Coo ?
<shevy>
`|`roll did you use scripting languages before?
<`|`roll>
Is that allowed?
<shevy>
`|`roll I mean by now it's clear you are trolling
<`|`roll>
I tried rubyonrails
<shevy>
no you did not
<fearoffish>
indeed
maxok has joined #ruby
<`|`roll>
i didnt?
<fearoffish>
Took a while to see the 'Troll' in your name, how dumb are we ;-)
_bart has quit [Ping timeout: 245 seconds]
<fearoffish>
What an awesome way to spend your Friday. Your mum must be proud :)
<maxok>
Hi, I have a question regarding ruby threads. I receive error: Thread (35) (ThreadError) too many threads. Is this due to the reason that I should force ruby to close the threads after finish, or does it do it automatically?
`|`roll is now known as ``l``roll
``l``roll is now known as `l`roll
<fearoffish>
maxok: show us some code that's faulty
`l`roll was kicked from #ruby by seanstickle [`l`roll]
* shevy
gives seanstickle a cookie
* fearoffish
sighs
<seanstickle>
So sad
sk87 has quit [Quit: sk87]
<maxok>
fearoffish: It's a bit complicated to show the code. Can you please be so kind to inform me, after I do threads.join, does ruby close the threads after they are finished?
vlad_starkov has quit [Remote host closed the connection]
Goles has quit [Remote host closed the connection]
<fearoffish>
maxok: no idea what 'threads' is, so I can't answer you. If x is a thread, and you call x.join then it will wait until that thread is finished before closing it, yes
techhelp has joined #ruby
ltsstar has joined #ruby
BigO has joined #ruby
grzywacz has quit [Quit: :wq]
<arturaz>
maxok, it should
vlad_starkov has joined #ruby
v0n has joined #ruby
haxrbyte has quit [Ping timeout: 252 seconds]
Virunga has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
thecreators has joined #ruby
gozes has joined #ruby
RandyInLA has joined #ruby
qwerxy has quit [Quit: offski]
timonv has quit [Remote host closed the connection]
wallerdev has joined #ruby
BigO has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<gozes>
Hello everyone
ltsstar has quit [Ping timeout: 276 seconds]
mercwithamouth has quit [Ping timeout: 264 seconds]
v0n has quit [Ping timeout: 244 seconds]
ExxKA has quit [Quit: This computer has gone to sleep]
aaronmcadam has quit [Quit: aaronmcadam]
mugger has joined #ruby
<gozes>
I just start it to use ctags with vim today and I was wandering.
cakehero has quit [Quit: Computer has gone to sleep.]
jeffreybaird has joined #ruby
BiHi has quit [Quit: bye]
BrianJ has joined #ruby
<gozes>
If I generate ctags for ruby will it also ganerated the tags for the gemsets or will I have to append that to my tag file
techhelp has quit [Quit: This computer has gone to sleep]
chimkan_ has quit [Quit: chimkan_]
seanyo has quit [Ping timeout: 245 seconds]
Xeago has quit [Remote host closed the connection]
gyre007 has quit [Remote host closed the connection]
statarb3 has quit [Quit: Leaving]
shtirlic has joined #ruby
teedex has joined #ruby
bapa has joined #ruby
Axsuul has joined #ruby
kbeddingfield has joined #ruby
shevy has quit [Quit: ""]
phantasm66 has joined #ruby
ibrahima has quit []
havenn has quit [Remote host closed the connection]
mercwithamouth has quit [Quit: leaving]
havenn has joined #ruby
mercwithamouth has joined #ruby
ZubKonst has quit [Ping timeout: 244 seconds]
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
lolcathost has joined #ruby
atmosx has joined #ruby
chussenot has quit [Quit: chussenot]
dekroning has joined #ruby
havenn has quit [Ping timeout: 240 seconds]
etcetera has quit [Quit: Computer has gone to sleep.]
p4tux has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
icole has quit [Remote host closed the connection]
dekroning has quit [Ping timeout: 244 seconds]
pcarrier has joined #ruby
joeycarmello has quit [Remote host closed the connection]
rakl has joined #ruby
joeycarmello has joined #ruby
jekotia has joined #ruby
cascalheira has quit [Ping timeout: 244 seconds]
dekroning has joined #ruby
aharris6 has joined #ruby
teedex has quit [Remote host closed the connection]
elux has quit [Quit: Leaving...]
teedex has joined #ruby
k610 has joined #ruby
Virunga has joined #ruby
xAndy is now known as xandy
<p4tux>
h
<p4tux>
hi
ananthakumaran has quit [Quit: Leaving.]
afgeneralist has joined #ruby
joeycarmello has quit [Remote host closed the connection]
pcarrier has quit [Ping timeout: 264 seconds]
lowg has quit [Read error: Connection reset by peer]
pcarrier has joined #ruby
lowg has joined #ruby
<p4tux>
I am working with vagrant-hostmaster gem, and trying to disable local modifications, so the method look like this: https://gist.github.com/4136884
joeycarmello has joined #ruby
<p4tux>
being new to ruby, I don not fully understand what is happening there, I if is just assigning true everytime the function goes there
binaryplease has quit [Ping timeout: 276 seconds]
codecop has quit [Remote host closed the connection]
u89 has quit [Remote host closed the connection]
<p4tux>
I would like to disable to get in process_local, I dont want to run any process_local
k610 has quit [Ping timeout: 265 seconds]
phelps has quit [Quit: Leaving...]
yakko has joined #ruby
teedex has quit [Ping timeout: 276 seconds]
psycho_one has quit [Remote host closed the connection]
binaryplease has joined #ruby
elentras has quit [Quit: Quitte]
teedex has joined #ruby
u89 has joined #ruby
niklasb has quit [Ping timeout: 252 seconds]
codecop has joined #ruby
volta has quit [Remote host closed the connection]
<shevy>
it makes a reader for games, and a setter for games
<shevy>
it is exactly as if you would do this:
<shevy>
def games; @games; end
<shevy>
and
<shevy>
def games=(i); @games = i; end
<shevy>
deepgray, you see?
<shevy>
attr_accessor combines attr_reader and attr_writer, both of which do the above code each
<Mon_Ouie>
As you can see, it defines *methods*. Those methods access an instance variable, but the instance variable itself is only created when you set it for the first time on each instance of your class.
shtirlic has quit [Remote host closed the connection]
codecaster has quit [Read error: Connection reset by peer]
lowg has quit [Quit: This computer has gone to sleep]
codecaster has joined #ruby
codecaster has quit [Client Quit]
chimkan_ has joined #ruby
techhelp has joined #ruby
benlieb has quit [Quit: benlieb]
banisterfiend has joined #ruby
jds has joined #ruby
Nisstyre has quit [Ping timeout: 250 seconds]
haxrbyte_ has quit [Ping timeout: 244 seconds]
Grieg has quit [Quit: laterz! :D]
xyzodiac has joined #ruby
bluOxigen has quit [Ping timeout: 265 seconds]
xyzodiac has quit [Remote host closed the connection]
joast has quit [Ping timeout: 245 seconds]
nopolitica has joined #ruby
margle has quit [Ping timeout: 255 seconds]
xyzodiac has joined #ruby
havenn has quit [Ping timeout: 256 seconds]
fms has joined #ruby
jackbrownhf has quit [Quit: Sto andando via]
fms is now known as ebobby
ebobby has quit [Remote host closed the connection]
ebobby has joined #ruby
margle has joined #ruby
noyb has joined #ruby
ping_pong has joined #ruby
blazes816 has joined #ruby
Ivo has quit [*.net *.split]
cibs has quit [*.net *.split]
ping-pong has quit [*.net *.split]
Averna has joined #ruby
nyuszika7h has quit [Quit: Here we are, going far to save all that we love - If we give all we've got, we will make it through - Here we are, like a star shining bright on your world - Today, make evil go away!]
havenn has joined #ruby
cibs has joined #ruby
Ivo has joined #ruby
techhelp has quit [Quit: This computer has gone to sleep]
codecop has quit [Remote host closed the connection]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
codecop has joined #ruby
arya_ has quit []
arya has joined #ruby
niklasb has joined #ruby
nemesit has joined #ruby
alx- has quit [Quit: alx-]
iamjarvo has joined #ruby
reinaldob has quit [Remote host closed the connection]
ltsstar has joined #ruby
chimkan___ has joined #ruby
kbeddingfield has quit [Remote host closed the connection]
nyuszika7h has joined #ruby
Tuxist has joined #ruby
kbeddingfield has joined #ruby
chimkan_ has quit [Ping timeout: 244 seconds]
codecop has quit [Quit: Išeinu]
arya_ has joined #ruby
joeycarmello has quit [Remote host closed the connection]
joeycarmello has joined #ruby
Virunga has quit [Remote host closed the connection]
joeycarmello has quit [Remote host closed the connection]
margle has quit [Quit: Computer has gone to sleep.]