apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p286: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
BigO has joined #ruby
<workmad3> shevy: I've used things that use openssl so I know it's possible, but I've never done the SSL connection myself (but I'm aware that starting the session can be a bit tricky)
g0bl1n has joined #ruby
pac1 has joined #ruby
etcetera has quit [Ping timeout: 248 seconds]
nat2610 has quit [Quit: Leaving.]
schwap has joined #ruby
voodoofish430 has quit [Quit: Leaving.]
etcetera has joined #ruby
skaczor has quit [Quit: Leaving]
swex has quit [Read error: Connection reset by peer]
SCommette has joined #ruby
SCommette has quit [Client Quit]
emergion has joined #ruby
nateberkopec has quit [Quit: Leaving...]
swex has joined #ruby
kiyoura has joined #ruby
kil0byte has joined #ruby
Nisstyre-laptop has joined #ruby
g0bl1n has quit [Ping timeout: 260 seconds]
Cadwallion has quit [Ping timeout: 252 seconds]
havenn has quit [Ping timeout: 260 seconds]
chrisbolton has quit [Quit: chrisbolton]
havenn has joined #ruby
J-_-L has joined #ruby
Schmidt has quit [Ping timeout: 246 seconds]
derpops has quit []
Tuxist has quit [Remote host closed the connection]
BigO has quit [Remote host closed the connection]
xcvd`` has quit [Read error: Connection reset by peer]
dmerrick has quit [Quit: dmerrick]
kil0byte has quit [Read error: Connection reset by peer]
kil0byte has joined #ruby
manizzle has quit [Ping timeout: 264 seconds]
BadProphet has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 276 seconds]
codeFiend has quit [Remote host closed the connection]
codeFiend has joined #ruby
awarner has quit [Remote host closed the connection]
mrsolo has quit [Quit: Leaving]
jrist is now known as jrist-afk
_set has joined #ruby
LouisGB has quit [Ping timeout: 252 seconds]
<_set> is there any equivalent "die" commant in ruby?
LouisGB has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
havenn_ has joined #ruby
<_set> something that totally ends execution?
<ddd> abort probably
<ddd> or exit
Jasko has joined #ruby
havenn has quit [Ping timeout: 264 seconds]
Schmidt has joined #ruby
havenn_ has quit [Read error: Connection reset by peer]
havenn has joined #ruby
codezombie has quit [Quit: Linkinus - http://linkinus.com]
<apeiros_> `kill -9 #{$$}`
<apeiros_> pretty effective ^^
<apeiros_> but yes, exit! and abort are the usual suspects
<apeiros_> (look up the difference between Kernel#exit and exit!)
Averna has joined #ruby
<apeiros_> @ _set
chimkan has joined #ruby
mark_locklear has quit [Ping timeout: 260 seconds]
manizzle has joined #ruby
aa10123 has joined #ruby
jaygen has quit [Remote host closed the connection]
atmosx_ has joined #ruby
atmosx has quit [Ping timeout: 276 seconds]
jhunter has quit [Quit: leaving]
chimkan has quit [Quit: chimkan]
emergion has quit [Quit: Computer has gone to sleep.]
ephemerian has left #ruby [#ruby]
robotmay has quit [Remote host closed the connection]
trevortwining has joined #ruby
codeFiend has quit [Quit: codeFiend]
Xeago has quit [Remote host closed the connection]
xAndy is now known as xandy
senj has quit [Ping timeout: 255 seconds]
jblack has joined #ruby
aa10123 has quit [Quit: Quit]
J-_-L has quit [Quit: Leaving.]
passbe has quit [Quit: WeeChat 0.3.9.1]
nateberkopec has joined #ruby
jlwestsr has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
atmosx_ has quit [Remote host closed the connection]
jhunter has joined #ruby
dpatel has quit [Quit: dpatel]
bpfh has quit [Quit: Saindo]
Goles has joined #ruby
tomsthumb1 has joined #ruby
tomsthumb has quit [Read error: Connection reset by peer]
thone_ has joined #ruby
axl_ has quit [Quit: axl_]
joeycarm_ has quit [Remote host closed the connection]
kalleth has quit [Ping timeout: 248 seconds]
aantix_ has joined #ruby
kalleth has joined #ruby
thone has quit [Ping timeout: 252 seconds]
atmosx_ has joined #ruby
jblack has quit [Ping timeout: 240 seconds]
aantix has quit [Ping timeout: 260 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
jhunter has quit [Quit: leaving]
aantix_ has quit [Ping timeout: 240 seconds]
tomsthumb1 has quit [Ping timeout: 252 seconds]
Tuxist has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
jhunter has joined #ruby
d2dchat has joined #ruby
g_bleezy has joined #ruby
jhunter has quit [Quit: leaving]
nkts has joined #ruby
nesoi has joined #ruby
apok_ has joined #ruby
<nesoi> hello
<nesoi> I just pulled a piece of code out of a larger thing I'd written and it's giving me this error. What should I be looking for? %: unnumbered(1) mixed with named (ArgumentError)
<nesoi> it's within a heredoc
<nesoi> which seems odd
g_bleezy has quit [Ping timeout: 260 seconds]
apok has quit [Ping timeout: 246 seconds]
apok_ is now known as apok
tjbiddle has quit [Quit: tjbiddle]
<heftig> nesoi: % complains about the format string
<nesoi> I don't think I have a format string heftig
<heftig> yes you do
<nesoi> well, I cut it out of a working program, which doesn't give an error
<nesoi> so I'm confused
jgrevich_ has joined #ruby
jhunter has joined #ruby
<nesoi> what should I look for?
<nesoi> the line it lists is a blank line within the heredoc btw
atmosx_ has quit [Ping timeout: 276 seconds]
LouisGB has quit [Ping timeout: 240 seconds]
clj_newb has quit [Ping timeout: 276 seconds]
<nesoi> heftig: any hints?
<nesoi> totally baffled
<heftig> nesoi: you're mixing plain (%d) and named (%{foobar}d) format sequences
jgrevich has quit [Ping timeout: 244 seconds]
jgrevich_ is now known as jgrevich
<nesoi> heftig: , I don't have a % anywhere in my code
tyfighter has quit [Quit: tyfighter]
<nesoi> except as text
hotovson has joined #ruby
<heftig> #{} sequences?
<nesoi> yeah I have those
<heftig> those contain code
<nesoi> ok, but they work in the program I took this snippet from, using the same variable names, all of which I declare before the heredoc
<heftig> can't help you without seeing code, sorry
<heftig> maybe reduce your code to an example that shows the problem
love_color_text has quit [Ping timeout: 276 seconds]
Tuxist has quit [Read error: Connection reset by peer]
friskd has joined #ruby
tommyvyo has joined #ruby
Tuxist has joined #ruby
trevortwining has quit [Quit: trevortwining]
swarley has quit [Ping timeout: 252 seconds]
gridaphobe has quit [Ping timeout: 252 seconds]
riley526 has quit [Remote host closed the connection]
c0rn has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
alexim_ has quit [Quit: sleep]
joeycarmello has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
<nesoi> heftig : I tried reducing it and the problem disappears
<heftig> as i said, it's because you're mixing two styles of format sequences
<heftig> remove either, and the problem disappears
bradhe has quit [Remote host closed the connection]
<nesoi> heftig : the thing is, I didn't change any formatting in the heredoc which is giving the problem
stephenjudkins has quit [Quit: stephenjudkins]
tvw has quit [Remote host closed the connection]
Retistic has quit [Quit: Retistic]
GranMal has joined #ruby
bradhe has joined #ruby
love_color_text has joined #ruby
hotovson has quit [Remote host closed the connection]
<nesoi> heftig : I now made an identical file to the one causing the error message, and it works with no error. wtf?
c0rn has quit [Quit: Computer has gone to sleep.]
<heftig> don't know.
<nesoi> oh.
Raboo has joined #ruby
<nesoi> the wrong file was linked. nevermind :(
bradhe has quit [Remote host closed the connection]
savage- has quit [Remote host closed the connection]
blazes816 has quit [Quit: blazes816]
Aiur has quit [Quit: Computer has gone to sleep.]
Aiur has joined #ruby
ejdyksen has quit []
smook has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
emmanuelux has joined #ruby
Trioke has quit [Quit: leaving]
banjara1 has quit [Read error: Connection reset by peer]
etcetera has quit [Quit: Computer has gone to sleep.]
dmiller has quit [Ping timeout: 246 seconds]
maletor has joined #ruby
ejdyksen has joined #ruby
jlwestsr has quit [Quit: Ex-Chat]
ascarpino has quit [Read error: Connection reset by peer]
freakazoid0223 has joined #ruby
jlwestsr has joined #ruby
joeycarmello has quit [Remote host closed the connection]
mattp_ has quit [Read error: Connection reset by peer]
ejdyksen has left #ruby [#ruby]
kil0byte has quit [Remote host closed the connection]
friskd has quit [Ping timeout: 240 seconds]
nesoi has quit [Read error: Connection reset by peer]
Zolrath has quit []
pkrnj has joined #ruby
pcarrier has joined #ruby
emergion has joined #ruby
Cadwallion has joined #ruby
manizzle has quit [Ping timeout: 240 seconds]
stephenjudkins has joined #ruby
mahmoudimus has joined #ruby
apok has quit [Remote host closed the connection]
apok has joined #ruby
statarb3 has quit [Quit: Leaving]
mattp_ has joined #ruby
dmiller has joined #ruby
Hanmac1 has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
<_set> what is the difference between {'foo'=>'bar', 'something'=>'else'} and {:foo =>'bar', :something = >'else'} ?
Hanmac has quit [Ping timeout: 246 seconds]
Tuxist has quit [Ping timeout: 246 seconds]
flip_digits has quit [Read error: Connection reset by peer]
maletor has quit [Quit: Computer has gone to sleep.]
<postmodern> _set, the first one uses Strings as keys
<postmodern> _set, second uses Symbols
<postmodern> _set, Symbols are like custom identifiers
<postmodern> _set, or unique Strings
xandy is now known as xAndy
yxhuvud has quit [Quit: Nettalk6 - www.ntalk.de]
jgrevich has quit [Read error: Operation timed out]
mercwithamouth has quit [Ping timeout: 256 seconds]
yxhuvud has joined #ruby
jgrevich has joined #ruby
mpereira has quit [Ping timeout: 255 seconds]
<_set> should read about this difference
<_set> thanx for the link
mpereira has joined #ruby
dmiller_ has joined #ruby
derpops has joined #ruby
manizzle has joined #ruby
dmiller has quit [Ping timeout: 246 seconds]
havenn has quit [Ping timeout: 240 seconds]
mascool has quit [Ping timeout: 265 seconds]
xAndy is now known as xandy
Retistic has joined #ruby
etcetera has joined #ruby
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
u89 has quit [Remote host closed the connection]
jrajav has joined #ruby
caleb_io has joined #ruby
k610 has quit [Ping timeout: 260 seconds]
quiliro has quit [Read error: Operation timed out]
caleb_io has quit [Client Quit]
xsbeats has quit [Ping timeout: 256 seconds]
joeycarmello has joined #ruby
friskd has joined #ruby
nari has joined #ruby
bricker has quit [Quit: leaving]
mercwithamouth has joined #ruby
BoomCow has quit [Quit: This computer has gone to sleep]
stephenjudkins has quit [Quit: stephenjudkins]
stephenjudkins has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apok_ has joined #ruby
ffranz has quit [Quit: Leaving]
havenn has joined #ruby
apok_ has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
quiliro has joined #ruby
apok has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Ping timeout: 255 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
robbyoconnor has joined #ruby
the_jeebster has quit [Quit: Leaving.]
joeycarmello has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
bradhe has quit [Ping timeout: 246 seconds]
ryanlecompte has joined #ruby
Ruler_Of_Heaven_ has joined #ruby
codezombie has joined #ruby
codezombie has quit [Remote host closed the connection]
pipopopo has quit [Ping timeout: 260 seconds]
F1skr has quit [Quit: WeeChat 0.3.9.1]
ryanlecompte has quit [Remote host closed the connection]
stephenjudkins has quit [Quit: stephenjudkins]
cakehero has quit [Quit: Computer has gone to sleep.]
kil0byte has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
neurotech has joined #ruby
tjbiddle has joined #ruby
hotovson has joined #ruby
emmanuelux has quit [Quit: emmanuelux]
ryanlecompte has joined #ruby
hotovson has quit [Read error: No route to host]
hotovson has joined #ruby
paolooo has joined #ruby
chessguy has joined #ruby
joeycarmello has joined #ruby
hotovson has quit [Read error: No route to host]
havenn has quit [Ping timeout: 255 seconds]
linoj has joined #ruby
FredLe has quit [Read error: Operation timed out]
jackdanger has joined #ruby
gridaphobe has joined #ruby
cakehero has joined #ruby
jackdanger has quit [Client Quit]
brjannc has joined #ruby
haxrbyte has joined #ruby
freakazoid0223 has quit [Quit: Leaving]
haxrbyte_ has joined #ruby
joeycarmello has quit [Remote host closed the connection]
FredLe has joined #ruby
chessguy has quit [Remote host closed the connection]
jeff_sebring has quit [Quit: Leaving]
haxrbyte has quit [Ping timeout: 248 seconds]
GranMal has quit [Quit: GranMal]
BoomCow has joined #ruby
enderx86 has joined #ruby
fantazo_ has quit [Ping timeout: 264 seconds]
derpops has quit []
charliesome has joined #ruby
havenn has joined #ruby
CaptainJet has joined #ruby
pcarrier has quit []
passbe has joined #ruby
passbe has quit [Changing host]
passbe has joined #ruby
blazes816 has joined #ruby
kiyoura has quit [Quit: Leaving]
kiyoura has joined #ruby
BoomCow has quit [Quit: This computer has gone to sleep]
Shrink has joined #ruby
Shrink has quit [Changing host]
Shrink has joined #ruby
ddd has quit [Quit: Leaving.]
niklasb has quit [Ping timeout: 264 seconds]
BoomCow has joined #ruby
areil has joined #ruby
ejdyksen has joined #ruby
chessguy has joined #ruby
adeponte has quit [Remote host closed the connection]
alexshenoy has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
brah has quit [Ping timeout: 245 seconds]
slainer68 has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
ewag has joined #ruby
pac1 has quit [Quit: I got it one line of code at a time]
jlwestsr has quit [Ping timeout: 246 seconds]
dmiller_ has quit [Remote host closed the connection]
Arconiaprime has joined #ruby
nkts has quit []
v0n has joined #ruby
Retistic has quit [Quit: Retistic]
ryanf has joined #ruby
havenn has quit [Read error: No route to host]
Ducblangis has joined #ruby
Ducblangis has left #ruby [#ruby]
Rizzle has joined #ruby
IrishGringo has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
havenn has joined #ruby
ViperMaul|_ has quit [Ping timeout: 245 seconds]
aces23up has joined #ruby
linoj has quit [Quit: linoj]
kuzushi has joined #ruby
chessguy_ has joined #ruby
joeycarmello has joined #ruby
aces1up has quit [Ping timeout: 265 seconds]
chessguy has quit [Ping timeout: 246 seconds]
rohit has joined #ruby
sawu has joined #ruby
dmiller has joined #ruby
CaptainJet has quit []
swarley has joined #ruby
jarred_ has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
BoomCow has quit [Quit: This computer has gone to sleep]
jbermudes has joined #ruby
ryanf_ has joined #ruby
slainer68 has joined #ruby
tomoyuki28jp has joined #ruby
<tomoyuki28jp> How can I rvm install specific version of ruby? I want 1.9.3-p327.
<Spaceghostc2c> rvm
thinkdevcode has joined #ruby
<jbermudes> Why is Integer("07") ok but Integer("08") an exception?
ryanf has quit [Ping timeout: 246 seconds]
<heftig> jbermudes: because a leading zero denotes an octal integer
<heftig> that is, base eight
<apeiros_> Integer("08", 10) is ok too
<apeiros_> 1.9+
<jbermudes> Ah, yes. I remember running into that in JS too. D'oh!
pkrnj has quit [Ping timeout: 246 seconds]
tjbiddle has joined #ruby
<heftig> yes, explicitly specify the base if you can
<apeiros_> js has the same ability, parseInt("08", 10)
radic has quit [Disconnected by services]
radic_ has joined #ruby
swarley has quit [Read error: Connection reset by peer]
ryanf has joined #ruby
swarley has joined #ruby
joeycarmello has quit [Remote host closed the connection]
<jbermudes> Good idea, thanks.
slainer68 has quit [Ping timeout: 248 seconds]
Aiur has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ryanf_ has quit [Ping timeout: 265 seconds]
nari has quit [Ping timeout: 246 seconds]
BoomCow has joined #ruby
GranMal has joined #ruby
mahmoudimus has joined #ruby
aces1up has joined #ruby
stkowski has quit [Quit: stkowski]
sawu is now known as southerngothic
marcuspat has joined #ruby
aces23up has quit [Ping timeout: 245 seconds]
tjbiddle has quit [Quit: tjbiddle]
nari has joined #ruby
tomoyuki28jp has left #ruby ["ERC Version 5.2 (IRC client for Emacs)"]
cakehero has joined #ruby
ddd has joined #ruby
* dross yawns
kiyoura has quit [Quit: Leaving]
jrajav has quit [Quit: I tend to be neutral about apples]
ddd has quit [Quit: Leaving.]
braden`z has quit [Read error: Connection reset by peer]
ejdyksen has quit []
ddd has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
minijupe has joined #ruby
Soliah has joined #ruby
pcarrier has joined #ruby
havenn has quit [Ping timeout: 260 seconds]
x82_nicole has quit [Quit: Computer has gone to sleep.]
vectorshelve has joined #ruby
robbyoconnor has quit [Ping timeout: 246 seconds]
tk__ has joined #ruby
araujo has quit [Quit: Leaving]
Jasko has quit [Read error: Connection reset by peer]
tjbiddle has joined #ruby
Jasko has joined #ruby
UberNerdGirl_ has quit [Quit: Connection closed for inactivity]
tjbiddle has quit [Client Quit]
GranMal has quit [Quit: GranMal]
<vectorshelve> Hi :)
bwlang has joined #ruby
burgestrand has joined #ruby
blazes816 has quit [Quit: blazes816]
havenn has joined #ruby
BoomCow has quit [Quit: This computer has gone to sleep]
ryanlecompte has quit [Read error: Connection reset by peer]
ryanlecompte has joined #ruby
alexshenoy has quit [Quit: alexshenoy]
BrianJ has quit [Quit: BrianJ]
slainer68 has joined #ruby
Erfankam has joined #ruby
rohit has quit [Quit: Leaving]
jackdanger has joined #ruby
apok has joined #ruby
beachandbytes has joined #ruby
slainer68 has quit [Ping timeout: 252 seconds]
tjbiddle has joined #ruby
tjbiddle has quit [Client Quit]
nari has quit [Ping timeout: 246 seconds]
cakehero has joined #ruby
ryanf has quit [Quit: leaving]
andrewhl has quit [Remote host closed the connection]
<Beoran> I wonder if tehre is actually anyone who uses octal constants Binary and hexadecimal are useful, but octal....
joeycarmello has joined #ruby
<heftig> Beoran: unix file mode
falsetto has joined #ruby
<apeiros_> was just gonna say the same. but yeah, octal is rather rare IMO
osvico has quit [Ping timeout: 252 seconds]
bradhe has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
samphippen has joined #ruby
joeycarmello has quit [Ping timeout: 260 seconds]
mahmoudimus has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
cj3kim has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
arkiver has joined #ruby
d2dchat has quit [Remote host closed the connection]
fixl has joined #ruby
v0n has quit [Remote host closed the connection]
enderx86 has quit [Remote host closed the connection]
<vectorshelve> is there a way I can imporve this validation method ? https://gist.github.com/4093775
schaary has joined #ruby
schaary has quit [Client Quit]
cj3kim has quit [Quit: This computer has gone to sleep]
sepp2k has joined #ruby
ZubKonst has joined #ruby
havenn_ has joined #ruby
havenn has quit [Ping timeout: 252 seconds]
joofsh has quit [Remote host closed the connection]
ZubKonst_ has quit [Ping timeout: 246 seconds]
pyx has quit [Ping timeout: 268 seconds]
swarley has quit [Ping timeout: 255 seconds]
swarley has joined #ruby
joeycarmello has joined #ruby
answer_42 has joined #ruby
bradhe has quit [Remote host closed the connection]
answer_42 has quit [Client Quit]
stayarrr has joined #ruby
monkegji_ has quit [Remote host closed the connection]
<jackdanger> vectorshelve: Github tells me that gist has been deleted. You sure that's the righ tlink?
chessguy_ has quit [Remote host closed the connection]
<vectorshelve> jackdanger: https://gist.github.com/4093865
<vectorshelve> jackdanger: you can comment on it your version
arkiver has quit [Quit: Leaving]
chessguy has joined #ruby
chessguy has quit [Remote host closed the connection]
chessguy has joined #ruby
aharris6 has joined #ruby
EyesIsMine has joined #ruby
apok has quit [Quit: apok]
<jackdanger> vectorshelve: a refactoring: https://gist.github.com/4093882
chessguy has quit [Remote host closed the connection]
jgrevich_ has joined #ruby
joeycarmello has quit [Remote host closed the connection]
<vectorshelve> jackdanger: thanks
<vectorshelve> jackdanger: u can delete your gist now :)
paolooo has quit [Quit: Page closed]
jgrevich has quit [Ping timeout: 252 seconds]
jgrevich_ is now known as jgrevich
tjbiddle has joined #ruby
minijupe has quit [Quit: minijupe]
minijupe has joined #ruby
cirwin has joined #ruby
Mon_Ouie has joined #ruby
jekotia has quit [Quit: sleeeeeeeeeeeeeeeeeeeeeeeeeeeep (2am D: )]
etcetera has quit [Quit: Computer has gone to sleep.]
perlsyntax has joined #ruby
minijupe has quit [Client Quit]
tjbiddle has quit [Quit: tjbiddle]
southerngothic has quit [Quit: Computer has gone to sleep.]
Soliah has quit [Quit: Soliah]
rakl has joined #ruby
BoomCow has joined #ruby
sawu has joined #ruby
wargasm has quit [Ping timeout: 268 seconds]
jaygen has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
Mon_Ouie has joined #ruby
answer_42 has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
gphillips has joined #ruby
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
visof has quit [Quit: Lost terminal]
cakehero has quit [Quit: Computer has gone to sleep.]
Nisstyre-laptop has quit [Quit: Leaving]
gphillips has quit [Remote host closed the connection]
wargasm has joined #ruby
jackdanger has quit [Quit: Leaving.]
jeff_sebring has joined #ruby
perlsyntax has left #ruby ["Leaving"]
ryanf has joined #ruby
nkts has joined #ruby
Apocalypse has quit [Ping timeout: 246 seconds]
havenn_ has quit [Read error: No route to host]
Soliah has joined #ruby
mercwithamouth has quit [Ping timeout: 276 seconds]
havenn has joined #ruby
Jeffferson has joined #ruby
falsetto has quit [Quit: Computer has gone to sleep.]
Jeffferson has quit [Remote host closed the connection]
Apocalypse has joined #ruby
ananthakumaran has quit [Ping timeout: 276 seconds]
aharris6 has quit [Remote host closed the connection]
adurity has joined #ruby
ananthakumaran has joined #ruby
marcuspat has quit [Quit: marcuspat]
sawu has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
hamed_r has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
u89 has joined #ruby
mahmoudimus has joined #ruby
bradhe has joined #ruby
nopolitica has joined #ruby
mahmoudimus has quit [Client Quit]
bradhe has quit [Ping timeout: 256 seconds]
beachandbytes has quit [Ping timeout: 255 seconds]
EyesIsMine is now known as duhidhudhuiaiwhd
duhidhudhuiaiwhd is now known as EyesIsMine
joeycarmello has joined #ruby
saneshark has joined #ruby
fyolnish has quit [Remote host closed the connection]
rakl has quit [Quit: sleeping]
joeycarmello has quit [Ping timeout: 246 seconds]
osvico has joined #ruby
adurity has quit [Remote host closed the connection]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
Chryson has joined #ruby
aces23up has joined #ruby
u89 has quit [Remote host closed the connection]
aces1up has quit [Ping timeout: 244 seconds]
osvico has quit [Ping timeout: 268 seconds]
thinkdevcode has quit [Remote host closed the connection]
u89 has joined #ruby
eldariof has joined #ruby
chussenot has joined #ruby
elkclone has joined #ruby
chussenot has left #ruby [#ruby]
ascarpino has joined #ruby
ascarpino has quit [Changing host]
ascarpino has joined #ruby
robbyoconnor has joined #ruby
pavilionXP has quit [Ping timeout: 252 seconds]
robbyoconnor has quit [Read error: Operation timed out]
robbyoconnor has joined #ruby
swarley has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
Beoran_ has joined #ruby
shtirlic has joined #ruby
saneshark has quit []
eldariof has quit []
Beoran has quit [Ping timeout: 265 seconds]
Nisstyre-laptop has joined #ruby
casheew has quit [Read error: Connection reset by peer]
havenn has quit [Ping timeout: 252 seconds]
casheew has joined #ruby
eldariof has joined #ruby
Guest92676 has joined #ruby
eldariof has quit [Client Quit]
casheew has quit [Read error: Connection reset by peer]
rakunHo has quit [Remote host closed the connection]
k610 has joined #ruby
casheew has joined #ruby
u89 has quit [Remote host closed the connection]
jackdanger has joined #ruby
jgrevich has quit [Quit: jgrevich]
k610 has quit [Ping timeout: 265 seconds]
icooba has joined #ruby
arya has joined #ruby
eldariof has joined #ruby
arya has quit [Client Quit]
shtirlic_ has joined #ruby
frogstarr78 has quit [Read error: Operation timed out]
jarred_ has quit [Quit: jarred_]
kstephens has quit [Ping timeout: 246 seconds]
emergion has joined #ruby
frogstarr78 has joined #ruby
kstephens has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
hotovson has joined #ruby
arya has joined #ruby
fantazo_ has joined #ruby
arya has quit [Ping timeout: 244 seconds]
tvw has joined #ruby
slainer68 has joined #ruby
shtirlic has quit [Remote host closed the connection]
BoomCow has quit [Quit: This computer has gone to sleep]
davidcelis has joined #ruby
arya has joined #ruby
Soliah has quit [Quit: Soliah]
slainer68 has quit [Ping timeout: 248 seconds]
cmarques has quit [Ping timeout: 264 seconds]
cibs has quit [Quit: leaving]
cibs has joined #ruby
arya has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
Guest92676 has quit [Quit: Guest92676]
swex has quit [Read error: Operation timed out]
jedrek has joined #ruby
jedrek has left #ruby [#ruby]
swex has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
Hanmac1 is now known as Hanmac
jackdanger has quit [Quit: Leaving.]
arietis has joined #ruby
nopolitica has quit [Ping timeout: 268 seconds]
Guest92676 has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
lurch_ has left #ruby [#ruby]
hamed_r has quit [Ping timeout: 246 seconds]
Slivka has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
Slivka has joined #ruby
love_color_text has quit [Remote host closed the connection]
Jdubs_ has joined #ruby
aces1up has joined #ruby
aces23up has quit [Ping timeout: 255 seconds]
chussenot has joined #ruby
<vectorshelve> if @item.class.to_s == Idea.to_s || @item.content.class.to_s == Idea.to_s is there a way to shorten this ?
<cirwin> if @item.is_a?(Idea) || @item.content.is_a?(Idea) ?
Drewch has quit [Ping timeout: 246 seconds]
nopolitica has joined #ruby
gridaphobe has quit [Ping timeout: 246 seconds]
BoomCow has joined #ruby
<vectorshelve> cirwin: thanks
Nisstyre-laptop has quit [Quit: Leaving]
KevinSjoberg has joined #ruby
love_color_text has joined #ruby
psycho_one has joined #ruby
nopolitica has quit [Quit: Lost terminal]
psycho_one has quit [Quit: Bye]
kriyem has joined #ruby
psycho_one has joined #ruby
<vectorshelve> cirwin: can?(:read, idea) I want to add share also to it ? can I do something like can?(:read, idea)
kriyem has left #ruby [#ruby]
<cirwin> dunno, where does the can? function come from?
psycho_one has quit [Client Quit]
psycho_one has joined #ruby
<vectorshelve> cirwin: https://gist.github.com/4094582 I have to retain the same block for share also ?
<cirwin> vectorshelve: I don't know this stuff, sorry
<vectorshelve> cirwin: something like
<vectorshelve> ok
lkba has quit [Ping timeout: 260 seconds]
cobra-the-joker has joined #ruby
psycho_one has quit [Client Quit]
workmad3 has joined #ruby
<Jdubs_> vectorshelve, what's the problem? i wasn't pay9ing attention
cirwin has quit [Ping timeout: 246 seconds]
Nisstyre-laptop has joined #ruby
monkegjinni has joined #ruby
<vectorshelve> Jdubs_: solved it thanks
<Jdubs_> vectorshelve np
<vectorshelve> Jdubs_: https://gist.github.com/4094608 anyway I can remove the redundancy in the code ?
psycho_one has joined #ruby
<Jdubs_> vectorshelve, i'll take a look
<vectorshelve> Jdubs_: thanks :)
<vectorshelve> Jdubs_: u can comment ur code to my gist
<Jdubs_> vectorshelve you could break it up into a method somewhere else that determines what it's being called on and acts accordingly
<Jdubs_> as in, determines if it's an idea or share being submitted
<vectorshelve> Jdubs_: ok
<Jdubs_> then does the rest
<Jdubs_> do you know what i mean?
Soliah has joined #ruby
<vectorshelve> Jdubs_: a separate method on whether item is share or idea
goraxe has joined #ruby
<Jdubs_> if var.is_a(Idea) etc
<Jdubs_> and just have each section call that method
<vectorshelve> Jdubs_: sure.. will do that thanks :)
<Jdubs_> no prob
<Jdubs_> :)
<vectorshelve> Jdubs_: i think that way I can improve the block now
<Jdubs_> That's really good that you are trying to lower your redundancy
<Jdubs_> That's something I'm learning a lot about lately as well
wallerdev has quit [Quit: wallerdev]
shtirlic has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
punkrawkR has joined #ruby
Nisstyre-laptop has quit [Ping timeout: 260 seconds]
jmccune has quit [Ping timeout: 260 seconds]
jmccune has joined #ruby
justinweiss has quit [Ping timeout: 276 seconds]
<vectorshelve> Jdubs_: ruby has this magic of bringing down 10 lines to 4 lines stuff :)
<Jdubs_> yeah it's really awesome
<Jdubs_> :)
<vectorshelve> Jdubs_: its an art u master over a period of time
shtirlic has quit [Ping timeout: 264 seconds]
<Jdubs_> how long have you been doing ruby
justinweiss has joined #ruby
banseljaj is now known as imami|afk
workmad3 has quit [Ping timeout: 264 seconds]
rodasc has joined #ruby
<vectorshelve> Jdubs_: 1 year... more into rails
crodas has quit [Ping timeout: 248 seconds]
Guest54783 has quit [Ping timeout: 244 seconds]
TheMoonMaster has quit [Ping timeout: 256 seconds]
arturaz has joined #ruby
samphippen has joined #ruby
<Jdubs_> vectorshelve, I see. I haven't really gotten into rails yet
mksm has joined #ruby
TheMoonMaster has joined #ruby
k610 has joined #ruby
tvw has quit [Remote host closed the connection]
tvw has joined #ruby
Soliah has quit [Read error: Connection reset by peer]
Tuxist has joined #ruby
clj_newb has joined #ruby
robustus has joined #ruby
shiin has joined #ruby
ajf_ has left #ruby [#ruby]
jaygen has quit [Remote host closed the connection]
answer_42 has quit [Quit: WeeChat 0.3.9]
answer_42 has joined #ruby
Chryson has quit [Quit: Leaving]
samphippen has quit [Quit: Computer has gone to sleep.]
froy has quit [Ping timeout: 248 seconds]
froy has joined #ruby
jds_ has joined #ruby
jenrzzz has joined #ruby
cobra-the-joker has quit [Remote host closed the connection]
FredLe1 has joined #ruby
Grieg has quit [Ping timeout: 268 seconds]
ltsstar has joined #ruby
FredLe has quit [Ping timeout: 276 seconds]
SoonerBourne has quit [Read error: Connection reset by peer]
k610 has quit [Ping timeout: 260 seconds]
samphippen has joined #ruby
SoonerBourne has joined #ruby
jackiechan0 has joined #ruby
<Erfankam> Hi. Do you believe python is faster than ruby in more cases? Actually I want to choose a web framework among Zend, Django and Rail and I confused how to choose the better one. Please help me.
<drPoggs> How do you define 'better'?
<Jdubs_> Ruby: more efficient to write, you can get it up and running more quickly (most likely)
<Jdubs_> imo
<Erfankam> drPoggs: faster, having more tools and etc
jenrzzz has quit [Ping timeout: 248 seconds]
<drPoggs> Erfankam: Do what I did - start with Rails and ignore the others :)
dekroning has joined #ruby
Aphox has joined #ruby
<Erfankam> drPoggs: :)
cibs has quit [Quit: leaving]
nkts has quit []
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
<Aphox> sup k-rad pros
slainer68 has joined #ruby
<Erfankam> Is there any body have experience in python or php?
<Erfankam> I need help from those have try these tree langs.
nkts has joined #ruby
Shamgar has quit [Read error: Connection reset by peer]
<Jdubs_> Que por no los tres?
jds_ has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 240 seconds]
<answer_42> Erfankam: They are equivalent in functionality. I would use the language you are most comfortable in.
smook has quit [Remote host closed the connection]
Shamgar has joined #ruby
psycho_one has quit [Ping timeout: 246 seconds]
Virunga has joined #ruby
stayarrr has quit [Quit: Leaving...]
chussenot has quit [Quit: chussenot]
Aphox has quit []
jackiechan0 has quit [Quit: Sto andando via]
chussenot has joined #ruby
dekroning has quit [Ping timeout: 260 seconds]
clj_newb has quit [Ping timeout: 248 seconds]
moshee has quit [Remote host closed the connection]
lkba has joined #ruby
Bosma has quit [Read error: Connection reset by peer]
goraxe has quit [Ping timeout: 255 seconds]
Bosma has joined #ruby
punkrawkR has quit [Read error: Connection reset by peer]
`brendan has joined #ruby
dwo|songkick has joined #ruby
qwerxy has joined #ruby
<dwo|songkick> I'm trying to find something to rate-limit outgoing requests
<dwo|songkick> or even more generally just rate-limit a block/loop
<dwo|songkick> eg. run this block no more than once per second
<dwo|songkick> is there a gem or something in the standard libs that does this?
pac1 has joined #ruby
bier has quit [Ping timeout: 260 seconds]
qwerxy has quit [Quit: offski]
binarypl1 has joined #ruby
goraxe has joined #ruby
arya has joined #ruby
Morkel has joined #ruby
chussenot has quit [Quit: chussenot]
fyolnish has joined #ruby
arya has quit [Ping timeout: 244 seconds]
kil0byte has quit [Ping timeout: 260 seconds]
AndChat| has joined #ruby
chussenot has joined #ruby
Banistergalaxy has quit [Ping timeout: 268 seconds]
arya has joined #ruby
bier has joined #ruby
cantonic has joined #ruby
xandy is now known as xAndy
Kainore has joined #ruby
arya has quit [Ping timeout: 244 seconds]
AnhMV has joined #ruby
tenmilestereo has joined #ruby
dwo|songkick has left #ruby [#ruby]
Kainore has left #ruby [#ruby]
banister`sleep has joined #ruby
trevortwining has joined #ruby
trevortwining has quit [Client Quit]
jeff_sebring has quit [Quit: Leaving]
<Jdubs_> dwo|songkick: you still looking for help?
<Jdubs_> the answer is "sleep x" where x is seconds
<Jdubs_> so for one second between calls at sleep 1 to the block
<Jdubs_> to the loop*
nkts has quit []
LouisGB has joined #ruby
stenno\splat has quit [Read error: Connection reset by peer]
banister_ has joined #ruby
banister`sleep has quit [Ping timeout: 268 seconds]
zomgbie has joined #ruby
cezar-b has joined #ruby
arya has joined #ruby
chussenot has quit [Quit: chussenot]
chussenot has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
<apeiros_> Beoran_: ping
<apeiros_> Beoran_: do you have any good resources for free tilesets for building the maps of the rpg?
bdpuk has joined #ruby
koshii has quit [Ping timeout: 246 seconds]
slainer68 has joined #ruby
Neomex has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
<Jdubs_> apeiros_ gonna do some work today eh?
<Jdubs_> apeiros :P
workmad3 has joined #ruby
Neomex has quit [Client Quit]
arya has quit [Ping timeout: 244 seconds]
shtirlic has joined #ruby
arya has joined #ruby
rafrcruz has quit [Ping timeout: 240 seconds]
<apeiros_> BWC should be over in ~1h
<apeiros_> will see how awake I still am, but yes
<apeiros_> I intend to get connected maps and multimaps working today
<apeiros_> *connected maps and map events
<Jdubs_> neato
schaerli has joined #ruby
<Jdubs_> did you check my finished map level
<Jdubs_> i think it's pwn
Neomex has joined #ruby
niklasb has joined #ruby
Neomex has quit [Client Quit]
hotovson has quit [Remote host closed the connection]
ascarpino has quit [Quit: Konversation terminated!]
<apeiros_> no, busy watching 4 channels of sc2 :)
socialcoder has joined #ruby
socialcoder has left #ruby [#ruby]
ascarpino has joined #ruby
ascarpino has quit [Changing host]
ascarpino has joined #ruby
Mkman has joined #ruby
statarb3 has quit [Quit: Leaving]
banister_ has quit [Remote host closed the connection]
yshh has joined #ruby
hamed_r has joined #ruby
statarb3 has joined #ruby
alexshenoy has joined #ruby
<apeiros_> Jdubs_: heh, I think that map will look nice rendered. I'm interested in seeing what you do when we move to gosu and pixel graphics :)
lessless has joined #ruby
<lessless> is it possible to use attr_accessor inside main, like http://pastie.org/5391936 ?
chussenot has quit [Quit: chussenot]
chussenot has joined #ruby
thecomplib has joined #ruby
thecomplib has quit [Client Quit]
trevortwining has joined #ruby
trevortwining has quit [Client Quit]
lkba has quit [Ping timeout: 252 seconds]
statarb3 has quit [Read error: Connection reset by peer]
<Hanmac> lessless do the attr_accessor inside an class << self; ... ; end
<Jdubs_> apeiros_: really? :D
rohit has joined #ruby
statarb3 has joined #ruby
<lessless> Hanmac, still undefined
<Hanmac> show me your code
samphippen has quit [Quit: Computer has gone to sleep.]
beiter has joined #ruby
dekroning has joined #ruby
<Hanmac> lessless your problem is that @events is not set, (its still nil)
<Jdubs_> ^^^
<Jdubs_> i believe you need to add somethingl ike event=class.new?
<Jdubs_> is that right hanmac?
<Hanmac> @events ||= {}; before @events[name] = block
<Jdubs_> ahh
vlad_starkov has joined #ruby
<apeiros_> @ivar ||= # anti-pattern IMO
<lessless> so in this particular case there no any advantages of using attr_accessor instead of simple @events = {} ?
<apeiros_> initialize your ivars, it's not hard, really.
<lessless> apeiros_, why's that?
<apeiros_> and it makes your code so much more readable
<apeiros_> lessless: ^
<apeiros_> initialization >> ||=
dekronin1 has joined #ruby
sillylogger has joined #ruby
oposomme has joined #ruby
vlad_sta_ has joined #ruby
<Hanmac> apeiros_ okay but how can he do that when he is in a main objekt?
<apeiros_> Hanmac: by simply doing @events = {}
<apeiros_> it's no different than anywhere else
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
<apeiros_> adding that stuff to main would probably be the second anti-pattern in that code, though :-p
<rohit> ||= is not for initialization only though, you might avoid calling a computationally expensive function because ivar is set. Isn't it a memoization pattern?
Averna has quit [Quit: Leaving.]
brah has joined #ruby
<apeiros_> Hanmac: http://pastie.org/5391986
dekroning has quit [Ping timeout: 260 seconds]
<apeiros_> rohit: yes/no
chussenot has quit [Quit: chussenot]
<Jdubs_> apeiros_ what is an antipattern?
cantonic has quit [Quit: cantonic]
<apeiros_> Jdubs_: a pattern which you should avoid doing
kirun has joined #ruby
<apeiros_> there are programming patterns, those patterns are a bit like puzzle pieces to problems. if you identify the right puzzle piece to match a problem, you can just solve by recipe
vlad_starkov has quit [Ping timeout: 276 seconds]
niklasb has quit [Ping timeout: 265 seconds]
* Hanmac puzzels what may happen if an pattern and an anti pattern colide :D
<apeiros_> (sadly, many people do it the other way round, they see solution puzzle pieces and just push them into their problems…)
workmad3 has quit [Ping timeout: 252 seconds]
Morkel has quit [Quit: Morkel]
schaerli has quit [Remote host closed the connection]
binarypl1 has quit [Quit: WeeChat 0.3.9.1]
Xeago has joined #ruby
qwerxy has joined #ruby
arya_ has joined #ruby
samphippen has joined #ruby
arya has quit [Ping timeout: 244 seconds]
arya_ is now known as arya
x0F has quit [Disconnected by services]
oposomme has quit [Quit: Linkinus - http://linkinus.com]
x0F_ has joined #ruby
x0F_ is now known as x0F
rohit has quit [Quit: Leaving]
g_bleezy has joined #ruby
sdk has joined #ruby
manizzle has quit [Ping timeout: 255 seconds]
g_bleezy has quit [Read error: Operation timed out]
carlyle has joined #ruby
sdk is now known as marius
iamjarvo has joined #ruby
osvico has joined #ruby
lessless has quit [Quit: system needs to be rebooted]
qwerxy has quit [Quit: offski]
chessguy has joined #ruby
workmad3 has joined #ruby
slainer68 has quit [Remote host closed the connection]
eldariof has quit []
schaerli has joined #ruby
kil0byte has joined #ruby
volta has joined #ruby
tvw has quit [Ping timeout: 246 seconds]
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby
AnhMV has left #ruby [#ruby]
Goles_ has joined #ruby
Erfankam has quit [Quit: Leaving.]
volta has quit [Remote host closed the connection]
Goles has quit [Ping timeout: 252 seconds]
shiin has quit [Quit: Computer has gone to sleep.]
Shamgar has quit [Ping timeout: 246 seconds]
<mr-rich> is there a way to create a variable out of a hash key with the same name?
<Hanmac> mr-rich you mean local variable?
volta has joined #ruby
Shamgar has joined #ruby
dekronin1 has quit [Quit: leaving]
somazero has joined #ruby
<mr-rich> Hanmac: Yes. Take a hash key, create a local var of the same name and assign it the value ...
<mr-rich> Hanmac: Or do I have to know the var name ahead of time?
<Hanmac> why dont you use the hash itself? why do you need local variables?
<Jdubs_> mr-rich you could do this
<Jdubs_> sec let me go write it
emmanuelux has joined #ruby
<mr-rich> Hanmac: I'm trying to teach ruby/savon how to parse multiRef soap responses ...
<Jdubs_> something like this should work i believe
<Jdubs_> hash.each do |k, v|
<Jdubs_> send("@#{k}"=v)
<Jdubs_> end
<Jdubs_> but I'm still a newb
<Hanmac> hash.each{|k,v| eval("#{k}=#{v}") } if you need local variables ... but you should avoid that!!
Virunga has quit [Remote host closed the connection]
<Jdubs_> hanmac can you explain the difference between your code and mine?
<Jdubs_> would mine work?
Virunga has joined #ruby
<Jdubs_> i want to learn :)
<Hanmac> Jdubs_ your uses instance variables, by uses local variables
shiin has joined #ruby
carlyle has quit [Remote host closed the connection]
atmosx has joined #ruby
<atmosx> hello
tvw has joined #ruby
marius has quit []
jackiechan0 has joined #ruby
jackiechan0 has quit [Read error: Connection reset by peer]
<Jdubs_> hi atmosx o.
Jasko has quit [Read error: Connection reset by peer]
<Jdubs_> o/
<atmosx> :-)
Jasko has joined #ruby
nilg has quit [Remote host closed the connection]
slainer68 has joined #ruby
joofsh has joined #ruby
spike|spiegel has joined #ruby
<mr-rich> Hanmac: eval is evil ... :)
<Jdubs_> mr-rich i'm trying to get it to work for you
<Jdubs_> did you get it working yet?
_bart has joined #ruby
slainer68 has quit [Remote host closed the connection]
slainer68 has joined #ruby
ewag has quit [Ping timeout: 246 seconds]
tenmilestereo has quit [Quit: Leaving]
_bart has quit [Client Quit]
carlyle has joined #ruby
fantomax has joined #ruby
bluOxigen has joined #ruby
_bart has joined #ruby
fantomax has quit [Client Quit]
carlyle has quit [Remote host closed the connection]
slainer68 has quit [Remote host closed the connection]
<Jdubs_> mr-rich i got it for you
<Jdubs_> hash.each do |k, v|
<Jdubs_> self.instance_variable_set("@" + k, v)
<Jdubs_> end
<Jdubs_> ^ that should work ^
<Jdubs_> Sorry it took so long for a solution
<mr-rich> Jdubs_: ty ... I'll try that ...
<Jdubs_> let me know if you have more trouble with it
<Jdubs_> btw hash is just a placeholder for whatever the name of your hashtable is :P
<apeiros_> Hanmac: you can't create lvars with eval, though
<apeiros_> so the lvars would need to exist beforehand
<apeiros_> and yes, evil, should not do that :)
<Jdubs_> apeiros_ is my solution valid?
<Jdubs_> it worked for me in pryt
<apeiros_> yes
<Jdubs_> pry*
<Jdubs_> awesome
<Jdubs_> is there a better solution?
<apeiros_> I prefer :"@#{k}", but I don't think the difference matters
<apeiros_> I never tested whether ruby performs better using the symbol interpolation
<Jdubs_> you mean : instead of @?
<Hanmac> =~ can create local variables
<Jdubs_> I read symbols are processed faster because they aren't encoded or something...they just 'are'
<Jdubs_> it was something like that
lkba has joined #ruby
<Jdubs_> i don't remember exactly
noxoc has joined #ruby
<apeiros_> Hanmac: yes, but there too, only without interpolation
<apeiros_> there is no dynamic way to create lvars (except for ongoing evals)
volta has quit [Remote host closed the connection]
enderx86 has joined #ruby
_bart has quit [Quit: _bart]
k610 has joined #ruby
<brah> apeiros_: It does.
canton7 has quit [Ping timeout: 264 seconds]
BoomCow has quit [Ping timeout: 252 seconds]
<apeiros_> brah: no, with interpolation it does not.
<apeiros_> but feel free to prove me wrong…
<brah> Does [perform better].
<apeiros_> oh, context, yay :-p
<apeiros_> ok
canton7 has joined #ruby
<apeiros_> care to share the benchmark?
<brah> I was testing it yesterday.. maybe I can find the channel logs
<apeiros_> don't worry
Xeago has quit [Remote host closed the connection]
_bart has joined #ruby
<apeiros_> if you find it easily, great, but don't put too much time into it ;-) & thanks
poga has joined #ruby
poga has quit [Remote host closed the connection]
_bart has quit [Client Quit]
Jdubs_ has quit [Ping timeout: 245 seconds]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
volta has joined #ruby
prezioso has joined #ruby
swarley has joined #ruby
kuzushi has quit [Ping timeout: 260 seconds]
quiliro has quit [Ping timeout: 252 seconds]
cantonic has joined #ruby
statarb3 has quit [Ping timeout: 276 seconds]
vjt has quit [Remote host closed the connection]
Russell^^ has joined #ruby
jackiechan0 has joined #ruby
DDAZZA has joined #ruby
jackdanger has joined #ruby
zomgbie has quit [Ping timeout: 256 seconds]
volta has quit [Ping timeout: 255 seconds]
erichmenge has quit [Quit: Arrivederci!]
swarley has quit [Ping timeout: 245 seconds]
jackiechan0 has quit [Client Quit]
volta has joined #ruby
robotmay has joined #ruby
tvw has quit [Ping timeout: 252 seconds]
clj_newb has joined #ruby
prezioso has quit [Ping timeout: 244 seconds]
jake_ has joined #ruby
schaerli has quit [Remote host closed the connection]
jake__ has quit [Read error: Connection reset by peer]
quiliro has joined #ruby
erichmenge has joined #ruby
statarb3 has joined #ruby
enderx86 has quit [Remote host closed the connection]
gcds has joined #ruby
<gcds> Hello
k610 has quit [Ping timeout: 244 seconds]
<gcds> maybe someone has tried to convert xml DTD to ruby classes?
Jdubs_ has joined #ruby
hamed_r has quit [Read error: Connection reset by peer]
<Jdubs_> i'm back o/
vlad_sta_ has quit [Remote host closed the connection]
eregon_ is now known as eregon
jeffreybaird has joined #ruby
Goles_ has quit [Remote host closed the connection]
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
Goles has joined #ruby
noxoc has quit [Quit: noxoc]
chessguy has quit [Remote host closed the connection]
schaerli has joined #ruby
x82_nicole has joined #ruby
Hanmac has quit [Quit: Leaving.]
Hanmac has joined #ruby
sillylogger has left #ruby [#ruby]
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
g0bl1n has joined #ruby
Virunga has quit [Remote host closed the connection]
SPYGAME has joined #ruby
DDAZZA has quit [Quit: Leaving]
bluOxigen has quit [Ping timeout: 276 seconds]
DDAZZA has joined #ruby
g0bl1n has quit [Client Quit]
eldariof has joined #ruby
slainer68 has joined #ruby
zomgbie has joined #ruby
hamed_r has joined #ruby
<Jdubs_> Looking for help installing gosu, errors: http://pastie.org/5392470
<gcds> maybe someone know to make class variables which has like only three valid values
<Spaceghostc2c> gcds: Yes, no, maybe.
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
<canton7> Jdubs_, and you followed the link, etc?
<Jdubs_> no i didnt notice the link til just now cause i dumb
<Jdubs_> :/
<Jdubs_> lol
<Jdubs_> I got it going now
slainer68 has quit [Ping timeout: 240 seconds]
<Jdubs_> xD
zomgbie has quit [Ping timeout: 248 seconds]
<apeiros_> comments welcome: https://gist.github.com/4096752
<apeiros_> (a module which provides an inspect method, which can be used when to_s is redefined)
<Jdubs_> apeiros_ wow man, you're slackin...I already see 3 problems with that
<apeiros_> cross-posted in #ruby-lang
zaki has quit [Read error: Operation timed out]
<apeiros_> Jdubs_: shoot :)
<Jdubs_> apeiros_ I'm just teasing ya /brohug
marcuspat has joined #ruby
<apeiros_> thought as much :-p
postmodern has quit [Quit: Leaving]
<Jdubs_> That file is beyond me :P
<apeiros_> ;-)
u89 has joined #ruby
jake_ has quit [Read error: Connection reset by peer]
kiddy56842 has quit [Quit: Ðóñèôèöèðîâàííûé mIRC 6.31 îò yXo ** http://BestIRC.ru **]
jeffreybaird has quit [Read error: Connection reset by peer]
jake_ has joined #ruby
jeffreybaird has joined #ruby
volta has quit [Ping timeout: 276 seconds]
BadLarry has quit [Ping timeout: 248 seconds]
neurotech has quit [Remote host closed the connection]
jslowe has joined #ruby
volta has joined #ruby
gcds has quit [Read error: Connection reset by peer]
g_bleezy has joined #ruby
gcds has joined #ruby
Amirh has joined #ruby
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
k610 has joined #ruby
gcds has quit [Read error: Connection reset by peer]
enderx86 has joined #ruby
koshii has joined #ruby
gcds has joined #ruby
volta has quit [Read error: Operation timed out]
stayarrr has joined #ruby
andrewhl has joined #ruby
zaki has joined #ruby
gcds has quit [Read error: Connection reset by peer]
cmarques has joined #ruby
lxsameer has joined #ruby
<lxsameer> hi, does String class has any method to strip some characters like "/" from starting and ending a string ?
gcds has joined #ruby
volta has joined #ruby
h4mz1d has joined #ruby
jonathanwallace has quit [Remote host closed the connection]
<apeiros_> lxsameer: String#sub
<apeiros_> \A and \z mean begin and end of string in regex
<lxsameer> apeiros_: let me read about that
jake_ has quit [Quit: Leaving]
gcds has quit [Read error: Connection reset by peer]
jblack_ has joined #ruby
gcds has joined #ruby
mercwithamouth has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
F1skr has joined #ruby
<lxsameer> apeiros_: how do you remove the tailing "/" of a url using sub ?
<apeiros_> str.sub(/\/\z/, '')
<apeiros_> though, for trailing things like that you can also use chomp:
<apeiros_> str.chomp('/')
sailias has joined #ruby
<lxsameer> apeiros_: oh right like damn perl :D
<lxsameer> apeiros_: what does /\/\z/ means ? ( regex meaning and sorry for the much questioning )
gcds has quit [Read error: Connection reset by peer]
<apeiros_> lxsameer: errrr, I just told you?
<apeiros_> / is the /, \z is end of string
<apeiros_> there isn't really any magic in here…
vlad_starkov has joined #ruby
gcds has joined #ruby
<lxsameer> apeiros_: does that pattern is in this form /pattern/ ?
<apeiros_> yes, /regex/ is a regex literal
<apeiros_> /foo/.class # => Regexp
<lxsameer> apeiros_: thanks and sorry about being pain in the a.s.s.
h4mz1d has quit [Ping timeout: 240 seconds]
thinkdevcode has joined #ruby
gcds has quit [Read error: Connection reset by peer]
tnk1 has quit [Ping timeout: 276 seconds]
gcds has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
sailias has quit [Quit: Leaving.]
volta has quit [Ping timeout: 268 seconds]
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
BigO has joined #ruby
BigO has quit [Remote host closed the connection]
volta has joined #ruby
telling has quit [Ping timeout: 264 seconds]
telling has joined #ruby
_set has quit [Quit: Lost terminal]
statarb3 has quit [Quit: Leaving]
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
BigO has joined #ruby
gcds has quit [Read error: Connection reset by peer]
adeponte has joined #ruby
nilg has joined #ruby
gcds has joined #ruby
clj_newb has quit [Ping timeout: 245 seconds]
zomgbie has joined #ruby
tsuyoshisaito has joined #ruby
jekotia has joined #ruby
gcds has quit [Read error: Connection reset by peer]
tsuyoshisaito has left #ruby [#ruby]
gcds has joined #ruby
zomgbie has quit [Ping timeout: 260 seconds]
gcds has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
swarley has joined #ruby
gcds has joined #ruby
bluOxigen has joined #ruby
xsbeats has joined #ruby
awestroke has joined #ruby
<Dwarf> I LOVE RUBY
t0rc has joined #ruby
onibox has joined #ruby
swarley has quit [Read error: Connection reset by peer]
monkegjinni has quit [Ping timeout: 246 seconds]
ascarpino has quit [Quit: Konversation terminated!]
adeponte has quit [Remote host closed the connection]
<Spaceghostc2c> Do you now?
<Spaceghostc2c> Can you explain why?
<Dwarf> It's quite easy
<Dwarf> To learn
<Dwarf> Has good documentation
<Dwarf> It's stable, versatile
<Spaceghostc2c> Dwarf: Want to know a little sekrit?
<Dwarf> Sure thing
xsbeats_ has joined #ruby
<Spaceghostc2c> You don't love ruby for the right reasons. There's other even better ones you don't even know about! That's exciting.
<Dwarf> inb4 python
ianbrandt has joined #ruby
<Spaceghostc2c> If the wrong reasons are as exciting to you as they are, think of the even better ones you don't even know yet!
<Dwarf> Well then
<Dwarf> Tell me moar.
<Spaceghostc2c> Nawbruv, I like usable lamdas!
<Dwarf> Lamdas...?
<Dwarf> The only time I saw that word was when I got an error in PHP
<Spaceghostc2c> Dwarf: That would be telling, and telling would deprive you of the journey from new rubyist to well-grounded rubyist and beyond!
<Dwarf> mhm.
<Dwarf> What's a lamda
<Spaceghostc2c> You tell me!
<Dwarf> Eeeh
<Dwarf> I got an lambda error when I used regex
<Dwarf> So I don't even want to know
_bart has joined #ruby
<Dwarf> Wait
<Dwarf> So lambda's are internal functions
<Dwarf> Or something liek that
<canton7> they're typically anonymous functions
tjbiddle has joined #ruby
<Dwarf> Strange how PHP would throws such an error
<Spaceghostc2c> PHP is strange, when you're a stranger.
<Dwarf> I began with PHP
<Dwarf> But haven't mastered it yet
asuka has quit [Ping timeout: 252 seconds]
<ddd> like the Shaolin monks say, mastery is a daily goal that is never obtained. (Meaning there is always something to learn)
Virunga has joined #ruby
_bart has quit [Quit: _bart]
asuka has joined #ruby
mpereira has quit [Ping timeout: 260 seconds]
johnmilton has joined #ruby
mpereira has joined #ruby
pyr0commie has joined #ruby
ascarpino has joined #ruby
ascarpino has quit [Changing host]
ascarpino has joined #ruby
pyr0commie has quit [Quit: Leaving]
Virunga has quit [Remote host closed the connection]
pyr0commie has joined #ruby
apok has joined #ruby
<Spaceghostc2c> Dwarf: I'd say you'd be better off not mastering PHP. :D
<Dwarf> mhm
<Dwarf> what doido
<Dwarf> I take suggestions!
thinkdevcode has quit [Remote host closed the connection]
<ddd> work through iwanttolearnruby.com, get and read The Well-Grounded Rubyist, start reading the ruby-lang.org stdlib and core docs
<ddd> work through rubykoans.com and tryruby.com
<Dwarf> Mmm
<Dwarf> My first project was an IRC bot
<Dwarf> But it's on my late laptop
<Dwarf> So now I'm recoding it
BigO has quit [Remote host closed the connection]
oposomme has joined #ruby
<ddd> write tons of litthe (and big) things you have absolutely no qualms about throwing away, install pry (gem install pry) and start trying anything and everything you don't understand in there to see what happens and figure out why.
Weems has quit [Read error: Connection reset by peer]
<ddd> s/litthe/little/g
<Dwarf> What's pry?
<Dwarf> And what's rake?
<ddd> this is where google becomes your friend. :) but i'll give you this one. github.com/pry/pry
<ddd> google for rake :)
<Dwarf> Might as well ask some stupid questions while I'm here :p
<Spaceghostc2c> Dear fucking god, man! Google shit!
chrishunt has joined #ruby
<Spaceghostc2c> :D
<Dwarf> mhm
<Dwarf> so pry isn't really something I need
<ddd> no, because if you start the stupid questions stuff, people will just start posting you bit.ly'd lmgtfy.com links
<ddd> it is if you want to learn
Slivka has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
<ddd> well, you could use IRB but pry is a better irb and has an ecosystem designed to make it a full fledged ruby debugger
<Dwarf> I love the RTFM strategy
<ddd> but as you wish. use irb if thats all you want
<Dwarf> I use aptana studio as my IDE and I haven't ran into any problems that needed debugging
<ddd> Dwarf: because YOU have to show EFFORT, WILLINGNESS, and the ability to do Critical Thinking
<ddd> we're not obligated to just hand you everything on a silveer platter, and MOST stuff is context sensitive so what we give matters depending on the context you're working in, which means you need critical thinking capabilities in order to define that context
prezioso has joined #ruby
<Dwarf> Mhm
<ddd> so here we go, now we're going to start changing the implicit vein of the conversation to one of 'i don't need no stinking debugger' I don't know the language or how to use it, but i'm that damned good i don't need to debug.
<Dwarf> Agreed
<ddd> good on ya
BigO has joined #ruby
<Dwarf> Heh ddd
<Dwarf> As much as I like the RTFM approach, I also like the "learn as I go" approach
<Dwarf> Which work pretty well together you see
<ddd> then start working those sites i gave you. most of them are interactive. work as you go all you want
<Dwarf> Splendid :d
BadLarry has joined #ruby
<Dwarf> Now, brb googling what rake is all about
ananthakumaran has quit [Quit: Leaving.]
<ddd> and if you mean just asking only when you need something, or looking at docs and ONLY learning when you need something specific to the current problem,, you're going to hurt yourself and your education. because if you really want to get good, you either practicve practice practice and read read read, or you relegate yourself to medicrety
<ddd> mediocrity
minijupe has joined #ruby
ananthakumaran has joined #ruby
<ddd> so it really comes down to the question of: how good you wanna be? then invest that much time needed to reach that goal.
<Dwarf> Mhm ddd, but I make projects that explore every bit of a language ;)
<ddd> the better you want to be, the more you'll invest. but thats a you decidion
<ddd> how can you explore every bit of a language you don't fully know?
<Spaceghostc2c> Also, lol aptanta.
<Dwarf> Well
<ddd> ther eis no well. the proper answer is.. YOU CAN'T
<Spaceghostc2c> Dwarf: How can you make a project that uses something you don't know exists?
<Dwarf> I've written something in PHP
<Spaceghostc2c> Did it use the built-in email validator?
<Dwarf> And then I try and make the same thing in ruby
<Spaceghostc2c> And every kind of array function?
<ddd> i can promise you you haven't written something in PHP tht 'explores every bit' of the php language
BigO has quit [Remote host closed the connection]
<Dwarf> Uhu
prezioso has quit [Ping timeout: 252 seconds]
<Dwarf> True dat
<Dwarf> But I try my best ;)
wallerdev has joined #ruby
codespectator has quit [Quit: Computer has gone to sleep.]
jrajav has joined #ruby
t0rc has quit [Quit: WeeChat 0.3.9]
gcds has quit [Read error: Connection reset by peer]
tomsthumb has joined #ruby
gcds has joined #ruby
BigO has joined #ruby
<ddd> anyways, you're investing more time making points that aren't really points than you are investing in your education. Work through all the links and books I gave you further up and practice practice practice. Give it a month or two and then revisit your irc bot and rework it entirely in ruby, then refactor that bot to be neater, and more succinct. write tests for it, figure out how TO test each individual aspect of it. Then throw it all away and write a new one fr
BigO has quit [Remote host closed the connection]
codespectator has joined #ruby
<ddd> and thats the big one: Then throw it all away and write a new one from scratch without looking at the original. See where you stand then.
<Jdubs_> ddd: you rock
tjbiddle has quit [Quit: tjbiddle]
<ddd> Jdubs_: hard earned knowledge :)
<Dwarf> Well y'know ddd, that's what I'm doing right now, I lost my original sourcecode so I have to recode it
<ddd> shh. quit making excuses. go, do. become :)
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
vicatcu has quit [Quit: Leaving]
J-_-L has joined #ruby
<ddd> speaking of which.. *I* have my own education to look after today. Enjoy! If you put effort in, you'll get results out. I'm off to put in *my* effort, are you?
<Dwarf> Eh, I think I'll enjoy my weekend for a bit ;) But I'll certainly remember what you said
marr has joined #ruby
<lxsameer> does we have the "condition ? A : B" syntax in ruby ?
havenn has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
Mkman has quit [Quit: Lost terminal]
bwlang has left #ruby [#ruby]
<jrajav> Yes.
tomsthumb has quit [Ping timeout: 276 seconds]
d2dchat has joined #ruby
<jrajav> It's called the ternary operator by the way
<jrajav> Or ternary conditional
<jrajav> Since it's the only ternary operator in most languages "ternary" usually suffices
tomsthumb has joined #ruby
<jrajav> (As opposed to unary or binary operators)
otters has quit [Ping timeout: 252 seconds]
<Spaceghostc2c> jrajav: Is a urinary operator someone who fixes UTI's?
gcds has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
gcds has joined #ruby
Elico has joined #ruby
<jrajav> That was pretty forced :P
Slivka has quit [Read error: Connection reset by peer]
mercwithamouth has quit [Ping timeout: 268 seconds]
Slivka has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
Slivka has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
enderx86 has left #ruby [#ruby]
oposomme is now known as oposomme|away
jimeh has joined #ruby
quiliro has quit [Read error: Operation timed out]
Ruby_newb has joined #ruby
gcds has quit [Read error: Connection reset by peer]
<Ruby_newb> hi there--anybody willing to help a beginner with some (probably stupid) questions that I can't find the answer for after Googling?
gcds has joined #ruby
<Spaceghostc2c> Nope.
<Ruby_newb> *sad face*
<jrajav> Just ask
<jrajav> Don't ask to ask
arya has quit [Ping timeout: 244 seconds]
oposomme|away has quit [Quit: Leaving...]
<Ruby_newb> I'm beginning to teach myself algorithms, and am making a basic fibonacci sequence in Ruby
<Spaceghostc2c> ^
<jrajav> If you ask to ask, we'll ask you not to ask to ask but ask instead
<Ruby_newb> I'm using a basic recursive function
<Ruby_newb> what I don't get is that in the looping portion of it where I actually call the method, it just uses "i" as the parameter
zomgbie has joined #ruby
<Ruby_newb> how is the method I defined actually working if I don't have a real value in there?
<jrajav> Because 10.times do |i| is filling in 'i' for you
<Ruby_newb> with what though? where is it getting a value for 'i'?
<jrajav> The .times method generates it
<Ruby_newb> ooooooo
<Ruby_newb> I see
<jrajav> It's a method on the Integer class, of which 10 is an instance
<jrajav> It accepts a "block" as a parameter
<jrajav> The block has a single argument, i, which the times method fills with the current number from 0 to the Integer
<jrajav> (It doesn't include the value of the integer itself - in this case it will be 0-9)
<Ruby_newb> so in that case 'i' is not just a variable to populate with a misc. value, it instead very specifically means 'integer' and inherets the value of whatever is before .times
<Ruby_newb> is that accurate?
<jrajav> No
<jrajav> It IS just a variable. The block doesn't really know what it will be filled with
arya has joined #ruby
<jrajav> And it doesn't have to be an integer
<jrajav> It is in this case
marr has quit [Ping timeout: 246 seconds]
<Ruby_newb> oh, so it could just as easily be 10.times do |z| and do the same thing
tomsthumb1 has joined #ruby
<jrajav> No, that's not a complete block
<jrajav> But yes, you could name the variable anything
<Spaceghostc2c> The variable contains an object, but it doesn't type-check the object.
tomsthumb has quit [Read error: Connection reset by peer]
<Ruby_newb> right, I understand the need to have a block after it
<Spaceghostc2c> IT could be |waffles|
jekotia has quit [Ping timeout: 246 seconds]
<Ruby_newb> ok, that was the part I was being hung up on
<Spaceghostc2c> Ruby_newb: {|lol_wat| puts lol_wat}
<Spaceghostc2c> ^
<Ruby_newb> so then 'i' is a local variable for the .times method--is that the accurate way of stating it?
<jrajav> A block is basically a unit of code that acts like a value that you can pass to other methods
<jrajav> No, it's a local variable for the block that you're passing to the times method
nemesit has joined #ruby
<Ruby_newb> aaaaah
<Ruby_newb> gotcha
<jrajav> The times method will call it however many times, each time with an incremented i
<Spaceghostc2c> It's a block variable.
<Spaceghostc2c> It belongs to the block.
<Ruby_newb> ok, that makes sense, thanks for clarifying
<gcds> what is better way to map xml to objects. Now I am using nokogiri and doing like this http://pastie.org/5392946
<Ruby_newb> cool--thanks for the help
<jrajav> No problem
<ddd> Ruby_newb: blocks, procs, and lamdas can be a bit of a pain to learn hehe especially procs and blocks. they have nuances that can be a bit mind bending to pick up, but once you do you'll love em.
tnk1 has joined #ruby
<Ruby_newb> yeah, still learning but I'm trying to play around with some basic algorithms to prep for my interview at Google ;)
<jrajav> Yeah, as far as first-class functions it's easier to start with scheme or javascript
<JonnieCache> blocks are the important concept really
<jrajav> They're simpler in those
schaerli has quit [Remote host closed the connection]
<Ruby_newb> I'm applying for a Sr. Engineer role there--I think once I master blocks I'll be set
<JonnieCache> just learn how to use blocks to good effect and you can learn the FP theory later. it will make more sense if youre actually using it rather than learning it in abstract.
<Spaceghostc2c> Ruby_newb: I don't think Google will care much about your ruby skill.
<JonnieCache> but if youre interviewing for an engineering job the theory is probably more important
<Ruby_newb> kidding. and you're right, they won't care much about my ruby skill
mityaz has joined #ruby
<ddd> Spaceghostc2c: its not always about the language, sometimes its about showing you understand a concept and can express it in *any* language
<Ruby_newb> I'm actually going for a business product manager role, and am trying to understand some algorithmic concepts
<Ruby_newb> since I don't have a CS background--reading Vazirani now
<Spaceghostc2c> ddd: They're pretty specific to a particular set of tools. I don't think you'll get a callback without sufficient experience in their toolset for a Sr. position. :)
<ddd> granted. just saying :)
<Spaceghostc2c> Maybe for an intern. :)
<Ruby_newb> Yeah, I don't need to necessarily know how to code for this role--just to understand concepts and communicate with developers to translate business needs
<Ruby_newb> i'm actually fairly far along in the process
<Ruby_newb> but just want to brush up
<Ruby_newb> plus, this stuff is actually pretty interesting
oposomme has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
<Ruby_newb> and I figured why not learn more about Ruby while I'm teaching myse4lf algorithms
ryanlecompte has joined #ruby
<ddd> good point, and when you get the job if they hire you without knowing the languages they use, learning them on your own will only make your communication with them better. especially when you can say can you show me the bit of code you're talking about, can look at it, and fairly well grok what they're doing.
quiliro has joined #ruby
<JonnieCache> Ruby_newb: if you want some *serious* algorithms to study then look at this www.cleveralgorithms.com/nature-inspired/index.html
otters has joined #ruby
<JonnieCache> if you can demonstrate a working understanding of that stuff in interview they will definitely be impressed :)
<ddd> and many languages (but not all) read fairly similar once you know which words to discount insofar as that the concept of what they're doing remains and you can understand it
<Spaceghostc2c> Ruby_newb: Yeah, we were talking about the google thing you were joking about.
<jrajav> Ruby_newb: If you want to communicate with developers, algorithms are probably not going to be terribly important
<JonnieCache> very true
<jrajav> Ruby_newb: I would be more worried about development techniques, architecture, project management (from developer's perspective)
<JonnieCache> source control workflows would be a good one
<Spaceghostc2c> Buy them a damn table tennis set.
<ddd> JonnieCache: iirc some of those algos were even used in the Biomimicry book (book about how science and technology has taken examples from nature to provide better versions of human technologies)
<swistak35> How can I floor a number to specific amount of digits after decimal point? I mean, I want to 5.239 to be 5.23, but .floor() and .ceil() doesn't take an arguments (.round() takes).
<Ruby_newb> I've done the codecademy jS course, have been reading up on agile project management, and multi-tier structures
<Spaceghostc2c> Math.floor, right?
<jrajav> swistak35: 1.34.floor
<jrajav> swistak35: == 1
<swistak35> I know, that I can multiple by 100, then floor, and divide by 100, but it's non-ruby-way : )
<jrajav> Oh, missed the second part of your question
<JonnieCache> Ruby_newb: look at DVCS (git, mercurial etc) and how they relate to agile workflows
<Ruby_newb> The algorithms are more for the interview brain teasers they are known to give. Quite a few seem to be searching for an algorithmic response
medik has left #ruby [#ruby]
tomsthumb1 has quit [Quit: Leaving.]
<Ruby_newb> I actually did the git codecademy lesson a while back, but probably worth doing again
<JonnieCache> Ruby_newb: the secret is, they dont necessarily care if you actually solve those brainteasers. they just want to watch you work on them in an effective way
<jrajav> swistak35: What's your purpose for doing this?
<Ruby_newb> I've heard for product manager roles (technical product managers at least) they do kind of expect you to know the technical concepts that go into solving them
manizzle has joined #ruby
<Ruby_newb> i'm going for a business product manager role, but this stuff interests me regardless so I figure might as well learn it anyways
<jrajav> git has absolutely nothing to do with agile
havenn has quit [Read error: No route to host]
havenn_ has joined #ruby
<JonnieCache> Ruby_newb: of course. but they will give you questions that they know you cant solve, wanting to see if you have the self-awareness to admit it rather than just going in circles and panicing
<Ruby_newb> right, agile is a project management methodology
<jrajav> So many people conflate agile with testing, source control, code structure, MVC, a whole crapload of stuff it isn't
<Ruby_newb> Source Jonnie?
<jrajav> Agile is not the be-all, end-all of software development, not even close
<Ruby_newb> I know, but from what I've heard most of the teams there are agile
<ddd> just one way of doing it
wallerdev has quit [Quit: wallerdev]
juarlex has quit [Ping timeout: 260 seconds]
<JonnieCache> jrajav: git isnt "to do with" agile but it does enable more flexible collaborative workflows
<Ruby_newb> I have domain expertise, so I know I'll crush anything in that regard, but I want to show that I can communicate effectively with engineers
<ddd> Ruby_newb: and a great many companies large and small 'claim' to be agile but don't really use agile processes
<ddd> its a buzzterm
<swistak35> jrajav: Rails app, i need to strip numbers with more than 2 digits after decimal point to 2 digits... Later I sum these values, so I need to keep this clean.
jds_ has joined #ruby
<jrajav> You think *reducing* the precision will keep it "clean?"
<Ruby_newb> how is it a buzzterm? it seems to be a fairly well defined project management framework
<jrajav> Ruby_newb: It's not.
<JonnieCache> Ruby_newb: i cant remember where i heard it. just look at some examples of questions though, some of them are clearly not meant to be "solved" in the time given
<jrajav> Ruby_newb: It was originally a set of prescribed best practices for software development and project management for the same
<jrajav> Ruby_newb: It has since been co-opted as the term for a myriad of self-contained "systems"
<ddd> he explained it better :)
<jrajav> This has been extremely harmful, because now agile methodologies are taken as law
<jrajav> Agile consultants are treated as divine oracles
<JonnieCache> hey at least its better than everyone using the waterfall model
<Ruby_newb> interesting--thanks for the new perspective on it
<jrajav> And even THEY helplessly try to explain to everyone they consult with that it's just best practices, to adapt it to your own organization and then forget about it
<jrajav> The developers in the room nod wistfully while the business people just smile blankly and take notes
<jrajav> JonnieCache: Elements of the waterfall model have their place in some projects and organizations too
<ddd> or they take 1 or 2 aspects and quais-implement them and then claim they're some super-duper agile team
<Ruby_newb> so in a nutshell, its really about being able to adapt and move/iterate quickly based on business/resource needs versus mapping out a massive predefined project plan where different phases (feature planning, coding, testing, deployment, etc.) all happen sequentially (ie. waterfall)
<jrajav> JonnieCache: This is exactly what's harmful -- treating each of these theories as "systems" that you have to take all or none of
xsbeats_ has left #ruby [#ruby]
<gcds> I am searching for help to make xml to object and back mapper. Maybe someone has suggestions http://pastie.org/5393012 ?
<JonnieCache> jrajav: thats what i said isnt it?
<ddd> Ruby_newb: I would add client needs to that based-on list as well
<Ruby_newb> cool
<jrajav> Ruby_newb: You should read the agile manifesto
jackiechan0 has joined #ruby
<ddd> which many companies forget. after all, they are paying you and being responsive to their needs (and not just through PR) matters greatly especially if you'd like the relationship not to sour or be lost
<jrajav> Ruby_newb: And understand each of the points on their own
<JonnieCache> Ruby_newb: it kinda stems from developers trying to cope with the reality of ever-changing project scopes/specifications
jackiechan0 has quit [Read error: Connection reset by peer]
<Ruby_newb> i'm reading 'agile product management with scrum' right now
<jrajav> Ruby_newb: And stop treating it as a self-help system. It's not a "thing," it's a bunch of things.
joeycarmello has joined #ruby
<Ruby_newb> yep, i know that
<Ruby_newb> i worked at a b2b saas company before
<Ruby_newb> and learned the importance of "its done when its done"
imami|afk is now known as banseljaj
<Ruby_newb> so i'm curious, what are some things about product managers that piss off engineers?
joeycarmello has quit [Remote host closed the connection]
<Ruby_newb> since i'm interviewing with one most likely
<ddd> Ruby_newb: think managing customer expectations while using techniques to stay as responsive as *possible* (keyword there) to what gets through that process
<Ruby_newb> gotcha
joeycarmello has joined #ruby
<ddd> Ruby_newb: probably refusal to see that the spec as written (or that just got approved) isn't something they can pull out their ass, takes time to implement (especially if its something new or dramatically changes a current working flow) yet expounding it as written in stone and that simply throwing man hours at it will solve it
gcds has quit [Read error: Connection reset by peer]
jds_ has quit [Remote host closed the connection]
gcds has joined #ruby
nilg has quit [Ping timeout: 276 seconds]
dorei has joined #ruby
jds_ has joined #ruby
<ddd> rather than working with the client to best manage the expectation of what can really be done by working as a liason between the development team and the client. basically mashing the developers because we all know the client knows *exactly* what they want every damned time :)
<Ruby_newb> yep. i do a lot of that now anyway although replace developers with people managing SEM for Clients
arturaz has quit [Ping timeout: 245 seconds]
<ddd> replace devs with deliverers and clients with requestors
<Ruby_newb> like, when the sales team says they need projections for a pitch, but we have zero data to use...not something we can pull out of our ass
vlad_starkov has joined #ruby
<ddd> because this concept applies even within a business itself
<Ruby_newb> yep. managing expectations to requestors is a large part of my current role, so confident I can speak well to that
<ddd> HR being a requestor for a new addition to the HR software, and deliverer being the team responsible for deploying that additional aspect that say comes with the software but wasn't previously enabled for whatever internal reason
joeycarmello has quit [Ping timeout: 248 seconds]
<Ruby_newb> how technical do you expect a product manager to get when defining the functional spec for something?
<ddd> yyes, exactly, on the sales team comment
<ddd> depends on the prowess of the PM
<Ruby_newb> I'm assuming that I should leave it as outlining the desired functionality, constraints, etc. and letting the engineer walk me through hurdles, approaches, etc.
<ddd> and how good they are at getting a customer to really think through the steps of what they're asking for
Neomex has joined #ruby
<Ruby_newb> ddd: its always fun when i get to walk customers through how we actually pull projections
workmad3 has joined #ruby
<ddd> hehe
Neomex has quit [Client Quit]
<Ruby_newb> and also how inaccurate they are if we have shit data to work with
Virunga has joined #ruby
<workmad3> Ruby_newb: GIGO
<Ruby_newb> perhaps what is scarier though are the large sums of money that we receive when we provide junk forecasts off of bs data
vlad_starkov has quit [Remote host closed the connection]
cantonic has quit [Quit: cantonic]
<ddd> yeah giving clients insights into your own internal processes can dramatically assist in them feeling a better ownership as well as greater confidence in your company's competence to fulfil their request.
<ddd> sort of a group hug without all the touchie feelie :)
<Ruby_newb> heh
<Ruby_newb> any of you live out in the bay area by any chance?
<ddd> KY here
pkrnj has joined #ruby
<Ruby_newb> ah. i'm in Chicago. Was hoping for some reco's on good restaurants in Mountain View since I'm going to be there for a couple days
awarner has joined #ruby
<ddd> you going to their office over there by the Cisco Campus?
<Ruby_newb> yeah
sepp2k1 has joined #ruby
<Ruby_newb> i've been there a few times for work and with friends who have worked there
<Ruby_newb> its a gorgeous campus
<Ruby_newb> jebus
<ddd> yeah it is
jarv has joined #ruby
sepp2k has quit [Ping timeout: 246 seconds]
<Ruby_newb> i work at a digital media agency right now--so freaking done with client service
<Ruby_newb> i want customers, not clients
jgrevich has joined #ruby
jds_ has quit [Remote host closed the connection]
jarv has left #ruby [#ruby]
<Ruby_newb> and don't ever work at an ad agency--the business model is completely broken
<ddd> well customers and clients are pretty synonymous. just diff words for the same thing. they both consume something
crankycoder has quit [Remote host closed the connection]
<ddd> your services/work/et al
crankycoder has joined #ruby
<Ruby_newb> The distinction in my mind is that Clients you tend to service individually based on their very specific needs. Customers you tend to have more of and it is more of a one-size-fits-all (or many) approach
<ddd> people started using client because it didn't evoke grocery store syndrome
SPYGAME has quit [Ping timeout: 268 seconds]
<ddd> ok, i can agree with that distinction
<jrajav> The distinction in my mind is that you use one word in order to make your customers feel special
<jrajav> And you use another word to be honest
<jrajav> :P
<Ruby_newb> lol
<Ruby_newb> fair enough
<Ruby_newb> I use many words to make my Clients feel special
AndChat| has quit [Ping timeout: 246 seconds]
pyr0commie has quit [Remote host closed the connection]
_bart has joined #ruby
<Ruby_newb> Nothing pains me more than to be in a pitch and have the sales team spewing fluff to make people feel special
<Ruby_newb> Except perhaps when sales people do that to me since it is so easy to spot, particularly when they are selling me on my own area of expertise
<ddd> wanna make me feel special? listen to me
<ddd> don't blow smoke up my ass, just.. listen to me
<ddd> and HEAR
<Ruby_newb> I can do that
<jrajav> I have respect for salespeople, but I am also never going to put myself in a position where it is not in my interests to be frank
<jrajav> It makes me sick to my stomach
<JonnieCache> jrajav: ++
<ddd> jrajav++
<JonnieCache> lifes too short for that kind of nonsense
<Ruby_newb> I actually don't have much respect for "sales people." Because quite honestly I've done quite a bit of sales in my organization, and I've been able to be incredibly effective by not spewing BS
<jrajav> That's refreshing, actually
<Ruby_newb> sales people in this instance refers to slimey ones that use jargon they don't understand, promise things that can't be delivered or shouldn't be based on the scope, etc.
Banistergalaxy has joined #ruby
<Ruby_newb> that ultimately just care about closing the deal and not the long term success of the client
<ddd> if i can't be frank and honest, I'm setting one (or both) of us up to fail
WhereIsMySpoon is now known as list
list is now known as WhereIsMySpoon
bwlang has joined #ruby
<Ruby_newb> I find that I have to take notes about all the things that piss me off about our sales rep while we're in a pitch to avoid reaching over and bitchslapping him mid sentence
<ddd> hahaha
<ddd> hey doing it IN a pitch might A) get them not to do it again and B) get the client because DAMN they care enough to make SURE their team stays on track
<Ruby_newb> I honestly don't understand why he finds it impossible to have an honest and direct business conversation without the sales spiel
<ddd> though, no, I wouldn't put that to the test ;)
<Ruby_newb> lol, good idea
<Ruby_newb> my favorite though is when we were in a pitch where the top person in the room was on my level technically (technical in regards to SEM) and he launched into things
<ddd> because his job is being a salesman. Sales has its own speak. he probably feels he's not doing his job right if he *doesn't* throw in the doubletalk
<Ruby_newb> the guy basically just listened, and then very politely just turned to me and started talking shop about their business
<Ruby_newb> and we had a very technical and meaningful conversation
<Ruby_newb> Yeah, something isn't right if you have to use doubletalk to sell something
<ddd> what *I* don't like is the hard sell.
<Ruby_newb> indeed
Ethan2 has joined #ruby
<Ruby_newb> or when they try to go over your head when you are not interested because of their offering's shortcomings
<JonnieCache> the sad fact is, that stuff works
<Ruby_newb> its like "bitch please, whose opinion do you think my boss is going to ask for when you go to him?"
<JonnieCache> for a limited defintion of working
<ddd> i really do NOT like people pushing me into buying, especially when I'm not *sure* I need something. I like the guys I can talk to, and can be frank with. The guy that admits the shortcomings in their platform and then *works* with me to at least temp work around the failing until its fixed.. those are the guys I like (the workaround is just an example)
ltsstar has quit [Quit: ltsstar]
<Ruby_newb> indeed. nothing i hate more than surprises because they don't want to admit their product isn't perfect. even worse is surprises that come up in front of clients
Virunga has quit [Remote host closed the connection]
<Ruby_newb> had one vendor recently drop a major bomb on us while we were on the client kickoff call after just agreeing to move forward
<ddd> or during a critical moment in the business's daily workflow, that was never mentioned.
<Ruby_newb> lets just say we had words
harushimo has joined #ruby
<Ruby_newb> let me run an idea for a product by you guys--feel free to shoot it down
undersc0re97 has quit [Ping timeout: 255 seconds]
<Ruby_newb> It would be a site that you could create a profile for, and when sales people contact you, you would just email them your link, and they would have to fill out whatever survey, form, etc. you created there.
<Ruby_newb> and then they'd have to pay a certain amount, like, $5 or so, directly to you or a charity
wallerdev has joined #ruby
<Ruby_newb> in order for you to read it
<ddd> hey I see you're doing this in your flow. Our product might have an issue with this aspect. We currently have this workaround so it won't bite you, and here look at this. this is what we're planning on implementing to repair that. I just wanted you to know about it, and we'd gladly allocate engineer time to work with you should it bite. I'm hoping this is something we can work on together, would that work for you?
<Ruby_newb> wouldn't work for companies with anti-bribery policies, but I think a lot of people might appreciate that
<ddd> engage them
<ddd> Ruby_newb: hahah i like that! :)
bwlang has left #ruby [#ruby]
<ddd> a frontend to offset their smash and grab tactics
<Ruby_newb> exactly
<Ruby_newb> i never want to go grab lunch with a sales person because then i'm on their terms
Virunga has joined #ruby
<Ruby_newb> but this is the equivelant of them paying for lunch
yangchenyun has joined #ruby
<Ruby_newb> and I get to define the structure of the conversation
SPYGAME has joined #ruby
<ddd> but thats the problem with the whole process
<Ruby_newb> and if it is priced low enough, it is an easy to justify the sales expense for them
<ddd> everyone jockeying for a position they may or may not be able to fulfil
<ddd> rather than frank, direct, lets look at the nuts and bolts approach.
dnyy has quit [Remote host closed the connection]
stef__ has joined #ruby
zodiak has quit [Read error: Connection reset by peer]
<Ruby_newb> Indeed. they try to make it about the relationship they build in the sales process vs. the better business choice
<Ruby_newb> I don't want another relationship--i'm married, that's enough
<ddd> i understand the need for stroking occasionally, i just think its a serious flaw in the relationship from the word Go
<Ruby_newb> disagree--stroking is handled by wife (per above)
<Ruby_newb> no extra stroking needed
<ddd> well you are building a relationship. you're creating a commonality you both can build on for future business.
<ddd> thats part and parcel of business
J-_-L has quit [Ping timeout: 248 seconds]
<Ruby_newb> If you need to stroke someone's ego to build a relationship, then that is a pretty shitty foundation IMHO
jgrevich_ has joined #ruby
<ddd> i understand that aspec. I just mean that from the very beginning, both should be seeking to truly establish an honest approach to depicting the need and the ability to fulfil it
falsetto has joined #ruby
blacktulip has joined #ruby
<Ruby_newb> for sure
<ddd> doing so can save MILLIONS of dollars for companies
<Ruby_newb> which means being upfront about shortcomings that could cause issues down the line
<yangchenyun> anyone attend the ruby conf China today?
jgrevich has quit [Ping timeout: 248 seconds]
jgrevich_ is now known as jgrevich
<ddd> because lying to each other in the initial meeting JUST to grab a position of power, costs you money in the end
<Ruby_newb> indeed
<ddd> Ruby_newb: exactly on BOTH sides though
LouisGB has quit []
<Ruby_newb> well hey, I have to jet for lunch, but its been great talking to you--i might swing back later as I'm working on more algorithms ;)
jekotia has joined #ruby
<ddd> and creating an atmosphere where its ok NOT to know, with the understanding on both sides that there is no harm in not knowing right then and there, but you best believe I'll do my damnest to find out what I can to address that
<ddd> Later. I've kids to take care of right now myself.
stef__ has quit [Client Quit]
Ruby_newb has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
zodiak has joined #ruby
falsetto has quit [Client Quit]
gcds has quit [Read error: Connection reset by peer]
kirun has quit [Quit: Client exiting]
linoj has joined #ruby
gcds has joined #ruby
stephenjudkins has joined #ruby
gcds has quit [Read error: Connection reset by peer]
aharris6 has joined #ruby
havenn_ has quit [Remote host closed the connection]
LouisGB has joined #ruby
gcds has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
joeycarmello has joined #ruby
Jasko has joined #ruby
zodiak has quit [Remote host closed the connection]
gcds has quit [Read error: Connection reset by peer]
blazes816 has joined #ruby
TheFuzzball has quit [Read error: Connection reset by peer]
J-_-L has joined #ruby
gcds has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
tomsthumb has joined #ruby
zodiak has joined #ruby
TheFuzzball has joined #ruby
joeycarmello has quit [Remote host closed the connection]
twinturbo_ has joined #ruby
joeycarmello has joined #ruby
yangchenyun has quit [Quit: yangchenyun]
zomgbie_ has joined #ruby
J-_-L has quit [Ping timeout: 255 seconds]
minijupe has quit [Quit: minijupe]
twinturbo has quit [Ping timeout: 252 seconds]
twinturbo_ is now known as twinturbo
u89 has quit [Remote host closed the connection]
zomgbie has quit [Ping timeout: 252 seconds]
_bart has quit [Quit: _bart]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
gcds has quit [Read error: Connection reset by peer]
ryanlecompte has quit [Remote host closed the connection]
gcds has joined #ruby
clj_newb has joined #ruby
gcds has quit [Read error: Connection reset by peer]
PO has joined #ruby
elkclone has quit [Quit: It's never too late to unplug and run.]
PO has left #ruby [#ruby]
Tuxist has quit [Remote host closed the connection]
gcds has joined #ruby
kirun has joined #ruby
yshh_ has joined #ruby
u89 has joined #ruby
gcds has quit [Read error: Connection reset by peer]
yshh has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 255 seconds]
gcds has joined #ruby
wwalker has quit [Quit: leaving]
khagler has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
gcds has quit [Read error: Connection reset by peer]
<khagler> I'm attempting to compile ruby-1.9.3-p327 on Mac OS X 10.8.2, and I'm getting an error while compiling readline.c. Some Googling turned up a bunch of references to attempting to install via rvm, but after flushing away many, many hours of my life I found no way to make it actually install via rvm--I just got the same compilation error
<khagler> Does anyone know how to make it actually compile on a Mac? Or better yet, a nice Mac installer so I don't have to screw with compiling anything?
medik has joined #ruby
gcds has joined #ruby
statarb3 has joined #ruby
ryanlecompte has joined #ruby
juarlex has quit [Ping timeout: 246 seconds]
mengu has joined #ruby
thinkdevcode has joined #ruby
gcds has quit [Read error: Connection reset by peer]
ryanlecompte has quit [Remote host closed the connection]
gcds has joined #ruby
g_bleezy has quit [Remote host closed the connection]
g_bleezy has joined #ruby
gcds has quit [Read error: Connection reset by peer]
pcarrier has quit []
gcds has joined #ruby
samphippen has joined #ruby
pcarrier has joined #ruby
aharris6_ has joined #ruby
aharris6 has quit [Ping timeout: 252 seconds]
g_bleezy has quit [Ping timeout: 248 seconds]
gcds has quit [Read error: Connection reset by peer]
otters has quit [Ping timeout: 252 seconds]
imami has joined #ruby
Cache_Money has joined #ruby
hsbt_away is now known as hsbt
banseljaj has quit [Ping timeout: 246 seconds]
imami is now known as banseljaj
gcds has joined #ruby
gyre007 has quit [Ping timeout: 246 seconds]
gyre007 has joined #ruby
cj3kim has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
kkiero has quit [Ping timeout: 246 seconds]
kkiero has joined #ruby
zodiak has quit [Ping timeout: 246 seconds]
Ethan2 has quit [Ping timeout: 246 seconds]
linoj has quit [Quit: linoj]
Ethan2 has joined #ruby
oposomme has quit [Ping timeout: 246 seconds]
zodiak has joined #ruby
EyesIsMine is now known as EyesIsServer
hamed_r has quit [Read error: Connection reset by peer]
hsbt is now known as hsbt_away
<shevy> khagler: what precisely is the error you get
<shevy> Readline source is at: http://ftp.gnu.org/gnu/readline/?C=M;O=D
tommyvyo has quit [Quit: Computer has gone to sleep.]
<shevy> linux folks are like Luke. They use the source
<Hanmac> shevy: error: no error was trown
jds_ has joined #ruby
eph3meral has quit [Quit: eph3meral]
<shevy> trown?
slainer68 has joined #ruby
<Hanmac> thrown
* Hanmac uses the dark side of the source(code) :D
d2dchat has quit [Remote host closed the connection]
tomsthumb has quit [Quit: Leaving.]
lxsameer has quit [Quit: Leaving]
<khagler> shevy: It was:
<khagler> readline.c: In function ‘username_completion_proc_call’:
<khagler> readline.c:1499: error: ‘username_completion_function’ undeclared (first use in this function)
volta has quit [Remote host closed the connection]
gcds has quit [Read error: Connection reset by peer]
d2dchat has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
jds_ has quit [Ping timeout: 246 seconds]
hsbt_away is now known as hsbt
gcds has joined #ruby
<shevy> hmmm
jbw has quit [Ping timeout: 260 seconds]
<shevy> never saw that one before
<blazes816> well nows your chance to fix it
jbw has joined #ruby
pcarrier has quit []
<shevy> blazes816: why should I fix broken code other people wrote?
<shevy> however, this can not be readline-6.2
samphippen has joined #ruby
<blazes816> i'm just kidding shev, you just keep lookin good over there
<shevy> hmm let's find a readline with username_completion_proc_call()
tenmilestereo has joined #ruby
tommyvyo has joined #ruby
vectorshelve has quit [Quit: Page closed]
<shevy> ohhhh
<shevy> he means the ruby readline.c ?
<shevy> :)
kirun has quit [Ping timeout: 265 seconds]
pcarrier has joined #ruby
<shevy> khagler: what readline version do you have installed?
<khagler> shevy: I have no idea
minijupe has joined #ruby
<shevy> in /usr/lib look at *readline*
<shevy> I have libreadline.so.5.2 there
<khagler> I downloaded the compressed source for ruby from the website
<shevy> so my readline is version 5.2
juarlex has joined #ruby
<shevy> that is nice but readline are only bindings to readline
<shevy> so that you can use Readline module in your .rb scripts
<shevy> how do other mac osx users deal with that?
<gcds> hello I am searching for help in xml datamapping
tenmilestereo has quit [Client Quit]
<khagler> Okay, I found "/usr/lib/libreadline.dylib". No version number in the name
apok has quit [Quit: apok]
d2dchat has quit [Remote host closed the connection]
<khagler> That error occured while it was (or claimed it was) _compiling_ readline.c
niklasb has joined #ruby
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
FredLe1 has quit [Read error: Operation timed out]
dakta has joined #ruby
d2dchat has joined #ruby
FredLe has joined #ruby
gcds has quit [Read error: Connection reset by peer]
pcarrier has quit []
<dakta> Can anyone tell me where `:layout` is set/created in this project? https://github.com/cloudhead/toto/blob/master/lib/toto.rb#L169
BoomCow has joined #ruby
gcds has joined #ruby
juarlex has quit [Read error: No route to host]
juarlex_ has joined #ruby
harushimo has quit [Ping timeout: 246 seconds]
<JonnieCache> dakta: thats a symbol literal, its defined there
hsbt is now known as hsbt_away
gcds has quit [Read error: Connection reset by peer]
_bart has joined #ruby
rakl has joined #ruby
<dakta> JonnieCache: would it be correct to say that :layout is created there, then via some clever shenanigans is ultimately set to a file handle on https://github.com/cloudhead/toto/blob/master/lib/toto.rb#L299
hsbt_away is now known as hsbt
SolarisBoy has joined #ruby
gcds has joined #ruby
<JonnieCache> :layout is just a symbol, basically a string
d2dchat has quit [Remote host closed the connection]
<JonnieCache> in ruby they are used as identifiers, so its very possible that in that code, :layout is being used to designate a file handle
<JonnieCache> or maybe a function that retrieves the file handle
clj_newb has quit [Ping timeout: 260 seconds]
<JonnieCache> i suggest stopping the interpreter at that point using pry (https://github.com/pry/pry) and checking out exactly what is going on at runtime
<ccooke> dakta: just as when you see "foo" in code you know that's a literal string being created, :foo in Ruby code is a literal symbol
_bart has left #ruby [#ruby]
<ccooke> dakta: think of Symbols as lightweight strings. They're immutable and memory efficient - just as with literal numbers, where ever instance of a literal 1 in your code is the same object, every :foo in your code is the same Symbol
<ccooke> dakta: so you could say it's created the first time your code executes a line containing :layout
Nisstyre-laptop has joined #ruby
<ccooke> but every other time is equivalent, it just doesn't allocate new memory
aces23up has joined #ruby
aces1up has quit [Ping timeout: 252 seconds]
gcds has quit [Read error: Connection reset by peer]
hsbt is now known as hsbt_away
gcds has joined #ruby
havenn has joined #ruby
<dakta> Yes, that's all fairly clear and obvious. I'm just curious as to how that symbol is pointed to anything. I was saying that it looks like it's attached/pointed on L299, to a file handle or parsed contents of that file handle.
hsbt_away is now known as hsbt
cmarques has quit [Quit: leaving]
<dakta> My question is "regarding the :layout pointer, is it or is it not set on L299?"
<JonnieCache> i see no reference to a :layout symbol on line 299 of that link
otters has joined #ruby
<havenn> dakta: Mind reposting link, I've arrived late.
jeff_sebring has joined #ruby
swarley has joined #ruby
<ccooke> dakta: Symbols are just memory-efficient Strings. They have no special properties other than being more efficent than String objects
<ccooke> dakta: so :layout doesn't point to anything. It could be used as a hash key, just as any Object could, in which case you could use it to look up something. But that is a property of the Hash, not of the Symbol
<havenn> Anyone know of a better way to define instance methods as an initialize argument string?: https://gist.github.com/4077299
hsbt is now known as hsbt_away
kirun has joined #ruby
<havenn> Said that badly, I mean define a new instance method named after the class's initialize arguement.
hsbt_away is now known as hsbt
<ccooke> dakta: in the example you gave... a to_html method is called. If that's the definition of it on L299, then :layout will be the first parameter of the method, so will be referred to as the path variable inside the to_html lambda
<havenn> Seems like there must be something better than "self.class.send(:define_method...)"?
niklasb has quit [Ping timeout: 268 seconds]
iamjarvo has quit [Quit: Computer has gone to sleep.]
fyolnish has quit [Remote host closed the connection]
DDAZZA has quit [Ping timeout: 252 seconds]
<JonnieCache> havenn: theres define_singleton_method if you only need an instance method on that particular instance
n_blownapart has joined #ruby
<Hanmac> dakta an ruby symbol is similar as an enum in C(++)
<havenn> JonnieCache: Yeah, wanted to define it in the class. Maybe I should just roll a #define_class_method and use that.
<JonnieCache> otherwise you can just do `class << self; define_method :foo, proc {bar}; end` inside the initializer i think
<havenn> JonnieCache: Mmm, that would DRY it up a bit.
<havenn> JonnieCache: Ahh, nice - will try that!
<Hanmac> havenn: spc=Gem::Specification.find_by_name("pry"); spc.dependencies
<JonnieCache> yeah well there is that
<JonnieCache> didnt look at what the code was doing tbh :)
n_blownapart has quit [Remote host closed the connection]
<havenn> Hanmac: Thanks, good to know!
jenrzzz has joined #ruby
niklasb has joined #ruby
<ericwood> hmm, I'm toying with grabbing icloud data with scripts, and I've downloaded a key value store from an app I use...what format is it?
<ericwood> it's some kind of binary wrapper around JSON
<ericwood> whoops
<ericwood> wrong window...
<ericwood> if somebody knows the answer, though, I'm all ears :P
mahmoudimus has joined #ruby
SPYGAME has quit [Ping timeout: 246 seconds]
gcds has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby
gcds has joined #ruby
fms has joined #ruby
<fms> hello
fms is now known as ebobby
<JonnieCache> ericwood: http://bsonspec.org/ maybe?
havenn has quit [Read error: Connection reset by peer]
BoomCow has quit [Quit: Leaving]
tomsthumb has joined #ruby
havenn has joined #ruby
<ericwood> JonnieCache: that might be it, time to check!
emanu has joined #ruby
<dakta> JonnieCache: Thanks
c0rn has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
Jasko has joined #ruby
Cache_Money has quit [Ping timeout: 255 seconds]
cj3kim has quit [Quit: This computer has gone to sleep]
<ericwood> JonnieCache: dang, appears to not be BSON
<ericwood> we can play a fun game of "guess that binary format!", though! https://dl.dropbox.com/u/7063251/Screen%20Shot%202012-11-17%20at%201.56.38%20PM.png
<JonnieCache> where did it come from?
<ericwood> it's the key-value store from the Clear todo list app on iOS
havenn has quit [Remote host closed the connection]
caleb_io has joined #ruby
aharris6_ has quit [Quit: Leaving...]
skaczor has joined #ruby
aharris6 has joined #ruby
minijupe has quit [Quit: minijupe]
tomsthumb has quit [Quit: Leaving.]
juarlex has joined #ruby
juarlex_ has quit [Read error: Connection reset by peer]
Goles has quit [Ping timeout: 246 seconds]
<ericwood> it's a stupid little idea I'm tinkering with, but it'll probably be harder than I thought to get access to iCloud data with a script
juarlex_ has joined #ruby
gcds has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
juarlex has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 264 seconds]
Iszak has joined #ruby
aces1up has joined #ruby
gcds has joined #ruby
skaczor has quit [Quit: Leaving]
codespectator has quit [Read error: Operation timed out]
a215 has quit [Ping timeout: 245 seconds]
khagler has quit [Remote host closed the connection]
aharris6 has quit [Remote host closed the connection]
somazero has quit [Remote host closed the connection]
aces23up has quit [Ping timeout: 245 seconds]
kiyoura has joined #ruby
tomsthumb has joined #ruby
arya has quit [Ping timeout: 244 seconds]
EyesIsServer has quit [Ping timeout: 246 seconds]
a215 has joined #ruby
gcds has quit [Read error: Connection reset by peer]
Mkman has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
gcds has joined #ruby
awarner has quit [Remote host closed the connection]
gcds has quit [Read error: Connection reset by peer]
nemesit has quit [Ping timeout: 260 seconds]
arya has joined #ruby
Goles has joined #ruby
gcds has joined #ruby
spike|spiegel has quit [Quit: leaving]
awestroke has quit [Remote host closed the connection]
areil has quit [Remote host closed the connection]
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
noxoc has joined #ruby
gcds has quit [Read error: Connection reset by peer]
gbchaosmaster has joined #ruby
stephenjudkins has joined #ruby
didra has joined #ruby
strangeworks has joined #ruby
brah has quit [Ping timeout: 245 seconds]
gcds has joined #ruby
brianpWins has quit [Quit: brianpWins]
gcds has quit [Read error: Connection reset by peer]
joeycarmello has quit [Remote host closed the connection]
aghull has quit [Ping timeout: 246 seconds]
Cache_Money has joined #ruby
gcds has joined #ruby
aharris6 has joined #ruby
gcds has quit [Read error: Connection reset by peer]
Guest92676 has quit [Quit: Guest92676]
slainer68 has quit [Remote host closed the connection]
rakl has quit [Quit: sleeping]
gcds has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
ryanf has quit [Quit: leaving]
rippa has quit [Ping timeout: 245 seconds]
Cache_Money has quit [Ping timeout: 252 seconds]
rakl has joined #ruby
peregrine81 has joined #ruby
rakl has quit [Client Quit]
aharris6 has quit [Remote host closed the connection]
stephenjudkins has quit [Quit: stephenjudkins]
Drewch_ has joined #ruby
gcds has quit [Read error: Connection reset by peer]
peregrine81 has quit [Client Quit]
gcds has joined #ruby
Xeago has joined #ruby
jackiechan0 has joined #ruby
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
moshee has quit [Ping timeout: 245 seconds]
michele has joined #ruby
<michele> hi! I'm using ruby1.9.3; in a block, i defined a variable that I want to access also from outside the block. is there a way?
eldariof has quit []
<apeiros_> michele: define it before the block
marr has joined #ruby
<michele> hi! I'm using ruby1.9.3; in a block, i defined a variable that I want to access also from outside the block. is there a way?
<michele> sorry
<michele> apeiros_: what if the block goes into an exception?
<apeiros_> I don't see how that's related
mikepack has quit [Remote host closed the connection]
yuike has joined #ruby
gcds has quit [Read error: Connection reset by peer]
yuike has quit [Max SendQ exceeded]
gbchaosmaster has quit [Quit: leaving]
yuike has joined #ruby
gcds has joined #ruby
kryl99_ has joined #ruby
F1skr has quit [Quit: WeeChat 0.3.9.1]
gcds has quit [Read error: Connection reset by peer]
caleb_io has quit [Quit: caleb_io]
arya has quit [Ping timeout: 244 seconds]
gcds has joined #ruby
daniel_- has quit [Ping timeout: 256 seconds]
gcds has quit [Read error: Connection reset by peer]
banister`nap has joined #ruby
gcds has joined #ruby
havenn has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
arya has joined #ruby
joeycarmello has joined #ruby
mityaz has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
gcds has quit [Read error: Connection reset by peer]
kryl99_ has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
gcds has joined #ruby
dangerousdave has joined #ruby
tomsthumb has quit [Quit: Leaving.]
gcds has quit [Read error: Connection reset by peer]
cirwin has joined #ruby
joeycarmello has quit [Ping timeout: 260 seconds]
gcds has joined #ruby
codespectator has joined #ruby
gcds has quit [Read error: Connection reset by peer]
x82_nicole has joined #ruby
cezar-b has quit [Remote host closed the connection]
tjbiddle has joined #ruby
gcds has joined #ruby
jenrzzz has joined #ruby
joeycarmello has joined #ruby
daniel_- has joined #ruby
tk__ has quit [Quit: ばいばい]
Fonz173 has joined #ruby
<Fonz173> hello
d2dchat has joined #ruby
Fonz173 has quit [Client Quit]
jamjam has joined #ruby
gcds has quit [Read error: Connection reset by peer]
strangeworks has quit [Quit: Leaving]
gcds has joined #ruby
jgrevich_ has joined #ruby
stephenjudkins has joined #ruby
niklasb has quit [Ping timeout: 265 seconds]
Iszak has quit []
c0rn has quit []
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
LouisGB has quit [Ping timeout: 252 seconds]
jgrevich has quit [Ping timeout: 252 seconds]
jgrevich_ is now known as jgrevich
tomsthumb has joined #ruby
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
yuike has quit [Quit: Computer has gone to sleep.]
gcds has quit [Read error: Connection reset by peer]
Grieg has quit [Quit: laterz! :D]
jackiechan0 has quit [Quit: Sto andando via]
gcds has joined #ruby
joeycarmello has quit [Remote host closed the connection]
tjbiddle has quit [Quit: tjbiddle]
mengu has quit [Quit: Konversation terminated!]
lggr has joined #ruby
jaygen has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
s0ber_ has joined #ruby
lggr has quit [Client Quit]
Jasko has quit [Read error: Connection reset by peer]
gcds has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
s0ber has quit [Ping timeout: 260 seconds]
Amirh1 has joined #ruby
s0ber_ is now known as s0ber
gcds has joined #ruby
xorigin has joined #ruby
Amirh has quit [Ping timeout: 260 seconds]
slainer68 has joined #ruby
chimkan_ has joined #ruby
prezioso has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
stephenjudkins has quit [Quit: stephenjudkins]
slainer68 has quit [Ping timeout: 245 seconds]
etcetera has joined #ruby
tjbiddle has joined #ruby
Nanuq has quit [Ping timeout: 246 seconds]
Nanuq has joined #ruby
psycho_one has joined #ruby
jaygen has quit [Remote host closed the connection]
psycho_one has quit [Client Quit]
jaygen_ has joined #ruby
didra has quit [Ping timeout: 276 seconds]
seanstickle has joined #ruby
tomsthumb has quit [Quit: Leaving.]
tjbiddle has quit [Client Quit]
seanstickle has quit [Client Quit]
seanstickle has joined #ruby
didra has joined #ruby
firefux has joined #ruby
seanstickle has quit [Client Quit]
seanstickle has joined #ruby
firefux has left #ruby [#ruby]
emergion has joined #ruby
jaygen_ has quit [Read error: Operation timed out]
jaygen has joined #ruby
ebobby has quit [Quit: Lost terminal]
jaygen has quit [Remote host closed the connection]
jaygen has joined #ruby
jaygen has quit [Read error: Connection reset by peer]
jaygen has joined #ruby
minijupe has joined #ruby
gcds has quit [Read error: Connection reset by peer]
dangerousdave has quit [Quit: Leaving...]
gcds has joined #ruby
dangerousdave has joined #ruby
Slivka has joined #ruby
manizzle has quit [Ping timeout: 260 seconds]
chimkan_ has quit [Read error: Connection reset by peer]
gcds has quit [Read error: Connection reset by peer]
chimkan_ has joined #ruby
gcds has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
wargasm has quit [Ping timeout: 268 seconds]
pavilionXP has joined #ruby
stayarrr has quit [Quit: Leaving...]
gcds has quit [Read error: Connection reset by peer]
manizzle has joined #ruby
gcds has joined #ruby
bradhe has joined #ruby
workmad3 has joined #ruby
rakl has joined #ruby
sebastorama has joined #ruby
Nisstyre-laptop has joined #ruby
brianpWins has joined #ruby
cantonic has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ryanf has joined #ruby
Apocalypse has quit [Ping timeout: 240 seconds]
gbchaosmaster has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
xorigin has quit [Quit: leaving]
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
niklasb has joined #ruby
Guest___ has joined #ruby
answer_42 has quit [Ping timeout: 240 seconds]
chussenot has joined #ruby
Guest___ has quit [Client Quit]
<x82_nicole> Can someone explain what's going on here? http://pastie.org/private/sf71d8scxphfztvwgsnmdg
<cirwin> x82_nicole: there is a difference between String#<< and Fixnum#<<
marcuspat has quit [Quit: marcuspat]
<cirwin> or String's it does concatenation
<cirwin> *for
<cirwin> for Fixnum's it does bit-shifting
<cirwin> 6 << 4 == 6 * (2 ** 4)
srji has joined #ruby
<cirwin> "Bill" << "Gates" == "Bill" + "Gates"
<apeiros_> the second is only almost true
<Hanmac> "Bill" << "Gates" == "Bill".concat("Gates")
<apeiros_> x82_nicole: 6 is 0b110 (binary
<apeiros_> )
<apeiros_> shifting 0b110 by 4 bits is 0b1100000, and that is 96 in decimal
<apeiros_> << is a method in ruby, and for that reason its function depends on the receiver of the method call (which would end up in what cirwin said)
<x82_nicole> Wow, I honestly have no idea that even means. I understand they're different, but I've never heard of bit shifting in my life. ):
<apeiros_> x82_nicole: you know what the binary representation of a number is?
<apeiros_> i.e., that 0b11111111 is 255?
<x82_nicole> Like, converting 6 to binary? Not in my head :p
mahmoudimus has joined #ruby
<apeiros_> (or 0b11 is 3)
joeycarmello has joined #ruby
<workmad3> x82_nicole: you know what a binary representation is though, right?
<apeiros_> ok. a right bit-shift just "adds" zeros on the right side
<apeiros_> so `<< 4` means "add 4 zeros to the right side of the binary representation"
<apeiros_> hence 0b110 --> 0b110 0000
<apeiros_> and you can ask ruby to convert the numbers for you to see. 6.to_s(2) # => "110"
<workmad3> apeiros_: hmm, I thought << was actually a left-shift
<apeiros_> and: 0b110_0000 # => 96
<workmad3> apeiros_: because it shifts the bits left
<apeiros_> err, yes
yaro has joined #ruby
* apeiros_ is awake for too long…
<workmad3> heh
Amirh1 has quit [Quit: Leaving.]
<yaro> hi, does anyone use rbenv and could help me out with autocompletion?
<shevy> hmm how long do local variables survive? let's say I have a local variable that is a huge string.. and it is created only when a method is called... will that local variable persist somewhere in memory after that method is called?
thinkdevcode has quit [Remote host closed the connection]
<workmad3> shevy: yes, until the string can be garbage collected, I believe
<yaro> /home/yaro/.rbenv/shims:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/yaro/.rbenv/bin:/usr/local/heroku/bin
<shevy> hmm
<workmad3> shevy: so it'll depend on when a GC run is done
<yaro> the Path looks fine but I don't get full autocompletion, for example it understands rails but rails gen{TAB} doesnt autocomplete
niklasb has quit [Ping timeout: 240 seconds]
yaro has quit [Client Quit]
ninjanoise has joined #ruby
<workmad3> yaro: that's got nothing to do with your PATH, that's dependent on having bash autocomplete functions available for the rails command
yaro has joined #ruby
jamjam has quit [Quit: Lost terminal]
<shevy> yaro: hey bash autocompletion is easy :)
<yaro> well it also should work in zsh
<workmad3> yaro: right... so you want to google about zsh completion instead then
Apocalypse has joined #ruby
<shevy> yaro: that's what I use for autocompletion in bash, for all compilable programs http://pastie.org/pastes/5394134/text
<yaro> Oh I googled for 5 hours now, can't find a solution
love_color_text has quit [Remote host closed the connection]
<shevy> not sure where the rails completion is stored
love_color_text has joined #ruby
<shevy> but I am sure it uses compgen
Jasko has quit [Read error: Connection reset by peer]
blacktulip has quit [Remote host closed the connection]
banseljaj has quit [Excess Flood]
Jasko has joined #ruby
<shevy> shell scripts are so ugly
rakl has quit [Quit: sleeping]
frogstarr78 has quit [Read error: Operation timed out]
banseljaj has joined #ruby
<workmad3> yaro: right... that's rbenv completion
<workmad3> yaro: but you want rails completion
tomsthumb has joined #ruby
tomsthumb has quit [Client Quit]
slainer68 has joined #ruby
iamjarvo has quit [Ping timeout: 246 seconds]
Mkman has quit [Ping timeout: 240 seconds]
jblack_ has quit [Ping timeout: 255 seconds]
slainer68 has quit [Read error: Operation timed out]
<workmad3> yaro: again... rbenv, not rails... rails != rbenv, and rbenv won't bother supplying you with rails completions
minijupe has quit [Quit: minijupe]
rakl has joined #ruby
<yaro> workmad3, but rbenv gives me rails, rake, bundle commands, why does it give rails generate, bundle install?
<yaro> why doesn't
<workmad3> yaro: actually, no, rbenv doesn't give you those
<workmad3> yaro: those are installed by rubygems
<yaro> /home/yaro/.rbenv/shims:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/yaro/.rbenv/bin:/usr/local/heroku/bin
dorei has quit []
<yaro> .rbenv/shims gives me all gem commands as I understand
_bart has joined #ruby
<yaro> allows me to execute the gems
love_color_text has quit [Ping timeout: 252 seconds]
chimkan_ has quit [Read error: Connection reset by peer]
ryanf has quit [Quit: leaving]
chimkan_ has joined #ruby
onibox has quit [Quit: leaving]
robustus has quit [Quit: ZNC - http://znc.in]
marcuspat has joined #ruby
Jdubs_ has quit [Ping timeout: 245 seconds]
gqlewis has joined #ruby
gqlewis has quit [Remote host closed the connection]
dorei has joined #ruby
gcds has quit [Read error: Connection reset by peer]
love_color_text has joined #ruby
clj_newb has joined #ruby
gcds has joined #ruby
Retistic has joined #ruby
LucidDreamZzZ has joined #ruby
frogstarr78 has joined #ruby
gbchaosmaster has quit [Quit: leaving]
minijupe has joined #ruby
minijupe has quit [Client Quit]
marcuspat has quit [Quit: marcuspat]
gcds has quit [Read error: Connection reset by peer]
chimkan_ has quit [Read error: Connection reset by peer]
chrishunt has quit [Read error: Connection reset by peer]
twinturbo has quit [Quit: twinturbo]
chimkan_ has joined #ruby
g_bleezy has joined #ruby
gcds has joined #ruby
c0rn has joined #ruby
chussenot has quit [Quit: chussenot]
Cache_Money has joined #ruby
gcds has quit [Read error: Connection reset by peer]
Ethan2 has quit [Quit: Leaving]
undersc0re97 has joined #ruby
wargasm has joined #ruby
alanp_ has quit [Read error: Connection reset by peer]
g_bleezy has quit [Ping timeout: 268 seconds]
gcds has joined #ruby
alanp has joined #ruby
rkd91 has joined #ruby
<tommylommykins> hmm
<tommylommykins> does ruby have a let method, like scheme's let?
Xeago has quit [Ping timeout: 256 seconds]
txdv has quit [Ping timeout: 260 seconds]
dangerousdave has quit [Quit: Leaving...]
quiliro has quit [Read error: Operation timed out]
<cirwin> tommylommykins: some people use tap for that
<cirwin> (expression).tap |name| do; end
txdv has joined #ruby
<tommylommykins> cirwin: But it doesn't return the value of the block :(
Jasko has quit [Read error: Connection reset by peer]
<tommylommykins> well, I guess it's easy enough to define myself
<cirwin> tommylommykins: yeah
<cirwin> or just use assignment?
Jasko has joined #ruby
gcds has quit [Read error: Connection reset by peer]
x82_nicole has quit [Quit: Computer has gone to sleep.]
amacgregor_osx has joined #ruby
h8R has joined #ruby
gcds has joined #ruby
<tommylommykins> cirwin: yeah......... The only reason I want it is so I can write stupid oneliners :D
<cirwin> sure, that's cool :)
x82_nicole has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
<tommylommykins> well, more specifically, no-semicolon oneliners
Goles has quit [Remote host closed the connection]
gcds has quit [Read error: Connection reset by peer]
rakl has quit [Quit: sleeping]
gcds has joined #ruby
chimkan_ has quit [Read error: Connection reset by peer]
gcds has quit [Read error: Connection reset by peer]
banister`nap is now known as banisterfiend
LouisGB has joined #ruby
chimkan_ has joined #ruby
gcds has joined #ruby
daniel_- has quit [Ping timeout: 240 seconds]
jekotia has quit [Quit: ChatZilla 0.9.89-rdmsoft [XULRunner 1.9.0.17/2009122204]]
stayarrr has joined #ruby
gcds has quit [Read error: Connection reset by peer]
Floydzy has joined #ruby
gcds has joined #ruby
prezioso has quit [Ping timeout: 244 seconds]
stayarrr has quit [Client Quit]
sepp2k1 has quit [Read error: Connection reset by peer]
aharris6 has joined #ruby
Floydzy has quit [Client Quit]
gcds has quit [Read error: Connection reset by peer]
elentras has quit [Remote host closed the connection]
quiliro has joined #ruby
Goles has joined #ruby
gcds has joined #ruby
chimkan_ has quit [Quit: chimkan_]
arya has quit [Ping timeout: 244 seconds]
zomgbie has joined #ruby
zomgbie_ has quit [Read error: Operation timed out]
sebastorama has quit [Quit: ;)]
shtirlic has quit [Remote host closed the connection]
pdtpatrick has quit [Ping timeout: 240 seconds]
arya has joined #ruby
gcds has quit [Read error: Connection reset by peer]
gcds has joined #ruby
jds_ has joined #ruby
gcds has quit [Client Quit]
chimkan has joined #ruby
zomgbie has quit [Ping timeout: 260 seconds]
jds_ has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Ping timeout: 260 seconds]
Jasko has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 260 seconds]
Jasko has joined #ruby
marr has quit []
elaptics`away is now known as elaptics
caleb_io has joined #ruby
chimkan has quit [Quit: chimkan]
QKO has quit [Ping timeout: 264 seconds]
QKO has joined #ruby
atmosx has joined #ruby
tomsthumb has joined #ruby
arya has quit []
tommyvyo has quit [Quit: Computer has gone to sleep.]
yuike has joined #ruby
FredLe has quit [Quit: Leaving.]
didra has quit [Ping timeout: 260 seconds]
caleb_io has quit [Quit: caleb_io]
Cool_Fire has quit [Ping timeout: 252 seconds]
chimkan has joined #ruby
rakl has joined #ruby
Xeago has joined #ruby
<yaro> does anyone here use rbenv? Could you try running this command: rails gen{TAB} and tell me if it autocompletes?
chimkan has quit [Ping timeout: 265 seconds]
rakl has quit [Client Quit]
yuike has quit [Quit: Computer has gone to sleep.]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]