apeiros changed the topic of #ruby to: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org, other public logging is prohibited
dseitz has quit [Client Quit]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Rephiax has quit []
bkxd has quit [Ping timeout: 276 seconds]
hewenhong has joined #ruby
vickleton has quit [Quit: Ex-Chat]
papashou has joined #ruby
hewenhong has quit [Remote host closed the connection]
moeabdol has quit [Ping timeout: 240 seconds]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
icebourg has joined #ruby
doodlehaus has joined #ruby
icebourg has quit [Max SendQ exceeded]
rikai has quit [Ping timeout: 240 seconds]
icebourg has joined #ruby
small-wolf has quit [Ping timeout: 255 seconds]
rikai has joined #ruby
mistermocha has quit [Remote host closed the connection]
icebourg has quit [Client Quit]
Guest73337 has joined #ruby
byprdct has quit [Ping timeout: 244 seconds]
lidenskap has joined #ruby
threh has left #ruby ["Leaving"]
threh has joined #ruby
dseitz has joined #ruby
zorak8 has joined #ruby
hewenhong has joined #ruby
lidenskap has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 276 seconds]
scripore has quit [Quit: This computer has gone to sleep]
Guest73337 has quit [Ping timeout: 245 seconds]
mleung has quit [Quit: mleung]
moeabdol has joined #ruby
moeabdol has quit [Client Quit]
pontiki has quit [Quit: leaving]
doodlehaus has quit [Remote host closed the connection]
moeabdol has joined #ruby
shellfu has joined #ruby
doodlehaus has joined #ruby
mrmargolis has joined #ruby
airdisa has quit []
doodlehaus has quit [Remote host closed the connection]
phutchins has quit [Ping timeout: 264 seconds]
shellfu has quit [Remote host closed the connection]
casadei_ has joined #ruby
centrx has joined #ruby
hewenhong has quit [Remote host closed the connection]
workmad3 has joined #ruby
Ropeney has joined #ruby
endash has quit [Quit: endash]
casadei_ has quit [Ping timeout: 255 seconds]
moeabdol has quit [Quit: WeeChat 1.1.1]
workmad3 has quit [Ping timeout: 246 seconds]
moeabdol has joined #ruby
turtil has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
doodlehaus has joined #ruby
robustus has joined #ruby
ohaibbq has quit [Remote host closed the connection]
RegulationD has joined #ruby
doodlehaus has quit [Remote host closed the connection]
hewenhong has joined #ruby
barhum2013 has quit [Quit: barhum2013]
mrmargolis has quit [Remote host closed the connection]
kblake has quit [Remote host closed the connection]
hewenhong has quit [Remote host closed the connection]
zorak8 has quit [Quit: Leaving]
hewenhong has joined #ruby
jottr_ has quit [Ping timeout: 256 seconds]
doodlehaus has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
doodlehaus has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 265 seconds]
hewenhon_ has joined #ruby
shellfu has joined #ruby
platzhirsch has joined #ruby
weemsledeux has joined #ruby
doodlehaus has joined #ruby
Parker0 has joined #ruby
scripore has joined #ruby
hewenhong has quit [Ping timeout: 250 seconds]
mleung has joined #ruby
platzhirsch has quit [Client Quit]
baweaver has quit [Remote host closed the connection]
Parker0 has quit [Ping timeout: 264 seconds]
davedev2_ has quit []
greenbagels has joined #ruby
psy has quit [Ping timeout: 256 seconds]
pwnz0r has joined #ruby
balazs has joined #ruby
psy has joined #ruby
PhantomSpank has quit [Remote host closed the connection]
nobitanobi has joined #ruby
ghormoon has quit [Read error: Connection reset by peer]
hewenhon_ has quit [Remote host closed the connection]
hewenhong has joined #ruby
balazs has quit [Ping timeout: 240 seconds]
hewenhon_ has joined #ruby
charliesome has joined #ruby
dseitz has quit [Excess Flood]
hewenhong has quit [Read error: Connection reset by peer]
kaspernj has joined #ruby
charliesome has quit [Quit: zzz]
mistermocha has joined #ruby
bruno- has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Guest73337 has joined #ruby
barhum2013 has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
Guest73337 has quit [Ping timeout: 256 seconds]
mleung has quit [Quit: mleung]
Renich has quit [Ping timeout: 240 seconds]
balazs has joined #ruby
dseitz has joined #ruby
balazs has quit [Remote host closed the connection]
Aww is now known as USF4M
Renich has joined #ruby
tjbiddle has joined #ruby
iasoon has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
AlphaAtom has joined #ruby
bim has joined #ruby
jokester has joined #ruby
bim is now known as Guest18328
pontiki has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest73337 has joined #ruby
bollullera has left #ruby [#ruby]
Guest18328 has quit [Ping timeout: 272 seconds]
pwnz0r has quit [Remote host closed the connection]
renier_ has quit [Quit: Textual IRC Client: www.textualapp.com]
dvlwrk has joined #ruby
lidenskap has joined #ruby
juanpablo__ has joined #ruby
advorak has joined #ruby
Guest73337 has quit [Ping timeout: 276 seconds]
juanpablo__ has quit [Ping timeout: 246 seconds]
dorei has quit []
<hplc> when i try : words= text.split(" ") i get undefined method, why?, (text is a list of words separated by space)
<al2o3-cr> >> "this is a test".split(' ')
<ruboto> al2o3-cr # => ["this", "is", "a", "test"] (https://eval.in/323096)
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<al2o3-cr> hplc: list of words or a string?
exadeci has quit [Quit: Connection closed for inactivity]
<hplc> like --> ["bla bla bla"]
<hplc> text=["bla bla bla"]
Fingel has joined #ruby
RegulationD has joined #ruby
<crowell> >> ["bla bla bla"][0].split ' '
<ruboto> crowell # => ["bla", "bla", "bla"] (https://eval.in/323097)
<al2o3-cr> beat me to it :)
jenrzzz has quit [Ping timeout: 256 seconds]
akkad has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
iamjarvo has joined #ruby
USF4M is now known as Aww
<hplc> i dont get it at all......that [0] solved it all
<hplc> why?
RegulationD has quit [Ping timeout: 255 seconds]
<hplc> now it works, but i cant understand the presence of the [0]
<al2o3-cr> hplc: ["bla bla bla"] is an array which contains a string at index 0 ["bla bla bla"][0] returns "bla bla bla" now you can split with "bla bla bla".split ''
akkad has joined #ruby
<al2o3-cr> >> ["bla bla bla"][0]
<ruboto> al2o3-cr # => "bla bla bla" (https://eval.in/323111)
ghr has quit [Ping timeout: 240 seconds]
<al2o3-cr> >> "bla bla bla".split ' '
<ruboto> al2o3-cr # => ["bla", "bla", "bla"] (https://eval.in/323113)
<hplc> so in an array, i MUST declare what INDEX to work on?, and everything in its entirety between the " " IS de facto one and the same string AT index 0 ??
<crowell> array doesn't have .split
<hplc> i feel braindead, been sitting with ruby since 18:30 and now its 04:00 here
arescorpio has joined #ruby
hewenhon_ has quit [Remote host closed the connection]
<crowell> hplc: so, do you understand
<crowell> that .split is a method that works on strings
<hplc> yes, i believe so
jenrzzz has joined #ruby
<crowell> so if you have an array, array doesn't know .split
Guest73337 has joined #ruby
<crowell> you have to tell it which element to apply split to
<al2o3-cr> hplc: and array start at 0 not 1
qwertme has joined #ruby
<al2o3-cr> unlike lua but thats a different story ;P
<al2o3-cr> hplc: if your not sure ask ;)
<xxneolithicxx> you're
<xxneolithicxx> ftfy
Mia has quit [Write error: Connection reset by peer]
<Papierkorb> al2o3-cr: have you been around in #lua ?
<al2o3-cr> not much been there now and again
<hplc> well i dont want to bother you excessivly, and im just on day1 on my adventure
<al2o3-cr> xxneolithicxx: cheers :)
<crowell> hplc: you can do somethign like this to work on all of them
<crowell> >> ["blah blah blah", "hello world"].inject(Array.new){|acc, val| acc << val.split(" ")}.flatten
<ruboto> crowell # => ["blah", "blah", "blah", "hello", "world"] (https://eval.in/323116)
<xxneolithicxx> its always day 1
<xxneolithicxx> welcome to the party
<pontiki> "It's day 1 somewhere!"
Brozo has quit [Remote host closed the connection]
iH8Nigrz has joined #ruby
iH8Nigrz was kicked from #ruby by ChanServ [User is banned from this channel]
anthony has joined #ruby
hewenhong has joined #ruby
anthony is now known as Guest84116
jenrzzz has quit [Ping timeout: 276 seconds]
Papierkorb has quit [Ping timeout: 264 seconds]
barhum2013 has quit [Quit: barhum2013]
babykosh has quit [Read error: Connection reset by peer]
<al2o3-cr> >> ["blah blah blah", "hello world"].each_with_object([]){|val, arr| arr << val.split(" ")}.flatten
<ruboto> al2o3-cr # => ["blah", "blah", "blah", "hello", "world"] (https://eval.in/323117)
jenrzzz has joined #ruby
<al2o3-cr> money_mayweather vs pacman in roughly an hour
hewenhong has quit [Ping timeout: 250 seconds]
Dakuan has joined #ruby
balazs has joined #ruby
nobitanobi has quit [Remote host closed the connection]
babykosh has joined #ruby
babykosh has quit [Read error: Connection reset by peer]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Brozo has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duncannz has joined #ruby
keen____ has quit [Read error: Connection reset by peer]
keen____ has joined #ruby
kblake has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
icebourg has joined #ruby
roolo has quit [Remote host closed the connection]
roolo has joined #ruby
Renich has quit [Ping timeout: 246 seconds]
kblake has quit [Ping timeout: 256 seconds]
Guest15 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
Renich has joined #ruby
roolo has quit [Ping timeout: 265 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest73337 is now known as nii236
balazs has quit [Remote host closed the connection]
PhantomSpank has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
fgo has joined #ruby
ruby008 has joined #ruby
iamninja has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
SleepDeprived has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
ruby008 has quit [Ping timeout: 246 seconds]
Dakuan has quit [Remote host closed the connection]
tuelz1 has quit [Ping timeout: 244 seconds]
SleepDeprived has quit [Ping timeout: 246 seconds]
SleepDeprived has joined #ruby
Dakuan has joined #ruby
moeabdol has quit [Ping timeout: 256 seconds]
mattp|spurs is now known as mattp
PhantomSpank has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
PhantomSpank has joined #ruby
Renich has quit [Quit: leaving]
AlphaAtom has quit [Ping timeout: 272 seconds]
threh has quit [Quit: Leaving]
tuelz1 has joined #ruby
charliesome has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nobitanobi has quit [Remote host closed the connection]
SleepDeprived has quit [Ping timeout: 246 seconds]
dc has joined #ruby
sprink has left #ruby [#ruby]
swgillespie has joined #ruby
RegulationD has joined #ruby
Mon_Ouie has quit [Remote host closed the connection]
ghr has joined #ruby
casadei_ has joined #ruby
that1guy has joined #ruby
i8igmac has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
kaspernj has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 256 seconds]
doodlehaus has quit [Remote host closed the connection]
casadei_ has quit [Ping timeout: 256 seconds]
lidenskap has quit [Remote host closed the connection]
baweaver has joined #ruby
DerisiveLogic has joined #ruby
braincra- has quit [Quit: bye bye]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maletor has joined #ruby
dc has quit [Remote host closed the connection]
konsolebox has quit [Remote host closed the connection]
dc has joined #ruby
CloCkWeRX has joined #ruby
konsolebox has joined #ruby
havenwood has quit [Remote host closed the connection]
konsolebox has quit [Max SendQ exceeded]
konsolebox has joined #ruby
braincrash has joined #ruby
Matachin_ has joined #ruby
dc has quit [Remote host closed the connection]
turtil has quit [Ping timeout: 264 seconds]
moted has quit [Ping timeout: 264 seconds]
mleung has joined #ruby
multi_io has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: zzz]
Matachines has quit [Ping timeout: 245 seconds]
multi_io has joined #ruby
vim_shimm has joined #ruby
SleepDeprived has joined #ruby
ohaibbq has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.1.1]
jenrzzz has joined #ruby
visualphoenix has joined #ruby
nobitanobi has joined #ruby
Matachin_ is now known as Matachines
AndroUser466 has joined #ruby
jaybe1001 has joined #ruby
<visualphoenix> hey ruby folks - i'm having a strange issue with some yaml dumping… i'm currently compiling 2.0.0-p645 to make sure i'm not crazy - if you run this gist: https://gist.github.com/visualphoenix/17e3c6ead5aa9c4c5b2d - the public key email/comment keeps dumping to a newline… can't figure out how to keep it so input = output
<visualphoenix> YAML.dump puts foo@bar.com on a newline
<visualphoenix> driving me nuts
SleepDeprived has quit [Quit: SleepDeprived]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 276 seconds]
juanpablo__ has joined #ruby
A205B064 has quit [Ping timeout: 272 seconds]
baweaver has quit [Remote host closed the connection]
ohaibbq has quit [Quit: Leaving...]
Brozo has quit [Remote host closed the connection]
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
SleepDeprived has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
ohaibbq has joined #ruby
SleepDeprived has quit [Client Quit]
fedexo has joined #ruby
claptor has joined #ruby
<visualphoenix> /j #coreos
vim_shimm has quit [Ping timeout: 255 seconds]
visualphoenix has left #ruby [#ruby]
juanpablo__ has quit [Ping timeout: 272 seconds]
Brozo has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
tjbiddle has quit [Quit: tjbiddle]
blackmesa has quit [Quit: WeeChat 1.1.1]
dc has joined #ruby
that1guy has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
ramfjord has joined #ruby
that1guy has joined #ruby
ruby973 has joined #ruby
AndroUser466 has quit [Quit: good bye]
SleepDeprived has joined #ruby
balazs has joined #ruby
SleepDeprived has quit [Client Quit]
ruby973 has quit [Ping timeout: 246 seconds]
RegulationD has joined #ruby
weemsledeux has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
that1guy has quit [Quit: This computer has gone to sleep]
nii236 has quit [Ping timeout: 256 seconds]
wmoxam has quit [Quit: leaving]
RegulationD has quit [Ping timeout: 255 seconds]
wmoxam has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
icebourg has quit []
wmoxam has joined #ruby
wmoxam has quit [Changing host]
axisys has quit [Remote host closed the connection]
tjbiddle has joined #ruby
ponga has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
nobitanobi has quit [Remote host closed the connection]
fgo has joined #ruby
32NABV7BP has joined #ruby
nobitanobi has joined #ruby
iamninja has quit [Ping timeout: 272 seconds]
fgo has quit [Ping timeout: 264 seconds]
nahtnam has joined #ruby
32NABV7BP has quit [Client Quit]
Eiam_ has joined #ruby
baweaver has joined #ruby
f3lp has quit [Ping timeout: 265 seconds]
ramfjord has quit [Ping timeout: 256 seconds]
claptor has quit [Quit: this channel is bakas]
workmad3 has joined #ruby
pontiki has quit [Quit: leaving]
bean has joined #ruby
nobitanobi has quit [Remote host closed the connection]
paradisaeidae has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
workmad3 has quit [Ping timeout: 256 seconds]
julian-delphiki has quit [Ping timeout: 264 seconds]
ramfjord has joined #ruby
xsdg has quit [Ping timeout: 272 seconds]
f3lp has joined #ruby
tuelz1 has quit [Ping timeout: 250 seconds]
sent1nel has quit [Remote host closed the connection]
ramfjord_ has joined #ruby
vim_shimm has joined #ruby
djbkd has quit [Quit: Leaving...]
arescorpio has quit [Quit: Leaving.]
ramfjord has quit [Ping timeout: 244 seconds]
jayeshsolanki has joined #ruby
ponga has quit [Quit: Leaving...]
xsdg has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
The_Phoenix has joined #ruby
websoftwarez has joined #ruby
websoftwarez has quit [Changing host]
websoftwarez has joined #ruby
nii236 has joined #ruby
Mark-6ma has joined #ruby
julian-delphiki has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
balazs has quit [Remote host closed the connection]
bean has quit [Ping timeout: 264 seconds]
Brozo has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
sent1nel has joined #ruby
lidenskap has joined #ruby
vim_shimm has quit [Ping timeout: 276 seconds]
bruno- has joined #ruby
RegulationD has joined #ruby
that1guy has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
papashou has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
doodlehaus has joined #ruby
danman has joined #ruby
lavros has joined #ruby
danman has quit [Client Quit]
RegulationD has quit [Ping timeout: 255 seconds]
wjimenez5271 has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
wjimenez5271 has quit [Client Quit]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
icebourg has joined #ruby
doodlehaus has quit [Ping timeout: 244 seconds]
ponga has joined #ruby
beneggett has joined #ruby
Brozo has joined #ruby
bim has joined #ruby
bim is now known as Guest128
Brozo has quit [Remote host closed the connection]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Parker0 has joined #ruby
lxsameer_ has joined #ruby
Parker0 has quit [Client Quit]
ChoiKyuSang has joined #ruby
Guest128 has quit [Ping timeout: 240 seconds]
sameerynho has quit [Ping timeout: 240 seconds]
Brozo has joined #ruby
riotjones has joined #ruby
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
that1guy has quit [Quit: This computer has gone to sleep]
Rickmasta has joined #ruby
riotjones has quit [Ping timeout: 240 seconds]
juanpablo__ has joined #ruby
juanpablo__ has quit [Ping timeout: 255 seconds]
someguy has joined #ruby
Guest84116 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rickmasta has quit [Remote host closed the connection]
Rickmasta has joined #ruby
nii236 has quit [Read error: Connection reset by peer]
rgb-one has joined #ruby
rgb-one has quit [Remote host closed the connection]
Dakuan has quit []
papashou has joined #ruby
tubuliferous_ has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
naftilos76 has joined #ruby
jaybe1001 has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
Fingel has quit [Ping timeout: 244 seconds]
lidenskap has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
thatslifeson has joined #ruby
Fingel has joined #ruby
jack_rabbit has quit [Ping timeout: 272 seconds]
hewenhong has joined #ruby
icebourg has quit []
hewenhong has quit [Ping timeout: 240 seconds]
paradisaeidae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/20150415140819]]
PhantomSpank has quit [Remote host closed the connection]
Rahul_Roy has joined #ruby
tubuliferous_ has quit [Quit: ZNC - http://znc.in]
tjbiddle has joined #ruby
RegulationD has joined #ruby
charliesome has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
CloCkWeRX has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
mleung has quit [Quit: mleung]
fedexo has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby
hewenhong has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
tjbiddle has quit [Quit: tjbiddle]
konsolebox has quit [Ping timeout: 276 seconds]
bMalum has joined #ruby
psy has quit [Ping timeout: 265 seconds]
turtil has joined #ruby
Detre has joined #ruby
<Detre> Hi
j0hnnyk has quit [Remote host closed the connection]
someguy has quit [Quit: This computer has gone to sleep]
<al2o3-cr> o/
Matachines has quit [Quit: Textual IRC Client: www.textualapp.com]
ramfjord_ has quit [Ping timeout: 265 seconds]
ramfjord has joined #ruby
hewenhong has quit [Remote host closed the connection]
hewenhong has joined #ruby
lfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has joined #ruby
casadei_ has joined #ruby
P1RATEZ has quit []
hewenhong has quit [Ping timeout: 276 seconds]
taiansu has joined #ruby
fgo has joined #ruby
casadei_ has quit [Ping timeout: 264 seconds]
zotherstupidguy has quit [Quit: trying to find ki]
fgo has quit [Ping timeout: 264 seconds]
rkazak_ has joined #ruby
i8igmac has quit [Ping timeout: 252 seconds]
psy has joined #ruby
bruno- has joined #ruby
panga has joined #ruby
lidenskap has joined #ruby
sent1nel has quit [Remote host closed the connection]
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ponga has quit [Ping timeout: 256 seconds]
bruno- has quit [Ping timeout: 256 seconds]
Fingel has quit [Ping timeout: 256 seconds]
gizmore has joined #ruby
sent1nel_ has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
zotherstupidguy has joined #ruby
PhantomSpank has joined #ruby
sent1nel_ has quit [Ping timeout: 265 seconds]
lidenskap has quit [Remote host closed the connection]
thekodols has joined #ruby
lidenskap has joined #ruby
RegulationD has joined #ruby
konsolebox has joined #ruby
psy has quit [Ping timeout: 240 seconds]
doodlehaus has joined #ruby
ramfjord has joined #ruby
psy has joined #ruby
lidenskap has quit [Ping timeout: 256 seconds]
ItSANg___ has quit [Read error: Connection reset by peer]
ItSANgo__ has joined #ruby
astrobunny has joined #ruby
ItSANgo__ has quit [Max SendQ exceeded]
RegulationD has quit [Ping timeout: 255 seconds]
doodlehaus has quit [Ping timeout: 240 seconds]
ItSANgo__ has joined #ruby
perturbation has joined #ruby
juanpablo__ has joined #ruby
konsolebox has quit [Ping timeout: 255 seconds]
perturbation has quit [Client Quit]
ItSANgo__ has quit [Max SendQ exceeded]
bim has joined #ruby
bim is now known as Guest9332
ItSANgo__ has joined #ruby
mooe has joined #ruby
juanpablo__ has quit [Ping timeout: 256 seconds]
ItSANgo__ has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
Guest9332 has quit [Ping timeout: 264 seconds]
a346 has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
<agent_white> Evenin' folks
ItSANgo_ has joined #ruby
<PhantomSpank> hi!
advorak has quit [Quit: This computer has gone to sleep]
Ropeney has quit [Quit: Leaving]
wottam has joined #ruby
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ItSANgo_ has quit [Max SendQ exceeded]
ItSANgo_ has joined #ruby
hanmac has quit [Ping timeout: 256 seconds]
lidenskap has joined #ruby
ItSANgo_ has quit [Read error: Connection reset by peer]
A205B064 has joined #ruby
antgel has joined #ruby
ItSANgo_ has joined #ruby
ItSANgo_ has quit [Max SendQ exceeded]
ItSANgo_ has joined #ruby
thekodols has quit [Ping timeout: 265 seconds]
ItSANgo_ has quit [Max SendQ exceeded]
ItSANgo_ has joined #ruby
edwinvdgraaf has joined #ruby
hanmac has joined #ruby
keen____ has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
keen____ has joined #ruby
Alina-malina has quit [Quit: Leaving]
Zai00 has joined #ruby
a346 has quit [Quit: a346]
thekodols has joined #ruby
exadeci has joined #ruby
Zai00 has quit [Ping timeout: 264 seconds]
<shevy> hmm
<shevy> PhantomSpank cool nick bro
funburn has joined #ruby
sent1nel has joined #ruby
jayeshsolanki has quit [Quit: bye!]
charliesome has quit [Quit: zzz]
<PhantomSpank> shevy: thanks bruh
workmad3 has joined #ruby
kyrylo has joined #ruby
sent1nel has quit [Ping timeout: 265 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cheerio]
workmad3 has quit [Ping timeout: 256 seconds]
RegulationD has joined #ruby
taiansu has quit [Remote host closed the connection]
taiansu has joined #ruby
funburn has quit [Quit: funburn]
konsolebox has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
taiansu has quit [Ping timeout: 244 seconds]
emocakes has joined #ruby
roolo has joined #ruby
chipotle has joined #ruby
rkazak_ has quit [Quit: Sleep.....ing....]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
bigmac has joined #ruby
<bigmac> whats the proper way to encode a string for use with file reading and directory opening
<bigmac> "some directory (200)/some file.jpg"
<bigmac> uri encode?
<bigmac> "some\ directory\ \(200\)/some\ file.jpg"
Alina-malina has joined #ruby
moeabdol has joined #ruby
<bigmac> uri::escape?
lkba_ has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
iamninja has joined #ruby
zotherstupidguy has quit [Quit: Lost terminal]
<bigmac> `wget -O a/location over here/#{"new file name (20015)"}.jpg`
anthony has joined #ruby
moeabdol has quit [Ping timeout: 246 seconds]
anthony is now known as Guest13258
sandstrom has joined #ruby
A205B064 has quit [Ping timeout: 256 seconds]
codecop has joined #ruby
sevenseacat has joined #ruby
thekodols has quit [Ping timeout: 246 seconds]
<bigmac> `ls this file location`
<bigmac> `ls this\ file\ location`
<bigmac> is there a string encoding for a proper use with file operations
<bigmac> reading, writing file names
<wasamasa> whatever your file system dictates
<wasamasa> also, keeping it to ascii would be useful
<wasamasa> or at least utf-8
yaw has joined #ruby
bruno- has joined #ruby
<bigmac> Shellwords.shellescape
<bigmac> i found something maybe
<bigmac> Shellwords.shellescape("some file (20015)")
<wasamasa> that's something different
<wasamasa> it uses quoting as required by the shell
<bigmac> i have a large list of directories and file names, that look like.
<bigmac> file name (2015)
<wasamasa> did you know that ext4 permits anything except slashes and zero bytes?
bMalum has quit [Quit: bMalum]
<wasamasa> while ntfs has the weirdest file name rules ever?
<bigmac> i did not know
<wasamasa> if you wish to wreak havoc, just put a newline into a filename
<wasamasa> that will break loads of shell scripts
<bigmac> `ls #{Shellwords.shellescape("file name (2015)")}`
<wasamasa> as I wrote before, shell escaping won't help you
<wasamasa> since it's for an entirely different purpose and will leave the more problematic ones in :P
<wasamasa> perhaps look at slugification
<wasamasa> that's the term for turning a title of a blog post into a suitable file name
bruno- has quit [Ping timeout: 244 seconds]
<wasamasa> so, "I love Ruby!" turns into "i-love-ruby"
RandyT_ has quit [Ping timeout: 256 seconds]
<bigmac> yah, i would like to avoid file renames, but if i must
<bigmac> Dir.glob("*").each{ |x| puts `ls #{Shellwords.shellescape(x)}`}
<wasamasa> ...
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<wasamasa> this is pretty horrible, you could just be using Dir.glob('**/*')
<wasamasa> and avoid using a shell for your commands
<bigmac> yes, but im using the filename across the script
<bigmac> just a example with using ugly file names inside a backtick
<wasamasa> don't use backticks at all
<wasamasa> this shows what effort is involved in making shell usage in ruby safe
<shevy> bigmac I opted for another approach when that is possible, for my files. I keep simple filenames, without any '(' ')' or ' '
ph8 has joined #ruby
ohaibbq has quit [Quit: Leaving...]
<bigmac> ill have to put some work into renaming everything.
ghormoon has joined #ruby
f3lp has quit [Ping timeout: 256 seconds]
moeabdol has joined #ruby
antgel has quit [Ping timeout: 256 seconds]
antgel has joined #ruby
<shevy> you could use a ruby script
<shevy> I have written some tiny classes that do such things; "rblank" replaces all ' ' with '_'; then I have some others that get rid of other tokens
lkba_ has quit [Ping timeout: 264 seconds]
gizmore has joined #ruby
sent1nel has joined #ruby
Zai00 has joined #ruby
papashou has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juanpablo__ has joined #ruby
Mark-6ma has quit [Quit: -]
yaw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sent1nel has quit [Ping timeout: 272 seconds]
scripore has joined #ruby
astrobunny has quit [Remote host closed the connection]
juanpablo__ has quit [Ping timeout: 245 seconds]
doodlehaus has joined #ruby
RegulationD has joined #ruby
lidenskap has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 264 seconds]
zotherstupidguy has joined #ruby
doodlehaus has quit [Ping timeout: 245 seconds]
TheHodge has joined #ruby
thatslifeson has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 255 seconds]
<agent_white> wasamasa: Interesting... I have a buddy writing a shell in python and was thinking about writing one in ruby for fun. Nice article :)
Guest13258 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nii236 has joined #ruby
kaspernj has joined #ruby
lidenskap has joined #ruby
einarj has joined #ruby
thekodols has joined #ruby
Detre is now known as Sillian
yfeldblum has quit [Ping timeout: 256 seconds]
zotherstupidguy has quit [Quit: leaving]
dcarmich has joined #ruby
dcarmich has quit [Client Quit]
vickleton has joined #ruby
mooe has quit [Quit: Connection closed for inactivity]
relix has joined #ruby
codecop has quit [Remote host closed the connection]
bim has joined #ruby
bim is now known as Guest28939
<shevy> yes!
<shevy> write one
<shevy> don't be so lazy guys, aim for the big things in life
Guest28939 has quit [Ping timeout: 256 seconds]
duncannz has quit [Read error: Connection reset by peer]
lidenskap has quit [Remote host closed the connection]
hewenhong has joined #ruby
wottam has joined #ruby
Eiam has quit [Read error: Connection reset by peer]
dvlwrk has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby
bigmac has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby
emocakes has quit [Ping timeout: 264 seconds]
Akagi201_ has quit [Remote host closed the connection]
Akagi201 has joined #ruby
wottam has quit [Quit: Textual IRC Client: www.textualapp.com]
Akagi201_ has joined #ruby
decoponio has joined #ruby
Pupeno has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
scripore has quit [Quit: This computer has gone to sleep]
platzhirsch has joined #ruby
yoni has joined #ruby
yoni is now known as Guest5241
lidenskap has joined #ruby
Akagi201 has quit [Ping timeout: 252 seconds]
platzhirsch has quit [Client Quit]
michael_mbp has quit [Excess Flood]
nii236 has quit [Quit: WeeChat 1.1.1]
michael_mbp has joined #ruby
bim has joined #ruby
bim is now known as Guest15348
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
bebijlya has quit [Ping timeout: 265 seconds]
bebijlya has joined #ruby
ndrei has joined #ruby
<agent_white> shevy: What I am trying to figure out, is how to make it fun so I'd want to do it.
RegulationD has joined #ruby
<shevy> hmm
narcan has joined #ruby
<agent_white> Once that comes to me, I think I'll write it.
<agent_white> I was thinkign about a
<shevy> since when is programming fun!
narcan has quit [Max SendQ exceeded]
turtil has quit [Ping timeout: 246 seconds]
<agent_white> "Five W's" version of a shell... a little DSL that makes figuring shit out a lot more intuitive.
<agent_white> Hahah.
<agent_white> Not when, but why!
thatslifeson has joined #ruby
KnownSyntax has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
casadei_ has joined #ruby
thatslifeson has quit [Ping timeout: 240 seconds]
<agent_white> I decided to stay after work and attach sticky notes to everyones timecard. I asked one employee withe the initials MM if she prefers M&M to skittles, and why M&M is spelled backwards.
<agent_white> Tomorrow I will find these truths of the universe.
moeabdol has quit [Quit: WeeChat 1.1.1]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
<agent_white> Though the pregnant ladies answer on if having a baby-human inside her swimming around means aquatic abilities are increased will be more exciting to find out.
<shevy> what the
<agent_white> Or I may clock-in and shortly afterwards end up in a straightjacket. Either way it will be an exciting day for all.
<shevy> is this Alien I
<agent_white> shevy: That is my question!
<agent_white> :D
casadei_ has quit [Ping timeout: 272 seconds]
* agent_white shrugs
<agent_white> Hopefully it makes 'clocking-in' a bit more funny... good way to start the day.
lidenskap has quit [Remote host closed the connection]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
<shevy> disguise as alien
<shevy> much better way to start the day
<agent_white> I should... but the sticky-notes are too far away to retreive.
chinmay_dd has joined #ruby
iotouch has joined #ruby
nfk has joined #ruby
bruno- has joined #ruby
moeabdol has joined #ruby
lxsameer_ has quit [Quit: Leaving]
lxsameer_ has joined #ruby
lxsameer_ is now known as lxsameer
lxsameer has quit [Changing host]
lxsameer has joined #ruby
fgo has joined #ruby
websoftwarez has quit [Ping timeout: 240 seconds]
banister has joined #ruby
sent1nel has joined #ruby
riceandbeans has joined #ruby
ItSANgo_ has quit [Ping timeout: 240 seconds]
ItSANg___ has joined #ruby
juanpablo__ has joined #ruby
sent1nel has quit [Ping timeout: 272 seconds]
doodlehaus has joined #ruby
ChoiKyuSang has joined #ruby
juanpablo__ has quit [Ping timeout: 272 seconds]
Azure has joined #ruby
unshadow has joined #ruby
<unshadow> Hi guys, a quick question, I want to set Socket linger option for a ruby sokcet, is this the way to do it : socket.setsockopt(Socket::Option.linger(true, 10)) ?
vim_shimm has joined #ruby
zz_Outlastsheep is now known as Outlastsheep
vim_shimm has quit [Ping timeout: 272 seconds]
CloCkWeRX has quit [Quit: Leaving.]
edwinvdgraaf has quit [Remote host closed the connection]
RegulationD has joined #ruby
moeabdol has quit [Ping timeout: 272 seconds]
chinmay_dd_ has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
chinmay_dd has quit [Ping timeout: 250 seconds]
phutchins has joined #ruby
Guest15 has joined #ruby
Guest15 has quit [Client Quit]
<shevy> I did not even know there is a linger method
oo_ has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
<shevy> this is better
<unshadow> Yeha, it just shows the method, dosen;t show how to use it XD
<shevy> Socket::Option.linger(onoff, secs) => sockopt
<shevy> onoff should be an integer or a boolean.
<shevy> secs should be the number of seconds.
<shevy> so you pass a boolean, and the amount of seconds
<shevy> what does the above return?
<shevy> A Socket::Option object I assume.
<shevy> I'd assume this all looks fine so far unshadow
<shevy> hmm
<shevy> sock.setsockopt(Socket::SOL_IP, Socket::IP_TRANSPARENT, 1)
<shevy> that gives me a headache
vudew has joined #ruby
lidenskap has joined #ruby
Azure has quit [Quit: Oops.]
Azure has joined #ruby
kyrylo has quit [Ping timeout: 256 seconds]
<shevy> unshadow wouldn't you also wish the ruby docs to be much better than they are? :)
DEA7TH has joined #ruby
lidenskap has quit [Ping timeout: 256 seconds]
lidenskap has joined #ruby
lidenskap has quit [Remote host closed the connection]
LJT has joined #ruby
iotouch has joined #ruby
LJT has quit [Client Quit]
CorpusCallosum has joined #ruby
Guest15 has joined #ruby
Guest15 has quit [Remote host closed the connection]
<Sillian> The self keyword in Ruby is used for class methods? As an example in C++, a method to control static variables? (One instance per class rather than one instance per object)
yaw has joined #ruby
Juanchito has joined #ruby
moeabdol has joined #ruby
<shevy> The self keyword is also used for class methods
<shevy> >> class Foo; def self.bar; puts 'this is bar from Foo'; end; end; Foo.bar()
<ruboto> shevy # => this is bar from Foo ...check link for more (https://eval.in/323171)
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<shevy> I don't know what you mean with "static variables"; you can use @instance_variables that reside on the class level instance
yh has joined #ruby
<shevy> >> class Foo; @var = 'yo'; def self.bar; puts @var; end; end; Foo.bar()
<ruboto> shevy # => yo ...check link for more (https://eval.in/323173)
workmad3 has joined #ruby
<shevy> Does ruboto have an issue tracker?
Azure has quit [Read error: Connection reset by peer]
<Sillian> <shevy> The self keyword is also used for class methods
<shevy> I think the part "...check link for more" could probably be omitted, and perhaps yo might become "yo" instead or something, to denote where it stops and ends to evaluate
<Sillian> Which was exactly what I said.
<shevy> yes and I said also ;)
<Sillian> Well if you don't know C++ then it's hard to know what a static variable is.
Azure has joined #ruby
<shevy> inside your given class you could use self.name or similar too, or perhaps self.class.to_s
<shevy> like when you want to autogenerate class methods
airdisa has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
mostlybadfly has quit [Quit: Connection closed for inactivity]
<shevy> If you need to have only one instance of a given class, you could try to use the Singleton pattern: http://dalibornasevic.com/posts/9-ruby-singleton-pattern
workmad3 has quit [Ping timeout: 245 seconds]
lxsameer has quit [Remote host closed the connection]
yh has quit [Ping timeout: 272 seconds]
<unshadow> shevy, yeha better docs = my dream
<shevy> :)
lxsameer has joined #ruby
millerti has joined #ruby
oo_ has quit [Remote host closed the connection]
davedev24_ has joined #ruby
einarj has quit [Remote host closed the connection]
lxsameer has quit [Remote host closed the connection]
yh has joined #ruby
lkba has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Sillian> shevy, I see, thanks.
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<toretore> but do keep in mind that singletons are useless
spider-mario has joined #ruby
thatslifeson has joined #ruby
<Sillian> "Buttherules of scope assure us that each object method operates onlyon the object whose methodisbeingcalled,providinguswiththe necessary illusion thatobject methods are associated strictly with their objects."
colorados has quit [Quit: Leaving]
<Sillian> Hmm, so we are not sure if for every object created there will be a copy each time for the methods?
Zai00 has quit [Quit: Zai00]
lordkryss has joined #ruby
casadei_ has joined #ruby
thatslifeson has quit [Ping timeout: 244 seconds]
LJT has joined #ruby
jayeshsolanki has joined #ruby
FernandoBasso has joined #ruby
jeromelanteri has joined #ruby
LJT has quit [Client Quit]
Soda has joined #ruby
casadei_ has quit [Ping timeout: 250 seconds]
naftilos76 has quit [Remote host closed the connection]
RegulationD has joined #ruby
<jhass> Sillian: can you try to rephrase the question? not sure what you're asking
thekodols has quit [Ping timeout: 265 seconds]
charliebr73 has joined #ruby
narph has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
moeabdol has quit [Quit: WeeChat 1.1.1]
lxsameer has quit [Ping timeout: 255 seconds]
AlphaAtom has joined #ruby
jaybe1001 has joined #ruby
pontiki has joined #ruby
hewenhong has quit [Remote host closed the connection]
Outlastsheep is now known as zz_Outlastsheep
hewenhong has joined #ruby
moeabdol has joined #ruby
jaybe1001 has quit [Remote host closed the connection]
hewenhon_ has joined #ruby
OnBrokenWings has joined #ruby
mostlybadfly has joined #ruby
OnBrokenWings has quit [Remote host closed the connection]
odlox has joined #ruby
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
hewenhong has quit [Ping timeout: 265 seconds]
odlox has quit [Max SendQ exceeded]
unshadow has quit [Quit: leaving]
antgel has quit [Ping timeout: 272 seconds]
odlox has joined #ruby
odlox has quit [Remote host closed the connection]
antgel has joined #ruby
relix has joined #ruby
agent_white has quit [Quit: gnight]
yh has quit [Ping timeout: 256 seconds]
<shevy> Sillian if you create an object from a given class, via new, that object will have the methods that the class specified
AlphaAtom has quit []
<jhass> "have" = "respond to"
<shevy> jhass please
<shevy> Sillian you can in ruby at run-time change the behaviour of the objects, for instance: you can add new methods to your specific object in question
<shevy> >> class Foo; def bar; puts 'this is bar'; end; end; foo = Foo.new; def foo.bar; puts 'is this really bar?'; end; foo.bar
<ruboto> shevy # => is this really bar? ...check link for more (https://eval.in/323215)
<shevy> Sillian you could even try to detach a method from a given object such as via: http://ruby-doc.org/core-2.1.5/UnboundMethod.html
<shevy> well, detach is the wrong word
<shevy> the documentation worded it in a better way: "method objects are not associated with a particular object" hmm...
<shevy> method objects? isn't that also an object?
<pontiki> "a *particular* object"
<shevy> reads better with pontiki's emphasis
<Sillian> shevy, I see thank you :)
<Sillian> shevy, Is Ruby a big language in general?
<shevy> \o/
<shevy> yeah I think so
juanpablo__ has joined #ruby
A205B064 has joined #ruby
<shevy> it is essentially consistent and elegant but there is quite a bit of things one has to know or should know... blocks procs/lambdas ... instance methods vs. class methods/class instance methods ... hmm
<shevy> matz once said that ruby is like the human body
<shevy> let me try to find that quote
bMalum has joined #ruby
<shevy> "Ruby is simple in appearance, but is very complex inside, just like our human body."
sevenseacat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> 15 years old oh my god...
<shevy> he was 35 years old
<shevy> :(((
<Sillian> I see. Well, does it help having previous experience in any other language? I see Ruby is very similar to Python.
<shevy> yeah it helps a lot
<shevy> you won't have much difficulty understanding functions/methods right?
<Sillian> I see. I'm currently reading "The Ruby Way, 3rd Edition".
<shevy> so the only addition in ruby are blocks
<Sillian> shevy, No that's same as in C.
<Sillian> :)
<shevy> which are like an extra argument
sevenseacat has joined #ruby
<shevy> and the syntax perhaps
<Sillian> shevy, Hm yea I heard about blocks. What are they exactly?
<shevy> the &foo stuff, that may be a bit confusing
<shevy> well you can pass a block to a method in ruby
<shevy> say you make a method called foo: def foo
<shevy> now you can invoke it via foo or foo()
<shevy> and you can also pass a block to it like:
<shevy> foo { 'hello world' }
<Sillian> Oh, wtf.
<shevy> if your method accepts an argument, then it may look like this:
juanpablo__ has quit [Ping timeout: 255 seconds]
<shevy> def foo(my_mandatory_argument_here)
<toretore> Sillian: blocks are syntax sugar for passing functions. def method(arg, fn); fn.call(arg); end == def method(arg); yield arg; end
Soda has quit [Ping timeout: 240 seconds]
<shevy> and the invocation may be:
doodlehaus has quit [Remote host closed the connection]
<shevy> foo('we pass a string here') { 'and here we pass another string' }
<Sillian> Ah lol :d
Zambz has joined #ruby
<Sillian> Well, this is definitely new.
<shevy> you can also put method calls into such blocks too
metalic has joined #ruby
<shevy> and you can also have these method calls evaluated somewhere else; I think sinatra and prawn does that
<shevy> let me find a prawn example
<shevy> Prawn::Document.generate "example.pdf" do
Soda has joined #ruby
<shevy> draw_text "Hello World", :at => [200,720], :size => 32
<Sillian> So coming from another language, what should I focus more in Ruby? I really want to become good at it before trying out web. Also I'm a bit worried as all the popularity are towards Python, but I don't like Python and Django that's why I'm choosing Ruby.
<shevy> do/end is almost the same as {} above Sillian
<Sillian> shevy, Oh I see, looks clean :)
<shevy> well the simplest I think is just to write some commandline things
<shevy> the very boring basics - create files, directores, move them, delete them... output stuff to the user... allow things like --help options...
<shevy> ah, and put stuff into modules too, and use classes
<shevy> yeah it's true, python is more popular :(
ponga has joined #ruby
<shevy> I picked ruby because of the old matz interview, did you read it? "The Philosophy of Ruby"
sevenseacat has quit [Client Quit]
<shevy> It's a short interview, 4 pages only: http://www.artima.com/intv/ruby.html
PhantomSpank has quit []
<Sillian> shevy, What do you mean by commandline things?
<shevy> .rb files you can invoke from the commandline directly
<Sillian> I'm a Linux user, terminal is used 99% of the time :)
<shevy> yeah but web stuff is usually different isn't it? like php :)
<shevy> I used to stare at debug messages in my browser!
<Sillian> shevy, Won't be doing that for a while I guess :p
<shevy> I also found the rails ecosystem quite complex too
lfox has joined #ruby
A124 has quit [Ping timeout: 264 seconds]
<shevy> do read that interview though :P
banister has joined #ruby
doodlehaus has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<Sillian> shevy, Yea I will :)
<Sillian> shevy, Btw, do you believe Ruby/Rails will still be a great choice for startups in 5,10 years period?
panga has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
<shevy> I don't really know rails well
LJT has joined #ruby
<shevy> ruby well ...
<shevy> it lost momentum
<shevy> I don't know which other language one would want to use to fill the same nich
<shevy> perl 6?
sevenseacat has joined #ruby
redlegion has joined #ruby
<Sillian> Lol Perl 6 :p
<Sillian> shevy, Well, Python/Django, Node.js etc?
<toretore> Sillian: you'd choose ruby because you like it, not because it's the next big thing
<shevy> I don't know how accurate that trend is but you could have a look:
<shevy> http://www.google.com/trends/explore#q=Ruby%20-%20Programming%20Language%2C%20Python%20-%20Programming%20language%2C%20Perl%20-%20Programming%20Language%2C%20PHP%20-%20Programming%20Language&cmpt=q&tz=
LJT has quit [Client Quit]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> ignore the last downward curve ;)
lidenskap has joined #ruby
LJT has joined #ruby
<shevy> ruby is doing a bit better than perl; there is a big gap towards python and php though
<shevy> python has really exploded since like 2011 :\
<shevy> even took over php
<Sillian> shevy, The last downward curve..haha
<Sillian> Yea, how come really? I find Ruby really really nice.
<shevy> yeah that is a future trend I think
<shevy> 5 months ago, that curve was looking upwards
<shevy> no idea
<shevy> let's add TIOBE - everyone hates TIOBE but I love the fact that everyone hates it
<shevy> PHP and python are now very close; javascript sort of exploded on TIOBE
<shevy> ruby fell :(
<shevy> how it can fall in one year from 11 to 18 eludes me though
<shevy> TIOBE sacrifices chickens and reads from the bones
<Sillian> Well, it can also be that many Universities and many young people, kids and such are trying Python out. While Ruby is seen more for advanced developers I guess.
<shevy> yeah I guess so too, it's probably better than Java to teach as well
AlphaAtom has joined #ruby
<shevy> Sillian in my case, I would not know which other language to use though. perl, I used it, I can't cope with the syntax. php was semi-ok for web stuff but for commandline, php is simply annoying. ruby is from a technical point of view better than both php and perl
jenrzzz has joined #ruby
<shevy> momentum is important though
<shevy> how linux was once ported on less operating systems than netBSD, and they eventually run on more systems these days than netBSD does
<sevenseacat> php was designed as a web language, only recently has it started making forays into cli
lidenskap has quit [Ping timeout: 256 seconds]
<shevy> Sillian you could probably easily use python either :)
<toretore> Sillian: if you want future-proof, choose something with good concurrency/parallelism primitives. this is not really ruby's greatest strength
<shevy> Sillian sevenseacat is a rails cat by the way, you can ask her many rails questions
* sevenseacat waves
lxsameer has joined #ruby
<Sillian> toretore, Oh, is there something you would like to suggest.
<Sillian> shevy, Heh :)
* Sillian waves
ascarter has joined #ruby
<toretore> Sillian: there are many options: go, clojure, erlang, scala, rust; java even
JDiPierro has joined #ruby
<toretore> what they all have in common is more sophisiticated concurrency primitives
<Sillian> Well, right now for me Ruby/Rails, even tho I'm not good at it seems the ideal choice for startups. Now, maybe the learning curve will cut the popularity. I have no idea. But for someone that's dedicated to learn Ruby and Rails, what do you think?
<Sillian> toretore, Try Java for startups. After 6 months, you might have something running.
qwertme has joined #ruby
<toretore> if you have developers who don't know java, yes
<shevy> Sillian the learning curve is not thaaaaat bad
<shevy> just aim for simplicity
<toretore> java 8 has a lot of attractive new features, and they build on a solid foundation
<toretore> ruby and its libraries are more hacked together
<shevy> hehe
<sevenseacat> i find the learning curve for java to be a lot harder
<toretore> neither is good nor bad, if you know what to expect
gizmore has joined #ruby
<sevenseacat> that being said, my only exposure to java was in university, and also a week of trying to learn android
<Sillian> sevenseacat, If you say that, then you implicitly define Ruby as a very easy language.
<sevenseacat> which was hopeless because i didnt know java
<sevenseacat> i do not
<Sillian> You can pickup Java very fast
<sevenseacat> but its learning curve is lower.
LJT has quit [Quit: Sleeping...]
<toretore> what is simple in the beginning often gets much more complicated when your needs expand
<sevenseacat> Sillian: like i said, *i find* the learning curve to be hard
AlphaAtom has quit [Remote host closed the connection]
<toretore> what is complicated/difficult in the beginning often has support for the complex problems that you have later on
AlphaAtom has joined #ruby
weemsledeux has joined #ruby
iotouch has joined #ruby
<toretore> the ruby community, most of the time, focuses on solving simple problems
<sevenseacat> we Get Shit Done(TM)
<toretore> yeah, until said shit hits the fan
RandyT has joined #ruby
<sevenseacat> then we call consultants or spend six months refactoring
<toretore> rewrite in go
<toretore> seems to be the new trend
<sevenseacat> ive heard that one around a bit
<sevenseacat> or rewrite it in node
<toretore> haha
<sevenseacat> depending on whether its a devops doing the bitching or not
<toretore> yeah that's not going to solve any problems
<sevenseacat> devops will go for go, everyone else for node
<AlphaAtom> what is devops
<AlphaAtom> i hear that term thrown around a lot
<AlphaAtom> and i have no idea what it means
<toretore> developers who play sysadmins
<sevenseacat> its the cool term for a half-developer, half-sysadmin
taiansu has joined #ruby
<AlphaAtom> oh okay :p
<toretore> aka every developer ever
<sevenseacat> heh
<sevenseacat> i dunno, i know a few who are like 'i just write the code, you do the rest'
<toretore> yeah, that works as well as a web designer who "designs the page in ps, you do the rest"
<toretore> they both need some mechanical sympathy for the underlying infrastructure to have their work implemented properly
<sevenseacat> for sure
Papierkorb has joined #ruby
<sevenseacat> ive known a few web designers like that too :P
<toretore> ideally, a single person should know everything; from the kernel up to the designy stuff
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<toretore> but that's rare
<sevenseacat> ideally, there should be a lot of overlap and no one person should be solely responsible for something
<toretore> but then you have to work with other people :(
<sevenseacat> yeah thats the crappy part.
<toretore> and people suck
<toretore> i <3 machines
<toretore> there's no drama or bullshit with machines
<sevenseacat> machines dont have hidden agendas or play politics
<toretore> exactly
* sevenseacat is the worst person at office politics ever
<toretore> i've never worked, and will hopefully never work, in an office for this reason
metalic has quit [Quit: Leaving]
<toretore> humans :(
<sevenseacat> i have. i dont anymore - now i do remote work and love it to pieces
<adaedra> Hello
lxsameer has quit [Quit: Leaving]
RegulationD has joined #ruby
<mwlang> heh…and yet we’re creating software for humans…. :-p
yaw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<toretore> i hate that argument
<toretore> it results in shitty software
<adaedra> so make better humans?
<toretore> people think that if you have to do some learning to use a system it's a bad thing
<toretore> "no, we'll cripple the system so you don't have to think, no problem"
<sevenseacat> everyone should immediately grok everything there is to know
<sevenseacat> if you need instructions, its a Bad Design
<sevenseacat> lololo
fgo has quit [Quit: WeeChat 1.1.1]
<Sillian> sevenseacat, Could you state some examples where RoR would not be a good choice?
<adaedra> how is the perfect world you're living in?
<sevenseacat> i never learn how to properly use so many of the webapps i use, simply because they rely on 'awesome conventions and icons that everyone knows'
<Sillian> Referring to concurrency above.
<sevenseacat> Sillian: i havent seen any mention of concurrency, so
RegulationD has quit [Ping timeout: 255 seconds]
<sevenseacat> if you're building a brochure website (all static content), or you're not building a web app
<sevenseacat> Rails wouldnt be appropriate for those.
thiagovsk has quit [Quit: Connection closed for inactivity]
<toretore> there is value in intuitive operation, but not at the cost of the system's integrity
<toretore> it will come back to bite you, and the users
einarj has joined #ruby
<Sillian> I was referring to thos
<Sillian> toretore> Sillian: if you want future-proof, choose something with good concurrency/parallelism primitives. this is not really ruby's greatest strength
j0hnnyk has joined #ruby
<adaedra> uck
<toretore> - he said, knowing everything that is to know in this world
<sevenseacat> its not, but most web apps dont have a lot to do with concurrency or parallelism
<Sillian> sevenseacat, But for most web applications or blue prints Rails is an excellent choice?
<Sillian> toretore, sevenseacat Ah ok I see, thanks.
<toretore> Sillian: it'll get the job done just fine
<sevenseacat> for data-driven web applications, Rails is an excellent choice.
<Sillian> Thank you :)
jlast has joined #ruby
mjuszczak has joined #ruby
einarj has quit [Ping timeout: 276 seconds]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
mjuszczak has quit [Client Quit]
rejerson69 has joined #ruby
scripore has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
pglombardo has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
qwertme has joined #ruby
charliebr73 has quit [Quit: Leaving]
ascarter has joined #ruby
chinmay_dd_ is now known as chinmay_dd
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
Azure has quit [Ping timeout: 240 seconds]
hplc has quit [Ping timeout: 246 seconds]
Jackneill has joined #ruby
rejerson69 has quit [Remote host closed the connection]
Azure has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thatslifeson has joined #ruby
lidenskap has joined #ruby
mjuszczak has joined #ruby
thatslifeson has quit [Ping timeout: 255 seconds]
bMalum has quit [Quit: bMalum]
Sillian has quit [Ping timeout: 246 seconds]
JDiPierro has quit [Remote host closed the connection]
taiansu has quit [Remote host closed the connection]
iotouch has quit [Ping timeout: 265 seconds]
lidenskap has quit [Ping timeout: 264 seconds]
iotouch has joined #ruby
taiansu has joined #ruby
tuelz1 has joined #ruby
roolo_ has joined #ruby
taiansu has quit [Ping timeout: 276 seconds]
iotouch has quit [Quit: 离开]
taiansu has joined #ruby
roolo has quit [Ping timeout: 256 seconds]
enebo has joined #ruby
<shevy> cats on rails
chipotles has joined #ruby
konsolebox has quit [Ping timeout: 272 seconds]
chipotles has quit [Client Quit]
konsolebox has joined #ruby
kirun has joined #ruby
jeromelanteri has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
hplc has joined #ruby
barhum2013 has joined #ruby
Zambz has quit []
taiansu has quit [Remote host closed the connection]
taiansu has joined #ruby
RegulationD has joined #ruby
chipotles has joined #ruby
taiansu has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
aryaching has joined #ruby
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
RegulationD has quit [Ping timeout: 255 seconds]
taiansu has joined #ruby
chipotles has quit [Client Quit]
chipotles has joined #ruby
FernandoBasso has quit [Quit: leaving]
einarj has joined #ruby
chipotles has quit [Client Quit]
jlast has joined #ruby
taiansu has quit [Read error: Connection reset by peer]
puppetmonkey has joined #ruby
taiansu has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
hplc has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
rejerson69 has joined #ruby
Pupeno has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 272 seconds]
juanpablo__ has joined #ruby
Guest15348 has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 250 seconds]
DeathSpank has joined #ruby
taiansu has quit [Ping timeout: 256 seconds]
bim has joined #ruby
bim is now known as Guest9992
Phage has quit [Quit: Apparently I have better things to do than IRC.]
juanpablo__ has quit [Ping timeout: 256 seconds]
chipotle has quit [Quit: cheerio]
balazs has joined #ruby
JDiPierro has joined #ruby
moeabdol has quit [Ping timeout: 250 seconds]
vudew has quit [Quit: Lost terminal]
yaw has joined #ruby
Surria has joined #ruby
DeathSpank has quit [Quit: Lost terminal]
chipotle has joined #ruby
<Surria> Hey. Any thoughts about The Pickaxe book?
oo_ has joined #ruby
<sevenseacat> its heavy.
hplc has joined #ruby
<pontiki> just don't hold it out at arm's length for too long
<Surria> sevenseacat, Heavy?
<sevenseacat> yeah, its a thick book.
<pontiki> actually, i think it's still a great book, the update is also available, but not for free
<Surria> pontiki, I'm a physics student, nice try there :)
<pontiki> physics students have superpowers of strength?
<Surria> sevenseacat, Yea isn't that great?
<sevenseacat> errr
<sevenseacat> by itself, no
<Surria> 600 pages ain't that thick.
<pontiki> you hold your textbooks out at arm's length to get your degree?
<Surria> pontiki, Yep.
<Surria> Actually, I got the book for 1.9 & 2.0. That's why I'm asking. :)
<Surria> I was about to raw read it but then I thought let's ask here if it's a good idea.
<pontiki> it's good
<pontiki> it's not the only book you should read tho
<sevenseacat> i havent read it. i suspect it's not up to date though.
<pontiki> not enough off to matter
aryaching has quit [Ping timeout: 252 seconds]
<toretore> Surria: the pickaxe is a good book, read it
nfk|laptop has joined #ruby
<pontiki> even the old pickaxe book is still mainly accurate
<sevenseacat> good to know
<sevenseacat> i know what it is.
<sevenseacat> i own it.
<Surria> toretore, Alright, thank you :)
<Surria> sevenseacat, Ah sorry then :)
<pontiki> 2.1 and 2.2 haven't really had structural changes
<pontiki> mainly internal stuff
<Surria> If you guys have other recommended book let me know.
<pontiki> several :)
<Surria> books*
<Surria> Yea just start typing their names :)
<sevenseacat> !twgr
<pontiki> black's book: the well-grounded rubyist
<sevenseacat> grr
<sevenseacat> the well grounded-rubyist
<sevenseacat> errr
<sevenseacat> that one
<pontiki> olsen's eloquent ruby
JDiPierro has quit [Remote host closed the connection]
<Surria> Hah :P
taiansu has joined #ruby
<pontiki> grimm's confident ruby
<pontiki> and the big one: metz's POODR
<Surria> Should I buy the new one from 2014 if I already have access to the black one?
oo_ has quit [Remote host closed the connection]
<Surria> I think the black one is from 2009.
redlegion has quit [Quit: later errywun]
<pontiki> i don't know. i haven't read the lastest to compare.
Soda has quit [Remote host closed the connection]
<sevenseacat> the old one was written for ruby 1.9.1 from memory.
<Surria> sevenseacat, Yep correct, 1.9.1
<sevenseacat> then its woefully out of date now.
<Surria> oh :(
nii236 has joined #ruby
<pontiki> the stuff that black talks about isn't out of date, even in the Ruby for Rails book is still quite valid
* sevenseacat shrugs and goes back to work
<pontiki> it's not a book on specific syntax
<pontiki> it's how to write good ruby
<Surria> pontiki, Well, there are the other books for that also. Eloq, The Ruby Way etc.
mleung has joined #ruby
<pontiki> indeed
<pontiki> do you have a limited time and budget on books?
sandstrom has quit [Quit: My computer has gone to sleep.]
<Surria> I wouldn't say so but I'm unable to purchase anything right in until a month from now for specific reasons.
<Surria> So if you have other great books to recommend, please let me know.
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
airdisa has quit []
<pontiki> i don't think there's any rush, is there?
<Surria> Nop
Musashi007 has joined #ruby
<sevenseacat> we'll let you know in a month then :)
<pontiki> because it's going to take more than a month to read and digest all that anyway, and i would *not* recommend just doing a read-through on any of them
<Surria> sevenseacat, My local library has a lot of books but I don't know why they didn't get this one. I guess because they already have the old one :(
doodlehaus has joined #ruby
<pontiki> my local library has tech books from 2006
<Surria> pontiki, I will of course finish read any book I start. :)
<pontiki> mostly all windows stuff
<sevenseacat> i havent stepped in a library in over ten years, thats how long theyve been more than irrelevant for.
<pontiki> *shrug* i don't think it's important to finish a book
<pontiki> i think it's important to practice, practice, practice what you read
thatslifeson has joined #ruby
JDiPierro has joined #ruby
<Surria> Yea of course but I'm a book nerd also. I like to read and learn from books. Practice is a must, yes :)
freerobby has joined #ruby
A124 has joined #ruby
A124 has joined #ruby
A124 has quit [Changing host]
airdisa has joined #ruby
balazs has quit [Remote host closed the connection]
greenbagels has joined #ruby
a346 has joined #ruby
lidenskap has joined #ruby
doodlehaus has quit [Ping timeout: 245 seconds]
vim_shimm has joined #ruby
thatslifeson has quit [Ping timeout: 245 seconds]
naftilos76 has joined #ruby
airdisa has quit [Client Quit]
Musashi007 has quit [Ping timeout: 265 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kyrylo has joined #ruby
kyrylo has quit [Client Quit]
hplc has quit [Read error: Connection reset by peer]
hplc_ has joined #ruby
shellfu has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 264 seconds]
Guest9992 has quit [Remote host closed the connection]
sevenseacat has quit [Quit: Me dun like you no more.]
lidenskap has quit [Ping timeout: 252 seconds]
puppetmonkey has quit [Quit: puppetmonkey]
puppetmonkey has joined #ruby
hewenhon_ has quit [Remote host closed the connection]
nii236 has quit [Ping timeout: 252 seconds]
iamjarvo has joined #ruby
taiansu has quit [Remote host closed the connection]
vim_shimm has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: zzz]
iamjarvo_ has joined #ruby
endash has joined #ruby
taiansu has joined #ruby
Matachines has joined #ruby
doodlehaus has joined #ruby
riotjones has joined #ruby
nii236 has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby
pwattste has joined #ruby
Matachines has quit [Read error: Connection reset by peer]
mleung has quit [Quit: mleung]
Matachines has joined #ruby
ghr has joined #ruby
qwertme has joined #ruby
arta82 has joined #ruby
mleung has joined #ruby
riotjones has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
konsolebox has quit [Remote host closed the connection]
moeabdol has joined #ruby
JDiPierro has quit [Remote host closed the connection]
moeabdol has quit [Client Quit]
robbyoconnor has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
moeabdol has joined #ruby
workmad3 has joined #ruby
CustosLimen has quit [Ping timeout: 264 seconds]
nii236 has quit [Quit: WeeChat 1.1.1]
sent1nel has joined #ruby
RegulationD has joined #ruby
tommylom1ykins is now known as tommylommykins
mwlang has quit [Quit: mwlang]
workmad3 has quit [Ping timeout: 272 seconds]
sent1nel has quit [Ping timeout: 264 seconds]
lfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 255 seconds]
balazs has joined #ruby
Rollabunna has joined #ruby
claw_ has joined #ruby
claw has quit [Ping timeout: 245 seconds]
balazs has quit [Ping timeout: 252 seconds]
juanpablo__ has joined #ruby
hplc_ has quit [Remote host closed the connection]
Matachin_ has joined #ruby
balazs has joined #ruby
bim has joined #ruby
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bim is now known as Guest20255
Matachines has quit [Ping timeout: 265 seconds]
serivich has joined #ruby
mistermocha has quit [Remote host closed the connection]
axisys has joined #ruby
juanpablo__ has quit [Ping timeout: 256 seconds]
kblake has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
robustus has quit [Ping timeout: 264 seconds]
barhum2013 has quit [Quit: barhum2013]
ndrei has joined #ruby
mjuszczak has quit []
freerobby1 has joined #ruby
Azure has quit [Quit: Oops.]
robustus has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
puppetmonkey has quit [Quit: puppetmonkey]
puppetmonkey has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
jack_rabbit has joined #ruby
Matachin_ is now known as Matachines
iamjarvo has joined #ruby
advorak has joined #ruby
ndrei has joined #ruby
havenwood has joined #ruby
amclain has joined #ruby
CamonZ has joined #ruby
mleung has quit [Quit: mleung]
Guest20255 has quit [Remote host closed the connection]
mjuszczak has joined #ruby
barhum2013 has joined #ruby
puppetmonkey has quit [Quit: puppetmonkey]
freerobby1 has quit [Quit: Leaving.]
Channel6 has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vim_shimm has joined #ruby
dseitz has joined #ruby
Musashi007 has joined #ruby
banister is now known as banisterfiend
<shevy> I love books
<shevy> old classical ones
<shevy> not kindle swindles
bim has joined #ruby
jack_rabbit has quit [Remote host closed the connection]
bim is now known as Guest90187
ghr has joined #ruby
tjbiddle has joined #ruby
jack_rabbit has joined #ruby
Mon_Ouie has quit [Ping timeout: 272 seconds]
Zai00 has joined #ruby
lidenskap has joined #ruby
lidenskap has quit [Remote host closed the connection]
r0bby_ has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
barhum2013 has quit [Quit: barhum2013]
balazs has quit [Remote host closed the connection]
platzhirsch has joined #ruby
robbyoconnor has quit [Ping timeout: 256 seconds]
mrmargolis has joined #ruby
vim_shimm has quit [Ping timeout: 264 seconds]
LJT has joined #ruby
enebo has quit [Quit: enebo]
gizmore has joined #ruby
mjuszczak has quit []
Zenon has joined #ruby
Asher has quit [Ping timeout: 276 seconds]
mjuszczak has joined #ruby
RegulationD has joined #ruby
LJT has quit [Client Quit]
balazs has joined #ruby
balazs has quit [Remote host closed the connection]
thatslifeson has joined #ruby
hectortrope has joined #ruby
balazs has joined #ruby
nobitanobi has joined #ruby
Asher has joined #ruby
thekodols has joined #ruby
einarj has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
thatslifeson has quit [Ping timeout: 250 seconds]
LJT has joined #ruby
pwattste has quit [Ping timeout: 245 seconds]
einarj has quit [Ping timeout: 272 seconds]
mrmargolis has quit [Remote host closed the connection]
sent1nel has joined #ruby
thatslifeson has joined #ruby
dorei has joined #ruby
pglombardo has quit []
JDiPierro has joined #ruby
balazs has quit [Ping timeout: 256 seconds]
iasoon has joined #ruby
advorak has quit [Quit: Leaving]
jeramy_s has joined #ruby
JDiPierro has quit [Ping timeout: 250 seconds]
_xCept has quit [Ping timeout: 250 seconds]
claptor has joined #ruby
centrx has joined #ruby
Matachines has quit [Quit: Textual IRC Client: www.textualapp.com]
balazs has joined #ruby
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
quazimodo has quit [Ping timeout: 255 seconds]
<shevy> you all are way too lazy today
yh has joined #ruby
f3lp has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<shevy> code code code more
mjuszczak has quit []
balazs has quit [Ping timeout: 255 seconds]
_xCept has joined #ruby
arta82 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest69352 has quit [Ping timeout: 256 seconds]
juanpablo__ has joined #ruby
Timba-as has joined #ruby
Mohan has joined #ruby
Mohan is now known as Guest49763
diegoviola has joined #ruby
vim_shimm has joined #ruby
juanpablo__ has quit [Ping timeout: 272 seconds]
workmad3 has joined #ruby
_xCept has quit [Ping timeout: 256 seconds]
robustus has quit [Ping timeout: 255 seconds]
<platzhirsch> have a life
robustus|Off has joined #ruby
Zai00 has quit [Quit: Zai00]
robustus|Off is now known as robustus
bluOxigen has joined #ruby
<xxneolithicxx> i hope you are not implying that if we code we have no life :-/
workmad3 has quit [Ping timeout: 255 seconds]
thatslifeson has quit [Read error: Connection reset by peer]
ghr has joined #ruby
thatslifeson has joined #ruby
pontiki has quit [Read error: Connection reset by peer]
diegoaguilar has joined #ruby
pontiki has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<toretore> code *is* life
sandstrom has joined #ruby
<aewffwea> toretore: DNA is the code of life?
thekodols has quit [Ping timeout: 246 seconds]
Zai00 has joined #ruby
scripore has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Surria has quit [Ping timeout: 246 seconds]
lordkryss has quit [Quit: Connection closed for inactivity]
_xCept has joined #ruby
sandstrom has left #ruby ["OS X IRC Client (www.textualapp.com)"]
pontiki has quit [Quit: leaving]
RegulationD has joined #ruby
ismaelga has joined #ruby
nobitanobi has quit [Remote host closed the connection]
einarj has joined #ruby
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 255 seconds]
jeramy_s has joined #ruby
nobitano_ has joined #ruby
Channel6 has quit [Quit: Leaving]
nobitano_ has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
relix has joined #ruby
einarj has quit [Ping timeout: 276 seconds]
ohcibi has quit [Remote host closed the connection]
ohcibi has joined #ruby
serivich has quit [Ping timeout: 244 seconds]
nobitano_ has joined #ruby
ohcibi has quit [Remote host closed the connection]
ohcibi has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
robustus|Off has joined #ruby
robustus|Off is now known as robustus
Guest24 is now known as lele
nobitano_ has quit [Remote host closed the connection]
nobitanobi has joined #ruby
freerobby has joined #ruby
despai has joined #ruby
nobitanobi has quit [Remote host closed the connection]
millerti has joined #ruby
<despai> Hello. Does anybody knows how can I reuse a context (with before(:each)) scenario in rspec? Im finding lots of info about how to reuse specs, what about scenarios? I have pretty big scenarios and it doesn't feel correct to copy/paste them
<despai> (rspec 3)
mtakkman has joined #ruby
<jhass> despai: apply normal OOP, create a class or method and call it
freerobby has quit [Client Quit]
nobitanobi has joined #ruby
<despai> so you suggest to create like a UsersScenarios class where I defined static methods?
<jhass> if you never make an instance of it, use a module, but yeah
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<despai> mmmmm, I still have to repeat the context title... context "when the user was confirmed within 1 hour ago"
<jhass> or just a toplevel method in your spec_helper.rb or in a file in spec/support, or you can include your own helper collection module into the main RSpec context with conifg.include
freerobby has joined #ruby
Zai00 has quit [Quit: Zai00]
<jhass> so you have a context with a repeating before hook, but different specs in each?
<despai> yes, many, nested
naftilos76 has quit [Read error: Connection reset by peer]
<despai> the context is the same, but the combination with parent or children contexts is what is different
<jhass> I guess something like def foo_context(&block); context("when the user...") do before(&setup_foo_context); instance_eval(&block); end; end; would work, but not sure it's worth it
<jhass> (when defined on a module that's config.include'ded)
Guest15 has joined #ruby
<despai> ah?
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
<despai> did is how you did it with your shared scenarios?
zzing has joined #ruby
<jhass> "I guess" = "I never tried but know enough about Ruby and RSpec to make that educated guess"
<jhass> = "take this idea, might work for you"
serivich has joined #ruby
Leikila has joined #ruby
<despai> cool
<despai> thanks
chimche has joined #ruby
Guest49763 has quit [Ping timeout: 255 seconds]
lavros has quit [Remote host closed the connection]
Mohan has joined #ruby
Mohan is now known as Guest49913
r0bby_ has quit [Ping timeout: 256 seconds]
DerisiveLogic has quit [Remote host closed the connection]
LJT_ has joined #ruby
LJT has quit [Ping timeout: 244 seconds]
c355E3B has joined #ruby
DerisiveLogic has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
ramfjord has joined #ruby
nobitanobi has quit [Remote host closed the connection]
ohcibi has quit [Read error: Connection reset by peer]
ohcibi has joined #ruby
baweaver has joined #ruby
ghr has joined #ruby
pontiki has joined #ruby
JimmyNeutron has quit [Ping timeout: 240 seconds]
codecop has joined #ruby
taiansu has quit [Remote host closed the connection]
kyrylo has joined #ruby
Fingel has joined #ruby
taiansu has joined #ruby
lidenskap has joined #ruby
lidenskap has quit [Remote host closed the connection]
Papierkorb_ has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
despai has quit [Quit: This computer has gone to sleep]
mengu has joined #ruby
camilasan has quit [Remote host closed the connection]
j_mcnally has joined #ruby
yaw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DerisiveLogic has quit [Ping timeout: 256 seconds]
AlexRussia has quit [Ping timeout: 265 seconds]
taiansu has quit [Ping timeout: 276 seconds]
Papierkorb has quit [Ping timeout: 276 seconds]
mtakkman has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
camilasan has joined #ruby
_xCept has quit [Ping timeout: 250 seconds]
vim_shimm has quit [Ping timeout: 245 seconds]
LJT_ has quit [Quit: Sleeping...]
RegulationD has joined #ruby
pontiki has quit [Read error: Connection reset by peer]
einarj has joined #ruby
<shevy> platzhirsch are you still in the UK?
<platzhirsch> jupi
<shevy> damn
<shevy> you become more like monty python every day
RegulationD has quit [Ping timeout: 255 seconds]
ramfjord has quit [Ping timeout: 265 seconds]
despai has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
<platzhirsch> python
<platzhirsch> *barf*
juanpablo__ has joined #ruby
jayeshsolanki has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cheerio]
<ght> Question: I have a mysql DB record that is of type Decimal 15,2. I would like to declare a ruby variable of that type. How do I do that?
taiansu has joined #ruby
Papierkorb_ is now known as Papierkorb
juanpablo__ has quit [Ping timeout: 240 seconds]
<ght> Right now the DB record is empty, so I can't simply do the whole Ruby "dont declare variable types, assign a value and assume the compiler defined it right"
<ght> Is there a way to define a variable of a type to match the Mysql Decimal 15,2 type?
rkazak has joined #ruby
circ-user-KH1p2 has joined #ruby
<jhass> ght: what are you using to fetch/store records? ORM? mysql2 gem directly?
asmodlol has quit [Ping timeout: 256 seconds]
<ght> I have ruby code where I interact with a Mysql DB via the mysql2 gem, yes.
<ght> I need to perform math operations on a variable then write it to that record in the DB.
Spami has joined #ruby
<ght> But the math operations involve money, which, after much research, it has been recommended that the mysql column type be Decimal 15,2 to ensure accuracy.
lidenskap has joined #ruby
<Papierkorb> Didn't MySQL have the MONEY datatype?
<ght> Is it possible to declare a Ruby variable of a type to match the format of Decimal 15,2 in mysql?
<ght> Anyone?
qwertme has joined #ruby
sent1nel has quit [Remote host closed the connection]
yfeldblum has joined #ruby
<toretore> ght: you don't declare variables in ruby
<ght> I'm aware of this, but you can call say, Hash.new and BigDecimal.new
<toretore> they don't have types
<jhass> ght: for money use BigDecimal in Ruby or the money gem
<toretore> so.. BigDecimal.new then
<dorei> the best advice i've ever received about handling money, use the minimum accounting unit and convert them to integers, ie if the smallest account unit is 1 cent, then represent 1 euro as Integer 100
<ght> So BigDecimal(15,2) will match the Decimal 15,2 mysql2 format?
<toretore> ght: how about reading the docs for BigDecimal?
<jhass> ght: probably not
<ght> lol
<jhass> but that's not important
<ght> Ok.
<Papierkorb> banks also like to calculate with more than 2 decimals
<ght> It's not important. So is it recommended, for monitary operations, I use the "money" gem to ensure accuracy?
<toretore> >> require 'bigdecimal'; BigDecimal.new(1.33333333, 2)
<ruboto> toretore # => #<BigDecimal:41d2e510,'0.13E1',18(27)> (https://eval.in/323382)
bluOxigen has quit []
<jhass> ght: the precision issues generally occur on operations, rarely on conversion, especially for two significant digits
<ght> ok.
<toretore> ght: it's recommended that you store and handle money values in cents
<toretore> i.e. integers
<ght> Interesting, these StackOverflow posts say the opposite.
<ght> Looks like I should use BigDecimal
<ght> Thanks for the help guys, appreciated.
<toretore> cause so is always right
<ght> Well, it goes down like this.
<ght> On one hand, a stackoverflow post with 319 upvotes.
<toretore> the problem with this solution is that you're not using activerecord, which uses bigdecimal
<toretore> you're using the mysql2 gem which probably returns it as a float
<toretore> so you're going to have to work around that somehow
<ght> Interesting.
<Papierkorb> Using something with a comma just cries for calculation errors, which is really fun in regards with money i guess
baweaver has quit [Remote host closed the connection]
<ght> So mysql2 is going to return the decimal(15,2) column as a float.
<toretore> i don't know, i'm assuming this since you're asking about it
<ght> wat
iasoon has quit [Ping timeout: 256 seconds]
jeramy_s has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
circ-user-KH1p2 has quit [Ping timeout: 246 seconds]
<jhass> ght: also read the comments on the SO post, notice how there is no argument beyond "BigDecimal doesn't have the precision issues floats have"
<jhass> compare it to the number of arguments for using integers as long as possible (and it's possible up to presentation to the user usually)
<ght> hmm
asmodlol has joined #ruby
<ght> Looks like this money gem could be useful.
<Leikila> I hve totally lost the study motivation once I began with Ruby :(
mjuszczak has joined #ruby
DexterLB has quit [Ping timeout: 240 seconds]
<Leikila> University study stuff*
yfeldblum has quit [Read error: Connection reset by peer]
<shevy> study what
<shevy> I use ruby to ask me exam-questions :)
yfeldblum has joined #ruby
<atmosx> Leikila: what course?
lidenskap has quit [Remote host closed the connection]
<Leikila> shevy, I have finals in some days and I'm like, "Ruby chapter 6".
<Leikila> atmosx, Quantum physics
<shevy> sounds awfully boring
jayeshsolanki has joined #ruby
<shevy> why did you study physics
<shevy> it's just fancified math
spider-mario has quit [Read error: Connection reset by peer]
DexterLB has joined #ruby
workmad3 has joined #ruby
<Leikila> shevy, Because there is nothing more powerful than understand pure mathematics and theoretical physics :)
turtil has joined #ruby
<Leikila> Also I'm a lot interested.
jlast has joined #ruby
<shevy> k show me the math to describe the origin of life or the creation of the universe
<Papierkorb> and everything too
<weaksauc_> 42
<shevy> Leikila yeah those are fancy experiments, everybody loves them
<Leikila> shevy, The math itself is there. But we as humans are close enough but also too far away.
Azure has joined #ruby
<Leikila> shevy, It's something like, you know it's there but you don't know how and why it works.
<shevy> k add 10 years of math study
<shevy> you stil don't know why it reall yworks
lidenskap has joined #ruby
<shevy> you just have finer tuned models
<shevy> we can calculate a single large molecule with the help of a computer if given some time
<shevy> we can't simulate a whole cell
jayeshsolanki has quit [Client Quit]
<Leikila> shevy, There is much more than that. It's abstract. Same as in computer programming, for example in C++, I open a stream to a file. I might not know how the actual I/O work, but I know I can do it :)
workmad3 has quit [Ping timeout: 246 seconds]
<shevy> computer programming is really much much easier
<Leikila> Of course.
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> well you could use a computer to do the calculation of course
sent1nel has joined #ruby
bintelli has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
<shevy> ideally you'd have a computer explain to you why things work :)
<Leikila> For example. Everything that has momentum, is really a wave. So, take light as an example, it behaves both as light and particle. Now, that gives light two difference properties. This is the heart of quantum mechanics. It's a new level of physics. In newtonian physics, if you throw a ball at a wall, it will bounce back. That might but be true in quantum mechanics. Totally different rules when you go down in temperature a
<Leikila> nd size.
<Leikila> That might not*
The_Phoenix has quit [Read error: Connection reset by peer]
<Leikila> shevy, In fact. The internet was made by physicists :)
<atmosx> Leikila: interesting.
thekodols has joined #ruby
<atmosx> shevy: most googlers I know off are phycistis
<atmosx> they make excellent programmers, in contrast with chemists apparently.
<shevy> Leikila yeah but there was the ARPAnet before that
thatslifeson has quit [Remote host closed the connection]
<Leikila> atmosx, It really is as you go further :)
LJT has joined #ruby
<Leikila> shevy, Yea by computer engineers and physicists :)
Xiti has quit [Quit: Xiti]
<Leikila> made by*
nettoweb has joined #ruby
<atmosx> Leikila: don't brag too much about it, it's all just a small part of *some* applied mathematics...
<atmosx> math is king
Xiti has joined #ruby
<Papierkorb> is boring as hell
<Leikila> atmosx, yea math is king.
<Leikila> If I had to choose again, I would choose pure mathematics. Applied can be fun, but pure is the king :)
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atmosx> That said, I really like the first bunch of scientists from Newton's era, which were mixing everything really... Cause everything is 'one' in the end of the day from CS to Physics to chemistry to biology...
<atmosx> Leikila: you that bright? congrats :-) it's hard..
yosafbridge has quit [Ping timeout: 248 seconds]
<atmosx> I mean it's hard to be good at theoretical maths
<atmosx> shevy: what are you studying now?
Channel6 has joined #ruby
taiansu has quit []
websoftwarez has joined #ruby
websoftwarez has quit [Changing host]
websoftwarez has joined #ruby
mjuszczak has quit []
tonyt has joined #ruby
<Leikila> atmosx, It's hard but as everything else, you have to work on your stuff. You will do great work if you love what you do :)
ghr has joined #ruby
<Leikila> That's why I'm really learning programming by myself. We don't really have big classes for that except haskell and python.
gambl0re has joined #ruby
yosafbridge has joined #ruby
<gambl0re> guys....im having trouble installing rspec on ubuntu. i need your help
<gambl0re> i type "gem install rspec"
<shevy> atmosx hmm I actually have 4 exams the coming week; first one is actually for a "medical representative" (actually, "a drug-sales advisor"), just the written exam; if that succeeds, I have in 2 weeks an oral exam; the other three are cell biology, biochemical pathways, and some weird botany exam
tonyt has left #ruby [#ruby]
<gambl0re> usr/local/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'rspec-core' (>= 0) among 66 total gem(s) (Gem::LoadError)
<gambl0re> Checked in 'GEM_PATH=/usr/local/rvm/gems/ruby-2.2.1:/usr/local/rvm/gems/ruby-2.2.1@global', execute `gem env` for more information
<gambl0re> from /usr/local/lib/ruby/2.2.0/rubygems/dependency.rb:324:in `to_spec'
<gambl0re> from /usr/local/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
<gambl0re> from /usr/local/bin/rspec:22:in `<main>'
<gambl0re> i get those error message after i type in rspec -v
<atmosx> gambl0re: pastebin or gist
<gambl0re> ok
<jhass> ?gist gambl0re
<ruboto> gambl0re, https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<adaedra> gambl0re: gist the whole trace instead of flooding here parts
<adaedra> combo x3
<atmosx> adaedra: rspec-core is missing anyway
spider-mario has joined #ruby
<jhass> mh, I see a global RVM install
<atmosx> shevy: oh, good luck!
<jhass> have fun with that people, I bail
<adaedra> atmosx: cool, so now with your superpowers, tell me why it can't find it?
<atmosx> adaedra: becayse you didn't install it?
<adaedra> why me
<atmosx> adaedra: you use 'sudo'?
ghr has quit [Ping timeout: 272 seconds]
<adaedra> why are you suggesting me things
<atmosx> ah it's the other guy, adaedra well... it's your fault.
<adaedra> ok
sent1nel has quit [Remote host closed the connection]
<adaedra> but it doesn't resolves the problem of why gem install can't install a dependency
<atmosx> adaedra: it sure does!
<atmosx> shevy: drug-sales advisor? That's a highly paid job here.
<atmosx> shevy: you opting for it?
<adaedra> rspec-core is not a dependency of rspec? wut?
<gambl0re> installation of rspec seems to working using gem install rspec
<gambl0re> but when i check the version i get bunch of error lines...
<gambl0re> rspec -v
<atmosx> gambl0re: what about 'sudo rspec -v'
<shevy> atmosx nah, I have no interest in it, I just do it for being able to say "bla extra qualification bla"
<gambl0re> i get 3.2.3...!!!!
<atmosx> gambl0re: magick!!!!
<gambl0re> i forgot about using sudo..
<adaedra> er
<adaedra> if you can't run gems without sudo, something is broken in your install
LJT has quit [Ping timeout: 264 seconds]
anthony has joined #ruby
<atmosx> gambl0re: see, there is still magic, love out there... and just for one moment, you can reach happiness!!! Then you start writting tests and shit hits the fan... but until then. Live happy!
<gambl0re> but after installation of rspec, is it suppoesd to create a rspec directory on my system where i put all my files?
anthony is now known as Guest5420
<gambl0re> or do i create my own?
<atmosx> adaedra: jhass has already that covered I think.
<adaedra> no, you create it yourself, gambl0re
lidenskap has quit [Remote host closed the connection]
<adaedra> atmosx: the global rvm?
<gambl0re> ok...thanks.
<adaedra> that's still not normal that gambl0re needs sudo to run gems and should be fixed
<adaedra> (imo)
<atmosx> gambl0re: Everybody here is assuming that you've taken a path that will lead to many problems int he long run. Better install rvm as a USER.
Spami has quit [Quit: This computer has gone to sleep]
sent1nel has joined #ruby
<gambl0re> i have rvm installed
<gambl0re> as you can probably tell, im new to linux.
ponga has quit [Quit: Leaving...]
<atmosx> gambl0re: yes but it's 'globally' installed. It's better if you intall rvm 'locally'.
<adaedra> gambl0re: your rvm is a global rvm (in /usr), not a user install (in home)
<adaedra> which apparently can lead to problems
<atmosx> gambl0re: did you install rvm via apt-get ?
_xCept has joined #ruby
al2o3-cr has quit [Ping timeout: 255 seconds]
<gambl0re> im not sure...i followed a bunch of instructions. i do recall using a apt-get command though.
<atmosx> gambl0re: What does `which rvm` say?
<havenwood> gambl0re: Completely uninstall RVM with `rvm implode` and reinstall as a non-root user without using sudo.
RegulationD has joined #ruby
<atmosx> havenwood: if it's installed via apt-get it's better to remove it via apt-get also.
einarj has joined #ruby
<gambl0re> usr/local/rvm/bin/rvm
dc has quit [Remote host closed the connection]
Guest5420 has quit [Ping timeout: 245 seconds]
<adaedra> gambl0re: do you have the instructions you followed somewhere?
Guest15 has quit [Quit: Textual IRC Client: www.textualapp.com]
<atmosx> gambl0re: also, try this: dpkg --get-selections | grep -v deinstall| grep -i rvm
<atmosx> gambl0re: see if you get any results
<gambl0re> odin project. you may have heard of it. http://installfest.railsbridge.org/installfest/linux
<atmosx> gambl0re: if you dont, then run: rvm implode && gem uninstall rvm
<gambl0re> im running ubuntu on a vm so its hard to copy/paste
<atmosx> gambl0re: okay it's not apt-get
<atmosx> gambl0re: the instructions there seems to be fine.
Brozo has quit [Quit: Leaving...]
<atmosx> gambl0re: you can SSH to the VM via terminal or a terminal emulator
<atmosx> gambl0re: VM on mac or windows?/
<gambl0re> windows
RegulationD has quit [Ping timeout: 246 seconds]
<atmosx> gambl0re: virtualbox?
<gambl0re> exactly..
<adaedra> there's no shared pasteboard? did you install the guest additions?
einarj has quit [Ping timeout: 245 seconds]
_xCept has quit [Ping timeout: 255 seconds]
<gambl0re> rspec installed 3.x.x but i need to get an earler version. i tried running sudo gem uninstall rspec. but when i type rspec -v it still show 3.x.x
Brozo has joined #ruby
<gambl0re> i installed guest additions but i didnt research how to copy paste between vm and host machine.
<gambl0re> nevermind...forgot sudo again
centrx has quit [Quit: Shutting down, Please wait...]
<atmosx> gambl0re: What you need to do, in order to avoid hard time in the future is this: Configure your VM to have NAT which will allow to use a proper terminal emulator (which you can paste utf8 chars easily). Use SSH to connect to your linux VM. Then uninstall rvm and re-install it in 'local' path (and not global). Then you can go forward, otherwise every step will be a pain.
casadei_ has joined #ruby
<atmosx> that said, I'm off to bed :-) night all
<gambl0re> ok thanks...i'll give that a try.
LJT has joined #ruby
n008f4g_ has joined #ruby
bintelli has quit [Ping timeout: 246 seconds]
<atmosx> good luck
Rickmasta has quit [Remote host closed the connection]
Rickmasta has joined #ruby
Brozo has quit [Quit: Leaving...]
Guest5241 has quit [Ping timeout: 264 seconds]
casadei_ has quit [Ping timeout: 272 seconds]
thekodols has quit [Ping timeout: 265 seconds]
Channel6 has quit [Quit: Leaving]
LJT has quit [Ping timeout: 255 seconds]
soulcake has joined #ruby
dc has joined #ruby
jeramy_s has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
lidenskap has joined #ruby
scripore has joined #ruby
Jackneill has quit [Remote host closed the connection]
mrmargolis has joined #ruby
spider-mario has quit [Ping timeout: 252 seconds]
quimrstorres has joined #ruby
Notte has joined #ruby
lidenskap has quit [Remote host closed the connection]
_xCept has joined #ruby
spider-mario has joined #ruby
rbennacer has joined #ruby
freerobby has quit [Quit: Leaving.]
yoni has joined #ruby
ismaelga has quit [Remote host closed the connection]
yoni is now known as Guest5450
michael_mbp has quit [Excess Flood]
dvlwrk has joined #ruby
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Froolap has joined #ruby
Froolap has left #ruby ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
Leikila has quit [Quit: Leaving]
_xCept has quit [Ping timeout: 240 seconds]
yqt has joined #ruby
dc has quit []
scripore has quit [Quit: This computer has gone to sleep]
michael_mbp has joined #ruby
dc has joined #ruby
scripore has joined #ruby
_cake has joined #ruby
doodlehaus has quit []
mrmargolis has quit [Read error: Connection reset by peer]
mrmargolis has joined #ruby
Notte has quit [Remote host closed the connection]
chipotle has joined #ruby
swgillespie has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
thatslifeson has joined #ruby
ghr has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
<shevy> (200/3):Rational
<shevy> huh
<shevy> irb displays that as 2003 ?
<shevy> >> (200/3)
<ruboto> shevy # => 66 (https://eval.in/323411)
<shevy> now I am confused
<shevy> what is wrong with my irb
thatslifeson has quit [Client Quit]
ghr has quit [Ping timeout: 252 seconds]
c355E3B has quit [Quit: Connection closed for inactivity]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juanpablo__ has joined #ruby
LJT has joined #ruby
rbennacer has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 256 seconds]
Spami has joined #ruby
asmodlol has joined #ruby
mrmargol_ has joined #ruby
mrmargolis has quit [Read error: No route to host]
Guest90187 has quit [Remote host closed the connection]
juanpablo__ has quit [Ping timeout: 250 seconds]
bim has joined #ruby
bim is now known as Guest90806
colorados has joined #ruby
aphprentice has joined #ruby
decoponio has quit [Quit: Leaving...]
RegulationD has joined #ruby
einarj has joined #ruby
Zai00 has joined #ruby
LJT_ has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
vikaton has quit []
balazs has joined #ruby
LJT has quit [Ping timeout: 252 seconds]
quimrstorres has quit [Remote host closed the connection]
fedexo has joined #ruby
dc has quit [Ping timeout: 240 seconds]
al2o3-cr has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
mrmargol_ has quit [Ping timeout: 250 seconds]
einarj has quit [Ping timeout: 256 seconds]
nfk|laptop has quit [Quit: yawn]
spider-mario has joined #ruby
despai has joined #ruby
segfalt has quit [Ping timeout: 255 seconds]
fedexo has quit [Read error: Connection reset by peer]
rkazak has quit [Quit: Sleep.....ing....]
kaspernj has quit [Remote host closed the connection]
freerobby has joined #ruby
segfalt has joined #ruby
fedexo has joined #ruby
ismaelga has joined #ruby
workmad3 has joined #ruby
rkazak has joined #ruby
freerobby has quit [Quit: Leaving.]
Lewix has joined #ruby
<gambl0re> im trying to uninstall rspec. sudo gem uninstall rspec
<gambl0re> i get Successfully uninstalled rspec-2.99.0
willharrison has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
<gambl0re> but when i type rspec -v i still get 3.2.3
<gambl0re> ???
<gambl0re> i tried doing another sudo gem uninstall rspec but it does nothing and goes back to the prompt.
<gambl0re> any ideas how i can remove rspec clean?
jalcine has quit [Quit: ZNC - http://znc.in]
workmad3 has quit [Ping timeout: 252 seconds]
ramfjord has joined #ruby
jalcine has joined #ruby
segfalt has quit [Ping timeout: 256 seconds]
al2o3-cr has joined #ruby
segfalt has joined #ruby
<apeiros> gambl0re: maybe you also did a user install of rspec. do it without sudo.
WildBamboo-Josh has joined #ruby
jokke has quit [Quit: ninja vanish]
quimrstorres has joined #ruby
willharrison has quit [Read error: Connection timed out]
jokke has joined #ruby
freerobby has joined #ruby
lidenskap has joined #ruby
<gambl0re> same thing. gem uninstall rspec. it goes back to the prompt without giving any messages
al2o3-cr has quit [Ping timeout: 245 seconds]
quimrstorres has quit [Remote host closed the connection]
Musashi007 has joined #ruby
<havenwood> gambl0re: What do you get for?: gem which rspec
<havenwood> gambl0re: If not found, what do you get for?: which -a rspec
CustosLimen has joined #ruby
<havenwood> gambl0re: Or: command -v rspec
Timba-as has quit [Ping timeout: 252 seconds]
<gambl0re> gem which rspec = ERROR: Can't find ruby library file or shared library rspec
<gambl0re> which -a rspec = /usr/local/bin/rspec
vikaton has joined #ruby
DerisiveLogic has joined #ruby
<gambl0re> command -v rspec = /usr/local/bin/rspec
<gambl0re> when i go to the file location i see a rspec file. should i just delete it?
<havenwood> gambl0re: So you installed rspec with a different Ruby and it's still in your PATH.
<gambl0re> what do you mean with a different ruby?
<gambl0re> should i just delete the rspec file?
<havenwood> gambl0re: Why do you have multiple Rubies? Are you using more than one version of Ruby?
tomphp has joined #ruby
<gambl0re> ruby -v = ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
<gambl0re> i should have only one version of ruby.
<havenwood> gambl0re: which -a ruby
<havenwood> gambl0re: Only one?
DerisiveLogic has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
DerisiveLogic has joined #ruby
<gambl0re> wtf...which -a ruby = /usr/local/bin/ruby
<gambl0re> and /usr/bin/ruby
Notte has joined #ruby
Notte has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
<havenwood> gambl0re: So did you have a system Ruby and also compile to /usr/local?
<havenwood> gambl0re: Or what?
<Lewix> anyone use yadr? Is it good ?
<gambl0re> im not sure exactly...i typed in a bunch of commands which may have screwed up some stuff.
mrmargolis has joined #ruby
<gambl0re> all i want is one version of ruby. how can i accomplish thatÉ
<havenwood> gambl0re: Get rid of one and only one will be left. :P
<havenwood> 2 - 1 = 1
<havenwood> gambl0re: OS/distro?
<gambl0re> ubuntu
<gambl0re> 14.04lts
<havenwood> gambl0re: Use the Brightbox Ruby 2.2 package: https://www.brightbox.com/docs/ruby/ubuntu/
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
quimrstorres has joined #ruby
<havenwood> Lewix: I've not used yadr, looks interesting though...
<gambl0re> ok...should i do a gem uninstall ruby commandÉ
<adaedra> É_È
<havenwood> gambl0re: Ruby ships with RubyGems (the `gem` command). You can't uninstall Ruby with RubyGems.
_cake has quit [Quit: leaving :c]
Timba-as has joined #ruby
<Lewix> havenwood: hopefully it wont be slow
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Lewix> im gonna try it out, havenwood - im tired of managing my dotfiles
<havenwood> Lewix: lemme know if it's nice!
<Lewix> havenwood: sure
ismaelga has quit [Remote host closed the connection]
<Papierkorb> Lewix: let me handle .ssh for you
<gambl0re> so this new installation will overwrite my old version of rubyÉ
<havenwood> gambl0re: No.
<havenwood> gambl0re: You don't know how you installed to /usr/local then? Just ran scripts off the interwebs?
<gambl0re> yea basically...im new to linux. i just followed my course outline
<havenwood> gambl0re: What did it have you do?
einarj has joined #ruby
<havenwood> gambl0re: Anyways, you *can* have multiple versions of Ruby installed and switch between them. But it's simpler to just have one Ruby if you don't need multiple Rubies.
quimrstorres has quit [Remote host closed the connection]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
despai has quit [Quit: Leaving]
<gambl0re> i had trouble on step 4 so i researched on how to resolve it. so the commands i typed in from another source probably conflicted with the courses outlines which probably lead to the mixup
<havenwood> gambl0re: What was the other source?
Spami has quit [Quit: This computer has gone to sleep]
maletor has joined #ruby
mengu has quit []
phutchins has quit [Ping timeout: 272 seconds]
j_mcnally has joined #ruby
quimrstorres has joined #ruby
<gambl0re> i did the installation a while ago so i cant remember all the pages i visited..
phutchins has joined #ruby
ereslibre has joined #ruby
ereslibre has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
<havenwood> gambl0re: So you have RVM installed?
<gambl0re> i installed ruby from that link you provided...that probably means i have 3 versions of ruby on my computer now.
<gambl0re> yes
<havenwood> gambl0re: rvm current
<havenwood> gambl0re: What is it? ^
Timba-as has quit [Read error: Connection reset by peer]
<gambl0re> i get a long warning message. then this. ruby-2.2.1
<havenwood> gambl0re: What does the message say?
Timba-as has joined #ruby
<gambl0re> Warning! PATH is not properly set up, '/usr/local/rvm/gems/ruby-2.2.1/bin' is not at first place,
<gambl0re> usually this is caused by shell initialization files - check them for 'PATH=...' entries,
<gambl0re> it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
<gambl0re> to fix temporarily in this shell session run: 'rvm use ruby-2.2.1'.
tuelz1 has quit [Ping timeout: 255 seconds]
<diegoviola> does rvm still hijacks cd?
tomphp has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tuelz1 has joined #ruby
djbkd has joined #ruby
<gambl0re> just to let you know, im running on a vm.
<gambl0re> on a windows host machine.
sean__ has joined #ruby
scripore has quit [Client Quit]
<havenwood> gambl0re: Personally I'd start from a fresh Ubuntu and use the Brightbox package. That way you have just one Ruby and the package manager will keep it up to date.
<havenwood> gambl0re: You can use RVM with multiple Rubies, including the system Ruby you have installed. You just have to set it up right.
casadei_ has joined #ruby
<havenwood> gambl0re: If you'd like help getting RVM working, happy to help in #rvm.
<gambl0re> do you have time right nowÉ
<havenwood> gambl0re: But like I said, I'd use the Brightbox package.
<gambl0re> i really want to get everything setup so i can continue on.
<gambl0re> as long as i can get everthing installed according to http://installfest.railsbridge.org/installfest/linux then i should be fine
<gambl0re> regardless which approach i take.
kirun has quit [Quit: Client exiting]
<havenwood> gambl0re: So can you start with a fresh VM and use the Brightbox package or do you want to try to fix your current mess and use RVM?
odlox has joined #ruby
<havenwood> diegoviola: There's a `scripts/cd` if you use .rvmrc, but these days you can use the safer .ruby-version and .ruby-gemset and just disable rvmrc: rvm_project_rvmrc=0
casadei_ has quit [Ping timeout: 255 seconds]
<gambl0re> is there a way to just remove ruby on my system and start freshÉ
<gambl0re> without reinstalling the osÉ
<havenwood> gambl0re: You'd have to know how all you installed Ruby. I don't know what you've done.
<havenwood> gambl0re: If it's just a system Ruby and RVM, sure.
<diegoviola> havenwood: I see, thanks
ramfjord has quit [Ping timeout: 256 seconds]
RegulationD has joined #ruby
<gambl0re> if i start from new will i have to redo this processÉÉ http://installfest.railsbridge.org/installfest/create_an_ssh_key
Stalkr has joined #ruby
<havenwood> gambl0re: If you don't copy your key and use it on the new system, yeah probably.
<havenwood> gambl0re: Did you just install RVM in addition to the system Ruby or did you do other things?
<gambl0re> only rvm and ruby
Musashi007 has quit [Read error: No route to host]
<gambl0re> rails and git
j_mcnally has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby
<havenwood> gambl0re: Just join #rvm and we'll fix your rvm. Shouldn't be too hard and if you're following a thing that presumes RVM it'll probably be easier.
<gambl0re> éééé...wtf is wrong with my keyboard
scripore has joined #ruby
<gambl0re> Éééé my backslash key is screwed
RegulationD has quit [Ping timeout: 255 seconds]
a346 has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby
<havenwood> gambl0re: /join #rvm
j_mcnally has joined #ruby
<havenwood> copy paste >.>
<Peetooshock> >>(/test/).class
<ruboto> Peetooshock # => Regexp (https://eval.in/323427)
lolmaus has quit [Quit: Konversation terminated!]
<Peetooshock> >>(/test/).to_s
<ruboto> Peetooshock # => "(?-mix:test)" (https://eval.in/323428)
<havenwood> Peetooshock: don't need the parens
<Peetooshock> >>/test/.class
<ruboto> Peetooshock # => Regexp (https://eval.in/323429)
tuelz1 has quit [Ping timeout: 244 seconds]
<Peetooshock> Oh, ok
<gambl0re> Cannot join channel (+r) - you need to be identified with services
<gambl0re> i need services..
mrmargolis has quit [Remote host closed the connection]
scripore has quit [Client Quit]
<gambl0re> im in..
scripore has joined #ruby
Xiti has quit [Quit: Xiti]
Xiti has joined #ruby
scripore has quit [Client Quit]
LJT_ has quit [Quit: Sleeping...]
lidenskap has quit [Remote host closed the connection]
gambl0re has quit []
lidenska_ has joined #ruby
LJT has joined #ruby
gambl0re has joined #ruby
Soda has joined #ruby
codecop has quit [Remote host closed the connection]
granthatcher_ has joined #ruby
tomphp_ has joined #ruby
LJT has quit [Client Quit]
tomphp has quit [Read error: Connection reset by peer]
dc has joined #ruby
scripore has joined #ruby
scripore has quit [Client Quit]
Rollabunna has quit [Ping timeout: 252 seconds]
Lewix has quit [Remote host closed the connection]
blt has joined #ruby
Musashi007 has quit [Quit: Musashi007]
Lewix has joined #ruby
dc has quit [Ping timeout: 252 seconds]
jottr_ has joined #ruby
WHITEPOWER has joined #ruby
Lewix has quit [Ping timeout: 240 seconds]
iasoon has joined #ruby
jobewan has joined #ruby
jottr_ has quit [Ping timeout: 246 seconds]
tomphp has joined #ruby
tomphp_ has quit [Read error: Connection reset by peer]
narph has quit [Quit: Connection closed for inactivity]
spider-mario has quit [Remote host closed the connection]
spider-mario has joined #ruby
tomphp has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
Rickmasta has joined #ruby
WHITEPOWER has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
Timba-as has quit [Quit: Be back later ...]
icebourg has joined #ruby
nobitanobi has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
nfk has quit [Quit: yawn]
Zenon has quit [Quit: bb]
ndrei has joined #ruby
icebourg has quit [Client Quit]
blt has quit [Read error: Connection reset by peer]
blt has joined #ruby
juanpablo__ has joined #ruby
serivich has quit [Ping timeout: 256 seconds]
serivich has joined #ruby
Leikila has joined #ruby
balazs has quit [Remote host closed the connection]
dc has joined #ruby
Musashi007 has joined #ruby
jottr_ has joined #ruby
diegoviola has quit [Remote host closed the connection]
juanpablo__ has quit [Ping timeout: 250 seconds]
narcan has joined #ruby
serivich has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
al2o3-cr has joined #ruby
dc has quit [Ping timeout: 256 seconds]
diegoaguilar has quit [Remote host closed the connection]
blt has quit [Read error: Connection reset by peer]
Zai00 has quit [Quit: Zai00]
dc has joined #ruby
armyriad has joined #ruby
xxneolithicxx has quit [Quit: Leaving.]
ghr has quit [Ping timeout: 256 seconds]
fedexo has quit [Ping timeout: 265 seconds]
roolo has joined #ruby
scripore has joined #ruby
edwinvdgraaf has joined #ruby
roolo_ has quit [Ping timeout: 246 seconds]
al2o3-cr has quit [Ping timeout: 264 seconds]
jottr_ has quit [Ping timeout: 264 seconds]
Guest90806 has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
xxneolithicxx has joined #ruby
tuelz1 has joined #ruby
RegulationD has joined #ruby
workmad3 has joined #ruby
Channel6 has joined #ruby
al2o3-cr has joined #ruby
al2o3-cr is now known as Guest85076
Guest85076 has quit [Client Quit]
RegulationD has quit [Ping timeout: 255 seconds]
talus46 has quit [Quit: Leaving]
CloCkWeRX has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 272 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dc has quit [Ping timeout: 256 seconds]
yaw has joined #ruby
hyperjuice has joined #ruby
kyrylo_ has joined #ruby
kyrylo has quit [Ping timeout: 256 seconds]
Stalkr has quit [Quit: Leaving...]
Stalkr has joined #ruby
nahtnam has quit [Quit: Connection closed for inactivity]
Stalkr has quit [Client Quit]
DynamicMetaFlow has quit [Ping timeout: 272 seconds]
hyperjuice has left #ruby [#ruby]
kyrylo_ is now known as kyrylo
narcan has quit [Ping timeout: 264 seconds]
conanza has joined #ruby
conanza has quit [Client Quit]
quimrstorres has quit [Remote host closed the connection]
rbennacer has joined #ruby
bintelli has joined #ruby
weemsledeux has joined #ruby
goggy has joined #ruby
tomphp has joined #ruby
scripore has joined #ruby
weaksauc_ is now known as weaksauce
LJT has joined #ruby
Matachines has joined #ruby
Musashi007 has quit [Quit: Musashi007]
nobitanobi has quit [Remote host closed the connection]
ismaelga has joined #ruby
Fingel has quit [Ping timeout: 256 seconds]
Musashi007 has joined #ruby
doodlehaus has joined #ruby
platzhirsch has quit [Quit: Leaving.]
doodlehaus has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
Azure has quit [Remote host closed the connection]
SleepDeprived has joined #ruby
Azure has joined #ruby
arescorpio has joined #ruby
SleepDeprived has quit [Client Quit]
quimrstorres has joined #ruby
sean__ has quit [Quit: Lost terminal]
colorados has quit [Ping timeout: 252 seconds]
bintelli has quit [Ping timeout: 246 seconds]
gogik5 has joined #ruby
CloCkWeRX has joined #ruby
CloCkWeRX has quit [Client Quit]
goggy has quit [Ping timeout: 265 seconds]
CloCkWeRX has joined #ruby
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
gogik5 has quit [Ping timeout: 255 seconds]
ghr has joined #ruby
goggy has joined #ruby
tectonic has joined #ruby
CloCkWeRX1 has joined #ruby
CloCkWeRX has quit [Ping timeout: 240 seconds]
mistermocha has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
einarj has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 256 seconds]
quimrstorres has joined #ruby
nobitanobi has joined #ruby
spider-mario has quit [Remote host closed the connection]
roolo has quit [Quit: Leaving...]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
vdamewood has joined #ruby
RegulationD has joined #ruby
kyrylo has quit [Ping timeout: 245 seconds]
banister has joined #ruby
mistermocha has quit [Read error: Connection timed out]
nobitanobi has quit [Remote host closed the connection]
DEA7TH has quit [Ping timeout: 246 seconds]
mistermocha has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
platzhirsch has joined #ruby
sarid has joined #ruby
shevy has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
shevy has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
willharrison has joined #ruby
mjuszczak has joined #ruby
rbennacer has joined #ruby
yfeldblum has joined #ruby
JDiPierro has joined #ruby
goggy has quit [Ping timeout: 272 seconds]
JimmyNeutron has joined #ruby
dfinninger has joined #ruby
platzhirsch has quit [Quit: Leaving.]
rbennacer has quit [Remote host closed the connection]
Juanchito has quit [Quit: Connection closed for inactivity]
rbennacer has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
lkba has quit [Ping timeout: 264 seconds]
n008f4g_ has quit [Ping timeout: 245 seconds]
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rodfersou has joined #ruby
qwertme has joined #ruby
juanpablo__ has joined #ruby
CloCkWeRX1 has quit [Quit: Leaving.]
jenrzzz has joined #ruby
sevenseacat has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
quazimodo has joined #ruby
ramfjord has joined #ruby
willharrison has joined #ruby
juanpablo__ has quit [Ping timeout: 255 seconds]
pontiki has joined #ruby
tjbiddle has quit [Quit: tjbiddle]