apeiros changed the topic of #ruby to: Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<crucify_me> nice bufferloss
r_rios has joined #ruby
Lemur has joined #ruby
<bufferloss> crucify_me, it's loosely based on Karel the Robot from MIT press from back in the day, which I'm sure no-one remembers, but there are nifty games like this out there now that are basically the same thing
bcx has joined #ruby
<benzrf> crucify_me.crucify
<benzrf> bufferloss: i think codehs or a similar site has Karel but as a dog instead
<benzrf> w/ tennis balls
randomnick_ has quit [Read error: Connection reset by peer]
<crucify_me> benzrf: excellent !
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
Emmanuel_Chanel has joined #ruby
iamcalledrob has quit [Quit: Computer has gone to sleep.]
freerobby has joined #ruby
Lemur has quit [Ping timeout: 276 seconds]
yubrew has joined #ruby
SCommette has joined #ruby
crucify_me has quit []
rylev has joined #ruby
SCommette has quit [Client Quit]
dingus_khan has quit [Remote host closed the connection]
chipotle has joined #ruby
lw has quit [Quit: s]
nath_schwarz has joined #ruby
yubrew has quit [Ping timeout: 276 seconds]
freerobby has quit [Quit: Leaving.]
nath_schwarz has quit [Client Quit]
nfk has quit [Quit: yawn]
rylev_ has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
phoo1234567 has quit [Quit: Leaving]
sailias has quit [Ping timeout: 240 seconds]
SilkFox_ has joined #ruby
nateberkopec has joined #ruby
KanKava has quit [Quit: Lost terminal]
chipotle has quit [Quit: cya]
SCommette has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
SirFunk has quit [Ping timeout: 250 seconds]
SCommette has quit [Client Quit]
armstrjare has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
b1nd has quit [Ping timeout: 276 seconds]
einarj has quit [Ping timeout: 240 seconds]
mjs2600 has quit [Remote host closed the connection]
Lewix has joined #ruby
yfeldblum has joined #ruby
Lemur has joined #ruby
evenix_ has quit [Ping timeout: 252 seconds]
evenix has quit [Ping timeout: 252 seconds]
yfeldblu_ has quit [Ping timeout: 240 seconds]
quitobro has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jameswlane has joined #ruby
enriclluelles has quit [Remote host closed the connection]
stonevil has joined #ruby
stonevil has quit [Client Quit]
benlieb has quit [Quit: benlieb]
dik_dak has quit [Quit: Leaving]
quitobro has quit [Ping timeout: 245 seconds]
i_s has joined #ruby
Beoran_ has quit [Ping timeout: 258 seconds]
nateberkopec has joined #ruby
evenix has joined #ruby
evenix_ has joined #ruby
metamaterial has quit [Remote host closed the connection]
banister has joined #ruby
helpD has joined #ruby
iamjarvo_ has joined #ruby
i_s has quit [Ping timeout: 240 seconds]
caleb_io has quit [Quit: caleb_io]
nateberkopec has quit [Ping timeout: 240 seconds]
helpD has quit [Ping timeout: 240 seconds]
metamaterial has joined #ruby
jason__ has joined #ruby
near77 has joined #ruby
funktor has quit [Remote host closed the connection]
Rickmasta has quit [Quit: Leaving]
funktor has joined #ruby
b1nd has joined #ruby
<near77> hi
<near77> anyone can help me with a question of rails?
axel22 has left #ruby ["I'm a happy Miranda NG user! Get it here: http://miranda-ng.org/"]
gregf has quit [Quit: WeeChat 0.4.3]
<zorak8> near77: ask your question if anyone here can respond they gonna do
chipotle has joined #ruby
SCommette has joined #ruby
jacky has quit [Quit: Quit]
robbyoconnor has joined #ruby
funktor_ has joined #ruby
dingus_khan has joined #ruby
funktor has quit [Read error: Connection reset by peer]
lw has joined #ruby
alexju has quit [Remote host closed the connection]
Beoran_ has joined #ruby
xiella has quit [Ping timeout: 240 seconds]
endash has quit [Quit: endash]
Rickmasta has joined #ruby
luckyruby has quit [Quit: Leaving...]
MillyBays has joined #ruby
SCommette has quit [Client Quit]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
<near77> thanks zorak8
<near77> i have generated a scaffold for some attributes
<near77> now I want an attribute to be "inherited" from the user session
<near77> like the parent id
<near77> the thing is, if I remove the attribute from the "_forms" it won't appear in show for example
<near77> I only want to make it hidden for the "new" action
Milly_Bays has quit [Ping timeout: 240 seconds]
codebro has joined #ruby
jackyalcine has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lyanchih has joined #ruby
endash has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
r0bby has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
no6 has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
BSaboia has quit [Ping timeout: 252 seconds]
yubrew has joined #ruby
lukec has quit [Quit: lukec]
jamto11 has quit [Remote host closed the connection]
endash has quit [Quit: endash]
eka has joined #ruby
iamcalledrob has joined #ruby
<shevy> the rails users are in another channel
<near77> which?
rylev has quit [Remote host closed the connection]
<shevy> the channel name is #rubyonrails
cj3kim_ has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
circuit has quit [Quit: Lost terminal]
yubrew has quit [Ping timeout: 252 seconds]
kitak has quit [Remote host closed the connection]
jxf has joined #ruby
kitak has joined #ruby
kitak has quit [Remote host closed the connection]
r0bby has quit [Excess Flood]
kitak has joined #ruby
Doppp has joined #ruby
iamcalledrob has quit [Ping timeout: 252 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
cj3kim_ has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cya]
yfeldblum has quit [Remote host closed the connection]
michaeldeol has joined #ruby
nateberkopec has joined #ruby
yfeldblum has joined #ruby
crzrcn has quit [Quit: Leaving.]
codebro has quit [Ping timeout: 245 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
BSaboia has joined #ruby
keystonelemur has joined #ruby
pika_pika has quit [Ping timeout: 240 seconds]
no6 has joined #ruby
jackyalcine is now known as jacky
SirFunk has joined #ruby
bogeyd6 has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
perldork has joined #ruby
jacky is now known as jackyalcine
jackyalcine is now known as jacky
perldork has quit [Remote host closed the connection]
zcreative has quit [Ping timeout: 245 seconds]
jonno11 has joined #ruby
perldork has joined #ruby
perldork has quit [Remote host closed the connection]
nateberkopec has joined #ruby
keystonelemur has quit [Ping timeout: 276 seconds]
no6 has quit [Ping timeout: 252 seconds]
michaelchum has quit [Quit: Connection closed for inactivity]
Lemur has quit [Ping timeout: 252 seconds]
ddv has quit [Ping timeout: 245 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
Es0teric has joined #ruby
SilkFox_ has quit [Ping timeout: 246 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
metamaterial has quit [Remote host closed the connection]
centrx has quit [Quit: All this computer hacking is making me thirsty]
centrx has joined #ruby
xibalba has joined #ruby
xibalba has quit [Excess Flood]
tjr9898 has quit [Read error: Connection reset by peer]
emaxi has joined #ruby
tjr9898 has joined #ruby
xibalba has joined #ruby
xibalba has left #ruby [#ruby]
sepp2k1 has quit [Quit: Leaving.]
ddv has joined #ruby
evenix has quit [Remote host closed the connection]
evenix_ has quit [Remote host closed the connection]
evenix has joined #ruby
evenix_ has joined #ruby
dkannan has quit [Ping timeout: 276 seconds]
emaxi has quit [Ping timeout: 240 seconds]
<advorak> I'm using Linux -- is there something like rb-inotify for processes that have been created/destroyed ?
<benzrf> advorak: not-osx-five o
<benzrf> * o/
<advorak> benzrf, I don't understand?
evenix_ has quit [Ping timeout: 250 seconds]
evenix has quit [Ping timeout: 250 seconds]
<benzrf> seems like everybody here uses OSX
<centrx> advorak, You might be able to cook up something with Process
<centrx> advorak, What are you really trying to do?
<diegoviola> advorak: check out guard and listen gems
i_s has joined #ruby
<zorak8> how can a i load a rb file in pry?
<centrx> zorak8, Did you try load?
<zorak8> yes but dont get it
<advorak> centrx, I'm just exploring options for how I would go about doing this, but I am kindof looking to create and destroy xvnc server processes ... and just want to be able to discover information about them .. I'm realizing the POSSIBLY better way is to observe the ~/.xvnc/*.pid files using inotify, but I also want to audit processes that have died and remove the .pid files if it's not been done so if the xvnc server dies unexpectedly ..
<zorak8> [1] pry(main)> load ./h
<zorak8> ./hash ./help ./hist ./history
<zorak8> [1] pry(main)> load .h
<zorak8> [1] pry(main)> load h
<zorak8> .hash .hex
<zorak8> hash help hist history
caleb_io has joined #ruby
<diegoviola> zorak8: use pastebin
<diegoviola> ...
x77686d has quit [Quit: x77686d]
tjr9898 has quit [Remote host closed the connection]
<centrx> advorak, You might want to use god
<centrx> advorak, There's a big difference between watching every process on the system, and monitoring your own processes
brunops has quit [Ping timeout: 252 seconds]
browndawg has joined #ruby
i_s has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<advorak> centrx, *nods* thanks .. that looks like it may be what I'm looking for ..
Emmanuel_Chanel has quit [Quit: Leaving]
diegovio1 has joined #ruby
diegoviola is now known as Guest87556
diegovio1 is now known as diegoviola
Guest87556 has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
mehlah has quit [Quit: Leaving...]
Hanmac1 has joined #ruby
metamaterial has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby
SirFunk has quit [Remote host closed the connection]
SirFunk has joined #ruby
bthesorceror has joined #ruby
metamaterial has quit [Remote host closed the connection]
Es0teric has quit [Quit: Nigga, im OUTIE 5000]
dingus_khan has quit [Ping timeout: 240 seconds]
metamaterial has joined #ruby
Es0teric has joined #ruby
dingus_khan has joined #ruby
yubrew has joined #ruby
gregf has joined #ruby
larsam has joined #ruby
ueje_ has joined #ruby
Martxel has quit [Read error: Connection reset by peer]
<ueje_> Please excuse a noob, but what's really the difference between a DSL and a bunch of functions with proper names?
bthesorceror has quit [Remote host closed the connection]
sevin1 has joined #ruby
toastynerd has joined #ruby
sevin1 has quit [Max SendQ exceeded]
bthesorceror has joined #ruby
<centrx> ueje_, Some DSLs do more than that, see e.g. chef
sevin1 has joined #ruby
yubrew has quit [Ping timeout: 276 seconds]
sevin has quit [Ping timeout: 240 seconds]
<centrx> ueje_, but yes Ruby is good for making clean DSLs
sevin1 has quit [Max SendQ exceeded]
s3ri0us is now known as s3ri0us|away
tectonic has quit []
sevin has joined #ruby
sevin has quit [Max SendQ exceeded]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
sevin has joined #ruby
sevin has quit [Max SendQ exceeded]
<bufferloss> ueje_, not a lot, really
<ueje_> bufferloss: cool :).
senayar has quit [Remote host closed the connection]
nateberkopec has joined #ruby
<bufferloss> ueje_, the byproduct of creating any library, be it a library of functions or classes, the byproduct of that is, basically a DSL, aka "jargon"
cina has joined #ruby
bthesorceror has quit [Ping timeout: 245 seconds]
kayloos_ has quit [Remote host closed the connection]
sevin has joined #ruby
sevin has quit [Max SendQ exceeded]
iamcalledrob has joined #ruby
<bufferloss> ueje_, also "functions with proper names" can merely be shortened to "functions"
<ueje_> bufferloss: in the best of worlds ;)
<bufferloss> though anonymous functions exist, the normal idea of one in most languages is that of a function bound to a name
sevin has joined #ruby
emaxi has joined #ruby
sevin has quit [Max SendQ exceeded]
<bufferloss> whether that name is "proper" or "appropriate" for describing what the function does is probably much a matter of taste/opinion
jxf has quit [Ping timeout: 240 seconds]
<bufferloss> though there certainly is room for valid criticism in the way things may be named, if it's truly bad
evenix has joined #ruby
evenix_ has joined #ruby
cina has quit [Client Quit]
<bufferloss> ueje_, also, really, it needn't be just functions, a bunch of classes in a library effectively becomes somewhat of a DSL in its own right
<bufferloss> ueje_, really any set of named and usable code objects would be a DSL
Emmanuel_Chanel has joined #ruby
sevin has joined #ruby
<bufferloss> s/objects/entities|tokens|identifiers|handles|bindings/ or whatever you wanna call them
nateberkopec has quit [Ping timeout: 240 seconds]
evenix_ has quit [Read error: Connection reset by peer]
evenix has quit [Read error: Connection reset by peer]
dingus_khan has quit [Remote host closed the connection]
kenneth has joined #ruby
cj3kim has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
b1nd has quit [Ping timeout: 245 seconds]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo_ has quit [Ping timeout: 245 seconds]
nateberkopec has joined #ruby
zcreative has joined #ruby
diegoviola has joined #ruby
iamcalledrob has quit [Ping timeout: 276 seconds]
andy___ has quit [Remote host closed the connection]
s3ri0us|away is now known as s3ri0us
andy___ has joined #ruby
iamjarvo_ has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
andy___ has quit [Read error: Connection reset by peer]
andy___ has joined #ruby
andy___ has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrisseaton has quit []
andy___ has joined #ruby
mrmargolis has joined #ruby
quitobro has joined #ruby
Lightsword has quit [Ping timeout: 252 seconds]
luriv has quit [Ping timeout: 240 seconds]
jameswlane has quit [Quit: Logging off]
dapz has joined #ruby
thomasxie has joined #ruby
codebro has joined #ruby
evenix_ has joined #ruby
evenix has joined #ruby
near77 has quit [Quit: Page closed]
mary5030 has joined #ruby
quitobro has quit [Ping timeout: 245 seconds]
CorpusCallosum has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
agent_white has joined #ruby
zachallett has joined #ruby
agent_white has quit [Client Quit]
ae-r has joined #ruby
codebro has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
ueje_ has quit [Remote host closed the connection]
ae-r has quit [Remote host closed the connection]
agent_white has quit [Client Quit]
ktosiek_ has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
jxf has joined #ruby
freerobby has quit [Quit: Leaving.]
b1nd has joined #ruby
Matix has joined #ruby
LexicalScope has joined #ruby
luriv has joined #ruby
agent_white has joined #ruby
Jeticus has quit []
iamjarvo_ has quit [Ping timeout: 276 seconds]
<agent_white> Evenin folks
Matip has quit [Ping timeout: 245 seconds]
enriclluelles has joined #ruby
senayar has joined #ruby
mrmargolis has quit [Remote host closed the connection]
MillyBays has quit [Ping timeout: 245 seconds]
dingus_khan has joined #ruby
brunops has joined #ruby
i_s has joined #ruby
helpD has joined #ruby
enriclluelles has quit [Ping timeout: 245 seconds]
<centrx> agent_white, What's happening
<agent_white> centrx: Nada guay. Just working on my IRC client! Got multiple channels working in Ncurses after I discovered panels.
<agent_white> And just bought a mini, 3.5" LCD for my Raspberry Pi!
senayar has quit [Ping timeout: 245 seconds]
<agent_white> centrx: What you doon?
cj3kim has quit [Remote host closed the connection]
i_s has quit [Ping timeout: 252 seconds]
cj3kim has joined #ruby
brunops has quit [Ping timeout: 276 seconds]
<centrx> agent_white, You should make 2.0 with a Shoes GUI
<centrx> *version
saarinen has quit [Quit: saarinen]
mcclurmc has joined #ruby
jeregrine has joined #ruby
<agent_white> centrx: That's what I was thinking! I almost gave up on Ncurses and did it... but then my laziness to build the new version of Shoes held me back.
brunops has joined #ruby
<agent_white> Why haven't they but it into a damned gem yet?
<agent_white> s/but/put
helpD has quit [Ping timeout: 276 seconds]
<centrx> Yeah that is weird
bufferloss has quit [Quit: Leaving]
rvraghav93 has joined #ruby
nateberkopec has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
dinosaurs has joined #ruby
Lemur has joined #ruby
yubrew has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
brunops has quit [Ping timeout: 252 seconds]
yubrew has quit [Ping timeout: 252 seconds]
brunops has joined #ruby
Cache_Money has joined #ruby
zachallett has quit [Remote host closed the connection]
saarinen has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pika_pika has joined #ruby
radic has quit [Ping timeout: 245 seconds]
radic has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
senayar has joined #ruby
dapz has joined #ruby
jamto11 has joined #ruby
crzrcn has joined #ruby
dapz has quit [Client Quit]
braincrash has quit [Quit: bye bye]
centrx has quit [Quit: All this computer hacking is making me thirsty]
iamcalledrob has joined #ruby
nateberkopec has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
senayar has quit [Ping timeout: 276 seconds]
Shidash has joined #ruby
brunops has quit [Ping timeout: 250 seconds]
nateberkopec has quit [Read error: No route to host]
nateberkopec has joined #ruby
brunops has joined #ruby
mcclurmc has quit [Remote host closed the connection]
cj3kim has joined #ruby
iamcalledrob has quit [Ping timeout: 240 seconds]
iamjarvo_ has joined #ruby
dinosaurs has left #ruby ["Saliendo"]
phinfonet has quit []
metamaterial has quit [Quit: Leaving.]
nateberkopec has quit [Ping timeout: 240 seconds]
Avahey_ has quit [Quit: Connection closed for inactivity]
michaeldeol has joined #ruby
cj3kim has quit [Remote host closed the connection]
brunops has quit [Ping timeout: 276 seconds]
quitobro has joined #ruby
freerobby has joined #ruby
<shevy> shoes 4
<shevy> the java beast
quitobro has quit [Ping timeout: 240 seconds]
SHyx0rmZ has quit [Ping timeout: 276 seconds]
freerobby has quit [Ping timeout: 240 seconds]
lkjlk has joined #ruby
<lkjlk> Hi all. How do I point to ruby1.9.3?
<lkjlk> I'm right now using 1.9.2
<lkjlk> I'm on linux mint
nateberkopec has joined #ruby
Avahey_ has joined #ruby
toastynerd has quit [Remote host closed the connection]
<Hanmac1> lkjlk: use a newer mint, then you get 2.0 as package
bogeyd6 has joined #ruby
<Hanmac1> or use the source directly or something like rwm
<Hanmac1> rvm
Hanmac1 is now known as Hanmac
<lkjlk> ah
<lkjlk> trying that
toastynerd has joined #ruby
<lkjlk> rvm is not in package manager :(
nateberkopec has quit [Ping timeout: 240 seconds]
<lkjlk> Hanmac: also when I run "bundle install"
<lkjlk> I get this Invalid gemspec
<lkjlk> it's also because of this?
<Hanmac> #bundler is "nmp" for me ;P
toastynerd has quit [Ping timeout: 245 seconds]
dingus_khan has quit [Remote host closed the connection]
<lkjlk> mm
i_s has joined #ruby
caleb_io has quit [Quit: caleb_io]
sevin has quit [Quit: Leaving.]
s3ri0us is now known as s3ri0us|away
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
<lagweezle> nmp?
<shevy> lkjlk easiest way - compile from source into versioned appdirs
ashleyis1 has quit [Ping timeout: 246 seconds]
<Hanmac> lagweezle: "not my problem" ;P
bluOxigen has joined #ruby
<shevy> if you use debian then you have to ask them why they don't provide you multiple versions
<lagweezle> oooooh
<shevy> answer is FHS /usr prefix colides with same-name
<shevy> *collides
toastynerd has joined #ruby
sdouglas has joined #ruby
<Hanmac> shevy: wrong debian does provide multible versions, it also have a tool for switching the default version
<shevy> Hanmac it works if two versions have /usr/lib/ruby/1.9.1 ?
i_s has quit [Ping timeout: 252 seconds]
yubrew has joined #ruby
x77686d has joined #ruby
<Hanmac> shevy: not like that but i have ["/usr/lib/ruby/1.9.1/","/usr/lib/ruby/2.0.0/","/usr/local/lib/ruby/2.1.0/","/usr/local/lib/ruby/2.2.0/"]
<shevy> weird demo purpose btw - different prefixes :D
<shevy> Hanmac where are the four different ruby binaries?
iamjarvo_ has quit [Ping timeout: 276 seconds]
<lkjlk> Hanmac: after getting rvm installed
<lkjlk> I get unknown string error
<lkjlk> with ruby1.9.3
<shevy> what command do you try
<Hanmac> shevy ["ruby", "ruby1.9.1", "ruby2.0"] "ruby" currently pointing to "2.2.0"
<shevy> hmm
<shevy> is there one missing?
yubrew has quit [Ping timeout: 250 seconds]
<lkjlk> rvm install ruby1.9.3-p448
<benzrf> i use chruby!
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
papercode has quit [Quit: WeeChat 0.4.3]
<Hanmac> lkjlk: why do you want a 1.9.3 version when you can have 2.1.1 ?
dapz has joined #ruby
nateberkopec has joined #ruby
<shevy> hehehe
<shevy> use 1.8.7
crzrcn has quit [Quit: Leaving.]
<lkjlk> Hanmac: when I run rails server
<lkjlk> it shows some invalid gemspec in 1.9.1
<lkjlk> and if I switch to 1.9.2
<lkjlk> then also
<Hanmac> #RubyOnRails is "nmp" too for me ... lkjlk did you install the gems again with rvm ?
<lkjlk> it needs 1.9.3 I guess
<lkjlk> again
<lkjlk> Oh, no
LexicalScope has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
idiocrash has joined #ruby
Guedes0 has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
rkr090 has quit [Quit: Leaving]
idiocrash has quit [Client Quit]
sski has joined #ruby
kayloos has joined #ruby
lkjlk has quit [Quit: Konversation terminated!]
agent_white has quit [Quit: brb]
zrl_ has quit []
iamcalledrob has joined #ruby
zrl has joined #ruby
kayloos has quit [Ping timeout: 240 seconds]
yakko has joined #ruby
BSaboia has quit [Ping timeout: 245 seconds]
pen has quit [Read error: Connection reset by peer]
Deele has quit [Ping timeout: 255 seconds]
b1nd has quit [Ping timeout: 240 seconds]
pen has joined #ruby
bthesorceror has joined #ruby
crzrcn has joined #ruby
nateberkopec has joined #ruby
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Lemur has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Read error: No route to host]
JJMalina has joined #ruby
iamcalledrob has quit [Ping timeout: 245 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JJMalina has quit [Ping timeout: 240 seconds]
thomasxie has left #ruby [#ruby]
armstrjare has joined #ruby
smorik has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Slavox is now known as Slavox|AFK
evenix_ has quit [Read error: Connection reset by peer]
evenix has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
jackneill has joined #ruby
jackneill has quit [Changing host]
jackneill has joined #ruby
sdouglas has quit [Remote host closed the connection]
Atrumx has joined #ruby
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
nari has joined #ruby
axisys_ has quit [Quit: leaving]
axisys has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
axisys has quit [Changing host]
axisys has joined #ruby
tectonic has joined #ruby
b1nd has joined #ruby
saarinen has quit [Quit: saarinen]
nateberkopec has joined #ruby
saarinen has joined #ruby
i8igmac has joined #ruby
<i8igmac> i cant find a quick wait to add a timeout option for a small socket
funktor_ has quit [Remote host closed the connection]
funktor has joined #ruby
enriclluelles has joined #ruby
RubyRonin has joined #ruby
Lightsword has joined #ruby
saarinen has quit [Client Quit]
mojo619 has quit [Quit: mojo619]
evenix has joined #ruby
evenix_ has joined #ruby
yubrew has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
i_s has joined #ruby
_justin has joined #ruby
enriclluelles has quit [Ping timeout: 240 seconds]
helpD has joined #ruby
funktor has quit [Ping timeout: 250 seconds]
yubrew has quit [Ping timeout: 240 seconds]
agent_white has quit [Ping timeout: 240 seconds]
i_s has quit [Ping timeout: 240 seconds]
IceDragon has quit [Quit: Space~~~]
helpD has quit [Ping timeout: 252 seconds]
mansi has quit [Ping timeout: 276 seconds]
funktor has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shime has joined #ruby
robbyoconnor has joined #ruby
mansi has joined #ruby
tectonic has quit []
sdouglas has joined #ruby
nateberkopec has joined #ruby
s3ri0us|away is now known as s3ri0us
browndawg has quit [Quit: Leaving.]
babykosh has joined #ruby
michaeldeol has joined #ruby
jwhorto1 has joined #ruby
kaspergrubbe has joined #ruby
<jwhorto1> Hey guys, is anyone able to succesfully get this to rake? https://github.com/DovetailSoftware/coder-test
<jwhorto1> the part 2
_justin has quit [Quit: _justin]
nateberkopec has quit [Ping timeout: 240 seconds]
Lewix has quit [Remote host closed the connection]
bcx has quit [Quit: bcx]
meatherly has quit [Remote host closed the connection]
senayar has joined #ruby
kaspergrubbe has quit [Ping timeout: 245 seconds]
blackavr has quit [Ping timeout: 240 seconds]
bthesorceror has quit [Remote host closed the connection]
babykosh has quit [Quit: babykosh]
jamto11 has joined #ruby
_justin has joined #ruby
senayar has quit [Ping timeout: 276 seconds]
bcx has joined #ruby
bcx has quit [Remote host closed the connection]
chris_thomson has quit [Quit: Zzz...]
mojo619 has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
iamcalledrob has joined #ruby
ponga_ has joined #ruby
ponga has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
jason__ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
s3ri0us is now known as s3ri0us|away
iamcalledrob has quit [Ping timeout: 252 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
sdouglas has quit [Remote host closed the connection]
wallerdev has joined #ruby
agent_white has joined #ruby
s3ri0us|away is now known as s3ri0us
xiella has joined #ruby
lyanchih has quit [Quit: lyanchih]
agent_wh1te has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
agent_white has quit [Disconnected by services]
freerobby has joined #ruby
agent_wh1te is now known as agent_white
Morkel has joined #ruby
AlexRussia has quit [Ping timeout: 240 seconds]
RaptorJesus has quit [Remote host closed the connection]
RaptorJesus has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
nari has quit [Ping timeout: 252 seconds]
mr_snowf1ake has quit [Ping timeout: 245 seconds]
jacky is now known as Not
jeregrine has quit [Quit: Connection closed for inactivity]
sski has quit [Remote host closed the connection]
Not is now known as jacky
wallerdev has quit [Quit: wallerdev]
aspiers has quit [Ping timeout: 250 seconds]
rh1n0 has joined #ruby
RubyRonin has quit [Quit: ChatZilla 0.9.90.1 [Firefox 28.0/20140314220517]]
yubrew has joined #ruby
aspiers has joined #ruby
sski has joined #ruby
amclain has quit [Quit: Leaving]
rh1n0 has quit [Client Quit]
omegahm has quit [Ping timeout: 245 seconds]
yubrew has quit [Ping timeout: 240 seconds]
_justin has quit [Quit: _justin]
nateberkopec has joined #ruby
jacky is now known as Not
s3ri0us is now known as s3ri0us|away
<agent_white> sosoquiet in here
* agent_white pats the crickets
Lightsword has quit [Ping timeout: 252 seconds]
browndawg has joined #ruby
i_s has joined #ruby
andy___ has quit [Remote host closed the connection]
tjr9898 has joined #ruby
s3ri0us|away is now known as s3ri0us
aemeredith has joined #ruby
emaxi has quit [Remote host closed the connection]
eynj has quit [Quit: Leaving.]
nateberkopec has quit [Ping timeout: 240 seconds]
emaxi has joined #ruby
tectonic has joined #ruby
Lightsword has joined #ruby
i_s has quit [Ping timeout: 240 seconds]
pwh has quit []
tjr9898 has quit [Ping timeout: 252 seconds]
emaxi has quit [Ping timeout: 245 seconds]
armstrjare has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Avahey_ has quit [Quit: Connection closed for inactivity]
armstrjare has joined #ruby
mansi has quit [Remote host closed the connection]
aemeredith has quit [Remote host closed the connection]
mansi has joined #ruby
Not is now known as jacky
mansi has quit [Ping timeout: 240 seconds]
aemeredith has joined #ruby
x1337807x has joined #ruby
Megtastique has joined #ruby
cj3kim_ has joined #ruby
dtr has joined #ruby
cj3kim_ has quit [Read error: Connection reset by peer]
<dtr> hi.. is there something for ruby that is like python's virtualenv?
cj3kim_ has joined #ruby
quitobro has joined #ruby
nateberkopec has joined #ruby
koderok has joined #ruby
bricker`LA has quit [Ping timeout: 250 seconds]
sski has quit [Remote host closed the connection]
sski has joined #ruby
kaspergrubbe has joined #ruby
The_NetZ has joined #ruby
Lightsword has quit [Ping timeout: 252 seconds]
<The_NetZ> hello. What, exactly, is VALUE in ruby?
<jacky> dtr: like localized environment? that's *kind of* a function of bundler's "bundle exec" command
<dtr> yea jacky
<jacky> dtr: It runs with the provided gem versions and version you've specified
<zets> The_NetZ: not sure what you mean
<dtr> cool, i'll check it out.. thanks jacky
<benzrf> dtr: sadly ruby does not function the same way
<jacky> it doesn't even allow execution if your current Ruby version isn't matching what bundler wants.
<benzrf> dtr: you specify your deps and bundler will restrict execution to using me
<benzrf> *em
nateberkopec has quit [Ping timeout: 240 seconds]
<benzrf> dtr: vs. installing what you need and exporting a list
<jacky> ^
<jacky> binstubs will become your friend
<The_NetZ> zets: its something used for holding classes, modules, variables, and methods. probably wrong terminology.
sski has quit [Ping timeout: 250 seconds]
kayloos has joined #ruby
aemeredith has quit []
kyb3r_ has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
<Hanmac> The_NetZ: VALUE is a void* pointer ... and in ruby its general the mastertype of objects (also each object in ruby is a VALUE in C)
<The_NetZ> Hanmac: so, is VALUE something in C itself or something devised in ruby?
* yakko grabs a bow of pop-corn
<The_NetZ> I'm probably doing something foolish that I may or may not abandon at some point in the future, but i'm looking to understand exactly how ruby's inner guts all work
<Hanmac> hm you need so see both sides ... each Array, each String, each Hash, each (other self defined class in ruby) is a VALUE in C the same time
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
unstable has quit [Read error: Connection reset by peer]
framling has quit [Quit: See ya]
<The_NetZ> Hanmac: yeah, I get that.
Asher has quit [Quit: Leaving.]
kayloos has quit [Ping timeout: 276 seconds]
<The_NetZ> method_foo(VALUE self, VALUE arg1, VALUE arg2) is translated to def foo(arg1, arg2) more or less
nateberkopec has joined #ruby
framling has joined #ruby
<The_NetZ> Hanmac: but again, you avoided the question, or missed it. is VALUE something #defined in ruby's source or is it a standard C thing?
<Hanmac> ah now i got it ruby/ruby.h: "typedef unsigned long VALUE;"
iamcalledrob has joined #ruby
<The_NetZ> =_= almost outta smokes...
<The_NetZ> Hanmac: and ruby/ruby.h is not ruby.h included in native extensions, correct?
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dapz has joined #ruby
<The_NetZ> extern "C" { #include "ruby.h" } I mean.
<Hanmac> ruby.h includes ruby/ruby.h
<The_NetZ> yeah. so its included, but not directly. got it.
framling has quit [Client Quit]
Celm has joined #ruby
<The_NetZ> anyone compile ruby with llvm-clang?
dapz has quit [Client Quit]
nateberkopec has quit [Ping timeout: 240 seconds]
jacky has quit [Excess Flood]
jackyalcine has joined #ruby
robbyoconnor has quit [Excess Flood]
jackyalcine has quit [Excess Flood]
rkr090 has joined #ruby
robbyoconnor has joined #ruby
iamcalledrob has quit [Ping timeout: 276 seconds]
Celm has quit [Remote host closed the connection]
jacky has joined #ruby
r_rios has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
freerobby has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
x77686d has quit [Quit: x77686d]
lyanchih has joined #ruby
mansi has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
alpha123 has quit [Ping timeout: 245 seconds]
quitobro has quit [Remote host closed the connection]
freerobby1 has quit [Ping timeout: 245 seconds]
alexd has quit [Quit: leaving]
alpha123 has joined #ruby
RaptorJesus has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
emaxi has joined #ruby
RaptorJesus has joined #ruby
pika_pika has quit [Ping timeout: 240 seconds]
s3ri0us has quit [Quit: Linkinus - http://linkinus.com]
dapz has joined #ruby
Megtastique has quit []
engel has quit [Ping timeout: 276 seconds]
emaxi has quit [Ping timeout: 245 seconds]
dapz has quit [Client Quit]
smorik has quit [Quit: Leaving.]
enriclluelles has joined #ruby
Megtastique has joined #ruby
cassioscabral has quit [Ping timeout: 245 seconds]
kenneth has joined #ruby
ponga_ is now known as ponga
ponga has quit [Changing host]
ponga has joined #ruby
benzrf is now known as benzrf|offline
skaflem has joined #ruby
mojo619 has quit [Quit: mojo619]
enriclluelles has quit [Ping timeout: 245 seconds]
i_s has joined #ruby
helpD has joined #ruby
nateberkopec has joined #ruby
Matix has quit [Quit: Leaving]
dapz has joined #ruby
ndrei has joined #ruby
chipotle has quit [Quit: cya]
helpD has quit [Ping timeout: 240 seconds]
omegahm has joined #ruby
i_s has quit [Ping timeout: 250 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
engel has joined #ruby
iamjarvo has joined #ruby
tvw has joined #ruby
_justin has joined #ruby
andy___ has joined #ruby
Guedes0 has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Ping timeout: 250 seconds]
phansch has joined #ruby
etqqkoiflwhb has joined #ruby
RaptorJesus has quit [Remote host closed the connection]
weems has quit [Read error: Connection reset by peer]
weems has joined #ruby
weems has quit [Changing host]
weems has joined #ruby
RaptorJesus has joined #ruby
andy___ has quit [Ping timeout: 240 seconds]
Asher has joined #ruby
papercode has joined #ruby
troyready has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar has joined #ruby
Megtastique has quit []
nateberkopec has joined #ruby
mansi has quit [Remote host closed the connection]
funktor has quit []
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mansi has joined #ruby
jamto11 has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
armstrjare has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
kyb3r_ has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
jamto11 has quit [Ping timeout: 276 seconds]
The_NetZ has quit [Quit: leaving]
troyready has joined #ruby
iamcalledrob has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
phansch has quit [Quit: WeeChat 0.4.2]
phansch has joined #ruby
lolmaus has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
iamcalledrob has quit [Ping timeout: 245 seconds]
i8igmac has quit [Ping timeout: 240 seconds]
tectonic has quit []
yubrew has joined #ruby
Celm has joined #ruby
browndawg has quit [Ping timeout: 276 seconds]
freerobby has joined #ruby
Celm has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
emaxi has joined #ruby
lw has quit [Quit: s]
Merks has joined #ruby
yubrew has quit [Ping timeout: 276 seconds]
freerobby has quit [Ping timeout: 240 seconds]
quitobro has joined #ruby
emaxi has quit [Ping timeout: 252 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cya]
evenix_ has quit [Ping timeout: 276 seconds]
quitobro has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
grieg has joined #ruby
toastynerd has quit [Remote host closed the connection]
klaut has joined #ruby
tonni_ has quit [Ping timeout: 246 seconds]
SHyx0rmZ has joined #ruby
ponga has quit [Remote host closed the connection]
i_s has joined #ruby
ponga has joined #ruby
yakko has quit []
_justin has quit [Quit: _justin]
ponga has quit [Read error: Connection reset by peer]
cj3kim_ has joined #ruby
nari has joined #ruby
sdouglas has joined #ruby
nateberkopec has joined #ruby
i_s has quit [Ping timeout: 245 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
tesuji has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
_justin has joined #ruby
tonni has joined #ruby
wallerdev has quit [Client Quit]
b1nd has quit [Ping timeout: 250 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
sigurding has joined #ruby
claymore has joined #ruby
bubbajoness has quit [Quit: leaving]
kayloos has joined #ruby
sigurding has quit [Client Quit]
lxsameer has joined #ruby
lxsameer has joined #ruby
nateberkopec has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
nateberkopec has quit [Read error: No route to host]
nateberkopec has joined #ruby
kayloos has quit [Ping timeout: 252 seconds]
boshhead has quit [Ping timeout: 258 seconds]
olivier_bK has quit [Ping timeout: 246 seconds]
bubbajones has joined #ruby
mary5030 has quit [Ping timeout: 245 seconds]
iamcalledrob has joined #ruby
yubrew has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
_justin has quit [Quit: _justin]
agent_white has quit [Quit: leaving]
zorbita has joined #ruby
iamcalledrob has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 252 seconds]
banister has joined #ruby
emaxi has joined #ruby
wallerdev has joined #ruby
Celm has joined #ruby
freerobby has joined #ruby
b1nd has joined #ruby
rockGuitar_ has joined #ruby
rockGuitar_ has left #ruby [#ruby]
emaxi has quit [Ping timeout: 252 seconds]
bricker`LA has joined #ruby
camilasan has joined #ruby
Celm has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 240 seconds]
cover has joined #ruby
blackmesa has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
nateberkopec has joined #ruby
browndawg has quit [Read error: Connection timed out]
browndawg has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
kayloos has joined #ruby
enriclluelles has joined #ruby
AliRezaTaleghani has joined #ruby
AliRezaTaleghani has left #ruby [#ruby]
robbyoconnor has quit [Excess Flood]
helpD has joined #ruby
robbyoconnor has joined #ruby
dapz has joined #ruby
enriclluelles has quit [Ping timeout: 252 seconds]
randomnick_ has joined #ruby
decoponio has joined #ruby
<randomnick_> why?
i_s has joined #ruby
<popl> why what?
<randomnick_> i thought and and && is the same ?
<popl> Why did you think that?
<randomnick_> so whats the difference
<crome> their precedence
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<Mon_Ouie> First one is like puts(3 && 4), second one is like (puts 3) and 4
agjacome has quit [Quit: leaving]
i_s has quit [Ping timeout: 245 seconds]
<Morkel> I have a problem with this method https://gist.github.com/anonymous/a59dd90a03cd85636b8a it returns “false” instead of false
<havenwood> Morkel: does `@bitcoin_payment` happen to be `"false"`?
nateberkopec has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<popl> needs moar context
Shidash has quit [Ping timeout: 240 seconds]
sigurding has joined #ruby
<havenwood> >> false.inspect
<eval-in__> havenwood => "false" (https://eval.in/138720)
andrewlio has joined #ruby
dtr has quit [Quit: Lost terminal]
nateberkopec has quit [Ping timeout: 240 seconds]
rvraghav93 has quit [Remote host closed the connection]
<Morkel> havenwood: @bitcoin_paymant is nil
pskosinski has joined #ruby
nfk has joined #ruby
charliesome has joined #ruby
<havenwood> Morkel: then seems like #inspect is being called on your false maybe:
senayar has joined #ruby
Guest29270 has joined #ruby
Merks has quit []
<Morkel> havenwood: how can i debug this. I cant see any misstakes in this few lines
<havenwood> Morkel: There isn't any issue with the code you showed. I'd use Pry to take a closer look.
senayar has quit [Ping timeout: 250 seconds]
jamto11 has joined #ruby
<Morkel> havenwood: I have checked with pry but i cant finde an error
amundj has joined #ruby
koderok has quit [Quit: koderok]
helpD has quit [Remote host closed the connection]
<Guest29270> Hello! I`m trying to run this > http://ideone.com/QUmC7s but i have some errors. It should add some numbers.
yubrew has joined #ruby
helpD has joined #ruby
SonicX has quit [Read error: Connection reset by peer]
<etqqkoiflwhb> Morkel: have you used binding.pry to debug?
<etqqkoiflwhb> insert one above if !@bitcoin_payment.nil?
<Morkel> etqqkoiflwhb: Yes with no result. If i call this method from the console it works if i call this method from the controller it returns “false” instead of false
<Morkel> i use this method in rails
nateberkopec has joined #ruby
<etqqkoiflwhb> Morkel: returns "false" in a json from the controller?
nateberkopec has quit [Read error: Connection reset by peer]
<Morkel> No with Pry
kayloos has quit [Remote host closed the connection]
<Morkel> inside the controller method
jamto11 has quit [Ping timeout: 276 seconds]
nateberkopec has joined #ruby
<Morkel> I have insert binding.pry before @model.save and i call @model.mymethod? which returns a string instread of a boolean
kayloos has joined #ruby
okdas has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
helpD has quit [Ping timeout: 240 seconds]
helpD has joined #ruby
emaxi has joined #ruby
sigurding has quit [Quit: sigurding]
<Guest29270> bumping this http://ideone.com/QUmC7s
browndawg has quit [Read error: Connection timed out]
iamcalledrob has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
b1nd has quit [Ping timeout: 252 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kenneth has joined #ruby
timonv has joined #ruby
iamcalledrob has quit [Ping timeout: 250 seconds]
emaxi has quit [Ping timeout: 276 seconds]
<havenwood> Guest29270: On line 10, `r` isn't getting assigned to `r.rand(temp)`, it is still a Random object.
<havenwood> >> 0 + Random.new
<eval-in__> havenwood => Random can't be coerced into Fixnum (TypeError) ... (https://eval.in/138722)
<havenwood> Guest29270: r = rand(temp)
ndrei has joined #ruby
Celm has joined #ruby
<havenwood> Guest29270: Or the way you're doing it: r = r.rand(temp)
freerobby has joined #ruby
<havenwood> Guest29270: Instead of `for i in 0..100` you could `101.times do
diegoviola has quit [Read error: Connection reset by peer]
<havenwood> 101.times do |i|
browndawg has left #ruby [#ruby]
<havenwood> Guest29270: Or `0.upto(101) do |n|` or `[*0..101].each do |n|`, but usually you avoid `for` in Ruby.
<havenwood> 0.upto(100) etc i mean
<havenwood> just 101.times
Celm has quit [Ping timeout: 240 seconds]
<havenwood> >> 0.upto(100).size
<eval-in__> havenwood => 101 (https://eval.in/138723)
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
andrewlio has quit [Quit: Leaving.]
lolmaus_ has joined #ruby
helpD has quit [Remote host closed the connection]
_justin has joined #ruby
helpD has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
lolmaus has quit [Ping timeout: 250 seconds]
ponga has quit [Ping timeout: 240 seconds]
snuffeluffegus has quit [Quit: AFK]
Morkel has quit [Quit: Morkel]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Alina-malina has joined #ruby
timonv has quit [Remote host closed the connection]
enriclluelles has joined #ruby
AlexRussia has joined #ruby
AlSquirrel has quit [Quit: This computer has gone to sleep]
helpD has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
b1nd has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
dingus_khan has joined #ruby
dapz has joined #ruby
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
srji has joined #ruby
dapz has quit [Client Quit]
camilasan has quit [Ping timeout: 245 seconds]
bluOxigen has quit [Ping timeout: 276 seconds]
ponga has quit [Ping timeout: 240 seconds]
i_s has joined #ruby
dapz has joined #ruby
Iniesta8 has joined #ruby
wallerdev has quit [Quit: wallerdev]
helpD has joined #ruby
dingus_khan has quit [Ping timeout: 252 seconds]
i_s has quit [Ping timeout: 250 seconds]
dapz has quit [Client Quit]
shashank_rs has joined #ruby
nateberkopec has joined #ruby
dapz has joined #ruby
ikaros has joined #ruby
tkuchiki has joined #ruby
codenapper has joined #ruby
<ph88> hey guys
nateberkopec has quit [Ping timeout: 240 seconds]
helpD has quit [Remote host closed the connection]
jonno11 has joined #ruby
helpD has joined #ruby
<Guest29270> havenwood https://eval.in/138726 it does not loop, has some error and for some reason the result is not true
jxf has quit [Ping timeout: 245 seconds]
<apeiros> ph8: probably in Pack
<apeiros> ph8: if you have and instance of Tamper:: IntegerPack, you can do .method(:attr_name).owner and .source_location to figure it out
yubrew has joined #ruby
helpD has quit [Ping timeout: 245 seconds]
<ph88> thx apeiros
mansi has joined #ruby
<apeiros> Guest29270: you reuse temp
okdas has quit [Remote host closed the connection]
<apeiros> and then it breaks
okdas has joined #ruby
<apeiros> Guest29270: also, gets returns a string, not an integer
<Guest29270> yeah
<Guest29270> i fixed that
<Guest29270> now i need to check for equality
yubrew has quit [Ping timeout: 240 seconds]
<Guest29270> i get false for a==b where a is 1 and b is 1
emaxi has joined #ruby
<Guest29270> it prints wrong where the numbers should be equal
<apeiros> Guest29270: inspect the values
<apeiros> you're probably comparing string and integer
<apeiros> >> "1" == 1
<eval-in__> apeiros => false (https://eval.in/138728)
shashank_rs has quit [Ping timeout: 250 seconds]
<Guest29270> if x.to_s==f.to_s still not working
mansi has quit [Ping timeout: 252 seconds]
<apeiros> Guest29270: don't just go riddling around
<apeiros> Guest29270: this is programming. figure out what is going on and then fix it
<apeiros> p x: x, f: f # <-- this line prints you the inspect values of x and f, which give you more information
nateberkopec has joined #ruby
<apeiros> ph88: sounds like somebody forgot to remove a debugging statement
shashank_rs has joined #ruby
<apeiros> probably pry-byebug
<Guest29270> {:x=>78, :f=>"78\n"}
<Guest29270> makes no sence
emaxi has quit [Ping timeout: 240 seconds]
<apeiros> Guest29270: makes totally sense
Iniesta8 has quit [Ping timeout: 245 seconds]
<Guest29270> i did not add tabs or endlines
<apeiros> yes, you did :)
<apeiros> gets returns the string entered
<apeiros> and that includes the newline you enter to terminate it
<Guest29270> :)
einarj has joined #ruby
Iniesta8 has joined #ruby
<ph88> apeiros: what is that byebug doing? print something ?
iamcalledrob has joined #ruby
<apeiros> ph88: *assuming it is pry-byebug*, check the gem. it certainly describes what it does.
nateberkopec has quit [Ping timeout: 240 seconds]
<ph88> apeiros: where is there an asigment and comparison on the same line here https://github.com/NYTimes/tamper/blob/master/encoders/ruby/lib/tamper/integer_pack.rb#L28
advorak has quit [Ping timeout: 240 seconds]
ace_striker has joined #ruby
<apeiros> ph88: what does == return?
nateberkopec has joined #ruby
ace_striker is now known as Guest89030
<ph88> true or false i think
<apeiros> so x = (a == b) assigns true/false
<Guest29270> it worked with f = gets.chomp and if x.to_s==f.to_s but it aint pretty
<ph88> oooh
<apeiros> Guest29270: you'd better convert the input to integer
rylev has joined #ruby
<Guest29270> it does not allow that. g.to_i is not available
<apeiros> ?
<Guest29270> to s and enum are available
<apeiros> "it"?
<Guest29270> the compiler has intellisense
<apeiros> Guest29270: you're talking in riddles.
<ph88> does anyone know PHP here ?
<apeiros> Guest29270: and I hate to pull information out of peoples noses.
iamcalledrob has quit [Ping timeout: 240 seconds]
<apeiros> *ruby* has String#to_i
i_s has joined #ruby
<apeiros> so if you have anything *nonstandard*, you'd better tell that.
kirun has joined #ruby
Iniesta8 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_justin has quit [Quit: _justin]
<Guest29270> it seems to be working, i installed Rubymine and the latest ruby version and auto complete was not showing to_i SOrry for the confusion.
nateberkopec has quit [Ping timeout: 240 seconds]
Iniesta8 has joined #ruby
Iniesta8 has quit [Max SendQ exceeded]
freerobby has joined #ruby
Iniesta8 has joined #ruby
<apeiros> Guest29270: intellisense != "the truth"™
i_s has quit [Ping timeout: 245 seconds]
postmodern has quit [Quit: Leaving]
robustus has quit [Ping timeout: 264 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
<Guest29270> :) my bad.
<Guest29270> Thank you!
robustus has joined #ruby
kyb3r_ has joined #ruby
freerobby has quit [Ping timeout: 276 seconds]
Mon_Ouie has quit [Ping timeout: 240 seconds]
sigurding has joined #ruby
Lewix has joined #ruby
Guest29270 is now known as Human_
Martxel has joined #ruby
<zorbita> xx
<apeiros> ph88: I guess nobody wants to admit they used php at one point in time…
<atmosx> anyone runs openbsd or netbsd?
lxsameer has quit [Ping timeout: 250 seconds]
seuros has joined #ruby
<ph88> ^^
babykosh has joined #ruby
<apeiros> ph88: but as always - ask your question. metaquestions suck.
<apeiros> same goes to atmosx :-p
<ph88> metaquestion ?
<atmosx> I run the following cmd in 'irb' Gem::Platform.local.os, can I run it in ruby?
<atmosx> apeiros: I'm writing a gem, and wants to make sure it runs on major unices: linux, {free,open,net}bsd and darwin
<apeiros> atmosx: try it?
<atmosx> apeiros: how?
<atmosx> ruby Gem::Platform.local.os wont run, I need a flag :-P
<apeiros> ruby -e 'puts Gem::Platform.local.os'
<apeiros> or just put it into a file and run that file
<apeiros> hardly difficult…
_justin has joined #ruby
<apeiros> ph88: a question which isn't what you really want to ask, but rather a question about your actual question
<atmosx> no that what I was looking for the -e switch
<apeiros> ph88: like your "anybody used php?", or "anybody run openbsd?"
nateberkopec has joined #ruby
zigomir has joined #ruby
<atmosx> happy easter btw or whatever they say in your countries
babykosh has quit [Ping timeout: 276 seconds]
Mon_Ouie has joined #ruby
<Nowaker> anybody knows anybody?
<apeiros> atmosx: happy miracle bunny day? :)
nateberkopec has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
_justin has quit [Ping timeout: 252 seconds]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<St_Marx> the ortodox Easter AKA "kill -HUP /dev/jesus"
kaspergrubbe has joined #ruby
ikaros has quit [Quit: Ex-Chat]
<ph88> apeiros: well no point asking some questions before another question :P
<apeiros> not with that kind of questions, no
browndawg has joined #ruby
rylev has quit [Remote host closed the connection]
eka has joined #ruby
etqqkoiflwhb has joined #ruby
Iniesta8 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eka_ has joined #ruby
okdas has quit [Remote host closed the connection]
zigomir has quit [Remote host closed the connection]
ndrei has quit [Quit: Lost terminal]
armstrjare has joined #ruby
Iniesta8 has joined #ruby
Iniesta8 has quit [Max SendQ exceeded]
Iniesta8 has joined #ruby
Milly_Bays has joined #ruby
yubrew has joined #ruby
eka has quit [Ping timeout: 276 seconds]
Iniesta8_ has joined #ruby
tvw has quit []
nateberkopec has joined #ruby
shashank_rs has quit [Ping timeout: 250 seconds]
Iniesta8 has quit [Ping timeout: 252 seconds]
timonv has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
emaxi has joined #ruby
rylev has joined #ruby
arietis has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
Melpaws has joined #ruby
mansi has joined #ruby
<zorbita> cool
b1nd has quit [Ping timeout: 252 seconds]
emaxi has quit [Ping timeout: 240 seconds]
jamto11 has joined #ruby
etqqkoiflwhb has quit [Ping timeout: 252 seconds]
chrisseaton has joined #ruby
Melpaws has quit [Remote host closed the connection]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
CorpusCallosum has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
nateberkopec has joined #ruby
sigurding has quit [Quit: sigurding]
jericon has quit [Ping timeout: 255 seconds]
etqqkoiflwhb has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
etqqkoiflwhb has quit [Client Quit]
koderok has joined #ruby
shashank_rs has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
crzrcn has quit [Quit: Leaving.]
rylev has quit [Remote host closed the connection]
enriclluelles has quit [Remote host closed the connection]
screen_da_youth has joined #ruby
rylev_ has joined #ruby
i_s has joined #ruby
mostlybadfly has joined #ruby
nateberkopec has joined #ruby
freerobby has joined #ruby
Celm has joined #ruby
anaeem1_ has joined #ruby
lkba has quit [Ping timeout: 250 seconds]
codenapper has quit [Quit: codenapper]
i_s has quit [Ping timeout: 252 seconds]
Thanatermesis has joined #ruby
Thanatermesis has quit [Changing host]
Thanatermesis has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
rylev_ has quit [Remote host closed the connection]
Celm has quit [Ping timeout: 252 seconds]
freerobby has quit [Ping timeout: 252 seconds]
b1nd has joined #ruby
sepp2k has joined #ruby
chipotle has joined #ruby
armstrjare has quit [Quit: Textual IRC Client: www.textualapp.com]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
havenwood has quit []
luriv has quit [Ping timeout: 250 seconds]
nateberkopec has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
thomasxie has joined #ruby
luriv has joined #ruby
einarj has quit [Remote host closed the connection]
yubrew has joined #ruby
timonv has quit [Remote host closed the connection]
etqqkoiflwhb has joined #ruby
chipotle has quit [Quit: cya]
banister has joined #ruby
etqqkoiflwhb has quit [Client Quit]
yubrew has quit [Ping timeout: 252 seconds]
emaxi has joined #ruby
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby
saarinen has joined #ruby
lyanchih has quit [Quit: lyanchih]
einarj has joined #ruby
stephenmac7 has joined #ruby
IceDragon has joined #ruby
emaxi has quit [Ping timeout: 240 seconds]
helpD has joined #ruby
mehlah has joined #ruby
Megtastique has joined #ruby
etqqkoiflwhb has joined #ruby
etqqkoiflwhb has quit [Client Quit]
shashank_rs has quit [Ping timeout: 250 seconds]
nateberkopec has joined #ruby
Lewix has quit [Remote host closed the connection]
SHyx0rmZ has quit [Ping timeout: 250 seconds]
phoo1234567 has joined #ruby
mansi has joined #ruby
helpD has quit [Ping timeout: 276 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
mansi has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
popl has quit [Ping timeout: 240 seconds]
Speed has joined #ruby
Lewix has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
crzrcn has joined #ruby
Lewix has quit [Remote host closed the connection]
chrisseaton has quit []
Guedes0 has joined #ruby
crzrcn has quit [Ping timeout: 250 seconds]
i_s has joined #ruby
freerobby has joined #ruby
pwh has joined #ruby
Celm has joined #ruby
nateberkopec has joined #ruby
Deele has joined #ruby
kyb3r_ has quit [Ping timeout: 245 seconds]
i_s has quit [Ping timeout: 276 seconds]
browndawg has quit [Quit: Leaving.]
freerobby has quit [Ping timeout: 245 seconds]
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Celm has quit [Ping timeout: 240 seconds]
shime has quit [Ping timeout: 240 seconds]
chrisseaton has joined #ruby
enriclluelles has joined #ruby
jonno11 has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
Lewix has joined #ruby
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
Guest89030 has quit [Ping timeout: 240 seconds]
zorbita has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
srji has quit [Quit: leaving]
dushigo has joined #ruby
phoo1234567 has quit [Quit: Leaving]
blackmesa has quit [Ping timeout: 252 seconds]
haroldwu_ is now known as haroldwu
haroldwu has quit [Changing host]
haroldwu has joined #ruby
rippa has joined #ruby
<dushigo> Using ruby's httpclient, How can I download the HTML source from a given website ?
spider-mario has joined #ruby
phoo1234567 has joined #ruby
puzanov_ has joined #ruby
<dushigo> .Using ruby's httpclient, How can I download the HTML source from a given website?
Guest95164 has quit [Remote host closed the connection]
srji has joined #ruby
puzanov has quit [Ping timeout: 240 seconds]
crzrcn has joined #ruby
yubrew has joined #ruby
nateberkopec has joined #ruby
ktosiek has joined #ruby
seaned has joined #ruby
Xaitec_ has joined #ruby
crzrcn has quit [Ping timeout: 252 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 276 seconds]
pwh has quit []
<pskosinski> dushigo: If all you want is getting raw source of the website, you can require "open-uri" and simply open("url").read, no need for httpclient gem
emaxi has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
Slavox|AFK is now known as Slavox
Biohazard has joined #ruby
<dushigo> pskosinski: Thanks, but I'm trying to adapt it to existing code which uses httpclient.
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ph88> does anyone know PHP here ?
emaxi has quit [Ping timeout: 252 seconds]
browndawg has joined #ruby
einarj has quit [Remote host closed the connection]
<pskosinski> dushigo: Umh, so… https://github.com/nahi/httpclient/blob/master/lib/httpclient.rb => HTTPClient.new("URL").get.body?
HashNuke has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
banister has joined #ruby
mrmargolis has joined #ruby
blackmesa has joined #ruby
seaned has quit [Quit: seaned]
jericon has joined #ruby
<pskosinski> dushigo: Sorry, actually ^^ HTTPClient.new.get(url).body
spyderman4g63 has quit [Ping timeout: 245 seconds]
seaned has joined #ruby
twiceaday has joined #ruby
Lewix has quit [Remote host closed the connection]
arietis has joined #ruby
nateberkopec has joined #ruby
jamto11 has joined #ruby
twiceday has quit [Ping timeout: 276 seconds]
iamcalledrob has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zets has quit [Quit: Always try to be modest, and be proud about it!]
klaut_ has joined #ruby
nateberkopec has quit [Read error: No route to host]
nateberkopec has joined #ruby
klaut has quit [Ping timeout: 250 seconds]
jamto11 has quit [Ping timeout: 252 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
cj3kim_ has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
nichtdiebohne has joined #ruby
Megtastique has quit []
Xaitec_ has quit [Remote host closed the connection]
advorak has joined #ruby
i_s has joined #ruby
freerobby has joined #ruby
WilfredTheGreat has joined #ruby
Celm has joined #ruby
akonny has joined #ruby
psyko666 has joined #ruby
i_s has quit [Ping timeout: 240 seconds]
Megtastique has joined #ruby
freerobby has quit [Ping timeout: 250 seconds]
tafryn has quit [Ping timeout: 252 seconds]
Celm has quit [Ping timeout: 245 seconds]
nateberkopec has joined #ruby
BSaboia has joined #ruby
akonny has quit [Quit: akonny]
akonny has joined #ruby
luriv has quit [Ping timeout: 252 seconds]
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamcalledrob has quit [Quit: Computer has gone to sleep.]
zigomir has joined #ruby
jonno11 has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
srji has quit [Quit: leaving]
banister has joined #ruby
pika_pika has joined #ruby
yubrew has joined #ruby
lkba has joined #ruby
advorak has quit [Ping timeout: 240 seconds]
cj3kim has joined #ruby
shashank_rs has joined #ruby
Soda has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
TheMoonMaster has quit [Excess Flood]
luriv has joined #ruby
crzrcn has joined #ruby
emaxi has joined #ruby
klaut_ has quit [Remote host closed the connection]
centrx has joined #ruby
TheMoonMaster has joined #ruby
koderok has quit [Quit: koderok]
emaxi has quit [Ping timeout: 240 seconds]
krz has joined #ruby
nateberkopec has joined #ruby
crzrcn has quit [Ping timeout: 276 seconds]
zigomir has quit [Remote host closed the connection]
<relix> I'm trying some code out using SSLSocket from the OpenSSL stdlib in ruby
reluctantlove has joined #ruby
<relix> I was trying to figure out how to use SNI (which sends the hostname to the HTTP server before downloading the certificate, so that a different SSL cert can be selected)
<relix> example code said to do ssl_client.hostname = "hostname.com" or whatever
<relix> this works, but I can't find it in the docs anywhere
Hanmac1 has joined #ruby
Guedes0 has quit [Ping timeout: 245 seconds]
sk87 has quit [Ping timeout: 245 seconds]
<relix> I'm worried I'm losing out on some other functionality
nateberkopec has quit [Ping timeout: 240 seconds]
Sawbones has joined #ruby
<relix> why are not all methods documented?
spyderman4g63 has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
Sawbones has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 0.4.3]
SilkFox has quit [Ping timeout: 252 seconds]
Soda has quit [Remote host closed the connection]
<centrx> relix, Are you sure ssl_client isn't an instance of URI, not OpenSSL?
Megtastique has quit []
lkba has quit [Ping timeout: 245 seconds]
lukec has joined #ruby
<shevy> ph88 I once knew php but I thankfully forgot everything
helpD has joined #ruby
BaconOverflow has joined #ruby
<pskosinski> I didn't forget everything yet :(
helpD has quit [Ping timeout: 240 seconds]
browndawg has quit [Quit: Leaving.]
freerobby has joined #ruby
<ph88> shevy: :'(
absolutezeroff has quit [Remote host closed the connection]
SevereOverfl0w has left #ruby ["WeeChat 0.4.3"]
cj3kim_ has joined #ruby
SilkFox has joined #ruby
etqqkoiflwhb has joined #ruby
reluctantlove has quit [Quit: Lingo - http://www.lingoirc.com]
nateberkopec has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
Milly_Bays has quit [Ping timeout: 245 seconds]
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sawbones has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
Guedes0 has joined #ruby
Lewix has joined #ruby
Lewix has quit [Remote host closed the connection]
sigurding has joined #ruby
i_s has joined #ruby
klaut has joined #ruby
Guedes0 has quit [Ping timeout: 240 seconds]
i_s has quit [Ping timeout: 250 seconds]
absolutezeroff has joined #ruby
browndawg has joined #ruby
BSaboia has quit [Ping timeout: 276 seconds]
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
metamaterial has joined #ruby
iamjarvo has joined #ruby
nateberkopec has joined #ruby
yubrew has joined #ruby
SilkFox_ has joined #ruby
Sawbones has quit [Remote host closed the connection]
BSaboia has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
anaeem1_ has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
Lewix has joined #ruby
emaxi has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
anaeem1 has joined #ruby
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
pskosinski has joined #ruby
<relix> centrx ssl_client is what i get back after SSLSocket.new
ironsand has quit [Ping timeout: 240 seconds]
<relix> centrx not sure why it would be a URI :)
zcreative has joined #ruby
<relix> I'll get a gist for clarification
BSaboia has quit [Ping timeout: 252 seconds]
tuxtgz has joined #ruby
emaxi has quit [Ping timeout: 240 seconds]
pskosinski has quit [Client Quit]
pskosinski has joined #ruby
pskosinski has quit [Remote host closed the connection]
shashank_rs has quit [Ping timeout: 252 seconds]
crzrcn has joined #ruby
pskosinski has joined #ruby
nooteh has joined #ruby
crzrcn has quit [Ping timeout: 240 seconds]
seaned has quit [Quit: Zzzzzz....]
dushigo has quit [Quit: Page closed]
sailias has joined #ruby
lw has joined #ruby
nateberkopec has joined #ruby
ktosiek has quit [Ping timeout: 252 seconds]
iamjarvo has quit [Ping timeout: 245 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
Megtastique has joined #ruby
cj3kim_ has quit [Read error: Connection reset by peer]
mansi has joined #ruby
SilkFox_ has quit [Ping timeout: 246 seconds]
Megtastique has quit [Client Quit]
jamto11 has joined #ruby
cj3kim has joined #ruby
akonny has quit [Quit: akonny]
Sawbones has joined #ruby
SilkFox_ has joined #ruby
bthesorceror has joined #ruby
bthesorceror has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
bthesorceror has joined #ruby
thomasxie has left #ruby [#ruby]
Sawbones has quit [Remote host closed the connection]
seuros has quit [Ping timeout: 245 seconds]
pmullin has joined #ruby
bthesorceror has quit [Ping timeout: 276 seconds]
jamto11_ has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
nateberkopec has joined #ruby
seaned has joined #ruby
mansi has quit [Remote host closed the connection]
Cache_Money has joined #ruby
emaxi has joined #ruby
tkuchiki has quit [Remote host closed the connection]
pskosinski__ has joined #ruby
mansi has joined #ruby
tkuchiki has joined #ruby
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
rvraghav93 has joined #ruby
jamto11_ has quit [Ping timeout: 250 seconds]
x1337807x has joined #ruby
mrmargolis has quit [Remote host closed the connection]
JJMalina has joined #ruby
nateberkopec has quit [Read error: No route to host]
BSaboia has joined #ruby
pmullin has quit [Quit: Textual IRC Client: www.textualapp.com]
Iniesta8_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
etqqkoiflwhb has joined #ruby
pskosinski__ has quit [Client Quit]
pskosinski has quit [Quit: Til rivido Idisti!]
pskosinski has joined #ruby
banister_ has joined #ruby
andy___ has joined #ruby
mr_snowf1ake has joined #ruby
banister has quit [Ping timeout: 276 seconds]
JJMalina has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
freerobby has quit [Quit: Leaving.]
Milly_Bays has joined #ruby
mansi has quit [Remote host closed the connection]
iamcalledrob has joined #ruby
Milly_Bays has quit [Remote host closed the connection]
koderok has joined #ruby
seuros has joined #ruby
i_s has joined #ruby
sk87 has joined #ruby
mary5030 has joined #ruby
Celm has joined #ruby
mary5030 has quit [Remote host closed the connection]
evenix has quit [Remote host closed the connection]
freerobby has joined #ruby
mary5030 has joined #ruby
evenix has joined #ruby
tafryn has joined #ruby
dapz has joined #ruby
yubrew has joined #ruby
s3ri0us has joined #ruby
i_s has quit [Ping timeout: 276 seconds]
dapz has quit [Client Quit]
kimiaman- is now known as kimiamania
kimiamania has quit [Changing host]
kimiamania has joined #ruby
kimiamania has joined #ruby
Celm has quit [Ping timeout: 276 seconds]
evenix has quit [Ping timeout: 240 seconds]
babykosh has joined #ruby
freerobby has quit [Ping timeout: 250 seconds]
mary5030 has quit [Ping timeout: 245 seconds]
babykosh has quit [Client Quit]
cassioscabral has joined #ruby
andy___ has quit [Remote host closed the connection]
andy___ has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
Cache_Money has quit [Quit: Cache_Money]
lw has quit [Quit: s]
Avahey_ has joined #ruby
andy___ has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
enriclluelles has quit [Remote host closed the connection]
Cache_Money has joined #ruby
idoru has quit [Quit: Working as programmed]
mary5030 has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
ringaring has joined #ruby
cover has quit [Ping timeout: 240 seconds]
idoru has joined #ruby
sailias has quit [Ping timeout: 276 seconds]
SilkFox_ has joined #ruby
yacks has quit [Quit: Leaving]
crzrcn has joined #ruby
zachallett has joined #ruby
skysploit has joined #ruby
skysploit has quit [Changing host]
skysploit has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3]
skysploit has quit [Client Quit]
SilkFox_ has quit [Ping timeout: 245 seconds]
zachalle_ has joined #ruby
areil has joined #ruby
zachalle_ has quit [Remote host closed the connection]
crzrcn has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
koderok has quit [Ping timeout: 245 seconds]
sepp2k has quit [Quit: Leaving.]
chipotle has joined #ruby
koderok has joined #ruby
areil has left #ruby [#ruby]
idoru has quit [Quit: Working as programmed]
anaeem1 has quit [Remote host closed the connection]
idoru has joined #ruby
zachallett has quit [Ping timeout: 245 seconds]
ehc has joined #ruby
mary5030 has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 252 seconds]
cover has joined #ruby
ringaring has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
<shevy> test
shashank_rs has joined #ruby
IceDragon has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
zcreative has quit [Quit: Computer has gone to sleep.]
IceDragon has joined #ruby
atmosx has quit [Remote host closed the connection]
bricker`LA has quit [Ping timeout: 240 seconds]
SilkFox has quit [Read error: Connection reset by peer]
atmosx has joined #ruby
kobain has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
anaeem1 has joined #ruby
tris has joined #ruby
kalyx_ has quit [Quit: Leaving]
iamcalledrob has quit [Quit: Computer has gone to sleep.]
SilkFox has joined #ruby
r_rios has joined #ruby
anaeem___ has joined #ruby
Sawbones has joined #ruby
Iniesta8 has joined #ruby
sdouglas has joined #ruby
anaeem1 has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
etqqkoiflwhb has quit [Ping timeout: 245 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has joined #ruby
etqqkoiflwhb has joined #ruby
sdouglas has quit [Ping timeout: 276 seconds]
benzrf|offline is now known as benzrf
SCommette has joined #ruby
TheMoonMaster has quit [Excess Flood]
SCommette has quit [Client Quit]
nateberkopec has quit [Ping timeout: 240 seconds]
Shidash has joined #ruby
TheMoonMaster has joined #ruby
b1nd has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
amclain has joined #ruby
pskosinski_ has joined #ruby
pskosinski has quit [Disconnected by services]
pskosinski_ is now known as pskosinski
chris_thomson has joined #ruby
Fretta has joined #ruby
Es0teric has joined #ruby
yubrew has joined #ruby
i_s has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
<centrx> shevy, test failed
<shevy> no wonder
<shevy> it was written in php
<benzrf> hue
<pskosinski> Couldn't be in PHP, not variable, not execution of a function…
anaeem___ has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 276 seconds]
Lewix has joined #ruby
<pskosinski> Buy could be Ruby code!
mikecmpbll has joined #ruby
manlycode has joined #ruby
i_s has quit [Ping timeout: 276 seconds]
ktun has quit [Read error: Connection reset by peer]
r_rios has quit [Ping timeout: 245 seconds]
cassioscabral has quit [Ping timeout: 252 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
r_rios has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
ktun has joined #ruby
nopolitica has joined #ruby
ktun_ has joined #ruby
ktun_ has quit [Read error: Connection reset by peer]
chrisseaton has quit []
ktun_ has joined #ruby
arietis has joined #ruby
einarj has joined #ruby
ktun has quit [Ping timeout: 276 seconds]
ktun has joined #ruby
zcreative has joined #ruby
etqqkoiflwhb has quit [Ping timeout: 240 seconds]
s3ri0us is now known as s3ri0us|away
nateberkopec has joined #ruby
b1nd has joined #ruby
eka_ has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Sawbones has quit [Remote host closed the connection]
etqqkoiflwhb has joined #ruby
ktun_ has quit [Ping timeout: 276 seconds]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
linojon has joined #ruby
browndawg has left #ruby [#ruby]
x77686d has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
ktun has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
ktun has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
kaspergrubbe has quit [Remote host closed the connection]
akonny has joined #ruby
crzrcn has joined #ruby
Speed has joined #ruby
SilkFox_ has joined #ruby
Sawbones has joined #ruby
kaspergr_ has joined #ruby
babykosh has joined #ruby
crzrcn1 has joined #ruby
crzrcn2 has joined #ruby
pushpak has joined #ruby
crzrcn has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
babykosh has quit [Ping timeout: 240 seconds]
enriclluelles has joined #ruby
crzrcn1 has quit [Ping timeout: 245 seconds]
babykosh has joined #ruby
shime has joined #ruby
nooteh has quit [Remote host closed the connection]
Soda has joined #ruby
ktun has quit [Remote host closed the connection]
crzrcn2 has quit [Ping timeout: 252 seconds]
ktun has joined #ruby
benzrf is now known as benzrf|offline
freerobby has quit [Ping timeout: 250 seconds]
nari has quit [Ping timeout: 245 seconds]
mercwithamouth has quit [Ping timeout: 252 seconds]
bluOxigen has quit [Ping timeout: 250 seconds]
Sawbones has quit [Remote host closed the connection]
noop has joined #ruby
Lewix has quit [Remote host closed the connection]
ktun has quit [Remote host closed the connection]
Lewix has joined #ruby
Sawbones has joined #ruby
nateberkopec has joined #ruby
ktun has joined #ruby
poguez_ has joined #ruby
camilasan has joined #ruby
ktun has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
ktun has joined #ruby
seaned has quit [Quit: Zzzzzz....]
mercwithamouth has joined #ruby
atno has joined #ruby
Lewix has quit [Remote host closed the connection]
marahin has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cya]
<marahin> hey guys. What's the easier way to tell ruby script what to show if someone calls that script with an "-h" flag?
<marahin> Actually, what's the easiest way to manage passed flags?
pwh has joined #ruby
manlycode has quit []
ehc has quit [Quit: ehc]
Royalb15_Laptop has joined #ruby
kitak has quit [Remote host closed the connection]
iamcalledrob has joined #ruby
babykosh has quit [Quit: babykosh]
kitak has joined #ruby
jamto11_ has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
chipotle has joined #ruby
Hanmac has joined #ruby
<Mon_Ouie> Use an option parser. There's optparse in stdlib and there are several other gems (e.g. slop) to do it.
amundj has joined #ruby
SonicX has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
cover_ has joined #ruby
jamto11_ has quit [Ping timeout: 240 seconds]
davidcollom has quit [Ping timeout: 246 seconds]
<xorl> Still learning the mechanics of ruby/programming in general, how do I pass a variables outside of a class to a def within a class?
<xorl> Just pass self to the function?
mrmargolis has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
Sawbones has quit [Remote host closed the connection]
yubrew has joined #ruby
manlycode has joined #ruby
Sawbones has joined #ruby
cover has quit [Ping timeout: 252 seconds]
ktun has quit [Ping timeout: 250 seconds]
<Mon_Ouie> That example just makes no sense. var is a local variable, it does not belong to any object. Show us what you're actually trying to do (what's the method you want to call, where are the objects you want to pass to that method)
r_rios has quit [Ping timeout: 240 seconds]
<xorl> ah, would I go about it as attr_reader :var and rename it to @var = ...
<xorl> Mon_Ouie, (hence my still learning bit) I have confused myself
mercwithamouth has joined #ruby
<Mon_Ouie> I'm still not sure what you're trying to do
tectonic has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
<xorl> just access that object/variable from within that class, that's it
kitak has quit [Remote host closed the connection]
psyko666 has quit [Quit: Leaving]
ktun has joined #ruby
kitak has joined #ruby
cover has joined #ruby
sepp2k has joined #ruby
ixti has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
<havenwood> Hanmac: a prophecy
tuxtgz has quit [Ping timeout: 240 seconds]
shwouchk has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
andrewlio has joined #ruby
jwhorto1 has quit [Ping timeout: 240 seconds]
<Hanmac> havenwood: what is your current doctorwho episode? or did you already watched the last specials?
<havenwood> Hanmac: s3e6
Sawbones has quit [Remote host closed the connection]
nateberkopec has joined #ruby
<havenwood> Evolution of the Daleks
cj3kim has joined #ruby
<havenwood> spelled different than it sounds, i'd have thought Darleks :P
<Hanmac> gasp! you need to watch more!! the best quotable sentences are beginning with s5
<Mon_Ouie> But "passsing object across classes" doesn't make sense because it's all about objects. An object has a reference towards another object and may provide a method to retrieve it. If you have a reference to that first object, you can use it to get that second object.
i_s has joined #ruby
cover_ has quit [Ping timeout: 245 seconds]
<Mon_Ouie> An object is not "in a class" simply because the code that manipulates it is located within the body of a class
<Hanmac> "it's all about objects" ... thats a good title for a RubyBook ;P
Celm has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
kitak has quit [Remote host closed the connection]
davidcollom_zzz has joined #ruby
kitak has joined #ruby
davidcollom_zzz is now known as davidcollom
nateberkopec has quit [Ping timeout: 240 seconds]
Shidash has quit [Ping timeout: 276 seconds]
<xorl> Mon_Ouie, the code should explain what I want to do, I want to be able to access that variable from within the class
<xorl> not the other way around for this instance
helpD has joined #ruby
Celm has quit [Ping timeout: 240 seconds]
i_s has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
Milly_Bays has joined #ruby
phansch has joined #ruby
red234324 has joined #ruby
<shevy> xorl with a class, use ivars like @foo to store data. to pass data between objects, use methods to query or change said @ivars
<Mon_Ouie> That code only contains definition of classes and modules, one method that calls an undefined method, and an unused local variable. It's nowhere concrete enough for me to know what you're looking for.
<xorl> shevy ah okay
Sawbones has joined #ruby
Lightsword has joined #ruby
<shevy> xorl like
<shevy> >> class Cat; def initialize(eat_this_mouse = nil); @eat_this_mouse = eat_this_mouse; end; def eat_me; puts 'eating mouse '+@eat_this_mouse.object_id.to_s; end; end; class Mouse; end; cat = Cat.new(Mouse.new)
<eval-in__> shevy => #<Cat:0x40779f1c @eat_this_mouse=#<Mouse:0x40779f30>> (https://eval.in/138838)
emaxi has quit [Remote host closed the connection]
emaxi has joined #ruby
speakingcode has quit [Ping timeout: 245 seconds]
fly2web has joined #ruby
<fly2web> hi give the ruby site.
<fly2web> i will study ruby for some reason.
<certainty> oO
<fly2web> no one is here?
shashank_rs has quit [Ping timeout: 252 seconds]
<certainty> nope
<certainty> not even you :)
Xeago has joined #ruby
<fly2web> give me ruby site for studying.
<havenwood> on earth day we all dissapear.
* havenwood fades away.
<centrx> fly2web, Try Ruby Koans or RubyMonk
<certainty> fly2web: ruby-lang.org
<fly2web> thanks
<havenwood> fly2web: if you're just starting Ruby: http://tryruby.org/
<fly2web> what is ‘on earth day’? havenwood
emaxi has quit [Ping timeout: 250 seconds]
<havenwood> fly2web: today is earth day
<fly2web> havenwood: then we will die all today?
<havenwood> fly2web: the little death that brings about total obliteration
cassioscabral has joined #ruby
<fly2web> havenwood: you will die today too?
CorpusCallosum has quit [Read error: Connection reset by peer]
evenix has joined #ruby
<centrx> Earth Day and Easter on the SAME day!
shime has quit [Ping timeout: 252 seconds]
<havenwood> centrx: it is also still Passover
Sawbones has quit [Remote host closed the connection]
<havenwood> whew, there is a holidays gem, aptly called 'holidays'
helpD has quit [Remote host closed the connection]
<fly2web> i have known ruby site in the past. and that site is very easy. but i dont find it.
caleb_io has joined #ruby
Zesty has joined #ruby
ktun has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
ktun has joined #ruby
tectonic has quit []
Iniesta8 has quit [Quit: Textual IRC Client: www.textualapp.com]
<fly2web> i find it ‘learn to programming’
<fly2web> learn to programming is easy to learn self?
x77686d has quit [Quit: x77686d]
CorpusCallosum has joined #ruby
cj3kim has quit [Remote host closed the connection]
<havenwood> fly2web: Chris Pine's Learn to Program is nice if you've never programmed in other languages.
<crome> chunky bacon!
<havenwood> foxes!
chris_thomson has left #ruby [#ruby]
chris_thomson has joined #ruby
chris_thomson has left #ruby [#ruby]
lkba has joined #ruby
<fly2web> i know programming about c, c++, java, jsp, perl, python, sql, jquery, objective c, ios, android, ajax, php, javascript html5, except ruby.
<centrx> Then you are missing out
nateberkopec has quit [Ping timeout: 240 seconds]
Zesty has quit [Quit: Leaving...]
Zesty has joined #ruby
<havenwood> fly2web: knowing c, perl, python and obj-c should make ruby an easy treat
crzrcn has joined #ruby
<fly2web> oh i see.
<crome> Im fairly sure there is no human being on earth who are proficient in all those languages/technologies
<havenwood> fly2web: written in c, influenced by perl and python, and a smalltalk inspired sibling of obj-c
<crome> who is*
<fly2web> i will study ruby for mataprogramming
linojon has quit [Quit: linojon]
nari has joined #ruby
<havenwood> fly2web: The Ruby Programming Language (the Sparrow) is a good book.
<fly2web> havenwood: thanks but you will die today?
<havenwood> fly2web: no, i'm a bot. i'm going to live forever.
kaspergr_ has quit [Remote host closed the connection]
<havenwood> fly2web: that's the one
<fly2web> oh bot.
<fly2web> i see.
<havenwood> fly2web: or the 2nd edition of The Well-Grounded Rubyist is currently in beta
jamto11 has quit [Remote host closed the connection]
senayar has joined #ruby
<fly2web> ok i see thanks. and i will read book that have small page.
crzrcn has quit [Ping timeout: 245 seconds]
<fly2web> about 300 ~ 400 page.
<fly2web> ok thanks havenwood
near77 has joined #ruby
SilkFox_ has quit [Ping timeout: 252 seconds]
helpD has joined #ruby
ziyadb_ has joined #ruby
_axx has joined #ruby
<_axx> Hello, is it possible to display <%= value %> without erb rendering it? I use Chart.js and it uses the same syntax for an option value.
<near77> hi
tjsousa has joined #ruby
<near77> does anyone know why I can't seem to be able to change params on the controller?
<near77> for example: hijo_params[:id_afiliado] = current_user.id_afiliado and then do a @hijo = Hijo.new(hijo_params)
<near77> hijo_params never changed :S
<havenwood> near77: you might try #rubyonrails
<fly2web> how long it takes reading ‘learn to programming’?
<havenwood> _axx: whatcha mean by display but not render?
Sawbones has joined #ruby
<_axx> havenwood: chart.js uses erb syntax inside an javascript option hash
<_axx> like so: scaleLabel : "<%=value%>",
mrmargolis has quit [Remote host closed the connection]
<_axx> the problem is, if i use that inside my rails app, erb thinks it's supposed to be rendered by erb
SilkFox_ has joined #ruby
jwhorto1 has joined #ruby
<havenwood> _axx: you might want to ask in #rubyonrails
<near77> im not getting to that channel..
Hanmac1 has joined #ruby
<havenwood> near77: nic reg required
atno has quit [Remote host closed the connection]
<_axx> havenwood: hm, ok, thanks! :)
doodlehaus has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
Hanmac has quit [Ping timeout: 240 seconds]
Celm has joined #ruby
nateberkopec has joined #ruby
Guedes0 has joined #ruby
freerobby has joined #ruby
Xeago has quit [Remote host closed the connection]
shwouchk has joined #ruby
shashank_rs has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
emaxi has joined #ruby
ktun_ has joined #ruby
Cache_Money has joined #ruby
chipotle has quit [Quit: cya]
cj3kim has joined #ruby
mehlah has quit [Read error: Connection reset by peer]
mehlah_ has joined #ruby
yubrew has joined #ruby
ktun has quit [Ping timeout: 245 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
JJMalina has joined #ruby
robbyoconnor has quit [Ping timeout: 240 seconds]
emaxi has quit [Ping timeout: 240 seconds]
ktun has joined #ruby
Cache_Money has quit [Ping timeout: 245 seconds]
pwh has quit []
decoponio has quit [Quit: Leaving...]
yubrew has quit [Ping timeout: 240 seconds]
ktun_ has quit [Ping timeout: 240 seconds]
jamto11 has joined #ruby
etqqkoiflwhb has quit [Ping timeout: 276 seconds]
IceDragon has quit [Ping timeout: 240 seconds]
robbyoconnor has joined #ruby
JJMalina has quit [Ping timeout: 240 seconds]
Sawbones has quit [Remote host closed the connection]
<Mon_Ouie> crome: I doubt that claim is true. I mean, C, Obj-C, C++, Java share so many things, etc. I mean, you may not remember by heart every dark corner of each of those, but knowings them well enough to be able to contribute to projects written in those languages is not that unlikely…
Zesty has quit [Quit: Linkinus - http://linkinus.com]
Royalb15_Laptop has quit [Ping timeout: 276 seconds]
nari has quit [Ping timeout: 240 seconds]
IceDragon has joined #ruby
SilkFox_ has quit [Ping timeout: 246 seconds]
<fly2web> havenwood: you know about metasploit?
etqqkoiflwhb has joined #ruby
<havenwood> fly2web: or the nicer ronin, sure
<fly2web> oh
<fly2web> no
pwh has joined #ruby
kerin has joined #ruby
pwh has quit [Client Quit]
pwh has joined #ruby
<kerin> How do I call a static method from a parent class, WITHIN a static method?
<fly2web> Ronin is a Ruby platform for vulnerability research and exploit development
<fly2web> ok good
x77686d has joined #ruby
<fly2web> i will study ruby for this
zzak_ has quit [Ping timeout: 240 seconds]
r_rios has joined #ruby
<Mon_Ouie> kerin: The proper term is "class method". And you can use super to get the implementation of the same method, or just call the method for other methods as they're inherited.
machty has quit [Ping timeout: 240 seconds]
eataix has quit [Ping timeout: 264 seconds]
<Mon_Ouie> Unless you actually want to call it *on* the super class (as opposed to calling the class method with self being the subclass), you can use ThatSuperClass.some_method
yo61 has quit [Ping timeout: 255 seconds]
<kerin> Mon_Ouie, I've tried method_name, self.class.method_name
pusewicz__ has quit [Ping timeout: 240 seconds]
<Mon_Ouie> method_name is fine. Show us your code then.
Tranquility has quit [Ping timeout: 264 seconds]
gyre007___ has quit [Ping timeout: 255 seconds]
bcavileer has quit [Ping timeout: 255 seconds]
<kerin> certainly, one moment
jpinnix____ has quit [Ping timeout: 252 seconds]
adambeynon has quit [Ping timeout: 264 seconds]
CorpusCa_ has joined #ruby
Celm has quit [Remote host closed the connection]
pwh has quit [Ping timeout: 250 seconds]
CorpusCallosum has quit [Ping timeout: 276 seconds]
<kerin> ah, so ThatSuperClass.method_name worked
CorpusCa_ is now known as CorpusCallosum
charlies_ has joined #ruby
<Mon_Ouie> It's not the same though
i_s has joined #ruby
pusewicz__ has joined #ruby
yo61 has joined #ruby
<fly2web> i know ruby vs i know about ruby <—— which is right statement? havenwood
Tranquility has joined #ruby
adambeynon has joined #ruby
machty has joined #ruby
<kerin> I'm not extending or replacing any of the superclass's methods
<kerin> (at this point)
eataix has joined #ruby
robbyoconnor has quit [Ping timeout: 240 seconds]
<Mon_Ouie> e.g. if you do something like def self.var=(x); @var = x; end in the superclass, it will set the super class's attribute, not the child class's
jpinnix____ has joined #ruby
zzak_ has joined #ruby
gyre007___ has joined #ruby
bcavileer has joined #ruby
<Mon_Ouie> fly2web: The first one. The latter one sounds like "I know that Ruby exists".
<kerin> I am only using the superclass to package some common atomic tools to generate IDs/do single lookups against the DB to translate a catalog number into a slug, for instance
<fly2web> ok thanks
<kerin> so in this case there is no class state to manipulate - if there was these wouldn't be static methods ;)
<kerin> er, class methods
nateberkopec has joined #ruby
charliesome has quit [Ping timeout: 252 seconds]
<havenwood> fly2web: 'knowing ruby' suggests you can code in ruby. 'knowing about ruby' is much more general and could denote mere familiarity with the concept that ruby is a language.
x77686d has quit [Quit: x77686d]
xea has quit [Ping timeout: 252 seconds]
<Mon_Ouie> A class is an object too and can have its own state, it has nothing to do with the state of a class's instances
xea has joined #ruby
<fly2web> thanks havenwood
dapz has joined #ruby
<crome> Mon_Ouie: it takes a long time and practice be skilled in a language. being skilled in C does not mean you are good at C++ as well. while being good at a language helps a lot with learning another one, it takes a whole lot of experience to learn the quirks of all of them.
<kerin> Mon_Ouie, I know
<crome> being good at all of those is jut not feasible
i_s has quit [Ping timeout: 240 seconds]
<Mon_Ouie> But knowing all the quirks is not required to be able to program in it.
dtr has joined #ruby
<crome> learning java, for example, is not solely about the language itself. its about knowing the framework, the libraries, etc.
<crome> it takes years
nateberkopec has quit [Ping timeout: 240 seconds]
<crome> being able to program is a very empty claim
<crome> it does not really mean anyting
<dtr> hi all.. is there something like python's virtualenv for ruby? bundler doesn't quite do it
<lagweezle> rvm / rbenv / chruby
<Mon_Ouie> "well enough to contribute to projects written in that language" was how I had it formulated before
<lagweezle> I'm using rbenv. I need to investigate more on chruby.
seaned has joined #ruby
<dtr> thanks
bthesorceror has joined #ruby
senayar has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
<crome> Mon_Ouie: you can be a "skilled" rails developer without knowing much about how ruby really works. and then you will find yourself in really strange situation with your application blowing up in your face
<omosoj> Not sure how to ask this question properly... How do I reference an array within a block when I created the array with an earlier method? https://gist.github.com/josomo/11121409
Avahey_ has quit [Quit: Connection closed for inactivity]
bthesorceror has quit [Remote host closed the connection]
<crome> Mon_Ouie: knowing the quirks is part of what makes you good
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Human_ has quit [Ping timeout: 252 seconds]
<Mon_Ouie> omosoj: You need a variable to store that array so you can refer back to it.
pwh has joined #ruby
<Mon_Ouie> You may also be interested in a method called Enumerable#each_cons
charlies_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<omosoj> Mon_Ouie, okay, but when I try to do that I think I create an array within an array. In irb it comes up as [[4324]]
bthesorc_ has joined #ruby
dtr has left #ruby [#ruby]
<Mon_Ouie> crome: Better, sure (for some of them at least); but I don't think it's necessary
<omosoj> Whoa, each_cons is helpful :)
x77686d has joined #ruby
<crome> Mon_Ouie: necessary for what?
<banister_> crome btw, Mon_Ouie is not speaking for himself, he knows an incredibly amount of ruby's quirks :)
bthesorc_ has quit [Remote host closed the connection]
<banister_> incredible*
<crome> Im not trying to attack his knowledge or reputation in any wat!
<crome> way*
<Mon_Ouie> Using the language effectively, being able to apply for a job that will require you to write code in that language
advorak has joined #ruby
<crome> you just said *effectively*
<crome> there is a huge difference between being able to write code in a language and writing effective code
<Mon_Ouie> "in such a manner as to achieve a desired result." says google. That seems reasonable.
kerin has quit [Quit: Leaving]
<Mon_Ouie> Not "in the most optimal way possible"
babykosh has joined #ruby
Nukepuppy has joined #ruby
<crome> and dont get me wrong, Im not saying that only the most professional people are to be hired companies would go brankrupt with that hiring policy. but claming knowing more than 5 languages is a surefire way to make my spider senses tingle
CaptainJet has joined #ruby
manlycode has quit [Ping timeout: 276 seconds]
<crome> knowing bits about 5 languages is a lot easier tha knowing one at an efficient level
<babykosh> I have an array…myarray = [1,2,3,a,b,50,40,-10] i just want the number of integers in the array how to do this?
* apeiros tingles cromes spider sense
b1nd has quit [Ping timeout: 245 seconds]
<canton7> babykosh, myarray.count{ |x| some condition involving x }
<Mon_Ouie> Saying you know that many languages equally and very well is unrealistic yes, but at various degrees, not that much
<apeiros> Mon_Ouie: it's actually not
tectonic has joined #ruby
<apeiros> Mon_Ouie: it's just incompatible with "we want somebody who's <20y old and has 20y of experience in all languages"
sepp2k has quit [Ping timeout: 276 seconds]
nateberkopec has joined #ruby
<apeiros> and of course has a CS major
robbyoconnor has joined #ruby
seaned has quit [Quit: Zzzzzz....]
Nukepuppy has quit [Ping timeout: 276 seconds]
r_rios has quit [Remote host closed the connection]
<banister_> canton7 someone knowing, C, Ruby, javascript, coffeescript, (e)lisp is not that unusual, i wouldn't doubt someone too much if they said they did
<banister_> err crome
<banister_> sry canton7 :)
kitak has quit [Read error: Connection reset by peer]
<banister_> crome you can include SQL in that list too
crzrcn has joined #ruby
kitak has joined #ruby
zigomir has quit [Remote host closed the connection]
<Mon_Ouie> Are those your main languages? ;)
etqqkoiflwhb has quit [Ping timeout: 252 seconds]
<shevy> wow
<shevy> crome has spider senses
<shevy> like zenspider!
<banister_> Mon_Ouie Yeah :D but i dont think it's too unusual to have proficient knowledge in all of those languages
nateberkopec has quit [Ping timeout: 240 seconds]
Celm has joined #ruby
iamcalledrob has quit [Quit: Computer has gone to sleep.]
<alpha123> I think most programmers know more than five languages. I'm a web designer/front-end developer guy and I know more than 5 (though I'm only really proficient in JavaScript and Ruby)
etqqkoiflwhb has joined #ruby
<banister_> alpha123 i dont think html/haml/css really count as languages in the sense crome was meaning though
<banister_> alpha123 i assume he's talking about turing complete languages
crzrcn has quit [Ping timeout: 240 seconds]
<Mon_Ouie> Does Coq not count then?
advorak has quit [Ping timeout: 240 seconds]
Hanmac has joined #ruby
<banister_> Mon_Ouie Do you like Coq?
<banister_> ;)
skaflem has left #ruby ["Leaving"]
<banister_> Mon_Ouie i've heard a bit about that, are you learning it?
ktun has quit [Quit: Textual IRC Client: www.textualapp.com]
<Mon_Ouie> I don't know it at all, I just know it's not turing complete, but still far from a markup language
bthesorceror has joined #ruby
<alpha123> banister_: I know, I don't count those as languages either
<banister_> alpha123 ah so which languages are you referring to?
<alpha123> I don't count XSLT either, even though it's technically turing complete
<alpha123> banister_: JavaScript, Ruby, Lua, Common Lisp, and Python
Hanmac1 has quit [Ping timeout: 240 seconds]
seaned has joined #ruby
<apeiros> I know html, haml, slim, csv and markdown!
<alpha123> (though I have some basic knowledge of a bunch of others, like Haskell and C++)
<banister_> alpha123 cool, yeah, i dont think knowing >= 4-5 langauges is that unusual anymore either
<alpha123> learning new languages really helps expand your horizon :)
sputnik13 has quit [Ping timeout: 245 seconds]
kaspergrubbe has joined #ruby
<atmosx> Hello
bthesorceror has quit [Remote host closed the connection]
<atmosx> I'm trying to use optparse, but my options hash returns an empty hash... https://gist.github.com/atmosx/11122112 in many examples I've seen online, should work. I'm using ruby 2.0 ... is there anything wrong with options = {}?
lolmaus_ has quit [Ping timeout: 240 seconds]
Sawbones has joined #ruby
emaxi has joined #ruby
bthesorceror has joined #ruby
nateberkopec has joined #ruby
no6 has joined #ruby
iamcalledrob has joined #ruby
helpD has quit [Remote host closed the connection]
nateberkopec has quit [Client Quit]
Sawbones has quit [Remote host closed the connection]
yubrew has joined #ruby
helpD has joined #ruby
endash has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
sepp2k has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
Zesty has joined #ruby
tjsousa has quit [Quit: Computer has gone to sleep.]
zcreative has joined #ruby
emaxi has quit [Ping timeout: 240 seconds]
bthesorceror has quit [Ping timeout: 252 seconds]
sputnik13 has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
helpD has quit [Ping timeout: 252 seconds]
kaspergr_ has joined #ruby
b1nd has joined #ruby
r_rios has joined #ruby
x77686d has quit [Quit: x77686d]
mostlybadfly has quit [Quit: Connection closed for inactivity]
jamto11_ has joined #ruby
sigurding has quit [Quit: sigurding]
kaspergrubbe has quit [Ping timeout: 250 seconds]
_2_ash_starz has joined #ruby
<_2_ash_starz> hi
<_2_ash_starz> :D
<_2_ash_starz> anyone here
<_2_ash_starz> :O
<_2_ash_starz> hello:O
<atmosx> nope
_2_ash_starz has left #ruby [#ruby]
_2_ash_starz has joined #ruby
<_2_ash_starz> um hello
<banister_> Mon_Ouie what languages are you interested in recently?
pushpak has quit [Quit: Linkinus - http://linkinus.com]
Asher has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
<Mon_Ouie> Nothing new, I'm mostly programming in C now
iamcalledrob has quit [Quit: Computer has gone to sleep.]
jamto11_ has quit [Ping timeout: 245 seconds]
<shevy> hmm
<shevy> atmosx I hate optparse so much
zcreative has quit [Quit: Computer has gone to sleep.]
<atmosx> shevy: I got it
<atmosx> just now
<atmosx> lol
<atmosx> I need to supply an argument
armstrjare has joined #ruby
RowdyChiz is now known as RowdyChildren
RowdyChildren has quit [Changing host]
RowdyChildren has joined #ruby
Xeago has joined #ruby
SHyx0rmZ has joined #ruby
jackneill has quit [Read error: Connection reset by peer]
zcreative has joined #ruby
bradhe has joined #ruby
* Hanmac does make very evil C(++) macros ... i dont think that Mon_Ouie might understand them all ;P
iamjarvo has joined #ruby
_2_ash_starz has quit [Read error: Connection reset by peer]
ktun has joined #ruby
sigurding has joined #ruby
zcreative has quit [Client Quit]
quitobro has joined #ruby
Zesty has quit [Quit: Linkinus - http://linkinus.com]
Xeago has quit [Ping timeout: 245 seconds]
ktun_ has joined #ruby
ktun has quit [Read error: Connection reset by peer]
deric_skibotn has joined #ruby
andrewlio has quit [Quit: Leaving.]
i_s has joined #ruby
Sawbones has joined #ruby
pika_pika has quit [Ping timeout: 252 seconds]
Shidash has joined #ruby
wallerdev has joined #ruby
evenix has quit [Remote host closed the connection]
eka has joined #ruby
evenix has joined #ruby
etqqkoiflwhb has quit [Ping timeout: 245 seconds]
i_s has quit [Ping timeout: 245 seconds]
sigurding has quit [Quit: sigurding]
Celm has quit [Remote host closed the connection]
enriclluelles has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
WanderingGlitch has quit [Changing host]
WanderingGlitch has joined #ruby
mehlah_ has quit [Quit: Leaving...]
etqqkoiflwhb has joined #ruby
evenix has quit [Ping timeout: 240 seconds]
r_rios has quit [Remote host closed the connection]
r_rios has joined #ruby
mengu has quit [Remote host closed the connection]
Lightsword has quit [Ping timeout: 252 seconds]
Sawbones has quit [Remote host closed the connection]
etqqkoiflwhb has quit [Ping timeout: 252 seconds]
omosoj has quit [Ping timeout: 240 seconds]
crzrcn has joined #ruby
etqqkoiflwhb has joined #ruby
pwh has quit [Ping timeout: 276 seconds]
Sawbones has joined #ruby
jdahm_ has left #ruby [#ruby]
claymore has quit [Quit: Leaving]
pwh has joined #ruby
x77686d has joined #ruby
Sawbones has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
ping-pong has quit [Read error: Operation timed out]
quitobro has quit []
etqqkoiflwhb has quit [Ping timeout: 276 seconds]
Lightsword has joined #ruby
Celm has joined #ruby
shashank_rs has quit [Ping timeout: 252 seconds]
etqqkoiflwhb has joined #ruby
HashNuke has quit [Quit: Connection closed for inactivity]
doodlehaus has quit [Remote host closed the connection]
Celm has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Lewix has joined #ruby
emaxi has joined #ruby
pwh has quit []
kevinykchan has joined #ruby
nisstyre has joined #ruby
yubrew has joined #ruby
<banister_> Mon_Ouie what're you working on in C?
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
koderok has quit [Ping timeout: 252 seconds]
ping-pong has joined #ruby
emaxi has quit [Ping timeout: 276 seconds]
eynj has joined #ruby
yubrew has quit [Ping timeout: 276 seconds]
mansi has quit [Ping timeout: 252 seconds]
timonv has joined #ruby
tectonic has quit []
amundj has quit [Ping timeout: 245 seconds]
amundj has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
red234324 has quit [Quit: Leaving]
kirun has quit [Quit: Client exiting]
timonv has quit [Remote host closed the connection]
Martxel_ has joined #ruby
senayar has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
tjsousa has joined #ruby
blackmesa has joined #ruby
Martxel has quit [Ping timeout: 240 seconds]
ironsand has joined #ruby
twiceaday has quit [Ping timeout: 240 seconds]
i_s has joined #ruby
shashank_rs has joined #ruby
diegoviola has joined #ruby
zcreative has joined #ruby
iamcalledrob has joined #ruby
twiceday has joined #ruby
blackmes1 has joined #ruby
i_s has quit [Ping timeout: 250 seconds]
havenwood has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
klaut has quit [Remote host closed the connection]
screen_da_youth has quit [Quit: Leaving]
seaned has quit [Quit: Zzzzzz....]
TaxmanBD has joined #ruby
Gilles has joined #ruby
pwh has joined #ruby
nateberkopec has quit [Quit: Leaving...]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
quitobro has joined #ruby
sailias has joined #ruby
kitak has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
BaconOverflow has quit [Quit: Connection closed for inactivity]
chipotle has joined #ruby
kitak has joined #ruby
metamaterial has quit [Ping timeout: 272 seconds]
jamto11 has quit [Remote host closed the connection]
KanKava has joined #ruby
noop has quit [Ping timeout: 250 seconds]
jamto11 has joined #ruby
Royalb15_Laptop has joined #ruby
ktosiek has joined #ruby
SilkFox_ has quit [Ping timeout: 246 seconds]
tuxtgz has joined #ruby
metamaterial has joined #ruby
andrewlio has joined #ruby
zcreative has quit [Quit: Computer has gone to sleep.]
mcclurmc has joined #ruby
Cache_Money has joined #ruby
sailias has quit [Ping timeout: 250 seconds]
Lightsword_ has joined #ruby
endash has quit [Quit: endash]
nateberkopec has quit [Quit: Leaving...]
robbyoconnor has quit [Max SendQ exceeded]
obs has joined #ruby
Lightsword has quit [Ping timeout: 252 seconds]
Lightsword_ is now known as Lightsword
x77686d has quit [Ping timeout: 250 seconds]
robbyoconnor has joined #ruby
centrx has joined #ruby
centrx has quit [Client Quit]
Celm has joined #ruby
emaxi has joined #ruby
centrx has joined #ruby
helpD has joined #ruby
<Lightsword> how would I go about printing a gs1_128 barcode from ruby to a brother network label printer? I found this but don't know how to interface it with my printer https://github.com/toretore/barby
yubrew has joined #ruby
Fretta has quit [Quit: Fretta]
grieg has quit [Ping timeout: 276 seconds]
Celm has quit [Ping timeout: 240 seconds]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
caleb_io has quit [Quit: caleb_io]
emaxi has quit [Ping timeout: 250 seconds]
deric_skibotn has quit [Ping timeout: 252 seconds]
yubrew has quit [Ping timeout: 252 seconds]
eynj has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
pika_pika has joined #ruby
AlexRussia has quit [Ping timeout: 240 seconds]
<Xeago> does anyone here have a standing mat?
<Xeago> for a standing desk obviously?
<Xeago> Could you tell me your experience and tips to look out for when finding a mat?
AlexRussia has joined #ruby
froy has quit [Ping timeout: 245 seconds]
pen has quit []
aspiers has quit [Ping timeout: 252 seconds]
djbender has joined #ruby
djbender has quit [Client Quit]
eynj has joined #ruby
<shevy> a standing mat?
<shevy> is that a mat that stands?
<shevy> I have the classical setup - table, computer, mouse, keyboard, rollable chair
aspiers has joined #ruby
<shevy> and some protection below that chair so the wooden floor isn't damaged
sigurding has joined #ruby
Krajsnick has joined #ruby
no6 has quit [Ping timeout: 252 seconds]
b1nd has quit [Ping timeout: 245 seconds]
<apeiros> Xeago: tried the kybun mat from my mom for a while with a standing desk. was good. but I can't stand more than 1h per half day.
dingus_khan has joined #ruby
<Xeago> noticeable improvements?
<Xeago> as for reasons, I can't wear shoes at work
shashank_rs has quit [Ping timeout: 252 seconds]
<Xeago> (my feet get too sweaty, and then I can't focus)
<Xeago> so I don't wear shoes
JBreit has joined #ruby
shashank_rs has joined #ruby
<Xeago> that is a fokking expensive mat
<Xeago> shevy: I don't sit at my desk usually
<Xeago> I stand, for hours straight
<Xeago> I usually rest once before and after lunch
<Xeago> (or have a meeting)
<centrx> Why don't you just use the coat of an animal you hunted and killed with your bare hands
JBreit has left #ruby [#ruby]
jwhorto1 has quit [Ping timeout: 276 seconds]
<shevy> hmm
jamto11_ has joined #ruby
<Xeago> centrx: because it takes a long time to dry the hide
<apeiros> Xeago: felt good. nothing objectively better.
<Xeago> apeiros: thanks
jwhorto1 has joined #ruby
tuxtgz has quit [Ping timeout: 252 seconds]
zets has joined #ruby
<shevy> Xeago can't you wear some other kind of shoes? sandals? Slippers? flip-flops? kung-fu shoes?
Krajsnick has quit [Quit: Leaving...]
<Xeago> tried sandals, slippers and flipflops
shashank_rs has quit [Ping timeout: 252 seconds]
<Xeago> have spend almost 700 EUR on it
<Xeago> of which i expensed quite a bit :\
Hobogrammer has quit [Ping timeout: 252 seconds]
eynj has quit [Ping timeout: 245 seconds]
<Xeago> we've gotten to the point where I 'rent' a the footwear and try it out
<Xeago> not wearing anything solves the problem
<Xeago> so we thought a mat might do
<shevy> hmm
jamto11_ has quit [Ping timeout: 252 seconds]
Royalb15_Laptop has quit [Ping timeout: 276 seconds]
i_s has joined #ruby
nateberkopec has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
dingus_khan has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
eynj has joined #ruby
chrisja has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
i_s has quit [Ping timeout: 276 seconds]
dingus_khan has joined #ruby
b1nd has joined #ruby
bricker`LA has joined #ruby
havenwood has joined #ruby
chrisseaton has joined #ruby
gigetoo has quit [Remote host closed the connection]
mojo619 has joined #ruby
SonicX has quit [Ping timeout: 250 seconds]
gigetoo has joined #ruby
sigurding has quit [Ping timeout: 250 seconds]
sigurding_ has joined #ruby
tuxtgz has joined #ruby
shime has joined #ruby
Hobogrammer has joined #ruby
Atrumx has quit [Quit: Leaving]
armstrjare has quit [Ping timeout: 245 seconds]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Shidash has quit [Ping timeout: 250 seconds]
dapz has joined #ruby
havenwood has quit [Ping timeout: 276 seconds]
dingus_khan has quit [Remote host closed the connection]
WilfredTheGreat has quit [Read error: Connection reset by peer]
SonicX has joined #ruby
metamaterial has quit [Quit: Leaving.]
dingus_khan has joined #ruby
freerobby has joined #ruby
dapz has quit [Client Quit]
ktosiek has quit [Ping timeout: 276 seconds]
evenix has joined #ruby
sigurding_ has quit [Quit: sigurding_]
pskosinski has quit [Ping timeout: 272 seconds]
twiceaday has joined #ruby
pskosinski has joined #ruby
SilkFox_ has joined #ruby
jacky has quit [Excess Flood]
cfurrow has joined #ruby
Asher has joined #ruby
dingus_khan has quit [Ping timeout: 250 seconds]
tuxtgz has quit [Ping timeout: 250 seconds]
near77 has quit [Quit: Page closed]
twiceday has quit [Ping timeout: 276 seconds]
deric_skibotn has joined #ruby
nateberkopec has joined #ruby
jackyalcine has joined #ruby
camilasan has quit [Quit: Konversation terminated!]
SilkFox has quit [Ping timeout: 252 seconds]
SilkFox_ has quit [Ping timeout: 245 seconds]
emaxi has joined #ruby
yubrew has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby
v4n has joined #ruby
mrmargolis has joined #ruby
metamaterial has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
<dmarr> anyone able to help troubleshoot boxen with me? http://danceb.in/5B5USNXI4xGLaM0yvseTbw it bundle installs correctly then complains about json-1.8.1 which appears when i gem list
<dmarr> also my local rbenv may be to blame, its using 1.9.3 but from that error its trying to install in 2.0.0
emaxi has quit [Ping timeout: 245 seconds]
kenndel_ has quit [Read error: Connection reset by peer]
kenndel_ has joined #ruby
<cfurrow> dmarr: what is the output when you type 'rbenv version'?
mojo619 has quit [Quit: mojo619]
mojo619 has joined #ruby
yubrew has quit [Ping timeout: 276 seconds]
jwhorto1 has quit [Ping timeout: 240 seconds]
<cfurrow> you may not be setting your ruby version where you are bundling. (https://github.com/sstephenson/rbenv#choosing-the-ruby-version)
mojo619 has quit [Client Quit]
jackyalcine has quit [Excess Flood]
mojo619 has joined #ruby
ringaring has joined #ruby
<dmarr> yeah i guess I could set it with RBENV_VERSION
quitobro has quit [Remote host closed the connection]
<cfurrow> yeah, that or with the .ruby-version file
<dmarr> but from that repo im trying to install (boxen) you can see it already sets the version to system
quitobro has joined #ruby
arubin has joined #ruby
tuxtgz has joined #ruby
jackyalcine has joined #ruby
<cfurrow> so what happens when you set RBENV_VERSION?
ringaring has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
no6 has joined #ruby
quitobro has quit [Ping timeout: 240 seconds]
R33C3 has joined #ruby
cover has quit [Remote host closed the connection]
metamaterial has quit [Quit: Leaving.]
<rdgawdzi> Say I have a character in Ruby, c. (Which really is a string). Is there basically no way to get it's predessesor?
mansi has joined #ruby
kalyx has joined #ruby
<cfurrow> dmarr: that is pretty shitty that boxen relies on 'system', instead of a version. could you try to set the .ruby-version to what you want, and try again?
mojo619 has quit [Quit: mojo619]
mostlybadfly has quit [Quit: Connection closed for inactivity]
<cfurrow> rdgawdzi: what are you asking for? a string "c" and you want what?
<rdgawdzi> If I have a string "c", how do I get "b", or "a"?
<rdgawdzi> How do I generate an ascii table in Ruby?
<rdgawdzi> How can I create characters from integers?
<cfurrow> I don't think ruby has any concept of the english alphabet in that way. You'd have to have an array that it could use.
nateberkopec has joined #ruby
<cfurrow> dmarr: seems like it's still set to system?
mengu has quit [Remote host closed the connection]
<dmarr> when i ruby -v ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-darwin13.1.0]
<dmarr> but yeah teh output said its saving to 2.0.0.
<cfurrow> and .ruby-version is set to 1.9.3p545?
<dmarr> 1.9.3
mansi has quit [Ping timeout: 245 seconds]
caleb_io has joined #ruby
<Mon_Ouie> rdgawdzi: You can get the next character with #succ but not the previous one
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
etqqkoiflwhb has quit [Read error: Connection reset by peer]
<Mon_Ouie> You can use Integer#chr and String#ord to go from one representation to the other
<dmarr> same error when i set it to 1.9.3-p545
Hobogrammer has quit [Ping timeout: 245 seconds]
dingus_khan has joined #ruby
<cfurrow> dmarr: it still tries using the system ruby 2.0.0 version? that's silly.
zachallett has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
<dmarr> yeah
mercwithamouth has quit [Ping timeout: 276 seconds]
Lightsword has quit [Ping timeout: 252 seconds]
etqqkoiflwhb has joined #ruby
metamaterial has joined #ruby
phantasm66 has joined #ruby
<cfurrow> dmarr: gross. maybe try that suggestion and see what happens?
nateberkopec has joined #ruby
nateberkopec has quit [Read error: No route to host]
nateberkopec has joined #ruby
etqqkoiflwhb has quit [Client Quit]
etqqkoiflwhb has joined #ruby
nisstyre has quit [Quit: bai]
kalyx has quit [Quit: Leaving]
<dmarr> soo difficult getting that working
chrisseaton has quit []
nateberkopec has quit [Ping timeout: 240 seconds]
i_s has joined #ruby
etqqkoiflwhb has quit [Ping timeout: 276 seconds]
Steve445 has joined #ruby
chipotle has quit [Quit: cya]
rylev has joined #ruby
<Steve445> Why doesnt DateTime.Commercial support 0-53 for week numbers?
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amclain has quit [Quit: Leaving]
<Steve445> How does ruby deal with: Weeks begin on Sundays, and week 1 begins with the first Sunday of the year. Days preceding the first Sunday of the year are in week 0.
ixti has joined #ruby
tacos1de_ has quit [Ping timeout: 272 seconds]
robert_ has quit [Read error: Connection reset by peer]
i_s has quit [Ping timeout: 240 seconds]
robert_ has joined #ruby
robert_ has quit [Changing host]
robert_ has joined #ruby
chrisseaton has joined #ruby
pwh has quit []
<myke> Steve445: there's actually iso standars for these things...they're not as obvious as you may think
<myke> for one thing, the first day of a new year may not be in the first week of that year
<Steve445> yes. Thats why its 0 to 53 not 1 to 52
<myke> usually both 0 and 7 are sunday
<myke> unless you're in a locale where weeks start on monday instead of sunday
tuxtgz has quit [Read error: Connection reset by peer]
deric_skibotn has quit [Ping timeout: 252 seconds]
<Steve445> Week 0 is the time Between Sunday and the start of the new year
<Steve445> example: year starts on Jan 1 which is a Wed
<Steve445> Week 0 would be Sunday to Tuesday
tacos1de has joined #ruby
<Steve445> Week 1 is Wed to Sunday
<Steve445> or sat
<myke> if it doesn't work exactly like that...it's wrong
tuxtgz has joined #ruby
r_rios has quit [Ping timeout: 252 seconds]
<Steve445> The problem is this should work: DateTime.commerdial(2013, 00)
havenwood has joined #ruby
speakingcode has joined #ruby
<Steve445> DateTime.commercial(2013, 00)
<Steve445> or even DateTime.commercial(2014, 00)
phoo1234567 has quit [Quit: Leaving]
<myke> hmm...i don't see week 0 defined actually
Gilles has quit [Remote host closed the connection]
<myke> tho you could subtract 7 days from jan 1st of the desired year and then calculate what week of the previous year that is...either 52 or 53
tuxtgz has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
<Steve445> its weird cause in Strftime under %U its defined with 00 - 53
havenwood has quit [Ping timeout: 252 seconds]
zachallett has quit [Remote host closed the connection]
freerobby has joined #ruby
<Steve445> Date has a different explanation. May be the issue: http://www.ruby-doc.org/stdlib-2.1.1/libdoc/date/rdoc/Date.html#method-c-commercial
mercwithamouth has joined #ruby
<Steve445> Part of the issue is .Commercial is not using Sunday as first day of week!
caleb_io has quit [Quit: caleb_io]
r_rios has joined #ruby
tonni_ has joined #ruby
RowdyChildren is now known as RowdyChild|Away
emaxi has joined #ruby
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby
tonni has quit [Ping timeout: 246 seconds]
freerobby has quit [Ping timeout: 276 seconds]
yubrew has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
jwhorto1 has joined #ruby
TaxmanBD has quit [Quit: Leaving]
quitobro has joined #ruby
emaxi has quit [Ping timeout: 240 seconds]
dingus_khan has quit [Ping timeout: 245 seconds]
<shevy> anyone happens to know if it is bad if I do .getbinaryfile() via ruby ftp on a text file? would it be corrupted?
yubrew has quit [Ping timeout: 276 seconds]
<canton7> the binary/text distinction is only whether to convert line endings, iirc
mostlybadfly has joined #ruby
<canton7> so binary on a text file is fine - you might end up with the wrong line endings, but that's not the end of the world
<canton7> you get the file as it is on the remote server
<canton7> getting a binary file as text is a different story
marcdel_ has quit [Ping timeout: 258 seconds]
enebo has joined #ruby
rylev has quit [Remote host closed the connection]
marcdel has joined #ruby
Lewix has quit [Remote host closed the connection]
zcreative has joined #ruby
jwhorto1 has quit [Read error: Connection reset by peer]
jwhorto1 has joined #ruby
jackyalcine is now known as jacky
diegoviola has quit [Ping timeout: 250 seconds]
diegovio1 has joined #ruby
<shevy> ah ok
diegovio1 is now known as diegoviola
<shevy> so if the target is text it seems less stringent than if the target is a binary file
Celm_ has joined #ruby
tuxtgz has joined #ruby
Lewix has joined #ruby
babykosh has quit [Ping timeout: 276 seconds]
<canton7> so as long as you transfer in binary mode, everything's safe
kyb3r_ has joined #ruby
<canton7> if you transfer text files in text mode, you get some advantages (if you see tham as advantages). if you transfer binary files in text mode, you're stuffed
marr has joined #ruby
kaspergrubbe has joined #ruby
havenwood has joined #ruby
<shevy> hehe
nfk has quit [Remote host closed the connection]
metamaterial has quit [Remote host closed the connection]
b1nd has quit [Ping timeout: 252 seconds]
kaspergr_ has quit [Ping timeout: 240 seconds]
metamaterial has joined #ruby
Xeago has quit [Remote host closed the connection]
kaspergrubbe has quit [Ping timeout: 240 seconds]
matchaw has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 250 seconds]
Steve445 has quit [Quit: Steve445]
Milly_Bays has quit [Ping timeout: 240 seconds]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
dik_dak has joined #ruby
jwhorto1 has quit [Ping timeout: 245 seconds]
quitobro has quit [Remote host closed the connection]
mehlah has joined #ruby
BSaboia has quit [Ping timeout: 245 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maletor has joined #ruby
nfk has joined #ruby
matchaw has joined #ruby
funktor has joined #ruby
tuxtgz has quit [Ping timeout: 276 seconds]
nateberkopec has joined #ruby
kalyx has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
quitobro has joined #ruby
jamto11_ has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
nfk has quit [Quit: yawn]
GlenK has joined #ruby
eynj1 has joined #ruby
jamto11_ has quit [Ping timeout: 252 seconds]
emaxi has joined #ruby
eynj has quit [Ping timeout: 250 seconds]
jwhorto1 has joined #ruby
i_s has joined #ruby
nfk has joined #ruby
randomnick_ has quit [Quit: Leaving]
RowdyChild|Away is now known as RowdyChildren
i_s has quit [Ping timeout: 250 seconds]
enebo has quit [Quit: enebo]
Geniack has joined #ruby
lkba has quit [Ping timeout: 276 seconds]
metamaterial has quit [Quit: Leaving.]
iamjarvo has joined #ruby
Shidash has joined #ruby
bradhe has quit [Remote host closed the connection]
workmad3 has joined #ruby
aspires has quit []
b1nd has joined #ruby
bradhe has joined #ruby
Geniack_ has quit [Ping timeout: 245 seconds]
rm_ has joined #ruby
bricker`LA has quit [Ping timeout: 250 seconds]
tar56 has joined #ruby
<tar56> Does anyone know of any free web hosting services with free SSL support
bradhe has quit [Ping timeout: 252 seconds]
Celm_ has quit [Remote host closed the connection]
Celm has joined #ruby
einarj has quit [Remote host closed the connection]
akonny has quit [Quit: akonny]
jwhorto1 has quit [Quit: jwhorto1]
jwhorto1 has joined #ruby
DrShoggoth has joined #ruby
yubrew has joined #ruby
freerobby has joined #ruby
jonno11 has joined #ruby
matchaw has quit [Quit: No Ping reply in 180 seconds.]
obs has quit [Remote host closed the connection]
iamcalledrob has quit [Quit: Lingo - http://www.lingoirc.com]
DrShoggoth has quit [Read error: Connection reset by peer]
matchaw has joined #ruby
jamto11 has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
r_rios has quit [Ping timeout: 252 seconds]
jamto11 has joined #ruby
r_rios has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
jamto11 has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 250 seconds]
lkba has joined #ruby
marcdel has joined #ruby
R33C3 has quit [Quit: Leaving]
matchaw has quit [Quit: No Ping reply in 180 seconds.]
iamjarvo has quit [Ping timeout: 240 seconds]
<shevy> not really
v4n has quit [Remote host closed the connection]
matchaw has joined #ruby
marr has quit []
freerobby has joined #ruby
matchaw has quit [Read error: Connection reset by peer]
b1nd has quit [Ping timeout: 250 seconds]
andrewlio has quit [Quit: Leaving.]
bogeyd6 has quit [Ping timeout: 240 seconds]
matchaw has joined #ruby
zets has quit [Ping timeout: 276 seconds]
shime has quit [Ping timeout: 240 seconds]
b1nd has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
timonv has joined #ruby
lmickh has joined #ruby
Soda has quit [Remote host closed the connection]
codebro has joined #ruby
matchaw has quit [Ping timeout: 240 seconds]
timonv has quit [Ping timeout: 240 seconds]
matchaw has joined #ruby
bradhe has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby
havenwood has joined #ruby
jacky has quit [Excess Flood]