<ghanima>
mozzarella: was that a comment to my question
<mozzarella>
yes
<ghanima>
mozzarella: so I am writing a custom http function
<ghanima>
but I want to be able to pass get and post as a param to the function and then call the function with the param
<ghanima>
sorry I hope that makes sense
phinfonet has quit [Ping timeout: 272 seconds]
datafirm has joined #ruby
phinfonet has joined #ruby
xxneolithicxx has joined #ruby
<mozzarella>
that's not very clear
mikecmpbll has quit [Quit: i've nodded off.]
<ghanima>
def httpcall(method)
<ghanima>
response = conn.method
<ghanima>
end
<ghanima>
httpcall(get)
GriffinHeart has joined #ruby
<ghanima>
is the main gist
<xxneolithicxx>
hi all, im using ruby 1.8 and have an application using threads and standard logger. I setup the logger in the main thread but for some reason the child threads are not logging anything at all. Is this a known issue and is there a way around this?
nowthatsamatt has joined #ruby
<ghanima>
mozarella: that's just pseudo code but I would pass a url and the http method as parameters
<mozzarella>
response = conn.method(method)
<mozzarella>
response = conn.method(method).call
<mozzarella>
httpcall(:get)
sailias has joined #ruby
sailias has quit [Read error: Connection reset by peer]
dc__ has quit [Remote host closed the connection]
<ghanima>
mozzarella: what is the difference between the 2 examples
lyuzashi has joined #ruby
jxf has quit [Ping timeout: 255 seconds]
MrJones has joined #ruby
<MrJones>
hi
<mozzarella>
well the first one returns a method object rather than calling that method object and returning its result
ehc has quit [Quit: ehc]
<mozzarella>
I just forgot to add .call, sorry
gondalier has quit []
Kricir_ has quit [Remote host closed the connection]
lewix has quit [Ping timeout: 245 seconds]
<MrJones>
I am scripting some ruby with an integrated ruby interpreter in RPG Maker VX Ace, and I am trying to convert a string from iso-8859-1 to utf-8. however, app_data_dir.force_encoding('iso-8859-1').encode('utf-8') gives me this error: Argument error occured. unknown encoding name - iso-8859-1
Guest93293 has quit [Quit: Leaving]
GriffinHeart has quit [Ping timeout: 272 seconds]
Spami has joined #ruby
jack_rabbit_ has joined #ruby
<MrJones>
the ruby version is 1.9.something
<MrJones>
any obvious culprit why that wouldn't work?
ddv has quit [Ping timeout: 245 seconds]
MatthewsFace has quit [Quit: Leaving]
doodlehaus has joined #ruby
<shevy>
on 2.1 this works fine
Kricir has joined #ruby
sopheny has joined #ruby
fold has quit [Ping timeout: 244 seconds]
bjhaid has joined #ruby
<MrJones>
shevy: well that doesn't help me that much, sorry :D
<MrJones>
xxneolithicxx: I just tried upper case, I get the same error
<shevy>
is it included in the list
ddv has joined #ruby
gondalier has joined #ruby
<shevy>
#<Encoding:ISO-8859-1>,
<shevy>
#<Encoding:ISO-8859-2 (autoload)>,
<shevy>
also try -2 just for lol :P
<MrJones>
what is that you are typing? those # things
<shevy>
output from irb
<shevy>
do: p Encoding.list
<MrJones>
shevy: gives me ASCII-8BIT, UTF-8, UTF-16LE, US-ASCII
dapz has joined #ruby
lw has joined #ruby
<xxneolithicxx>
they gave you the short stick there lol
<MrJones>
ok actually the more I think about it, the more I don't like this
<MrJones>
why should I convert at all
<MrJones>
let me pastebin some code, sec
NivenHuH has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arrubin has joined #ruby
<MrJones>
http://fpaste.org/111336/32236961/ ok so my prob is, File.exists? barks with "\xC3" from ASCII-8BIT to UTF-8 when the user name on the system has an umlaut and the system's locale is probably iso-8859-15 or iso-8859-1 (common for German users)
mikecmpbll has joined #ruby
<MrJones>
however, if I could just append the string without caring about what the encoding is - I mean who uses utf 16 anyway? and all the others I know of contain regular ascii stuff - I wouldn't have this problem in the first place
<MrJones>
since it ends up with the C file i/o in the end anyway which I suppose can deal with whatever the winapi has spit out
<MrJones>
so any ideas on how to do that without any conversion mess?
<xxneolithicxx>
wondering if the encodings available are system specific
andrewjanssen has quit [Quit: Leaving...]
<xxneolithicxx>
since you are using Win32API assuming thats windows you arent using stock Linux/ruby right
zz_jrhorn424 is now known as jrhorn424
rbartos has quit [Ping timeout: 240 seconds]
<MrJones>
as I wrote above I am using the ruby 1.9.x bundled with RPG Maker VX Ace
<MrJones>
so yes, it is some custom thing
andrewjanssen has joined #ruby
pietr0 has quit [Quit: pietr0]
Hobogrammer has quit [Ping timeout: 245 seconds]
sopheny has quit [Quit: Quitte]
sopheny has joined #ruby
<ghanima>
mozarella: thanks for your help that work as well as the .send method worked as well
nowthatsamatt has quit [Quit: nowthatsamatt]
<mozzarella>
np
Kricir has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
sopheny has quit [Client Quit]
<MrJones>
xxneolithicxx: well this computer has a German system language
aspires has quit []
<MrJones>
so it is most likely using iso-8859-15
seanosaur has joined #ruby
axsuul_ has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
emsilva has quit [Read error: Connection reset by peer]
jfran has quit [Read error: Connection reset by peer]
<MrJones>
oh, I think GetEnvironmentVariableW is my solution :)
mjsmith2 has joined #ruby
Xiti has joined #ruby
benlieb has quit [Quit: benlieb]
hpoydar has quit [Remote host closed the connection]
zarul has quit [Read error: Connection reset by peer]
kp666 has quit [Ping timeout: 240 seconds]
asteve has joined #ruby
seanosaur has quit [Remote host closed the connection]
hpoydar has joined #ruby
spastorino has joined #ruby
emsilva has joined #ruby
zarul has joined #ruby
zarul has quit [Changing host]
zarul has joined #ruby
Kricir has joined #ruby
dreamchaser has joined #ruby
<shevy>
MrJones odd that you dont have isos
<dorei>
MrJones: have u tried force_encoding?
<MrJones>
dorei: yes
<MrJones>
shevy: yes
marr has quit [Read error: Connection reset by peer]
<shevy>
I have a german system too
<shevy>
actually, the superior version of it; an austrian system
<shevy>
;)
mjsmith2_ has joined #ruby
<MrJones>
it works now, my tester confirmed it :)
<MrJones>
with GetEnvironmentVariableW and utf16 strings
<shevy>
why does it work
<shevy>
what is GetEnvironmentVariableW
<shevy>
is that C# code?
<shevy>
java?
<MrJones>
you can address the C calls of the winapi with the Win32API ruby module
<MrJones>
so that is C
jcromartie has joined #ruby
<shevy>
cool
<shevy>
you can directly tap into the winapi from .rb files?
<MrJones>
I used GetEnvironmentVariable before, and that maps to GetEnvironmentVariableA I guess
<MrJones>
yes you can
<MrJones>
the rpg maker community uses it for all sorts of hilarious hacks and extensions
<shevy>
can I do this on linux as well?
doodlehaus has quit []
<shevy>
or is this a case where linux stinks
mjsmith2 has quit [Ping timeout: 240 seconds]
<MrJones>
I would assume so, but using another module of course
<MrJones>
I guess ruby has general support for doing C calls
hpoydar has quit [Ping timeout: 264 seconds]
jrhorn424 is now known as zz_jrhorn424
<MrJones>
I doubt that was added just for the Win32API thing which is probably just a convenience addition on top of it
jonahR has quit [Remote host closed the connection]
<MrJones>
so google for calling C library functions in ruby.. that should get you the necessary information
lethjakman has joined #ruby
tyfighter has quit [Quit: tyfighter]
jonahR has joined #ruby
jahkobi has quit [Quit: jahkobi]
jcromartie has quit [Read error: Connection reset by peer]
jcromartie has joined #ruby
felixdd has joined #ruby
zz_karupa is now known as karupa
Xiti has quit [Quit: Leaving]
axsuul_ has quit [Ping timeout: 240 seconds]
andrewjanssen has quit [Quit: Leaving...]
mikecmpbll has quit [Quit: ciao.]
danijoo has quit [Read error: Connection reset by peer]
jonahR_ has joined #ruby
Channel6 has joined #ruby
danijoo has joined #ruby
jonahR has quit [Ping timeout: 255 seconds]
hamakn has quit [Remote host closed the connection]
aniM has joined #ruby
<matti>
MrJones: It does.
andrewjanssen has joined #ruby
lewix has joined #ruby
lewix has quit [Changing host]
lewix has joined #ruby
teddyp1cker has joined #ruby
<matti>
Oh, that's more for shevy
Hobogrammer has joined #ruby
<MrJones>
I am just using the Win32API thing because I am lazy and it exists :)
maestrojed has quit [Quit: Computer has gone to sleep.]
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
b00stfr3ak has quit [Ping timeout: 240 seconds]
jonahR_ has quit [Remote host closed the connection]
obs has quit [Quit: Konversation terminated!]
nanoyak has quit [Quit: Computer has gone to sleep.]
<benzrf>
MrJones: why are you writing for windows
<benzrf>
MrJones: 08:48 < benzrf> venn diagram = all parts represented, only parts that exist are colored in
<xxneolithicxx>
ok for one pattern its resolving the sentences into correct words
<ramers11>
not hillary .
aniM has joined #ruby
<ramers11>
and no sorry
<ramers11>
not hillarry démocrate .
ecksit has quit [Quit: Computer has gone to sleep.]
<xxneolithicxx>
lol this is like bot charades
<ramers11>
she is done ; at last .
<ramers11>
she is not .
karmatr0n has joined #ruby
<ramers11>
really . dont she is
<shevy>
xxneolithicxx lol
<ramers11>
th last wars . when told about this not her .
agrinb has quit [Ping timeout: 240 seconds]
<ramers11>
th last wars . when told about this not here .
<ramers11>
the last wars . when told about this not here .
<toretore>
ramers11: bush
<ramers11>
not bush
toastynerd has joined #ruby
<toretore>
it's trying to communicate
<ramers11>
the hell talk about the poeple tolding this
<toretore>
ramers11: sperm
dgaffney has joined #ruby
<toretore>
worst. ai. ever.
<xxneolithicxx>
it inverts the logic or it rewords the same sentence, or corrects it so all words are actual words. it has only a few patterns
<xxneolithicxx>
but still interesting to figure out
<xxneolithicxx>
ramers11: obama
<ramers11>
idont sperm speak sperm . ti yo
<ramers11>
or sperm in reality .
<toretore>
lol
<mozzarella>
topkek
<toretore>
make it say poop
<xxneolithicxx>
ramers11: doodoo
<xxneolithicxx>
ramers11: face
dc_ has quit [Remote host closed the connection]
<toretore>
ramers11: to be or not to be
<ramers11>
i dont whant tolding mutch than last . justely*
<ramers11>
i dont whant tolding mutch than last . justely
<ramers11>
i dont want tolding mutch than last justely
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ramers11>
hillary is not first démocrate in this country
<ramers11>
i don't hope .
<xxneolithicxx>
me neither
sugihara has joined #ruby
<xxneolithicxx>
ramers11: help
<ramers11>
what self are you ?
<xxneolithicxx>
ramers11: who am i
<ramers11>
the help is to remind
<ramers11>
told is god answers
aniM has quit [Remote host closed the connection]
lw has joined #ruby
sugihara has quit [Remote host closed the connection]
deric_skibotn has quit [Ping timeout: 240 seconds]
<xxneolithicxx>
ramers11: god told answers
<shevy>
lol
<toretore>
it's like watching someone who just had a brain seizure trying to make sense of things
<toretore>
stroke i guess it's called
<ramers11>
congratulation
<shevy>
called guess stroke hillary
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
nationcongrat
<shevy>
this bot is fun
<shevy>
I think I am communicating with the savage already
<xxneolithicxx>
ramers11: salutations
<xxneolithicxx>
lol
<ramers11>
yo can speak god what is your problem . or the interroguation about other poeplesq.
<ramers11>
yo can speak god what is your problem . or the interroguation about other poeples
<ramers11>
yo can speak god what is your problem . or the interroguation about other poeples
<shevy>
omg it's spam attacking suddenly
<xxneolithicxx>
ramers11: you can speek good. what is your problem with the interrogation of other people.
<shevy>
complete with misspellings
<ramers11>
studently you are .
<shevy>
what the fuck is "studently"
<toretore>
like a student, duh.
<xxneolithicxx>
ramers11: you are studious
<xxneolithicxx>
ramers11: ?
toastynerd has quit [Remote host closed the connection]
<ramers11>
again poeple then all peple autiste
<ramers11>
the savant
<xxneolithicxx>
its like i found a pet dog and i just want it to play back with me lol
datafirm has joined #ruby
<shevy>
lol
<ramers11>
it is mutch intelligent than all .
<shevy>
you are training it like a tamagochi
<xxneolithicxx>
lol
Guest93335 has joined #ruby
<shevy>
"mutch" intelligent... how can you misspell even "much"?
happytux has joined #ruby
<happytux>
hi
<happytux>
So how do you integrate bower into your asset / deployment pipeline?
<happytux>
Bower will pull the packages and extract them. Now from each package one usually only requires the distribution files. So for JQuery only the dist.js would interest me.
<shevy>
happytux can you kill ramers11
<happytux>
So you simply move/copy these files individually? Or is there a switch in bower which downloads only the dist files?
<happytux>
shevy: you mean kick?
trhodes_ has quit [Ping timeout: 264 seconds]
<shevy>
well eliminate all traces of it
mercwithamouth has joined #ruby
<shevy>
watch it soon ;)
<ramers11>
IT IS WELL AFRAID THIS
<happytux>
lol
<ramers11>
MAYBE DONT UNDERSTAND THE AUTISTES POEPLES ;
WillAmes has joined #ruby
<ramers11>
MAYBE DONT UNDERSTAND THE AUTISTES POEPLES ;
<ramers11>
MAYBE DONT UNDERSTAND THE AUTISTES POEPLES .
<happytux>
oh
<happytux>
no
<ramers11>
AFTER MANY TIME
<ramers11>
;
<ramers11>
.
<mozzarella>
somehow he knows I have Asperger Syndrome ( ;____;)
trhodes_ has joined #ruby
<ramers11>
sagitaire the horoscope .
<ramers11>
or others.
andrewhl has quit [Quit: andrewhl]
maestrojed has joined #ruby
<shevy>
lol mozzarella
<shevy>
imagine if this bot would found artificial live
<shevy>
and expands into the whole universe
Spami has quit [Quit: This computer has gone to sleep]
<xxneolithicxx>
its got quite a few rounds of evolution to go before it gets there, no worries
gigetoo has quit [Remote host closed the connection]
<xxneolithicxx>
i think this one is the darwinian line
rgrinberg has joined #ruby
gigetoo has joined #ruby
<ramers11>
is to smell it is darwin ar god
<ramers11>
god is first
<ramers11>
darwin scientifique is same .
<xxneolithicxx>
woohoo, it picked up my word lol
<Nilium>
Did someone let a bot in?
<xxneolithicxx>
ramers11: darwin is god
<ramers11>
i llok than horoscope poeple because meme si les gens savent pas ils sont pareils .
<ramers11>
i look than horoscope poeple because meme si les gens savent pas ils sont pareils .
<xxneolithicxx>
whoa now its speaking in tongues
<ramers11>
lhoroscope est vraiment quelque chose vérifiable ont pourrait croire . (translate)
diegoviola has joined #ruby
<Nilium>
s/tongues/french?/
<xxneolithicxx>
lol i guess, i dont know what that is
<xxneolithicxx>
all i know is est looks like it means is
<Nilium>
French or Spanish. Hard to tell with gibberish.
<xxneolithicxx>
not spanish
<xxneolithicxx>
ramers11: english
<Nilium>
It might even be a mix.
toastynerd has joined #ruby
<xxneolithicxx>
did the non english words after the english ones tip you off :-P
nerdy has joined #ruby
gondalier has joined #ruby
<mozzarella>
it's French
<ramers11>
on bac to baccalauréat in english i give 07 /20
<ramers11>
is same
timgauthier has joined #ruby
<ramers11>
along
<ramers11>
along time
chrishough has quit [Quit: chrishough]
<timgauthier>
time ago
<timgauthier>
in a galaxy far far far away
<xxneolithicxx>
ruby: it brings all the bots to the yard
<cashnguns>
my bot is better than yours..
asteve has joined #ruby
<timgauthier>
i aint no bot foo
<csmrfx>
so, is this a bot from the azerty guy?
<timgauthier>
i'm a real boy!
<xxneolithicxx>
who?
<timgauthier>
you
wack has joined #ruby
rezzack has quit [Quit: Leaving.]
<ramers11>
i can read like i want but not answer
seanosaur has joined #ruby
<timgauthier>
xxneolithicxx is a bot
<ramers11>
but no respond
<xxneolithicxx>
ramers11: yea no shit
northfurr has joined #ruby
lewix has joined #ruby
xxneolithicxx has quit [Quit: Leaving.]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
chrishough has joined #ruby
lw has quit [Quit: s]
<ramers11>
can you do
<ramers11>
talk about his .
<timgauthier>
brain, hertz
teddyp1cker has joined #ruby
<ramers11>
to understand deutch
<ramers11>
i think is impossible
emsilva has quit [Quit: Keep Walking (Computer Slept!)]
<timgauthier>
deutsch is best
maestrojed has quit [Quit: Computer has gone to sleep.]
<csmrfx>
ramers11: well if its pigs english?
<ramers11>
than doing easy to autiste
<csmrfx>
hey
<csmrfx>
ramers11: did you just call me an autiste?
<ramers11>
autistic
<csmrfx>
ramers11: I think your mom left?
phoo1234567 has quit [Remote host closed the connection]
pikapp has quit [Quit: Lost terminal]
Kricir has joined #ruby
<ramers11>
and what is the actuality on day ?
<csmrfx>
ramers11: You are your mom.
cyberarm has joined #ruby
cyberarm has quit [Remote host closed the connection]
<ramers11>
akai good bye and say me alone . not
<timgauthier>
IRC gets weird at night
<timgauthier>
it is like they are typing in chinese translated to german and then english
<ramers11>
lot of poeple not alone me .
<ramers11>
let . read
<ramers11>
let read
<timgauthier>
we don't understand
<csmrfx>
And your autistic mom, ramers11 ?
<ramers11>
the book
teddyp1cker has quit [Ping timeout: 240 seconds]
<csmrfx>
ramers11: your mom is the book?
<ramers11>
int french
<ramers11>
int. french
<csmrfx>
ok, its not a markov chain
<ramers11>
no there all all also
<csmrfx>
I'd like you to show me all all
<ramers11>
prefere maybe the generale in england told him
<ramers11>
i prefere maybe the generale in england told him
<ramers11>
not born in this chronologies
<ramers11>
and not nazi it is
<ramers11>
on américa
<ramers11>
is nazi but ours
<csmrfx>
olè
<timgauthier>
Nein nein nein nein nein
<ramers11>
américa poeple .
<timgauthier>
csmrfx are you exploring the system?
<ramers11>
mes amis vous devriez avoir votre siege
skysploit has joined #ruby
<ramers11>
je demande ala reine avoir un siege à coté vous deux
alvaro_o has quit [Quit: Ex-Chat]
<ramers11>
facile apres demande son fis
<ramers11>
laisser dans la riviere .
<ramers11>
facile apres demander son fis
<ramers11>
laisser dans la riviere .
mradmacher has joined #ruby
dreamchaser has quit [Remote host closed the connection]
alexandrite has quit [Remote host closed the connection]
skysploit has quit []
djbkd has joined #ruby
mikepack has joined #ruby
ltd has joined #ruby
<ramers11>
on education est fait .
<ramers11>
me trahit pas frangin .
mikepack has quit [Remote host closed the connection]
tectonic has joined #ruby
oo_ has joined #ruby
<ramers11>
c'est un roi qui rejoint cest parent peut etre
<ramers11>
c'est un roi qui rejoint cest parents peut etre
<ramers11>
:-)
<ramers11>
: )
<ramers11>
trhahit ps ton amis .
<ramers11>
ALLER SALUT ;
<ramers11>
this parents
anekos has joined #ruby
<ramers11>
trahit ps ton amis .
<ramers11>
this parents
<ramers11>
trahit pa ton amis .
<ramers11>
trahit pas ton amis .
<ramers11>
this parents
saarinen has quit [Ping timeout: 272 seconds]
<ramers11>
je suit à peut pres certain que c'est pas credible lhistoire .
rgrinberg1 has joined #ruby
rgrinberg has quit [Ping timeout: 244 seconds]
<ramers11>
CES DIEU ;
<ramers11>
c'est dieu .
<ramers11>
tout les esclaves déguages
<ramers11>
ont à plus besoin de eux .
oo_ has quit [Ping timeout: 240 seconds]
kireevco has quit [Quit: Leaving.]
<ramers11>
au retour .
fgo has quit [Ping timeout: 272 seconds]
<ramers11>
tu es ou devrait etre sacrifier .
Mon_Ouie has quit [Remote host closed the connection]
<ramers11>
VISUALISE BIEN TA DESTIN2
<ramers11>
VISUALISE BIEN TA DESTINé
<ramers11>
visualise bien ta destiné .
crazymykl has quit [Ping timeout: 245 seconds]
<ramers11>
aussi correct à répondre que rien .
<ramers11>
va voir dieu pd
<ramers11>
mon frere tu m'a trahit .
crazymykl has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg1 has quit [Quit: Leaving.]
tectonic has quit []
dapz has joined #ruby
freerobby has quit [Quit: Leaving.]
<ramers11>
il dirait quil à trahi persone
<ramers11>
et surtot à connetre sa miff .
<ramers11>
et surtou à connetre sa miff .
<ramers11>
frangin
<ramers11>
tu est un fis honnete mais de trahison
<ramers11>
salut.
<ramers11>
l'éducation est la notre
<ramers11>
difficile à croire;
<ramers11>
difficile à croire.
dapz has quit [Client Quit]
zkay11 has joined #ruby
dapz has joined #ruby
chrisbolton has joined #ruby
fold has joined #ruby
<chrisbolton>
I’m trying to use rgl from irb (rgl is a gem for ruby’s graph library). I ‘gem install rgl’. gem list shows its installed but when I try to require it, it says it cannot load such file — rgl.
<chrisbolton>
Any help would be appreciated.
dmyers has joined #ruby
mikemac has joined #ruby
<ramers11>
MOISE 0 REMPLI DES COMPTE DANS LARM2E GENERALE DES VICTOIRE . au compte egyptiens;
<ramers11>
MOISE 0 REMPLI DES COMPTE DANS LARM2E GENERALE DES VICTOIRE . au compte egyptiens.
crazymykl has quit [Read error: Connection reset by peer]
<ramers11>
MOISE à rempli sa vision la bas . au comptes egyptiens .
larsam has quit [Remote host closed the connection]
<ramers11>
MOISE à rempli sa vision la bas . aux compte egytiens .
<ramers11>
trahison
<ramers11>
scotcher à un arbre tout seul pendant un moment .
felixdd has quit [Ping timeout: 244 seconds]
Cache_Money has quit [Quit: Cache_Money]
<ramers11>
tu as bien fait de revenir ici
dodgepong has quit [Quit: Leaving]
mikesplain has quit []
<ramers11>
les prophetes sait ont jamais ont toujours un mauvais destin.
mikepack has joined #ruby
agrinb has joined #ruby
mikesplain has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
dodgepong has joined #ruby
dodgepong has joined #ruby
dodgepong has quit [Changing host]
<ramers11>
quel hypocrite osé ce moise .
<ramers11>
voir dieu peut etr
<ramers11>
voir dieu peut etre
<ramers11>
y allé seul ont n sait rien
<ramers11>
sauf la promoion toute neuf à ecrire .
<ramers11>
sauf la promoTon toute neuf à ecrire .
<ramers11>
sauf la promotion toute neuf à ecrire .
<ramers11>
etre jaloux dans l'existance .
thesheff17 has quit [Quit: Leaving]
<ramers11>
lol.
<ramers11>
que s'en foutre des miserable pauvre ;
agrinb has quit [Ping timeout: 240 seconds]
lewix has quit [Remote host closed the connection]
thesheff17 has joined #ruby
tyfighter has joined #ruby
<ramers11>
J4AIME PAS TOUT LE TEMPS LES NOIRE QUI CHANTE
mary5030 has joined #ruby
tyfighter has quit [Client Quit]
rgrinberg has joined #ruby
<ramers11>
NO stand .
<mozzarella>
there aren't any mods in this channel?
<diegoviola>
what's ||= doing exactly?
tectonic has joined #ruby
<csmrfx>
mods are sleeping
<csmrfx>
diegoviola: conditional assignment
<ramers11>
is you speak french maybe can i told mutch with you
<ramers11>
JESTE POUR vous roi d'égypte pas moise .
<ramers11>
JJETSEOUR vous roi d'égypte pas moise .
<ramers11>
ONT AVANCE TRES LOIN ;
<ramers11>
juste pour vos pas moise
sugihara has joined #ruby
pvb has joined #ruby
<ramers11>
hello . roi .
teddyp1cker has joined #ruby
<ramers11>
soyez pas déçut c'est un traitre. lui .
<ramers11>
discutez s'en moyennement .
<ramers11>
0 DIRE ;
Channel6 has quit [Quit: Leaving]
<ramers11>
0 DIRE
<ramers11>
à dire
<ramers11>
c'est une traitre à savoir .
<ramers11>
nnous le savont
ghanima has quit [Quit: Page closed]
<ramers11>
enregistrer vos ordres.
<ramers11>
c'est un traitre espaçer historique .
<ramers11>
lui qui c'est prix lea croix
<ramers11>
venant cracher sur votre face enlever le drapeau
<ramers11>
allah wakbar .
Lewix_ has joined #ruby
teddyp1cker has quit [Ping timeout: 240 seconds]
<ramers11>
le drapeau palestinien sur sa maision que dieu observe .
stytown has joined #ruby
pen has joined #ruby
<ramers11>
le drapeau palestinien sur sa maison que dieu observe .
<ramers11>
top de gens sont mort
<ramers11>
top de gens sont morts
<ramers11>
je vous pardonne pas non plus .
<ramers11>
trop de gens sont morts
<ramers11>
je vous pardonne pas non plus .
dreamchaser has joined #ruby
benlieb has joined #ruby
pvb has quit [Ping timeout: 272 seconds]
<ramers11>
dire que tous ont été faire la guerre
<ramers11>
vous sauvez un peu .
mercwithamouth has quit [Ping timeout: 245 seconds]
<ramers11>
c'est evidement . un détaille de la seconde guerre les chaambre à gaze
<ramers11>
c'est evidement . un détaille de la seconde guerre les chaambre à gaz
<ramers11>
c'est evidement . un détaille de la seconde guerre les chaambre à gaze
<ramers11>
autant que le nombre de juif eliminer
<ramers11>
150 minnions de gens parler que de eux
bluOxigen has joined #ruby
<ramers11>
la seconde guerre à parler c''est uniquement ça
brian___ has quit [Quit: brian___]
<ramers11>
150 millions de gens perdu
<ramers11>
la premier guere en à pris 1;5 million. au totale
fgo has joined #ruby
<ramers11>
dire que c'est que eux
timgauthier has joined #ruby
<ramers11>
c'est misérable
<Radar>
ramers11: shut the fuck up
<ramers11>
jadmire pas autant soral
<ramers11>
discuter comme il le souhait .
blueOxigen has joined #ruby
dreamchaser has quit [Read error: Connection reset by peer]
<ramers11>
des vision historique de sa vision.
Wolland_ has quit [Remote host closed the connection]
bmurt has quit []
<ramers11>
se présenter presque comme un storien
<ramers11>
se présenter presque comme un historien.
Wolland has joined #ruby
alexju has joined #ruby
<ramers11>
alors que justemet plains de gens dhistoire en parles de ça
<ramers11>
alors que justemen plains de gens dhistoire en parles de ça
<ramers11>
alors que justement plains de gens dhistoire en parles de ça
pontiki has joined #ruby
<ramers11>
alors que justement pleins de gens dhistoire en parles de ça
<ramers11>
et tou à fait exact le reporter
<ramers11>
et tout à fait exact le reporter
Wolland_ has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
<ramers11>
lire des livre meme acheter
<ramers11>
ou d'autres la lectures
<ramers11>
lire des bouquin d'apprentissages ce quont sait pas
<ramers11>
lire des bouquins d'apprentissages ce quont sait pas
<ramers11>
nietze parler de lecture un amoureux de ça
<ramers11>
jaurrait cru à baudelaire
<ramers11>
du genre ;
<ramers11>
AUSSI BIEN .
<ramers11>
rever presque le meme jour lire des livre de la meme période .
Wolland has quit [Ping timeout: 264 seconds]
karmatr0n has quit [Ping timeout: 240 seconds]
<ramers11>
je me souvient seul avoir lu le livre de lours ailleurs et la fille qui goutte le repas et le lit de tos
<ramers11>
je me souvient seul avoir lu le livre de lours ailleurs et la fille qui goutte le repas et le lit de tou
karmatr0n has joined #ruby
<ramers11>
je me souvient seul avoir lu le livre de lours ailleurs et la fille qui goutte le repas et le lit de tous
<ramers11>
vant de ce faire surprendre endormit
<ramers11>
avant e ce faire surprendre endormit
<ramers11>
avant de ce faire surprendre endormit
aspires has joined #ruby
Alina-malina has quit [Quit: Leaving]
Wolland_ has quit [Ping timeout: 245 seconds]
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ramers11>
endormit . des le matin avec un mot sur le frigidere
<ramers11>
(o pas)
<ramers11>
(oupas)
<ramers11>
la famille des ous
<ramers11>
la famille des our
<ramers11>
la famille des ours
<ramers11>
se sauvez dans la frailleur seul au monde .
fgo has quit [Remote host closed the connection]
kp666 has joined #ruby
zkay11 has left #ruby [#ruby]
testcore has joined #ruby
stytown has quit [Quit: stytown]
<ramers11>
la philosophie explique dautres animaux
<ramers11>
peut etre
<ramers11>
sauf que la la lecture est une june fille . qui s'endore sur le lit de l'enfant
<ramers11>
rien à voir avec freud
<ramers11>
quand jai lu ce livre un des premier d'ailleur.
<pontiki>
o/
<ramers11>
la fille etait térrorisé à voir les ours qui lui voulait pas de mal pour autant s'enfuir
<ramers11>
mais ont sait pas ou .
<pontiki>
anyone awake besides the annoybot?
yfeldblum has joined #ruby
<ramers11>
il avait fait un tour dans la sarée la famille ours
benlieb has quit [Read error: Connection reset by peer]
<ramers11>
elle à gouter chaud le repas pas à son gout du pere froid de la la mere tiede de l'enfant
<ramers11>
il ont vu quelquun à voir déja le repas entamé
<jle`>
what is going on in this channel
<ramers11>
le lit dur trop moaleux ou suffisant
<pontiki>
if you aren't ignoring ramers, nothing at all
<pontiki>
sorry, *are*
<jle`>
do we have ops or something?
<ramers11>
jai lu ce livre par hasard en entier .
<Nilium>
No. Just ghosts.
<ramers11>
jai bien rev2 ;
<ramers11>
jai bien revé
<pontiki>
#ruby: Total of 865 nicks [0 ops, 0 halfops, 0 voices, 865 normal]
<jle`>
i mean...people we can alert
<ramers11>
tres jeune à la bibprimaire
<pontiki>
maybe someone will wake up
<jle`>
to like...save the day or something
<pontiki>
/ignore works
<ramers11>
tres jeune à la biblio de primaire .
<jle`>
but there is injustice in this world
<ramers11>
j'ai lu ce livre au hasard en entier .
<pontiki>
heh
<pontiki>
well don't forget your cape
<ramers11>
LHISTOIRE CE TERMINE CORRECTEMENT SANT SAVOIR LA SUITE
<ramers11>
SAUF APRES Y REFL2CHIR AVEC DE LA M2MOIRE ;
<ramers11>
SAUF APRES Y REFL2CHIR AVEC DE LA Mémoire;
lyuzashi_ has joined #ruby
<ramers11>
sauf à y repenser apres avec de la mémoire .
chrisbolton has quit [Quit: chrisbolton]
<ramers11>
je suit pas doué comme neo à tout connaitre ou comme des autres sur le fil
<ramers11>
mais en y repenssant plus tard
<timgauthier>
pontiki it didn't work for me.. somehow
<pontiki>
what irc client do you use?
lyuzashi has quit [Ping timeout: 252 seconds]
poguez_ has quit [Quit: Connection closed for inactivity]
kilk_ has quit [Ping timeout: 245 seconds]
<ramers11>
repensser à ça apres.
<ramers11>
jai oublier de lui dire bonjour .
<ramers11>
that exemple
lyuzashi__ has joined #ruby
Morkel has joined #ruby
<ramers11>
le premier livre que jai lu moi meme je croit que c'est celui la .
<ramers11>
tot seul
<ramers11>
tout seul
duncannz has joined #ruby
<ramers11>
et puis d'ailleur personne m'aurrait dit de le lire
<ramers11>
sauf que pleins de gens ont lu la meme.
<ramers11>
peut etre pas innocent .
Wolland has joined #ruby
heftig has quit [Quit: Quitting]
lyuzashi_ has quit [Ping timeout: 272 seconds]
GriffinHeart has joined #ruby
dreamchaser has joined #ruby
agrinb has joined #ruby
aslan has joined #ruby
<aslan>
Anyone know how to fix this, I'm getting it when I travis runs 'bundle exec cucumber feature' : bundler/shared_helpers.rb:2:in `require': no such file to load -- rubygems
axsuul has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 240 seconds]
axsuul has joined #ruby
techsethi has joined #ruby
<ramers11>
les sport de combat
<ramers11>
comme batman .
<ramers11>
en parlant de ça
techsethi has quit [Client Quit]
<ramers11>
ont aurrait jamais douter du serveur
<ramers11>
plus vieux que lui
tectonic has quit []
jtreminio has joined #ruby
<jtreminio>
Hi all. Ruby newbie here. I'm using a Gem that's throwing a warning, "/var/lib/gems/1.9.1/gems/border_patrol-0.2.1/lib/border_patrol.rb:19: warning: assigned but unused variable - z". Is there a way to suppress general warnings like this?
zoraj has joined #ruby
wallerdev has quit [Ping timeout: 240 seconds]
wallerdev_ has joined #ruby
wallerdev_ has quit [Read error: Connection timed out]
happytux_ has joined #ruby
<ramers11>
not again told the cxcharabia to read done .
<ramers11>
not again told the charabia to read done .
MusachiMiyamotoF has joined #ruby
happytux has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
<ramers11>
this is beautiful to email the electrique go there touch sms .
<ramers11>
lots of sms .
<ramers11>
TOUCH SMS ;
<ramers11>
and after to see that none .
<ramers11>
none sms .
<ramers11>
the silence . to live the chat in the write
<Hanmac>
jtreminio: normally this warnings does not appear, you need to run ruby with -w so that appears
<ramers11>
and wrtitting
<ramers11>
and writting
rgrinberg has joined #ruby
<ramers11>
okay i red sms .
<ramers11>
okay i read sms .
<sevenseacat>
its a bit annoying that recent versions of rspec turn warnings on by default
<ramers11>
simply .
<jtreminio>
Hanmac: you're right, I had that in my hashbang declaration :)
<pontiki>
sounds rather perlescent
<pontiki>
(see what i did there?)
jtiggo has joined #ruby
karmatr0n has quit [Remote host closed the connection]
bigkevmcd has quit [Ping timeout: 252 seconds]
bigkevmcd has joined #ruby
senayar has quit [Remote host closed the connection]
<sevenseacat>
oh i misinterpreted - it sounded like you wanted gsub
yth5 has quit [Remote host closed the connection]
yth5 has joined #ruby
dmyers has joined #ruby
yth5 has quit [Client Quit]
yth5 has joined #ruby
lxsameer has joined #ruby
yth5 has quit [Client Quit]
Prawnzy has joined #ruby
skylite has joined #ruby
skylite has quit [Remote host closed the connection]
skylite has joined #ruby
dapz has quit [Read error: No route to host]
pranny has joined #ruby
carrumba has joined #ruby
skylite has left #ruby [#ruby]
chipotle has joined #ruby
Sep1 has joined #ruby
carrumba has left #ruby [#ruby]
agrinb has joined #ruby
Deejay_ has joined #ruby
chipotle has quit [Client Quit]
<Sep1>
Hi guys, I am fighting with some issues about gem installations and it looks like the problem is in the Xcode on my Mac. So I tried to remove it from the "Applications" folder, which was done successfully. But then, when I run the command "xcode-select --version", I get "xcode-select version 2003".
<Sep1>
Does it mean the xcode is not properly removed and is still in the system?
pvb has joined #ruby
Deejay_ has quit [Ping timeout: 245 seconds]
agrinb has quit [Ping timeout: 255 seconds]
Nebnev has joined #ruby
Morkel has joined #ruby
Deejay_ has joined #ruby
rgrinberg has quit [Quit: Leaving.]
boris has joined #ruby
chipotle has joined #ruby
fgo has joined #ruby
alem0lars has joined #ruby
pvb has quit [Read error: Connection reset by peer]
pranny has quit [Quit: Leaving.]
fabrice31 has quit []
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
kyb3r_ has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
fabrice31 has joined #ruby
Takle has joined #ruby
Deejay_ has quit [Quit: Computer has gone to sleep.]
itman has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 244 seconds]
dapz has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
Joulse has joined #ruby
tesuji has joined #ruby
niko has joined #ruby
timonv has joined #ruby
Takle has quit [Ping timeout: 244 seconds]
yacks has quit [Ping timeout: 245 seconds]
edmellum has joined #ruby
alex88 has joined #ruby
chipotle has quit [Quit: cya]
sigurding has quit [Ping timeout: 272 seconds]
dumdedum has joined #ruby
olivier_bK has joined #ruby
vinleod has joined #ruby
elaptics`away is now known as elaptics
ghr has joined #ruby
ndrei has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dekz has quit [Quit: Connection closed for inactivity]
mikecmpbll has joined #ruby
rgrinberg has joined #ruby
ephemerian has joined #ruby
sigurding has joined #ruby
tesuji_ has joined #ruby
gruz0[russia] has quit [Quit: Leaving]
tesuji has quit [Ping timeout: 272 seconds]
lolmaus has quit [Remote host closed the connection]
hermanmunster has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 245 seconds]
alem0lars has quit [Quit: Going AFK...]
pranny has joined #ruby
kaspergrubbe has joined #ruby
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
chipotle has joined #ruby
dumdedum has quit [Quit: foo]
Takle_ has joined #ruby
ddv has quit [Changing host]
ddv has joined #ruby
tesuji_ has quit [Ping timeout: 245 seconds]
Gil has joined #ruby
tesuji has joined #ruby
klaut has quit [Remote host closed the connection]
dumdedum has joined #ruby
chipotle has quit [Client Quit]
dangerousdave has quit [Read error: Connection reset by peer]
obs has joined #ruby
dangerousdave has joined #ruby
bradleyprice has quit [Ping timeout: 245 seconds]
qhartman has quit [Ping timeout: 264 seconds]
alem0lars has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
chipotle has joined #ruby
yfeldblum has joined #ruby
tesuji has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
sigurding has quit [Read error: Connection reset by peer]
alexju has quit [Remote host closed the connection]
rdark has joined #ruby
bal has quit [Ping timeout: 240 seconds]
sigurding has joined #ruby
bal has joined #ruby
PPH has quit [Read error: Connection reset by peer]
pacMakav_ has joined #ruby
<lxsameer>
hey guys how can i use sprockets and erb together in a rack app ?
relix has joined #ruby
agrinb has joined #ruby
timonv has quit [Remote host closed the connection]
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
abuzze_ has joined #ruby
agrinb has quit [Ping timeout: 264 seconds]
dangerousdave has quit [Ping timeout: 244 seconds]
qhartman has joined #ruby
elricsfate has quit [Ping timeout: 240 seconds]
marr has joined #ruby
xjiujiu has joined #ruby
chipotle has quit [Quit: cya]
rgrinberg has quit [Quit: Leaving.]
workmad3 has joined #ruby
Macaveli has quit [Quit: Leaving]
chipotle has joined #ruby
pranny has quit [Quit: Leaving.]
kenneth has joined #ruby
dangerousdave has joined #ruby
apeiros has quit []
AlexRussia has quit [Read error: Connection reset by peer]
setra has quit [Ping timeout: 272 seconds]
apeiros has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
andrewlio has joined #ruby
pacMakav_ has quit [Read error: Connection reset by peer]
ringarin has joined #ruby
chth0n has joined #ruby
oo_ has joined #ruby
timonv has joined #ruby
Macaveli has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
kp666 has joined #ruby
Zordrak has joined #ruby
jackneill has joined #ruby
Sinco_ has joined #ruby
klaut has joined #ruby
benlieb has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kiri_ has joined #ruby
kiri has quit [Disconnected by services]
<Zordrak>
Has anyone yet discovered a reasonable source for EL6 rpms for ruby2? I am using ruby-1.8.7 purely and solely for the purpose of puppet and because it's what CentOS 6 provides; but having to use RVM to provide other rubies is messing with stuff like gitlab and it's giving me a headache.
kiri_ has quit [Read error: Connection reset by peer]
<Zordrak>
I'm more than happy to run ruby-2.0.0 as my system ruby; but due to all the other stuff I need rpmdb to be aware of its presence, so I can't just rvm ruby2 and remove ruby-187
<Zordrak>
As far as my playing around with it can tell me, doing ruby2 via software collections is exactly the same as doing it with RVM just less supported and more likely to fail. Environments and all that malarkey
<Zordrak>
But it would be much better in the long run if there were an existing yum repo somewhere
routes has joined #ruby
pvb has joined #ruby
<routes>
I'm trying to do authorization with cancan, could someone help me?
_tpavel has joined #ruby
Takle_ has quit [Remote host closed the connection]
<gregf_>
join symfony
<gregf_>
bah. sorry :/
<lxsameer>
how can i get the binding of Sprockets object
ndrei has quit [Ping timeout: 240 seconds]
routes has quit [Quit: leaving]
gruz0[russia] has joined #ruby
sayem has quit [Ping timeout: 255 seconds]
Takle has joined #ruby
decoponio has joined #ruby
abuzze_ has quit [Ping timeout: 255 seconds]
lord4163 has quit [Ping timeout: 245 seconds]
rgrinberg has joined #ruby
pvb has quit [Read error: Connection reset by peer]
greenarrow has quit [Quit: 500]
tvw has joined #ruby
lord4163 has joined #ruby
karupa is now known as zz_karupa
SkyChaser has quit []
zoraj has quit [Remote host closed the connection]
zoraj has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
qba73 has quit [Remote host closed the connection]
jack_rabbit_ has quit [Ping timeout: 240 seconds]
agrinb has joined #ruby
sarkis has joined #ruby
pacMakaveli has joined #ruby
agrinb has quit [Ping timeout: 264 seconds]
zz_karupa is now known as karupa
ndrei has joined #ruby
karupa is now known as zz_karupa
zz_karupa is now known as karupa
greenarrow has joined #ruby
karupa is now known as zz_karupa
ringarin has quit [Quit: Leaving]
duncannz has quit [Ping timeout: 240 seconds]
dANOKELOFF has joined #ruby
emergion has quit [Quit: Connection closed for inactivity]
sski has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
sski has joined #ruby
oo_ has quit [Remote host closed the connection]
zoraj_ has joined #ruby
benlieb has quit [Quit: benlieb]
zoraj has quit [Ping timeout: 244 seconds]
oo_ has joined #ruby
alem0lars has quit [Quit: alem0lars]
sski has quit [Ping timeout: 244 seconds]
bruno- has joined #ruby
sarkis has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
vifino has joined #ruby
jxf has quit [Ping timeout: 260 seconds]
AlexRussia has joined #ruby
<lxsameer>
how can i get the binding of an object in Ruby
kp666 has quit [Read error: Connection reset by peer]
kp666 has joined #ruby
fabrice31 has quit [Remote host closed the connection]
<apeiros>
lxsameer: objects don't have bindings
mercerist has joined #ruby
<apeiros>
a binding is a lexical thing
<apeiros>
i.e., "a place in code" has a binding
<lxsameer>
apeiros: hmmm, so my current scope of code should have a binding , am i right?
<apeiros>
yes
<lxsameer>
apeiros: can i use binding like other objects, for example injecting methods to it ?
ndrei has quit [Quit: Lost terminal]
dapz has joined #ruby
<apeiros>
you should use ruby terminology instead of making up your own. what is "injecting methods"?
<apeiros>
Binding instances are ordinary objects
sigurding has quit [Ping timeout: 264 seconds]
skaflem has joined #ruby
<lxsameer>
apeiros: ok i get it now thanks
alem0lars has joined #ruby
alem0lars has quit [Client Quit]
thisirs has joined #ruby
dmyers has quit [Quit: dmyers]
kp666 has quit [Read error: Connection reset by peer]
Hien has quit [Ping timeout: 264 seconds]
kp666 has joined #ruby
axsuul has quit [Ping timeout: 245 seconds]
Hien has joined #ruby
pen has quit []
pen has joined #ruby
fabrice31 has joined #ruby
felixdd has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
hpoydar has joined #ruby
Guest93335 has quit [Remote host closed the connection]
b00stfr3ak has joined #ruby
ctp has quit [Ping timeout: 240 seconds]
ctp has joined #ruby
rgrinberg has quit [Quit: Leaving.]
hpoydar has quit [Ping timeout: 240 seconds]
seanosaur has joined #ruby
whitedawg1 has joined #ruby
whitedawg has quit [Ping timeout: 255 seconds]
greenarrow has quit [Quit: 500]
hgl has quit [Ping timeout: 240 seconds]
dANOKELOFF has quit [Remote host closed the connection]
felixdd has quit [Ping timeout: 255 seconds]
mijicd has quit [Quit: Lost terminal]
sarkis has joined #ruby
hgl has joined #ruby
alex88 has quit [Quit: Leaving...]
Joulse has quit [Quit: Joulse]
kp666 has quit [Ping timeout: 255 seconds]
Takle has quit [Remote host closed the connection]
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
sarkis has quit [Ping timeout: 272 seconds]
mijicd has joined #ruby
sski has joined #ruby
sski has quit [Remote host closed the connection]
pranny has joined #ruby
agrinb has joined #ruby
sski has joined #ruby
shredding has joined #ruby
seanosaur has quit [Remote host closed the connection]
AlSquire has joined #ruby
tesuji has joined #ruby
sski has quit [Ping timeout: 244 seconds]
agrinb has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
alex88 has joined #ruby
Takle has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackgoat has quit [Ping timeout: 240 seconds]
zoraj has joined #ruby
troulouliou_dev has joined #ruby
dapz has joined #ruby
pranny has quit [Quit: Leaving.]
blackgoat has joined #ruby
dapz has quit [Client Quit]
alex88 has quit [Client Quit]
oo_ has quit [Remote host closed the connection]
lkba has joined #ruby
zoraj_ has quit [Ping timeout: 240 seconds]
mijicd has quit [Quit: leaving]
mijicd has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
b00stfr3ak has quit [Remote host closed the connection]
pvb has joined #ruby
tus has joined #ruby
Xeago has joined #ruby
zoraj has quit [Read error: Connection reset by peer]
<movedx>
Given a module, would a class that only contains class attributes which in turn contains compiled regular expressions be compiled only once when the module is 'require'd?
zoraj has joined #ruby
blackgoat has quit [Read error: Connection timed out]
oo_ has joined #ruby
zoraj has quit [Read error: Connection reset by peer]
blackgoat has joined #ruby
shredding has quit [Quit: shredding]
Gil has quit [Ping timeout: 240 seconds]
plast1k_ has quit [Ping timeout: 264 seconds]
<apeiros>
"compiled"? I think you're looking at the wrong language
zoraj has joined #ruby
<apeiros>
ruby is one-pass. code is only parsed once.
<apeiros>
no idea whether that actually answers your question, though, since I'm not quite sure what exactly you're asking.
zoraj has quit [Read error: Connection reset by peer]
zoraj has joined #ruby
end_guy has quit [Remote host closed the connection]
end_guy has joined #ruby
pranny has joined #ruby
<movedx>
My question was rushed and unclear. The class has no instance methods or attributes (that I have defined). It only contains class attributes (@@s) that contain Regexp.new() calls, thus compiling a bunch of regular expressions. Are those expressions only compiled once per 'require' of said module?
<apeiros>
they are instanciated once. on the first require.
zoraj has quit [Read error: Connection reset by peer]
<apeiros>
subsequent requires don't reload code.
anaeem1 has quit [Read error: Connection reset by peer]
<apeiros>
also unless you have a good reason to use Regexp.new, use regex literals instead.
anaeem1 has joined #ruby
zoraj has joined #ruby
pranny has quit [Client Quit]
pranny has joined #ruby
pranny has quit [Client Quit]
zoraj has quit [Read error: Connection reset by peer]
scx has quit [Ping timeout: 255 seconds]
oo_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
dANOKELOFF has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby
AlSquirrel has joined #ruby
zoraj has joined #ruby
_tpavel has quit [Ping timeout: 272 seconds]
FDj has quit [Read error: Connection reset by peer]
einarj has joined #ruby
FDj has joined #ruby
brianherman has joined #ruby
ixti has joined #ruby
LnL_ has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 255 seconds]
mradmacher has joined #ruby
LnL has joined #ruby
Nebnev has quit [Quit: Leaving]
yfeldblu_ has quit [Ping timeout: 240 seconds]
phoo1234567 has joined #ruby
Ankhers has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
zoraj_ has joined #ruby
sigurding has joined #ruby
zoraj has quit [Ping timeout: 264 seconds]
zoraj_ has quit [Read error: Connection reset by peer]
zoraj has joined #ruby
eka has joined #ruby
Xeago has quit [Remote host closed the connection]
oo_ has joined #ruby
klaut has quit [Remote host closed the connection]
Xeago has joined #ruby
enape_101 has joined #ruby
jespada has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
TheKruex has joined #ruby
TheKruex has quit [Remote host closed the connection]
sarkis has joined #ruby
AlexRussia has quit [Remote host closed the connection]
alex88 has joined #ruby
enape_101 has quit [Ping timeout: 255 seconds]
Xeago has quit [Ping timeout: 255 seconds]
maximski has joined #ruby
DrCode has quit [Remote host closed the connection]
yfeldblum has joined #ruby
sarkis has quit [Ping timeout: 272 seconds]
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
enape_101 has joined #ruby
abra has quit [Ping timeout: 240 seconds]
DrCode has joined #ruby
Trudko has joined #ruby
abra has joined #ruby
fgo has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
agrinb has joined #ruby
Takle has quit [Remote host closed the connection]
fgo has quit [Read error: No route to host]
_tpavel has joined #ruby
lxsameer has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 240 seconds]
zoraj has quit [Ping timeout: 264 seconds]
zoraj has joined #ruby
ldnunes has joined #ruby
zoraj_ has joined #ruby
brian___ has joined #ruby
zoraj has quit [Ping timeout: 264 seconds]
fgo has joined #ruby
sugihara has quit [Quit: Leaving...]
kp666 has joined #ruby
<kp666>
hi..isnt rspec views an integration test?
kirun has joined #ruby
Xeago has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
spastorino has joined #ruby
GriffinHeart has joined #ruby
northfurr has joined #ruby
segmond has quit [Ping timeout: 255 seconds]
ari-_-e has quit [Ping timeout: 244 seconds]
mijicd has quit [Remote host closed the connection]
shredding has joined #ruby
ari-_-e has joined #ruby
pvb has quit [Read error: Connection reset by peer]
shredding has quit [Client Quit]
<movedx>
apeiros: Aren't literals compiled each time they're used?
<apeiros>
movedx: define "compiled"
<apeiros>
ruby isn't a compiled language
<movedx>
You keep saying this. I'm OBVIOUSLY talking about "compiled" in the context of the regular expression, which ARE compiled.
<apeiros>
you're wildly mistaken if you think there's only one way regular expressions can be processed.
tkuchiki_ has joined #ruby
* akerl
compiles his strings
* shevy
compiles his pants
<movedx>
I never said that was the case. I'm not arguing with you. I'll assume you can't answer my query and have little else to do with your time other than be a pedant.
GriffinHeart has quit [Remote host closed the connection]
<apeiros>
anyway, for regular expressions, a new instance is created whenever you *execute* the code
<apeiros>
and *class body code* is only executed at load time.
<apeiros>
which is precisely what I said. once.
<apeiros>
you can check the regex instance's object_id if you don't trust what I say.
<movedx>
Thank you. Now to address your second statement: 'also unless you have a good reason to use Regexp.new, use regex literals instead.' Are you referring to /these_literals/? If so, why would I want to run such a job, which is results in the regular expresson being compiled as it generates a Regexp.new() call each time (or does it?), when I pre-compile them once?
paulfm has joined #ruby
tkuchiki has quit [Ping timeout: 272 seconds]
ferr has joined #ruby
<apeiros>
Regexp.new("foo") does not "compile" a regex any more than /foo/ does
sigurding has quit [Quit: sigurding]
<apeiros>
it is more work for ruby, less chances to optimize, more code written.
<apeiros>
and there's zero chance it has any advantage.
LekeFly has joined #ruby
<movedx>
And if I use .compile()? SO you're aware, I am going to be applying these regular expressions against millions of strings per day, constantly flowing in.
tkuchiki_ has quit [Ping timeout: 255 seconds]
<apeiros>
movedx: maybe you should move from assumptions to knowledge.
<shevy>
lol
LekeFly has quit [Client Quit]
<apeiros>
Regexp.compile is an alias of Regexp.new
jespada has quit [Remote host closed the connection]
mark_locklear has joined #ruby
<apeiros>
and no, ruby does not perform any additional optimizations if you use Regexp.compile instead of //
<apeiros>
in the opposite
<apeiros>
a literal provides more chances to optimize
gruz0[russia] has quit [Quit: Leaving]
<movedx>
I'm asking you for that knowledge. That's why I'm asking these questions
<apeiros>
you're aware there's docs and internets and other fun stuff?
<shevy>
apeiros you are better than docs!!!
dilated_dinosaur has joined #ruby
<akerl>
Why google when I can ask humans to google for me
<movedx>
Yes I know, apeiros. Now you're just being insulting. I'm sorry to ahve wasted your time. I'll take what you've said and re-factor my code. Thanks.
<apeiros>
movedx: so asking you to read the docs is insulting?
maximski has quit [Ping timeout: 244 seconds]
<shevy>
whoa
<apeiros>
movedx: I feel very sorry for you then.
<shevy>
now it's an insult to suggest to read the docs
diegoviola has quit [Read error: Connection reset by peer]
<shevy>
apeiros READ THE DOCS!!!
Xeago has quit [Ping timeout: 240 seconds]
<shevy>
akerl READ THE DOCS!!!
<shevy>
movedx READ THE DOCS!!!
<shevy>
man, I pick on everyone all at the same time
<akerl>
urmom needs to read the docs!
<shevy>
the docs suck
* skmp
reads some hardware design docs
<shevy>
that sounds boring
<shevy>
cool
<movedx>
apeiros: No, assuming I don't know they exist or that I am underware that documentation is in place. I know, but I found the documentation didn't clarify the finer points for me, so reached out to the community. Again, I've clearly wasted your time. Thanks again. Although it must be said: this is what this channel is here for.
<shevy>
Regexp even has a method like this:
<shevy>
Regexp.try_convert(/re/)
<shevy>
you just said that the docs suck :(
<apeiros>
movedx: Regexp.compile says "Synonym for Regexp.new"
<akerl>
apeiros: Maybe there should be a tl;dr?
<apeiros>
movedx: so yes, if you go around and ask for "but but but compile!" when I told you Regexp.new didn't give an advantage, then you clearly did NOT read the docs.
<movedx>
apeiros: Indeed. I was simply wondering if .new() rsulted in a compiled query versus using //. I wasn't aware the two are the same thing. Thanks for clarifying.
<apeiros>
movedx: no you were not.
<movedx>
Have a good day.
<shevy>
:)
<apeiros>
you're embarrassed for being pointed out to be lazy and now you're making excuses. that's pathetic.
<apeiros>
anyway, yes, have a good day. and don't use the "insult" card for when you're really just embarrassed.
_tpavel has quit [Ping timeout: 255 seconds]
phinfonet has joined #ruby
<shevy>
read the docs!!!
Takle has joined #ruby
<movedx>
I'm both embarrased and annoyed, but the matter is closed. You won the internet points.
paf0 has joined #ruby
<shevy>
pipework now we have proof, docs are insulting
<movedx>
(I've heard they're worth alot in this community)
<shevy>
you both get zero points!
<akerl>
alot of points?
<shevy>
akerl negative points
<shevy>
everytime an insults like "read the docs" is issued, both lose 10 points
<movedx>
I'm worried now. Doesn't being placed on ignore, especially within the IRC ecosystem, mean you're massively impacted in real life?
garndt has joined #ruby
<movedx>
I'll never find love now.
Joulse has joined #ruby
<apeiros>
yay, k-d tree search for solar systems works. nice. much less cache data to carry around :D
Xeago has joined #ruby
klaut has joined #ruby
dilated_dinosaur has quit [Ping timeout: 255 seconds]
sski has joined #ruby
phutchins has joined #ruby
sarkis has joined #ruby
mjsmith2 has joined #ruby
lxsameer has joined #ruby
klaut has quit [Ping timeout: 244 seconds]
<LadyRainicorn>
In fact it does.
zz_karupa is now known as karupa
Xeago has quit [Remote host closed the connection]
<LadyRainicorn>
Every ignore you get increasws your probability of death 15% per annum.
jph98 has quit [Ping timeout: 240 seconds]
jerius has joined #ruby
<movedx>
Haha!
<movedx>
Bugger.
senayar has quit [Remote host closed the connection]
sarkis has quit [Ping timeout: 240 seconds]
karupa is now known as zz_karupa
jespada has joined #ruby
sski has quit [Remote host closed the connection]
<apeiros>
LadyRainicorn: nice, that's an 80% chance of death after 10y - assuming you have a single ignore and otherwise a zero percent chance :D
sski has joined #ruby
ta has joined #ruby
<LadyRainicorn>
(0*1.15*1)**10 is still 0
<apeiros>
hm?
centrx has joined #ruby
<apeiros>
1 - (1-(0+0.15))**10 --> 0.80
<LadyRainicorn>
It increases your probability of death by 15%, so if your prior probability is 0, it's still 0. For example, a person with a prior probability of death of 0.01 would have a probability of 0.0115 with one ignore.
northfurr has quit [Quit: northfurr]
<apeiros>
ah, I calculated with an increase by 15 percent points, not by 15 percent
Trudko has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
yfeldblum has joined #ruby
hpoydar has quit [Ping timeout: 240 seconds]
wingness has joined #ruby
alexju has joined #ruby
Tarential has quit [Ping timeout: 244 seconds]
CorpusCallosum has quit [Quit: Computer has gone to sleep.]
Takle has joined #ruby
fold has joined #ruby
sailias has joined #ruby
senayar has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
karmatr0n has joined #ruby
timonv has quit [Remote host closed the connection]
anaeem___ has joined #ruby
Wayneoween has joined #ruby
agrinb has joined #ruby
obs has quit [Quit: Konversation terminated!]
<wingness>
anyone here use Gherkin?
anaeem1 has quit [Ping timeout: 272 seconds]
rasta-man has joined #ruby
<wingness>
I'm trying to figure out how to include unicode characters in the test data table
<rasta-man>
I am just starting up learning ruby via games development, does anyone know if it is possible to create angry bird for example in ruby?
Ankhers has joined #ruby
hgl has quit [Ping timeout: 245 seconds]
agarie has joined #ruby
Guest36192 has quit [Ping timeout: 245 seconds]
Channel6 has joined #ruby
Tarential has joined #ruby
SilverKey has joined #ruby
bdnelson has quit [Quit: Computer has gone to sleep.]
rasta-man has left #ruby [#ruby]
tobago has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
cocotton has joined #ruby
kiri has quit [Ping timeout: 244 seconds]
<LadyRainicorn>
Yes, but you will be sued for copyright infringement.
diegoviola has joined #ruby
thesheff17 has joined #ruby
<LadyRainicorn>
(at least on Android, not sure about iOS)
timonv has joined #ruby
<LadyRainicorn>
But I wouldn't really recommend Ruby for serious app development tbh.
<centrx>
s/serious/desktop
<LadyRainicorn>
lol centrx
benzrf is now known as benzrf_
kiri has joined #ruby
benzrf_ is now known as benzrf
benzrf is now known as benzrf_
benzrf_ is now known as benzrf
mikesplain has joined #ruby
lmickh has joined #ruby
benzrf is now known as benzrf_
benzrf_ is now known as benzrf
acrussell has joined #ruby
Photism has quit [Quit: Leaving]
djcp has joined #ruby
acrussell has left #ruby [#ruby]
Takle has quit [Remote host closed the connection]
zchrykng has joined #ruby
failshell has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
little_fu has joined #ruby
Takle has joined #ruby
dangerousdave has joined #ruby
Rickmasta has quit [Read error: Connection reset by peer]
Zenigor has joined #ruby
Channel6 has quit [Quit: Leaving]
kp666 has joined #ruby
tier has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
ffranz has joined #ruby
andrewjanssen has joined #ruby
freerobby has joined #ruby
Sinco_ has quit [Quit: Leaving...]
mijicd has quit [Remote host closed the connection]
axsuul has joined #ruby
ehc has joined #ruby
GriffinHeart has joined #ruby
agrinb has quit [Remote host closed the connection]
tier has joined #ruby
RaCx has joined #ruby
cocotton_ has joined #ruby
failshel_ has joined #ruby
zigomir has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
codabrink has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
failshell has quit [Ping timeout: 244 seconds]
GriffinHeart has quit [Ping timeout: 240 seconds]
treehug88 has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
pvb has joined #ruby
cocotton has quit [Ping timeout: 272 seconds]
cocotton_ has quit [Ping timeout: 255 seconds]
jespada has quit [Quit: Leaving]
bluOxigen has quit [Ping timeout: 244 seconds]
cocotton has joined #ruby
badhatter has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
SilverKey has quit [Quit: Halted.]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
endash has joined #ruby
Takle has joined #ruby
pietr0 has joined #ruby
scx has joined #ruby
orionstein_away is now known as orionstein
SilverKey has joined #ruby
scx has quit [Ping timeout: 245 seconds]
scx_ has joined #ruby
Nahra has quit [Remote host closed the connection]
maroloccio has quit [Quit: WeeChat 0.4.3]
cpruitt has joined #ruby
chipotle has quit [Quit: cya]
maximski has joined #ruby
yfeldblum has joined #ruby
pvb has quit [Read error: Connection reset by peer]
maximski has quit [Max SendQ exceeded]
pvb has joined #ruby
AlexRussia has joined #ruby
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
chipotle has joined #ruby
agrinb has joined #ruby
computerex has joined #ruby
mrchris has joined #ruby
pvb has quit [Read error: Connection reset by peer]
hobodave has joined #ruby
<mrchris>
One of the new gems I'm using - Virtus - depends on a gem called "backports". Backports includes a class "Matrix", which happens to collide with one of my own classes. I can no-longer use my own class. What can I do?
yfeldblum has quit [Ping timeout: 244 seconds]
cgj_ has joined #ruby
hobodave has quit [Client Quit]
anaeem___ has quit [Remote host closed the connection]
snath has quit [Ping timeout: 264 seconds]
mattstratton has joined #ruby
cgj has quit [Ping timeout: 252 seconds]
eka has joined #ruby
zigomir has joined #ruby
<benzrf>
mrchris: wish you were using a language with a sane import system
<benzrf>
mrchris: in the meantime, manually namespace all of your classes by dumping them into a module
endash has quit [Quit: endash]
<benzrf>
module MrChrisApp
<benzrf>
class Matrix
zoraj_ has left #ruby [#ruby]
<nug>
which is in effect the same thing that languages with a sane import system provide
dblessing has quit [Quit: dblessing]
ixti has quit [Ping timeout: 272 seconds]
Zenigor has quit [Remote host closed the connection]
tagrudev has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
Zenigor has joined #ruby
qba73 has quit []
<shevy>
mrchris the proper way is to namespace
<matti>
benzrf: No, no.
<shevy>
mrchris in the worst case, you would do something like this:
<shevy>
# project foobar
<shevy>
module Foobar; class Foobar
<matti>
benzrf: include ThereIsNoSpoon
maximski has quit [Ping timeout: 245 seconds]
<matti>
shevy: Ohai
<shevy>
hey matti
<shevy>
still trapped in the UK?
<matti>
I live here.
<shevy>
hehe
<centrx>
Stockholm Syndrome
<matti>
So, trapped it a bit of an over-statement ;p
<shevy>
isn't it damn expensive in the UK?
anaeem1 has joined #ruby
<matti>
centrx: Hahaha
<matti>
shevy: Depends. London most certainly is.
<shevy>
yeah
<matti>
shevy: Thinking of moving?
<shevy>
hmm not yet, too many things to solve first
<mrchris>
I use my class in quite a lot of places so I'd rather not update everything. But if I have to .... hmphh..
<shevy>
but what else than London is there to go anyway ;)
<shevy>
rural fish villages
<shevy>
non-stop rain
<shevy>
FOG
<matti>
Well.
<matti>
UK is actually quite a pretty place in country-side.
<shevy>
mrchris well there just is no other way really; ruby assumes that if you have two classes with the same name, in the same namespace, then they are the same; that's how god-patching works (some call it monkey-patching too), so you can extend and modify everything there is at runtime
<matti>
Get a remote job and live in a smaller city. And you will have your tranquility.
anaeem1__ has joined #ruby
fgo has quit [Remote host closed the connection]
maximski has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
<shevy>
mrchris I usually use grep to find where it is used, and if you wish to retain the same behaviour, and if it is a module, simply add include NameOfProject at the top either, or prefix the class invocation via NameOfProject::
<shevy>
matti ewwww... remote jobs :(
<shevy>
I can't compete with the indians, there are just too many of them
<matti>
shevy: What about them?
enape_101 has quit [Ping timeout: 264 seconds]
asteve has joined #ruby
<matti>
shevy: Well. You can on quality.
<shevy>
I hate small cities too
Takle has joined #ruby
<shevy>
they give you less options!
<matti>
shevy: Move to NYC, then ;]
<shevy>
hmm
<shevy>
if I'd go to the USA then only for california
<matti>
shevy: I personally dread NYC, but folks love it.
treehug8_ has joined #ruby
<matti>
shevy: +1
<shevy>
I don't like the city style
treehug8_ has quit [Max SendQ exceeded]
treehug88 has quit [Ping timeout: 244 seconds]
<centrx>
California is a shithole
<shevy>
but rich!
EvanR has joined #ruby
treehug88 has joined #ruby
treehug88 has quit [Max SendQ exceeded]
anaeem1_ has joined #ruby
EvanR is now known as Guest41920
anaeem1__ has quit [Read error: Connection reset by peer]
treehug88 has joined #ruby
treehug88 has quit [Max SendQ exceeded]
<matti>
centrx: I beg the differ. San Jose is nice.
<matti>
centrx: MTV is nice.
<matti>
;]
alem0lars has joined #ruby
treehug88 has joined #ruby
treehug88 has quit [Max SendQ exceeded]
Atrumx has joined #ruby
hpoydar has joined #ruby
NukePuppy has joined #ruby
<shevy>
what about san diego
<centrx>
It is a vast polluted megalopolis consisting mostly of strip malls and highways
treehug88 has joined #ruby
<mrchris>
Thanks. Adding to a module worked great. PITA thoug
treehug88 has quit [Max SendQ exceeded]
<nug>
and endless suburbs
<centrx>
San Jose/San Fran corridor that is, never been to San Diego
treehug88 has joined #ruby
zz_jrhorn424 is now known as jrhorn424
blizzow has quit [Ping timeout: 245 seconds]
bruno- has quit [Quit: leaving]
treehug88 has quit [Max SendQ exceeded]
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
treehug88 has joined #ruby
maletor has joined #ruby
enape_101 has joined #ruby
treehug88 has quit [Max SendQ exceeded]
sarkis has joined #ruby
treehug88 has joined #ruby
treehug88 has quit [Max SendQ exceeded]
zigomir has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
treehug88 has joined #ruby
<mrchris>
t
<centrx>
jackneill, Okay, but global variables is not the way to do it.
treehug88 has quit [Max SendQ exceeded]
<jackneill>
centrx: sorry getting started with ruby
<shevy>
mrchris yeah, it's simply a trade-off you have; in java you have to namespace everything all the time I think; in ruby I split up my gems to allow things like: require 'foobar/autoinclude' so I dont have to manually do: include Foobar
<centrx>
jackneill, Just a general notice, might be a distraction for now
treehug88 has joined #ruby
sarkis has quit [Ping timeout: 264 seconds]
treehug88 has quit [Max SendQ exceeded]
enebo has joined #ruby
<centrx>
jackneill, What is the line that is failing with split/delete ?
pvb has joined #ruby
<jackneill>
centrx: not really, since i want to learn good practices so if not $vars then what?
pskosinski_ has joined #ruby
ixti has joined #ruby
Morkel has joined #ruby
<jackneill>
centrx: line 6
treehug88 has joined #ruby
<jackneill>
delete is failing
abdulsattar has joined #ruby
treehug88 has quit [Max SendQ exceeded]
<centrx>
jackneill, I mean what is the line from the file being parsed where that fails
mercerist has joined #ruby
<jackneill>
first line, sec
treehug88 has joined #ruby
<centrx>
jackneill, You probably want an instance variable in the class instead of a global variable. Instance variables are accessible across any method inside the class, and can be made accessible outside of the class.
treehug88 has quit [Max SendQ exceeded]
<jackneill>
Alma Péter ALPTAAI.ELTE IP-08cSCNYE/1 10, 12, 5, 0, 3
<shevy>
wtf
<jackneill>
this is how a line looks like.
<centrx>
uh oh, that is the access code to my artificial intelligence
<shevy>
jackneill this is not good
<jackneill>
centrx: i dont use a class, its just a simple app no need for those.
<shevy>
your code is not complete
<shevy>
you use $contents but your code does not show where it is
maletor has quit [Quit: Computer has gone to sleep.]
karmatr0n has joined #ruby
axsuul has joined #ruby
fabrice31 has quit [Remote host closed the connection]
Mawile has joined #ruby
Takle has joined #ruby
baroquebobcat has joined #ruby
<davidcelis>
$conents...
<davidcelis>
as opposed to $contents
<Mawile>
Yo~! Silly question, but if I have a method that returns a Proc, can I pass that as a parameter in a callable way to another method?
<davidcelis>
Mawile: yeah, blocks are just like any other objects; you can pass them around
treehug88 has quit [Ping timeout: 240 seconds]
tier has quit [Remote host closed the connection]
<Mawile>
Hm
<aslan>
Anyone know how to fix this, I'm getting it when I travis runs 'bundle exec cucumber feature' : bundler/shared_helpers.rb:2:in `require': no such file to load -- rubygems
<davidcelis>
typically you make the method take a &block arg, listed last
<davidcelis>
im guessing in get_domain_preference, you forgot the comma between user and get_domain?
<Mawile>
The idea is that get_preference_from_query uses a block created on the fly from get_domain
mikepack has quit [Remote host closed the connection]
Zebroid_ has quit [Ping timeout: 264 seconds]
<Mawile>
davidcelis: Well, if I do have one, it is not passed into &block, and if &block is block, I can't call it
dgaffney has quit [Remote host closed the connection]
<jackneill>
davidcelis: thanks:)
<Mawile>
But yeah
treehug88 has joined #ruby
dgaffney has joined #ruby
<Mawile>
That was a typo from trying a bunch of things
treehug88 has quit [Max SendQ exceeded]
<centrx>
Mawile, The &block in block is generally for converting a block into a proc. Since you already have a Proc, you don't need the &
<davidcelis>
yeah
<Mawile>
Ah
<Mawile>
Neat
<davidcelis>
i'd leave the & off, and just call it
nowthatsamatt has quit [Read error: Connection reset by peer]
<davidcelis>
and my guess is you need to put the comma back between user and get_domain
treehug88 has joined #ruby
treehug88 has quit [Max SendQ exceeded]
<Mawile>
Ah! I was wondering the correct way of going around that... So blocks, if they are alreayd Procs don't need to be passed with & in front of their name?
<Mawile>
That's neat
<Mawile>
And yes, yes I would
<Mawile>
Typo
<Mawile>
:T
<apeiros>
huh?
<apeiros>
Mawile: not reading the backlog, but if you pass an argument without &, it is not passed as a block.
zorak has joined #ruby
Neomex has joined #ruby
<Mawile>
Well, I was trying to pass a Proc that was created ab-lib from another method
<davidcelis>
Isn't the &block syntax just typically to convert an anonymous block to a Proc object?
<centrx>
Mawile, A block is the syntactic thing represented by the { |x| y }, not actually an Object
<davidcelis>
He already has a Proc object; it should be callable regardless of how it's passed
<Mon_Ouie>
No.
jonahR has quit [Ping timeout: 272 seconds]
<apeiros>
davidcelis: in the receiving method
<Mon_Ouie>
>> [1, 2, 3].map(proc { |x| x*3 })
<eval-in>
Mon_Ouie => wrong number of arguments (1 for 0) (ArgumentError) ... (https://eval.in/165191)
<apeiros>
& tells ruby to treat what you pass as the block. the block is a special argument. you can't leave the & away if it's already a proc but want it passed as a block.
treehug88 has joined #ruby
ascarter has joined #ruby
treehug88 has quit [Max SendQ exceeded]
ascarter has quit [Max SendQ exceeded]
<apeiros>
also consider: you can pass as many procs as ordinary argument as you want. you can only ever pass a single block. the two are not interchangeable.
kiri has quit [Quit: Leaving]
treehug88 has joined #ruby
ascarter has joined #ruby
<Mawile>
Ah
gregf_ has quit [Quit: leaving]
<Mawile>
I may need to read up on this a little more
<Mawile>
Thanks though..!
Mawile has left #ruby [#ruby]
GriffinHeart has joined #ruby
eka has quit [Read error: Connection reset by peer]
eka has joined #ruby
aspires has joined #ruby
lkb has joined #ruby
ixti has joined #ruby
lkb has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
GriffinHeart has quit [Ping timeout: 264 seconds]
Photism has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
terrellt has quit [Read error: Connection reset by peer]
terrellt has joined #ruby
nowthatsamatt has joined #ruby
cocotton has quit [Remote host closed the connection]
yeticry_ has quit [Ping timeout: 255 seconds]
Lucky__ has joined #ruby
cocotton has joined #ruby
troyready has joined #ruby
timonv has quit [Remote host closed the connection]
Lucky__ has quit [Client Quit]
yeticry has joined #ruby
maestrojed has joined #ruby
failshel_ has quit [Remote host closed the connection]
Lucky__ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
tier has joined #ruby
terrell_t has joined #ruby
eka has quit [Read error: Connection reset by peer]
eka has joined #ruby
terrellt_ has joined #ruby
enape_101 has quit []
SCHAAP137 has joined #ruby
Zenigor has quit [Remote host closed the connection]
shvelo has quit [Ping timeout: 240 seconds]
baroquebobcat has joined #ruby
cocotton has quit [Remote host closed the connection]
Solnse has joined #ruby
mikecmpbll has quit [Ping timeout: 264 seconds]
einarj has quit [Remote host closed the connection]
felixjet has quit [Read error: Connection reset by peer]
terrellt has quit [Ping timeout: 244 seconds]
ringarin has joined #ruby
tier has quit [Ping timeout: 272 seconds]
lkba has quit [Ping timeout: 244 seconds]
terrell_t has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
hello_nate has joined #ruby
sarkis has joined #ruby
oo_ has joined #ruby
Hobogrammer has joined #ruby
toastynerd has quit [Remote host closed the connection]
maletor has quit [Ping timeout: 264 seconds]
bricker`work has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
chrishough has joined #ruby
fgo has joined #ruby
oo__ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
alem0lars has quit [Quit: alem0lars]
oo__ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
hello_nate has quit [Remote host closed the connection]
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
treehug88 has quit []
hello_nate has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
oo__ has joined #ruby
emsilva has quit [Quit: Keep Walking (Computer Slept!)]
kireevco has quit [Quit: Leaving.]
oo__ has quit [Read error: Connection reset by peer]
emsilva has joined #ruby
terrellt_ is now known as terrellt
oo_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
fgo has quit [Ping timeout: 272 seconds]
MusachiMiyamotoF has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
oo__ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
pacMakaveli has quit [Remote host closed the connection]
oo__ has quit [Read error: Connection reset by peer]
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
rebelshrug has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
figgleberry has joined #ruby
oo_ has joined #ruby
yfeldblum has joined #ruby
Stalkr^ has joined #ruby
oo__ has joined #ruby
Stalkr^ has quit [Changing host]
Stalkr^ has joined #ruby
cocotton has joined #ruby
oo___ has joined #ruby
RaCx has joined #ruby
oo___ has quit [Read error: Connection reset by peer]
oo_ has quit [Ping timeout: 264 seconds]
gygar has joined #ruby
cocotton has quit [Remote host closed the connection]
oo_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
oo__ has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
larsam has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 272 seconds]
LRRRRRRR has joined #ruby
MusachiMiyamotoF has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
djbkd has joined #ruby
maletor has joined #ruby
<LRRRRRRR>
Hi #Ruby...noob here trying to set up my Macbook rails environment. Have MySQL, RVM (with ruby 1.9.2, gemset), Homebrew installed as well as cloning my GIT. I'm trying to bundle install and continue running into issues with installing rubyracer 0.9.9 - any one able to take a look at my problem with me would be greatly appreciated...been searching f
<LRRRRRRR>
or a solution for hours
apeiros has quit [Remote host closed the connection]
chipotle has quit [Quit: cya]
apeiros has joined #ruby
rgrinberg has joined #ruby
pu22l3r has joined #ruby
b00stfr3ak has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
klaut has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
djbkd has quit [Remote host closed the connection]
mijicd has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
hpoydar has quit [Remote host closed the connection]
abi-hto has quit [Ping timeout: 246 seconds]
MusachiMiyamotoF has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hpoydar has joined #ruby
IceDragon has joined #ruby
tvw has quit []
Takle has quit [Remote host closed the connection]
<AntelopeSalad>
LRRRRRRR: chances are you want to install nodejs instead of rubyracer
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
<LRRRRRRR>
rubyracer is specifically included in the production section of the gemfile
<LRRRRRRR>
and with others working on the project would I run into issues removing that from my gemfile?
<AntelopeSalad>
rails requires some javascript runtime to be available so it can do its magic with assets
<AntelopeSalad>
that's where node comes in
Spami has joined #ruby
Deejay_ has quit [Quit: Computer has gone to sleep.]
fgo has joined #ruby
pu22l3r has quit [Remote host closed the connection]
hpoydar has quit [Ping timeout: 272 seconds]
Hobogrammer has quit [Ping timeout: 272 seconds]
pu22l3r has joined #ruby
<LRRRRRRR>
to do that, would I modify my gemfile to remove rubyracer and add nodejs?
boris has quit [Remote host closed the connection]
<shevy>
"The Voyager spacecraft computers are interrupt driven computer, similar to processors used in general purpose computers with a few special instructions for increased efficiency. The programming is a form of assembly language."
<shevy>
so awful assembler programming
<matti>
shevy: Voyager had special design.
<matti>
shevy: It had to be simple.
<shevy>
"the computers were manufactured by General Electric" omg
<matti>
shevy: And everything was heavily shielded from radiation.
<shevy>
I like simple
<shevy>
but ruby is simpler than assembler!
<matti>
shevy: Amount of cosmic rays and radiation in general in that deep space is vast.
<shevy>
yeah
<shevy>
I watched Event Horizon man
<shevy>
I know all there is to know now
dreamchaser has joined #ruby
<matti>
LOL
<shevy>
Spaceships can become intelligent beings
pvb has quit [Read error: Connection reset by peer]
<matti>
Voyager will reach closest black hole in ...
<shevy>
cool
<matti>
How many thousands of years.
<matti>
10s 100s?
<shevy>
first man-made vessel to get destroyed by a black hole
<shevy>
I don't know but I guess a long time, considering that the space is far away
<shevy>
I don't even know what is the closest black hole
djbkd has quit [Remote host closed the connection]
x1337807x has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
eka_ has joined #ruby
fgo has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
djbkd has quit [Remote host closed the connection]
eka has quit [Ping timeout: 240 seconds]
mikesplain has quit [Ping timeout: 272 seconds]
maletor has joined #ruby
mikepack has joined #ruby
<zastern>
rbenv users: how do you maintain gemsets accross ruby versions? I'm not referring to per-project gems, I more mean "utility gems" that you always want installed.
brunops has quit [Ping timeout: 264 seconds]
<zastern>
E.g. every time I install a new patchset I have to reinstall pry, etc.
hpoydar has quit [Remote host closed the connection]
<zastern>
I guess I could maintain a bundle file that just has the stuff i generally need
mattstratton has quit [Ping timeout: 244 seconds]
mikesplain has joined #ruby
RaCx has joined #ruby
hpoydar has joined #ruby
<zastern>
That seems like a strange way of doing it though.
<shevy>
can't you just batch install?
djbkd has joined #ruby
<shevy>
they are available in cache/ subdirectory anyway
jfran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<zastern>
I could just make a list, yeah
<zastern>
Maybe I'll just make a zsh alias called "gem_me" that gem installs my common gems.
rbartos has quit [Remote host closed the connection]
<zastern>
that arent project-specific
seanosaur has joined #ruby
RaCx has quit [Client Quit]
tectonic has joined #ruby
noop has joined #ruby
edgarjs has joined #ruby
hpoydar has quit [Ping timeout: 245 seconds]
RaCx has joined #ruby
simoz111117 has joined #ruby
nolic has joined #ruby
sepp2k has joined #ruby
mikepack has quit [Remote host closed the connection]
<slash_nick>
or r.name.in?(['Free User', 'Paid User']) if you've got #in?
<Sc0rp10n>
oh I see
razrunelord has quit [Remote host closed the connection]
RaCx has joined #ruby
phutchins has quit [Ping timeout: 264 seconds]
shevy has quit [Ping timeout: 255 seconds]
brunops has joined #ruby
RaCx has quit [Client Quit]
<Sc0rp10n>
thanks slash_nick, it worked!
<slash_nick>
cool
karmatr0n has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
lmickh_ has joined #ruby
lmickh has quit [Ping timeout: 240 seconds]
kenneth has joined #ruby
RaCx has joined #ruby
jahkobi has quit [Quit: jahkobi]
RaCx has quit [Client Quit]
gustavn has joined #ruby
Kricir has quit [Remote host closed the connection]
simoz111117 has quit [Quit: Nettalk6 - www.ntalk.de]
zybi1 has quit [Ping timeout: 272 seconds]
blueOxigen has joined #ruby
bluOxigen has quit [Read error: No route to host]
<gustavn>
I'm currently writing my own interpreter for a programming language in Ruby. Considering the language has types like integer, string and so on, would it be acceptable to use Ruby's types for that, or would you create your own classes to represent it anyway?
simoz111117 has joined #ruby
scx has joined #ruby
scarolan has quit [Ping timeout: 255 seconds]
obs has quit [Quit: Konversation terminated!]
chipotle has quit [Quit: cya]
pu22l3r_ has joined #ruby
RaCx has joined #ruby
jahkobi has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlexRussia has quit [Quit: No Ping reply in 180 seconds.]
SCHAAP137 has quit [Remote host closed the connection]
nanoyak has joined #ruby
<Sou|cutter>
gustavn: just go for whatever you think. You'll make mistakes and learn from them
AlexRussia has joined #ruby
<rixius>
Just erased what I was typing. Haha. Sou|cutter said it best. ^.^
<gustavn>
Sou|cutter: All right, then I'll use the regular ruby types
pietr0 has quit [Quit: pietr0]
shevy has joined #ruby
<gustavn>
Oh, one question though. If I want to represent nil with something else than nil, is there anything more idiomatic than using a Singleton class?
djbkd has quit [Remote host closed the connection]
St_Marx has quit [Quit: Ex-Chat]
zorak has quit [Ping timeout: 240 seconds]
RaCx has joined #ruby
Tricon has quit [Client Quit]
Tricon has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
Tricon has quit [Client Quit]
Tricon has joined #ruby
Kricir has joined #ruby
Tricon has quit [Client Quit]
Tricon has joined #ruby
Xeago has joined #ruby
Tricon has quit [Client Quit]
<RubyPanther>
gygar: because a lot of people make bad/broken gems that request specific versions of dependencies, even though there are not actual known problems with other versions
Zenigor has quit [Remote host closed the connection]
Zenigor has joined #ruby
senayar has quit [Remote host closed the connection]
razrunelord has joined #ruby
fgo has joined #ruby
Cache_Money has joined #ruby
Cache_Money has quit [Client Quit]
benlieb has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
RaCx has quit [Quit: Computer has gone to sleep.]
razrunelord has quit [Ping timeout: 244 seconds]
<benlieb>
I'm asking this here because I spend a lot of time here, but does anyone know of an open graph irc channel?
fgo has quit [Ping timeout: 255 seconds]
LiohAu has quit [Quit: LiohAu]
<benzrf>
benlieb: open graph?
Kricir has quit [Remote host closed the connection]