apeiros changed the topic of #ruby to: Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
jkubecki has quit [Ping timeout: 264 seconds]
sevenfourk has joined #ruby
tmhr has joined #ruby
ariedler has joined #ruby
<heftig> fred1: no, it doesn't
statarb3 has quit [Quit: Leaving]
<heftig> you're in /home/user, and $HOME/teste is a relative path
<heftig> so the current directory (/home/user) gets prepended
mansi has joined #ruby
<fred1> heftig: thanks
bagpuss_thecat has quit [Ping timeout: 245 seconds]
tmhr has quit [Ping timeout: 276 seconds]
orien has joined #ruby
havenwood has joined #ruby
agjacome has quit [Quit: leaving]
_Renegade has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
bagpuss_thecat has joined #ruby
vigintasl has quit [Ping timeout: 252 seconds]
sailias has joined #ruby
Guga_ has quit [Read error: Connection reset by peer]
sepp2k1 has quit [Quit: Leaving.]
<ariedler> ooo SHINY!
<Paradox> lol
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
fumbe has quit [Ping timeout: 248 seconds]
yshh has quit [Remote host closed the connection]
brucelee_ has quit [Ping timeout: 240 seconds]
jds_ has quit [Read error: Connection reset by peer]
joshu has quit [Ping timeout: 255 seconds]
Guga_ has joined #ruby
angusiguess has joined #ruby
joshu has joined #ruby
sailias has quit [Ping timeout: 248 seconds]
<ariedler> Paradox: does it come in a new shiny form factor... like glass!
hogeo has joined #ruby
<Paradox> i dont know, it would be pretty hard for apple to make the iPhone's form factor any more ridiculous
<Paradox> the iPhone 5 looks like a TV remote
jfelchner has quit [Ping timeout: 245 seconds]
<ariedler> Paradox: they could make it square!
mixel has quit [Quit: mixel]
<ariedler> Paradox: much more like a coaster
<Paradox> lol
<Paradox> or a kin
<Paradox> introduing the iPuck
<Paradox> its round
<ariedler> they should build a flip phone
<ariedler> lol
<Paradox> introducing the iBrick
<ariedler> or a slide phone lol
<Paradox> its got 127 hours battery life
<Paradox> same shitty os though
<ariedler> Paradox: hey, if they just made a phone have 7x current battery life
<ariedler> I would buy it.
jbemmz has joined #ruby
<Paradox> i dont understand how the company that can make something as awesome as os x can make something as shitty as iOS
jfelchner has joined #ruby
<Paradox> can't wait to see what innovations are revolutionized out of android into iOS
orien has quit [Quit: Computer has gone to sleep.]
danielchao has joined #ruby
sevenfourk has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 276 seconds]
citizensinspace has quit [Quit: citizensinspace]
angusiguess has joined #ruby
Lemtzas has quit [Remote host closed the connection]
krz has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
Davey has quit [Quit: Computer has gone to sleep.]
orien has joined #ruby
pootler_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
oddraisi1 is now known as oddraisin
s00pcan has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
vx17 has joined #ruby
slainer68 has quit [Remote host closed the connection]
ppppaul has joined #ruby
vlad_starkov has joined #ruby
Evixion has joined #ruby
pootler_ has quit [Ping timeout: 248 seconds]
<ariedler> Paradox: put your money where you mouth is? lol
dcope has joined #ruby
<ariedler> or have you?
s00pcan has joined #ruby
<dcope> with httpclient http://rubydoc.info/gems/httpclient/2.1.5.2/HTTPClient is it possibel to actually post an array?
tmhr has joined #ruby
<dcope> for endpoints that accept optional number of parameters?
darrik has joined #ruby
<Paradox> ariedler, i use android
<ariedler> Paradox: I meant buying stock *shrugs*
<Paradox> dcope, most HTTP paramiters are key-value pairs
<Paradox> so typically no
<Paradox> hashes however, yes
danielchao has quit [Remote host closed the connection]
<Paradox> my snoo gem does just that
<dcope> Paradox: yeah, i tried posting a hash but when it comes in on the server side it's a String
vlad_starkov has quit [Ping timeout: 240 seconds]
<dcope> o_O
<Paradox> might want to use HTTParty then
<Paradox> it properly serializes them into kvps
<dcope> wonder why i'm seeing a string on the server side
buzzybron has joined #ruby
<Paradox> HTTPclient isnt very intelligent
<Paradox> httparty is
tmhr has quit [Ping timeout: 248 seconds]
<dcope> Paradox: i see... it's a String of a hash lol
fred1 has left #ruby ["WeeChat 0.4.0"]
mikepack has quit [Remote host closed the connection]
<dcope> Paradox: if i use httparty do you think my server side (rails) componenet will actually parse it as hash?
chipotle has joined #ruby
jkubecki has joined #ruby
sailias has joined #ruby
tw1sted has quit [Quit: tw1sted]
GreenPlastik has quit [Remote host closed the connection]
cburyta has joined #ruby
jkubecki has quit [Ping timeout: 245 seconds]
tmhr has joined #ruby
chipotle has quit [Quit: cya]
subbyyy has quit [Ping timeout: 245 seconds]
takezawa has joined #ruby
<Paradox> dcope, yes
<Paradox> params is a hash, for one thing
<Paradox> so its already serialized into a hash
<Paradox> but if you're using rails client-server
<Paradox> you might want to just pass json around
<Paradox> err
<Paradox> not client
<Paradox> but you get the idea
mansi has joined #ruby
nari_ has quit [Ping timeout: 246 seconds]
marcgg has quit [Ping timeout: 240 seconds]
lyanchih has joined #ruby
<dcope> hah, i can't even post my body with httparty
<dcope> seems like it works worse than httpclient
havenwood has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 240 seconds]
adramalech has joined #ruby
marcgg has joined #ruby
<dcope> oh nvm got it
<dcope> works better than httpclient
<dcope> thanks Paradox
mansi has quit [Ping timeout: 245 seconds]
axsuul has joined #ruby
emmanuelux has quit [Remote host closed the connection]
twoism has joined #ruby
oinkon has joined #ruby
<axsuul> If I wanna run a shell command within ruby and that shell command has a prompt that comes up, how can I access that prompt? I'm using back ticks and nothing comes up, just hangs
dhruvasagar has joined #ruby
ctp has joined #ruby
yshh has joined #ruby
<oinkon> i have a parsing function that takes a block that recieves the results of that parse function. sometimes parsing fails and i need to handle an error. is there some convention/idiom to do this?
twoism has quit [Remote host closed the connection]
slainer68 has joined #ruby
<oinkon> i'm passing an extra error parameter to my block
<Apane> Is Tom-Preston Warner in here?
<oinkon> but it feels like i'm writing a node.js callback in ruby
marcgg has quit [Read error: Connection reset by peer]
marcgg_ has joined #ruby
citizensinspace has joined #ruby
<oinkon> maybe that's ok
<Apane> when I run: s = Song.last
jonahR has quit [Quit: jonahR]
<Apane> and then s.create_artist(name: etcc) I'm getting an undefined method error for create_artist
Nisstyre-laptop has joined #ruby
<Apane> even though I have an artist model that is associated with songs
citizensinspace has quit [Client Quit]
<Apane> strange?
nfk has quit [Quit: yawn]
Asher has joined #ruby
kofno has joined #ruby
Hanmac1 has joined #ruby
angusiguess has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
jimg has joined #ruby
slainer68 has quit [Ping timeout: 264 seconds]
Davey has joined #ruby
Spaceghost|work has joined #ruby
vwoo has joined #ruby
danshultz has joined #ruby
lyanchih has quit [Quit: lyanchih]
lyanchih has joined #ruby
jimg has quit [Ping timeout: 264 seconds]
pipework has quit [Ping timeout: 264 seconds]
johnrlive has joined #ruby
pitzips has joined #ruby
SW_ has quit [Remote host closed the connection]
emergion has joined #ruby
kofno has quit [Remote host closed the connection]
orien has quit [Quit: Computer has gone to sleep.]
fred1 has joined #ruby
<fred1> how can i force ruby interpreter to always execute a predefined script before running another script?
mansi has joined #ruby
mxweas has joined #ruby
nari_ has joined #ruby
goleldar has quit [Read error: Connection reset by peer]
goleldar has joined #ruby
JZTech101 has quit [Ping timeout: 276 seconds]
sailias has quit [Quit: Leaving.]
kofno has joined #ruby
robbyoconnor has joined #ruby
senj_ has joined #ruby
Domon has joined #ruby
cj3kim has joined #ruby
senj_ has quit [Client Quit]
devoldmx has quit [Remote host closed the connection]
<dcope> hey Paradox still around?
<Paradox> yauh
r0bby_ has quit [Ping timeout: 248 seconds]
<dcope> httparty supports multipart right?
<Paradox> no
<Paradox> http-multiparty does
<Paradox> which is a patch on httparty
<Paradox> lol
<dcope> that gem doesn't send up the right contnet typ thouhg :(
tk_ has joined #ruby
<dcope> it sends up application/octect for a jpeg
gyre007 has quit [Remote host closed the connection]
<dcope> :(
vlad_starkov has joined #ruby
pitzips has quit [Quit: Leaving]
emergion has quit [Quit: Computer has gone to sleep.]
cj3kim has quit [Remote host closed the connection]
JumpMast3r has quit [Quit: JumpMast3r]
nkts_ has joined #ruby
JumpMast3r has joined #ruby
nkts has quit [Ping timeout: 264 seconds]
<Paradox> you can change that
<Paradox> you realize
jacktrick has quit [Quit: Leaving]
vlad_starkov has quit [Ping timeout: 248 seconds]
pierre1 has joined #ruby
<dcope> Paradox: how?
<dcope> i can't find any httmultiparty docs
<Paradox> oh shit
<Paradox> its hard coded
<Paradox> thats dumb
elshaka has quit [Quit: Saliendo]
Inside has quit [Ping timeout: 276 seconds]
<Paradox> let me look through ruby toolbox
d2dchat has joined #ruby
<dcope> up
<dcope> yup
<dcope> who would've thought that posting an varying number of files to an endpoint in ruby would be such a giant clusterfuck
devoldmx has joined #ruby
<Paradox> looks like thats the most common issue
pierre1 has quit [Client Quit]
pierre1 has joined #ruby
<dcope> yep
<Paradox> you could try faraday
<Paradox> i havent used it much but its decent
<Paradox> alternatively
<Paradox> you could fork httpmultiparty
<Paradox> and edit it yourself
<Paradox> according to that you can do it built in
<Paradox> but im not sure that code works
Ortuna has quit [Quit: Computer has gone to sleep.]
lunchub has joined #ruby
lunchub has left #ruby [#ruby]
Ortuna has joined #ruby
Ortuna has quit [Client Quit]
Spaceghost|work has quit [Remote host closed the connection]
<dcope> Paradox: how easy is it to fork a gem, patch it, and then install it?
<Paradox> very
<Paradox> just fork it on github
<Paradox> then download it
<Paradox> you can do gem build at any time
<Paradox> then just pass the path of the .gem file to gem install
<dcope> i see...
<dcope> ok, i will try this
kofno has quit [Remote host closed the connection]
Inside has joined #ruby
Inside has quit [Changing host]
Inside has joined #ruby
_Renegade has quit [Read error: Connection reset by peer]
devoldmx3 has joined #ruby
TraideRaider has joined #ruby
orien has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
jacobbednarz has joined #ruby
tw1sted has joined #ruby
fred1 has left #ruby ["WeeChat 0.4.0"]
casheew_ has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<dcope> cool, just did it Paradox
<dcope> about to try it now
jacobbednarz has quit [Client Quit]
phipes has quit [Quit: phipes]
jonahR has joined #ruby
viszu has quit [Quit: Leaving.]
icole_ has joined #ruby
lucianosousa has joined #ruby
guns has quit [Ping timeout: 248 seconds]
jonahR has quit [Ping timeout: 245 seconds]
SW_ has joined #ruby
icole has quit [Ping timeout: 245 seconds]
machuga is now known as machuga|away
SW_ has quit [Remote host closed the connection]
marcgg_ has quit [Read error: No route to host]
marcgg has joined #ruby
Matip has quit [Quit: Leaving]
jonahR has joined #ruby
lyanchih has quit [Ping timeout: 252 seconds]
Jedi_SCT1 has quit [Quit: See ya]
devoldmx3 has quit [Read error: Connection reset by peer]
sailias has joined #ruby
Jedi_SCT1 has joined #ruby
robert_ has quit [Ping timeout: 245 seconds]
Beoran__ has joined #ruby
kil0byte has quit [Remote host closed the connection]
marcgg has quit [Read error: No route to host]
subbyyy has joined #ruby
marcgg has joined #ruby
[rust] has quit [Quit: Leaving]
radic_ has joined #ruby
v0n has joined #ruby
Beoran_ has quit [Ping timeout: 256 seconds]
tw1sted has quit [Quit: tw1sted]
radic__ has quit [Ping timeout: 245 seconds]
browndawg has joined #ruby
synthetix has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
guns has joined #ruby
RustyShackleford has joined #ruby
freerobby has quit [Quit: Leaving.]
<RustyShackleford> I want to get started with ruby on rails
<RustyShackleford> which version of ruby and rails should I be using?
cantonic has quit [Ping timeout: 256 seconds]
mahmoudimus has joined #ruby
cantonic has joined #ruby
hadees has joined #ruby
freerobby has joined #ruby
ppppaul has quit [Ping timeout: 276 seconds]
marcgg has quit [Read error: Connection reset by peer]
marcgg has joined #ruby
kofno has joined #ruby
dmiller has joined #ruby
orien has quit [Quit: Computer has gone to sleep.]
pootler_ has joined #ruby
ppppaul has joined #ruby
cburyta has quit [Remote host closed the connection]
rickruby has joined #ruby
synthetix_ has joined #ruby
synthetix_ has quit [Client Quit]
lyanchih has joined #ruby
timkohrumel has quit [Remote host closed the connection]
timkohrumel has joined #ruby
pierre1 has quit [Quit: Leaving]
sailias has quit [Quit: Leaving.]
gyre007 has joined #ruby
pootler_ has quit [Ping timeout: 264 seconds]
phipes has joined #ruby
vlad_starkov has joined #ruby
sailias has joined #ruby
timkohrumel has quit [Ping timeout: 240 seconds]
ixti has quit [Quit: WeeChat 0.4.1]
lucianosousa has quit [Quit: lucianosousa]
RustyShackleford has left #ruby ["Leaving"]
pen has quit [Read error: Connection reset by peer]
hadees has quit [Quit: hadees]
pen has joined #ruby
v0n has quit [Ping timeout: 248 seconds]
cyong has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
haxrbyte has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
Dreamer3 has quit [Ping timeout: 245 seconds]
gyre007 has quit [Ping timeout: 264 seconds]
axsuul has quit [Quit: axsuul]
xjiujiu has joined #ruby
synthetix has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
dmiller has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
marcgg has quit [Read error: No route to host]
marcgg has joined #ruby
ppppaul has quit [Quit: Leaving]
xjiujiu has quit [Client Quit]
xjiujiu has joined #ruby
takezawa has quit [Quit: Leaving...]
axsuul has joined #ruby
devoldmx has joined #ruby
harrymoreno_ has joined #ruby
harrymoreno has quit [Ping timeout: 246 seconds]
harrymoreno_ is now known as harrymoreno
tmhr has quit [Remote host closed the connection]
adkron has joined #ruby
echevemaster has quit [Quit: Leaving]
angusiguess has quit [Ping timeout: 264 seconds]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
jonahR has quit [Quit: jonahR]
fwaokda has quit [Ping timeout: 252 seconds]
jfelchner has quit [Ping timeout: 245 seconds]
citizensinspace has joined #ruby
g_bleezy has quit [Remote host closed the connection]
matchaw has quit [Ping timeout: 245 seconds]
cj3kim has joined #ruby
gildo has quit [Quit: Leaving]
<nightfly> newest
jfelchner has joined #ruby
lyanchih has quit [Quit: lyanchih]
sailias has quit [Ping timeout: 276 seconds]
cburyta has joined #ruby
bionhart has quit [Ping timeout: 245 seconds]
bionhart has joined #ruby
Dummies_freelan1 has quit [Quit: Leaving.]
Appineer has joined #ruby
Dummies_freelanc has left #ruby [#ruby]
Appineer has left #ruby [#ruby]
icole has joined #ruby
citizensinspace has quit [Quit: citizensinspace]
generalissimo has joined #ruby
icole_ has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
cburyta has quit [Ping timeout: 248 seconds]
oinkon has quit [Quit: leaving]
freerobby has joined #ruby
danielchao has joined #ruby
dmiller has quit [Remote host closed the connection]
danielchao has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
mikepack has joined #ruby
Guga_ has quit [Quit: ~]
<Apane> this doesn't seem to be working presumably it's bad syntax? scope: :young, where(age: > 20)
cantonic has quit [Quit: cantonic]
danshultz has quit [Remote host closed the connection]
<nightfly> what are you trying to do?
devoldmx has quit [Read error: Connection reset by peer]
devoldmx3 has joined #ruby
chandankumar has joined #ruby
devoldmx has joined #ruby
angusiguess has joined #ruby
lyanchih has joined #ruby
splittingred has joined #ruby
charliesome has joined #ruby
<Apane> I'd like to be able to call e.g. Person.young and have it display all of the people whom are older than 20. I've heard that named scopes are good for this but I'm unfamiliar with the syntax
mikepack has quit [Remote host closed the connection]
<Apane> Person.old rather "" heh
chandankumar has quit [Max SendQ exceeded]
axsuul has quit [Quit: axsuul]
devoldmx3 has quit [Ping timeout: 246 seconds]
chandankumar has joined #ruby
chandankumar has quit [Remote host closed the connection]
<Hanmac1> Apane: #rubyonrails
eldariof has joined #ruby
<Apane> Okay
angusiguess has quit [Ping timeout: 248 seconds]
timkohrumel has joined #ruby
JohnE has joined #ruby
Meatant has joined #ruby
dvl` has joined #ruby
BSaboia has quit [Ping timeout: 240 seconds]
ivanoats has joined #ruby
emergion has joined #ruby
gmci has quit [Ping timeout: 264 seconds]
timkohrumel has quit [Ping timeout: 245 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
vlad_starkov has joined #ruby
xjiujiu has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
byprdct has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
TraideRaider has quit [Quit: Page closed]
Nisstyre-laptop has quit [Quit: Leaving]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby
gmci has joined #ruby
vlad_starkov has quit [Ping timeout: 255 seconds]
tylersmith has quit [Remote host closed the connection]
ariedler has quit [Remote host closed the connection]
nomenkun has joined #ruby
vwoo has quit [Quit: Computer has gone to sleep.]
mansi has quit [Remote host closed the connection]
Evixion has quit [Read error: Connection reset by peer]
mansi has joined #ruby
lyanchih has quit [Quit: lyanchih]
ioNull has joined #ruby
tmhr has joined #ruby
bseekins has joined #ruby
mahmoudimus has joined #ruby
nomenkun has quit [Ping timeout: 248 seconds]
<bseekins> Hello all
adramalech has quit [Ping timeout: 264 seconds]
Dummies_freelanc has joined #ruby
Dummies_freelan1 has joined #ruby
albertone has joined #ruby
Dummies_freelanc has quit [Client Quit]
banghouse has quit [Remote host closed the connection]
bseekins has quit [Client Quit]
bseekins has joined #ruby
bseekins has left #ruby [#ruby]
mansi has quit [Ping timeout: 264 seconds]
ttt has joined #ruby
corehook has joined #ruby
yacks has quit [Ping timeout: 255 seconds]
tmhr has quit [Ping timeout: 264 seconds]
DrCode has quit [Ping timeout: 240 seconds]
SW_ has joined #ruby
kofno has quit [Remote host closed the connection]
aedornm has joined #ruby
Lemtzas has joined #ruby
joelteon has quit [Quit: bye]
codesoda has joined #ruby
joelteon has joined #ruby
cburyta has joined #ruby
DrCode has joined #ruby
cj3kim has joined #ruby
SW_ has quit [Remote host closed the connection]
bigmac has joined #ruby
xjiujiu_ has joined #ruby
kofno has joined #ruby
subbyyy has quit [Ping timeout: 255 seconds]
philcrissman_ has joined #ruby
Azulinho has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
cburyta has quit [Ping timeout: 264 seconds]
robert_ has joined #ruby
robert_ has quit [Changing host]
robert_ has joined #ruby
phipes has quit [Quit: phipes]
instinkt has quit [Read error: Connection reset by peer]
tmhr has joined #ruby
tylersmith has joined #ruby
pootler_ has joined #ruby
tmhr has quit [Read error: Connection reset by peer]
tmhr has joined #ruby
harrymoreno_ has joined #ruby
harrymoreno has quit [Ping timeout: 240 seconds]
harrymoreno_ is now known as harrymoreno
pierre1 has joined #ruby
bigmac is now known as i8igmac
dmiller has joined #ruby
angusiguess has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
baroquebobcat has quit [Quit: baroquebobcat]
tylersmith has quit [Ping timeout: 248 seconds]
jamesfung14 has quit [Ping timeout: 240 seconds]
dmiller has quit [Ping timeout: 255 seconds]
angusiguess has quit [Ping timeout: 252 seconds]
albertone has quit [Ping timeout: 248 seconds]
eldariof has quit [Ping timeout: 248 seconds]
jonahR has joined #ruby
rippa has joined #ruby
johnrlive has quit [Remote host closed the connection]
axsuul has joined #ruby
harrymoreno has quit [Ping timeout: 252 seconds]
timkohrumel has joined #ruby
kofno has quit [Remote host closed the connection]
kofno has joined #ruby
vlad_starkov has joined #ruby
girija has joined #ruby
kofno has quit [Remote host closed the connection]
harrymoreno has joined #ruby
pierre1 has quit [Quit: Leaving]
timkohrumel has quit [Read error: Connection reset by peer]
Zeeraw has quit [Quit: Computer has gone to sleep.]
slainer68 has joined #ruby
Columcille has joined #ruby
timkohrumel has joined #ruby
tmhr has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 240 seconds]
tmhr has joined #ruby
BizarreCake has joined #ruby
rickruby has quit [Remote host closed the connection]
tmhr_ has joined #ruby
tmhr has quit [Read error: Connection reset by peer]
Leighton has joined #ruby
ivanoats has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 240 seconds]
osvico has quit [Ping timeout: 245 seconds]
otters has joined #ruby
joelteon has quit [Quit: bye]
otters is now known as joelteon
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
xjiujiu_ has quit [Read error: Connection reset by peer]
Zeeraw has joined #ruby
ffio has joined #ruby
nomenkun has joined #ruby
rickruby has joined #ruby
kobain has quit [Quit: l'unica verità.. è la morte stessa!]
robert__ has joined #ruby
robert__ has quit [Changing host]
robert__ has joined #ruby
BizarreCake has quit [Quit: Leaving]
robert_ has quit [Ping timeout: 240 seconds]
pootler_ has quit [Quit: leaving]
nomenkun has quit [Ping timeout: 264 seconds]
timkohrumel has quit [Remote host closed the connection]
pierre1 has joined #ruby
timkohrumel has joined #ruby
freerobby has quit [Quit: Leaving.]
tommyvyo has quit [Quit:]
Opettaja has quit [Ping timeout: 246 seconds]
splittingred has quit [Quit: splittingred]
corehook has quit [Ping timeout: 248 seconds]
timkohrumel has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
axsuul has joined #ruby
a_a_g has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
johnrlive has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
a_a_g1 has joined #ruby
tommyvyo has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
`p has quit [Ping timeout: 264 seconds]
ARCADIVS has joined #ruby
joelteon has quit [Quit: bye]
Inside has quit [Ping timeout: 240 seconds]
tommyvyo has quit [Quit:]
cburyta has joined #ruby
johnrlive has quit [Ping timeout: 252 seconds]
bionhart has quit [Remote host closed the connection]
joelteon has joined #ruby
`p has joined #ruby
mklappstuhl has joined #ruby
cburyta has quit [Ping timeout: 248 seconds]
robert_ has joined #ruby
Davey has joined #ruby
robert__ has quit [Ping timeout: 246 seconds]
AlbireoX has joined #ruby
DonRichie has joined #ruby
citizensinspace has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
Sherwyn has joined #ruby
tylersmith has joined #ruby
rickruby has quit [Remote host closed the connection]
browndawg has quit [Quit: Leaving.]
Azulinho has quit [Quit: WeeChat 0.4.0]
Azulinho has joined #ruby
angusiguess has joined #ruby
jfelchner has quit [Quit: zzzzzzzzzzzzz………]
Dummies_freelan1 has quit [Read error: Connection reset by peer]
yacks has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
bionhart has joined #ruby
hamakn has joined #ruby
nomenkun has joined #ruby
tylersmith has quit [Ping timeout: 252 seconds]
angusiguess has quit [Ping timeout: 264 seconds]
jfelchner has joined #ruby
citizensinspace has quit [Quit: citizensinspace]
thebastl has joined #ruby
aedornm has quit [Remote host closed the connection]
tagrudev has joined #ruby
skasio_ has quit [Quit: Changing server]
coderhut has joined #ruby
Davey has quit [Read error: Connection reset by peer]
slainer68 has joined #ruby
obs has quit [Quit: Konversation terminated!]
lyanchih has joined #ruby
orien has joined #ruby
bionhart has quit [Remote host closed the connection]
skasio has joined #ruby
therealnoop has joined #ruby
browndawg has joined #ruby
slainer68 has quit [Ping timeout: 255 seconds]
ananthakumaran has joined #ruby
DonRichie has quit [Quit: Verlassend]
stillesjo has joined #ruby
jimg has joined #ruby
spike|spiegel has quit [Quit: WeeChat 0.4.1]
moshef has joined #ruby
brianpWins has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
moshef has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
spike|spiegel has joined #ruby
dash__ has joined #ruby
aganov has joined #ruby
beilabs has quit [Ping timeout: 240 seconds]
thebastl has quit [Remote host closed the connection]
Azulinho has quit [Quit: WeeChat 0.4.0]
hogeo has quit [Remote host closed the connection]
beilabs has joined #ruby
Astralum has joined #ruby
Azulinho has joined #ruby
corehook has joined #ruby
girija has quit [Ping timeout: 248 seconds]
thebastl has joined #ruby
Dummies_freelanc has joined #ruby
devoldmx has quit [Remote host closed the connection]
a_a_g1 has quit [Ping timeout: 276 seconds]
ioNull has quit [Quit: Computer has gone to sleep.]
a_a_g has quit [Read error: Connection reset by peer]
a_a_g has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
cyong has quit [Quit: Leaving.]
generalissimo has quit [Remote host closed the connection]
tonini has joined #ruby
nomenkun has quit [Remote host closed the connection]
jacobbednarz has joined #ruby
thebastl has quit [Remote host closed the connection]
mansi has joined #ruby
mxweas has quit [Ping timeout: 245 seconds]
jimg has quit [Remote host closed the connection]
browndawg has left #ruby [#ruby]
jonahR has quit [Quit: jonahR]
mansi has quit [Ping timeout: 264 seconds]
jacobbednarz has quit [Read error: Connection reset by peer]
nkts_ has quit [Read error: Connection reset by peer]
nkts has joined #ruby
johnrlive has joined #ruby
goleldar has quit [Ping timeout: 245 seconds]
tomzx_mac has quit [Ping timeout: 255 seconds]
girija has joined #ruby
lewix has quit [Remote host closed the connection]
stillesjo has quit [Ping timeout: 246 seconds]
gmci has quit [Quit: Computer has gone to sleep.]
cburyta has joined #ruby
mljsimone|bnc is now known as mljsimone
mljsimone is now known as mljsimone|bnc
johnrlive has quit [Ping timeout: 252 seconds]
evelyette has joined #ruby
<evelyette> hi
<evelyette> what is the ruby tool that can help me install ruby gems ?
<evelyette> I've forgotten it's name
<nightfly> gem
QKO has quit [Ping timeout: 256 seconds]
Evixion has joined #ruby
<evelyette> no not gem
<evelyette> something else ...
braoru has joined #ruby
<nightfly> rvm?
guns has quit [Quit: guns]
QKO has joined #ruby
cburyta has quit [Ping timeout: 240 seconds]
<Apane> rails?
workmad3 has joined #ruby
bigkevmcd has joined #ruby
<evelyette> yes rvm thank you
lyanchih has quit [Quit: lyanchih]
sayan has joined #ruby
Nisstyre has quit [Quit: Leaving]
braoru has quit [Ping timeout: 276 seconds]
Davey has joined #ruby
coderhut has quit [Ping timeout: 250 seconds]
mafolz has joined #ruby
coderhut has joined #ruby
dr_bob has joined #ruby
wargasm1 has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
pen has quit [Read error: Connection reset by peer]
pygmael has joined #ruby
pygmael has quit [Excess Flood]
ayaz has joined #ruby
threesome has quit [Ping timeout: 240 seconds]
pen has joined #ruby
pygmael has joined #ruby
thebastl has joined #ruby
lyanchih has joined #ruby
therod has joined #ruby
d2dchat has quit [Remote host closed the connection]
rickmasta has joined #ruby
Sp4rKy_ is now known as Sp4rky
Sp4rky has quit [Changing host]
Sp4rky has joined #ruby
tylersmith has quit [Ping timeout: 245 seconds]
jds_ has joined #ruby
devoldmx has joined #ruby
pen has quit [Remote host closed the connection]
robbyoconnor has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
rickruby has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
solars has joined #ruby
staafl has joined #ruby
arturaz has joined #ruby
rickruby has quit [Ping timeout: 276 seconds]
pierre1 has quit [Read error: Connection reset by peer]
bigkevmcd has quit [Remote host closed the connection]
lyanchih has quit [Quit: lyanchih]
GabboY has joined #ruby
GabboY has quit [Client Quit]
workmad3 has quit [Ping timeout: 248 seconds]
bigkevmcd has joined #ruby
jastix has joined #ruby
jprovazn has joined #ruby
filipe has joined #ruby
mxweas has joined #ruby
mahmoudimus has joined #ruby
alup has joined #ruby
<evelyette> hi, as far as I understand it I need to use RVM for multiple ruby environments (especially for different ruby versions) and bundler to manage dependencies of a project ... can I also use rvm to manage project dependencies?
coderhut has quit [Quit: Page closed]
persand has joined #ruby
lyanchih has joined #ruby
Macaveli has joined #ruby
GeissT_ has quit [Ping timeout: 255 seconds]
jimg has joined #ruby
dmiller has joined #ruby
boblu has joined #ruby
ffio_ has joined #ruby
zigomir has joined #ruby
apeiros has joined #ruby
ffio has quit [Ping timeout: 248 seconds]
mxweas has quit [Ping timeout: 264 seconds]
JohnBat26 has joined #ruby
Bry8Star{T2 has joined #ruby
jimg has quit [Ping timeout: 264 seconds]
ttt has quit [Read error: Connection reset by peer]
ttt has joined #ruby
enaqx has joined #ruby
cofin has quit [Quit: cofin]
dmiller has quit [Ping timeout: 246 seconds]
tonini has quit [Quit: leaving]
tonini has joined #ruby
sevenfourk has joined #ruby
leonidlm has joined #ruby
hogeo has joined #ruby
sevenfourk has quit [Remote host closed the connection]
Shirakawasuna has quit [Quit: Leaving]
mxweas has joined #ruby
sevenfourk has joined #ruby
bob-lu has joined #ruby
mansi has joined #ruby
afd___ has quit [Remote host closed the connection]
andikr has joined #ruby
hogeo has quit [Remote host closed the connection]
jbpros has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
jbpros has quit [Client Quit]
razi has joined #ruby
Astralum has joined #ruby
mxweas has quit [Ping timeout: 240 seconds]
mansi has quit [Ping timeout: 252 seconds]
sideshowcoder has quit [Ping timeout: 264 seconds]
johnrlive has joined #ruby
blaxter_ has joined #ruby
nomenkun has joined #ruby
futilegames has joined #ruby
havenwood has quit [Remote host closed the connection]
hogeo has joined #ruby
dagobah has joined #ruby
jds_ has quit [Remote host closed the connection]
postmodern has joined #ruby
sideshowcoder has joined #ruby
cburyta has joined #ruby
Richie has joined #ruby
nkts has quit [Quit: -]
Mon_Ouie has quit [Ping timeout: 264 seconds]
alem0lars has joined #ruby
Asher1 has joined #ruby
Asher1 has quit [Client Quit]
johnrlive has quit [Ping timeout: 252 seconds]
nomenkun has quit [Ping timeout: 248 seconds]
Asher has quit [Ping timeout: 248 seconds]
Mon_Ouie has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
Asher has joined #ruby
codecop has joined #ruby
cburyta has quit [Ping timeout: 264 seconds]
dangerousdave has joined #ruby
wallerdev has quit [Quit: wallerdev]
jfelchner has quit [Ping timeout: 245 seconds]
futilegames has quit [Quit: futilegames]
Richie has quit []
dmiller has joined #ruby
jfelchner has joined #ruby
solars has quit [Ping timeout: 255 seconds]
QKO has quit [Ping timeout: 252 seconds]
a_a_g has quit [Quit: This computer has gone to sleep]
Zeeraw has joined #ruby
redgirl has quit [Ping timeout: 252 seconds]
futilegames has joined #ruby
QKO has joined #ruby
arvindeep has joined #ruby
dmiller has quit [Ping timeout: 252 seconds]
tylersmith has joined #ruby
bionhart has joined #ruby
timonv has joined #ruby
browndawg has joined #ruby
bagpuss_thecat has quit [Ping timeout: 256 seconds]
io_syl_ has quit [Quit: Computer has gone to sleep.]
bionhart has quit [Remote host closed the connection]
timonv_ has joined #ruby
timonv has quit [Read error: Connection reset by peer]
tonini has quit [Ping timeout: 248 seconds]
poga_ has quit [Ping timeout: 245 seconds]
adambeynon has joined #ruby
tylersmith has quit [Ping timeout: 245 seconds]
yashshah has quit [Read error: Connection reset by peer]
jbpros has joined #ruby
threesome has joined #ruby
brennanMKE has quit [Remote host closed the connection]
Giorgio has joined #ruby
Lemtzas has quit [Remote host closed the connection]
lyanchih has quit [Quit: lyanchih]
lkba has joined #ruby
futilegames has quit [Quit: futilegames]
yashshah has joined #ruby
Sherwyn has quit [Remote host closed the connection]
Lemtzas has joined #ruby
sean___ has joined #ruby
zodiak has quit [Ping timeout: 264 seconds]
<sean___> I'm not sure how to ask this question, but when running a block of code, does the block finish itself before running another block called within itself, or does it run another block if when it's called?
mxweas has joined #ruby
<tobiasvl> the latter
<sean___> really
rickmasta has quit [Quit: Leaving...]
<tobiasvl> if i understand you correctly
poga has joined #ruby
<tobiasvl> can't you just test it?
<sean___> that doesn't make sense, why wouldn't it finish itself and just place those blocks on top of the stack
brennanMKE has joined #ruby
<sean___> I'd have no idea how to test such a thing
<apeiros> because that wouldn't make sense
dhruvasagar has joined #ruby
<tobiasvl> sean___: that's completely unlike any other program flow though
<apeiros> and you'd be swearing like crazy because nothing would work
<tobiasvl> do you know what the stack is?
<tobiasvl> the stack isn't just blocks waiting to be run
<sean___> maybe I'm not sure of what it is
<tobiasvl> like a queue
<sean___> but to mean the stack is where blocks of code are stack on top of each other to be executed
<tobiasvl> no
<sean___> okay fine I don't know what the stack is then
<tobiasvl> it is that too
<tobiasvl> the stack is points in the code where the execution should return
<tobiasvl> it's what allows nesting
<tobiasvl> such as nested blocks
swex has joined #ruby
Apane has quit [Ping timeout: 276 seconds]
schaerli has joined #ruby
<sean___> okay, good read
tonini has joined #ruby
mxweas has quit [Ping timeout: 245 seconds]
<sean___> how would I test this to see it on my own?
arya_ has quit [Ping timeout: 276 seconds]
swex_ has quit [Ping timeout: 240 seconds]
nebrera_ has joined #ruby
<tobiasvl> just nest two blocks?
himsin has joined #ruby
a_a_g has joined #ruby
<tobiasvl> >> [[1, 2], [3, 4]].each {|x| puts 'a'; x.each {|y| puts y }; puts 'b' }
<eval-in> tobiasvl => /tmp/execpad-f794fbebcb1c/source-f794fbebcb1c:2: syntax error, unexpected tIDENTIFIER, expecting '}' ... (https://eval.in/33211)
<sean___> okay, I'll give it a try. thanks a ton
<tobiasvl> or something like that without syntax errors
ChristianS has quit [Excess Flood]
ChristianS has joined #ruby
himsin has quit [Remote host closed the connection]
troessner has joined #ruby
Z is now known as z
himsin has joined #ruby
rdark has joined #ruby
jinie_ is now known as jinie
ybart_ has joined #ruby
mikecmpbll has joined #ruby
DaniG2k has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
lyanchih has joined #ruby
silky__ has quit [Ping timeout: 245 seconds]
emergion has joined #ruby
mklappstuhl has joined #ruby
ghr has joined #ruby
timonv_ has quit [Remote host closed the connection]
slainer68 has joined #ruby
slainer6_ has joined #ruby
ariedler has joined #ruby
Alina-malina has quit [Ping timeout: 248 seconds]
solars has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
r0bgleeson has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
silky__ has joined #ruby
therod has quit [Quit: Leaving...]
dhruvasagar has joined #ruby
slainer68 has quit [Ping timeout: 246 seconds]
yacks has quit [Ping timeout: 264 seconds]
Meatant has quit [Quit: free hat!]
ColKurtz has joined #ruby
camilasan has joined #ruby
Alina-malina has joined #ruby
yacks has joined #ruby
joonty has joined #ruby
mansi has quit [Ping timeout: 276 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
ferdev has quit [Quit: ferdev]
Iszak has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
AlSquire has joined #ruby
johnrlive has joined #ruby
therod has joined #ruby
jonahR has joined #ruby
stef_204 has joined #ruby
phipes has joined #ruby
tatsuya_o has joined #ruby
Iszak has quit [Client Quit]
Giorgio has quit [Ping timeout: 245 seconds]
cburyta has joined #ruby
johnrlive has quit [Ping timeout: 252 seconds]
codesoda has quit [Remote host closed the connection]
Hanmac has joined #ruby
cburyta has quit [Ping timeout: 246 seconds]
cj3kim has quit [Remote host closed the connection]
solars has left #ruby ["WeeChat 0.3.7"]
bionhart has joined #ruby
nomenkun has joined #ruby
jimg has joined #ruby
lyanchih has quit [Quit: lyanchih]
phipes has quit [Quit: phipes]
jds_ has joined #ruby
elaptics`away is now known as elaptics
jimg has quit [Ping timeout: 264 seconds]
tjbiddle has joined #ruby
zomgbie has joined #ruby
jds_ has quit [Ping timeout: 252 seconds]
brennanMKE has quit [Remote host closed the connection]
therealnoop has quit [Ping timeout: 264 seconds]
pootler_ has joined #ruby
tylersmith has joined #ruby
ephemerian has joined #ruby
timmow has joined #ruby
browndawg has quit [Quit: Leaving.]
mklappstuhl has quit [Remote host closed the connection]
timonv has joined #ruby
jonahR has quit [Quit: jonahR]
tylersmith has quit [Ping timeout: 264 seconds]
__mp has joined #ruby
mklappstuhl has joined #ruby
sevenfourk has left #ruby [#ruby]
sayan has quit [Read error: Protocol not available]
jinie is now known as Jinie
Jinie is now known as jinie_
mljsimone|bnc is now known as mljsimone
ferdev has joined #ruby
DaniG2k has quit [Quit: Leaving.]
Mon_Ouie has quit [Ping timeout: 252 seconds]
Jackneill has joined #ruby
therealnoop has joined #ruby
lyanchih has joined #ruby
mxweas has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
ybart_ is now known as ybart
rippa has quit [Ping timeout: 240 seconds]
mxweas has quit [Ping timeout: 255 seconds]
zodiak has joined #ruby
nebrera_ has quit [Quit: nebrera_]
hamakn has quit [Read error: Connection reset by peer]
freeayu has joined #ruby
hamakn has joined #ruby
Leighton has quit [Quit: Leaving]
Mon_Ouie has joined #ruby
poga has quit [Read error: Connection reset by peer]
_Andres has joined #ruby
poga has joined #ruby
tvw has joined #ruby
bionhart has quit [Remote host closed the connection]
buscon has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
mansi has joined #ruby
Criztian has joined #ruby
yashshah has joined #ruby
phipes has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
Dreamer3 has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
ferdev has quit [Ping timeout: 245 seconds]
ferdev_ has joined #ruby
QKO has quit [Ping timeout: 246 seconds]
MArceLL has joined #ruby
QKO has joined #ruby
mansi has quit [Ping timeout: 255 seconds]
eka has joined #ruby
`MArceLL` has quit [Ping timeout: 248 seconds]
ioNull has joined #ruby
mafolz has quit [Remote host closed the connection]
chichou has joined #ruby
MArceLL has quit [Client Quit]
Vadelius has joined #ruby
Vadelius has quit [Changing host]
Vadelius has joined #ruby
DaniG2k has joined #ruby
johnrlive has joined #ruby
redgirl has joined #ruby
phipes has quit [Quit: phipes]
Spami has quit [Quit: Leaving]
cburyta has joined #ruby
bob-lu has quit [Ping timeout: 248 seconds]
boblu has quit [Ping timeout: 246 seconds]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
mafolz has joined #ruby
johnrlive has quit [Ping timeout: 252 seconds]
LennyLinux has joined #ruby
zomgbie has quit [Read error: Connection reset by peer]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
cburyta has quit [Ping timeout: 246 seconds]
marr has joined #ruby
jimg has joined #ruby
orien has quit [Quit: Textual IRC Client: www.textualapp.com]
AndChat| has joined #ruby
Bry8Star{T2 has joined #ruby
futilegames has joined #ruby
niceguyjames has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
jimg has quit [Ping timeout: 246 seconds]
AndChat| has quit [Ping timeout: 276 seconds]
freeayu has quit [Ping timeout: 240 seconds]
freeayu has joined #ruby
tylersmith has joined #ruby
jamesaxl has joined #ruby
Kar- has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
lkba has quit [Ping timeout: 276 seconds]
matchaw has joined #ruby
hamakn has joined #ruby
jbpros has quit [Quit: jbpros]
`MArceLL` has joined #ruby
Zeeraw has joined #ruby
tylersmith has quit [Ping timeout: 246 seconds]
zomgbie has joined #ruby
timonv has quit [Remote host closed the connection]
a_a_g has quit [Quit: This computer has gone to sleep]
jbpros has joined #ruby
nplusp has joined #ruby
nplusp has left #ruby [#ruby]
slainer68 has joined #ruby
phipes has joined #ruby
brennanMKE has joined #ruby
persand has quit [Quit: persand]
freeayu has quit [Read error: Connection reset by peer]
slainer6_ has quit [Ping timeout: 276 seconds]
timonv has joined #ruby
sepp2k has joined #ruby
timonv has quit [Remote host closed the connection]
poga has quit [Read error: Connection reset by peer]
tmhr_ has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 252 seconds]
poga has joined #ruby
devoldmx has quit [Remote host closed the connection]
cowgarden has joined #ruby
b0oh has joined #ruby
postmodern has quit [Quit: Leaving]
Hanmac has joined #ruby
brennanMKE has quit [Ping timeout: 255 seconds]
tonini has quit [Ping timeout: 248 seconds]
Peej has quit []
atmosx has joined #ruby
devoldmx has joined #ruby
Sp4rky is now known as Sp4rKy
a_a_g has joined #ruby
Giorgio has joined #ruby
axsuul has quit [Quit: axsuul]
gyre007 has joined #ruby
freeayu has joined #ruby
goleldar has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
codecop has quit [Remote host closed the connection]
ntus1017 has joined #ruby
nfk has joined #ruby
binaryplease has joined #ruby
b0oh has quit [Quit: Leaving.]
schaerli has quit [Remote host closed the connection]
goleldar has quit [Ping timeout: 246 seconds]
b0oh has joined #ruby
nari_ has quit [Ping timeout: 240 seconds]
slainer6_ has joined #ruby
goleldar has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
Trynemjoel has quit [Ping timeout: 245 seconds]
GreatSUN has joined #ruby
<GreatSUN> hi
<Vadelius> Hello
<GreatSUN> does someone of you guys know ProcessPilot gem?
phipes has quit [Quit: phipes]
mansi has joined #ruby
phipes has joined #ruby
slainer68 has quit [Ping timeout: 264 seconds]
mengu has joined #ruby
atmosx has quit [Quit: And so the story goes…]
codecop has joined #ruby
Xeago has joined #ruby
vigintas has joined #ruby
mansi has quit [Ping timeout: 255 seconds]
browndawg has joined #ruby
fermion has joined #ruby
DaniG2k has quit [Quit: Leaving.]
jimg has joined #ruby
bamdad has joined #ruby
rickmasta has joined #ruby
phipes has quit [Quit: phipes]
greenarrow has quit [Ping timeout: 246 seconds]
johnrlive has joined #ruby
browndawg has left #ruby [#ruby]
timonv has joined #ruby
cburyta has joined #ruby
machuga|away is now known as machuga
Markvilla has joined #ruby
johnrlive has quit [Ping timeout: 252 seconds]
bamdadd has joined #ruby
cj3kim has joined #ruby
DaniG2k has joined #ruby
bamdad has quit [Ping timeout: 240 seconds]
bamdadd is now known as bamdad
cburyta has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
rickmasta has quit [Quit: Leaving...]
Astralum has quit [Read error: Connection reset by peer]
Astralum has joined #ruby
danshultz has joined #ruby
Markvilla has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
schaerli has joined #ruby
lyanchih has quit [Quit: lyanchih]
Xeago has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 255 seconds]
alem0lars has quit [Quit: Leaving]
poga has quit [Remote host closed the connection]
boblu has joined #ruby
<ariedler> GreatSUN: ?
cowgarden has quit [Ping timeout: 264 seconds]
tonini has joined #ruby
b0oh has quit [Quit: Leaving.]
GreatSUN has quit [Read error: Connection reset by peer]
GreatSUN has joined #ruby
cougarten has joined #ruby
angusiguess has joined #ruby
bob-lu has joined #ruby
jimg has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
Domon has quit [Remote host closed the connection]
nari_ has joined #ruby
lyanchih has joined #ruby
persand has joined #ruby
zomgbie has quit [Read error: Connection reset by peer]
dr_bob has quit [Quit: Leaving.]
freakfantom has joined #ruby
davetherat has quit [Remote host closed the connection]
dr_bob has joined #ruby
davetherat has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
jbpros has quit [Quit: jbpros]
angusiguess has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
Macaveli has quit [Remote host closed the connection]
KRF_ is now known as KRF
Dave has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
Dave is now known as Guest41919
ariedler has quit [Remote host closed the connection]
GeissT has joined #ruby
cowgarden has joined #ruby
nanothief has quit [Read error: Connection reset by peer]
nanothief has joined #ruby
cougarten has quit [Ping timeout: 255 seconds]
mansi has joined #ruby
elaptics is now known as elaptics`away
v2px_ is now known as v2px
mklappstuhl has quit [Remote host closed the connection]
jimg has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
ARCADIVS has quit [Quit: WeeChat 0.3.8]
elaptics`away is now known as elaptics
zomgbie has joined #ruby
kil0byte has joined #ruby
fbernier has quit [Quit: ZNC - http://znc.in]
huoxito has joined #ruby
lucianosousa has joined #ruby
robustus has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
johnrlive has joined #ruby
mklappstuhl has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
dvl` has quit [Ping timeout: 264 seconds]
q__ has joined #ruby
vlad_starkov has joined #ruby
kil0byte_ has joined #ruby
thebastl_ has joined #ruby
jimg has quit [Ping timeout: 252 seconds]
mklappstuhl has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
cburyta has joined #ruby
b0oh has joined #ruby
bluenemo has joined #ruby
bluenemo has joined #ruby
danshultz has quit [Remote host closed the connection]
robustus has joined #ruby
johnrlive has quit [Ping timeout: 252 seconds]
cowgarden has quit [Ping timeout: 246 seconds]
kil0byte has quit [Ping timeout: 240 seconds]
mljsimone is now known as mljsimone|away
jinie_ is now known as jinie
arya has joined #ruby
jinie is now known as jinie_
thebastl has quit [Ping timeout: 264 seconds]
moos3 has joined #ruby
poga has joined #ruby
poga has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby
poga has joined #ruby
mklappstuhl has joined #ruby
binaryplease has quit [Ping timeout: 245 seconds]
mklappstuhl has quit [Read error: Connection reset by peer]
cburyta has quit [Ping timeout: 248 seconds]
yshh has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 264 seconds]
mengu has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
lkba has quit [Ping timeout: 276 seconds]
mengu has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
bob-lu has quit [Ping timeout: 255 seconds]
sepp2k has quit [Quit: Leaving.]
boblu has quit [Ping timeout: 264 seconds]
vlad_sta_ has quit [Read error: Connection reset by peer]
hogeo has quit [Remote host closed the connection]
angusiguess has joined #ruby
mklappstuhl has joined #ruby
ldnunes has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
lkba has joined #ruby
Macaveli has joined #ruby
mklappstuhl has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
tylersmith has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
<Veejay> Is there a method on strings that returns [first two characters of self, rest of the string]?
thebastl_ has quit [Remote host closed the connection]
thebastl has joined #ruby
danshultz has joined #ruby
lyanchih has quit [Quit: lyanchih]
<tobiasvl> >> matches = "abcdef".match(/(..)(.*)/); puts matches[1]; puts matches[2]
<eval-in> tobiasvl => ab ... (https://eval.in/33230)
thebastl has quit [Remote host closed the connection]
binaryplease has joined #ruby
<tobiasvl> >> s = "abcdef"; puts s[0..1]; puts s[2..-1]
<eval-in> tobiasvl => ab ... (https://eval.in/33231)
<tobiasvl> etc.
danshultz has quit [Remote host closed the connection]
thebastl has joined #ruby
<tobiasvl> Veejay: no specific method to do exactly that narrow use-case, but plenty of ways to achieve it
jbpros has joined #ruby
lyanchih has joined #ruby
tylersmith has quit [Ping timeout: 246 seconds]
lucianosousa has quit [Quit: lucianosousa]
ntus1017 has quit [Remote host closed the connection]
fwaokda has joined #ruby
<Veejay> OK, thanks tobiasvl
osvico has joined #ruby
mklappstuhl has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
nkr has joined #ruby
jimg has joined #ruby
mklappstuhl has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
kofno has joined #ruby
Astral_ has joined #ruby
bamdad has quit [Quit: bamdad]
mklappstuhl has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
pothibo has quit [Quit: pothibo]
Astralum has quit [Ping timeout: 276 seconds]
jimg has quit [Ping timeout: 264 seconds]
casheew has quit [Read error: Connection reset by peer]
wsterling has joined #ruby
freakfantom has quit [Quit: Leaving]
casheew has joined #ruby
corehook has quit [Ping timeout: 248 seconds]
angusiguess has quit [Ping timeout: 248 seconds]
alexwh has joined #ruby
rockets has joined #ruby
hogeo has joined #ruby
mklappstuhl has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
zastern has quit [Ping timeout: 245 seconds]
bamdad has joined #ruby
zz_pinage404afk is now known as pinage404
buzzybron has quit [Ping timeout: 240 seconds]
tomzx_mac has joined #ruby
lyanchih has quit [Quit: lyanchih]
hogeo has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
freeayu has quit [Ping timeout: 264 seconds]
mklappstuhl has quit [Read error: Connection reset by peer]
bigkm has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
browndawg has joined #ruby
wsterling has quit [Remote host closed the connection]
GeissT_ has joined #ruby
boblu has joined #ruby
bob-lu has joined #ruby
mklappstuhl has joined #ruby
freerobby has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
freerobby has quit [Client Quit]
devoldmx has quit [Ping timeout: 252 seconds]
mansi has joined #ruby
GeissT has quit [Ping timeout: 276 seconds]
<joshu> if I need to send HTTP requests from a ruby script which **cannot** use any external gems is net/http what I'm looking for?
sterNiX has joined #ruby
sterNiX has joined #ruby
mklappstuhl has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
<Veejay> joshu: Most likely yes
<joshu> Veejay thanks ;)
<Veejay> It's the lower-level bits that are used by most libraries
workmad3 has joined #ruby
Peej has joined #ruby
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
ArchBeOS has joined #ruby
mansi has quit [Remote host closed the connection]
GeissT_ has quit [Quit: MillBroChat AdIRC User]
mansi has joined #ruby
GeissT has joined #ruby
GeissT has quit [Client Quit]
cads has quit [Quit: Leaving]
browndawg has quit [Ping timeout: 264 seconds]
timonv has quit [Remote host closed the connection]
mark_locklear has joined #ruby
mklappstuhl has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 246 seconds]
enaqx has quit [Remote host closed the connection]
enaqx has joined #ruby
q__ has quit [Ping timeout: 264 seconds]
krz has quit [Quit: krz]
mklappstuhl has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
johnrlive has joined #ruby
Vadelius has quit [Quit: This computer has gone to sleep]
mklappstuhl has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
cburyta has joined #ruby
freeayu has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
Hanmac2 has joined #ruby
johnrlive has quit [Ping timeout: 252 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
arya has quit [Ping timeout: 240 seconds]
baordog has joined #ruby
sambao21 has joined #ruby
mklappstuhl has joined #ruby
jrajav has joined #ruby
DaniG2k has quit [Quit: Leaving.]
cburyta has quit [Ping timeout: 264 seconds]
adkron has quit [Ping timeout: 255 seconds]
arya has joined #ruby
fbernier has joined #ruby
ToApolytoXaos has joined #ruby
dr_bob has quit [Quit: Leaving.]
DonRichie has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
osvico has quit [Ping timeout: 255 seconds]
therealnoop has quit [Ping timeout: 264 seconds]
nezumi has quit [Ping timeout: 240 seconds]
icco has quit [Ping timeout: 240 seconds]
konr`` has joined #ruby
staafl has quit [Ping timeout: 276 seconds]
slainer6_ has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
browndawg has left #ruby [#ruby]
icco has joined #ruby
konr` has quit [Ping timeout: 240 seconds]
emergion has joined #ruby
carloslopes has joined #ruby
Astral_ has quit [Read error: Connection reset by peer]
yalue has joined #ruby
Astral_ has joined #ruby
tylersmith has joined #ruby
jbemmz has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Chicks dig it]
yshh has joined #ruby
Vadelius has joined #ruby
Vadelius has quit [Changing host]
Vadelius has joined #ruby
tjbiddle has joined #ruby
vlad_starkov has joined #ruby
pipework has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
yshh has quit [Ping timeout: 276 seconds]
tjbiddle has quit [Ping timeout: 276 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
huttan has joined #ruby
nebrera_ has joined #ruby
mikecmpbll has joined #ruby
nebrera_ has quit [Client Quit]
jbinto has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
bob-lu has quit [Ping timeout: 245 seconds]
boblu has quit [Ping timeout: 248 seconds]
<ar> oh, a 3-liner for segfaulting MRI 1.9
<ar> my previous test-case was ~30-lines long
<zomg> Would be nice if it didn't pretend like it can be compiled using the OS X LLVM compiler
<zomg> Segfault galore if you make the mistake of not using gcc
cougarten has joined #ruby
<ar> zomg: i am using gcc
bluenemo has quit [Quit: Verlassend]
jbinto- has joined #ruby
icco has quit [Ping timeout: 256 seconds]
therealnoop has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
sailias has joined #ruby
jbinto has quit [Ping timeout: 255 seconds]
icco has joined #ruby
dr_bob has joined #ruby
schaerli has quit [Remote host closed the connection]
krawchyk has joined #ruby
pzip has joined #ruby
Mattix has joined #ruby
timonv has joined #ruby
yshh has joined #ruby
angusiguess has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
pinage404 is now known as zz_pinage404
Vadelius has left #ruby ["Leaving"]
r0bgleeson has joined #ruby
BSaboia has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
mmitchell has joined #ruby
dr_bob has quit [Ping timeout: 276 seconds]
pothibo has joined #ruby
r0bgleeson has quit [Read error: Connection reset by peer]
comrade__ has joined #ruby
comrade__ has quit [Client Quit]
r0bgleeson has joined #ruby
TIJ has joined #ruby
jbinto- has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 246 seconds]
gyre007 has quit [Remote host closed the connection]
boblu has joined #ruby
bob-lu has joined #ruby
jbinto has joined #ruby
tonini has joined #ruby
breakingthings has joined #ruby
<joshu> can someone please help me explain why my net/http request is failing but curl works https://gist.github.com/anonymous/c7c87e32123e749caaa1
yashshah has quit [Read error: Connection reset by peer]
Guest41919 has quit [Quit: Leaving...]
<capox> hm, maybe compare the headers...
<capox> can't see why off the bat
cowgarden has joined #ruby
Hanmac2 has quit [Ping timeout: 240 seconds]
<joshu> capox how do you mean that I should compare the headers?
<apeiros> joshu: proxies?
<joshu> apeiros hi no proxies
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
buscon has quit [Quit: Leaving]
niceguyjames has joined #ruby
<capox> joshu: put something in between that can output the sent headers
<apeiros> I don't think he gets headers in the first place
jbpros has quit [Quit: jbpros]
<apeiros> it seems to fail to resolve the host
cougarten has quit [Ping timeout: 264 seconds]
<capox> the sent, request headers
<apeiros> ah
ntus1017 has joined #ruby
mansi_ has joined #ruby
GeissT has joined #ruby
splittingred has joined #ruby
Iszak has joined #ruby
<capox> then again, people often tell me to use something else than Net::HTTP
altamic has joined #ruby
altamic has left #ruby [#ruby]
<joshu> capox I have no choice for this particular application. I can't use anything but standard ruby 1.9.1 library
<joshu> opening connection to http://xxxxxx.herokuapp.com/:80...
<joshu> 2.0.0-p195/lib/ruby/2.0.0/net/http.rb:878:in `initialize': getaddrinfo: nodename nor servname provided, or not known (SocketError)
fuzzyhorns has joined #ruby
Lubinski has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
kil0byte has joined #ruby
nebrera_ has joined #ruby
mansi_ has quit [Ping timeout: 255 seconds]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jgarvey has joined #ruby
corehook has joined #ruby
nebrera_ has left #ruby [#ruby]
zomgbie has quit [Ping timeout: 240 seconds]
pskosinski has joined #ruby
JohnE has quit []
yashshah has joined #ruby
Uranio has joined #ruby
gmci has joined #ruby
gmci has quit [Max SendQ exceeded]
gmci has joined #ruby
Mattix has quit [Ping timeout: 264 seconds]
gmci has quit [Client Quit]
kil0byte_ has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
Astral_ has quit [Ping timeout: 276 seconds]
zomgbie has joined #ruby
headius has joined #ruby
devoldmx has joined #ruby
Hobogrammer has quit [Read error: Connection reset by peer]
sailias has quit [Quit: Leaving.]
mansi has joined #ruby
Hobogrammer has joined #ruby
Guest60499 has joined #ruby
jimg has joined #ruby
robbyoconnor has joined #ruby
schaerli has joined #ruby
tjbiddle has joined #ruby
UnnamedUser1942 has joined #ruby
johnrlive has joined #ruby
byprdct has joined #ruby
UnnamedUser1942 is now known as UnnamedUser4827
Fire-Dragon-DoL has joined #ruby
jerius has joined #ruby
UnnamedUser4827 has quit [Client Quit]
<byprdct> Mooorning
ToApolytoXaos has quit [Quit: Leaving]
ffranz1 has joined #ruby
wolcanus has joined #ruby
Giorgio has quit [Read error: Connection reset by peer]
geekbri has joined #ruby
jimg has quit [Ping timeout: 246 seconds]
jbinto has quit [Remote host closed the connection]
cburyta has joined #ruby
vlad_starkov has joined #ruby
johnrlive has quit [Ping timeout: 252 seconds]
Fire-Dragon-DoL has quit [Client Quit]
enaqx has quit [Remote host closed the connection]
BSaboia has quit [Quit: Leaving]
citizensinspace has joined #ruby
mansi has quit [Ping timeout: 255 seconds]
enaqx has joined #ruby
cofin has joined #ruby
wmoxam has joined #ruby
bigkevmcd has quit [Ping timeout: 246 seconds]
<joshu> interesting using "uri" it works but without it doesn't
cburyta has quit [Ping timeout: 240 seconds]
gazarsgo has joined #ruby
Guest60499 is now known as banghouse
ryotarai has joined #ruby
bigkevmcd has joined #ruby
momomomomo has joined #ruby
gyre007 has joined #ruby
Astralum has joined #ruby
lkba has quit [Remote host closed the connection]
RORgasm has joined #ruby
ryotarai has quit [Quit: ZNC - http://znc.in]
k610 has joined #ruby
camilasan has quit [Remote host closed the connection]
ryotarai has joined #ruby
Mattix has joined #ruby
Bleah has joined #ruby
jtharris has joined #ruby
camilasan has joined #ruby
sailias has joined #ruby
tylersmith has joined #ruby
tomzx_mac has quit [Ping timeout: 246 seconds]
binaryplease has quit [Quit: WeeChat 0.4.1]
sayan has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
end_guy has quit [Ping timeout: 240 seconds]
lyanchih has joined #ruby
Trynemjoel has joined #ruby
cmarques has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
gazarsgo has quit [Quit: gazarsgo]
end_guy has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
yashshah has joined #ruby
generalissimo has joined #ruby
user_ has joined #ruby
binaryplease has joined #ruby
danshultz has joined #ruby
tylersmith has quit [Ping timeout: 276 seconds]
enaqx has quit [Ping timeout: 276 seconds]
SW_ has joined #ruby
lyanchih has quit [Client Quit]
kil0byte_ has joined #ruby
pzip has quit [Ping timeout: 255 seconds]
gazarsgo has joined #ruby
sw33tch33ks has joined #ruby
razi has quit [Quit: Leaving.]
yashshah has quit [Read error: Connection reset by peer]
slainer68 has joined #ruby
ryotarai has quit [Quit: ZNC - http://znc.in]
kil0byte has quit [Ping timeout: 245 seconds]
vigintas has quit [Ping timeout: 245 seconds]
yashshah has joined #ruby
SW_ has quit [Remote host closed the connection]
ryotarai has joined #ruby
ttt has quit [Remote host closed the connection]
girija has quit [Ping timeout: 264 seconds]
philcrissman_ has quit [Remote host closed the connection]
sambao21 has joined #ruby
browndawg has joined #ruby
<sw33tch33ks> How can I convert an integer value: 1024 to a 64-bit signed integer? I tried [1024].pack("q") but that doesn't seem to be the correct answer.
amedeiros has joined #ruby
enaqx has joined #ruby
banisterfiend has joined #ruby
kiri has quit [Ping timeout: 248 seconds]
codecop has quit [Quit: Išeinu]
kiri has joined #ruby
crazymykl has quit [Quit: Konversation terminated!]
devoldmx has joined #ruby
guiocavalcanti has joined #ruby
himsin has quit [Quit: himsin]
ryotarai has quit [Quit: ZNC - http://znc.in]
failshell has joined #ruby
freerobby has quit [Quit: Leaving.]
mxweas has joined #ruby
Davey has joined #ruby
SW_ has joined #ruby
Appineer has joined #ruby
freerobby has joined #ruby
<tobiasvl> what makes you think it's not correct?
SW_ has quit [Remote host closed the connection]
yashshah has quit [Ping timeout: 240 seconds]
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
yshh has quit [Remote host closed the connection]
stef_204 has joined #ruby
mxweas has quit [Ping timeout: 255 seconds]
yashshah has joined #ruby
digitalcake has joined #ruby
<sw33tch33ks> tobiasvl: I am using avro to encode/decode messages. One of my fields is type "bytes" . I am able to encode the bytes, but not decode them. According to the avro schema definition you must preface the bytes with a signed 64-bit integer representing the length of the bytes…I am assuming that the bytes I am sending are encoded correctly and it is the prefix of the size of bytes that is incorrect. Not sure how to validate either, actually.
rlb3 has joined #ruby
lyanchih has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
rlb3 has quit [Client Quit]
tommyvyo has joined #ruby
SW_ has joined #ruby
rlb3 has joined #ruby
<tobiasvl> >> [1024].pack('q')
<eval-in> tobiasvl => "\0\x04\0\0\0\0\0\0" (https://eval.in/33238)
yshh has joined #ruby
<apeiros> sw33tch33ks: signed 64bit is insufficient information. big- or little-endian?
pskosinski has quit [Remote host closed the connection]
jlast has joined #ruby
ToApolytoXaos has joined #ruby
vigintas has joined #ruby
<apeiros> q is native endian, which might be either
akells` has joined #ruby
rippa has joined #ruby
cantonic has joined #ruby
<mark_locklear> hey folks..I am doing someting like this in a seed file http://pastie.org/8030512
tmhr has joined #ruby
v0n has joined #ruby
<mark_locklear> I would like to limit the size of the number returned to a proper 'int'
<mark_locklear> for 8 digits...
<apeiros> >> [[1024].pack("q>"), [1024].pack("q>")]
<eval-in> apeiros => ["\0\0\0\0\0\0\x04\0", "\0\0\0\0\0\0\x04\0"] (https://eval.in/33239)
<mark_locklear> any suggestions on a quick way to do that?
jamesaxl has quit [Read error: Connection reset by peer]
<heftig> >> [[1024].pack("q>"), [1024].pack("q<")]
<eval-in> heftig => ["\0\0\0\0\0\0\x04\0", "\0\x04\0\0\0\0\0\0"] (https://eval.in/33240)
<apeiros> heftig: yo, u 2 slo!
mansi_ has joined #ruby
<heftig> apeiros: you maek error
<apeiros> oh noes!
<apeiros> I can haz deleted ze wrong format strink!
<apeiros> accidentally
yashshah has quit [Read error: Connection reset by peer]
<heftig> accidently
<apeiros> accidntly
<sw33tch33ks> Directly from the Avro schema documentation page (http://avro.apache.org/docs/current/spec.html#Data+Serialization): long: 64-bit signed integer [no mention of endian that I can find…]. It then follows with: bytes are encoded as a long followed by that many bytes of data. It mentions little-endian format for double and float.
arya has quit [Ping timeout: 240 seconds]
<apeiros> mark_locklear: Integer#&
<apeiros> well, actually, that won't restrict to digits, but to bits
<apeiros> if you want to restrict to digits, then to_s[0,8].to_i is probably the easiest.
<mark_locklear> apeiros, hmm...
vlad_starkov has joined #ruby
<mark_locklear> apeiros, that looks like that would work...thanx!
razi has joined #ruby
<heftig> sw33tch33ks: it uses zig-zag encoding
statarb3 has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
andikr has quit [Remote host closed the connection]
browndawg has quit [Ping timeout: 246 seconds]
<heftig> sw33tch33ks: an sint64, according to https://developers.google.com/protocol-buffers/docs/encoding#types
<sw33tch33ks> heftig: mind = blown :) No clue there…thanks for the link!
<sw33tch33ks> So, how would I zig-zag encode 1024?
<heftig> maybe use a protobuf-implementation for ruby
TIJ has quit [Quit: Konversation terminated!]
awarner has joined #ruby
mansi_ has quit [Ping timeout: 276 seconds]
Macaveli has quit [Read error: Connection reset by peer]
mansi__ has joined #ruby
kil0byte has joined #ruby
MrZYX|off is now known as MrZYX
yshh has quit [Remote host closed the connection]
Tecan has left #ruby ["Live Long And Phosphor!"]
browndawg has joined #ruby
ananthakumaran has joined #ruby
kil0byte_ has quit [Ping timeout: 264 seconds]
guiocavalcanti has quit [Remote host closed the connection]
zaebst has joined #ruby
statarb3 has quit [Quit: Leaving]
guiocavalcanti has joined #ruby
pskosinski has joined #ruby
* apeiros facepalm
<apeiros> lol
SW_ has quit [Remote host closed the connection]
stopbit has quit [Quit: Lost terminal]
atyz has joined #ruby
wallerdev has joined #ruby
jimg has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
tmhr has quit [Remote host closed the connection]
browndawg has quit [Ping timeout: 276 seconds]
tommyvyo has quit [Quit:]
wesside_ has joined #ruby
guiocavalcanti has quit [Ping timeout: 276 seconds]
bubblehead has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 246 seconds]
arya has joined #ruby
bubblehead has joined #ruby
jimg has quit [Ping timeout: 264 seconds]
thesheff17 has joined #ruby
cburyta has joined #ruby
tommyvyo has joined #ruby
LaPetiteFromage has joined #ruby
sepp2k has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
rismoney has joined #ruby
dorei has joined #ruby
<dorei> hello, how can i go from 0x55783912 to 0x783912 ?
stopbit has joined #ruby
mikepack has joined #ruby
cburyta has quit [Ping timeout: 264 seconds]
<rismoney> I have this array of hashes. [{"pcad01"=>{"mgmt406"=>{"fp"=>"1.2.3.5"}, "mgmt405"=>{"ip"=>"1.2.3.4"}}}, {"pcad02"=>{"mgmt407"=>{"ip"=>"1.2.3.4"}}} I am having a hard time (using map) getting a resulting array of just [1.2.3.5] all the fp key values. the array of hashes is obviously much bigger than this.
<tobiasvl> dorei: ... what?
<dorei> tobiasvl: how to discard the first byte
<tobiasvl> oh. right
<dorei> some bit shifting or smt
<dorei> hmm
<dorei> i could logical and with a mask
bubblehead has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
browndawg has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
ffranz1 has quit [Read error: Connection reset by peer]
ctp has quit [Read error: Connection reset by peer]
_Amaan has joined #ruby
stillesjo has joined #ruby
binaryplease has quit [Quit: WeeChat 0.4.1]
<Hanmac> dorei like that?
<Hanmac> >> [{"pcad01"=>{"mgmt406"=>{"fp"=>"1.2.3.5"}, "mgmt405"=>{"ip"=>"1.2.3.4"}}}, {"pcad02"=>{"mgmt407"=>{"ip"=>"1.2.3.4"}}}].map {|h|h.each_value.map{|h|h.each_value.map(&:values)}}.flatten
<eval-in> Hanmac => ["1.2.3.5", "1.2.3.4", "1.2.3.4"] (https://eval.in/33241)
goleldar has quit [Ping timeout: 246 seconds]
defaultro has joined #ruby
goleldar has joined #ruby
tvw has quit []
altamic has joined #ruby
altamic has quit [Client Quit]
<rismoney> hanmac i just wanted the 1.2.3.5 value (all the keys matching fp, assuming fp exists)
dhruvasagar has joined #ruby
forrest has joined #ruby
<rismoney> you gave me the ip values and the fp values
tylersmith has joined #ruby
jcromartie has joined #ruby
ffranz has joined #ruby
<defaultro> hey folks, I'm very new to ruby. Is rackup a webserver powered by Ruby?
<rismoney> you probably thought i typo-d ;)
<tobiasvl> rismoney: look at filter
Azulinho has quit [Ping timeout: 264 seconds]
<tobiasvl> select
wesside_ has quit [Quit: Computer has gone to sleep.]
yashshah has joined #ruby
nfk has quit [Quit: yawn]
takezawa has joined #ruby
<Hanmac> >> [{"pcad01"=>{"mgmt406"=>{"fp"=>"1.2.3.5"}, "mgmt405"=>{"ip"=>"1.2.3.4"}}}, {"pcad02"=>{"mgmt407"=>{"ip"=>"1.2.3.4"}}}].map {|h|h.each_value.map{|h| h.each_value.map {|h| h["fp"]}}}.flatten.compact
<eval-in> Hanmac => ["1.2.3.5"] (https://eval.in/33242)
kirun has joined #ruby
<tobiasvl> or just that
corehook has quit [Read error: Connection reset by peer]
<rismoney> boom
<rismoney> compact is nice, removes nils :) awesome
tylersmith has quit [Ping timeout: 246 seconds]
stillesjo has quit [Ping timeout: 276 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
yashshah has quit [Ping timeout: 246 seconds]
yshh has joined #ruby
johnrlive has joined #ruby
zodiak has quit [Remote host closed the connection]
bean__ has joined #ruby
bean__ has quit [Max SendQ exceeded]
jbpros has joined #ruby
SW_ has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
jeff280 has joined #ruby
bob-lu has quit [Ping timeout: 255 seconds]
boblu has quit [Ping timeout: 255 seconds]
casheew has quit [Read error: Connection reset by peer]
DomKM has quit [Quit: Leaving.]
asteve has joined #ruby
ntus1017 has quit [Remote host closed the connection]
ner0x has joined #ruby
bean__ has joined #ruby
ziyadb has quit [Changing host]
ziyadb has joined #ruby
[0x1a] has quit [Changing host]
cool has quit [Changing host]
cool has joined #ruby
[0x1a] has joined #ruby
defaultro has quit [Changing host]
defaultro has joined #ruby
jbinto has joined #ruby
fmcgeough has joined #ruby
acrussell has joined #ruby
zigomir has quit [Quit: zigomir]
brbcoding has joined #ruby
ntus1017 has joined #ruby
chrisja has joined #ruby
stef_204 has quit [Remote host closed the connection]
<rismoney> tyvm works awesome
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
niklasb has joined #ruby
capox has left #ruby ["ciao!"]
casheew has joined #ruby
mxweas has joined #ruby
burlyscudd has joined #ruby
thebastl_ has joined #ruby
arya has quit []
thebastl_ has quit [Remote host closed the connection]
jamesaxl has joined #ruby
albertone has joined #ruby
defaultro has quit [Ping timeout: 250 seconds]
_ffio_ has joined #ruby
thebastl has quit [Ping timeout: 240 seconds]
mxweas has quit [Ping timeout: 255 seconds]
ffio_ has quit [Ping timeout: 245 seconds]
ntus1017 has quit [Remote host closed the connection]
<Hanmac> dorei:
<Hanmac> >> (0x55783912 & 0x00FFFFFF) == 0x783912
<eval-in> Hanmac => true (https://eval.in/33248)
redgirl has quit [Quit: This computer has gone to sleep]
<banisterfiend> what's the diff b/w <<-HERE and <<HERE again?
<apeiros> former can have indented end token
<apeiros> latter must be on first column
ntus1017 has joined #ruby
jacktrick has joined #ruby
zmike123 has joined #ruby
<dorei> Hanmac: yes :)
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
<banisterfiend> apeiros: ah thx
jbpros has quit [Quit: jbpros]
Sou|cutter has quit [Changing host]
Sou|cutter has joined #ruby
daniel_- has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
<banisterfiend> Hanmac: i dont understand german jokes..can u explain?
persand has quit [Quit: persand]
alex__c2022 has joined #ruby
kobain has joined #ruby
<Hanmac> the green part:"Tree" the brown part:"also Tree"
binaryplease has joined #ruby
<banisterfiend> cute
<banisterfiend> :)
jprovazn has quit [Quit: Leaving]
<banisterfiend> Hanmac: you forgot i didnt speak german? :P
arya has joined #ruby
graydot has joined #ruby
<MrZYX> we're always confused which german words are english ones too and which aren't
daniel_- has quit [Read error: Operation timed out]
viszu has joined #ruby
zaebst has quit [Quit: leaving]
zaebst has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
<Hanmac> some german ones thinks that "Handy" (german word for Mobilephone) is english because it has the "y" at the end :P
adkron has joined #ruby
tk_ has quit [Quit: ばいばい]
ariedler has joined #ruby
girija has joined #ruby
b0oh has left #ruby [#ruby]
jrajav has joined #ruby
rhys has joined #ruby
cmarques has quit [Ping timeout: 264 seconds]
<apeiros> well, it is english, but it's not used in the english language with that meaning :)
slainer68 is now known as NicolasLeTrolleu
BSaboia has joined #ruby
NicolasLeTrolleu is now known as slainer68
leonidlm has quit [Ping timeout: 240 seconds]
ravster has joined #ruby
schaerli has quit [Remote host closed the connection]
tommyvyo has quit [Quit:]
dhruvasagar has quit [Ping timeout: 276 seconds]
<banisterfiend> haha
<banisterfiend> the english slang meaning is a bit.. different ;)
<banisterfiend> oh
<banisterfiend> it can be useful of course, but i think it also can mean handjob
<banisterfiend> can mean*
tagrudev has quit [Remote host closed the connection]
jbinto has quit [Remote host closed the connection]
johnmilton has joined #ruby
stef_204 has joined #ruby
burlyscudd has quit [Quit: Leaving.]
sayan has quit [Read error: Connection reset by peer]
bigoldrock has joined #ruby
timkohrumel has joined #ruby
wolcanus has quit [Remote host closed the connection]
binaryplease has quit [Quit: WeeChat 0.4.1]
_Amaan has quit [Read error: Connection reset by peer]
jude01 has joined #ruby
wallerdev has quit [Quit: wallerdev]
SW_ has quit [Remote host closed the connection]
_Amaan has joined #ruby
<jude01> how do i reference a parameter passed to a def that has same name as local variable within the def?
<banisterfiend> jude01: if you overwrite it, then you can't
defaultro has joined #ruby
<banisterfiend> same as any language :)
<banisterfiend> (except javascript perhaps where u can always access the parameters)
SW_ has joined #ruby
enebo has joined #ruby
<jude01> i mean is there some sort of self.options = options (of the paramter)
ntus1017 has quit [Remote host closed the connection]
axsuul has joined #ruby
wolcanus has joined #ruby
jimg has joined #ruby
<defaultro> hey guys, I'm confused about my local setup. I'm just following a wiki here at work. When I execute rackup, it creates a tcp web server. Is ruby a web server too? Or is our code which was written in ruby starts as a web server?
<apeiros> jude01: parameters are local variables
<apeiros> so no, as banisterfiend already said.
baroquebobcat has joined #ruby
defaultro has quit [Changing host]
defaultro has joined #ruby
defaultro has joined #ruby
vlad_starkov has joined #ruby
<apeiros> and hence: no, there can't actually be "a local variable of the same name" - since it *is* the same variable. it's not something else
<MrZYX> defaultro: it's code written in ruby
nimor has joined #ruby
<defaultro> ah got it. I will have to find the rackup code then
<defaultro> that means, this rackup program I ran is not a ruby binary. Correct?
<defaultro> i mean, not part of the ruby binaries that were installed
Shirakawasuna has joined #ruby
<apeiros> rackup is an executable
<apeiros> and it is usually installed as a gem
<defaultro> oh
<apeiros> and it is written in ruby, and it is not part of a standard ruby installation
maz-dev has joined #ruby
tw1sted has joined #ruby
<defaultro> so rackup maybe servers our files?
<defaultro> so rackup maybe serves our files?
ntus1017 has joined #ruby
<defaultro> just like Apache, it serves the file in /var/www/html
<MrZYX> no
<MrZYX> rackup serves your rack application, you should only use it in dev though because it's not very fast
<defaultro> yes, it's only in our dev machine
cburyta has joined #ruby
<jude01> i mean scoped similar to java's: "public Test(int var1) {this.var1 = var1;}" syntax?
<defaultro> so our application was written then in rack. I may need to read more about rack. This will help me remove all my confusions
bubblehead has quit [Read error: Connection reset by peer]
takezawa has quit [Quit: Leaving...]
bubblehead has joined #ruby
aganov has quit [Remote host closed the connection]
Dummies_freelanc has quit [Ping timeout: 252 seconds]
interactionjaxsn has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
mengu has joined #ruby
jimg has quit [Ping timeout: 246 seconds]
daniel_- has joined #ruby
andyc has joined #ruby
ntus1017 has quit [Remote host closed the connection]
<andyc> Can someone tell me how I've managed to become banned on #rubyonrails even though i've not used it in a long while and I've never said anything improper on there?
q__ has joined #ruby
JumpMast3r has quit [Quit: JumpMast3r]
axsuul has quit [Quit: axsuul]
kebomix has joined #ruby
ianbrandt has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
tmhr has joined #ruby
tommyvyo has joined #ruby
cburyta has quit [Ping timeout: 252 seconds]
<kebomix> hi, what is the difference between class Car << ActiveRecord::Base and class Car < ActiveRecord::Base
bubblehead has joined #ruby
<Mon_Ouie> kebomix: The former is a syntax error
jcromartie has quit [Quit: Computer has gone to sleep.]
Vadelius has joined #ruby
Vadelius has joined #ruby
Vadelius has quit [Changing host]
<Mon_Ouie> andyc: Are you sure it's not just something like you not being identified?
daniel_- has quit [Ping timeout: 245 seconds]
cowgarden has quit [Ping timeout: 264 seconds]
<andyc> Mon_Ouie: definately sure.
<Mon_Ouie> (Also notice this channel has no connection with #rubyonrails, contacting an op there is a better option than asking here)
bal has joined #ruby
<kebomix> Mon_Ouie: yup, that is what i thought, its a snippet from rails anti-patterns book, but here in stackoverflow nobody mentioned its wrong http://stackoverflow.com/questions/8736729/purpose-of-class-variable-in-this-code that is funny :D
jude01 has left #ruby [#ruby]
jcromartie has joined #ruby
Vadelius has quit [Client Quit]
tmhr has quit [Ping timeout: 240 seconds]
d2dchat has joined #ruby
vadelius- has joined #ruby
vadelius- is now known as vadelius
vadelius has quit [Changing host]
vadelius has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
sandGorgon has joined #ruby
axsuul has joined #ruby
sepp2k has quit [Quit: Leaving.]
dhruvasagar has joined #ruby
sailias has quit [Ping timeout: 255 seconds]
<defaultro> what command would list all the installed gems?
<kebomix> defaultro: gem list
<Hanmac> defaultro: "gem list"
mafolz has quit [Read error: Connection reset by peer]
<defaultro> thank you
<defaultro> do we have a bot here so I can check if we have good tutorial links?
tylersmith has joined #ruby
lyanchih has quit [Quit: lyanchih]
sambao21 has quit [Quit: Computer has gone to sleep.]
speakingcode-wor has joined #ruby
mxweas has joined #ruby
jbinto has joined #ruby
enebo has quit [Quit: enebo]
tjbiddle has quit [Ping timeout: 245 seconds]
tatsuya_o has quit [Ping timeout: 276 seconds]
sambao21 has joined #ruby
mosez has quit [Ping timeout: 240 seconds]
threesome has quit [Ping timeout: 240 seconds]
chandankumar has joined #ruby
mosez has joined #ruby
<Hanmac> defaultro: we have a bot but he is only for evaling ruby
Alina-malina has quit [Read error: Connection reset by peer]
tylersmith has quit [Ping timeout: 240 seconds]
<defaultro> k
<defaultro> i'm looking for a recommended site for learning Ruby
Alina-malina has joined #ruby
<vadelius> Hmm, codeacademy.com has some interactive stuff
<defaultro> because right now, I am looking at our file structure and I don't even know which app uses it. Maybe it's Backbone.JS
<vadelius> Otherwise I suggest pickup a book (physical book) make some notes circle shit
<defaultro> but I am also seeing rb and ru files
<defaultro> Ok, i have an account on codeacedemy
crazymykl has joined #ruby
<vadelius> Im not sure if their ruby content is good but who knows
<defaultro> k
dhruvasagar has quit [Ping timeout: 248 seconds]
<defaultro> am I right that rb and ru extensions are Ruby files?
timonv has quit [Remote host closed the connection]
wolcanus has quit [Remote host closed the connection]
<defaultro> I am also seeing a file called Rakefile
mxweas has quit [Ping timeout: 264 seconds]
SW_ has quit [Remote host closed the connection]
<vadelius> Lynda always has longer videos (costs some dollarz)
<vadelius> rb is ruby. ru is java i think
Azulinho has joined #ruby
<defaultro> oh
<defaultro> i opened the ru file, first line is require 'rubygems'
ckrailo has joined #ruby
apeiros has quit [Remote host closed the connection]
<vadelius> Oh, is it a config .ru?
soukihei has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<defaultro> yes, config.ru
<defaultro> thanks
<vadelius> you are lazier then me
<defaultro> why?
<vadelius> thats a horrible attribute :>
<vadelius> I didnt know theese things either, i just googled em right now (also learning)
<vadelius> tis was interesting
<defaultro> oh ok, hehehe
<defaultro> sorry buy
<defaultro> bud
<defaultro> it's very confusing right now
ivanoats has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
cmarques has joined #ruby
<vadelius> As for books I can reccomend Ruby Pocket Reference (as a reference) and Head First rails for? rails.. And im reading Learning Ruby (oreily)
<vadelius> I bought like 10 books for lulz, thoose 3 are the ones i didnt find depressing
<vadelius> Problem is some are outdated and old, maybe internet is better i dunno, i like being able to make notes and shit, I hate making notes in a pdf its bleh
<banisterfiend> vadelius: what do u mean by depressing
<defaultro> i heard we are not using rails here
<defaultro> so Ruby is like perl right?
<vadelius> heh
<defaultro> it's for development
<banisterfiend> defaultro: it's like a mixture of perl and smalltalk (so people say)
<defaultro> got it
<vadelius> banisterfiend: Well not literally depressing but.. I found them less enjoyable then the ones I listed
<dorei> perl is ugly, ruby is not :p
<vadelius> Just trying to get my message out
<defaultro> so ruby isn't really a web server. We use gems to build the daemon we are writing
<Sp4rKy> hi, is there any well-known framework / exemples to deploy a little ruby service ?
<defaultro> gems == perl's module
<defaultro> rght?
<Sp4rKy> (not a web framework)
<vadelius> Well ruby is server side not sure what you are asking
F1skr has joined #ruby
<defaultro> ruby is PL
SW_ has joined #ruby
<defaultro> we can code any daemon like how can in perl
ravster has left #ruby [#ruby]
<vadelius> I started learning ruby a few days ago I should just keep quiet :>
<vadelius> Read a generic book and youll have lots of questions answered
<vadelius> or the ruby docs
agjacome has joined #ruby
Xeago has joined #ruby
lkba has joined #ruby
<defaultro> k
jimg has joined #ruby
Appineer has quit [Remote host closed the connection]
albertone has quit [Read error: Connection reset by peer]
Heskie has joined #ruby
Azulinho has quit [Read error: Connection reset by peer]
MrZYX is now known as MrZYX|off
GeissT has quit [Quit: MillBroChat AdIRC User]
jeff280 has quit [Quit: jeff280]
mikecmpbll has joined #ruby
vadelius has left #ruby ["Leaving"]
guiocavalcanti has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
jetblack has quit [Quit: leaving]
jimg has quit [Ping timeout: 240 seconds]
interactionjaxsn has joined #ruby
kil0byte has quit [Remote host closed the connection]
arturaz has quit [Remote host closed the connection]
arturaz has joined #ruby
markalanevans has joined #ruby
jetblack has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
terrellt has joined #ruby
interactionjaxsn has quit [Read error: No route to host]
interactionjaxsn has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
b0oh has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
moted has joined #ruby
s2013 has joined #ruby
dhruvasagar has joined #ruby
ferdev_ has quit [Quit: ferdev_]
wolcanus has joined #ruby
filipe has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
DeLay has quit [Remote host closed the connection]
timonv has joined #ruby
enebo has joined #ruby
arturaz has quit [Remote host closed the connection]
mafolz has joined #ruby
mknln has quit [Quit: Leaving]
timkohrumel has quit [Remote host closed the connection]
timkohrumel has joined #ruby
wesside has quit [Quit: Computer has gone to sleep.]
carloslopes has quit [Remote host closed the connection]
ephemerian has quit [Quit: Leaving.]
atyz has quit [Read error: Connection reset by peer]
arturaz has joined #ruby
Al__ has joined #ruby
wesside has joined #ruby
cj3kim has joined #ruby
axsuul has quit [Quit: axsuul]
arturaz has quit [Remote host closed the connection]
SW_ has quit [Remote host closed the connection]
wallerdev has joined #ruby
arturaz has joined #ruby
mafolz has quit [Ping timeout: 246 seconds]
jrajav has quit [Quit: I tend to be neutral about apples]
blaxter_ has quit [Ping timeout: 276 seconds]
axsuul has joined #ruby
timkohrumel has quit [Ping timeout: 276 seconds]
razi has quit [Quit: Leaving.]
cofin has quit [Quit: cofin]
Eiam has joined #ruby
Peej has quit [Remote host closed the connection]
Peej has joined #ruby
wsterling has joined #ruby
earthquake has quit [Quit: earthquake]
cofin has joined #ruby
arturaz has quit [Remote host closed the connection]
Emmanuel_Chanel has quit [Quit: Leaving]
arturaz has joined #ruby
defaultro has quit [Ping timeout: 250 seconds]
companion has quit [Ping timeout: 245 seconds]
mansi__ has quit [Read error: Connection reset by peer]
slainer68 has quit [Remote host closed the connection]
slainer68 has joined #ruby
arturaz has quit [Remote host closed the connection]
ramblex has joined #ruby
arturaz has joined #ruby
sambao21 has quit [Ping timeout: 264 seconds]
arturaz has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
arturaz has joined #ruby
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
sandGorgon has quit [Quit: Leaving]
ybart has quit [Quit: ybart]
sandGorgon has joined #ruby
timonv has quit [Read error: Connection reset by peer]
arturaz has quit [Remote host closed the connection]
sandGorgon has quit [Max SendQ exceeded]
a_a_g has quit [Quit: This computer has gone to sleep]
sandGorgon has joined #ruby
corehook has joined #ruby
timonv has joined #ruby
io_syl has joined #ruby
wsterling has quit [Remote host closed the connection]
__mp has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
tylersmith has joined #ruby
vlad_starkov has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
sean___ has quit [Quit: leaving]
MistuhKurtz has joined #ruby
RORgasm_ has joined #ruby
johnnyfuchs has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tommyvyo has quit [Quit:]
ianbrandt_ has joined #ruby
arturaz has joined #ruby
wesside has quit [Quit: Computer has gone to sleep.]
RORgasm has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 245 seconds]
wsterling has joined #ruby
jrajav has joined #ruby
blaxter_ has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
thebastl has joined #ruby
tylersmith has quit [Ping timeout: 248 seconds]
djbkd has joined #ruby
ianbrandt has quit [Ping timeout: 241 seconds]
ianbrandt_ is now known as ianbrandt
thyrst has joined #ruby
tommyvyo has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
carloslopes has joined #ruby
thyrst has left #ruby ["o/"]
timkohrumel has joined #ruby
slash_nick has joined #ruby
MrZYX|off is now known as MrZYX
devoldmx has joined #ruby
bionhart has joined #ruby
sguselnikov has joined #ruby
ghr has quit [Quit: Computer has gone to sleep.]
stillesjo has joined #ruby
milardovich has joined #ruby
timonv has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby
Dummies_freelanc has joined #ruby
Emmanuel_Chanel_ has joined #ruby
braoru has joined #ruby
Dummies_freelanc has quit [Max SendQ exceeded]
adramalech has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
Emmanuel_Chanel_ has quit [Client Quit]
alup has quit [Ping timeout: 256 seconds]
jude01 has joined #ruby
Emmanuel_Chanel has joined #ruby
Shirakawasuna has quit [Quit: Leaving]
Dummies_freelanc has joined #ruby
<jude01> How do I use the assertions within a module?
bamdad has quit [Quit: bamdad]
sguselnikov has quit [Client Quit]
therod has quit [Quit: Leaving...]
SDr has quit [Ping timeout: 264 seconds]
sventon has joined #ruby
m8 has joined #ruby
<jude01> like: assert(false,"assertion failed")
sventon has left #ruby [#ruby]
slainer68 has quit [Remote host closed the connection]
arietis has joined #ruby
ArchBeOS has quit [Read error: Connection reset by peer]
dagobah has quit [Remote host closed the connection]
havenwood has joined #ruby
kebomix has quit [Quit: Page closed]
Xeago has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
bigoldrock has quit [Quit: Leaving.]
Xeago has joined #ruby
bigoldrock has joined #ruby
JumpMast3r has joined #ruby
supaiku has joined #ruby
nomenkun has quit [Ping timeout: 240 seconds]
cofin has quit [Quit: cofin]
s2013 has quit []
Xeago has quit [Remote host closed the connection]
gazarsgo has quit [Quit: gazarsgo]
binaryplease has joined #ruby
burlyscudd has joined #ruby
freerobby has quit [Quit: Leaving.]
atyz has joined #ruby
jude01 has quit [Quit: Leaving.]
zeade has joined #ruby
codecop has joined #ruby
Al__ has quit [Quit: Al__]
sambao21 has joined #ruby
_Renegade has joined #ruby
s2013 has joined #ruby
timmow has quit [Remote host closed the connection]
stillesjo has quit [Remote host closed the connection]
stillesjo has joined #ruby
timmow has joined #ruby
Al__ has joined #ruby
jacktrick has quit [Quit: Leaving]
freeayu has quit [Remote host closed the connection]
tbrock has joined #ruby
burlyscudd has quit [Ping timeout: 276 seconds]
user_ is now known as anderson
twoism has joined #ruby
rhys has quit [Quit: Leaving]
timmow has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
nicoulaj has joined #ruby
enebo has quit [Quit: enebo]
robbyoconnor has quit [Ping timeout: 245 seconds]
Al__ has quit [Ping timeout: 255 seconds]
pootler_ has quit [Ping timeout: 246 seconds]
adambeynon has quit [Quit: Computer has gone to sleep.]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
adramalech has quit [Ping timeout: 240 seconds]
k610 has quit [Quit: Leaving]
rupee has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
DeLay has joined #ruby
brennanMKE has joined #ruby
burlyscudd has joined #ruby
mrsolo has joined #ruby
DanKnox_away is now known as DanKnox
burlyscudd has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
g0bl1n has joined #ruby
g0bl1n has joined #ruby
g0bl1n has quit [Changing host]
sambao21 has joined #ruby
Lubinski has quit [Quit: Leaving]
gyre007 has quit [Ping timeout: 276 seconds]
Xeago has joined #ruby
mklappst_ has joined #ruby
mklappstuhl has quit [Ping timeout: 240 seconds]
sventon has joined #ruby
gyre007 has joined #ruby
kofno has quit [Remote host closed the connection]
chandankumar has quit [Quit: Leaving]
zetaspartan2552 has joined #ruby
kofno has joined #ruby
Voodoofish430 has joined #ruby
soukihei has joined #ruby
terrellt has quit [Ping timeout: 252 seconds]
moted has quit [Quit: moted]
vigintas has quit [Quit: Leaving]
<sventon> hi all
<sventon> I can't find a good way to solve this:
terrellt has joined #ruby
cantonic has quit [Quit: cantonic]
browndawg has quit [Ping timeout: 276 seconds]
<sventon> what method should I use for this?
moted has joined #ruby
<sventon> do I need to create some kind of nested loop and then gsub ?
companion has joined #ruby
<sventon> is there any special methods available for this kind of operations?
<MrZYX> I'd go with arr_1.map { |x| arr_2.include?(x) ? x.upcase : x }
Appineer has joined #ruby
Al__ has joined #ruby
<yxhuvud> mrzyx: that would be a bad idea if there are many entries in arr_2 though.
zz_pinage404 is now known as pinage404
camilasan has quit [Remote host closed the connection]
BizarreCake has joined #ruby
<canton7> you could make arr_2 a Set
cburyta has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gazarsgo has joined #ruby
andyc has quit [Ping timeout: 250 seconds]
mahmoudimus has joined #ruby
jamesaxl has quit [Ping timeout: 276 seconds]
SW_ has joined #ruby
devoldmx has joined #ruby
mljsimone|away is now known as mljsimone
Xeago_ has joined #ruby
rhys has joined #ruby
adkron has quit [Ping timeout: 245 seconds]
<sventon> MrZYX: excellent! thanks a lot
guiocavalcanti has quit [Remote host closed the connection]
centipedefarmer has joined #ruby
<sventon> canton7: I do not have manny values in arr_2 but will look into Set. Have never used it
Xeago has quit [Ping timeout: 246 seconds]
b0oh has quit [Quit: Leaving.]
Al__ has quit [Quit: Al__]
carlyle has joined #ruby
workmad3 has joined #ruby
<sventon> manny = many, sorry
Apane has joined #ruby
konr``` has joined #ruby
freerobby has joined #ruby
alvaro_o has joined #ruby
mansi has joined #ruby
konr`` has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
rsahae_ has joined #ruby
mocfive has joined #ruby
agjacome has quit [Quit: leaving]
canton7 has quit [Remote host closed the connection]
arturaz has quit [Remote host closed the connection]
emmanuelux has joined #ruby
nicoulaj has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 252 seconds]
mocfive has quit [Remote host closed the connection]
guiocavalcanti has joined #ruby
nyuszika7h has quit [Excess Flood]
stillesjo has quit [Remote host closed the connection]
johnnyfuchs has quit [Remote host closed the connection]
sventon has left #ruby [#ruby]
stillesjo has joined #ruby
blaxter_ has quit [Quit: foo]
nyuszika7h has joined #ruby
tylersmith has joined #ruby
c0rn has joined #ruby
mocfive has joined #ruby
mklappst_ has quit [Ping timeout: 245 seconds]
saarinen has quit [Quit: saarinen]
bubblehead has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
jimg has joined #ruby
pootler_ has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
Spami has quit [Quit: This computer has gone to sleep]
bubblehead has joined #ruby
JMcAfreak has joined #ruby
jcromartie has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
headius has quit [Quit: headius]
d2dchat has quit [Remote host closed the connection]
arya_ has joined #ruby
statarb3 has joined #ruby
statarb3 has joined #ruby
nobitanobi has joined #ruby
<nobitanobi> Morning, how can I do string interpolation in this case? post "/api/v1/users", {}, {'Authorization' => 'Token token="#{auth_token.access_token}"'} Where auth_token is a variable?
jimg has quit [Ping timeout: 264 seconds]
jlast_ has joined #ruby
saarinen has joined #ruby
arya has quit [Ping timeout: 248 seconds]
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
ArchBeOS has joined #ruby
<MrZYX> use " and escape the inner ": "Token token=\"#{auth_token.access_token}\""
milardovich has quit [Quit: Leaving]
cafk_ has joined #ruby
Mch1 has joined #ruby
ariedler has quit [Remote host closed the connection]
error404_ has joined #ruby
alup has joined #ruby
<nobitanobi> thanks MrZYX
telling_ has joined #ruby
nw_ has joined #ruby
mksm has joined #ruby
peteyg_ has joined #ruby
firebury_ has joined #ruby
ozzloy_ has joined #ruby
skogis_ has joined #ruby
yo61_ has joined #ruby
vx17_ has joined #ruby
nari_ has quit [Ping timeout: 252 seconds]
ekarlso- has joined #ruby
jsaak_ has joined #ruby
ssvo_ has joined #ruby
slash_ni1k has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mksm is now known as Guest4693
kiri has quit [Ping timeout: 264 seconds]
eldariof has joined #ruby
jlast has quit [Ping timeout: 255 seconds]
troessner has quit [Quit: Leaving]
stillEPIK has joined #ruby
brianpWins has quit [Quit: brianpWins]
<nobitanobi> MrZYX, actually when printing this string, I get: "Token token=\"8747c5d07675a540d1be7f707ce4c315\"" -- I guess this is making my request to be wrong, as I keep getting a 401 even though the auth_token is correct
s00pcan_ has joined #ruby
<MrZYX> printing how?
<MrZYX> in irb?
vwoo has joined #ruby
onewheelskyward_ has joined #ruby
natwelch has joined #ruby
dayepa1 has joined #ruby
<nobitanobi> MrZYX, yes. Well I guess that's normal, sorry.
ferdev has joined #ruby
<nobitanobi> I'm going to digg forward, it might be Rake test that I'm not setting the header correctly
fbernier_ has joined #ruby
<MrZYX> yup, irb calls .inspect, try really printing it with puts
martxel_ has joined #ruby
stillesjo has quit [*.net *.split]
BizarreCake has quit [*.net *.split]
konr``` has quit [*.net *.split]
SW_ has quit [*.net *.split]
g0bl1n has quit [*.net *.split]
arietis has quit [*.net *.split]
atyz has quit [*.net *.split]
bigoldrock has quit [*.net *.split]
theRoUS has quit [*.net *.split]
slash_nick has quit [*.net *.split]
crazymykl has quit [*.net *.split]
maz-dev has quit [*.net *.split]
viszu has quit [*.net *.split]
LaPetiteFromage has quit [*.net *.split]
jtharris has quit [*.net *.split]
citizensinspace has quit [*.net *.split]
icco has quit [*.net *.split]
baordog has quit [*.net *.split]
fbernier has quit [*.net *.split]
mark_locklear has quit [*.net *.split]
nanothief has quit [*.net *.split]
banisterfiend has quit [*.net *.split]
i8igmac has quit [*.net *.split]
jastix has quit [*.net *.split]
radic_ has quit [*.net *.split]
vx17 has quit [*.net *.split]
s00pcan has quit [*.net *.split]
joshu has quit [*.net *.split]
Mchl has quit [*.net *.split]
patricksroberts_ has quit [*.net *.split]
Tarential has quit [*.net *.split]
skogis has quit [*.net *.split]
hash has quit [*.net *.split]
nw has quit [*.net *.split]
gadgetoid has quit [*.net *.split]
dayepa has quit [*.net *.split]
gregorg has quit [*.net *.split]
ekarlso has quit [*.net *.split]
onewheelskyward has quit [*.net *.split]
aboudreault has quit [*.net *.split]
jeekl has quit [*.net *.split]
taqutor has quit [*.net *.split]
niftylettuce has quit [*.net *.split]
dnyy_ has quit [*.net *.split]
niko has quit [*.net *.split]
Spaceghost|cloud has quit [*.net *.split]
error404 has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
Elfix has quit [*.net *.split]
Guest26324 has quit [*.net *.split]
firebury has quit [*.net *.split]
jsaak has quit [*.net *.split]
EPIK has quit [*.net *.split]
ssvo has quit [*.net *.split]
peteyg has quit [*.net *.split]
martxel has quit [*.net *.split]
yo61 has quit [*.net *.split]
cafk has quit [*.net *.split]
ozzloy has quit [*.net *.split]
telling has quit [*.net *.split]
wyan has quit [*.net *.split]
nopper` has quit [*.net *.split]
Rix has quit [*.net *.split]
Caius has quit [*.net *.split]
natwelch is now known as icco
alexspeller has quit [*.net *.split]
Mch1 is now known as Mchl
martxel_ is now known as Guest4732
onewheelskyward_ is now known as onewheelskyward
BSaboia has quit [Ping timeout: 247 seconds]
hash has joined #ruby
pinage404 has quit [Quit: ZNC - http://znc.sourceforge.net]
niko has joined #ruby
_maes_ has joined #ruby
lushious has joined #ruby
yeltzooo has joined #ruby
vadeliusOFF has joined #ruby
dev2 has joined #ruby
bal has quit [Quit: Leaving]
vadeliusOFF is now known as vadelius
vadelius has quit [Changing host]
vadelius has joined #ruby
slash_ni1k is now known as slash_nick
redgirl has joined #ruby
canton7 has joined #ruby
mark_locklear has joined #ruby
<dev2> I'm having trouble with ruby being too slow. I run this on the command line: time ruby -e "count = 0; while(count < 100000000); count = count + 1; end; puts count" it takes about 9 seconds.
<dev2> (thats 100 mil)
Azulinho has joined #ruby
PhatBaja has joined #ruby
mmlac-bv has joined #ruby
AlbireoX has quit [Remote host closed the connection]
jbinto has quit [Remote host closed the connection]
echevemaster has joined #ruby
nopper has joined #ruby
fbernier_ is now known as fbernier
<PhatBaja> how can I raise an exception with a specific exit code?
Rix has joined #ruby
jastix has joined #ruby
pzip has joined #ruby
marr has quit [Ping timeout: 246 seconds]
ariedler has joined #ruby
stkowski has joined #ruby
<dorei> dev2: you're also counting the time that is needed for setting up the ruby interp, etc
tbrock has quit [Quit: Computer has gone to sleep.]
<dev2> I seem to have some things mixed up in terms of digits
_Amaan has quit [Read error: Connection reset by peer]
rickruby has joined #ruby
<nobitanobi> Is it correct to have two expectations in just one Rspec example? I want to test that when creating a User I get a 200 status code, and that the user is actually created. Is it correct to put both expectations in one example?
_Amaan has joined #ruby
_Renegade has quit [Quit: _Renegade]
aboudreault has joined #ruby
Neomex has joined #ruby
spider-mario has joined #ruby
sirecote has quit [Ping timeout: 248 seconds]
<dev2> dorei: thanks, seems like the example I copied and pasted had one less 0 in the perl test
notdan has joined #ruby
cofin has joined #ruby
Neomex has quit [Client Quit]
cburyta has quit [Remote host closed the connection]
jbinto has joined #ruby
<notdan> Hi! Is there an easy way to parse strings like "5s" or "3m" into Time objects?
<dorei> let's say i've got an input string and 2 regexps, the first one matches somewhere near the beggining, and the seconds one matches somewhere near the end, what is the best way to "concatenate" the two regular expressions into one?
_Renegade has joined #ruby
zomgbie has quit [Ping timeout: 255 seconds]
dmiller has joined #ruby
cburyta has joined #ruby
<dev2> notdan: maybe a gem? maybe chronic parser? I know chronic is for dealing with times, not sure if it covers what you need though. Also maybe something in the activesupport library
<MrZYX> nobitanobi: in that case I'd say those are two very distinct expectations, thus two tests
DeLay has quit [Remote host closed the connection]
<nobitanobi> MrZYX, interesting
<nobitanobi> thanks
<dev2> nobitanobi: yep, 2 tests, even though it seems inefficient
<MrZYX> but in the end that stuff comes down to personal preference I guess
s2013 has quit []
Guest4732 is now known as martxel
martxel has quit [Changing host]
martxel has joined #ruby
rickruby has quit [Ping timeout: 256 seconds]
<nobitanobi> I find myself really confused when writting tests
jacobw has joined #ruby
tonini has joined #ruby
pootler_ has quit [Quit: leaving]
bubblehead has quit [Read error: Connection reset by peer]
<nobitanobi> I am forcing myself to do TDD, and sometimes I get really confused with this kind of decisions
<nobitanobi> :P
x1337807x has joined #ruby
bubblehead has joined #ruby
<dev2> I find it best to have only one line in the "it" block and that is the assertion, the rest should go in a before block
_Renegade has quit [Client Quit]
binaryplease has quit [Read error: Operation timed out]
<dev2> generally speaking, subject to personal preference and changing times.
pootler_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
ianbrandt has quit [Remote host closed the connection]
<PhatBaja> Is it possible to raise a RuntimeError with a specific exit code?
ianbrandt has joined #ruby
gyre007 has quit [Remote host closed the connection]
<terrellt> dev2: *Whistle* Can't say I'm that serious.
interactionjaxsn has quit [Remote host closed the connection]
dmiller has quit [Ping timeout: 252 seconds]
Apane has quit []
rezzack has joined #ruby
vwoo has quit [Ping timeout: 240 seconds]
zetaspartan2552 has quit [Quit: zetaspartan2552]
headius has joined #ruby
wesside has joined #ruby
<dev2> terrellt: yeah I'm not really either.
Apane has joined #ruby
pootler_ has quit [Client Quit]
johnnyfuchs has joined #ruby
pinage404 has joined #ruby
brbcoding has quit [Ping timeout: 276 seconds]
<notdan> dev2: thanks, i'll check it out
tonini has quit [Ping timeout: 248 seconds]
_Renegade has joined #ruby
pootler_ has joined #ruby
jlast_ has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
<nobitanobi> How do you guys test that a record has been created with Rspec?
vwoo has joined #ruby
<nobitanobi> would you use, for example, User.count.should eql(1) ?
sambao21 has joined #ruby
jdunck has joined #ruby
wyan has joined #ruby
tbrock has joined #ruby
moted has quit [Quit: moted]
<MrZYX> That's getting into the topic of #rubyonrails but expect { record_create_action }.to change(User.count).by(1) (if I remember the exact syntax correctly)
ramblex has quit [Remote host closed the connection]
centipedefarmer has quit [Remote host closed the connection]
zomgbie has joined #ruby
<nobitanobi> MrZYX, ok, thank you, I will ask there.
RORgasm_ has quit [Read error: Connection reset by peer]
kristian_ has joined #ruby
<jastix> MrZYX: almost :) ....to change(User, :count).by(1)
fermion has quit [Ping timeout: 276 seconds]
RORgasm has joined #ruby
brianpWins has joined #ruby
<MrZYX> right, thx
krawchyk_ has joined #ruby
moted has joined #ruby
tonini has joined #ruby
krawchyk_ has quit [Remote host closed the connection]
fermion has joined #ruby
tangledhelix has joined #ruby
dev2 has quit [Ping timeout: 250 seconds]
krawchyk has quit [Ping timeout: 252 seconds]
rrecio has joined #ruby
BSaboia has joined #ruby
nomenkun has joined #ruby
kristian_ is now known as delay
<vadelius> The other day when I posted my error I got someone said maybe Sublime doesnt support "IVLDS" <-- 5 letter word cant recall what exactly though
<vadelius> I believe it was a term for console input
<vadelius> (Trying to find a sublime package whereas input is added/supported)
<MrZYX> stdin
<vadelius> ((for gets.chomp)) sorry for multiple lines, thank you mrzyx
<MrZYX> short for standard input
_Renegade has quit [Quit: _Renegade]
codymtx has joined #ruby
<MrZYX> there's also standard output (stdout) and standard error (stderr)
SW_ has joined #ruby
d2dchat has joined #ruby
<vadelius> Aha good to know!
zomgbie has quit [Ping timeout: 260 seconds]
adramalech has joined #ruby
codymtx has quit [Quit: Leaving]
dangerousdave has joined #ruby
Villadelfia has quit [Ping timeout: 248 seconds]
freezey has joined #ruby
Villadelfia has joined #ruby
SeySayux has quit [Ping timeout: 264 seconds]
jastix has quit [Quit: Leaving]
<havenwood> Wow, Apple dropped the cat name convention... I was looking forward to OS X Saber Toothe Tiger too.
SeySayux has joined #ruby
sirecote has joined #ruby
jlast has joined #ruby
Hobogrammer_ has joined #ruby
adramalech has quit [Ping timeout: 252 seconds]
rickruby has joined #ruby
bashdy has joined #ruby
rrecio has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
splittingred has quit [Read error: Connection reset by peer]
splittingred has joined #ruby
<havenwood> Why don't they say the important stuff, like what version Ruby is bumped to?
kobain has quit [Ping timeout: 246 seconds]
<havenwood> Whether bash and zsh are getting an version update (please!!).
<MrZYX> havenwood: just switch to arch :P
Hobogrammer has quit [Ping timeout: 246 seconds]
kobain has joined #ruby
kobain has quit [Excess Flood]
<havenwood> MrZYX: I like Arch, but the package manager system makes my head explode.
kobain has joined #ruby
<havenwood> MrZYX: Gentoo? :P
<MrZYX> really? it's the easiest one I've seen so far
kobain has quit [Excess Flood]
kobain_ has joined #ruby
pinage404 has quit [Quit: Screw you guys i'm going home ! KMP ! ZNC - http://znc.sourceforge.net]
cofin has quit [Quit: cofin]
pinage404 has joined #ruby
AlecTaylor has joined #ruby
pinage404 has quit [Client Quit]
<AlecTaylor> hi
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
LaPetiteFromage has joined #ruby
<havenwood> MrZYX: I guess I'm just not used to the Arch way of doing things. Stuff like `pacman -Sy xxx` being verboten is really odd to me: https://github.com/postmodern/ruby-install/issues/22
<havenwood> MrZYX: Guess they opt for a simplier model, and I just haven't wrapped my head around it.
jimg has joined #ruby
<MrZYX> well it's simple, you update the index, so you get a newer version of a package while it's dependencies might still be outdated
<MrZYX> if you do that for example to libc.. have fun
pinage404 has joined #ruby
twoism has quit [Read error: Connection reset by peer]
<havenwood> I've been liking Fedora 19. They've gone all Arch-like and have an actual good Ruby 2.0.0-p195 package as default.
twoism has joined #ruby
<wuest> havenwood: that's easy to think coming from other package managers which have -y mean 'yes'
jude01 has joined #ruby
jbinto has quit [Read error: Connection reset by peer]
jude01 has left #ruby [#ruby]
jbinto has joined #ruby
thebastl has quit [Remote host closed the connection]
* wuest finds Arch to be ideal, really--pretty far upstream, but not having to compile everything.
girija has quit [Remote host closed the connection]
<MrZYX> havenwood: I just yet have to see a packaging system where something like https://github.com/MrZYX/PKGBUILDs/blob/master/ruby1.9-bundler/PKGBUILD can be a whole package
freezey has quit [Remote host closed the connection]
<MrZYX> it makes you way less tempted to just sudo make install stuff
pinage404 has quit [Quit: Screw you guys i'm going home ! KMP ! ZNC - http://znc.sourceforge.net]
tangledhelix has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
forrest has quit [Ping timeout: 240 seconds]
cofin has joined #ruby
graydot has quit [Quit: graydot]
milardovich has joined #ruby
forrest has joined #ruby
elaptics is now known as elaptics`away
tommyvyo has quit [Quit:]
tbrock has quit [Quit: Computer has gone to sleep.]
mityaz has joined #ruby
<MrZYX> *another one of course
jimg has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 276 seconds]
dEPy has joined #ruby
fermion has quit [Quit: Textual IRC Client: www.textualapp.com]
<dEPy> any way I can print method implementation?
Mattix has quit [Quit: Leaving]
<havenwood> dEPy: The C implementation or the Ruby method?
<dEPy> no, the ruby code
<havenwood> dEPy: Pry is really nice: http://pryrepl.org/
<dEPy> without addons?:D
interactionjaxsn has joined #ruby
<havenwood> dEPy: You can `edit` a method. Yeah, Pry alone lets you open an arbitrary method in your text editor, edit it, and return to the REPL.
<dEPy> no no, I just want to print the ruby code
<dEPy> so I see the implementation, won't do anything else with it :)
<dEPy> can't just install gems cause it's on production
<dorei> dEPy: you can edit it without actually changine anything :p
daniel_- has joined #ruby
pinage404 has joined #ruby
<dEPy> can't I just print it inside repl somehow?
<havenwood> dEPy: show-method my_method_here
headius has quit [Quit: headius]
futilegames has quit [Quit: futilegames]
<havenwood> dEPy: Take a look at `help` from inside Pry. Or a Pry demo video should cover that.
jprovazn has joined #ruby
<wuest> dEPy: I don't think there's a way to do so within irb.
<dEPy> :S
Squarepy has joined #ruby
Rizzle has quit [Read error: Connection reset by peer]
<Hanmac> dEPy you need to understand that not all methods are defined in ruby
<dEPy> This one is cause it's mine :)
<Hanmac> so some methods does not have "ruby code"
freerobby has joined #ruby
<havenwood> dEPy: Are you trying to look at the source of methods written in Ruby or the source or Ruby's methods? You could look at implementing code from the sourcify gem. At a certain point though, might as well just use Pry rather than run a bunch of code on IRB.
_Renegade has joined #ruby
dEPy has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
sandGorgon has quit [Read error: Connection reset by peer]
jaalto has joined #ruby
huoxito has quit [Quit: Leaving]
sandGorgon has joined #ruby
paissad has quit [Ping timeout: 264 seconds]
_Renegade has quit [Client Quit]
<jaalto> With this code https://gist.github.com/bcachet/1351683 I get error while running: ...`require': cannot load such file -- file.rb (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /srv/deb/debian/patchsplit/upstreeam.git/splitpatch.rb:25:in `<main>'
<havenwood> jaalto: require_relative 'file.rb'
<havenwood> jaalto: You are trying to require a file named file.rb in the dir?
nanothief has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
Tarential has joined #ruby
mansi has quit [Read error: Connection reset by peer]
gregorg has joined #ruby
gregorg has joined #ruby
gregorg has quit [Changing host]
maz-dev has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
i8igmac has joined #ruby
mansi has joined #ruby
postmodern has joined #ruby
radic_ has joined #ruby
defaultro has joined #ruby
viszu has joined #ruby
malkomalko has joined #ruby
<jaalto> havenwood: With "require_relative" is says splitpatch.rb:24:in `require_relative': cannot load such file --file.rb (LoadError) from splitpatch.rb:24:in `<main>'
c0rn has quit [Quit: Computer has gone to sleep.]
bigoldrock has joined #ruby
baordog has joined #ruby
<jaalto> havenwood: I don't know the code, but I would have use for it as it announces to be able to split diff on hunks.
toddWork_ has quit [Quit: toddWork_]
<defaultro> hi folks, I got disconnected. I'm very new to Ruby. How will I know if our app requires ruby on rails? However, I only installed ruby
futilegames has joined #ruby
defaultro has quit [Changing host]
defaultro has joined #ruby
defaultro has joined #ruby
<asteve> how can I require an entire directory worth of classes?
<havenwood> jaalto: I guess find where the file really is, so you can point to it with require_relative. It takes a relative path, like '../../lib/file.rb' if that is where the file is.
pootler_ has quit [Ping timeout: 264 seconds]
<defaultro> does my post show because I just got identified by nickserv. Anyways, it's here
<defaultro> hi folks, I got disconnected. I'm very new to Ruby. How will I know if our app requires ruby on rails? However, I only installed ruby
<havenwood> defaultro: If you created the app you'd prolly know if it was Rails, so I'm guessing you are working on an existing app.
banisterfiend has joined #ruby
<havenwood> defaultro: Yeah, your posts are posting.
<defaultro> havenwood: I just joined the team
obs has joined #ruby
<banisterfiend> nobitanobi: "'Token token=#{auth_token.access_token}'" ?
paissad has joined #ruby
<defaultro> yes, it's an existing app that I pulled from bitbucket
<havenwood> defaultro: Look at the Gemfile.
<defaultro> looking
<defaultro> what do you want me to search for?
zomgbie has joined #ruby
Elfix has joined #ruby
momomomomo has quit [Quit: momomomomo]
chxane has joined #ruby
<defaultro> first line is source 'https://rubygems.org'
<vadelius> Anyone here used rubymotion?
atyz has joined #ruby
JZTech101 has joined #ruby
gadgetoid has joined #ruby
dnyy_ has joined #ruby
niftylettuce has joined #ruby
taqutor has joined #ruby
Spaceghost|cloud has joined #ruby
joshu has joined #ruby
jtharris has joined #ruby
patricksroberts_ has joined #ruby
jeekl has joined #ruby
alexspeller has joined #ruby
Caius has joined #ruby
sandGorgon has quit [Ping timeout: 246 seconds]
<havenwood> defaultro: If it is a Rails app, you'll see Rails in the Gemfile.
taqutor has quit [Max SendQ exceeded]
niftylettuce has quit [Max SendQ exceeded]
Caius has quit [Changing host]
Caius has joined #ruby
<defaultro> ah. I don't see it
<jaalto> havenwood: Ok. I have to contact the author about it as the page only lists that code at https://gist.github.com/bcachet/1351683
niftylettuce has joined #ruby
<defaultro> how do I find out what these 10-12 gems are for?
<havenwood> defaultro: Paste a Gist of the Gemfile?
<defaultro> one sec
synthetix has joined #ruby
taqutor has joined #ruby
<defaultro> havenwood: http://pastebin.com/yDUyN5Pe
marr has joined #ruby
atyz has quit [Client Quit]
atyz has joined #ruby
<havenwood> defaultro: It is a static site generated with middleman: http://middlemanapp.com/
<defaultro> ok
<havenwood> defaultro: You can google the other gems, they are pretty standard fair (well some of em, stuff like 'eco' i dunno.
<havenwood> )
<defaultro> k
<defaultro> i thought all the lines were for middleman
toddWork_ has joined #ruby
apeiros has joined #ruby
<defaultro> is there something similar to unix manpage?
<havenwood> defaultro: For example, bundler is for gem dependencies, capybara is headless browser,e tc. Some gems have manpages.
<defaultro> got it
Coolhand_ is now known as Coolhand
bionhart has quit [Remote host closed the connection]
<havenwood> defaultro: Usually finding the gem repo on Github is a real good start. You can use auto-doc generation or whatever. Manpages are unfortunately pretty far and few between.
wargasm has joined #ruby
<defaultro> and is there like a portal where in it tells what this gem does? like Perl's cpan
moted has quit [Quit: moted]
<jaalto> havenwood: I got it working by removing the requires completely. However, how do I modify the source so that filenames are zero-based. Like 001, 002, 003. The code line is https://gist.github.com/bcachet/1351683#file-splitpatch-rb-L62
<havenwood> defaultro: http://rubygems.org/
toddWork_ has quit [Client Quit]
Spami has joined #ruby
Spami has joined #ruby
<jaalto> But I don't know how to chnage it?
<defaultro> k
toddWork_ has joined #ruby
<havenwood> defaultro: A nice site for finding gems based on category: https://www.ruby-toolbox.com/
<jaalto> The line reads "filename << ".#{appendix}""
_Renegade has joined #ruby
gyre007 has joined #ruby
<defaultro> awesome! Thanks a lot! :)
workmad3 has quit [Ping timeout: 252 seconds]
<jaalto> where appendix is plain numeber 1, 2, 3, ... I'd like it to be 001, 002 in filename
mark_locklear has quit [Read error: Connection reset by peer]
nazty has quit [Ping timeout: 245 seconds]
moted has joined #ruby
ivanoats has quit [Remote host closed the connection]
mark_locklear has joined #ruby
<havenwood> jaalto: appendix.rjust(3, '0')
RORgasm_ has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
sumark has quit [Remote host closed the connection]
brennanMKE has quit [Remote host closed the connection]
mljsimone is now known as mljsimone|away
icco has quit [Ping timeout: 256 seconds]
sw33tch33ks has left #ruby [#ruby]
jprovazn has quit [Quit: Odcházím]
sumark has joined #ruby
c0rn has joined #ruby
<jaalto> havenwood: Trying....
Criztian has quit [Remote host closed the connection]
Spami has quit [Ping timeout: 256 seconds]
gyre007 has quit [Ping timeout: 256 seconds]
icco has joined #ruby
cowgarden has joined #ruby
<defaultro> I'm still confused with ruby. In PHP, I create a file say myexercise.php. I put this file in documentroot of my apache. Then I open my browser and open http://webserverip/myexercise.php. How about in Ruby, how is it done?
stkowski has quit [Quit: stkowski]
hamburger2000 has joined #ruby
<banisterfiend> defaultro: lol you are in for a shock
<defaultro> :D
<vadelius> Oh boy
<banisterfiend> defaultro: follow a rails tutorial
<banisterfiend> or whatever framework you're using
_Renegade has quit [Ping timeout: 255 seconds]
<banisterfiend> dont just try to 'figure it out' yourself ;)
<jaalto> havenwood: Is this correct? (I know nothing about Ruby): appendix = 0; zeroes = appendix.rjust(3, '0'); filename << ".#{zero}"
<defaultro> oh, so rails is needed for web?
<vadelius> 1) #rubyonrails
<vadelius> 2) "PLZ HALP"
<vadelius> 3) profit
tw1sted is now known as pav
<defaultro> profit?
<vadelius> Yeah rails is a webapp framework
<defaultro> got it
<banisterfiend> defaultro: jesus man, did you even do any background research about ruby at all before you started? :)
phipes has joined #ruby
<defaultro> i
<vadelius> ruby is more, backend roughly
c0rn has quit [Client Quit]
<defaultro> i've started this morning
<vadelius> i told you earlier to go read :(
<vadelius> this morning even
pav is now known as tw1sted
vwoo has quit [Ping timeout: 246 seconds]
razi has joined #ruby
<defaultro> i did but still got confused. Now I understand it better now
q__ has quit [Ping timeout: 245 seconds]
<vadelius> ok :> good luck!
jbinto has quit [Remote host closed the connection]
<defaultro> our gemfile doesn't have rails but i am not sure how it's able to serve files
<defaultro> maybe because of the rackup tool
supaiku has quit [Read error: Connection reset by peer]
<vadelius> Even if ruby on rubyonrails is obviously closely related dont mix em up
<vadelius> they do very diferent things
<vadelius> atleast thats my experience..
<defaultro> k
gyre007 has joined #ruby
jbinto has joined #ruby
<defaultro> so my local setup isn;t rubyonrails but I do have config.ru and config.rb
synthetix has quit [Remote host closed the connection]
<vadelius> What OS are you using?
<defaultro> mac osx
TheFuzzball has quit [Read error: Operation timed out]
vwoo has joined #ruby
<defaultro> to view the webpage, I run rackup which listens on port 9292
<vadelius> open terminal and do ruby -v / rails-v
kiri has joined #ruby
<defaultro> ok
<vadelius> afaik default rails port is 3000
<jaalto> havenwood: i = 0 ; zeroes = i.rjust(3, '0'); filename << ".#{zeroes}" => in `<main>': undefined method `rjust' for 0:Fixnum (NoMethodError)
<vadelius> But once again, take what I say with a grain of salt, just trying to help but I barely know anything
<havenwood> jaalto: Have to call #to_s on attributes first or interpolate before calling rjust
Astral_ has joined #ruby
<defaultro> ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-darwin12.3.0] ruby: Is a directory - / (Errno::EISDIR)
TheFuzzball has joined #ruby
nkts has joined #ruby
<vadelius> http://it-ebooks.info/book/2306/ Ruby on Rails 3 Tutorial pdf
<defaultro> k
jbinto has quit [Remote host closed the connection]
<vadelius> Im not entirely sure its legal though.. I just googled free rails ebook
jbinto has joined #ruby
bamdad has joined #ruby
adambeynon has joined #ruby
<vadelius> 100% legal atleast :>
momomomomo has joined #ruby
<defaultro> done downloading the pdf. Now looking at the second link
Astralum has quit [Ping timeout: 255 seconds]
ananthakumaran has quit [Quit: Leaving.]
brbcoding has joined #ruby
<defaultro> i wish there is a pdf version so I can still read while I'm on trail
<defaultro> train
<vadelius> Take your time, read, take notes, gather knowledge, master the language, pioneer the future, gogo!
<vadelius> make it available offline
daniel_- has quit [Ping timeout: 256 seconds]
<jaalto> havenwood: Thanks, got it working (with zero Ruby knowledge)
<vadelius> pretty sure that feature still exists in browsers not sure
<vadelius> you can just html rip it otherwise i guess
ananthakumaran has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
<defaultro> ok
<defaultro> thanks buddy
horrror has joined #ruby
wolcanus has quit [Remote host closed the connection]
jbinto has quit [Ping timeout: 252 seconds]
jbinto has joined #ruby
moted has quit [Quit: moted]
AlbireoX has joined #ruby
ntus1017 has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
mikepack_ has joined #ruby
guiocavalcanti has joined #ruby
cowgarden has quit [Ping timeout: 246 seconds]
mikepack has quit [Ping timeout: 276 seconds]
wolcanus has joined #ruby
jbinto has quit [Remote host closed the connection]
ryan_turner is now known as ryan_turner_
guiocava_ has joined #ruby
guiocavalcanti has quit [Read error: Connection reset by peer]
zomgbie has quit [Read error: Connection reset by peer]
<havenwood> jaalto: Nice. ;)
SW_ has quit [Remote host closed the connection]
marcgg has quit [Read error: Connection reset by peer]
marcgg has joined #ruby
thebastl has joined #ruby
razi has quit [Quit: Leaving.]
dangerousdave has quit [Quit: Leaving...]
razi has joined #ruby
robbyoconnor has joined #ruby
rsahae_ has quit [Quit: rsahae_]
PhatBaja has quit [Quit: Leaving.]
ryan_turner_ is now known as ryan_turner
kamsky has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
<kamsky> hi guys, quick question, is there any way to interact with a windows CMD line app using ruby?
jbinto has joined #ruby
<kamsky> i.e.: the app is waiting for some user input
<kamsky> so I'd like to feed the app using a ruby script
arvindeep has quit [Ping timeout: 248 seconds]
acrussell has quit [Quit: Leaving.]
reset has joined #ruby
paissad has quit [Ping timeout: 246 seconds]
Macaveli has joined #ruby
rickmasta has joined #ruby
beiter has joined #ruby
saarinen has quit [Quit: saarinen]
<pothibo> what's the difference between a simpledelegator and a ruby class with method_missing being passed to an underlying object?
khushildep has joined #ruby
zaebst has quit [Quit: leaving]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JohnE has joined #ruby
Astral_ has quit [Read error: Connection reset by peer]
paissad has joined #ruby
Astral_ has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
jamesaxl has joined #ruby
Dummies_freelanc has quit [Ping timeout: 246 seconds]
ryan_turner is now known as ryan_turner_
jbinto has quit [Ping timeout: 252 seconds]
paissad has quit [Max SendQ exceeded]
huoxito has joined #ruby
Spami has quit [Ping timeout: 256 seconds]
eldariof has quit [Ping timeout: 248 seconds]
cburyta has quit [Remote host closed the connection]
zmike123 has quit [Quit: Выходжу]
mocfive has quit [Remote host closed the connection]
paissad has joined #ruby
jbinto has joined #ruby
jds_ has joined #ruby
tommyvyo has joined #ruby
futilegames has quit [Ping timeout: 252 seconds]
nobitanobi has left #ruby ["Leaving"]
ryan_turner_ is now known as ryan_turner
ananthakumaran has quit [Quit: Leaving.]
jkline has joined #ruby
JimmyNeutron has joined #ruby
_Renegade has joined #ruby
generalissimo is now known as general|plague
jcromartie has joined #ruby
futilegames has joined #ruby
jcromartie has quit [Max SendQ exceeded]
jcromartie has joined #ruby
jcromartie has quit [Max SendQ exceeded]
jcromartie has joined #ruby
jbinto- has joined #ruby
jbinto has quit [Read error: Connection reset by peer]
Macaveli has quit [Quit: This computer has gone to sleep]
txdv has quit [Read error: Operation timed out]
tommyvyo has quit [Ping timeout: 252 seconds]
slainer68 has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
burlyscudd has quit [Quit: Leaving.]
viszu has quit [Quit: Leaving.]
pipework has quit [Remote host closed the connection]
heftig has quit [Ping timeout: 240 seconds]
burlyscudd has joined #ruby
rsahae_ has joined #ruby
mklappstuhl has joined #ruby
pinage404 has quit [Quit: Screw you guys i'm going home ! KMP ! ZNC - http://znc.sourceforge.net]
c0rn has joined #ruby
jfelchner has quit [Quit: zzzzzzzzzzzzz………]
x1337807x has joined #ruby
benweint has joined #ruby
johnnyfuchs has quit [Ping timeout: 252 seconds]
jbinto- has quit [Remote host closed the connection]
PhatBaja has joined #ruby
nkr has quit [Quit: Linkinus - http://linkinus.com]
stkowski has joined #ruby
jbinto has joined #ruby
jbinto has quit [Read error: Connection reset by peer]
Jackneill has quit [Ping timeout: 248 seconds]
jbinto has joined #ruby
jaalto has quit [Ping timeout: 264 seconds]
daniel_- has joined #ruby
bashdy has quit [Quit: bashdy]
ivanoats has joined #ruby
jimg has joined #ruby
awarner_ has joined #ruby
johnnyfuchs has joined #ruby
tommyvyo has joined #ruby
devoldmx has quit [Read error: No route to host]
devoldmx has joined #ruby
bionhart has joined #ruby
Al__ has joined #ruby
milardovich has quit [Quit: Leaving]
awarner has quit [Ping timeout: 245 seconds]
pinage404 has joined #ruby
jds_ has quit [Remote host closed the connection]
joelteon has quit [Quit: bye]
_Amaan has quit [Quit: _Amaan]
heftig has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
joelteon has joined #ruby
notdan has left #ruby [#ruby]
jprovazn has joined #ruby
<bricker`away> Isn't there a method on Fixnum that will accomplish this? `limit > MAX_RESULTS ? MAX_RESULTS : limit` Something like limit.ceil(MAX_RESULTS), except I know that doesn't work
jimg has quit [Ping timeout: 252 seconds]
momomomomo has quit [Quit: momomomomo]
devoldmx has quit [Ping timeout: 252 seconds]
<bricker`away> pothibo: a delegator probably defines the specific methods on the class, rather than relying on method_missing which lacks in performance and can mess up your stack traces.
bashdy has joined #ruby
jds_ has joined #ruby
zomgbie has joined #ruby
timonv has joined #ruby
amedeiros has quit [Ping timeout: 246 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mklappstuhl has quit [Remote host closed the connection]
s0ber_ has joined #ruby
JimmyNeutron has quit [Ping timeout: 240 seconds]
rippa has quit [Ping timeout: 240 seconds]
s0ber has quit [Read error: Operation timed out]
JimmyNeutron has joined #ruby
s0ber_ is now known as s0ber
schiang has joined #ruby
<vadelius> Can I ? with an if statement do this; return them to the beginning of the class with the else?
<vadelius> If that makes any sense...
<asteve> I'm trying to get the important line from %x[ps #{Process.uid} -opid,rss,time,%cpu,command] and I'm only getting the first line describing the columns
<asteve> what's a better way to do that?
cj3kim has quit [Remote host closed the connection]
johnrlive has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
<pothibo> bricker`away: well that's what I want to know, if it does defines or if it uses the same route as method_missing
BSaboia has quit [Ping timeout: 245 seconds]
s2013 has joined #ruby
carloslopes has quit [Remote host closed the connection]
yalue has quit [Read error: Connection reset by peer]
choobie has quit [Quit: choobie]
razi1 has joined #ruby
dash__ has quit [Quit: Time to beer :)]
DanKnox is now known as DanKnox_away
razi has quit [Quit: Leaving.]
malkomalko has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
malkomalko has joined #ruby
<bricker`away> pothibo: I was wrong, it does use method_missing. See delegate.rb
workmad3 has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
brennanMKE has joined #ruby
pinage404 has quit [Quit: Screw you guys i'm going home ! KMP ! ZNC - http://znc.sourceforge.net]
kirun has quit [Quit: Client exiting]
DanKnox_away is now known as DanKnox
<pothibo> bricker`away: Thanks! well then, it means it's useless
zomgbie has quit [Ping timeout: 256 seconds]
alvaro_o has joined #ruby
flyingcork has joined #ruby
zomgbie has joined #ruby
tommyvyo has quit [Ping timeout: 255 seconds]
<bricker`away> pothibo: I could be wrong again
<flyingcork> Hello, I'm trying to install rails on centos, but I keep getting this error: mkmf.rb: can't find header files for ruby at /usr/lib/ruby/ruby.h
<pothibo> I think you are right
<bricker`away> pothibo: see DelegateClass - it redefines each of the class's instance methods via module_eval
<pothibo> bricker`away: yeah I'm looking at it
<bricker`away> I've never studied this class so I'm not very familiar with it
bricker`away is now known as bricker
schiang has quit [Quit: Page closed]
carlyle has quit [Remote host closed the connection]
<pothibo> I would have thought it to be optimize via C to have an actual boost vs method_missing, oh well
<pothibo> no big deal
futilegames has quit [Quit: futilegames]
jds_ has quit [Remote host closed the connection]
jonathanwallace has quit [Quit: WeeChat 0.4.0]
<asteve> can I get a system command to return an array?
pinage404 has joined #ruby
robert__ has joined #ruby
robert__ has joined #ruby
robert__ has quit [Changing host]
<apeiros> asteve: no
brennanM_ has joined #ruby
<flyingcork> does anybody know how to install rails when it gives that error?
brennanMKE has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
<apeiros> asteve: but you can process the string and convert it into an array
<fryguy> flyingcork: try installing ruby development libs
<asteve> apeiros: hmm
<asteve> how would you process the string to an array?
<asteve> I don't see \n appearing
huttan has quit [Remote host closed the connection]
<apeiros> asteve: I don't magically know what you have and what you want from that
RORgasm_ has quit [Read error: Connection reset by peer]
<flyingcork> fryguy: i believe i did already...when i try sudo gem install ruby-devel it says a bunch of files are conflicting
snearch has joined #ruby
robert_ has quit [Ping timeout: 264 seconds]
RORgasm has joined #ruby
jonathanwallace has joined #ruby
statarb3 has quit [Read error: Operation timed out]
<pothibo> flyingcork: how are you installing ruby?
<pothibo> seems like a path is missing
brotatos has joined #ruby
tommyvyo has joined #ruby
<flyingcork> sudo yum install ruby
Heskie has quit []
<flyingcork> (as root)
<defaultro> hey folks, is .erb a ruby file?
bashdy has quit [Quit: bashdy]
<flyingcork> sry, my ruby devel attempt was sudo yum install ruby-devel, not sudo gem install ruby-devel
brennanM_ has quit [Ping timeout: 240 seconds]
mxweas has joined #ruby
futilegames has joined #ruby
futilegames has quit [Client Quit]
axsuul has quit [Quit: axsuul]
shadoi has joined #ruby
schaerli has joined #ruby
ntus1017 has quit [Remote host closed the connection]
pootler_ has joined #ruby
<pothibo> flyingcork: Might want to look at centos packaging system. Seems your missing a path
<pothibo> anyhow, gotta work, wwdc over
moted has joined #ruby
cougarten has joined #ruby
brotatos has quit [Quit: WeeChat 0.4.1]
citizensinspace has joined #ruby
brotatos has joined #ruby
bricker_ has joined #ruby
ntus1017 has joined #ruby
Markvilla has joined #ruby
Markvilla has quit [Max SendQ exceeded]
tonini has joined #ruby
Markvilla has joined #ruby
bricker has quit [Ping timeout: 264 seconds]
Markvilla has quit [Max SendQ exceeded]
s2013 has quit []
horrror has quit [Quit: horrror]
<defaultro> thank you!
Markvilla has joined #ruby
<defaultro> thank you interactionjaxsn ! :)
<interactionjaxsn> defaultro: np
bradhe has joined #ruby
zomgbie has quit [Ping timeout: 252 seconds]
gchomatas has joined #ruby
Spami has joined #ruby
<xibalba> any recommendations on a good SQL book for newbies?
tonini has quit [Ping timeout: 248 seconds]
zomgbie has joined #ruby
schaerli has quit [Remote host closed the connection]
d_roge has quit [Quit: Account terminated by the PanicBNC Staff Team.]
tw1sted has quit [Quit: tw1sted]
mark_locklear has quit [Ping timeout: 255 seconds]
johnrlive has joined #ruby
mxweas has quit [Quit: Leaving...]
cburyta has joined #ruby
colonolGron has joined #ruby
yann_ck has joined #ruby
mocfive has joined #ruby
hamburger2000 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
general|plague has quit [Remote host closed the connection]
brbcoding has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
schaerli has joined #ruby
jbpros has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
<vadelius> Probably need to delve some deeper into methods but.. Cant I just call a method in a else statement?
general|plague has joined #ruby
<vadelius> (without any parameters)
threesome has joined #ruby
c0rn has joined #ruby
bashdy has joined #ruby
johnrlive has quit [Read error: Operation timed out]
ffranz has quit [Quit: Leaving]
general|plague has quit [Remote host closed the connection]
phipes has quit [Quit: phipes]
schaerli has quit [Remote host closed the connection]
juarlex has quit [Remote host closed the connection]
colonolGron has quit [Quit: leaving]
choobie has joined #ruby
choobie has quit [Changing host]
choobie has joined #ruby
axsuul has joined #ruby
Guga_ has joined #ruby
d2dchat has quit [Ping timeout: 248 seconds]
evenix has quit [Remote host closed the connection]
vwoo has quit [Quit: Computer has gone to sleep.]
dangerousdave has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
jbpros has quit [Quit: jbpros]
vadelius has left #ruby ["Leaving"]
Spami has quit [Ping timeout: 248 seconds]
horrror has joined #ruby
horrror has quit [Client Quit]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
AlecTaylor has quit []
Cyrus_ has joined #ruby
poga has quit [Remote host closed the connection]
breakingthings has quit [Ping timeout: 252 seconds]
prime has quit [*.net *.split]
germanstudent has quit [*.net *.split]
mnemon has quit [*.net *.split]
ddv has quit [*.net *.split]
monban has quit [*.net *.split]
wang has quit [*.net *.split]
FDj has quit [*.net *.split]
Azure has quit [*.net *.split]
shtirlic has quit [*.net *.split]
dominikh has quit [*.net *.split]
fred has quit [*.net *.split]
adamholt has quit [*.net *.split]
anildigital has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
ddd___ has quit [*.net *.split]
Skelz0r has joined #ruby
ddd has joined #ruby
monban has joined #ruby
FDj has joined #ruby
wang has joined #ruby
prime has joined #ruby
mnemon has joined #ruby
fred has joined #ruby
Azure has joined #ruby
anildigitl has joined #ruby
fred is now known as Guest61929
s2013 has joined #ruby
shtirlic has joined #ruby
dominikh has joined #ruby
Cyrus_ has quit [Client Quit]
moted has quit [Quit: moted]
Appineer has quit [Remote host closed the connection]
breakingthings has joined #ruby
benlieb has joined #ruby
stkowski has quit [Quit: stkowski]
adamholt has joined #ruby
jimg has joined #ruby
ArchBeOS has quit [Remote host closed the connection]
thebastl has quit [Remote host closed the connection]
bitcycle has joined #ruby
juarlex has joined #ruby
ner0x has quit [Quit: Leaving]
c0rn has quit [Quit: Computer has gone to sleep.]
lushious has quit [Quit: "yolol"]
<bitcycle> Hey all. I'm reading some ruby code and I'm utterly confused: do_bar :if => -> (obj) { obj.version != '2.5' } Can someone translate that into English for me?
c0rn has joined #ruby
<apeiros> call method `do_bar` with a hash as argument
nomenkun has quit [Remote host closed the connection]
<apeiros> the hash consisting of the key :if (a Symbol) with a lambda as argument
heftig has quit [Quit: Quitting]
<apeiros> s/argument/value/
<canton7> call method do_bar. pass in a hash, with a key :if, and a value which is a lambda. the lambda takes an argument, obj, and returns obj.version != '2.5'
pitzips has joined #ruby
<canton7> not particularly clear, I'll grant you
<apeiros> odd mix of 1.8 hash and 1.9 lambda syntax IMO :)
geekbri has quit [Remote host closed the connection]
<apeiros> `->(obj) { obj.version != '2.5' }` == `lambda { |obj| obj.version != '2.5' }` btw.
<canton7> I'd expect more to see a proc there, for some reason
<apeiros> it's probably a rails validation
<workmad3> or a rails callback
v0n has quit [Ping timeout: 248 seconds]
<bitcycle> canton7: so, how would you write that expression properly?
jimg has quit [Ping timeout: 276 seconds]
<workmad3> I don't mind the -> lambdas like that as long as they don't have arguments....
atyz has quit [Ping timeout: 260 seconds]
<canton7> bitcycle, define 'properly'? more clearly would be do_bar({:if => lambda{ |obj| obj.version != '2.5' } })
<apeiros> I disliked them at the beginning, but I'm starting to use them more. I want to see if I can get used to it.
<workmad3> do_bar if: -> {foo} for example... if it has arguments, I'd prefer if: proc {|obj| ...}
<apeiros> canton7: s/more clearly/more explicit/ :)
x1337807x has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
cburyta has quit [Remote host closed the connection]
<grn> is include a method or a special keyword?
<canton7> apeiros, true. more clearly to someone who's not used to ruby's implicit syntax
<apeiros> grn: a method
Kar- has quit [Remote host closed the connection]
<workmad3> apeiros: write large swathes of coffeescript for 6 months... then you'll find yourself defaulting to them without realising it ;)
sirecote has quit [Quit: "Hang Up"]
<apeiros> hrm, I really should start cs
<workmad3> apeiros: and getting really pissed off that its ->(args){method}, rather than (args)-> method
<apeiros> lol
obs has quit [Quit: Konversation terminated!]
bashdy has quit [Quit: bashdy]
<canton7> workmad3, same. C# on the brain for me
<bitcycle> Thanks guys for your input on this. :) I appreciate it.
<apeiros> HOW DARE THEY!
arya_ has quit [Ping timeout: 248 seconds]
phipes has joined #ruby
<grn> apeiros: where is it defined? Class.methods doesn't list it.
enaqxx has joined #ruby
bradhe has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 256 seconds]
benlieb has quit [Remote host closed the connection]
enaqx has quit [Read error: Connection reset by peer]
alexwh has left #ruby [#ruby]
<apeiros> Module#include
fuzzyhorns has quit [Remote host closed the connection]
benlieb has joined #ruby
kamsky has left #ruby [#ruby]
<apeiros> instance method of Module, and Class.methods doesn't list it because it's private
rsahae_ has quit [Quit: rsahae_]
forced_request has joined #ruby
<apeiros> >> Class.private_methods.include? :include
<eval-in> apeiros => true (https://eval.in/33272)
sirecote has joined #ruby
<apeiros> >> Class.method(:include)
<eval-in> apeiros => #<Method: Class(Module)#include> (https://eval.in/33273)
<grn> apeiros: thank you
rsahae has joined #ruby
brotatos has quit [Quit: WeeChat 0.4.1]
<apeiros> that inspect tells you that it's an instance method, defined in Module
<apeiros> >> Class.method(:include).owner
<eval-in> apeiros => Module (https://eval.in/33274)
<apeiros> if you need it explicitly
<bitcycle> Hey all. Is it possible to break method calls with long lists of arguments into multiple lines?
d2dchat has joined #ruby
vlad_starkov has joined #ruby
<LennyLinux> bitcycle: yes
ldnunes has quit [Quit: Leaving]
kx has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby
<bitcycle> LennyLinux: can I just break after a comma?
arya has joined #ruby
<LennyLinux> bitcycle: i think it's possible.
<LennyLinux> bitcycle: just try
rsahae has quit [Client Quit]
corehook has quit [Ping timeout: 240 seconds]
razi1 has quit [Quit: Leaving.]
cburyta has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
slash_nick has quit [Ping timeout: 248 seconds]
chxane has quit [Remote host closed the connection]
ariedler has quit [Remote host closed the connection]
delay has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
kx has joined #ruby
chipotle has joined #ruby
rsahae_ has joined #ruby
jdunck has joined #ruby
jprovazn has quit [Quit: Odcházím]
vlad_starkov has quit [Ping timeout: 256 seconds]
johnnyfuchs has quit [Ping timeout: 252 seconds]
mixel has joined #ruby
flyingcork has quit []
angusiguess has joined #ruby
ffranz has joined #ruby
<apeiros> bitcycle: pretty smelly if your method takes that many arguments
awarner has joined #ruby
<bitcycle> apeiros: Its actually not a long list, its just that I'm using a string constant in place with a lambda expression.
heftig has joined #ruby
cj3kim has joined #ruby
mansi has quit [Remote host closed the connection]
<apeiros> o0
<apeiros> what?
mansi has joined #ruby
jds_ has joined #ruby
interactionjaxsn has quit [Read error: Connection reset by peer]
talntid has joined #ruby
forrest has quit [Quit: Leaving]
rsahae_ has quit [Client Quit]
interactionjaxsn has joined #ruby
<failshell> i need to check if $TIME_NOW is between $from and $to dates/times. any gem to recommend? or just go with core libs?
emergion has joined #ruby
johnnyfuchs has joined #ruby
cburyta has quit [Remote host closed the connection]
<pietr0> failshell: `from < Time.now < to`
<apeiros> lol
<apeiros> >> Time.now.between?(Time.now-10, Time.now+10)
<eval-in> apeiros => true (https://eval.in/33275)
<apeiros> ruby ftw
awarner_ has quit [Ping timeout: 248 seconds]
<apeiros> pietr0: and no, that would not work
emergion has quit [Client Quit]
<apeiros> pietr0: a < b < c --> a < (b < c) --> a < true/false --> fail
arya has quit [Ping timeout: 248 seconds]
ericbmer1itt has joined #ruby
DonRichie has quit [Ping timeout: 255 seconds]
talntid2 has quit [Ping timeout: 255 seconds]
<pietr0> failshell: `from < Time.now && Time.now < to`
chipotle has quit [Quit: cya]
<pietr0> better now?
DonRichie has joined #ruby
<apeiros> yes
freerobby has quit [Quit: Leaving.]
<apeiros> but Time#between?, srsly :)
<failshell> apeiros' way is cleaner i think
cj3kim has quit [Ping timeout: 246 seconds]
alex__c2022 has quit [Quit: alex__c2022]
Zeeraw has joined #ruby
<apeiros> though, between? is <=
<apeiros> so technically your solution is different
freerobby has joined #ruby
axsuul has quit [Quit: axsuul]
mansi has quit [Ping timeout: 256 seconds]
huoxito has quit [Quit: Leaving]
<apeiros> btw., this works too: (from..to).include?(time)
johnnyfuchs has quit [Read error: Connection reset by peer]
Elico1 has joined #ruby
<kx> I have a TCP server and a client. The server is pretty busy all the time (using full CPU) and doesn't allow ruby TCP clients to join (because of timeouts, I guess). Is there anything I can do to increase the time a client is allowed to wait for successful connection before it times out?
<Elico1> can anyone help me a bit with mongoDB driver pleaes?
braoru has quit [Quit: Leaving]
bricker_ is now known as bricker
bradhe has joined #ruby
Zeeraw has quit [Client Quit]
atno has joined #ruby
<Elico1> I need to create a uniqu index but it wont work?
corehook has joined #ruby
burlyscudd has joined #ruby
d2dchat has quit [Remote host closed the connection]
sambao21 has joined #ruby
chrishough has joined #ruby
arya has joined #ruby
defaultro has quit [Ping timeout: 250 seconds]
robbyoconnor has quit [Ping timeout: 256 seconds]
snearch has quit [Quit: Verlassend]
cburyta has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Remote host closed the connection]
Zeeraw has joined #ruby
c0rn has quit [Read error: Operation timed out]
rsahae has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carlyle has joined #ruby
johnnyfuchs has joined #ruby
Al__ has quit [Quit: Al__]
mityaz has quit [Quit: See ya!]
wsterling has quit [Remote host closed the connection]
huoxito has joined #ruby
x1337807x has joined #ruby
ckrailo has quit [Ping timeout: 255 seconds]
failshell has quit [Remote host closed the connection]
c0rn has joined #ruby
huttan has joined #ruby
johnmilton has quit [Remote host closed the connection]
<Elico1> to share what I have tried?
tommyvyo has quit [Ping timeout: 246 seconds]
cburyta has quit [Remote host closed the connection]
beiter has quit [Quit: beiter]
codecop has quit [Remote host closed the connection]
ckrailo has joined #ruby
workmad3 has quit [Read error: Operation timed out]
marcgg has quit [Ping timeout: 246 seconds]
sc0 has joined #ruby
Speed has joined #ruby
DrShoggoth has quit [Read error: No route to host]
JimmyNeutron has quit [Quit: Leaving]
enebo has joined #ruby
AlbireoX_ has joined #ruby
jamesaxl_ has joined #ruby
huoxito has quit [Quit: Leaving]
Astral_ has quit [Ping timeout: 240 seconds]
Dummies_freelanc has joined #ruby
Dummies_freelan1 has joined #ruby
_Andres has quit [Ping timeout: 252 seconds]
ntus1017 has quit [Remote host closed the connection]
jamesaxl has quit [Ping timeout: 276 seconds]
jfelchner has joined #ruby
Elico1 has quit [Remote host closed the connection]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
Elico has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
marcgg has joined #ruby
RustyShackleford has joined #ruby
<RustyShackleford> I'm trying to run my friends ruby on rails project
<RustyShackleford> when running "rails s", I get a load of authentication failures
zeade has quit [Quit: Leaving.]
jfelchner has quit [Ping timeout: 245 seconds]
<RustyShackleford> do I need to configure my router somehow?
<interactionjaxsn> RustyShackleford: you might want to jump into #rubyonrails
<RustyShackleford> ah, didn't know it existed
MrZYX is now known as MrZYX|off
ntus1017 has joined #ruby
vwoo has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
ffranz has quit [Ping timeout: 246 seconds]
sridatta has joined #ruby
jfelchner has joined #ruby
tommyvyo has joined #ruby
<sridatta> hi all. I'm developing a ruby gem and don't want to keep rebuilding/reinstalling the gem to test minor changes I make. is there any way to avoid this?
sc0 has left #ruby [#ruby]
zeade has joined #ruby
Nimsical has joined #ruby
ToApolytoXaos has quit [Quit: Leaving]
dangerousdave has quit [Quit: Leaving...]
MrZYX|off is now known as MrZYX
wmoxam has quit [Ping timeout: 276 seconds]
<interactionjaxsn> sridatta: avdi grimm talks about this in his gem love series on ruby tapas... i know that doesn't help you much but....
jrajav has joined #ruby
wesside has quit [Quit: Computer has gone to sleep.]
splittingred has quit [Quit: splittingred]
<sridatta> interactionjaxsn: any summary or more details about that? seems like its a video series so it would be hard to search for that specific part
gyre007 has quit [Read error: Operation timed out]
LaPetiteFromage has quit [Quit: LaPetiteFromage]
jgarvey has quit [Quit: Leaving]
sc0 has joined #ruby
<joshu> any sublime text users have any tips on matching brackets. I'm missing one but it's a pain to track down
<interactionjaxsn> sridatta: http://www.rubytapas.com/episodes episode 39
interactionjaxsn has quit [Remote host closed the connection]
asteve has quit [Ping timeout: 240 seconds]
RORgasm has quit [Read error: Connection reset by peer]
interactionjaxsn has joined #ruby
RORgasm has joined #ruby
jonathanwallace has quit [Quit: WeeChat 0.4.0]
RORgasm has quit [Remote host closed the connection]
breakingthings has quit [Quit: breakingthings]
mmitchell has quit [Remote host closed the connection]
<joshu> this is my code https://gist.github.com/anonymous/bee356dc65aed38c7413 good use some styling advice.
<joshu> *could
Animawish has joined #ruby
johnnyfuchs has quit [Ping timeout: 256 seconds]
freerobby has quit [Quit: Leaving.]
A124 has quit [Ping timeout: 264 seconds]
jonathanwallace has joined #ruby
jacobw has quit [Quit: WeeChat 0.4.0]
johnnyfuchs has joined #ruby
jerius has quit [Ping timeout: 252 seconds]
interactionjaxsn has quit [Ping timeout: 255 seconds]
<aedorn> hmm.. redundancy
baordog has quit [Remote host closed the connection]
akells` has quit [Remote host closed the connection]
bean__ has quit [Quit: Computer has gone to sleep.]
<aedorn> joshu: That's pretty messy ...
tommyvyo has quit [Quit:]
<joshu> aedorn yes unfortunately the nested transfer function is required and I was told by the online service Tropo which this code is being used for that calling the transfer function within the transfer function is not a good idea
wolcanus has quit [Ping timeout: 248 seconds]
stkowski has joined #ruby
danshultz has quit [Remote host closed the connection]
sc0 has left #ruby [#ruby]
zomgbie has quit [Ping timeout: 255 seconds]
pzip has quit [Quit: Leaving]
yo61_ is now known as yo61
huoxito has joined #ruby
<joshu> basically all I can do is perhaps but the curly braces on separate new lines or something. I can't do anything radical like split it into different methods because I don't think it will work on the Tropo platform. But as I said I'm looking for advice so I'd be happy to try something because it's difficult for me to read and find the missing bracket
<joshu> :(
Guga_ has quit [Remote host closed the connection]
Nimsical has quit [Quit: Computer has gone to sleep.]
Guga_ has joined #ruby
<aedorn> joshu: Well, quite a bit you can do.. just a sec
sc0 has joined #ruby
<aedorn> joshu: Oh, and is this Ruby 1.8.x, 1.9.x, or 2.0.x?
<joshu> aedorn they say JRuby 1.6.1 I believe == Ruby 1.9
johnnyfuchs has quit [Remote host closed the connection]
rsahae has quit [Quit: rsahae]
ntus1017 has quit [Remote host closed the connection]
<joshu> they don't support the new syntax instead of hash rocket
<joshu> I asked
SDr_ has joined #ruby
<havenwood> joshu: JRuby 1.6.1 could be run in 1.9 mode but I believe JRuby before 1.7 defaults to 1.8.7.
<joshu> havenwood no idea I asked what I was allowed to use and they said only standard library of version 1.9
sc0 has left #ruby [#ruby]
IceDragon has joined #ruby
<aedorn> hmm, that's weird
<joshu> aedorn unfortunately what they allow on their cloud platform. also I cannot split up my code into separate source files. Everything within one file. the gist is only one method I'm working on for now but trying my best to organise it as I can with my experience
nomenkun has joined #ruby
guiocava_ has quit [Remote host closed the connection]
rsahae_ has joined #ruby
vlad_starkov has joined #ruby
machuga is now known as machuga|away
<aedorn> that's fine
guiocavalcanti has joined #ruby
axsuul has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
nomenkun has quit [Read error: Operation timed out]
freerobby has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
vwoo has quit [Quit: Computer has gone to sleep.]
enebo has quit [Quit: enebo]
vwoo has joined #ruby
guiocavalcanti has quit [Ping timeout: 252 seconds]
Guest50155 has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 252 seconds]
A124 has joined #ruby
chrishough has quit [Quit: chrishough]
zomgbie has joined #ruby
jbinto has quit [Remote host closed the connection]
Bleah has quit [Ping timeout: 264 seconds]
tommyvyo has joined #ruby
theRoUS has quit [Ping timeout: 252 seconds]
<aedorn> hmmm.. can go quite far with this apparently
jbinto has joined #ruby
marcgg has quit [Ping timeout: 256 seconds]
bitcycle has quit [Remote host closed the connection]
<joshu> aedorn you doing some magic over there ;)
jtharris has quit [Quit: WeeChat 0.4.0]
khushildep has quit [Quit: khushildep]
cmarques has quit [Ping timeout: 276 seconds]
marcgg has joined #ruby
havenwood has quit [Remote host closed the connection]
ntus1017 has joined #ruby
d3c has joined #ruby
cowgarden has joined #ruby
axsuul has quit [Quit: axsuul]
ntus1017 has quit [Remote host closed the connection]
cougarten has quit [Ping timeout: 252 seconds]
axsuul has joined #ruby
Zeeraw has joined #ruby
chrishough has joined #ruby
Elico has quit [Ping timeout: 256 seconds]
jbinto has quit [Remote host closed the connection]
Ortuna has joined #ruby
jimg has joined #ruby
ntus1017 has joined #ruby
<aedorn> joshu: something like that
doodlas has joined #ruby
joast has joined #ruby
tommyvyo has quit [Quit:]
mansi has joined #ruby
zomgbie has quit [Ping timeout: 276 seconds]
cj3kim has joined #ruby
ntus1017 has quit [Remote host closed the connection]
carlyle has quit [Remote host closed the connection]
<doodlas> hello guys can i pass value to classes variables without constructor? I trying to do this but i got error can someone tell me what is wrong? http://ideone.com/EjyUr1
PhatBaja has quit [Quit: Leaving.]
jimg has quit [Ping timeout: 252 seconds]
<doodlas> I know this is not good example but i just practicing
<joshu> doodlas I'm pretty new myself but I believe you need to set length, breadth, height as instance variables within your class
brotatos has joined #ruby
<joshu> doodlas like this @length = 0
brotatos has left #ruby [#ruby]
ntus1017 has joined #ruby
<doodlas> joshu: ok thanks i will try
<joshu> doodlas this means that when you call Box.new it will have its own set of variables describing Box
mansi has quit [Ping timeout: 256 seconds]
<joshu> someone more experienced please correct me if I'm wrong
RustyShackleford has quit [Ping timeout: 252 seconds]
joast has quit [Quit: Leaving.]
<MrZYX> doodlas: prefix the variables with an @ to make them instance variables like joshu said and also read up on attr_accessor
RustyShackleford has joined #ruby
cj3kim has quit [Ping timeout: 255 seconds]
<doodlas> I added @ but I get same error
<MrZYX> yes, as said read up on attr_accessor
baroquebobcat has quit [Quit: baroquebobcat]
<MrZYX> then the volume calculation is clearly in the domain of your class, so it should be a method on it
general|plague has joined #ruby
bamdad has quit [Quit: bamdad]
nezumi has joined #ruby
JZTech101 has quit [Ping timeout: 255 seconds]
<aedorn> okay, back to this... coworker had questions
<joshu> aedorn no worries work is first priority ;)
pitzips has quit [Ping timeout: 256 seconds]
ELLIOTTCABLE has quit [Remote host closed the connection]
niklasb has quit [Read error: Operation timed out]
ELLIOTTCABLE has joined #ruby
anonymuse has joined #ruby
<anonymuse> are people building ruby 1.9.3 from source for server installs?
jds_ has quit [Remote host closed the connection]
<anonymuse> i'm surprised that I don't see a yummable install for centos
athst has joined #ruby
saarinen has quit [Quit: saarinen]
jds_ has joined #ruby
<doodlas> what I doing now wrong :S http://ideone.com/EjyUr1
chrishough has quit [Quit: chrishough]
angusiguess has joined #ruby
Spami has quit [Ping timeout: 246 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MrZYX> you defined only setters, no getters
<MrZYX> did you read up on attr_accessor yet?
saarinen has joined #ruby
<jkline> anonymuse: I am using the ruby1.9 package on AWS Linux, or rvm on my dev boxen. I cannot answer for Centos
brennanMKE has joined #ruby
<jkline> hmm, actually the rpm package is called ruby19, but the binary is ruby1.9, which is not confusing at all
rsahae_ has quit [Quit: rsahae_]
jamesaxl has joined #ruby
<anonymuse> jkline: i was using awslinux before, but i was trying to do the centos thing
DanBurton has joined #ruby
yann_ck has quit [Quit: Textual IRC Client: www.textualapp.com]
<DanBurton> Hey all, sanity check. I'm wondering if this issue reflects your experience with FactoryGirl & Faker::Lorem https://github.com/Originate/flms/issues/109
<jkline> anonymuse: i understand.
Meatant has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
<doodlas> MrZYX: now I understood.. but is there any way without getter and setters?
rcosta has joined #ruby
<MrZYX> no
jamesaxl_ has quit [Ping timeout: 256 seconds]
<MrZYX> that's why there's attr_reader, attr_writer and attr_accessor, to shorten that up
jds_ has quit [Ping timeout: 240 seconds]
F1skr has quit [Quit: WeeChat 0.4.1]
_Renegade has quit [Quit: _Renegade]
JimmyNeutron has joined #ruby
x1337807x has joined #ruby
_Renegade has joined #ruby
PhatBaja has joined #ruby
<doodlas> MrZYX: ok thank you
JZTech101 has joined #ruby
rsahae_ has joined #ruby
tbrock has joined #ruby
marcgg has quit [Read error: No route to host]
cofin has quit [Quit: cofin]
marcgg has joined #ruby
jfelchner has quit [Quit: zzzzzzzzzzzzz………]
JohnE has quit [Ping timeout: 248 seconds]
RustyShackleford has quit [Read error: Connection reset by peer]
RustyShackleford has joined #ruby
huoxito has quit [Ping timeout: 256 seconds]
mansi has joined #ruby
<anonymuse> jkline: Wonder if anyone else has a 1.9.3 package besides AWS
<anonymuse> nice of AWS to make that pkg
LaPetiteFromage has joined #ruby
m8 has quit [Quit: Sto andando via]
blitz has joined #ruby
PhatBaja has quit [Quit: Leaving.]
gyre007 has joined #ruby
chrishough has joined #ruby
chrishough has quit [Client Quit]
ffio has joined #ruby
chrishough has joined #ruby
emmanuelux has quit [Remote host closed the connection]
havenwood has joined #ruby
_ffio_ has quit [Ping timeout: 276 seconds]
PhatBaja has joined #ruby
marcgg has quit [Read error: No route to host]
marcgg has joined #ruby
gstamp has joined #ruby
osvico has joined #ruby
angusiguess has quit [Ping timeout: 248 seconds]
ryotarai has joined #ruby
joast has joined #ruby
LennyLinux has quit [Remote host closed the connection]
gazarsgo has quit [Quit: gazarsgo]
<aedorn> joshu: I responded to your gist... I think I followed it all correctly so it should at least function the same. Also found your missing bracket. For sublime text 2 you can add "draw_indent_guides": true to your user preferences which will help identify missing things like that.
verto has joined #ruby
<joshu> aedorn I must have missed your link to the ypdate
bamdad has joined #ruby
<aedorn> joshu: You can actually simplify that stuff even further, too. Same as your gist: https://gist.github.com/anonymous/bee356dc65aed38c7413
blitz has quit [Quit: Leaving]
blitz has joined #ruby
<aedorn> oops, can get rid of establish_transfer method... forgot to remove it. I actually refactored a few times just to see what worked "okay"
mikepack_ has quit [Remote host closed the connection]
Davey has joined #ruby
<aedorn> Anyway.. any issues with it and it shouldn't be too hard to figure it out. Looking at the Tropo docs I'm not sure most of those get an event passed to them
danslo has joined #ruby
mmitchell has joined #ruby
jamesaxl has quit [Ping timeout: 248 seconds]
<joshu> aedorn looks much cleaner I think I get the gist of what you've done and will apply it to my coming methods. Thanks so much for helping me out ;)
Jalada has quit [Ping timeout: 264 seconds]
mmitchell has quit [Read error: Operation timed out]
huoxito has joined #ruby
vlad_starkov has joined #ruby
jds_ has joined #ruby
visualdensity has joined #ruby
danshultz has joined #ruby
Davey has quit [Ping timeout: 246 seconds]
Jalada has joined #ruby
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Ping timeout: 248 seconds]
ebobby has joined #ruby
ivanoats has quit [Remote host closed the connection]
pitzips has joined #ruby
danshultz has quit [Read error: Operation timed out]
Davey has joined #ruby
slainer68 has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
anonymuse has quit [Quit: Leaving...]
mikepack has joined #ruby
Squarepy has quit [Quit: Leaving]
rickmasta has quit [Quit: Leaving...]
general|plague is now known as generalizzimo
predator217 has joined #ruby
ctp has joined #ruby
<aedorn> joshu: Most welcome.. I like refactoring. It makes me feel cleaner - which is great since my desk is a gigantic disaster.
rsahae_ has quit [Quit: rsahae_]
<joshu> aedorn haha :D
Deele has joined #ruby
rsahae has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
pinage404 is now known as zz_pinage404
predator117 has quit [Ping timeout: 248 seconds]
freerobby has quit [Quit: Leaving.]
toddWork_ has quit [Quit: toddWork_]
generalizzimo has quit [Read error: Connection reset by peer]
jimg has joined #ruby
generalizzimo has joined #ruby
rickmasta has joined #ruby
DanBurton has left #ruby [#ruby]
JimmyNeutron has quit [Quit: Leaving]
rcosta has quit [Remote host closed the connection]
bamdad has quit [Quit: bamdad]
carlyle has joined #ruby
jimg has quit [Ping timeout: 252 seconds]
vwoo has quit [Ping timeout: 246 seconds]
agjacome has joined #ruby
lunarjar has quit [Ping timeout: 260 seconds]
MrZYX is now known as MrZYX|off
tw1sted has joined #ruby
vwoo has joined #ruby
chipotle has joined #ruby
zomgbie has joined #ruby
harrymoreno has quit [Ping timeout: 264 seconds]
<joshu> aedorn when in the tropo docs it shows a function like this ask( text: String, { allowSignals: String or Array } ) but then in there example they do this ask String, { allowSignals: String } , e.g. the parentheses are dropped in the example…in your code you use parentheses but droop the curly braces. Is that typo or some other reason such as clarity?
harrymoreno has joined #ruby
DonRichie has quit [Quit: Verlassend]
rcosta has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
JZTech101 has quit [Read error: Connection reset by peer]
sepp2k has quit [Quit: Leaving.]
Animawish has quit [Quit: Animawish]
JZTech101 has joined #ruby
<aedorn> joshu: Well, parentheses are there for clarity sakes, but you don't need them. The curly braces when calling a method aren't needed if the last set of options are all part of the same Hash. Ruby will just toss key/value pairs into the same hash when the method is called for you.
lunarjar has joined #ruby
<joshu> aedorn thanks for explaining!
zomgbie has quit [Ping timeout: 256 seconds]
carlyle has quit [Ping timeout: 245 seconds]
nari_ has joined #ruby
mklappstuhl has joined #ruby
arya has quit [Ping timeout: 240 seconds]
doodlas has quit [Quit: irc2go]
Guedes has joined #ruby
Guedes has quit [Changing host]
Guedes has joined #ruby
bigoldrock has quit [Ping timeout: 260 seconds]
slainer68 has joined #ruby
<bricker> Is there any point in memoizing a method that just delegates to another method?
codesoda has joined #ruby
rhys has quit [Quit: Leaving]
arya has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
huoxito has quit [Quit: Leaving]
daniel_- has quit [Read error: Connection reset by peer]
daniel_-_ has joined #ruby